sit-onyx 1.0.0-beta.99 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -5
- package/dist/components/OnyxAccordion/OnyxAccordion.d.vue.ts +26 -0
- package/dist/components/OnyxAccordion/types.d.ts +45 -0
- package/dist/components/OnyxAccordionItem/OnyxAccordionItem.d.vue.ts +37 -0
- package/dist/components/OnyxAccordionItem/types.d.ts +17 -0
- package/dist/components/OnyxAlertModal/OnyxAlertModal.d.vue.ts +69 -0
- package/dist/components/OnyxAlertModal/types.d.ts +8 -0
- package/dist/components/OnyxAppLayout/OnyxAppLayout.d.vue.ts +50 -0
- package/dist/components/OnyxAppLayout/types.d.ts +3 -1
- package/dist/components/OnyxAvatar/OnyxAvatar.d.vue.ts +5 -0
- package/dist/components/OnyxAvatar/types.d.ts +16 -4
- package/dist/components/OnyxAvatarStack/{OnyxAvatarStack.vue.d.ts → OnyxAvatarStack.d.vue.ts} +1 -1
- package/dist/components/OnyxBadge/{OnyxBadge.vue.d.ts → OnyxBadge.d.vue.ts} +4 -4
- package/dist/components/OnyxBadge/types.d.ts +2 -2
- package/dist/components/{OnyxDialog/OnyxDialog.vue.d.ts → OnyxBasicDialog/OnyxBasicDialog.d.vue.ts} +12 -7
- package/dist/components/OnyxBasicDialog/types.d.ts +35 -0
- package/dist/components/OnyxBasicPopover/OnyxBasicPopover.d.vue.ts +64 -0
- package/dist/components/OnyxBasicPopover/types.d.ts +37 -0
- package/dist/components/OnyxBottomBar/OnyxBottomBar.d.vue.ts +36 -0
- package/dist/components/OnyxBottomBar/types.d.ts +7 -0
- package/dist/components/OnyxBreadcrumb/OnyxBreadcrumb.d.vue.ts +32 -0
- package/dist/components/OnyxBreadcrumb/types.d.ts +32 -0
- package/dist/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.d.vue.ts +33 -0
- package/dist/components/OnyxBreadcrumbItem/types.d.ts +15 -0
- package/dist/components/OnyxButton/ButtonOrLinkLayout.d.vue.ts +33 -0
- package/dist/components/OnyxButton/OnyxButton.d.vue.ts +26 -0
- package/dist/components/OnyxButton/types.d.ts +14 -4
- package/dist/components/{OnyxHeadline/OnyxHeadline.vue.d.ts → OnyxCard/OnyxCard.d.vue.ts} +6 -4
- package/dist/components/OnyxCard/types.d.ts +9 -0
- package/dist/components/OnyxCheckbox/{OnyxCheckbox.vue.d.ts → OnyxCheckbox.d.vue.ts} +7 -7
- package/dist/components/OnyxCheckbox/types.d.ts +3 -5
- package/dist/components/OnyxCheckboxGroup/{OnyxCheckboxGroup.vue.d.ts → OnyxCheckboxGroup.d.vue.ts} +7 -7
- package/dist/components/OnyxCheckboxGroup/types.d.ts +9 -20
- package/dist/components/OnyxDataGrid/OnyxDataGrid.d.vue.ts +16 -0
- package/dist/components/OnyxDataGrid/OnyxDataGridRenderer/{OnyxDataGridRenderer.vue.d.ts → OnyxDataGridRenderer.d.vue.ts} +6 -8
- package/dist/components/OnyxDataGrid/OnyxDataGridRenderer/types.d.ts +34 -14
- package/dist/components/OnyxDataGrid/features/{HeaderCell.vue.d.ts → HeaderCell.d.vue.ts} +1 -1
- package/dist/components/OnyxDataGrid/features/all.d.ts +15 -2
- package/dist/components/OnyxDataGrid/features/base/base.d.ts +52 -0
- package/dist/components/OnyxDataGrid/features/base/types.d.ts +8 -0
- package/dist/components/OnyxDataGrid/features/filtering/filtering.d.ts +31 -0
- package/dist/components/OnyxDataGrid/features/filtering/types.d.ts +66 -0
- package/dist/components/OnyxDataGrid/features/hideColumns/hideColumns.d.ts +43 -0
- package/dist/components/OnyxDataGrid/features/hideColumns/types.d.ts +13 -0
- package/dist/components/OnyxDataGrid/features/index.d.ts +225 -15
- package/dist/components/OnyxDataGrid/features/pagination/pagination.d.ts +28 -0
- package/dist/components/OnyxDataGrid/features/pagination/types.d.ts +51 -0
- package/dist/components/OnyxDataGrid/features/renderer.d.ts +71 -0
- package/dist/components/OnyxDataGrid/features/resizing/resizing.d.ts +51 -0
- package/dist/components/OnyxDataGrid/features/resizing/types.d.ts +7 -0
- package/dist/components/OnyxDataGrid/features/selection/selection.d.ts +17 -0
- package/dist/components/OnyxDataGrid/features/selection/types.d.ts +39 -0
- package/dist/components/OnyxDataGrid/features/sorting/{SortAction.vue.d.ts → SortAction.d.vue.ts} +2 -2
- package/dist/components/OnyxDataGrid/features/sorting/defaults.d.ts +9 -0
- package/dist/components/OnyxDataGrid/features/sorting/sorting.d.ts +34 -4
- package/dist/components/OnyxDataGrid/features/sorting/types.d.ts +13 -18
- package/dist/components/OnyxDataGrid/features/stickyColumns/stickyColumns.d.ts +13 -0
- package/dist/components/OnyxDataGrid/features/stickyColumns/types.d.ts +14 -0
- package/dist/components/OnyxDataGrid/types.d.ts +79 -5
- package/dist/components/OnyxDataGrid/types.spec-d.d.ts +1 -0
- package/dist/components/OnyxDatePicker/OnyxDatePicker.d.vue.ts +20 -0
- package/dist/components/OnyxDatePicker/types.d.ts +3 -2
- package/dist/components/OnyxDialog/OnyxDialog.d.vue.ts +68 -0
- package/dist/components/OnyxDialog/types.d.ts +4 -24
- package/dist/components/OnyxEmpty/{OnyxEmpty.vue.d.ts → OnyxEmpty.d.vue.ts} +10 -2
- package/dist/components/OnyxErrorTooltip/{OnyxErrorTooltip.vue.d.ts → OnyxErrorTooltip.d.vue.ts} +7 -3
- package/dist/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.d.vue.ts +5 -0
- package/dist/components/OnyxExternalLinkIcon/types.d.ts +2 -5
- package/dist/components/OnyxFAB/OnyxFAB.d.vue.ts +34 -0
- package/dist/components/OnyxFAB/types.d.ts +13 -0
- package/dist/components/OnyxFABButton/OnyxFABButton.d.vue.ts +5 -0
- package/dist/components/OnyxFABButton/types.d.ts +22 -0
- package/dist/components/OnyxFABItem/OnyxFABItem.d.vue.ts +3 -0
- package/dist/components/OnyxFABItem/types.d.ts +17 -0
- package/dist/components/OnyxFileCard/OnyxFileCard.d.vue.ts +34 -0
- package/dist/components/OnyxFileCard/types.d.ts +49 -0
- package/dist/components/OnyxFileTypeIcon/OnyxFileTypeIcon.d.vue.ts +3 -0
- package/dist/components/OnyxFileTypeIcon/types.d.ts +13 -0
- package/dist/components/OnyxFileUpload/OnyxFileUpload.d.vue.ts +40 -0
- package/dist/components/OnyxFileUpload/types.d.ts +91 -0
- package/dist/components/OnyxFilterTag/OnyxFilterTag.d.vue.ts +10 -0
- package/dist/components/OnyxFilterTag/types.d.ts +8 -0
- package/dist/components/OnyxForm/OnyxForm.core.d.ts +46 -17
- package/dist/components/OnyxForm/{OnyxForm.vue.d.ts → OnyxForm.d.vue.ts} +4 -4
- package/dist/components/OnyxForm/types.d.ts +3 -3
- package/dist/components/OnyxFormElement/FormMessage.d.vue.ts +13 -0
- package/dist/components/OnyxFormElement/OnyxFormElement.ct-utils.d.ts +2 -2
- package/dist/components/OnyxFormElement/OnyxFormElement.d.vue.ts +27 -0
- package/dist/components/OnyxFormElement/types.d.ts +22 -19
- package/dist/components/OnyxGlobalFAB/OnyxGlobalFAB.d.vue.ts +2 -0
- package/dist/components/OnyxGlobalFAB/useGlobalFAB.d.ts +56 -0
- package/dist/components/OnyxHeadline/OnyxHeadline.d.vue.ts +28 -0
- package/dist/components/OnyxHeadline/types.d.ts +18 -2
- package/dist/components/OnyxIcon/OnyxIcon.d.vue.ts +3 -0
- package/dist/components/OnyxIcon/types.d.ts +5 -1
- package/dist/components/OnyxIconButton/OnyxIconButton.d.vue.ts +27 -0
- package/dist/components/OnyxIconButton/types.d.ts +6 -6
- package/dist/components/OnyxImage/OnyxImage.d.vue.ts +6 -0
- package/dist/components/OnyxImage/types.d.ts +43 -0
- package/dist/components/OnyxInfoCard/OnyxInfoCard.d.vue.ts +42 -0
- package/dist/components/OnyxInfoCard/types.d.ts +21 -0
- package/dist/components/OnyxInfoTooltip/OnyxInfoTooltip.d.vue.ts +12 -0
- package/dist/components/OnyxInfoTooltip/types.d.ts +2 -2
- package/dist/components/OnyxInput/OnyxInput.d.vue.ts +62 -0
- package/dist/components/OnyxInput/types.d.ts +5 -64
- package/dist/components/OnyxLink/{OnyxLink.vue.d.ts → OnyxLink.d.vue.ts} +4 -4
- package/dist/components/OnyxLink/types.d.ts +3 -10
- package/dist/components/OnyxListItem/{OnyxListItem.vue.d.ts → OnyxListItem.d.vue.ts} +4 -4
- package/dist/components/OnyxListItem/types.d.ts +2 -2
- package/dist/components/OnyxLoadingIndicator/OnyxCircleSpinner.d.vue.ts +2 -0
- package/dist/components/OnyxLoadingIndicator/OnyxLoadingDots.d.vue.ts +2 -0
- package/dist/components/OnyxLoadingIndicator/OnyxLoadingIndicator.d.vue.ts +5 -0
- package/dist/components/OnyxMiniSearch/OnyxMiniSearch.d.vue.ts +16 -0
- package/dist/components/OnyxMiniSearch/types.d.ts +5 -3
- package/dist/components/OnyxMobileNavButton/{OnyxMobileNavButton.vue.d.ts → OnyxMobileNavButton.d.vue.ts} +4 -4
- package/dist/components/OnyxMobileNavButton/types.d.ts +4 -0
- package/dist/components/{OnyxModalDialog/OnyxModalDialog.vue.d.ts → OnyxModal/OnyxModal.d.vue.ts} +17 -8
- package/dist/components/OnyxModal/types.d.ts +2 -0
- package/dist/components/OnyxMoreList/{OnyxMoreList.vue.d.ts → OnyxMoreList.d.vue.ts} +11 -6
- package/dist/components/OnyxMoreList/types.d.ts +12 -3
- package/dist/components/OnyxNavAppArea/{OnyxNavAppArea.vue.d.ts → OnyxNavAppArea.d.vue.ts} +5 -3
- package/dist/components/OnyxNavAppArea/types.d.ts +2 -1
- package/dist/components/OnyxNavBar/OnyxNavBar.d.vue.ts +44 -0
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.d.vue.ts +12 -0
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeDialog/types.d.ts +3 -3
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.d.vue.ts +8 -0
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/types.d.ts +1 -1
- package/dist/components/OnyxNavBar/modules/OnyxFlyoutMenu/{OnyxFlyoutMenu.vue.d.ts → OnyxFlyoutMenu.d.vue.ts} +9 -12
- package/dist/components/OnyxNavBar/modules/OnyxFlyoutMenu/types.d.ts +11 -7
- package/dist/components/OnyxNavBar/modules/OnyxLanguageMenuItem/OnyxLanguageMenuItem.d.vue.ts +16 -0
- package/dist/components/OnyxNavBar/modules/OnyxLanguageMenuItem/types.d.ts +11 -0
- package/dist/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.d.vue.ts +427 -0
- package/dist/components/OnyxNavBar/modules/OnyxMenuItem/types.d.ts +13 -9
- package/dist/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.d.vue.ts +185 -0
- package/dist/components/OnyxNavBar/modules/OnyxNavItem/types.d.ts +19 -2
- package/dist/components/OnyxNavBar/modules/OnyxNavItemFacade/OnyxNavItemFacade.d.vue.ts +41 -0
- package/dist/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.d.vue.ts +12 -0
- package/dist/components/OnyxNavBar/modules/OnyxUserMenu/{OnyxUserMenu.vue.d.ts → OnyxUserMenu.d.vue.ts} +7 -7
- package/dist/components/OnyxNavBar/modules/OnyxUserMenu/{UserMenuLayout.vue.d.ts → UserMenuLayout.d.vue.ts} +13 -13
- package/dist/components/OnyxNavBar/modules/OnyxUserMenu/types.d.ts +13 -7
- package/dist/components/OnyxNavBar/modules/index.d.ts +17 -17
- package/dist/components/OnyxNavBar/types.d.ts +53 -12
- package/dist/components/OnyxNotificationCard/OnyxNotificationCard.d.vue.ts +48 -0
- package/dist/components/OnyxNotificationCard/types.d.ts +25 -0
- package/dist/components/OnyxNotificationDot/OnyxNotificationDot.d.vue.ts +29 -0
- package/dist/components/OnyxNotificationDot/types.d.ts +11 -0
- package/dist/components/OnyxNotificationMessage/OnyxNotificationMessage.d.vue.ts +40 -0
- package/dist/components/OnyxNotificationMessage/types.d.ts +17 -0
- package/dist/components/OnyxNotifications/OnyxNotifications.d.vue.ts +2 -0
- package/dist/components/OnyxNotifications/useNotification.d.ts +60 -0
- package/dist/components/OnyxPageLayout/OnyxPageLayout.d.vue.ts +66 -0
- package/dist/components/OnyxPageLayout/types.d.ts +11 -8
- package/dist/components/OnyxPagination/OnyxPagination.d.vue.ts +10 -0
- package/dist/components/OnyxPagination/OnyxSelectPagination.d.vue.ts +9 -0
- package/dist/components/OnyxPagination/types.d.ts +6 -1
- package/dist/components/OnyxProgressItem/OnyxProgressItem.d.vue.ts +31 -0
- package/dist/components/OnyxProgressItem/types.d.ts +31 -0
- package/dist/components/OnyxProgressSteps/OnyxProgressSteps.d.vue.ts +41 -0
- package/dist/components/OnyxProgressSteps/types.d.ts +30 -0
- package/dist/components/OnyxRadioButton/{OnyxRadioButton.vue.d.ts → OnyxRadioButton.d.vue.ts} +7 -7
- package/dist/components/OnyxRadioButton/types.d.ts +2 -10
- package/dist/components/OnyxRadioGroup/{OnyxRadioGroup.vue.d.ts → OnyxRadioGroup.d.vue.ts} +9 -9
- package/dist/components/OnyxRadioGroup/types.d.ts +6 -19
- package/dist/components/OnyxResizeHandle/OnyxResizeHandle.d.vue.ts +16 -0
- package/dist/components/OnyxResizeHandle/types.d.ts +23 -0
- package/dist/components/OnyxRipple/OnyxRipple.d.vue.ts +6 -0
- package/dist/components/OnyxRouterLink/OnyxRouterLink.d.vue.ts +21 -0
- package/dist/components/OnyxRouterLink/types.d.ts +22 -0
- package/dist/components/OnyxSegmentedControl/OnyxSegmentedControl.d.vue.ts +17 -0
- package/dist/components/OnyxSegmentedControl/types.d.ts +28 -0
- package/dist/components/OnyxSegmentedControlElement/OnyxSegmentedControlElement.d.vue.ts +7 -0
- package/dist/components/OnyxSegmentedControlElement/types.d.ts +5 -0
- package/dist/components/OnyxSelect/{OnyxSelect.vue.d.ts → OnyxSelect.d.vue.ts} +13 -12
- package/dist/components/OnyxSelect/types.d.ts +34 -47
- package/dist/components/OnyxSelectDialog/OnyxSelectDialog.d.vue.ts +28 -0
- package/dist/components/OnyxSelectDialog/types.d.ts +30 -0
- package/dist/components/OnyxSelectInput/{OnyxSelectInput.vue.d.ts → OnyxSelectInput.d.vue.ts} +6 -8
- package/dist/components/OnyxSelectInput/types.d.ts +2 -24
- package/dist/components/OnyxSelectOption/{OnyxSelectOption.vue.d.ts → OnyxSelectOption.d.vue.ts} +5 -5
- package/dist/components/OnyxSelectOption/types.d.ts +2 -2
- package/dist/components/OnyxSeparator/OnyxSeparator.d.vue.ts +5 -0
- package/dist/components/OnyxSeparator/types.d.ts +7 -0
- package/dist/components/OnyxSidebar/OnyxSidebar.d.vue.ts +190 -0
- package/dist/components/OnyxSidebar/modules/OnyxSidebarItem/OnyxSidebarItem.d.vue.ts +28 -0
- package/dist/components/OnyxSidebar/modules/OnyxSidebarItem/types.d.ts +9 -0
- package/dist/components/OnyxSidebar/modules/index.d.ts +2 -0
- package/dist/components/OnyxSidebar/types.d.ts +40 -0
- package/dist/components/OnyxSkeleton/OnyxSkeleton.d.vue.ts +2 -0
- package/dist/components/OnyxStepper/OnyxStepper.d.vue.ts +22 -0
- package/dist/components/OnyxStepper/types.d.ts +26 -32
- package/dist/components/OnyxSwitch/OnyxSwitch.d.vue.ts +22 -0
- package/dist/components/OnyxSwitch/types.d.ts +3 -29
- package/dist/components/OnyxSystemButton/OnyxSystemButton.d.vue.ts +8 -0
- package/dist/components/OnyxSystemButton/types.d.ts +2 -2
- package/dist/components/OnyxTab/{OnyxTab.vue.d.ts → OnyxTab.d.vue.ts} +4 -4
- package/dist/components/OnyxTab/types.d.ts +2 -2
- package/dist/components/OnyxTable/OnyxTable.d.vue.ts +24 -0
- package/dist/components/OnyxTable/types.d.ts +43 -1
- package/dist/components/OnyxTabs/{OnyxTabs.vue.d.ts → OnyxTabs.d.vue.ts} +4 -6
- package/dist/components/OnyxTabs/types.d.ts +6 -6
- package/dist/components/OnyxTag/OnyxTag.d.vue.ts +6 -0
- package/dist/components/OnyxTag/types.d.ts +25 -2
- package/dist/components/OnyxTextarea/OnyxTextarea.d.vue.ts +22 -0
- package/dist/components/OnyxTextarea/types.d.ts +2 -5
- package/dist/components/OnyxToast/OnyxToast.d.vue.ts +2 -0
- package/dist/components/OnyxToast/useToast.d.ts +2 -2
- package/dist/components/OnyxToastMessage/OnyxToastMessage.d.vue.ts +12 -0
- package/dist/components/OnyxToastMessage/types.d.ts +2 -2
- package/dist/components/OnyxTooltip/OnyxTooltip.ct-utils.d.ts +1 -1
- package/dist/components/OnyxTooltip/{OnyxTooltip.vue.d.ts → OnyxTooltip.d.vue.ts} +22 -12
- package/dist/components/OnyxTooltip/types.d.ts +31 -15
- package/dist/components/OnyxVisuallyHidden/{OnyxVisuallyHidden.vue.d.ts → OnyxVisuallyHidden.d.vue.ts} +3 -3
- package/dist/components/examples/ComponentShowcase/ComponentShowcase.d.vue.ts +9 -0
- package/dist/components/illustrations/OnyxErrorSVG/OnyxErrorSVG.d.vue.ts +2 -0
- package/dist/components/illustrations/OnyxFileUploadSVG/OnyxFileUploadSVG.d.vue.ts +3 -0
- package/dist/components/illustrations/OnyxFileUploadSVG/types.d.ts +10 -0
- package/dist/components/illustrations/index.d.ts +3 -0
- package/dist/composables/animation.d.ts +5 -0
- package/dist/composables/checkAll.d.ts +3 -3
- package/dist/composables/density.d.ts +1 -1
- package/dist/composables/required.d.ts +6 -12
- package/dist/composables/scrollEnd.d.ts +2 -2
- package/dist/composables/themeTransition.d.ts +2 -2
- package/dist/composables/useAnchorPositionPolyfill.d.ts +20 -0
- package/dist/composables/useAutoFocus.d.ts +5 -0
- package/dist/composables/useCustomValidity.d.ts +21 -13
- package/dist/composables/useErrorClass.d.ts +2 -2
- package/dist/composables/useFileSize.d.ts +10 -0
- package/dist/composables/useIntersectionObserver.d.ts +25 -0
- package/dist/composables/useLenientMaxLengthValidation.ct-utils.d.ts +3 -0
- package/dist/composables/useLenientMaxLengthValidation.d.ts +93 -0
- package/dist/composables/useLink.d.ts +29 -0
- package/dist/composables/useLink.spec-d.d.ts +1 -0
- package/dist/composables/useMoreList.d.ts +15 -7
- package/dist/composables/useOpenAlignment.d.ts +13 -0
- package/dist/composables/useOpenDirection.d.ts +5 -5
- package/dist/composables/useRelativeTimeFormat.d.ts +23 -0
- package/dist/composables/useResizeObserver.d.ts +6 -2
- package/dist/composables/useRipple.d.ts +5 -5
- package/dist/composables/useSkeletonState.d.ts +1 -1
- package/dist/composables/useTimer.d.ts +3 -3
- package/dist/composables/useVModel.d.ts +34 -0
- package/dist/composables/useVModel.spec-d.d.ts +1 -0
- package/dist/i18n/datetime-formats.d.ts +22 -0
- package/dist/i18n/index.d.ts +24 -12
- package/dist/i18n/locales/de-DE.json +96 -2
- package/dist/i18n/locales/en-US.json +94 -9
- package/{src/i18n/locales/en-US.json → dist/i18n/locales/en-US.json.d.ts} +98 -10
- package/dist/i18n/number-formats.d.ts +6 -0
- package/dist/index.d.ts +176 -106
- package/dist/index.esm-bundler.js +13471 -0
- package/dist/index.esm-bundler.js.map +1 -0
- package/dist/index.js +9574 -4712
- package/dist/style.css +1 -1
- package/dist/types/components.d.ts +7 -9
- package/dist/types/index.d.ts +7 -8
- package/dist/types/utils.d.ts +66 -1
- package/dist/types/utils.spec-d.d.ts +1 -0
- package/dist/utils/attrs.d.ts +35 -4
- package/dist/utils/breakpoints.d.ts +17 -0
- package/dist/utils/console.d.ts +11 -0
- package/dist/utils/dom.d.ts +5 -0
- package/dist/utils/feature.d.ts +15 -0
- package/dist/utils/file.d.ts +10 -0
- package/dist/utils/numbers.d.ts +29 -9
- package/dist/utils/objects.d.ts +18 -0
- package/dist/utils/plugin.d.ts +11 -2
- package/dist/utils/router.d.ts +9 -0
- package/dist/utils/storybook.d.ts +43 -2
- package/dist/utils/strings.d.ts +13 -0
- package/package.json +34 -24
- package/src/styles/breakpoints.scss +14 -10
- package/src/styles/fonts.scss +7 -7
- package/src/styles/global.css +3 -3
- package/src/styles/grid.ct.tsx +186 -73
- package/src/styles/grid.scss +139 -38
- package/src/styles/index.scss +1 -2
- package/src/styles/layers.scss +1 -1
- package/src/styles/mixins/checkbox.scss +18 -4
- package/src/styles/mixins/input.scss +24 -5
- package/src/styles/mixins/layers.scss +6 -0
- package/src/styles/mixins/list.scss +1 -1
- package/src/styles/mixins/sizes.scss +12 -8
- package/src/styles/mixins/visibility.scss +11 -0
- package/src/styles/root.scss +7 -2
- package/src/styles/variables/density-compact.css +2 -2
- package/src/styles/variables/density-cozy.css +2 -2
- package/src/styles/variables/density-default.css +2 -2
- package/src/styles/variables/spacing.css +1 -1
- package/src/styles/variables/themes/onyx.css +387 -0
- package/src/styles/variables/themes/value.css +217 -159
- package/dist/components/OnyxAlertDialog/OnyxAlertDialog.vue.d.ts +0 -60
- package/dist/components/OnyxAlertDialog/types.d.ts +0 -8
- package/dist/components/OnyxAppLayout/OnyxAppLayout.vue.d.ts +0 -36
- package/dist/components/OnyxAvatar/OnyxAvatar.vue.d.ts +0 -28
- package/dist/components/OnyxButton/OnyxButton.vue.d.ts +0 -10
- package/dist/components/OnyxDataGrid/OnyxDataGrid.vue.d.ts +0 -17
- package/dist/components/OnyxDataGrid/features/sorting/TestCase.vue.d.ts +0 -9
- package/dist/components/OnyxDatePicker/OnyxDatePicker.vue.d.ts +0 -17
- package/dist/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue.d.ts +0 -5
- package/dist/components/OnyxFormElement/FormMessage.vue.d.ts +0 -13
- package/dist/components/OnyxFormElement/OnyxFormElement.vue.d.ts +0 -29
- package/dist/components/OnyxIcon/OnyxIcon.vue.d.ts +0 -3
- package/dist/components/OnyxIconButton/OnyxIconButton.vue.d.ts +0 -27
- package/dist/components/OnyxInfoTooltip/OnyxInfoTooltip.vue.d.ts +0 -6
- package/dist/components/OnyxInput/OnyxInput.vue.d.ts +0 -24
- package/dist/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue.d.ts +0 -2
- package/dist/components/OnyxLoadingIndicator/OnyxLoadingDots.vue.d.ts +0 -2
- package/dist/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue.d.ts +0 -5
- package/dist/components/OnyxMiniSearch/OnyxMiniSearch.vue.d.ts +0 -14
- package/dist/components/OnyxModalDialog/types.d.ts +0 -2
- package/dist/components/OnyxNavBar/OnyxNavBar.vue.d.ts +0 -91
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.vue.d.ts +0 -11
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.vue.d.ts +0 -8
- package/dist/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue.d.ts +0 -28
- package/dist/components/OnyxNavBar/modules/OnyxNavButton/NavButtonLayout.vue.d.ts +0 -48
- package/dist/components/OnyxNavBar/modules/OnyxNavButton/OnyxNavButton.vue.d.ts +0 -122
- package/dist/components/OnyxNavBar/modules/OnyxNavButton/types.d.ts +0 -19
- package/dist/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue.d.ts +0 -31
- package/dist/components/OnyxNavBar/modules/OnyxNavSeparator/OnyxNavSeparator.vue.d.ts +0 -5
- package/dist/components/OnyxNavBar/modules/OnyxNavSeparator/types.d.ts +0 -3
- package/dist/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.vue.d.ts +0 -7
- package/dist/components/OnyxPageLayout/OnyxPageLayout.vue.d.ts +0 -30
- package/dist/components/OnyxPagination/OnyxPagination.vue.d.ts +0 -9
- package/dist/components/OnyxPagination/OnyxSelectPagination.vue.d.ts +0 -7
- package/dist/components/OnyxRipple/OnyxRipple.vue.d.ts +0 -4
- package/dist/components/OnyxSkeleton/OnyxSkeleton.vue.d.ts +0 -2
- package/dist/components/OnyxStepper/OnyxStepper.vue.d.ts +0 -21
- package/dist/components/OnyxSwitch/OnyxSwitch.vue.d.ts +0 -15
- package/dist/components/OnyxSystemButton/OnyxSystemButton.vue.d.ts +0 -8
- package/dist/components/OnyxSystemButton/examples/WithFlyoutMenu.vue.d.ts +0 -2
- package/dist/components/OnyxSystemButton/examples/WithTooltip.vue.d.ts +0 -2
- package/dist/components/OnyxTable/OnyxTable.vue.d.ts +0 -57
- package/dist/components/OnyxTag/OnyxTag.vue.d.ts +0 -5
- package/dist/components/OnyxTextarea/OnyxTextarea.vue.d.ts +0 -17
- package/dist/components/OnyxToast/OnyxToast.vue.d.ts +0 -2
- package/dist/components/OnyxToast/StorybookExample.vue.d.ts +0 -2
- package/dist/components/OnyxToastMessage/OnyxToastMessage.vue.d.ts +0 -12
- package/dist/components/examples/ComponentShowcase/ComponentShowcase.vue.d.ts +0 -9
- package/dist/components/examples/DataGrid/SortingDataGrid.vue.d.ts +0 -26
- package/dist/components/examples/FormExample/FormExample.vue.d.ts +0 -3
- package/dist/components/examples/GridPlayground/EditGridElementDialog/EditGridElementDialog.vue.d.ts +0 -26
- package/dist/components/examples/GridPlayground/GridBadge/GridBadge.vue.d.ts +0 -17
- package/dist/components/examples/GridPlayground/GridElement/GridElement.vue.d.ts +0 -42
- package/dist/components/examples/GridPlayground/GridOverlay/GridOverlay.vue.d.ts +0 -10
- package/dist/components/examples/GridPlayground/GridPlayground.vue.d.ts +0 -2
- package/dist/composables/asymmetricComputed.d.ts +0 -13
- package/dist/composables/useManagedState.d.ts +0 -31
- package/dist/composables/useWedgePosition.d.ts +0 -13
- package/dist/index.cjs +0 -183
- package/dist/playwright/a11y.d.ts +0 -28
- package/dist/playwright/screenshots.d.ts +0 -33
- package/dist/types/themes.d.ts +0 -2
- package/dist/utils/index.d.ts +0 -4
- package/src/i18n/locales/de-DE.json +0 -135
- package/src/i18n/locales/ko-KR.json +0 -27
- package/src/styles/variables/themes/digits-dark.css +0 -129
- package/src/styles/variables/themes/digits-light.css +0 -129
- package/src/styles/variables/themes/kaufland-dark.css +0 -129
- package/src/styles/variables/themes/kaufland-light.css +0 -129
- package/src/styles/variables/themes/lidl-dark.css +0 -129
- package/src/styles/variables/themes/lidl-light.css +0 -129
- package/src/styles/variables/themes/onyx-dark.css +0 -129
- package/src/styles/variables/themes/onyx-light.css +0 -129
- package/src/styles/variables/themes/schwarz-dark.css +0 -129
- package/src/styles/variables/themes/schwarz-light.css +0 -129
package/README.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<div align="center" style="text-align: center">
|
|
2
|
-
<
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" type="image/svg+xml" srcset="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-light.svg">
|
|
4
|
-
<source media="(prefers-color-scheme: light)" type="image/svg+xml" srcset="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-dark.svg">
|
|
5
|
-
<img alt="onyx logo" src="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-dark.svg" width="160px">
|
|
6
|
-
</picture>
|
|
2
|
+
<img alt="onyx logo" src="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo.svg" height="96px">
|
|
7
3
|
</div>
|
|
8
4
|
|
|
9
5
|
<br>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnyxAccordionProps } from './types.js';
|
|
2
|
+
declare const _default: <TValue extends PropertyKey>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((value: TValue[]) => any) | undefined;
|
|
5
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & OnyxAccordionProps<TValue> & Partial<{}>> & import('vue').PublicProps;
|
|
6
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
7
|
+
attrs: any;
|
|
8
|
+
slots: Readonly<{
|
|
9
|
+
/**
|
|
10
|
+
* Displays OnyxAccordionItem components.
|
|
11
|
+
*/
|
|
12
|
+
default(): unknown;
|
|
13
|
+
}> & {
|
|
14
|
+
/**
|
|
15
|
+
* Displays OnyxAccordionItem components.
|
|
16
|
+
*/
|
|
17
|
+
default(): unknown;
|
|
18
|
+
};
|
|
19
|
+
emit: (evt: "update:modelValue", value: TValue[]) => void;
|
|
20
|
+
}>) => import('vue').VNode & {
|
|
21
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_PrettifyLocal<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import { DensityProp } from '../../composables/density.js';
|
|
3
|
+
import { SkeletonInjected } from '../../composables/useSkeletonState.js';
|
|
4
|
+
import { Nullable } from '../../types/index.js';
|
|
5
|
+
export type OnyxAccordionProps<TValue extends PropertyKey> = DensityProp & {
|
|
6
|
+
/**
|
|
7
|
+
* Currently opened items. Will include the `value` property of the nested `OnyxAccordionItems`.
|
|
8
|
+
*/
|
|
9
|
+
modelValue?: Nullable<TValue[]>;
|
|
10
|
+
/**
|
|
11
|
+
* if `true`, only one accordion item can be open at the same time.
|
|
12
|
+
*/
|
|
13
|
+
exclusive?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Disable the accordion.
|
|
16
|
+
*/
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* If set, the specified number of skeleton accordions will be shown.
|
|
20
|
+
*/
|
|
21
|
+
skeleton?: SkeletonInjected;
|
|
22
|
+
/**
|
|
23
|
+
* Accordion type. Will have different visual representations.
|
|
24
|
+
* Please note that "nested-large" and "nested-small" should only be used inside other components like e.g. the [OnyxSidebar](https://storybook.onyx.schwarz/?path=/docs/navigation-sidebar--default).
|
|
25
|
+
*/
|
|
26
|
+
type?: AccordionType;
|
|
27
|
+
};
|
|
28
|
+
export type AccordionInjectionKey<TValue extends PropertyKey> = InjectionKey<{
|
|
29
|
+
/**
|
|
30
|
+
* IDs of currently open AccordionItems.
|
|
31
|
+
*/
|
|
32
|
+
openItems: Readonly<Ref<PropertyKey[]>>;
|
|
33
|
+
/**
|
|
34
|
+
* Function to update the open state of an AccordionItem.
|
|
35
|
+
* @param id - The unique ID of the AccordionItem.
|
|
36
|
+
* @param value - Whether the AccordionItem should be open (true) or closed (false).
|
|
37
|
+
*/
|
|
38
|
+
updateOpen: (id: TValue, value: boolean) => void;
|
|
39
|
+
disabled: Ref<boolean>;
|
|
40
|
+
skeleton: Ref<SkeletonInjected>;
|
|
41
|
+
type: Ref<AccordionType>;
|
|
42
|
+
}>;
|
|
43
|
+
export declare const ACCORDION_INJECTION_KEY: AccordionInjectionKey<PropertyKey>;
|
|
44
|
+
export declare const ACCORDION_TYPES: readonly ["default", "nested-large", "nested-small", "card"];
|
|
45
|
+
export type AccordionType = (typeof ACCORDION_TYPES)[number];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnyxAccordionItemProps } from './types.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/**
|
|
6
|
+
* Displays the header content.
|
|
7
|
+
*/
|
|
8
|
+
header(): unknown;
|
|
9
|
+
/**
|
|
10
|
+
* Displays the panel content.
|
|
11
|
+
*/
|
|
12
|
+
default?(): unknown;
|
|
13
|
+
}> & {
|
|
14
|
+
/**
|
|
15
|
+
* Displays the header content.
|
|
16
|
+
*/
|
|
17
|
+
header(): unknown;
|
|
18
|
+
/**
|
|
19
|
+
* Displays the panel content.
|
|
20
|
+
*/
|
|
21
|
+
default?(): unknown;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: any;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxAccordionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxAccordionItemProps> & Readonly<{}>, {
|
|
28
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { SkeletonInjected } from '../../composables/useSkeletonState.js';
|
|
3
|
+
export type OnyxAccordionItemProps = DensityProp & {
|
|
4
|
+
/**
|
|
5
|
+
* Value that is used inside the `OnyxAccordion` when the item is open.
|
|
6
|
+
* Must be unique across one accordion.
|
|
7
|
+
*/
|
|
8
|
+
value: PropertyKey;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the accordion is disabled
|
|
11
|
+
*/
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Whether to show a skeleton accordion.
|
|
15
|
+
*/
|
|
16
|
+
skeleton?: SkeletonInjected;
|
|
17
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Nullable } from '../../types/utils.js';
|
|
2
|
+
import { OnyxAlertModalProps } from './types.js';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<{
|
|
6
|
+
/**
|
|
7
|
+
* Modal content.
|
|
8
|
+
*/
|
|
9
|
+
default(): unknown;
|
|
10
|
+
/**
|
|
11
|
+
* Optional slot to override the headline with custom content.
|
|
12
|
+
* If unset, the `label` property will be shown.
|
|
13
|
+
*/
|
|
14
|
+
headline?(bindings: Pick<OnyxAlertModalProps, "label">): unknown;
|
|
15
|
+
/**
|
|
16
|
+
* Slot to display custom actions at the bottom of the modal, e.g. buttons for confirm or cancelling the current user workflow.
|
|
17
|
+
* Focus is automatically set to the first focusable element inside the modal dialog.
|
|
18
|
+
* If this is a button, it should be the least destructive action, to prevent users from accidentally confirming non-reversible actions.
|
|
19
|
+
*
|
|
20
|
+
* If you have to, you can use the `autofocus` button attribute to force the initial focus on another button.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```vue
|
|
24
|
+
* <OnyxButton label="Cancel" color="neutral" mode="plain" autofocus />
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
actions?(): unknown;
|
|
28
|
+
}> & {
|
|
29
|
+
/**
|
|
30
|
+
* Modal content.
|
|
31
|
+
*/
|
|
32
|
+
default(): unknown;
|
|
33
|
+
/**
|
|
34
|
+
* Optional slot to override the headline with custom content.
|
|
35
|
+
* If unset, the `label` property will be shown.
|
|
36
|
+
*/
|
|
37
|
+
headline?(bindings: Pick<OnyxAlertModalProps, "label">): unknown;
|
|
38
|
+
/**
|
|
39
|
+
* Slot to display custom actions at the bottom of the modal, e.g. buttons for confirm or cancelling the current user workflow.
|
|
40
|
+
* Focus is automatically set to the first focusable element inside the modal dialog.
|
|
41
|
+
* If this is a button, it should be the least destructive action, to prevent users from accidentally confirming non-reversible actions.
|
|
42
|
+
*
|
|
43
|
+
* If you have to, you can use the `autofocus` button attribute to force the initial focus on another button.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```vue
|
|
47
|
+
* <OnyxButton label="Cancel" color="neutral" mode="plain" autofocus />
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
actions?(): unknown;
|
|
51
|
+
};
|
|
52
|
+
refs: {};
|
|
53
|
+
rootEl: any;
|
|
54
|
+
};
|
|
55
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
56
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxAlertModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
57
|
+
"update:open": (open: Nullable<boolean>) => any;
|
|
58
|
+
}, string, import('vue').PublicProps, Readonly<OnyxAlertModalProps> & Readonly<{
|
|
59
|
+
"onUpdate:open"?: ((open: Nullable<boolean>) => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
icon: Pick<import('../OnyxIcon/types.js', { with: { "resolution-mode": "import" } }).OnyxIconProps, "icon" | "color">;
|
|
62
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
63
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnyxBasicDialogProps } from '../OnyxBasicDialog/types.js';
|
|
2
|
+
import { OnyxIconProps } from '../OnyxIcon/types.js';
|
|
3
|
+
export type OnyxAlertModalProps = Pick<OnyxBasicDialogProps, "density" | "nonDismissible" | "label" | "open"> & {
|
|
4
|
+
/**
|
|
5
|
+
* Optional icon to show.
|
|
6
|
+
*/
|
|
7
|
+
icon?: Pick<OnyxIconProps, "icon" | "color">;
|
|
8
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { OnyxAppLayoutProps } from './types.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/**
|
|
6
|
+
* Page content area of the application. Recommended component: [OnyxPageLayout](https://storybook.onyx.schwarz/?path=/docs/layout-pagelayout--docs).
|
|
7
|
+
*
|
|
8
|
+
* For semantic HTML, it is recommend to use HTML elements like `<main>`
|
|
9
|
+
*/
|
|
10
|
+
default(): unknown;
|
|
11
|
+
/**
|
|
12
|
+
* Navigation area of the application. Recommended components:
|
|
13
|
+
* - for top alignment: [OnyxNavBar](https://storybook.onyx.schwarz/?path=/docs/navigation-navbar--docs)
|
|
14
|
+
* - for left alignment: no onyx component yet, create your own custom one
|
|
15
|
+
*
|
|
16
|
+
* For implementing page-level sidebars, please use the [OnyxPageLayout](https://onyx.schwarz/?path=/story/layout-pagelayout--sidebar).
|
|
17
|
+
* For semantic HTML, it is recommended to use HTML elements like `<header>` and `<nav>` here, which is already the case when using the above recommended components.
|
|
18
|
+
*/
|
|
19
|
+
navBar?(): unknown;
|
|
20
|
+
}> & {
|
|
21
|
+
/**
|
|
22
|
+
* Page content area of the application. Recommended component: [OnyxPageLayout](https://storybook.onyx.schwarz/?path=/docs/layout-pagelayout--docs).
|
|
23
|
+
*
|
|
24
|
+
* For semantic HTML, it is recommend to use HTML elements like `<main>`
|
|
25
|
+
*/
|
|
26
|
+
default(): unknown;
|
|
27
|
+
/**
|
|
28
|
+
* Navigation area of the application. Recommended components:
|
|
29
|
+
* - for top alignment: [OnyxNavBar](https://storybook.onyx.schwarz/?path=/docs/navigation-navbar--docs)
|
|
30
|
+
* - for left alignment: no onyx component yet, create your own custom one
|
|
31
|
+
*
|
|
32
|
+
* For implementing page-level sidebars, please use the [OnyxPageLayout](https://onyx.schwarz/?path=/story/layout-pagelayout--sidebar).
|
|
33
|
+
* For semantic HTML, it is recommended to use HTML elements like `<header>` and `<nav>` here, which is already the case when using the above recommended components.
|
|
34
|
+
*/
|
|
35
|
+
navBar?(): unknown;
|
|
36
|
+
};
|
|
37
|
+
refs: {};
|
|
38
|
+
rootEl: HTMLDivElement;
|
|
39
|
+
};
|
|
40
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
41
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxAppLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxAppLayoutProps> & Readonly<{}>, {
|
|
42
|
+
navBarAlignment: "top" | "left";
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
44
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { OnyxAvatarProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxAvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxAvatarProps> & Readonly<{}>, {
|
|
3
|
+
size: "16px" | "24px" | "32px" | "48px" | "64px" | "96px";
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
5
|
+
export default _default;
|
|
@@ -1,13 +1,25 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { IconSize, IconSizeProp } from '../OnyxIcon/types.js';
|
|
2
2
|
export type OnyxAvatarProps = IconSizeProp<Exclude<IconSize, "12px">> & {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Full user name. Will determine the displayed initials.
|
|
5
|
+
*
|
|
6
|
+
* @example "John Doe"
|
|
6
7
|
*/
|
|
7
|
-
|
|
8
|
+
fullName: DisplayName;
|
|
8
9
|
/**
|
|
9
10
|
* Image URL to show. If unset or an error occurs while loading, a fallback will be displayed
|
|
10
11
|
* with the initials.
|
|
11
12
|
*/
|
|
12
13
|
src?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Initials to use. If unset, they will be inferred automatically from the `fullName` property.
|
|
16
|
+
*/
|
|
17
|
+
initials?: string;
|
|
18
|
+
};
|
|
19
|
+
export type DisplayName = string | {
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Locale of the given name. Will be used for formatting.
|
|
23
|
+
*/
|
|
24
|
+
locale: string;
|
|
13
25
|
};
|
package/dist/components/OnyxAvatarStack/{OnyxAvatarStack.vue.d.ts → OnyxAvatarStack.d.vue.ts}
RENAMED
|
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
15
15
|
rootEl: HTMLDivElement;
|
|
16
16
|
};
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import(
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
19
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
20
|
export default _default;
|
|
21
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { OnyxBadgeProps } from './types.js';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: Readonly<{
|
|
@@ -16,10 +16,10 @@ declare function __VLS_template(): {
|
|
|
16
16
|
rootEl: HTMLDivElement;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import(
|
|
20
|
-
color: import(
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxBadgeProps> & Readonly<{}>, {
|
|
20
|
+
color: import('../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor;
|
|
21
21
|
dot: boolean;
|
|
22
|
-
}, {}, {}, {}, string, import(
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
24
|
export default _default;
|
|
25
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { OnyxColor } from '../../types/colors.js';
|
|
3
3
|
export type OnyxBadgeProps = DensityProp & {
|
|
4
4
|
/**
|
|
5
5
|
* The color of the badge.
|
package/dist/components/{OnyxDialog/OnyxDialog.vue.d.ts → OnyxBasicDialog/OnyxBasicDialog.d.vue.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { OnyxBasicDialogProps } from './types.js';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: Readonly<{
|
|
@@ -18,19 +18,24 @@ declare function __VLS_template(): {
|
|
|
18
18
|
};
|
|
19
19
|
refs: {
|
|
20
20
|
dialogRef: HTMLDialogElement;
|
|
21
|
+
contentRef: HTMLDivElement;
|
|
21
22
|
};
|
|
22
23
|
rootEl: any;
|
|
23
24
|
};
|
|
24
25
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
-
declare const __VLS_component: import(
|
|
26
|
-
|
|
27
|
-
}, string, import(
|
|
28
|
-
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxBasicDialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
"update:open": (open: boolean) => any;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<OnyxBasicDialogProps> & Readonly<{
|
|
29
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
29
30
|
}>, {
|
|
30
|
-
open: boolean;
|
|
31
31
|
alert: boolean;
|
|
32
32
|
modal: boolean;
|
|
33
|
-
|
|
33
|
+
nonDismissible: boolean;
|
|
34
|
+
alignment: import('./types.js', { with: { "resolution-mode": "import" } }).DialogAlignment;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
36
|
+
dialogRef: HTMLDialogElement;
|
|
37
|
+
contentRef: HTMLDivElement;
|
|
38
|
+
}, any>;
|
|
34
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
40
|
export default _default;
|
|
36
41
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { Nullable } from '../../types/index.js';
|
|
3
|
+
export type OnyxBasicDialogProps = DensityProp & {
|
|
4
|
+
/**
|
|
5
|
+
* (Aria) label that describes the dialog. Required for accessibility / screen readers.
|
|
6
|
+
*/
|
|
7
|
+
label: string;
|
|
8
|
+
/**
|
|
9
|
+
* Whether the dialog is open.
|
|
10
|
+
*/
|
|
11
|
+
open?: Nullable<boolean>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether the dialog is a modal.
|
|
14
|
+
* If `true`, interaction with the rest of the page is prevented and a backdrop is displayed.
|
|
15
|
+
* Also the `close` event is emitted when pressing "Escape".
|
|
16
|
+
*/
|
|
17
|
+
modal?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Whether to prevent closing the dialog when clicking outside or pressing the `Escape` key.
|
|
20
|
+
*/
|
|
21
|
+
nonDismissible?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the dialog is an [alert dialog](https://www.w3.org/WAI/ARIA/apg/patterns/alertdialog/).
|
|
24
|
+
* Should be set for better accessibility / screen reader support when the dialog
|
|
25
|
+
* interrupts the user's workflow to communicate an important message and acquire a response,
|
|
26
|
+
* e.g. a delete confirmation.
|
|
27
|
+
*/
|
|
28
|
+
alert?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* How to align the dialog horizontally. If "left" or "right", the modal will also be made full height.
|
|
31
|
+
*/
|
|
32
|
+
alignment?: DialogAlignment;
|
|
33
|
+
};
|
|
34
|
+
export declare const DIALOG_ALIGNMENTS: readonly ["left", "center", "right"];
|
|
35
|
+
export type DialogAlignment = (typeof DIALOG_ALIGNMENTS)[number];
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { AriaAttributes } from 'vue';
|
|
2
|
+
import { OnyxBasicPopoverProps } from './types.js';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<{
|
|
6
|
+
/**
|
|
7
|
+
* The always visible parent to which the popover is aligned.
|
|
8
|
+
* `trigger` can optionally set to a button to explicitly connect the the button and popover.
|
|
9
|
+
*/
|
|
10
|
+
default(params: {
|
|
11
|
+
trigger: AriaAttributes;
|
|
12
|
+
}): unknown;
|
|
13
|
+
/**
|
|
14
|
+
* Content shown in the popover when it is expanded.
|
|
15
|
+
*/
|
|
16
|
+
content(): unknown;
|
|
17
|
+
}> & {
|
|
18
|
+
/**
|
|
19
|
+
* The always visible parent to which the popover is aligned.
|
|
20
|
+
* `trigger` can optionally set to a button to explicitly connect the the button and popover.
|
|
21
|
+
*/
|
|
22
|
+
default(params: {
|
|
23
|
+
trigger: AriaAttributes;
|
|
24
|
+
}): unknown;
|
|
25
|
+
/**
|
|
26
|
+
* Content shown in the popover when it is expanded.
|
|
27
|
+
*/
|
|
28
|
+
content(): unknown;
|
|
29
|
+
};
|
|
30
|
+
refs: {
|
|
31
|
+
popoverWrapper: HTMLDivElement;
|
|
32
|
+
popover: HTMLDivElement;
|
|
33
|
+
};
|
|
34
|
+
rootEl: HTMLDivElement;
|
|
35
|
+
};
|
|
36
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxBasicPopoverProps, {
|
|
38
|
+
/**
|
|
39
|
+
* Actual used popover position.
|
|
40
|
+
*/
|
|
41
|
+
popoverPosition: import('vue').ComputedRef<"top" | "left" | "right" | "top right" | "top left" | "bottom" | "bottom right" | "bottom left">;
|
|
42
|
+
/**
|
|
43
|
+
* Actual used popover alignment.
|
|
44
|
+
*/
|
|
45
|
+
popoverAlignment: import('vue').ComputedRef<import('../../composables/useOpenAlignment.js', { with: { "resolution-mode": "import" } }).OpenAlignment>;
|
|
46
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
|
+
"update:open": (value: boolean) => any;
|
|
48
|
+
}, string, import('vue').PublicProps, Readonly<OnyxBasicPopoverProps> & Readonly<{
|
|
49
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
50
|
+
}>, {
|
|
51
|
+
role: "menu" | "listbox" | "tree" | "grid" | "dialog";
|
|
52
|
+
alignment: import('../../composables/useOpenAlignment.js', { with: { "resolution-mode": "import" } }).OpenAlignment | "auto";
|
|
53
|
+
position: import('../../composables/useAnchorPositionPolyfill.js', { with: { "resolution-mode": "import" } }).AnchorPosition | "auto";
|
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
55
|
+
popoverWrapper: HTMLDivElement;
|
|
56
|
+
popover: HTMLDivElement;
|
|
57
|
+
}, HTMLDivElement>;
|
|
58
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
59
|
+
export default _default;
|
|
60
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
61
|
+
new (): {
|
|
62
|
+
$slots: S;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AnchorPosition } from '../../composables/useAnchorPositionPolyfill.js';
|
|
2
|
+
import { OpenAlignment } from '../../composables/useOpenAlignment.js';
|
|
3
|
+
import { Nullable } from '../../types/utils.js';
|
|
4
|
+
export type OnyxBasicPopoverProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Aria label for the popover.
|
|
7
|
+
*/
|
|
8
|
+
label: string;
|
|
9
|
+
/**
|
|
10
|
+
* Indicates whether the element is expanded or collapsed.
|
|
11
|
+
*/
|
|
12
|
+
open?: Nullable<boolean>;
|
|
13
|
+
/**
|
|
14
|
+
* How to position the popover relative to the parent element.
|
|
15
|
+
*/
|
|
16
|
+
position?: AnchorPosition | "auto";
|
|
17
|
+
/**
|
|
18
|
+
* Specifies how to align the popover relative to the parent element.
|
|
19
|
+
* This is applicable only for top and bottom positioning.
|
|
20
|
+
*/
|
|
21
|
+
alignment?: OpenAlignment | "auto";
|
|
22
|
+
/**
|
|
23
|
+
* If `true`, the popover will match the width of the parent/slot element.
|
|
24
|
+
*/
|
|
25
|
+
fitParent?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the popover is disabled and can not be opened.
|
|
28
|
+
*/
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Role for the popover.
|
|
32
|
+
* This can be used to control the ARIA role for accessibility.
|
|
33
|
+
*
|
|
34
|
+
* @default "dialog"
|
|
35
|
+
*/
|
|
36
|
+
role?: "menu" | "listbox" | "tree" | "grid" | "dialog";
|
|
37
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnyxBottomBarProps } from './types.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/**
|
|
6
|
+
* Bottom bar content. This slot is left aligned and should be used by buttons and icon buttons.
|
|
7
|
+
*/
|
|
8
|
+
left?(): unknown;
|
|
9
|
+
/**
|
|
10
|
+
* Bottom bar content. This slot is right aligned and should be used by buttons and icon buttons.
|
|
11
|
+
*/
|
|
12
|
+
default?(): unknown;
|
|
13
|
+
}> & {
|
|
14
|
+
/**
|
|
15
|
+
* Bottom bar content. This slot is left aligned and should be used by buttons and icon buttons.
|
|
16
|
+
*/
|
|
17
|
+
left?(): unknown;
|
|
18
|
+
/**
|
|
19
|
+
* Bottom bar content. This slot is right aligned and should be used by buttons and icon buttons.
|
|
20
|
+
*/
|
|
21
|
+
default?(): unknown;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxBottomBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxBottomBarProps> & Readonly<{}>, {
|
|
28
|
+
hideBorder: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnyxBreadcrumbProps } from './types.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/**
|
|
6
|
+
* Breadcrumb items (see `OnyxBreadcrumbItem` component).
|
|
7
|
+
*/
|
|
8
|
+
default(): unknown;
|
|
9
|
+
}> & {
|
|
10
|
+
/**
|
|
11
|
+
* Breadcrumb items (see `OnyxBreadcrumbItem` component).
|
|
12
|
+
*/
|
|
13
|
+
default(): unknown;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
moreListRef: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
rootEl: HTMLElement;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxBreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxBreadcrumbProps> & Readonly<{}>, {
|
|
22
|
+
container: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
moreListRef: HTMLDivElement;
|
|
25
|
+
}, HTMLElement>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { InjectionKey, Ref, TeleportProps } from 'vue';
|
|
2
|
+
import { DensityProp } from '../../composables/density.js';
|
|
3
|
+
import { MoreListInjectionKey } from '../../composables/useMoreList.js';
|
|
4
|
+
export declare const BREADCRUMB_MORE_LIST_INJECTION_KEY: MoreListInjectionKey;
|
|
5
|
+
export declare const BREADCRUMB_MORE_LIST_TARGET_INJECTION_KEY: InjectionKey<Ref<TeleportProps["to"]>>;
|
|
6
|
+
export type OnyxBreadcrumbProps = DensityProp & {
|
|
7
|
+
/**
|
|
8
|
+
* If `true`, the component will be shown inside a styled container.
|
|
9
|
+
* Recommended when used together with a nav bar or sidebar.
|
|
10
|
+
*/
|
|
11
|
+
container?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Custom home item.
|
|
14
|
+
*/
|
|
15
|
+
home?: BreadcrumbHomeItem;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to show all nested breadcrumb items as skeleton.
|
|
18
|
+
*/
|
|
19
|
+
skeleton?: boolean;
|
|
20
|
+
};
|
|
21
|
+
export type BreadcrumbHomeItem = {
|
|
22
|
+
/**
|
|
23
|
+
* Text label for the home item. Will show the passed label instead of an icon.
|
|
24
|
+
*/
|
|
25
|
+
label?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Link of the home item.
|
|
28
|
+
*
|
|
29
|
+
* @default "/"
|
|
30
|
+
*/
|
|
31
|
+
link?: string;
|
|
32
|
+
};
|