sit-onyx 1.0.0-beta.26 → 1.0.0-beta.260

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.
Files changed (371) hide show
  1. package/README.md +1 -5
  2. package/dist/a11yConfig.d.ts +1 -0
  3. package/dist/components/OnyxAccordion/OnyxAccordion.vue.d.ts +22 -0
  4. package/dist/components/{OnyxLoadingIndicator/CircleSpinner.vue.d.ts → OnyxAccordion/examples/NestedLargeExample.vue.d.ts} +1 -1
  5. package/dist/components/{OnyxLoadingIndicator/LoadingDots.vue.d.ts → OnyxAccordion/examples/NestedSmallExample.vue.d.ts} +1 -1
  6. package/dist/components/OnyxAccordion/types.d.ts +45 -0
  7. package/dist/components/OnyxAccordionItem/OnyxAccordionItem.vue.d.ts +22 -0
  8. package/dist/components/OnyxAccordionItem/types.d.ts +17 -0
  9. package/dist/components/OnyxAlertDialog/OnyxAlertDialog.vue.d.ts +34 -0
  10. package/dist/components/{OnyxRipple/RippleTestWrapper.vue.d.ts → OnyxAlertDialog/examples/DefaultExample.vue.d.ts} +1 -1
  11. package/dist/components/OnyxAlertDialog/types.d.ts +8 -0
  12. package/dist/components/OnyxAppLayout/OnyxAppLayout.vue.d.ts +18 -42
  13. package/dist/components/{OnyxToast/PlaywrightTest.vue.d.ts → OnyxAppLayout/examples/DefaultExample.vue.d.ts} +1 -1
  14. package/dist/components/OnyxAppLayout/examples/LeftNavExample.vue.d.ts +2 -0
  15. package/dist/components/OnyxAppLayout/types.d.ts +3 -1
  16. package/dist/components/OnyxAvatar/OnyxAvatar.vue.d.ts +2 -40
  17. package/dist/components/OnyxAvatar/types.d.ts +15 -3
  18. package/dist/components/OnyxAvatarStack/OnyxAvatarStack.vue.d.ts +4 -9
  19. package/dist/components/OnyxBadge/OnyxBadge.vue.d.ts +6 -34
  20. package/dist/components/OnyxBottomBar/OnyxBottomBar.vue.d.ts +21 -0
  21. package/dist/components/OnyxBottomBar/types.d.ts +7 -0
  22. package/dist/components/OnyxBreadcrumb/OnyxBreadcrumb.vue.d.ts +17 -0
  23. package/dist/components/OnyxBreadcrumb/types.d.ts +28 -0
  24. package/dist/components/OnyxBreadcrumbItem/OnyxBreadcrumbItem.vue.d.ts +18 -0
  25. package/dist/components/OnyxBreadcrumbItem/types.d.ts +18 -0
  26. package/dist/components/OnyxButton/ButtonOrLinkLayout.vue.d.ts +18 -0
  27. package/dist/components/OnyxButton/OnyxButton.vue.d.ts +5 -40
  28. package/dist/components/OnyxButton/types.d.ts +10 -2
  29. package/dist/components/OnyxCard/OnyxCard.vue.d.ts +17 -0
  30. package/dist/components/OnyxCard/examples/DetailsCardExample.vue.d.ts +2 -0
  31. package/dist/components/OnyxCard/examples/HeadlineCardExample.vue.d.ts +2 -0
  32. package/dist/components/OnyxCard/examples/IconCardExample.vue.d.ts +2 -0
  33. package/dist/components/OnyxCard/examples/ImageCardExample.vue.d.ts +2 -0
  34. package/dist/components/OnyxCard/examples/KPICardExample.vue.d.ts +2 -0
  35. package/dist/components/OnyxCard/types.d.ts +8 -0
  36. package/dist/components/OnyxCheckbox/OnyxCheckbox.vue.d.ts +12 -15
  37. package/dist/components/OnyxCheckbox/types.d.ts +3 -5
  38. package/dist/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue.d.ts +12 -14
  39. package/dist/components/OnyxCheckboxGroup/types.d.ts +8 -20
  40. package/dist/components/OnyxDataGrid/OnyxDataGrid.vue.d.ts +16 -0
  41. package/dist/components/OnyxDataGrid/OnyxDataGridRenderer/OnyxDataGridRenderer.vue.d.ts +16 -0
  42. package/dist/components/OnyxDataGrid/OnyxDataGridRenderer/types.d.ts +106 -0
  43. package/dist/components/OnyxDataGrid/examples/AsyncExample.vue.d.ts +2 -0
  44. package/dist/components/OnyxDataGrid/examples/ButtonLoadingExample.vue.d.ts +2 -0
  45. package/dist/components/OnyxDataGrid/examples/CustomColumnTypes.vue.d.ts +2 -0
  46. package/dist/components/OnyxDataGrid/examples/CustomFeatureExample.vue.d.ts +2 -0
  47. package/dist/components/OnyxDataGrid/examples/DefaultExample.vue.d.ts +2 -0
  48. package/dist/components/OnyxDataGrid/examples/FilteringExample.vue.d.ts +2 -0
  49. package/dist/components/OnyxDataGrid/examples/HideColumnsExample.vue.d.ts +2 -0
  50. package/dist/components/OnyxDataGrid/examples/LazyLoadingExample.vue.d.ts +2 -0
  51. package/dist/components/OnyxDataGrid/examples/PaginationExample.vue.d.ts +2 -0
  52. package/dist/components/OnyxDataGrid/examples/ResizingExample.vue.d.ts +2 -0
  53. package/dist/components/OnyxDataGrid/examples/SelectionExample.vue.d.ts +2 -0
  54. package/dist/components/OnyxDataGrid/examples/SkeletonExample.vue.d.ts +2 -0
  55. package/dist/components/OnyxDataGrid/examples/SlotsExample.vue.d.ts +2 -0
  56. package/dist/components/OnyxDataGrid/examples/SortingExample.vue.d.ts +2 -0
  57. package/dist/components/OnyxDataGrid/examples/StickyColumnsExample.vue.d.ts +2 -0
  58. package/dist/components/OnyxDataGrid/features/HeaderCell.vue.d.ts +17 -0
  59. package/dist/components/OnyxDataGrid/features/all.d.ts +15 -0
  60. package/dist/components/OnyxDataGrid/features/base/base.d.ts +52 -0
  61. package/dist/components/OnyxDataGrid/features/base/types.d.ts +8 -0
  62. package/dist/components/OnyxDataGrid/features/filtering/TestCase.vue.d.ts +10 -0
  63. package/dist/components/OnyxDataGrid/features/filtering/filtering.d.ts +32 -0
  64. package/dist/components/OnyxDataGrid/features/filtering/types.d.ts +66 -0
  65. package/dist/components/OnyxDataGrid/features/hideColumns/TestCase.vue.d.ts +20 -0
  66. package/dist/components/OnyxDataGrid/features/hideColumns/hideColumns.d.ts +44 -0
  67. package/dist/components/OnyxDataGrid/features/hideColumns/types.d.ts +15 -0
  68. package/dist/components/OnyxDataGrid/features/index.d.ts +307 -0
  69. package/dist/components/OnyxDataGrid/features/pagination/pagination.d.ts +29 -0
  70. package/dist/components/OnyxDataGrid/features/pagination/types.d.ts +51 -0
  71. package/dist/components/OnyxDataGrid/features/renderer.d.ts +52 -0
  72. package/dist/components/OnyxDataGrid/features/resizing/TestCase.vue.d.ts +10 -0
  73. package/dist/components/OnyxDataGrid/features/resizing/resizing.d.ts +48 -0
  74. package/dist/components/OnyxDataGrid/features/resizing/types.d.ts +7 -0
  75. package/dist/components/OnyxDataGrid/features/selection/TestCase.vue.d.ts +21 -0
  76. package/dist/components/OnyxDataGrid/features/selection/selection.d.ts +18 -0
  77. package/dist/components/OnyxDataGrid/features/selection/types.d.ts +39 -0
  78. package/dist/components/OnyxDataGrid/features/sorting/SortAction.vue.d.ts +13 -0
  79. package/dist/components/OnyxDataGrid/features/sorting/TestCase.vue.d.ts +9 -0
  80. package/dist/components/OnyxDataGrid/features/sorting/sorting.d.ts +30 -0
  81. package/dist/components/OnyxDataGrid/features/sorting/types.d.ts +43 -0
  82. package/dist/components/OnyxDataGrid/features/stickyColumns/TestCase.vue.d.ts +10 -0
  83. package/dist/components/OnyxDataGrid/features/stickyColumns/stickyColumns.d.ts +14 -0
  84. package/dist/components/OnyxDataGrid/features/stickyColumns/types.d.ts +12 -0
  85. package/dist/components/OnyxDataGrid/types.d.ts +98 -0
  86. package/dist/components/OnyxDatePicker/OnyxDatePicker.vue.d.ts +18 -0
  87. package/dist/components/OnyxDatePicker/types.d.ts +24 -0
  88. package/dist/components/OnyxDialog/OnyxDialog.vue.d.ts +10 -41
  89. package/dist/components/OnyxDialog/examples/LeftAlignedExample.vue.d.ts +2 -0
  90. package/dist/components/OnyxDialog/examples/ModalExample.vue.d.ts +2 -0
  91. package/dist/components/OnyxDialog/examples/RightAlignedExample.vue.d.ts +2 -0
  92. package/dist/components/OnyxDialog/types.d.ts +6 -0
  93. package/dist/components/OnyxDrawer/OnyxDrawer.vue.d.ts +35 -0
  94. package/dist/components/OnyxDrawer/examples/DefaultExample.vue.d.ts +2 -0
  95. package/dist/components/OnyxDrawer/examples/RightAlignedExample.vue.d.ts +2 -0
  96. package/dist/components/OnyxDrawer/types.d.ts +14 -0
  97. package/dist/components/OnyxEmpty/OnyxEmpty.vue.d.ts +6 -20
  98. package/dist/components/OnyxErrorTooltip/OnyxErrorTooltip.vue.d.ts +26 -0
  99. package/dist/components/OnyxExternalLinkIcon/OnyxExternalLinkIcon.vue.d.ts +3 -24
  100. package/dist/components/OnyxExternalLinkIcon/types.d.ts +2 -5
  101. package/dist/components/OnyxFileUpload/OnyxFileUpload.vue.d.ts +16 -0
  102. package/dist/components/OnyxFileUpload/types.d.ts +64 -0
  103. package/dist/components/OnyxFilterTag/OnyxFilterTag.vue.d.ts +16 -0
  104. package/dist/components/OnyxForm/FormElementTestWrapper.vue.d.ts +13 -0
  105. package/dist/components/OnyxForm/OnyxForm.core.d.ts +99 -0
  106. package/dist/components/OnyxForm/OnyxForm.core.spec-d.d.ts +1 -0
  107. package/dist/components/OnyxForm/OnyxForm.vue.d.ts +18 -0
  108. package/dist/components/OnyxForm/examples/AdvancedExample.vue.d.ts +3 -0
  109. package/dist/components/OnyxForm/examples/DefaultExample.vue.d.ts +2 -0
  110. package/dist/components/OnyxForm/types.d.ts +4 -0
  111. package/dist/components/OnyxFormElement/FormMessage.vue.d.ts +13 -0
  112. package/dist/components/OnyxFormElement/OnyxFormElement.ct-utils.d.ts +1 -1
  113. package/dist/components/OnyxFormElement/OnyxFormElement.vue.d.ts +17 -41
  114. package/dist/components/OnyxFormElement/types.d.ts +37 -19
  115. package/dist/components/OnyxHeadline/OnyxHeadline.vue.d.ts +6 -18
  116. package/dist/components/OnyxHeadline/types.d.ts +18 -2
  117. package/dist/components/OnyxIcon/OnyxIcon.vue.d.ts +1 -10
  118. package/dist/components/OnyxIcon/types.d.ts +4 -0
  119. package/dist/components/OnyxIconButton/OnyxIconButton.vue.d.ts +9 -43
  120. package/dist/components/OnyxIconButton/types.d.ts +6 -4
  121. package/dist/components/OnyxImage/OnyxImage.vue.d.ts +6 -0
  122. package/dist/components/OnyxImage/types.d.ts +43 -0
  123. package/dist/components/OnyxInfoCard/OnyxInfoCard.vue.d.ts +27 -0
  124. package/dist/components/OnyxInfoCard/types.d.ts +21 -0
  125. package/dist/components/OnyxInfoTooltip/OnyxInfoTooltip.vue.d.ts +4 -27
  126. package/dist/components/OnyxInfoTooltip/types.d.ts +1 -1
  127. package/dist/components/OnyxInput/OnyxInput.vue.d.ts +35 -52
  128. package/dist/components/OnyxInput/types.d.ts +9 -67
  129. package/dist/components/OnyxLink/OnyxLink.vue.d.ts +6 -38
  130. package/dist/components/OnyxLink/types.d.ts +3 -10
  131. package/dist/components/OnyxListItem/OnyxListItem.vue.d.ts +5 -37
  132. package/dist/components/OnyxLoadingIndicator/OnyxCircleSpinner.vue.d.ts +2 -0
  133. package/dist/components/OnyxLoadingIndicator/OnyxLoadingDots.vue.d.ts +2 -0
  134. package/dist/components/OnyxLoadingIndicator/OnyxLoadingIndicator.vue.d.ts +2 -23
  135. package/dist/components/OnyxMiniSearch/OnyxMiniSearch.vue.d.ts +8 -16
  136. package/dist/components/OnyxMiniSearch/types.d.ts +4 -2
  137. package/dist/components/OnyxMobileNavButton/OnyxMobileNavButton.vue.d.ts +8 -34
  138. package/dist/components/OnyxMobileNavButton/types.d.ts +4 -0
  139. package/dist/components/OnyxModalDialog/OnyxModalDialog.vue.d.ts +32 -0
  140. package/dist/components/OnyxModalDialog/examples/DefaultExample.vue.d.ts +2 -0
  141. package/dist/components/OnyxModalDialog/types.d.ts +2 -0
  142. package/dist/components/OnyxMoreList/OnyxMoreList.vue.d.ts +29 -0
  143. package/dist/components/OnyxMoreList/types.d.ts +23 -0
  144. package/dist/components/OnyxNavAppArea/OnyxNavAppArea.vue.d.ts +6 -22
  145. package/dist/components/OnyxNavAppArea/types.d.ts +2 -1
  146. package/dist/components/OnyxNavBar/AsyncTestCase.vue.d.ts +2 -0
  147. package/dist/components/OnyxNavBar/OnyxNavBar.vue.d.ts +15 -62
  148. package/dist/components/OnyxNavBar/TestCase.vue.d.ts +3 -0
  149. package/dist/components/OnyxNavBar/modules/OnyxColorSchemeDialog/OnyxColorSchemeDialog.vue.d.ts +7 -28
  150. package/dist/components/OnyxNavBar/modules/OnyxColorSchemeDialog/types.d.ts +3 -3
  151. package/dist/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.vue.d.ts +4 -13
  152. package/dist/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue.d.ts +17 -36
  153. package/dist/components/OnyxNavBar/modules/OnyxFlyoutMenu/types.d.ts +16 -1
  154. package/dist/components/OnyxNavBar/modules/OnyxLanguageMenuItem/OnyxLanguageMenuItem.vue.d.ts +16 -0
  155. package/dist/components/OnyxNavBar/modules/OnyxLanguageMenuItem/types.d.ts +11 -0
  156. package/dist/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue.d.ts +19 -18
  157. package/dist/components/OnyxNavBar/modules/OnyxMenuItem/types.d.ts +13 -8
  158. package/dist/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue.d.ts +16 -35
  159. package/dist/components/OnyxNavBar/modules/OnyxNavItem/types.d.ts +19 -2
  160. package/dist/components/OnyxNavBar/modules/OnyxNavItemFacade/OnyxNavItemFacade.vue.d.ts +26 -0
  161. package/dist/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.vue.d.ts +9 -13
  162. package/dist/components/OnyxNavBar/modules/OnyxUserMenu/OnyxUserMenu.vue.d.ts +11 -30
  163. package/dist/components/OnyxNavBar/modules/OnyxUserMenu/UserMenuLayout.vue.d.ts +31 -23
  164. package/dist/components/OnyxNavBar/modules/OnyxUserMenu/types.d.ts +15 -3
  165. package/dist/components/OnyxNavBar/modules/index.d.ts +4 -4
  166. package/dist/components/OnyxNavBar/types.d.ts +27 -10
  167. package/dist/components/OnyxNotificationCard/OnyxNotificationCard.vue.d.ts +27 -0
  168. package/dist/components/OnyxNotificationCard/types.d.ts +25 -0
  169. package/dist/components/OnyxNotificationDot/OnyxNotificationDot.vue.d.ts +18 -0
  170. package/dist/components/OnyxNotificationDot/types.d.ts +11 -0
  171. package/dist/components/OnyxNotificationMessage/OnyxNotificationMessage.vue.d.ts +25 -0
  172. package/dist/components/OnyxNotificationMessage/types.d.ts +17 -0
  173. package/dist/components/OnyxNotifications/OnyxNotifications.vue.d.ts +2 -0
  174. package/dist/components/OnyxNotifications/examples/DefaultExample.vue.d.ts +2 -0
  175. package/dist/components/OnyxNotifications/useNotification.d.ts +60 -0
  176. package/dist/components/OnyxPageLayout/OnyxPageLayout.vue.d.ts +26 -23
  177. package/dist/components/OnyxPageLayout/examples/FooterExample.vue.d.ts +2 -0
  178. package/dist/components/OnyxPageLayout/examples/SidebarAndFooterExample.vue.d.ts +2 -0
  179. package/dist/components/OnyxPageLayout/examples/SidebarExample.vue.d.ts +2 -0
  180. package/dist/components/OnyxPageLayout/examples/SidebarRightExample.vue.d.ts +2 -0
  181. package/dist/components/OnyxPageLayout/examples/SidebarWithPageFooterExample.vue.d.ts +2 -0
  182. package/dist/components/OnyxPageLayout/examples/SkeletonExample.vue.d.ts +2 -0
  183. package/dist/components/OnyxPageLayout/types.d.ts +12 -8
  184. package/dist/components/OnyxPagination/OnyxPagination.vue.d.ts +10 -0
  185. package/dist/components/OnyxPagination/OnyxSelectPagination.vue.d.ts +9 -0
  186. package/dist/components/OnyxPagination/types.d.ts +20 -0
  187. package/dist/components/OnyxPopover/OnyxPopover.vue.d.ts +26 -0
  188. package/dist/components/OnyxPopover/OnyxPopoverTestCase.vue.d.ts +9 -0
  189. package/dist/components/OnyxPopover/types.d.ts +30 -0
  190. package/dist/components/OnyxProgressStep/OnyxProgressStep.vue.d.ts +6 -0
  191. package/dist/components/OnyxProgressStep/types.d.ts +31 -0
  192. package/dist/components/OnyxProgressSteps/OnyxProgressSteps.vue.d.ts +13 -0
  193. package/dist/components/OnyxProgressSteps/examples/DefaultExample.vue.d.ts +2 -0
  194. package/dist/components/OnyxProgressSteps/examples/SkeletonExample.vue.d.ts +2 -0
  195. package/dist/components/OnyxProgressSteps/examples/VerticalExample.vue.d.ts +2 -0
  196. package/dist/components/OnyxProgressSteps/types.d.ts +30 -0
  197. package/dist/components/OnyxRadioButton/OnyxRadioButton.vue.d.ts +11 -15
  198. package/dist/components/OnyxRadioButton/types.d.ts +2 -10
  199. package/dist/components/OnyxRadioGroup/OnyxRadioGroup.vue.d.ts +13 -16
  200. package/dist/components/OnyxRadioGroup/types.d.ts +6 -27
  201. package/dist/components/OnyxResizeHandle/OnyxResizeHandle.vue.d.ts +16 -0
  202. package/dist/components/OnyxResizeHandle/examples/DefaultExample.vue.d.ts +2 -0
  203. package/dist/components/OnyxResizeHandle/examples/LeftExample.vue.d.ts +2 -0
  204. package/dist/components/OnyxResizeHandle/types.d.ts +23 -0
  205. package/dist/components/OnyxRipple/OnyxRipple.vue.d.ts +1 -1
  206. package/dist/components/OnyxRouterLink/OnyxRouterLink.vue.d.ts +13 -0
  207. package/dist/components/OnyxRouterLink/types.d.ts +22 -0
  208. package/dist/components/OnyxSelect/OnyxSelect.vue.d.ts +18 -42
  209. package/dist/components/OnyxSelect/examples/CustomOptionsExample.vue.d.ts +2 -0
  210. package/dist/components/OnyxSelect/examples/CustomSearchExample.vue.d.ts +2 -0
  211. package/dist/components/OnyxSelect/examples/LazyLoadingExample.vue.d.ts +2 -0
  212. package/dist/components/OnyxSelect/examples/LoadMoreExample.vue.d.ts +2 -0
  213. package/dist/components/OnyxSelect/types.d.ts +37 -42
  214. package/dist/components/OnyxSelectDialog/OnyxSelectDialog.vue.d.ts +22 -0
  215. package/dist/components/OnyxSelectDialog/examples/DefaultExample.vue.d.ts +2 -0
  216. package/dist/components/OnyxSelectDialog/types.d.ts +30 -0
  217. package/dist/components/OnyxSelectInput/OnyxSelectInput.vue.d.ts +10 -15
  218. package/dist/components/OnyxSelectInput/types.d.ts +3 -26
  219. package/dist/components/OnyxSelectOption/OnyxSelectOption.vue.d.ts +6 -36
  220. package/dist/components/OnyxSeparator/OnyxSeparator.vue.d.ts +5 -0
  221. package/dist/components/OnyxSeparator/types.d.ts +7 -0
  222. package/dist/components/OnyxSidebar/OnyxSidebar.vue.d.ts +33 -0
  223. package/dist/components/OnyxSidebar/examples/DefaultExample.vue.d.ts +2 -0
  224. package/dist/components/OnyxSidebar/examples/DrawerExample.vue.d.ts +2 -0
  225. package/dist/components/OnyxSidebar/examples/GridExample.vue.d.ts +2 -0
  226. package/dist/components/OnyxSidebar/examples/ResizeExample.vue.d.ts +2 -0
  227. package/dist/components/OnyxSidebar/examples/RightExample.vue.d.ts +2 -0
  228. package/dist/components/OnyxSidebar/modules/OnyxSidebarItem/OnyxSidebarItem.vue.d.ts +17 -0
  229. package/dist/components/OnyxSidebar/modules/OnyxSidebarItem/types.d.ts +9 -0
  230. package/dist/components/OnyxSidebar/modules/index.d.ts +2 -0
  231. package/dist/components/OnyxSidebar/types.d.ts +25 -0
  232. package/dist/components/OnyxSkeleton/OnyxSkeleton.vue.d.ts +1 -1
  233. package/dist/components/OnyxStepper/OnyxStepper.vue.d.ts +16 -46
  234. package/dist/components/OnyxStepper/types.d.ts +26 -33
  235. package/dist/components/OnyxSwitch/OnyxSwitch.vue.d.ts +16 -40
  236. package/dist/components/OnyxSwitch/types.d.ts +3 -31
  237. package/dist/components/OnyxSystemButton/OnyxSystemButton.vue.d.ts +8 -0
  238. package/dist/components/OnyxSystemButton/examples/FlyoutMenuExample.vue.d.ts +2 -0
  239. package/dist/components/OnyxSystemButton/examples/TooltipExample.vue.d.ts +2 -0
  240. package/dist/components/OnyxSystemButton/types.d.ts +17 -0
  241. package/dist/components/OnyxTab/OnyxTab.vue.d.ts +22 -0
  242. package/dist/components/OnyxTab/types.d.ts +20 -0
  243. package/dist/components/OnyxTable/OnyxTable.vue.d.ts +6 -68
  244. package/dist/components/OnyxTable/examples/SkeletonExample.vue.d.ts +2 -0
  245. package/dist/components/OnyxTable/types.d.ts +65 -0
  246. package/dist/components/OnyxTabs/OnyxTabs.vue.d.ts +21 -0
  247. package/dist/components/OnyxTabs/types.d.ts +45 -0
  248. package/dist/components/OnyxTag/OnyxTag.vue.d.ts +4 -24
  249. package/dist/components/OnyxTag/types.d.ts +23 -0
  250. package/dist/components/OnyxTextarea/OnyxTextarea.vue.d.ts +16 -51
  251. package/dist/components/OnyxTextarea/types.d.ts +1 -4
  252. package/dist/components/OnyxToast/OnyxToast.vue.d.ts +1 -1
  253. package/dist/components/OnyxToast/examples/ToastExample.vue.d.ts +2 -0
  254. package/dist/components/OnyxToastMessage/OnyxToastMessage.vue.d.ts +6 -35
  255. package/dist/components/OnyxToastMessage/types.d.ts +2 -2
  256. package/dist/components/OnyxTooltip/OnyxTooltip.vue.d.ts +11 -51
  257. package/dist/components/OnyxTooltip/types.d.ts +18 -4
  258. package/dist/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue.d.ts +9 -27
  259. package/dist/components/examples/ComponentShowcase/ComponentShowcase.vue.d.ts +9 -0
  260. package/dist/components/examples/GridPlayground/EditGridElementDialog/EditGridElementDialog.vue.d.ts +27 -0
  261. package/dist/components/examples/GridPlayground/GridBadge/GridBadge.vue.d.ts +17 -0
  262. package/dist/components/examples/GridPlayground/GridElement/GridElement.vue.d.ts +27 -0
  263. package/dist/components/examples/GridPlayground/GridOverlay/GridOverlay.vue.d.ts +14 -0
  264. package/dist/components/examples/GridPlayground/GridPlayground.vue.d.ts +1 -26
  265. package/dist/components/examples/NotificationCenter/NotificationCenter.vue.d.ts +14 -0
  266. package/dist/components/illustrations/OnyxErrorSVG/OnyxErrorSVG.vue.d.ts +2 -0
  267. package/dist/components/illustrations/OnyxFileUploadSVG/OnyxFileUploadSVG.vue.d.ts +3 -0
  268. package/dist/components/illustrations/OnyxFileUploadSVG/types.d.ts +10 -0
  269. package/dist/components/illustrations/index.d.ts +3 -0
  270. package/dist/components/illustrations/playwright-utils.d.ts +5 -0
  271. package/dist/composables/AnimationTestCase.vue.d.ts +2 -0
  272. package/dist/composables/animation.d.ts +5 -0
  273. package/dist/composables/density.d.ts +1 -1
  274. package/dist/composables/required.d.ts +6 -12
  275. package/dist/composables/scrollEnd.d.ts +1 -1
  276. package/dist/composables/themeTransition.d.ts +3 -0
  277. package/dist/composables/useAnchorPositionPolyfill.d.ts +20 -0
  278. package/dist/composables/useAnchorPostionPolyfillTestCase.vue.d.ts +2 -0
  279. package/dist/composables/useAutoFocus.d.ts +5 -0
  280. package/dist/composables/useCustomValidity.d.ts +37 -28
  281. package/dist/composables/useErrorClass.d.ts +14 -0
  282. package/dist/composables/useIntersectionObserver.d.ts +25 -0
  283. package/dist/composables/useLenientMaxLengthValidation.ct-utils.d.ts +3 -0
  284. package/dist/composables/useLenientMaxLengthValidation.d.ts +93 -0
  285. package/dist/composables/useLink.d.ts +29 -0
  286. package/dist/composables/useLink.spec-d.d.ts +1 -0
  287. package/dist/composables/useMoreList.d.ts +117 -0
  288. package/dist/composables/useOpenAlignment.d.ts +13 -0
  289. package/dist/composables/useOpenDirection.d.ts +14 -0
  290. package/dist/composables/useRelativeTimeFormat.d.ts +23 -0
  291. package/dist/composables/useResizeObserver.d.ts +15 -1
  292. package/dist/composables/useRipple.d.ts +7 -11
  293. package/dist/composables/useSkeletonState.d.ts +61 -0
  294. package/dist/composables/useTimer.d.ts +1 -1
  295. package/dist/composables/useVModel.d.ts +34 -0
  296. package/dist/i18n/datetime-formats.d.ts +22 -0
  297. package/dist/i18n/index.d.ts +26 -6
  298. package/dist/i18n/locales/de-DE.json +211 -0
  299. package/dist/i18n/locales/en-US.json +211 -0
  300. package/dist/i18n/locales/ko-KR.json +27 -0
  301. package/dist/i18n/number-formats.d.ts +6 -0
  302. package/dist/index.cjs +54 -55
  303. package/dist/index.d.ts +78 -1
  304. package/dist/index.js +7460 -3150
  305. package/dist/playwright/a11y.d.ts +15 -1
  306. package/dist/playwright/index.d.ts +24 -0
  307. package/dist/playwright/screenshots.d.ts +5 -39
  308. package/dist/style.css +1 -1
  309. package/dist/types/colors.d.ts +1 -1
  310. package/dist/types/components.d.ts +6 -6
  311. package/dist/types/index.d.ts +2 -3
  312. package/dist/types/themes.d.ts +2 -1
  313. package/dist/types/utils.d.ts +46 -0
  314. package/dist/types/utils.spec-d.d.ts +1 -0
  315. package/dist/utils/attrs.d.ts +30 -4
  316. package/dist/utils/date.d.ts +7 -0
  317. package/dist/utils/feature.d.ts +15 -0
  318. package/dist/utils/index.d.ts +2 -2
  319. package/dist/utils/numbers.d.ts +46 -0
  320. package/dist/utils/objects.d.ts +18 -0
  321. package/dist/utils/plugin.d.ts +9 -1
  322. package/dist/utils/router.d.ts +5 -0
  323. package/dist/utils/storybook.d.ts +35 -0
  324. package/dist/utils/strings.d.ts +13 -0
  325. package/package.json +24 -12
  326. package/src/i18n/locales/de-DE.json +110 -15
  327. package/src/i18n/locales/en-US.json +111 -16
  328. package/src/styles/breakpoints.scss +16 -10
  329. package/src/styles/fonts.scss +7 -7
  330. package/src/styles/global.css +2 -2
  331. package/src/styles/grid.ct.tsx +90 -37
  332. package/src/styles/grid.scss +77 -21
  333. package/src/styles/index.scss +3 -4
  334. package/src/styles/layers.scss +1 -1
  335. package/src/styles/mixins/checkbox.scss +6 -6
  336. package/src/styles/mixins/input.scss +110 -38
  337. package/src/styles/mixins/layers.scss +5 -5
  338. package/src/styles/mixins/list.scss +3 -3
  339. package/src/styles/mixins/sizes.scss +31 -0
  340. package/src/styles/mixins/visibility.scss +11 -0
  341. package/src/styles/root.scss +16 -5
  342. package/src/styles/variables/density-compact.css +1 -1
  343. package/src/styles/variables/density-cozy.css +1 -1
  344. package/src/styles/variables/density-default.css +1 -1
  345. package/src/styles/variables/spacing.css +1 -1
  346. package/src/styles/variables/themes/digits.css +414 -0
  347. package/src/styles/variables/themes/kaufland.css +422 -119
  348. package/src/styles/variables/themes/lidl.css +419 -119
  349. package/src/styles/variables/themes/onyx.css +380 -119
  350. package/src/styles/variables/themes/value.css +269 -0
  351. package/dist/components/OnyxNavBar/modules/OnyxNavButton/MobileComponentTestWrapper.vue.d.ts +0 -41
  352. package/dist/components/OnyxNavBar/modules/OnyxNavButton/NavButtonLayout.vue.d.ts +0 -35
  353. package/dist/components/OnyxNavBar/modules/OnyxNavButton/OnyxNavButton.vue.d.ts +0 -58
  354. package/dist/components/OnyxNavBar/modules/OnyxNavButton/types.d.ts +0 -13
  355. package/dist/components/OnyxNavBar/modules/OnyxNavSeparator/OnyxNavSeparator.vue.d.ts +0 -26
  356. package/dist/components/OnyxNavBar/modules/OnyxNavSeparator/types.d.ts +0 -3
  357. package/dist/components/OnyxToast/PlaywrightTestWrapper.vue.d.ts +0 -2
  358. package/dist/components/OnyxToast/StorybookExample.vue.d.ts +0 -2
  359. package/dist/components/OnyxTooltip/TestWrapper.vue.d.ts +0 -12
  360. package/dist/components/examples/FormExample/FormExample.vue.d.ts +0 -2
  361. package/dist/components/examples/GridPlayground/GridElement.vue.d.ts +0 -18
  362. package/dist/components/examples/GridPlayground/GridElementsIndicator.vue.d.ts +0 -22
  363. package/dist/composables/useManagedState.d.ts +0 -28
  364. package/dist/playwright/ScreenshotMatrix.vue.d.ts +0 -54
  365. package/dist/types/breakpoints.d.ts +0 -13
  366. package/dist/utils/math.d.ts +0 -1
  367. package/src/styles/variables/dark.css +0 -120
  368. package/src/styles/variables/light.css +0 -120
  369. package/src/styles/variables/themes/onyx.json +0 -120
  370. package/src/styles/variables/themes/twogo.css +0 -126
  371. /package/dist/components/{OnyxRadioGroup/OnyxRadioGroup.d.ts → OnyxDataGrid/types.spec-d.d.ts} +0 -0
package/README.md CHANGED
@@ -1,9 +1,5 @@
1
1
  <div align="center" style="text-align: center">
2
- <picture>
3
- <source media="(prefers-color-scheme: dark)" type="image/svg+xml" srcset="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-light.svg">
4
- <source media="(prefers-color-scheme: light)" type="image/svg+xml" srcset="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-dark.svg">
5
- <img alt="onyx logo" src="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-dark.svg" width="160px">
6
- </picture>
2
+ <img alt="onyx logo" src="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo.svg" height="96px">
7
3
  </div>
8
4
 
9
5
  <br>
@@ -0,0 +1 @@
1
+ export declare const a11yTags: string[];
@@ -0,0 +1,22 @@
1
+ import type { Nullable } from "../../types";
2
+ import { type OnyxAccordionProps } from "./types";
3
+ declare const _default: <TValue extends PropertyKey>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
5
+ readonly "onUpdate:modelValue"?: ((value: Nullable<TValue[]>) => any) | undefined;
6
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & OnyxAccordionProps<TValue> & Partial<{}>> & import("vue").PublicProps;
7
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
8
+ attrs: any;
9
+ slots: {
10
+ /**
11
+ * Displays OnyxAccordionItem components.
12
+ */
13
+ default(): unknown;
14
+ };
15
+ emit: (evt: "update:modelValue", value: Nullable<TValue[]>) => void;
16
+ }>) => import("vue").VNode & {
17
+ __ctx?: Awaited<typeof __VLS_setup>;
18
+ };
19
+ export default _default;
20
+ type __VLS_PrettifyLocal<T> = {
21
+ [K in keyof T]: T[K];
22
+ } & {};
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
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
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
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
2
  export default _default;
@@ -0,0 +1,45 @@
1
+ import type { InjectionKey, Ref } from "vue";
2
+ import type { DensityProp } from "../../composables/density";
3
+ import type { SkeletonInjected } from "../../composables/useSkeletonState";
4
+ import type { Nullable } from "../../types";
5
+ export type OnyxAccordionProps<TValue extends PropertyKey> = DensityProp & {
6
+ /**
7
+ * Currently opened items. Will include the `value` property of the nested `OnyxAccordionItems`.
8
+ */
9
+ modelValue?: Nullable<TValue[]>;
10
+ /**
11
+ * if `true`, only one accordion item can be open at the same time.
12
+ */
13
+ exclusive?: boolean;
14
+ /**
15
+ * Disable the accordion.
16
+ */
17
+ disabled?: boolean;
18
+ /**
19
+ * If set, the specified number of skeleton accordions will be shown.
20
+ */
21
+ skeleton?: SkeletonInjected;
22
+ /**
23
+ * Accordion type. Will have different visual representations.
24
+ * Please note that "nested-large" and "nested-small" should only be used inside other components like e.g. the [OnyxDrawer](https://storybook.onyx.schwarz/?path=/docs/feedback-drawer--docs).
25
+ */
26
+ type?: AccordionType;
27
+ };
28
+ export type AccordionInjectionKey<TValue extends PropertyKey> = InjectionKey<{
29
+ /**
30
+ * IDs of currently open AccordionItems.
31
+ */
32
+ openItems: Readonly<Ref<PropertyKey[]>>;
33
+ /**
34
+ * Function to update the open state of an AccordionItem.
35
+ * @param id - The unique ID of the AccordionItem.
36
+ * @param value - Whether the AccordionItem should be open (true) or closed (false).
37
+ */
38
+ updateOpen: (id: TValue, value: boolean) => void;
39
+ disabled: Ref<boolean>;
40
+ skeleton: Ref<SkeletonInjected>;
41
+ type: Ref<AccordionType>;
42
+ }>;
43
+ export declare const ACCORDION_INJECTION_KEY: AccordionInjectionKey<PropertyKey>;
44
+ export declare const ACCORDION_TYPES: readonly ["default", "nested-large", "nested-small"];
45
+ export type AccordionType = (typeof ACCORDION_TYPES)[number];
@@ -0,0 +1,22 @@
1
+ import type { OnyxAccordionItemProps } from "./types";
2
+ type __VLS_Slots = {
3
+ /**
4
+ * Displays the header content.
5
+ */
6
+ header(): unknown;
7
+ /**
8
+ * Displays the panel content.
9
+ */
10
+ default?(): unknown;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<OnyxAccordionItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxAccordionItemProps> & Readonly<{}>, {
13
+ disabled: boolean;
14
+ skeleton: import("../../composables/useSkeletonState").SkeletonInjected;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,17 @@
1
+ import type { DensityProp } from "../../composables/density";
2
+ import type { SkeletonInjected } from "../../composables/useSkeletonState";
3
+ export type OnyxAccordionItemProps = DensityProp & {
4
+ /**
5
+ * Value that is used inside the `OnyxAccordion` when the item is open.
6
+ * Must be unique across one accordion.
7
+ */
8
+ value: PropertyKey;
9
+ /**
10
+ * Whether the accordion is disabled
11
+ */
12
+ disabled?: boolean;
13
+ /**
14
+ * Whether to show a skeleton accordion.
15
+ */
16
+ skeleton?: SkeletonInjected;
17
+ };
@@ -0,0 +1,34 @@
1
+ import type { OnyxAlertDialogProps } from "./types";
2
+ type __VLS_Slots = {
3
+ /**
4
+ * Dialog content.
5
+ */
6
+ default(): unknown;
7
+ /**
8
+ * Optional slot to override the headline with custom content.
9
+ * If unset, the `label` property will be shown.
10
+ */
11
+ headline?(bindings: Pick<OnyxAlertDialogProps, "label">): unknown;
12
+ /**
13
+ * Slot to display custom actions at the bottom of the dialog, e.g. buttons for confirm or cancelling the current user workflow.
14
+ * For accessibility purposes it is recommended to set autofocus on one button, preferably the "cancel" button if one exists.
15
+ *
16
+ * @example
17
+ * ```vue
18
+ * <OnyxButton label="Cancel" color="neutral" mode="plain" autofocus />
19
+ * ```
20
+ */
21
+ actions?(): unknown;
22
+ };
23
+ declare const __VLS_component: import("vue").DefineComponent<OnyxAlertDialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ close: () => any;
25
+ }, string, import("vue").PublicProps, Readonly<OnyxAlertDialogProps> & Readonly<{
26
+ onClose?: (() => any) | undefined;
27
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
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
2
  export default _default;
@@ -0,0 +1,8 @@
1
+ import type { OnyxDialogProps } from "../OnyxDialog/types";
2
+ import type { OnyxIconProps } from "../OnyxIcon/types";
3
+ export type OnyxAlertDialogProps = Omit<OnyxDialogProps, "modal" | "alert" | "alignment"> & {
4
+ /**
5
+ * Optional icon to show.
6
+ */
7
+ icon?: Omit<OnyxIconProps, "size">;
8
+ };
@@ -1,52 +1,28 @@
1
1
  import type { OnyxAppLayoutProps } from "./types";
2
- declare function __VLS_template(): Readonly<{
3
- /** Navigation area of the application */
4
- navBar?(): unknown;
5
- /** Page content area of the application */
2
+ type __VLS_Slots = {
3
+ /**
4
+ * Page content area of the application. Recommended component: [OnyxPageLayout](https://storybook.onyx.schwarz/?path=/docs/layout-pagelayout--docs).
5
+ *
6
+ * For semantic HTML, it is recommend to use HTML elements like `<main>`
7
+ */
6
8
  default(): unknown;
7
- /** Overlays that cover the page and exclude the nav area */
8
- pageOverlay?(): unknown;
9
- /** Overlays that cover the complete page */
10
- appOverlay?(): unknown;
11
- }> & {
12
- /** Navigation area of the application */
9
+ /**
10
+ * Navigation area of the application. Recommended components:
11
+ * - for top alignment: [OnyxNavBar](https://storybook.onyx.schwarz/?path=/docs/navigation-navbar--docs)
12
+ * - for left alignment: no onyx component yet, create your own custom one
13
+ *
14
+ * For implementing page-level sidebars, please use the [OnyxPageLayout](https://onyx.schwarz/?path=/story/layout-pagelayout--sidebar).
15
+ * For semantic HTML, it is recommended to use HTML elements like `<header>` and `<nav>` here, which is already the case when using the above recommended components.
16
+ */
13
17
  navBar?(): unknown;
14
- /** Page content area of the application */
15
- default(): unknown;
16
- /** Overlays that cover the page and exclude the nav area */
17
- pageOverlay?(): unknown;
18
- /** Overlays that cover the complete page */
19
- appOverlay?(): unknown;
20
18
  };
21
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxAppLayoutProps>, {
22
- navBarAlignment: string;
23
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxAppLayoutProps>, {
24
- navBarAlignment: string;
25
- }>>>, {
19
+ declare const __VLS_component: import("vue").DefineComponent<OnyxAppLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxAppLayoutProps> & Readonly<{}>, {
26
20
  navBarAlignment: "top" | "left";
27
- }, {}>;
28
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
23
  export default _default;
30
-
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
39
- type __VLS_WithTemplateSlots<T, S> = T & {
24
+ type __VLS_WithSlots<T, S> = T & {
40
25
  new (): {
41
26
  $slots: S;
42
27
  };
43
28
  };
44
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
- type __VLS_TypePropsToOption<T> = {
46
- [K in keyof T]-?: {} extends Pick<T, K> ? {
47
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
- } : {
49
- type: import('vue').PropType<T[K]>;
50
- required: true;
51
- };
52
- };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
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
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, {}, any>;
2
+ export default _default;
@@ -1,4 +1,6 @@
1
1
  export type OnyxAppLayoutProps = {
2
- /** Whether the nav bar will stick to the left or to the top of the app */
2
+ /**
3
+ * Alignment/position of the `navBar` slot.
4
+ */
3
5
  navBarAlignment?: "top" | "left";
4
6
  };
@@ -1,43 +1,5 @@
1
1
  import type { OnyxAvatarProps } from "./types";
2
- declare function __VLS_template(): Readonly<{
3
- /**
4
- * Optional slot to override the default initials. Will only be used if `type` is `initials`.
5
- */
6
- default?(): unknown;
7
- }> & {
8
- /**
9
- * Optional slot to override the default initials. Will only be used if `type` is `initials`.
10
- */
11
- default?(): unknown;
12
- };
13
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxAvatarProps>, {
14
- size: string;
15
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxAvatarProps>, {
16
- size: string;
17
- }>>>, {
2
+ declare const _default: import("vue").DefineComponent<OnyxAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxAvatarProps> & Readonly<{}>, {
18
3
  size: "16px" | "24px" | "32px" | "48px" | "64px" | "96px";
19
- }, {}>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
4
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
5
  export default _default;
22
- type __VLS_WithDefaults<P, D> = {
23
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
24
- default: D[K];
25
- }> : P[K];
26
- };
27
- type __VLS_Prettify<T> = {
28
- [K in keyof T]: T[K];
29
- } & {};
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToOption<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
@@ -1,13 +1,25 @@
1
1
  import type { IconSize, IconSizeProp } from "../OnyxIcon/types";
2
2
  export type OnyxAvatarProps = IconSizeProp<Exclude<IconSize, "12px">> & {
3
3
  /**
4
- * Label (e.g. the user name), required for accessibility.
5
- * Will also determine the displayed initials.
4
+ * Full user name. Will determine the displayed initials.
5
+ *
6
+ * @example "John Doe"
6
7
  */
7
- label: string;
8
+ fullName: DisplayName;
8
9
  /**
9
10
  * Image URL to show. If unset or an error occurs while loading, a fallback will be displayed
10
11
  * with the initials.
11
12
  */
12
13
  src?: string;
14
+ /**
15
+ * Initials to use. If unset, they will be inferred automatically from the `fullName` property.
16
+ */
17
+ initials?: string;
18
+ };
19
+ export type DisplayName = string | {
20
+ name: string;
21
+ /**
22
+ * Locale of the given name. Will be used for formatting.
23
+ */
24
+ locale: string;
13
25
  };
@@ -1,18 +1,13 @@
1
- declare function __VLS_template(): Readonly<{
2
- /**
3
- * Default slot to place the avatars.
4
- */
5
- default(): unknown;
6
- }> & {
1
+ type __VLS_Slots = {
7
2
  /**
8
3
  * Default slot to place the avatars.
9
4
  */
10
5
  default(): unknown;
11
6
  };
12
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
7
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
9
  export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
10
+ type __VLS_WithSlots<T, S> = T & {
16
11
  new (): {
17
12
  $slots: S;
18
13
  };
@@ -1,46 +1,18 @@
1
1
  import type { OnyxBadgeProps } from "./types";
2
- declare function __VLS_template(): Readonly<{
3
- /**
4
- * Badge content.
5
- */
6
- default?(): unknown;
7
- }> & {
2
+ type __VLS_Slots = {
8
3
  /**
9
4
  * Badge content.
10
5
  */
11
6
  default?(): unknown;
12
7
  };
13
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxBadgeProps>, {
14
- color: string;
15
- dot: boolean;
16
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxBadgeProps>, {
17
- color: string;
8
+ declare const __VLS_component: import("vue").DefineComponent<OnyxBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxBadgeProps> & Readonly<{}>, {
9
+ color: import("../../index.ts").OnyxColor;
18
10
  dot: boolean;
19
- }>>>, {
20
- color: import("../..").OnyxColor;
21
- dot: boolean;
22
- }, {}>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
24
13
  export default _default;
25
- type __VLS_WithDefaults<P, D> = {
26
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
- default: D[K];
28
- }> : P[K];
29
- };
30
- type __VLS_Prettify<T> = {
31
- [K in keyof T]: T[K];
32
- } & {};
33
- type __VLS_WithTemplateSlots<T, S> = T & {
14
+ type __VLS_WithSlots<T, S> = T & {
34
15
  new (): {
35
16
  $slots: S;
36
17
  };
37
18
  };
38
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
- type __VLS_TypePropsToOption<T> = {
40
- [K in keyof T]-?: {} extends Pick<T, K> ? {
41
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
- } : {
43
- type: import('vue').PropType<T[K]>;
44
- required: true;
45
- };
46
- };
@@ -0,0 +1,21 @@
1
+ import type { OnyxBottomBarProps } from "./types";
2
+ type __VLS_Slots = {
3
+ /**
4
+ * Bottom bar content. This slot is left aligned and should be used by buttons and icon buttons.
5
+ */
6
+ left?(): unknown;
7
+ /**
8
+ * Bottom bar content. This slot is right aligned and should be used by buttons and icon buttons.
9
+ */
10
+ default?(): unknown;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<OnyxBottomBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxBottomBarProps> & Readonly<{}>, {
13
+ hideBorder: boolean;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,7 @@
1
+ import type { DensityProp } from "../../composables/density";
2
+ export type OnyxBottomBarProps = DensityProp & {
3
+ /**
4
+ * Whether to remove the top border / separator.
5
+ */
6
+ hideBorder?: boolean;
7
+ };
@@ -0,0 +1,17 @@
1
+ import type { OnyxBreadcrumbProps } from "./types";
2
+ type __VLS_Slots = {
3
+ /**
4
+ * Breadcrumb items (see `OnyxBreadcrumbItem` component).
5
+ */
6
+ default(): unknown;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<OnyxBreadcrumbProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxBreadcrumbProps> & Readonly<{}>, {
9
+ container: boolean;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,28 @@
1
+ import type { DensityProp } from "../../composables/density";
2
+ export type OnyxBreadcrumbProps = DensityProp & {
3
+ /**
4
+ * If `true`, the component will be shown inside a styled container.
5
+ * Recommended when used together with a nav bar or sidebar.
6
+ */
7
+ container?: boolean;
8
+ /**
9
+ * Custom home item.
10
+ */
11
+ home?: BreadcrumbHomeItem;
12
+ /**
13
+ * Whether to show all nested breadcrumb items as skeleton.
14
+ */
15
+ skeleton?: boolean;
16
+ };
17
+ export type BreadcrumbHomeItem = {
18
+ /**
19
+ * Text label for the home item. Will show the passed label instead of an icon.
20
+ */
21
+ label?: string;
22
+ /**
23
+ * Link of the home item.
24
+ *
25
+ * @default "/"
26
+ */
27
+ link?: string;
28
+ };
@@ -0,0 +1,18 @@
1
+ import type { OnyxBreadcrumbItemProps } from "./types";
2
+ type __VLS_Slots = {
3
+ /**
4
+ * Item content / page name.
5
+ */
6
+ default(): unknown;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<OnyxBreadcrumbItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxBreadcrumbItemProps> & Readonly<{}>, {
9
+ active: boolean | "auto";
10
+ skeleton: import("../../composables/useSkeletonState").SkeletonInjected;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,18 @@
1
+ import type { DensityProp } from "../../composables/density";
2
+ import type { SkeletonInjected } from "../../composables/useSkeletonState";
3
+ export type OnyxBreadcrumbItemProps = DensityProp & {
4
+ /**
5
+ * Link to the corresponding page.
6
+ */
7
+ href: string;
8
+ /**
9
+ * Whether the nav item is currently active.
10
+ * If any nested option is active, the parent nav item will also be marked as active.
11
+ * If "auto" and a [router](https://onyx.schwarz/development/router.html) is provided, the active state will be determined automatically based on the current route.
12
+ */
13
+ active?: boolean | "auto";
14
+ /**
15
+ * Whether to show a skeleton item.
16
+ */
17
+ skeleton?: SkeletonInjected;
18
+ };
@@ -0,0 +1,18 @@
1
+ import type { OnyxButtonProps } from "./types";
2
+ type __VLS_Props = Pick<OnyxButtonProps, "disabled" | "link" | "loading" | "type" | "autofocus">;
3
+ type __VLS_Slots = {
4
+ /**
5
+ * Button content.
6
+ */
7
+ default(): unknown;
8
+ };
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ type: import("./types").ButtonType;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -1,45 +1,10 @@
1
1
  import type { OnyxButtonProps } from "./types";
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxButtonProps>, {
3
- disabled: boolean;
4
- loading: boolean;
5
- type: string;
6
- color: string;
7
- mode: string;
8
- skeleton: boolean;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- click: () => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OnyxButtonProps>, {
12
- disabled: boolean;
13
- loading: boolean;
14
- type: string;
15
- color: string;
16
- mode: string;
17
- skeleton: boolean;
18
- }>>> & {
19
- onClick?: (() => any) | undefined;
20
- }, {
2
+ declare const _default: import("vue").DefineComponent<OnyxButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxButtonProps> & Readonly<{}>, {
21
3
  type: import("./types").ButtonType;
22
4
  color: import("./types").ButtonColor;
23
- disabled: boolean;
24
- mode: import("./types").ButtonMode;
25
5
  loading: boolean;
26
- skeleton: boolean;
27
- }, {}>;
6
+ disabled: import("../OnyxForm/OnyxForm.core").FormInjected<boolean>;
7
+ mode: import("./types").ButtonMode;
8
+ skeleton: import("../../composables/useSkeletonState").SkeletonInjected;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
10
  export default _default;
29
- type __VLS_WithDefaults<P, D> = {
30
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
- default: D[K];
32
- }> : P[K];
33
- };
34
- type __VLS_Prettify<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
37
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
- type __VLS_TypePropsToOption<T> = {
39
- [K in keyof T]-?: {} extends Pick<T, K> ? {
40
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
41
- } : {
42
- type: import('vue').PropType<T[K]>;
43
- required: true;
44
- };
45
- };