sit-onyx 1.0.0-beta.98 → 1.0.0-dev-20250912111044
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/OnyxModal/OnyxModal.d.vue.ts +57 -0
- 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 +9618 -4746
- 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 -58
- 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/OnyxModalDialog.vue.d.ts +0 -46
- 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
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnyxSystemButtonProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxSystemButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxSystemButtonProps> & Readonly<{}>, {
|
|
3
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
4
|
+
disabled: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
5
|
+
autofocus: boolean;
|
|
6
|
+
color: import('./types.js', { with: { "resolution-mode": "import" } }).SystemButtonColor;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export type OnyxSystemButtonProps = Pick<OnyxButtonProps, "disabled" | "autofocus" | "skeleton"> & {
|
|
1
|
+
import { OnyxButtonProps } from '../OnyxButton/types.js';
|
|
2
|
+
export type OnyxSystemButtonProps = Pick<OnyxButtonProps, "disabled" | "autofocus" | "skeleton" | "link"> & {
|
|
3
3
|
/**
|
|
4
4
|
* Button label / text to show. Is always required (even if `icon` is set) for screen readers / accessibility.
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { OnyxTabProps } from './types.js';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: Readonly<{
|
|
@@ -24,10 +24,10 @@ declare function __VLS_template(): {
|
|
|
24
24
|
rootEl: any;
|
|
25
25
|
};
|
|
26
26
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
-
declare const __VLS_component: import(
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxTabProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxTabProps> & Readonly<{}>, {
|
|
28
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
28
29
|
disabled: boolean;
|
|
29
|
-
|
|
30
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
32
|
export default _default;
|
|
33
33
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { SkeletonInjected } from '../../composables/useSkeletonState.js';
|
|
3
3
|
export type OnyxTabProps = DensityProp & {
|
|
4
4
|
/**
|
|
5
5
|
* Value of the tab when its selected. Will be the `modelValue` / `v-model` of the `OnyxTabs` component.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnyxTableProps, OnyxTableSlots } from './types.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<OnyxTableSlots> & OnyxTableSlots;
|
|
5
|
+
refs: {
|
|
6
|
+
tableRef: HTMLTableElement;
|
|
7
|
+
};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxTableProps> & Readonly<{}>, {
|
|
12
|
+
striped: boolean;
|
|
13
|
+
withVerticalBorders: boolean;
|
|
14
|
+
withPageScrolling: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
+
tableRef: HTMLTableElement;
|
|
17
|
+
}, HTMLDivElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
3
|
export type OnyxTableProps = DensityProp & {
|
|
3
4
|
/**
|
|
4
5
|
* Whether to use striped row background colors.
|
|
@@ -20,6 +21,47 @@ export type OnyxTableProps = DensityProp & {
|
|
|
20
21
|
* Slot `head` must be filled for this to work and `withVerticalBorders` property should be set.
|
|
21
22
|
*/
|
|
22
23
|
columnGroups?: TableColumnGroup[];
|
|
24
|
+
/**
|
|
25
|
+
* Additional HTML attributes for the scroll container.
|
|
26
|
+
* Supports attributes like id, class, style, and events.
|
|
27
|
+
*/
|
|
28
|
+
scrollContainerAttrs?: HTMLAttributes;
|
|
29
|
+
};
|
|
30
|
+
export type OnyxTableSlots = {
|
|
31
|
+
/**
|
|
32
|
+
* Table content. Must only contain valid HTML `<tbody>` children like `<tr>` and `<td>`.
|
|
33
|
+
*/
|
|
34
|
+
default(): unknown[];
|
|
35
|
+
/**
|
|
36
|
+
* Table header. Must only contain valid HTML `<thead>` children like `<tr>` and `<th>`.
|
|
37
|
+
*/
|
|
38
|
+
head?(): unknown;
|
|
39
|
+
/**
|
|
40
|
+
* Optional slot to customize the empty state when no body content exist.
|
|
41
|
+
* It is recommended to use the `<OnyxEmpty>` component here.
|
|
42
|
+
*
|
|
43
|
+
* If unset, a default translated message will be displayed for the current locale.
|
|
44
|
+
*/
|
|
45
|
+
empty?(props: {
|
|
46
|
+
defaultMessage: string;
|
|
47
|
+
}): unknown;
|
|
48
|
+
/**
|
|
49
|
+
* Optional slot for showing a headline above the table (top left). See OnyxHeadline component.
|
|
50
|
+
*/
|
|
51
|
+
headline?(): unknown;
|
|
52
|
+
/**
|
|
53
|
+
* Optional slot for showing table actions above the table (top right). See OnyxIconButton and OnyxButton component.
|
|
54
|
+
*/
|
|
55
|
+
actions?(): unknown;
|
|
56
|
+
/**
|
|
57
|
+
* Optional slot for displaying a pagination below the table (bottom right). See OnyxPagination component.
|
|
58
|
+
*/
|
|
59
|
+
pagination?(): unknown;
|
|
60
|
+
/**
|
|
61
|
+
* Optional slot for displaying additional information below the table (bottom left).
|
|
62
|
+
* Useful for showing a legend, page size selection etc.
|
|
63
|
+
*/
|
|
64
|
+
bottomLeft?(): unknown;
|
|
23
65
|
};
|
|
24
66
|
/**
|
|
25
67
|
* Table group that is rendered as `<colgroup>` and corresponding `<th scope="colgroup">` inside the table.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnyxTabsProps } from './types.js';
|
|
2
2
|
declare const _default: <TValue extends PropertyKey = 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
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
4
|
readonly "onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
|
|
5
|
-
} & import(
|
|
6
|
-
expose(exposed: import(
|
|
5
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & OnyxTabsProps<TValue> & Partial<{}>> & import('vue').PublicProps;
|
|
6
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: Readonly<{
|
|
9
9
|
/**
|
|
@@ -17,9 +17,7 @@ declare const _default: <TValue extends PropertyKey = PropertyKey>(__VLS_props:
|
|
|
17
17
|
default(): unknown;
|
|
18
18
|
};
|
|
19
19
|
emit: (evt: "update:modelValue", value: TValue) => void;
|
|
20
|
-
}>) => import(
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}> & {
|
|
20
|
+
}>) => import('vue').VNode & {
|
|
23
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
22
|
};
|
|
25
23
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { createTabs } from '@sit-onyx/headless';
|
|
2
|
+
import { InjectionKey, Ref, ShallowRef } from 'vue';
|
|
3
|
+
import { DensityProp } from '../../composables/density.js';
|
|
4
|
+
import { SkeletonProvidedProp } from '../../composables/useSkeletonState.js';
|
|
5
|
+
import { HeadlineType } from '../OnyxHeadline/types.js';
|
|
6
6
|
export type OnyxTabsProps<TValue extends PropertyKey = PropertyKey> = DensityProp & Partial<SkeletonProvidedProp> & {
|
|
7
7
|
/**
|
|
8
8
|
* Label of the tabs. Needed for accessibility / screen readers.
|
|
@@ -31,7 +31,7 @@ export type TabsInjectionKey<TValue extends PropertyKey = PropertyKey> = Injecti
|
|
|
31
31
|
* Ref to the parent tabs element where the child tabs should be teleported to
|
|
32
32
|
* to maintain the correct HTML structure.
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
panel: Readonly<ShallowRef<HTMLElement | null>>;
|
|
35
35
|
/**
|
|
36
36
|
* Tab size passed down from the parent so it can be set once for all tabs.
|
|
37
37
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { OnyxTagProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxTagProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxTagProps> & Readonly<{}>, {
|
|
3
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
4
|
+
color: import('../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { SkeletonInjected } from '../../composables/useSkeletonState.js';
|
|
3
|
+
import { OnyxColor } from '../../types/colors.js';
|
|
3
4
|
export type OnyxTagProps = DensityProp & {
|
|
4
5
|
/**
|
|
5
6
|
* The text content of the tag.
|
|
@@ -13,4 +14,26 @@ export type OnyxTagProps = DensityProp & {
|
|
|
13
14
|
* An icon which will be displayed on the left side of the label.
|
|
14
15
|
*/
|
|
15
16
|
icon?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Determines whether the Tag is clickable or not.
|
|
19
|
+
* If a string is provided, it is used as tooltip label.
|
|
20
|
+
* If an object is provided, it contains the tooltip label and an optional action icon.
|
|
21
|
+
*
|
|
22
|
+
* The label must describe the on-click action, e.g. "Click to remove the tag."
|
|
23
|
+
*/
|
|
24
|
+
clickable?: string | {
|
|
25
|
+
/**
|
|
26
|
+
* The label displayed on the Tooltip
|
|
27
|
+
*/
|
|
28
|
+
label: string;
|
|
29
|
+
/**
|
|
30
|
+
* An icon displayed on the right side of the label.
|
|
31
|
+
* Should be used to indicate an action (e.g., dismissing).
|
|
32
|
+
*/
|
|
33
|
+
actionIcon?: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Whether to show a skeleton tag.
|
|
37
|
+
*/
|
|
38
|
+
skeleton?: SkeletonInjected;
|
|
16
39
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnyxTextareaProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxTextareaProps, {
|
|
3
|
+
input: Readonly<import('vue').ShallowRef<HTMLTextAreaElement | null>>;
|
|
4
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
validityChange: (validity: ValidityState) => any;
|
|
6
|
+
"update:modelValue": (value: string) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<OnyxTextareaProps> & Readonly<{
|
|
8
|
+
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
12
|
+
required: boolean;
|
|
13
|
+
disabled: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
14
|
+
showError: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
15
|
+
requiredMarker: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/required.js', { with: { "resolution-mode": "import" } }).RequiredMarkerType>;
|
|
16
|
+
readonly: boolean;
|
|
17
|
+
autocapitalize: import('../../composables/useLenientMaxLengthValidation.js', { with: { "resolution-mode": "import" } }).Autocapitalize;
|
|
18
|
+
disableManualResize: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
inputRef: HTMLTextAreaElement;
|
|
21
|
+
}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import type { CustomValidityProp } from "../../composables/useCustomValidity";
|
|
4
|
-
import type { OnyxInputProps } from "../OnyxInput/types";
|
|
5
|
-
export type OnyxTextareaProps = DensityProp & RequiredMarkerProp & CustomValidityProp & Pick<OnyxInputProps, "label" | "labelTooltip" | "hideLabel" | "modelValue" | "placeholder" | "autocapitalize" | "autofocus" | "name" | "readonly" | "disabled" | "minlength" | "maxlength" | "withCounter" | "message" | "success" | "skeleton"> & {
|
|
1
|
+
import { OnyxInputProps } from '../OnyxInput/types.js';
|
|
2
|
+
export type OnyxTextareaProps = Omit<OnyxInputProps, "autocomplete" | "hideClearIcon" | "hideSuccessIcon" | "loading" | "pattern" | "type"> & {
|
|
6
3
|
/**
|
|
7
4
|
* Override the default autosize behavior (height adjusts based on the current value).
|
|
8
5
|
* By default, the textarea will autosize while maintaining at least 3 and at most 10 rows.
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
import { OnyxToastMessageProps } from '../OnyxToastMessage/types.js';
|
|
3
3
|
export type ToastProvider = {
|
|
4
4
|
/**
|
|
5
5
|
* Readonly list of currently active toasts.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnyxToastMessageProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxToastMessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
close: () => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<OnyxToastMessageProps> & Readonly<{
|
|
5
|
+
onClose?: (() => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
icon: string | false;
|
|
8
|
+
color: Extract<import('../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "neutral" | "danger" | "warning" | "success">;
|
|
9
|
+
duration: number;
|
|
10
|
+
clickable: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { OnyxColor } from '../../types/index.js';
|
|
3
3
|
export type OnyxToastMessageProps = DensityProp & {
|
|
4
4
|
/**
|
|
5
5
|
* Main toast headline.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Locator, Page } from '@playwright/test';
|
|
2
2
|
type PageLocater = Page | Locator;
|
|
3
3
|
export declare const tooltipUtils: (page: Page) => {
|
|
4
4
|
getTrigger: (type: "label" | "error" | "message", prev?: PageLocater) => Locator;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { AriaAttributes, VNode } from 'vue';
|
|
2
|
+
import { Nullable } from '../../types/utils.js';
|
|
3
|
+
import { OnyxTooltipProps } from './types.js';
|
|
3
4
|
declare function __VLS_template(): {
|
|
4
5
|
attrs: Partial<{}>;
|
|
5
6
|
slots: Readonly<{
|
|
@@ -9,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
9
10
|
* **Accessibility**: You must ensure that the trigger attributes are bound to a button when the `open` prop is not `hover`!
|
|
10
11
|
*/
|
|
11
12
|
default(params: {
|
|
12
|
-
trigger:
|
|
13
|
+
trigger: AriaAttributes;
|
|
13
14
|
}): VNode;
|
|
14
15
|
/**
|
|
15
16
|
* Optional slot to place custom content for the tooltip text.
|
|
@@ -24,7 +25,7 @@ declare function __VLS_template(): {
|
|
|
24
25
|
* **Accessibility**: You must ensure that the trigger attributes are bound to a button when the `open` prop is not `hover`!
|
|
25
26
|
*/
|
|
26
27
|
default(params: {
|
|
27
|
-
trigger:
|
|
28
|
+
trigger: AriaAttributes;
|
|
28
29
|
}): VNode;
|
|
29
30
|
/**
|
|
30
31
|
* Optional slot to place custom content for the tooltip text.
|
|
@@ -34,19 +35,28 @@ declare function __VLS_template(): {
|
|
|
34
35
|
tooltip?(): unknown;
|
|
35
36
|
};
|
|
36
37
|
refs: {
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
tooltipWrapperRefEl: HTMLDivElement;
|
|
39
|
+
tooltipRefEl: HTMLDivElement;
|
|
39
40
|
};
|
|
40
41
|
rootEl: HTMLDivElement;
|
|
41
42
|
};
|
|
42
43
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
43
|
-
declare const __VLS_component: import(
|
|
44
|
-
open:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxTooltipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
45
|
+
"update:open": (open: Nullable<boolean>) => any;
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<OnyxTooltipProps> & Readonly<{
|
|
47
|
+
"onUpdate:open"?: ((open: Nullable<boolean>) => any) | undefined;
|
|
48
|
+
}>, {
|
|
49
|
+
open: boolean | null;
|
|
50
|
+
color: Extract<import('../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "neutral" | "danger" | "success">;
|
|
51
|
+
alignment: import('../../composables/useOpenAlignment.js', { with: { "resolution-mode": "import" } }).OpenAlignment | "auto";
|
|
52
|
+
alignsWithEdge: boolean;
|
|
48
53
|
fitParent: boolean;
|
|
49
|
-
|
|
54
|
+
position: import('../../composables/useAnchorPositionPolyfill.js', { with: { "resolution-mode": "import" } }).AnchorPosition | "auto";
|
|
55
|
+
trigger: import('./types.js', { with: { "resolution-mode": "import" } }).TooltipTrigger;
|
|
56
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
57
|
+
tooltipWrapperRefEl: HTMLDivElement;
|
|
58
|
+
tooltipRefEl: HTMLDivElement;
|
|
59
|
+
}, HTMLDivElement>;
|
|
50
60
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
61
|
export default _default;
|
|
52
62
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { DensityProp } from '../../composables/density.js';
|
|
3
|
+
import { AnchorPosition } from '../../composables/useAnchorPositionPolyfill.js';
|
|
4
|
+
import { OpenAlignment } from '../../composables/useOpenAlignment.js';
|
|
5
|
+
import { Nullable, OnyxColor } from '../../types/index.js';
|
|
5
6
|
export type TooltipOptions = {
|
|
6
7
|
/**
|
|
7
8
|
* Number of milliseconds to use as debounce when showing/hiding the tooltip.
|
|
@@ -21,33 +22,48 @@ export type OnyxTooltipProps = DensityProp & {
|
|
|
21
22
|
* Optional icon to show on the left of the text.
|
|
22
23
|
*/
|
|
23
24
|
icon?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Tooltip color.
|
|
27
|
+
*/
|
|
24
28
|
color?: Extract<OnyxColor, "neutral" | "danger" | "success">;
|
|
25
29
|
/**
|
|
26
30
|
* How to position the tooltip relative to the parent element.
|
|
27
31
|
*/
|
|
28
|
-
position?:
|
|
32
|
+
position?: AnchorPosition | "auto";
|
|
29
33
|
/**
|
|
30
|
-
*
|
|
34
|
+
* Specifies how to align the tooltip relative to the parent element.
|
|
35
|
+
* This is applicable only for top and bottom positioning.
|
|
31
36
|
*/
|
|
32
|
-
alignment?:
|
|
37
|
+
alignment?: OpenAlignment | "auto";
|
|
33
38
|
/**
|
|
34
39
|
* If `true`, the tooltip will match the width of the parent/slot element.
|
|
35
40
|
*/
|
|
36
41
|
fitParent?: boolean;
|
|
37
42
|
/**
|
|
38
|
-
*
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
* Whether the tooltip is currently open/visible. If unset, the state will be managed internally.
|
|
44
|
+
*/
|
|
45
|
+
open?: Nullable<boolean>;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the tooltip is triggered on hover or click. Can also be an object with additional options.
|
|
48
|
+
*
|
|
49
|
+
* - hover: tooltip - describes the associated element
|
|
50
|
+
* - click: toggletip - gives additional information about in the current context
|
|
42
51
|
*
|
|
43
52
|
* The "toggletip" is implemented using an aria-live region.
|
|
44
53
|
* See also: https://inclusive-components.design/tooltips-toggletips/
|
|
45
54
|
*/
|
|
46
|
-
|
|
55
|
+
trigger?: TooltipTrigger;
|
|
56
|
+
/**
|
|
57
|
+
* Determines whether the tooltip aligns with the edge of the parent element,
|
|
58
|
+
* depending on the specified alignment.
|
|
59
|
+
*/
|
|
60
|
+
alignsWithEdge?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Determines whether the tooltip should be rendered without a wedge (triangle).
|
|
63
|
+
*/
|
|
64
|
+
withoutWedge?: boolean;
|
|
47
65
|
};
|
|
48
|
-
export
|
|
49
|
-
export type TooltipPosition = (typeof TOOLTIP_POSITIONS)[number];
|
|
50
|
-
export type TooltipOpen = "hover" | "click" | boolean | ({
|
|
66
|
+
export type TooltipTrigger = "hover" | "click" | ({
|
|
51
67
|
type: "hover";
|
|
52
68
|
} & Partial<TooltipOptions>) | ({
|
|
53
69
|
type: "click";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { OnyxVisuallyHiddenProps } from './types.js';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: Readonly<{
|
|
@@ -16,9 +16,9 @@ declare function __VLS_template(): {
|
|
|
16
16
|
rootEl: any;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import(
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxVisuallyHiddenProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxVisuallyHiddenProps> & Readonly<{}>, {
|
|
20
20
|
is: string;
|
|
21
|
-
}, {}, {}, {}, string, import(
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
24
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
"dark"?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:dark": (value: boolean) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
+
"onUpdate:dark"?: ((value: boolean) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { OnyxFileUploadSVGProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxFileUploadSVGProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxFileUploadSVGProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
3
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { SelectOptionValue } from '../types/index.js';
|
|
3
3
|
export declare const useCheckAll: <TValue extends SelectOptionValue = SelectOptionValue>(enabledOptionValues: Ref<TValue[]>, modelValue: Ref<TValue[]>, onChangeCallback: (newValue: TValue[]) => void) => {
|
|
4
4
|
/**
|
|
5
5
|
* Current "select all" checkbox state.
|
|
@@ -7,7 +7,7 @@ export declare const useCheckAll: <TValue extends SelectOptionValue = SelectOpti
|
|
|
7
7
|
* - indeterminate if at least one but not all options are checked
|
|
8
8
|
* - unchecked if no options are checked
|
|
9
9
|
*/
|
|
10
|
-
state: import(
|
|
10
|
+
state: import('vue').ComputedRef<{
|
|
11
11
|
modelValue: boolean;
|
|
12
12
|
indeterminate: true | undefined;
|
|
13
13
|
}>;
|
|
@@ -1,26 +1,20 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
export declare const RequiredMarkerTypes: readonly ["optional", "required"];
|
|
2
3
|
export type RequiredMarkerType = (typeof RequiredMarkerTypes)[number];
|
|
3
|
-
export type
|
|
4
|
+
export type RequiredProp = {
|
|
4
5
|
/**
|
|
5
6
|
* Whether the a value for this form element is required.
|
|
6
7
|
*/
|
|
7
8
|
required?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Required mode: `optional` will show an `(optional)` text after the label for optional inputs.
|
|
10
|
-
* `required` will show an `*` indicator for required inputs after the label instead.
|
|
11
|
-
* No marker will be visible if the label is hidden.
|
|
12
|
-
* @default undefined By default the parents setting is used, if none is defined on any `required` is the default.
|
|
13
|
-
*/
|
|
14
|
-
requiredMarker?: RequiredMarkerType;
|
|
15
9
|
};
|
|
16
|
-
export declare const useRequired: (props:
|
|
10
|
+
export declare const useRequired: (props: RequiredProp, requiredMarker: Readonly<Ref<RequiredMarkerType>>) => {
|
|
17
11
|
/**
|
|
18
12
|
* Class that configures which type of required marker is used.
|
|
19
13
|
*/
|
|
20
|
-
requiredTypeClass: import(
|
|
21
|
-
[x: string]:
|
|
14
|
+
requiredTypeClass: import('vue').ComputedRef<{
|
|
15
|
+
[x: string]: boolean;
|
|
22
16
|
}>;
|
|
23
|
-
requiredMarkerClass: import(
|
|
17
|
+
requiredMarkerClass: import('vue').ComputedRef<{
|
|
24
18
|
"onyx-required-marker": boolean | undefined;
|
|
25
19
|
"onyx-optional-marker": boolean;
|
|
26
20
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MaybeRef, Ref } from 'vue';
|
|
2
2
|
export type UseScrollEndOptions = {
|
|
3
3
|
/**
|
|
4
4
|
* Whether the scroll container is currently loading. Will pause scroll listeners if `true`.
|
|
@@ -24,5 +24,5 @@ export declare const useScrollEnd: (options: UseScrollEndOptions) => {
|
|
|
24
24
|
vScrollEnd: {
|
|
25
25
|
mounted: (el: Pick<HTMLElement, "addEventListener" | "removeEventListener">) => void;
|
|
26
26
|
};
|
|
27
|
-
isScrollEnd: Ref<boolean, boolean
|
|
27
|
+
isScrollEnd: Readonly<Ref<boolean, boolean>>;
|
|
28
28
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { ColorSchemeValue } from '../components/OnyxNavBar/modules/index.js';
|
|
3
3
|
export declare const useThemeTransition: (theme: Ref<ColorSchemeValue>) => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MaybeRefOrGetter, Ref } from 'vue';
|
|
2
|
+
import { OpenAlignment } from './useOpenAlignment.js';
|
|
3
|
+
import { VueTemplateRefElement } from './useResizeObserver.js';
|
|
4
|
+
export type AnchorPosition = "top" | "top right" | "top left" | "right" | "bottom" | "bottom right" | "bottom left" | "left";
|
|
5
|
+
type UseAnchorPositionPolyfillOptions = {
|
|
6
|
+
positionedRef: Ref<VueTemplateRefElement>;
|
|
7
|
+
targetRef: Ref<VueTemplateRefElement>;
|
|
8
|
+
positionArea: MaybeRefOrGetter<AnchorPosition>;
|
|
9
|
+
alignment: MaybeRefOrGetter<OpenAlignment>;
|
|
10
|
+
alignsWithEdge: MaybeRefOrGetter<boolean>;
|
|
11
|
+
fitParent: MaybeRefOrGetter<boolean>;
|
|
12
|
+
offset?: number;
|
|
13
|
+
};
|
|
14
|
+
export declare const useAnchorPositionPolyfill: ({ positionedRef, targetRef, positionArea, alignment, alignsWithEdge, fitParent, offset, }: UseAnchorPositionPolyfillOptions) => {
|
|
15
|
+
leftPosition: Ref<string, string>;
|
|
16
|
+
topPosition: Ref<string, string>;
|
|
17
|
+
updateAnchorPositionPolyfill: () => void;
|
|
18
|
+
useragentSupportsAnchorApi: Ref<boolean, boolean>;
|
|
19
|
+
};
|
|
20
|
+
export {};
|