diff --git a/.changeset/busy-moose-grin.md b/.changeset/busy-moose-grin.md deleted file mode 100644 index a8dfbc4d1f..0000000000 --- a/.changeset/busy-moose-grin.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat: implement new OnyxUnstableDatePickerV2 component - -This component will replace the `OnyxDatePicker` in the future. - -For now, the OnyxUnstableDatePickerV2 component is marked as experimental/unstable which means that it is still under active development and the API might change in patch or minor releases. Keep an eye on the [changelog](https://onyx.schwarz/development/packages/changelogs/sit-onyx.html) when using it. diff --git a/.changeset/common-terms-write.md b/.changeset/common-terms-write.md deleted file mode 100644 index aeddf9465a..0000000000 --- a/.changeset/common-terms-write.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sit-onyx/headless": patch ---- - -fix(createSlider): correctly center first and last mark label diff --git a/.changeset/curvy-nights-cheer.md b/.changeset/curvy-nights-cheer.md deleted file mode 100644 index 64d3428c96..0000000000 --- a/.changeset/curvy-nights-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sit-onyx/playwright-utils": patch ---- - -fix(expectEmit): Improve error/failure messages diff --git a/.changeset/dull-rooms-travel.md b/.changeset/dull-rooms-travel.md deleted file mode 100644 index cd21e14b21..0000000000 --- a/.changeset/dull-rooms-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": patch ---- - -fix(OnyxTab): fix incorrect underline color diff --git a/.changeset/early-clowns-jog.md b/.changeset/early-clowns-jog.md deleted file mode 100644 index 78ede719d5..0000000000 --- a/.changeset/early-clowns-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": patch ---- - -refactor(OnyxUnstableFormElementV2): remove support for right aligned label diff --git a/.changeset/fair-pets-try.md b/.changeset/fair-pets-try.md deleted file mode 100644 index b317eeb16c..0000000000 --- a/.changeset/fair-pets-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": patch ---- - -fix: prevent hydration mismatch errors in SSR diff --git a/.changeset/fine-dingos-help.md b/.changeset/fine-dingos-help.md deleted file mode 100644 index 7db930697f..0000000000 --- a/.changeset/fine-dingos-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat(OnyxTimePicker): implemented range mode diff --git a/.changeset/humble-grapes-lick.md b/.changeset/humble-grapes-lick.md deleted file mode 100644 index 917330642c..0000000000 --- a/.changeset/humble-grapes-lick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": patch ---- - -fix(OnyxBasicDialog): Fix 'nonDismissible' modal dialogs loosing their background after pressing escape twice diff --git a/.changeset/modern-pumas-live.md b/.changeset/modern-pumas-live.md deleted file mode 100644 index 3251e13438..0000000000 --- a/.changeset/modern-pumas-live.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat(OnyxDataGrid): Extended feature API with new 'enhanceCells' and 'enhanceRow' hooks - -These allow modifying render details per cell/row. -The provided function is called for each cell/row, after the matching typeRenderer was applied. diff --git a/.changeset/open-ghosts-travel.md b/.changeset/open-ghosts-travel.md deleted file mode 100644 index 7aecc45268..0000000000 --- a/.changeset/open-ghosts-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat(OnyxFormElementV2): implement `skeleton` property diff --git a/.changeset/public-bags-sleep.md b/.changeset/public-bags-sleep.md deleted file mode 100644 index 6c540c8091..0000000000 --- a/.changeset/public-bags-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sit-onyx/nuxt-docs": minor ---- - -feat(sidebar-layout): support `hero` slot, remove `noPadding` property since it collides with the TOC diff --git a/.changeset/ripe-paws-wink.md b/.changeset/ripe-paws-wink.md deleted file mode 100644 index 7a854b1f1e..0000000000 --- a/.changeset/ripe-paws-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat(OnyxFormElementV2): support `loading` property and fix height to align with other form elements diff --git a/.changeset/seven-ducks-wink.md b/.changeset/seven-ducks-wink.md deleted file mode 100644 index f472229f80..0000000000 --- a/.changeset/seven-ducks-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat(OnyxPageLayout): add smooth scroll behavior to main content / scroll area diff --git a/.changeset/silly-areas-judge.md b/.changeset/silly-areas-judge.md deleted file mode 100644 index ab427f30b3..0000000000 --- a/.changeset/silly-areas-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat(OnyxDataGrid): Added base row type 'select' diff --git a/.changeset/slick-years-tickle.md b/.changeset/slick-years-tickle.md deleted file mode 100644 index 63c096f986..0000000000 --- a/.changeset/slick-years-tickle.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat(OnyxDataGrid): Implemented basic inline editing feature. - -For all base column `typeRenderers` editing is supported. -To enable editing with custom types, you will need to implement two things: - -1. Check for the `editable` prop in the metadata to decide if the cell should render in "display" or "edit" mode. -2. Implement or call the `onUpdate:modelValue` when the value is supposed to change through an edit. - -Example - -```ts -export const MY_CUSTOM_RENDERER = DataGridFeatures.createTypeRenderer({ - header: { component: HeaderCell }, - cell: { - component: ({ column, row, metadata, modelValue, ...rest }) => - metadata?.editable - ? h(EditingComponent, { - ...rest, - label: `${column} with id ${row.id}`, - modelValue, - }) - : h(DisplayComponent, { modelValue, ...metadata?.typeOptions }), - }, -}); -``` - -**Caveats:** - -- Currently only basic editing is supported. -- Managing `editable` for individual cells or columns state must currently performed in the application. Per default all cells and rows are either editable or not editable. -- Filtering and Sorting features are always using the original value, not the edited value. diff --git a/.changeset/slow-cities-obey.md b/.changeset/slow-cities-obey.md deleted file mode 100644 index 30293af841..0000000000 --- a/.changeset/slow-cities-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": patch ---- - -fix(OnyxDataGrid): Fix increased row height for columnType "boolean" caused by icon diff --git a/.changeset/smart-clubs-admire.md b/.changeset/smart-clubs-admire.md deleted file mode 100644 index 39cd06fab0..0000000000 --- a/.changeset/smart-clubs-admire.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"sit-onyx": patch ---- - -- refactor(OnyxUnstableFormElementV2): rename type `FormElementPopoverOptions` to `FormElementV2PopoverOptions` -- fix(OnyxUnstableFormElementV2): correctly determine inside elements for closing on outside click -- fix(OnyxBasicPopover): prevent toggle when disabled diff --git a/.changeset/strong-mugs-wink.md b/.changeset/strong-mugs-wink.md deleted file mode 100644 index 2abac252ad..0000000000 --- a/.changeset/strong-mugs-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat(OnyxSlider): support new `mark` slot for custom mark label content diff --git a/.changeset/sunny-pumas-notice.md b/.changeset/sunny-pumas-notice.md deleted file mode 100644 index 504b3a41a4..0000000000 --- a/.changeset/sunny-pumas-notice.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -"@sit-onyx/flags": minor ---- - -feat: update flags - -#### New - -- ES-AR -- ES-CE -- ES-GA -- ES-IB -- ES-ML -- ES-PV -- FR-20R -- FR-BRE -- GB-NIR - -#### Modified - -- CY -- DK -- FO -- GB-WLS -- HR -- IS -- LI -- LV -- ME -- NO -- RS -- SE -- SM diff --git a/.changeset/sweet-roses-take.md b/.changeset/sweet-roses-take.md deleted file mode 100644 index 8934a1957f..0000000000 --- a/.changeset/sweet-roses-take.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sit-onyx/nuxt-docs": minor ---- - -feat: support table of contents for `sidebar` layout diff --git a/.changeset/swift-baths-obey.md b/.changeset/swift-baths-obey.md deleted file mode 100644 index 3d94fe2932..0000000000 --- a/.changeset/swift-baths-obey.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sit-onyx/nuxt-docs": patch ---- - -fix(nav-bar): hide color scheme switch when forced diff --git a/.changeset/swift-ghosts-buy.md b/.changeset/swift-ghosts-buy.md deleted file mode 100644 index 7e1937d1d3..0000000000 --- a/.changeset/swift-ghosts-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sit-onyx": patch ---- - -fix(OnyxPageLayout): correctly disable centering of nested `onyx-grid-layout` when a sidebar exsists diff --git a/.changeset/swift-tires-fly.md b/.changeset/swift-tires-fly.md deleted file mode 100644 index 9963624462..0000000000 --- a/.changeset/swift-tires-fly.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"sit-onyx": minor ---- - -feat(OnyxFormElementV2): improve popover handling and styles - -- block input typing when popover exists -- manage open state + close on outside click -- support `popoverOptions` property -- apply focus styles when popover is open diff --git a/.changeset/tasty-sides-leave.md b/.changeset/tasty-sides-leave.md deleted file mode 100644 index 74d23fce19..0000000000 --- a/.changeset/tasty-sides-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sit-onyx/figma-utils": minor ---- - -feat(import-flags): add additional country names diff --git a/.changeset/vast-rings-yell.md b/.changeset/vast-rings-yell.md deleted file mode 100644 index c818df0b8a..0000000000 --- a/.changeset/vast-rings-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@sit-onyx/headless": patch ---- - -refactor(useOutsideClick): update `inside` type to also allow `Element` diff --git a/packages/figma-utils/CHANGELOG.md b/packages/figma-utils/CHANGELOG.md index f153cabe6b..801081cc7c 100644 --- a/packages/figma-utils/CHANGELOG.md +++ b/packages/figma-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @sit-onyx/figma-utils +## 1.1.0 + +### Minor Changes + +- ef0ba45: feat(import-flags): add additional country names + ## 1.0.2 ### Patch Changes diff --git a/packages/figma-utils/package.json b/packages/figma-utils/package.json index 0d3e437e7d..99e0c35e99 100644 --- a/packages/figma-utils/package.json +++ b/packages/figma-utils/package.json @@ -1,7 +1,7 @@ { "name": "@sit-onyx/figma-utils", "description": "Utility functions and CLI for importing data from the Figma API into different formats (e.g. CSS, SCSS etc.)", - "version": "1.0.2", + "version": "1.1.0", "type": "module", "author": "Schwarz IT KG", "license": "Apache-2.0", diff --git a/packages/flags/CHANGELOG.md b/packages/flags/CHANGELOG.md index ca020ce99d..e69828a2a9 100644 --- a/packages/flags/CHANGELOG.md +++ b/packages/flags/CHANGELOG.md @@ -1,5 +1,37 @@ # @sit-onyx/flags +## 1.1.0 + +### Minor Changes + +- ef0ba45: feat: update flags + + #### New + - ES-AR + - ES-CE + - ES-GA + - ES-IB + - ES-ML + - ES-PV + - FR-20R + - FR-BRE + - GB-NIR + + #### Modified + - CY + - DK + - FO + - GB-WLS + - HR + - IS + - LI + - LV + - ME + - NO + - RS + - SE + - SM + ## 1.0.0 ### Major Changes diff --git a/packages/flags/package.json b/packages/flags/package.json index 629aa3dfe2..c21d2a8cf7 100644 --- a/packages/flags/package.json +++ b/packages/flags/package.json @@ -1,7 +1,7 @@ { "name": "@sit-onyx/flags", "description": "SVG country flags for the onyx design system", - "version": "1.0.0", + "version": "1.1.0", "type": "module", "author": "Schwarz IT KG", "license": "Apache-2.0", diff --git a/packages/headless/CHANGELOG.md b/packages/headless/CHANGELOG.md index 80228844f8..0964edef71 100644 --- a/packages/headless/CHANGELOG.md +++ b/packages/headless/CHANGELOG.md @@ -1,5 +1,12 @@ # @sit-onyx/headless +## 0.7.1 + +### Patch Changes + +- f61969f: fix(createSlider): correctly center first and last mark label +- 3084837: refactor(useOutsideClick): update `inside` type to also allow `Element` + ## 0.7.0 ### Minor Changes diff --git a/packages/headless/package.json b/packages/headless/package.json index 2b0b8e319a..14124e0e84 100644 --- a/packages/headless/package.json +++ b/packages/headless/package.json @@ -1,7 +1,7 @@ { "name": "@sit-onyx/headless", "description": "Headless composables for Vue", - "version": "0.7.0", + "version": "0.7.1", "type": "module", "author": "Schwarz IT KG", "license": "Apache-2.0", diff --git a/packages/nuxt-docs/CHANGELOG.md b/packages/nuxt-docs/CHANGELOG.md index 7795e63356..0178dea91e 100644 --- a/packages/nuxt-docs/CHANGELOG.md +++ b/packages/nuxt-docs/CHANGELOG.md @@ -1,5 +1,18 @@ # @sit-onyx/nuxt-docs +## 0.4.0 + +### Minor Changes + +- 4b31bbd: feat(sidebar-layout): support `hero` slot, remove `noPadding` property since it collides with the TOC +- db6f050: feat: support table of contents for `sidebar` layout + +### Patch Changes + +- 9ea853e: fix(nav-bar): hide color scheme switch when forced +- Updated dependencies [3084837] + - sit-onyx@1.10.0 + ## 0.3.0 ### Minor Changes diff --git a/packages/nuxt-docs/package.json b/packages/nuxt-docs/package.json index f59390ac0d..6985528d5b 100644 --- a/packages/nuxt-docs/package.json +++ b/packages/nuxt-docs/package.json @@ -1,6 +1,6 @@ { "name": "@sit-onyx/nuxt-docs", - "version": "0.3.0", + "version": "0.4.0", "description": "Nuxt layer/template for creating documentations with the onyx design system", "type": "module", "author": "Schwarz IT KG", diff --git a/packages/playwright-utils/CHANGELOG.md b/packages/playwright-utils/CHANGELOG.md index eb7abf495c..b86412694e 100644 --- a/packages/playwright-utils/CHANGELOG.md +++ b/packages/playwright-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @sit-onyx/playwright-utils +## 1.2.1 + +### Patch Changes + +- b62e57c: fix(expectEmit): Improve error/failure messages + ## 1.2.0 ### Minor Changes diff --git a/packages/playwright-utils/package.json b/packages/playwright-utils/package.json index e884dc3e34..2d1a009bd0 100644 --- a/packages/playwright-utils/package.json +++ b/packages/playwright-utils/package.json @@ -1,7 +1,7 @@ { "name": "@sit-onyx/playwright-utils", "description": "Utilities for Vue component testing with Playwright", - "version": "1.2.0", + "version": "1.2.1", "type": "module", "author": "Schwarz IT KG", "license": "Apache-2.0", diff --git a/packages/sit-onyx/CHANGELOG.md b/packages/sit-onyx/CHANGELOG.md index 8ac8a2c287..bea83768ea 100644 --- a/packages/sit-onyx/CHANGELOG.md +++ b/packages/sit-onyx/CHANGELOG.md @@ -1,5 +1,71 @@ # sit-onyx +## 1.10.0 + +### Minor Changes + +- e76203e: feat: implement new OnyxUnstableDatePickerV2 component + + This component will replace the `OnyxDatePicker` in the future. + + For now, the OnyxUnstableDatePickerV2 component is marked as experimental/unstable which means that it is still under active development and the API might change in patch or minor releases. Keep an eye on the [changelog](https://onyx.schwarz/development/packages/changelogs/sit-onyx.html) when using it. + +- 661b343: feat(OnyxTimePicker): implemented range mode +- 5ffe689: feat(OnyxFormElementV2): implement `skeleton` property +- 79b76de: feat(OnyxFormElementV2): support `loading` property and fix height to align with other form elements +- 3084837: feat(OnyxFormElementV2): improve popover handling and styles + - block input typing when popover exists + - manage open state + close on outside click + - support `popoverOptions` property + - apply focus styles when popover is open +- db6f050: feat(OnyxPageLayout): add smooth scroll behavior to main content / scroll area +- 984ce9e: feat(OnyxDataGrid): Added base row type 'select' +- 984ce9e: feat(OnyxDataGrid): Extended feature API with new 'enhanceCells' and 'enhanceRow' hooks + These allow modifying render details per cell/row. + The provided function is called for each cell/row, after the matching typeRenderer was applied. +- 984ce9e: feat(OnyxDataGrid): Implemented basic `useEditing()` inline editing feature + + For all base column `typeRenderers` editing is supported. + To enable editing with custom types, you will need to implement two things: + 1. Check for the `editable` prop in the metadata to decide if the cell should render in "display" or "edit" mode. + 2. Implement or call the `onUpdate:modelValue` when the value is supposed to change through an edit. + + Example + + ```ts + export const MY_CUSTOM_RENDERER = DataGridFeatures.createTypeRenderer({ + header: { component: HeaderCell }, + cell: { + // The *rest* property includes `modelValue` and the `onUpdate:modelValue` event handler + component: ({ column, row, metadata, ...rest }) => + metadata?.editable + ? h(EditingComponent, { + label: `${column} with id ${row.id}`, + ...rest, + }) + : h(DisplayComponent, { ...metadata?.typeOptions, ...rest }), + }, + }); + ``` + + **Caveats:** + - Currently only basic editing is supported. + - Managing `editable` for individual cells or columns state must currently performed in the application. Per default all cells and rows are either editable or not editable. + - Filtering and Sorting features are always using the original value, not the edited value. + +- f61969f: feat(OnyxSlider): support new `mark` slot for custom mark label content + +### Patch Changes + +- 7e193bd: fix(OnyxTab): fix incorrect underline color +- 0f03aa9: fix: Resolve hydration mismatch errors in SSR +- b62e57c: fix(OnyxBasicDialog): Fix 'nonDismissible' modal dialogs loosing their background after pressing escape twice +- 984ce9e: fix(OnyxDataGrid): Fix increased row height for columnType "boolean" caused by icon +- e76203e: refactor(OnyxUnstableFormElementV2): rename type `FormElementPopoverOptions` to `FormElementV2PopoverOptions` + - fix(OnyxUnstableFormElementV2): Correctly determine inside elements for closing on outside click + - fix(OnyxBasicPopover): Prevent toggle when disabled +- 4b31bbd: fix(OnyxPageLayout): Correctly disable centering of nested `onyx-grid-layout` when a sidebar exsists + ## 1.9.0 ### Minor Changes diff --git a/packages/sit-onyx/package.json b/packages/sit-onyx/package.json index bfa952512b..bd1d6718e8 100644 --- a/packages/sit-onyx/package.json +++ b/packages/sit-onyx/package.json @@ -1,7 +1,7 @@ { "name": "sit-onyx", "description": "A design system and Vue.js component library created by Schwarz IT", - "version": "1.9.0", + "version": "1.10.0", "type": "module", "author": "Schwarz IT KG", "license": "Apache-2.0",