Skip to content

Commit 5494b55

Browse files
authored
Merge pull request #207 from umbraco/Release/0.2.0
Release/0.2.0
2 parents 079caa6 + e8cbc14 commit 5494b55

File tree

254 files changed

+46230
-31505
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+46230
-31505
lines changed

.github/pull_request_template.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@
2727

2828
- [ ] If my change requires a change to the documentation, I have updated the documentation in this pull request.
2929
- [ ] I have read the **[CONTRIBUTING](<(https://github.com/umbraco/Umbraco.UI/blob/dev/docs/CONTRIBUTING.md)>)** document.
30-
- [ ] I confirm that to my knowledge the contribution looks original and that the [contributor is presumably allowed to share it](https://github.com/umbraco/Umbraco.UI/blob/dev/docs/CONTRIBUTING.md#ownership-and-copyright).
3130
- [ ] I have added tests to cover my changes.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: pr-first-response
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
send-response:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
steps:
14+
- name: Install dependencies
15+
run: |
16+
npm install node-fetch@2
17+
- name: Fetch random comment 🗣️ and add it to the PR
18+
uses: actions/github-script@v6
19+
with:
20+
script: |
21+
const fetch = require('node-fetch')
22+
23+
const response = await fetch('https://collaboratorsv2.euwest01.umbraco.io/umbraco/api/comments/PostComment', {
24+
method: 'post',
25+
body: JSON.stringify({
26+
repo: '${{ github.repository }}',
27+
number: '${{ github.event.number }}',
28+
actor: '${{ github.actor }}',
29+
commentType: 'opened-pr-first-comment'
30+
}),
31+
headers: {
32+
'Authorization': 'Bearer ${{ secrets.OUR_BOT_API_TOKEN }}',
33+
'Content-Type': 'application/json'
34+
}
35+
});
36+
37+
try {
38+
const data = await response.text();
39+
40+
if(response.status === 200 && data !== '') {
41+
github.rest.issues.createComment({
42+
issue_number: context.issue.number,
43+
owner: context.repo.owner,
44+
repo: context.repo.repo,
45+
body: data
46+
});
47+
} else {
48+
console.log("Status code did not indicate success:", response.status);
49+
console.log("Returned data:", data);
50+
}
51+
} catch(error) {
52+
console.log(error);
53+
}

.storybook/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const tsconfigPaths = require('vite-tsconfig-paths').default;
22

33
module.exports = {
4-
stories: ['../packages/**/*.story.ts'],
4+
stories: ['../packages/**/*.story.ts', '../stories/**/*.story.ts'],
55
addons: [
66
'@storybook/addon-links',
77
'@storybook/addon-essentials',

.storybook/preview-head.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@
1414
/* reset defaults: */
1515
margin: 24px;
1616
position: relative;
17+
}
18+
19+
body.sb-main-padded {
1720
padding: 40px !important;
1821
}
22+
1923
body[baseline-grid]::after {
2024
content: '';
2125
position: absolute;

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,20 @@ If you want to develop a component or contribute to the repository go to ["Get s
3737
| [`<uui-card-user>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-card-user) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-card-user?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-card-user) |
3838
| [`<uui-caret>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-caret) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-caret?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-caret) |
3939
| [`<uui-checkbox>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-checkbox) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-checkbox?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-checkbox) |
40+
| [`<uui-combobox>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-combobox) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-combobox?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-combobox) |
41+
| [`<uui-combobox-list>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-combobox-list) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-combobox-list?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-combobox-list) |
4042
| [`<uui-dialog>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-dialog) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-dialog?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-dialog) |
4143
| [`<uui-dialog-layout>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-dialog-layout) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-dialog-layout?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-dialog-layout) |
44+
| [`<uui-file-dropzone>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-file-dropzone) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-file-dropzone?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-file-dropzone) |
45+
| [`<uui-file-preview>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-file-preview) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-file-preview?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-file-preview) |
4246
| [`<uui-form>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-form) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-form?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-form) |
4347
| [`<uui-form-layout-item>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-form-layout-item) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-form-layout-item?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-form-layout-item) |
4448
| [`<uui-form-validation-message>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-form-validation-message) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-form-validation-message?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-form-validation-message) |
4549
| [`<uui-icon>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-icon) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-icon?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-icon) |
4650
| [`<uui-icon-registry>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-icon-registry) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-icon-registry?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-icon-registry) |
4751
| [`<uui-icon-registry-essential>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-icon-registry-essential) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-icon-registry-essential?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-icon-registry-essential) |
4852
| [`<uui-input>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-input) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-input?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-input) |
53+
| [`<uui-input-file>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-input-file) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-input-file?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-input-file) |
4954
| [`<uui-input-lock>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-input-lock) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-input-lock?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-input-lock) |
5055
| [`<uui-input-password>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-input-password) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-input-password?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-input-password) |
5156
| [`<uui-keyboard-shortcut>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-keyboard-shortcut) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-keyboard-shortcut?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-keyboard-shortcut) |
@@ -72,6 +77,8 @@ If you want to develop a component or contribute to the repository go to ["Get s
7277
| [`<uui-slider>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-slider) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-slider?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-slider) |
7378
| [`<uui-symbol-expand>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-symbol-expand) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-symbol-expand?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-symbol-expand) |
7479
| [`<uui-symbol-file>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-symbol-file) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-symbol-file?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-symbol-file) |
80+
| [`<uui-symbol-file-dropzone>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-symbol-file-dropzone) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-symbol-file-dropzone?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-symbol-file-dropzone) |
81+
| [`<uui-symbol-file-thumbnail>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-symbol-file-thumbnail) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-symbol-file-thumbnail?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-symbol-file-thumbnail) |
7582
| [`<uui-symbol-folder>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-symbol-folder) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-symbol-folder?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-symbol-folder) |
7683
| [`<uui-symbol-lock>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-symbol-lock) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-symbol-lock?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-symbol-lock) |
7784
| [`<uui-symbol-more>`](https://github.com/umbraco/Umbraco.UI/tree/dev/packages/uui-symbol-more) | [![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-symbol-more?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-symbol-more) |

images/login.jpeg

30 KB
Loading

images/umbraco_logo_white.svg

Lines changed: 1 addition & 0 deletions
Loading

images/umbraco_logomark_white.svg

Lines changed: 1 addition & 0 deletions
Loading

lerna.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,22 @@
1010
}
1111
},
1212
"ignoreChanges": [
13+
".github/**/*",
1314
"**/tsconfig.json",
1415
"**/*.story.ts",
1516
"**/*.test.ts",
1617
"**/*.md",
1718
"lerna.json",
1819
".storybook/**/*",
20+
"stories/**/*",
1921
"storyhelpers/**/*",
2022
"templates/**/*",
2123
"docs/**/*",
2224
"package.json",
23-
"package-lock.json"
25+
"package-lock.json",
26+
"images/**/*",
27+
"scripts/**/*",
28+
"src/**/*",
29+
"templates/**/*"
2430
]
2531
}

0 commit comments

Comments
 (0)