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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { OnyxColor } from '../../types/colors.js';
|
|
2
2
|
export type OnyxIconProps = IconSizeProp & {
|
|
3
3
|
/**
|
|
4
4
|
* SVG source of the icon. **Important**: Only provide trustworthy content, the SVG content will
|
|
@@ -9,6 +9,10 @@ export type OnyxIconProps = IconSizeProp & {
|
|
|
9
9
|
* Icon color.
|
|
10
10
|
*/
|
|
11
11
|
color?: OnyxColor | "currentColor";
|
|
12
|
+
/**
|
|
13
|
+
* In inline mode the icon will adapt to the font-size and align itself according to the line-height.
|
|
14
|
+
*/
|
|
15
|
+
inline?: boolean;
|
|
12
16
|
};
|
|
13
17
|
export declare const ICON_SIZES: readonly ["12px", "16px", "24px", "32px", "48px", "64px", "96px"];
|
|
14
18
|
export type IconSize = (typeof ICON_SIZES)[number];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnyxIconButtonProps } from './types.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/** Slot for an custom icon. Will have no effect if property `icon` is passed. */
|
|
6
|
+
default(): unknown;
|
|
7
|
+
}> & {
|
|
8
|
+
/** Slot for an custom icon. Will have no effect if property `icon` is passed. */
|
|
9
|
+
default(): unknown;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxIconButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxIconButtonProps> & Readonly<{}>, {
|
|
16
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
17
|
+
disabled: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
18
|
+
type: import('../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
19
|
+
color: import('../OnyxButton/types.js', { with: { "resolution-mode": "import" } }).ButtonColor;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
export type OnyxIconButtonProps = DensityProp & AutofocusProp & {
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { SkeletonInjected } from '../../composables/useSkeletonState.js';
|
|
3
|
+
import { AutofocusProp } from '../../types/index.js';
|
|
4
|
+
import { ButtonColor, ButtonType, OnyxButtonProps } from '../OnyxButton/types.js';
|
|
5
|
+
import { FormInjected } from '../OnyxForm/OnyxForm.core.js';
|
|
6
|
+
export type OnyxIconButtonProps = DensityProp & AutofocusProp & Pick<OnyxButtonProps, "link"> & {
|
|
7
7
|
/**
|
|
8
8
|
* The aria-label of the button.
|
|
9
9
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { OnyxImageProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxImageProps> & Readonly<{}>, {
|
|
3
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
4
|
+
loading: import('./types.js', { with: { "resolution-mode": "import" } }).ImageLoading;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { SkeletonInjected } from '../../composables/useSkeletonState.js';
|
|
2
|
+
export type OnyxImageProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Image URL to show.
|
|
5
|
+
* You can pass different images for light and dark mode.
|
|
6
|
+
*/
|
|
7
|
+
src: string | {
|
|
8
|
+
light: string;
|
|
9
|
+
dark: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* (Descriptive) Text that can replace the image, e.g. if it can not be loaded.
|
|
13
|
+
* Can be set to an empty string if the image is only used for decoration and NOT a key part of the content.
|
|
14
|
+
*/
|
|
15
|
+
alt: string;
|
|
16
|
+
/**
|
|
17
|
+
* Width of the image in pixels. Can be customized via CSS to e.g. use 100% of the available width.
|
|
18
|
+
* Will be used by the browser to reserve space while the image is loading and is recommended to prevent a layout shift.
|
|
19
|
+
*/
|
|
20
|
+
width: number;
|
|
21
|
+
/**
|
|
22
|
+
* Height of the image in pixels. Can be customized via CSS to e.g. use 100% of the available height.
|
|
23
|
+
* Will be used by the browser to reserve space while the image is loading and is recommended to prevent a layout shift.
|
|
24
|
+
*/
|
|
25
|
+
height: number;
|
|
26
|
+
/**
|
|
27
|
+
* Defines how the image should be loaded.
|
|
28
|
+
* - lazy: Defers loading until the image reaches a browser-defined distance from the viewport
|
|
29
|
+
* - eager: Immediately loads the image, regardless of whether its currently in the visible viewport
|
|
30
|
+
*/
|
|
31
|
+
loading?: ImageLoading;
|
|
32
|
+
/**
|
|
33
|
+
* Image border shape. If unset, the original image shape will be used.
|
|
34
|
+
*/
|
|
35
|
+
shape?: ImageShape;
|
|
36
|
+
/**
|
|
37
|
+
* Whether to show a skeleton image.
|
|
38
|
+
*/
|
|
39
|
+
skeleton?: SkeletonInjected;
|
|
40
|
+
};
|
|
41
|
+
export type ImageLoading = "eager" | "lazy";
|
|
42
|
+
export declare const IMAGE_SHAPES: readonly ["rounded", "circle", "clip", "clip-inverted"];
|
|
43
|
+
export type ImageShape = (typeof IMAGE_SHAPES)[number];
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { OnyxInfoCardProps } from './types.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/**
|
|
6
|
+
* Slot to provide description / further information.
|
|
7
|
+
*/
|
|
8
|
+
default?(): unknown;
|
|
9
|
+
/**
|
|
10
|
+
* Slot to provide optional buttons/actions.
|
|
11
|
+
*/
|
|
12
|
+
buttons?(): unknown;
|
|
13
|
+
}> & {
|
|
14
|
+
/**
|
|
15
|
+
* Slot to provide description / further information.
|
|
16
|
+
*/
|
|
17
|
+
default?(): unknown;
|
|
18
|
+
/**
|
|
19
|
+
* Slot to provide optional buttons/actions.
|
|
20
|
+
*/
|
|
21
|
+
buttons?(): unknown;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxInfoCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
close: () => any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<OnyxInfoCardProps> & Readonly<{
|
|
30
|
+
onClose?: (() => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
icon: string | false;
|
|
33
|
+
color: import('../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor;
|
|
34
|
+
closable: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { OnyxColor } from '../../types/index.js';
|
|
3
|
+
export type OnyxInfoCardProps = DensityProp & {
|
|
4
|
+
/**
|
|
5
|
+
* Card headline.
|
|
6
|
+
*/
|
|
7
|
+
headline?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Card color.
|
|
10
|
+
*/
|
|
11
|
+
color?: OnyxColor;
|
|
12
|
+
/**
|
|
13
|
+
* Icon to display. If unset, a default icon will be displayed.
|
|
14
|
+
* Can be set to `false` to hide the icon.
|
|
15
|
+
*/
|
|
16
|
+
icon?: string | false;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the info card can be closed. Will show an "x" icon.
|
|
19
|
+
*/
|
|
20
|
+
closable?: boolean;
|
|
21
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Nullable } from '../../types/utils.js';
|
|
2
|
+
import { OnyxInfoTooltipProps } from './types.js';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<OnyxInfoTooltipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
"update:open": (open: Nullable<boolean>) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<OnyxInfoTooltipProps> & Readonly<{
|
|
6
|
+
"onUpdate:open"?: ((open: Nullable<boolean>) => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
open: boolean | null;
|
|
9
|
+
color: Extract<import('../../index.js', { with: { "resolution-mode": "import" } }).OnyxColor, "neutral" | "danger" | "success">;
|
|
10
|
+
trigger: import('../OnyxTooltip/types.js', { with: { "resolution-mode": "import" } }).TooltipTrigger;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
12
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export type OnyxInfoTooltipProps = Required<Pick<OnyxTooltipProps, "text">> &
|
|
1
|
+
import { OnyxTooltipProps } from '../OnyxTooltip/types.js';
|
|
2
|
+
export type OnyxInfoTooltipProps = Required<Pick<OnyxTooltipProps, "text">> & Omit<OnyxTooltipProps, "text" | "fitParent">;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { OnyxInputProps } from './types.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
/**
|
|
6
|
+
* Inline content rendered before the actual input area.
|
|
7
|
+
* Careful when using this slot, as it will shrink the space of the input.
|
|
8
|
+
*/
|
|
9
|
+
leading?(): unknown;
|
|
10
|
+
/**
|
|
11
|
+
* Inline content rendered after the actual input area.
|
|
12
|
+
* Careful when using this slot, as it will shrink the space of the input.
|
|
13
|
+
*/
|
|
14
|
+
trailing?(): unknown;
|
|
15
|
+
}> & {
|
|
16
|
+
/**
|
|
17
|
+
* Inline content rendered before the actual input area.
|
|
18
|
+
* Careful when using this slot, as it will shrink the space of the input.
|
|
19
|
+
*/
|
|
20
|
+
leading?(): unknown;
|
|
21
|
+
/**
|
|
22
|
+
* Inline content rendered after the actual input area.
|
|
23
|
+
* Careful when using this slot, as it will shrink the space of the input.
|
|
24
|
+
*/
|
|
25
|
+
trailing?(): unknown;
|
|
26
|
+
};
|
|
27
|
+
refs: {
|
|
28
|
+
inputRef: HTMLInputElement;
|
|
29
|
+
};
|
|
30
|
+
rootEl: any;
|
|
31
|
+
};
|
|
32
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
33
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxInputProps, {
|
|
34
|
+
input: Readonly<import('vue').ShallowRef<HTMLInputElement | null>>;
|
|
35
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
|
+
validityChange: (validity: ValidityState) => any;
|
|
37
|
+
"update:modelValue": (value: string) => any;
|
|
38
|
+
}, string, import('vue').PublicProps, Readonly<OnyxInputProps> & Readonly<{
|
|
39
|
+
onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
40
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
skeleton: import('../../composables/useSkeletonState.js', { with: { "resolution-mode": "import" } }).SkeletonInjected;
|
|
43
|
+
required: boolean;
|
|
44
|
+
disabled: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<boolean>;
|
|
45
|
+
showError: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/useErrorClass.js', { with: { "resolution-mode": "import" } }).ShowErrorMode>;
|
|
46
|
+
requiredMarker: import('../OnyxForm/OnyxForm.core.js', { with: { "resolution-mode": "import" } }).FormInjected<import('../../composables/required.js', { with: { "resolution-mode": "import" } }).RequiredMarkerType>;
|
|
47
|
+
readonly: boolean;
|
|
48
|
+
loading: boolean;
|
|
49
|
+
autocapitalize: import('../../composables/useLenientMaxLengthValidation.js', { with: { "resolution-mode": "import" } }).Autocapitalize;
|
|
50
|
+
type: import('./types.js', { with: { "resolution-mode": "import" } }).InputType;
|
|
51
|
+
hideSuccessIcon: boolean;
|
|
52
|
+
hideClearIcon: boolean;
|
|
53
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
54
|
+
inputRef: HTMLInputElement;
|
|
55
|
+
}, any>;
|
|
56
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -1,52 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import type { SkeletonInjected } from "../../composables/useSkeletonState";
|
|
5
|
-
import type { AutofocusProp } from "../../types";
|
|
6
|
-
import type { FormInjectedProps } from "../OnyxForm/OnyxForm.core";
|
|
7
|
-
import type { SharedFormElementProps } from "../OnyxFormElement/types";
|
|
8
|
-
export type OnyxInputProps = FormInjectedProps & DensityProp & RequiredMarkerProp & CustomValidityProp & Omit<SharedFormElementProps, "modelValue" | "errorMessages"> & AutofocusProp & {
|
|
9
|
-
/**
|
|
10
|
-
* Current value of the input.
|
|
11
|
-
*/
|
|
12
|
-
modelValue?: string;
|
|
1
|
+
import { SharedTextInputProps } from '../../composables/useLenientMaxLengthValidation.js';
|
|
2
|
+
import { SharedFormElementProps } from '../OnyxFormElement/types.js';
|
|
3
|
+
export type OnyxInputProps = SharedFormElementProps & SharedTextInputProps & {
|
|
13
4
|
/**
|
|
14
5
|
* Input type.
|
|
6
|
+
* For numeric inputs, we recommend using the [OnyxStepper](https://storybook.onyx.schwarz/?path=/docs/form-elements-stepper--docs).
|
|
7
|
+
* For date inputs, refer to the [OnyxDatePicker](https://storybook.onyx.schwarz/?path=/docs/form-elements-datepicker--docs).
|
|
15
8
|
*/
|
|
16
9
|
type?: InputType;
|
|
17
|
-
/**
|
|
18
|
-
* Placeholder to show when the value is empty.
|
|
19
|
-
*/
|
|
20
|
-
placeholder?: string;
|
|
21
|
-
/**
|
|
22
|
-
* If and how text should be automatically be capitalized when using non-physical keyboards
|
|
23
|
-
* (such as virtual keyboard on mobile devices or voice input).
|
|
24
|
-
*
|
|
25
|
-
* Has no effect when `type` is set to "url", "email" or "password".
|
|
26
|
-
*
|
|
27
|
-
* @see [MDN autocapitalize](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize)
|
|
28
|
-
*/
|
|
29
|
-
autocapitalize?: Autocapitalize;
|
|
30
|
-
/**
|
|
31
|
-
* Specify how to provide automated assistance in filling out the input.
|
|
32
|
-
* Some autocomplete values might required specific browser permissions to be allowed by the user.
|
|
33
|
-
* Also browsers might require a `name` property.
|
|
34
|
-
*
|
|
35
|
-
* @see [MDN autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
|
36
|
-
*/
|
|
37
|
-
autocomplete?: Autocomplete;
|
|
38
10
|
/**
|
|
39
11
|
* Pattern the value must match to be valid.
|
|
40
12
|
*/
|
|
41
13
|
pattern?: string | RegExp;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the input should be readonly.
|
|
44
|
-
*/
|
|
45
|
-
readonly?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Whether the input is loading. User interaction will be disabled.
|
|
48
|
-
*/
|
|
49
|
-
loading?: boolean;
|
|
50
14
|
/**
|
|
51
15
|
* Whether to hide the check icon when the input is in a success state.
|
|
52
16
|
*/
|
|
@@ -55,29 +19,6 @@ export type OnyxInputProps = FormInjectedProps & DensityProp & RequiredMarkerPro
|
|
|
55
19
|
* Whether to hide the clear icon when the input is filled and focused.
|
|
56
20
|
*/
|
|
57
21
|
hideClearIcon?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Minimum number of characters that have to to be entered.
|
|
60
|
-
* Warning: when the value is (pre)set programmatically,
|
|
61
|
-
* the input invalidity will not be detected by the browser, it will only turn invalid
|
|
62
|
-
* as soon as a user interacts with the input (types something).
|
|
63
|
-
*/
|
|
64
|
-
minlength?: number;
|
|
65
|
-
/**
|
|
66
|
-
* Whether to show a skeleton input.
|
|
67
|
-
*/
|
|
68
|
-
skeleton?: SkeletonInjected;
|
|
69
22
|
};
|
|
70
23
|
export declare const INPUT_TYPES: readonly ["email", "password", "search", "tel", "text", "url"];
|
|
71
24
|
export type InputType = (typeof INPUT_TYPES)[number];
|
|
72
|
-
/**
|
|
73
|
-
* @see [MDN autocapitalize](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize)
|
|
74
|
-
*/
|
|
75
|
-
export declare const AUTOCAPITALIZE: readonly ["none", "sentences", "words", "characters"];
|
|
76
|
-
export type Autocapitalize = (typeof AUTOCAPITALIZE)[number];
|
|
77
|
-
/**
|
|
78
|
-
* Same as TypeScript native "Autofill" type but without "AutoFillSection" because
|
|
79
|
-
* the Vue compiler currently can not handle it (too complex union type).
|
|
80
|
-
*
|
|
81
|
-
* @since TypeScript version 5.2
|
|
82
|
-
*/
|
|
83
|
-
export type Autocomplete = Exclude<AutoFill, AutoFillSection | "">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { OnyxLinkProps } 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: HTMLAnchorElement;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import(
|
|
20
|
-
target: import("
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxLinkProps> & Readonly<{}>, {
|
|
20
|
+
target: import('../../index.js', { with: { "resolution-mode": "import" } }).LinkTarget;
|
|
21
21
|
withExternalIcon: boolean | "auto";
|
|
22
|
-
}, {}, {}, {}, string, import(
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
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,10 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* Where to display the linked URL (same tab, new tab etc.).
|
|
5
|
-
* For `_blank`, the `rel="noreferrer"` will be set automatically.
|
|
6
|
-
*/
|
|
7
|
-
target?: LinkTarget;
|
|
8
|
-
};
|
|
9
|
-
export declare const LINK_TARGETS: readonly ["_self", "_blank", "_parent", "_top"];
|
|
10
|
-
export type LinkTarget = (typeof LINK_TARGETS)[number];
|
|
1
|
+
import { OnyxExternalLinkIconProps } from '../OnyxExternalLinkIcon/types.js';
|
|
2
|
+
import { SharedLinkProps } from '../OnyxRouterLink/types.js';
|
|
3
|
+
export type OnyxLinkProps = OnyxExternalLinkIconProps & SharedLinkProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { OnyxListItemProps } from './types.js';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: Readonly<{
|
|
@@ -16,12 +16,12 @@ declare function __VLS_template(): {
|
|
|
16
16
|
rootEl: HTMLLIElement;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import(
|
|
20
|
-
active: boolean;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxListItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxListItemProps> & Readonly<{}>, {
|
|
21
20
|
disabled: boolean;
|
|
22
21
|
checked: boolean;
|
|
23
22
|
selected: boolean;
|
|
24
|
-
|
|
23
|
+
active: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
26
|
export default _default;
|
|
27
27
|
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/index.js';
|
|
3
3
|
export type OnyxListItemProps = DensityProp & {
|
|
4
4
|
/**
|
|
5
5
|
* Whether the option is currently selected (if the content includes interactive components like a checkbox, use `checked` instead).
|
|
@@ -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,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, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { OnyxLoadingIndicatorProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxLoadingIndicatorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OnyxLoadingIndicatorProps> & Readonly<{}>, {
|
|
3
|
+
type: "circle" | "dots";
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnyxMiniSearchProps } from './types.js';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OnyxMiniSearchProps, {
|
|
3
|
+
/**
|
|
4
|
+
* Focuses the input.
|
|
5
|
+
*/
|
|
6
|
+
focus: () => void | undefined;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
clear: () => any;
|
|
9
|
+
"update:modelValue": (value: string) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<OnyxMiniSearchProps> & Readonly<{
|
|
11
|
+
onClear?: (() => any) | undefined;
|
|
12
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
inputRef: HTMLInputElement;
|
|
15
|
+
}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { DensityProp } from '../../composables/density.js';
|
|
2
|
+
import { Nullable } from '../../types/index.js';
|
|
2
3
|
export type OnyxMiniSearchProps = DensityProp & {
|
|
3
4
|
/**
|
|
4
5
|
* (Aria) label of the input.
|
|
5
6
|
*/
|
|
6
7
|
label: string;
|
|
8
|
+
autofocus?: boolean;
|
|
7
9
|
/**
|
|
8
|
-
* Current
|
|
10
|
+
* Current search input.
|
|
9
11
|
*/
|
|
10
|
-
modelValue?: string
|
|
12
|
+
modelValue?: Nullable<string>;
|
|
11
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { OnyxMobileNavButtonProps } from './types.js';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: Readonly<{
|
|
@@ -16,13 +16,13 @@ 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(
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxMobileNavButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
20
|
"update:open": (isOpen: boolean) => any;
|
|
21
|
-
}, string, import(
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<OnyxMobileNavButtonProps> & Readonly<{
|
|
22
22
|
"onUpdate:open"?: ((isOpen: boolean) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
24
|
open: boolean;
|
|
25
|
-
}, {}, {}, {}, string, import(
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
27
|
export default _default;
|
|
28
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Nullable } from '../../types/index.js';
|
|
2
|
+
import { OnyxModalProps } from './types.js';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<{
|
|
6
|
+
/**
|
|
7
|
+
* Dialog 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<OnyxModalProps, "label">): unknown;
|
|
15
|
+
/**
|
|
16
|
+
* Optional slot to add custom content, e.g. a description to the dialog header (below the headline).
|
|
17
|
+
*/
|
|
18
|
+
description?(): unknown;
|
|
19
|
+
/**
|
|
20
|
+
* Optional footer slot to e.g. show action buttons (see OnyxBottomBar component).
|
|
21
|
+
*/
|
|
22
|
+
footer?(): unknown;
|
|
23
|
+
}> & {
|
|
24
|
+
/**
|
|
25
|
+
* Dialog content.
|
|
26
|
+
*/
|
|
27
|
+
default(): unknown;
|
|
28
|
+
/**
|
|
29
|
+
* Optional slot to override the headline with custom content.
|
|
30
|
+
* If unset, the `label` property will be shown.
|
|
31
|
+
*/
|
|
32
|
+
headline?(bindings: Pick<OnyxModalProps, "label">): unknown;
|
|
33
|
+
/**
|
|
34
|
+
* Optional slot to add custom content, e.g. a description to the dialog header (below the headline).
|
|
35
|
+
*/
|
|
36
|
+
description?(): unknown;
|
|
37
|
+
/**
|
|
38
|
+
* Optional footer slot to e.g. show action buttons (see OnyxBottomBar component).
|
|
39
|
+
*/
|
|
40
|
+
footer?(): unknown;
|
|
41
|
+
};
|
|
42
|
+
refs: {};
|
|
43
|
+
rootEl: any;
|
|
44
|
+
};
|
|
45
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
46
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
|
+
"update:open": (open: Nullable<boolean>) => any;
|
|
48
|
+
}, string, import('vue').PublicProps, Readonly<OnyxModalProps> & Readonly<{
|
|
49
|
+
"onUpdate:open"?: ((open: Nullable<boolean>) => any) | undefined;
|
|
50
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
51
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { MoreListSlotBindings, OnyxMoreListProps } from './types.js';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: Readonly<{
|
|
@@ -29,16 +29,21 @@ declare function __VLS_template(): {
|
|
|
29
29
|
}): unknown;
|
|
30
30
|
};
|
|
31
31
|
refs: {
|
|
32
|
-
|
|
32
|
+
parentRefEl: unknown;
|
|
33
33
|
};
|
|
34
|
-
rootEl:
|
|
34
|
+
rootEl: any;
|
|
35
35
|
};
|
|
36
36
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
|
-
declare const __VLS_component: import(
|
|
37
|
+
declare const __VLS_component: import('vue').DefineComponent<OnyxMoreListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
38
|
visibilityChange: (args_0: MoreListSlotBindings) => any;
|
|
39
|
-
}, string, import(
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<OnyxMoreListProps> & Readonly<{
|
|
40
40
|
onVisibilityChange?: ((args_0: MoreListSlotBindings) => any) | undefined;
|
|
41
|
-
}>, {
|
|
41
|
+
}>, {
|
|
42
|
+
is: import('vue').Component | string;
|
|
43
|
+
direction: "rtl" | "ltr";
|
|
44
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
45
|
+
parentRefEl: unknown;
|
|
46
|
+
}, any>;
|
|
42
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
48
|
export default _default;
|
|
44
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { MoreListInjectionKey } from '../../composables/useMoreList.js';
|
|
2
3
|
export type OnyxMoreListProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Injection key to use. Must match the one used in the child components.
|
|
5
6
|
* Will not be reactive so it must not be changed.
|
|
6
7
|
*/
|
|
7
8
|
injectionKey: MoreListInjectionKey;
|
|
9
|
+
/**
|
|
10
|
+
* What the component should render as. Defaults to `div`.
|
|
11
|
+
*/
|
|
12
|
+
is?: Component | string;
|
|
13
|
+
/**
|
|
14
|
+
* From which direction the more list items should be collapsed. Defaults to `rtl`.
|
|
15
|
+
*/
|
|
16
|
+
direction?: "rtl" | "ltr";
|
|
8
17
|
};
|
|
9
18
|
export type MoreListSlotBindings = {
|
|
10
19
|
/**
|
|
11
20
|
* Number of currently fully visible elements.
|
|
12
21
|
*/
|
|
13
|
-
visibleElements
|
|
22
|
+
visibleElements?: number;
|
|
14
23
|
/**
|
|
15
24
|
* Number of currently completely or partially hidden elements.
|
|
16
25
|
*/
|
|
17
|
-
hiddenElements
|
|
26
|
+
hiddenElements?: number;
|
|
18
27
|
};
|