Skip to content

Commit 4ffd20a

Browse files
authored
Merge branch 'main' into feature/picto-move-svgs-to-assets
2 parents 450aa93 + c8fa9a3 commit 4ffd20a

File tree

322 files changed

+41128
-16602
lines changed

Some content is hidden

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

322 files changed

+41128
-16602
lines changed

.github/workflows/insider-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ jobs:
3434
npm publish --tag=insider --access=public libraries/ui-library/
3535
npm publish --tag=insider --access=public libraries/ui-library-vue/
3636
npm publish --tag=insider --access=public libraries/ui-library-angular/dist/ui-library-angular/
37+
npm publish --tag=insider --access=public libraries/ui-library-react/
3738
env:
3839
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

.github/workflows/pkg.pr.new.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish PR preview release on demand
2+
on:
3+
workflow_dispatch:
4+
5+
permissions: {}
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.number }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
build-pr-release:
13+
name: Publish PR Release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
registry-url: 'https://registry.npmjs.org'
22+
cache: 'npm'
23+
env:
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
25+
- run: npm install
26+
- run: npm run build
27+
- run: npx pkg-pr-new publish './libraries/*'

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
git config user.name "GitHub action"
3737
git config user.email "<>"
3838
git checkout -b feature/${{ inputs.version }}
39-
git add package*.json libraries/ui-library/package*.json libraries/ui-library-vue/package*.json libraries/ui-library-angular/package*.json
39+
git add package*.json libraries/ui-library/package*.json libraries/ui-library-vue/package*.json libraries/ui-library-angular/package*.json libraries/ui-library-react/package*.json
4040
git commit -m "${{ inputs.version }}"
4141
git push origin release/package-updates-${{ inputs.version }}
4242
@@ -49,6 +49,7 @@ jobs:
4949
run: |
5050
npm publish --tag=latest --access=public libraries/ui-library/
5151
npm publish --tag=latest --access=public libraries/ui-library-vue/
52+
npm publish --tag=latest --access=public libraries/ui-library-react/
5253
npm publish --tag=latest --access=public libraries/ui-library-angular/dist/ui-library-angular/
5354
5455
- name: 'Create tag'

.idea/codeStyles/Project.xml

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.prettierignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ dist
44
build
55
www
66
libraries/ui-library/src/**/readme.md
7-
libraries/**/components.ts
7+
libraries/**/components.server.ts
88
libraries/**/components.d.ts
99
libraries/ui-library/loader
1010
libraries/ui-library/docs
11+
libraries/ui-library/hydrate
1112
.angular
13+
.nuxt
14+
.output
1215
stencil-generated
1316
docs/examples
1417
docs/components
1518
docs/.vitepress/cache
16-
docs/.vitepress/dist
19+
.next

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"printWidth": 120,
33
"singleQuote": true,
4+
"trailingComma": "es5",
45
"overrides": [
56
{
67
"files": ["docs/**/*"],

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Thank you to all the people who already contributed to the Six-Webcomponents!
2525

2626
## Examples
2727

28-
There are example apps for Angular, Plain Javascript and Vue. You can find them in the `examples` directory.
28+
There are example apps for Angular, Plain Javascript, Vue and React. You can find them in the `examples` directory.
2929

3030
## Structure
3131

docs/.vitepress/config.mts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export default withMermaid({
4343
{
4444
items: [
4545
{ text: 'Introduction', link: '/guide/readme' },
46+
{ text: 'Upgrade to v5', link: '/guide/upgrade-v5' },
4647
{ text: 'Upgrade to v4', link: '/guide/upgrade-v4' },
4748
{ text: 'Design', link: '/guide/design' },
4849
{ text: 'Architecture', link: '/guide/architecture' },
@@ -58,9 +59,14 @@ export default withMermaid({
5859
text: 'Styling',
5960
collapsed: false,
6061
items: [
61-
{ text: 'Styles', link: '/guide/styling/styles' },
6262
{ text: 'Tables', link: '/guide/styling/tables' },
6363
{ text: 'Colors', link: '/guide/styling/colors' },
64+
{ text: 'Spacing', link: '/guide/styling/spacing' },
65+
{ text: 'Typography', link: '/guide/styling/typography' },
66+
{ text: 'Shadows', link: '/guide/styling/shadows' },
67+
{ text: 'Border Radius', link: '/guide/styling/border-radius' },
68+
{ text: 'Transitions', link: '/guide/styling/transitions' },
69+
{ text: 'Z-Index', link: '/guide/styling/z-index' },
6470
{ text: 'TailwindCSS', link: '/guide/styling/tailwind' },
6571
],
6672
},

docs/.vitepress/theme/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
--vp-button-brand-active-bg: var(--vp-button-brand-bg);
3838
}
3939

40-
/* overwrite rounded design to follow six design */
41-
* {
40+
/* overwrite rounded design to follow six design (apart from the examples) */
41+
*:not(.example) {
4242
border-radius: 0 !important;
4343
}
4444

docs/changelog.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,54 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
88

99
### Added
1010

11+
- **⚠️Experimental**: Bringing back the support for React output target.
12+
- **⚠️Experimental**: Added example React app with Vite.
13+
- **⚠️Experimental**: Added example Nuxt app with Client Side Rendering (CSR).
14+
- **⚠️Experimental**: Added the `six-date` component, intended to eventually replace the
15+
`six-datepicker`.
16+
17+
- [Documentation](guide/angular.md) for using web components with Angular's standalone bootstrapping
18+
- `ActiveSidebarItemGroupDirective` and `ActiveSidebarItemDirective`: Added optional angular sidebar
19+
helper directives. See the [Angular guide](guide/angular.md) for more information.
20+
- Added nested sidbar menu to the angular demo application to showcase the helper directives
21+
- `six-header-dropdown`: Added `filter` and `filterPlaceholder` properties.
22+
- `six-header-menu-button`: Added `caret`, `disabled`, `loading`, `submit` and `reset` properties.
23+
- `six-header-menu-button`: Added `suffix` and `prefix` slots.
24+
- `six-sidebar-item` : added icon property analog to `six-sidebar-item-group`
25+
- `six-select` : support the use of prefix/suffix slot of the `six-menu-item` which can be used as
26+
links for example.
27+
- Added support for aria-attributes in JSX typings through upgrade of an underlying library
28+
29+
### Fixed
30+
31+
- `six-logo`: removed inline style tag
32+
- `six-timepicker`: removed unnecessary bottom padding
33+
- `six-button` : simplify use of prefix and suffix icons
34+
- `six-sidebar-item-group`: fixed spacing for subitems
35+
1136
### Removed
1237

38+
- **⚠️Breaking**: Removed most slots, properties and events on the `six-header` component. Replaced
39+
with a flexible approach for customization, allowing the header to be composed in a modular way
40+
using child elements such as `six-header-item`, `six-header-dropdown-item`,
41+
`six-header-menu-button`, and `six-logo`. Check the [upgrade guide](guide/upgrade-v5.md) for
42+
detailed instructions.
43+
- **⚠️Breaking**: Removed the previously deprecated `reposition()` method of the `six-dropdown`
44+
component. You can use the `matchTriggerWidth` property instead.
45+
- **⚠️Breaking**: Removed the previously deprecated tag `maxTagsVisible` of the `six-select`
46+
component.
47+
1348
### Changed
1449

1550
- **⚠️Breaking**: Upgraded library to Node 20
1651

1752
The SIX Webcomponents cannot be used with Node 16 or 18 anymore. Please upgrade to Node 20.
1853

54+
- **⚠️Breaking**: `six-file-upload` on upload success now returns a `FileList` regardless of the
55+
value of the `multiple` property
56+
- Upgraded Stencil to latest release and upgraded Vue output target
57+
- Upgraded React output target to version 1.0.0
58+
1959
## 4.3.2 - 2025-02-13
2060

2161
No changes in functionality, but changed release creation workflow, that makes sure, that deployed

0 commit comments

Comments
 (0)