Releases: SchwarzIT/onyx
sit-onyx@1.13.1
Patch Changes
- 5126db1: feat(theme): added new PreZero theme fonts
@sit-onyx/icons@1.9.1
Patch Changes
-
b349986: feat: update icons
New
- AI-model-experiments
sit-onyx@1.13.0
Minor Changes
- c1ad583: feat(DataGridFeatures.useExpandableRows): implement new
useExpandableRows()feature - b5fd187: feat(DataGridFeatures.useStickyColumns): Added the ability to configure sticky positioning (
leftorright) individually per column. - 1560235: fix(OnyxCodeTabs): fix font size when passing content as slot
- fac7fd0: feat(OnyxSidebar): automatically close temporary mobile sidebar if route changes
Patch Changes
-
f240bd5: fix(OnyxGlobalSearch): Fixed issue where clicking
target="_blank"links, opens the new tab twice -
b5fd187: fix(DataGridFeatures.useStickyColumns): Fix non-sticky
useSelectioncolumn when both features were active -
5c3cf2a: fix(OnyxTooltip): use anchor-size(width) instead of translate
Reason: next to the viewport border the positioning wasn't set correctly,
because CSS transforms are not tracked by the collision
detection.
@sit-onyx/storybook-utils@1.1.3
Patch Changes
- 08db793: fix: Prevent broken code snippets when replacing onyx icons and flags
@sit-onyx/playwright-utils@1.3.0
Minor Changes
-
1fbdb44: feat(useMatrixScreenshotTest): add
fastNoIsolationflag foruseMatrixScreenshotTestUsually
useMatrixScreenshotTestcreates a combined matrix screenshot that includes the screenshots for every column-row combination. Every combination is mounted individually, which allows to perform pointer or keyboard interactions before taking a screenshot.
If the isolation is not necessary, consider enablingfastNoIsolationwhich is way faster, as it mounts all combinations together. On the downside the hooks will not be executed.
@sit-onyx/nuxt-docs@0.6.0
Minor Changes
-
65e3627: feat: support search options for
GlobalSearchYou can now override the
GlobalSearchcomponent to e.g. pass options for generating the search sections:<script lang="ts" setup> import GlobalSearch from "#layers/onyx/app/components/GlobalSearch.vue"; const { loggedIn } = useUserSession(); </script> <template> <GlobalSearch :options="loggedIn ? undefined : { ignoredTags: ['auth-only'] }" /> </template>
Patch Changes
- 4637a02: fix(sidebar-layout): remove top margin for first child
- Updated dependencies
- @sit-onyx/mdc@0.2.0
@sit-onyx/mdc@0.2.0
Minor Changes
- 4637a02: feat: add
ProseImgcomponent to prevent image overflows
@sit-onyx/headless@0.10.0
Minor Changes
- f240bd5: feat(createListbox, createCombobox): expose triggering event for
onSelecthook handler
sit-onyx@1.12.0
Minor Changes
-
3f9e58a: feat(OnyxShortcut, OnyxKey): implement small improvements
- show tooltip with key name on hover
- ensure minimum width is at least the key height
- adapted highlight prop to also allow static highlighting
- adapted sequence prop to allow combining
- BREAKING CHANGE: The
highlightedprop in theOnyxKeycomponent has been renamed tohighlight.
-
4df1b8c: feat: remove unstable tag for several components
Therefore, the following components have been renamed:
Old name New name OnyxUnstableTableOfContents OnyxTableOfContents OnyxUnstableTableOfContentsItem OnyxTableOfContentsItem OnyxUnstableFilterBadge OnyxFilterBadge OnyxUnstableItemsPerPage OnyxItemsPerPage OnyxUnstableGlobalSearch OnyxGlobalSearch OnyxUnstableGlobalSearchGroup OnyxGlobalSearchGroup OnyxUnstableGlobalSearchOption OnyxGlobalSearchOption OnyxUnstableCalendar OnyxCalendar OnyxUnstableSplitButton OnyxSplitButton Other noteworthy changes:
- refactor(OnyxSplitButton)!: remove
defaultslot - refactor(OnyxItemsPerPage)!: remove properties
labelAlignmentandhideLabelin favor oflabel.positionandlabel.hidden - feat(OnyxSplitButton): support new properties:
iconPosition,type,alignmentandposition - feat(OnyxFormElementV2): support
rightlabel position and increase label size forleftandrightalignment - fix(OnyxFormElementV2): use correct cursor styles for input when popover is used
- refactor(OnyxSplitButton)!: remove
-
b3eec67: feat(OnyxFlyoutMenu): implement external drilldown mode using the new
drilldownMode="external"property -
27ea621: feat(OnyxBasicPopover): implement full support for horizontal placement with
position="auto-inline" -
328902b: feat(OnyxSelect): support
bottomRightslot -
e527add: fix(OnyxProgressSteps): Fixed issue where overflowing content was not scrollable
-
1f5b69c: refactor(OnyxStepper): use
OnyxFormElementV2internally- feat: support new slots:
leading,leadingIcons,trailingIcons,trailingandbottomRight - feat: support left aligned label using
label.positionproperty - feat: support new CSS variable
--onyx-stepper-text-alignfor easier customization of the value alignment - fix: show placeholder / modelValue when
loadingis true
- feat: support new slots:
-
f65acbe: feat: Generate and publish 'component-meta.json' which includes the onyx API as json
-
43410d9: feat: implemented new radius-component variabels
-
328902b: fix(OnyxDatePickerV2): implement several bug fixes
- remove non-existing properties
hideLabelandlabelTooltipin favor oflabel.hiddenandlabel.tooltipText - use correct type for
message,error,successandselectionModeproperty - remove default
popoverOptions.fitParentso the calendar popover is always displayed correctly, even when the date picker width is very small - use correct aria-label for calendar popover
- support new property
hideClearIcon - support new slots: leading, leadingIcons, trailingIcons, trailing and bottomRight
- remove non-existing properties
-
cbdebfb: feat(OnyxSelect): added functionality to select only filtered items when withCheckAll and a search is active. This includes a new
labelFilteredoption withinwithCheckAllto customize the checkbox label for filtered states. -
d74aac4: feat(OnyxNavBar): auto align flyouts when using the vertical nav bar
-
169f846: refactor(OnyxTextarea): use
OnyxFormElementV2internally- feat: support new
leadingIconsslot - feat: support new
loadingproperty - feat: support left aligned label using
label.position
- feat: support new
-
f598fff: feat(OnyxTimePicker): update implementation and use
OnyxFormElementV2internally- fix: use correct styles for "clock" icon
- fix: use correct component height (previously it was slightly bigger than other form elements)
- fix: update spacings for "range" mode popover
- fix: for "select" mode, use default values for min/max property when they contain invalid values (previously no options were shown)
- fix: correctly type properties depending on the
type - fix!: remove
infoLabelproperty in favor ofpopoverOptions.description - fix!: use correct type for
errorproperty - feat: support new slots:
leading,leadingIcons,trailingIcons,trailingandbottomRight - feat: in "default" mode, clicking the "clock" button now opens the native browser picker
- feat: add new
validityChangeevent - feat: expose native HTML
input
-
4ae689a: fix(OnyxDataGrid): show items per page even when not enough data is provided for
usePaginationfeature -
f598fff: feat(OnyxFormElementV2): support popover description via
popoverOptions.description
Patch Changes
-
018fb6e: fix(OnyxIcon): use
spaninstead offigureReason: From semantic HTML perspective,
figureelements are not allowed inside some elements like e.g.<p>.
To support using icons in more nesting contexts (without hydration warnings when using SSR), we changed the internally used element tospan. -
ce40555: fix(OnyxDatePickerV2, OnyxInput, OnyxSelect, OnyxTimePicker): hide clear button when readonly, loading or disabled
-
e004731: fix(OnyxCheckbox): use correct border radius for input and outline
-
328902b: fix(OnyxTable, OnyxDataGrid): correctly scope CSS selectors to not apply styles to cell content
This e.g. fixes the issue that the
OnyxDatePickerV2looks broken when used inside a table or data grid. -
1f5b69c: fix(OnyxFormElementV2): correctly scope styles to not apply to popover content
-
169f846: fix(OnyxFormElementV2): correctly hide bottom space when error exists but is not shown
-
2346a7e: fix(OnyxTimePicker): narrow type of "update:modelValue" emit depending on given type
-
Updated dependencies
- @sit-onyx/icons@1.9.0
@sit-onyx/tiptap@0.2.0
Minor Changes
- 9ac6890: feat(OnyxTextEditor): support
minlength,maxlengthandwithCounterproperties - 2581398: feat(OnyxTextEditor): use
OnyxFormElementV2internally- refactor!: change type for
messageandsuccessproperty - refactor!: remove
hideLabelandlabelTooltipproperty in favor oflabel.hiddenandlabel.tooltipText - feat: support left aligned label using
label.position - feat: support new properties:
loading,errorshowError,requiredandrequiredMarker
- refactor!: change type for