@livestorm/ui-vue 3.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/README.md +3 -3
  2. package/components-vite.js +2 -2
  3. package/dist/UiButton-uyW8EHRJ.mjs +602 -0
  4. package/dist/UiTimelineItem-EiOEi1yF.mjs +7293 -0
  5. package/dist/UiTooltip-DZcPD6_N.mjs +158 -0
  6. package/dist/a11y-CaZxRWzo.mjs +6 -0
  7. package/dist/breakpoints.mjs +4 -9
  8. package/dist/bus.mjs +5 -5
  9. package/dist/components.mjs +236 -231
  10. package/dist/i18n-B8QOMuFD.mjs +46 -0
  11. package/dist/index.mjs +4 -91
  12. package/dist/integrations.mjs +3 -14
  13. package/dist/layouts.mjs +228 -236
  14. package/dist/responsive.mjs +31 -36
  15. package/dist/slot.mjs +11 -17
  16. package/dist/toastDSV2-D3xDZPe5.mjs +105 -0
  17. package/dist/types/index.d.ts +19 -1
  18. package/dist/types/src/components/Toast/ToastMessage.vue.d.ts +17 -7
  19. package/dist/types/src/components/Toast/toastDSV2.d.ts +89 -64
  20. package/dist/types/src/components/UiActionBar/types.d.ts +2 -0
  21. package/dist/types/src/components/UiAvatar/UiAvatar.vue.d.ts +4 -2
  22. package/dist/types/src/components/UiAvatarList/UiAvatarList.vue.d.ts +3 -2
  23. package/dist/types/src/components/UiBanner/UiBanner.vue.d.ts +13 -1
  24. package/dist/types/src/components/UiButton/UiButton.vue.d.ts +95 -35
  25. package/dist/types/src/components/UiButtonGroup/UiButtonGroup.vue.d.ts +8 -2
  26. package/dist/types/src/components/UiButtonGroup/types.d.ts +4 -0
  27. package/dist/types/src/components/UiChoice/UiChoice.vue.d.ts +71 -0
  28. package/dist/types/src/components/UiChoice/index.d.ts +2 -0
  29. package/dist/types/src/components/UiChoice/types.d.ts +7 -0
  30. package/dist/types/src/components/UiColorField/UiColorField.vue.d.ts +1 -1
  31. package/dist/types/src/components/UiColorPicker/UiColorPicker.vue.d.ts +2 -2
  32. package/dist/types/src/components/UiCombobox/UiCombobox.types.d.ts +47 -0
  33. package/dist/types/src/components/UiCombobox/UiCombobox.vue.d.ts +40 -0
  34. package/dist/types/src/components/UiCombobox/index.d.ts +2 -0
  35. package/dist/types/src/components/UiDataTable/UiDataTable.types.d.ts +46 -0
  36. package/dist/types/src/components/UiDataTable/UiDataTable.vue.d.ts +136 -0
  37. package/dist/types/src/components/UiDataTable/index.d.ts +5 -0
  38. package/dist/types/src/components/UiDrawer/UiDrawer.vue.d.ts +28 -0
  39. package/dist/types/src/components/UiDrawer/UiDrawerContent.vue.d.ts +18 -0
  40. package/dist/types/src/components/UiDrawer/UiDrawerTrigger.vue.d.ts +14 -0
  41. package/dist/types/src/components/UiDropdown/DropdownItemCheckbox.vue.d.ts +3 -0
  42. package/dist/types/src/components/UiDropdown/UiDropdownContent.vue.d.ts +10 -0
  43. package/dist/types/src/components/UiDropdown/UiDropdownGroup.vue.d.ts +17 -0
  44. package/dist/types/src/components/UiDropdown/UiDropdownItem.vue.d.ts +8 -5
  45. package/dist/types/src/components/UiDropdown/UiDropdownTrigger.vue.d.ts +21 -5
  46. package/dist/types/src/components/UiDropdown/index.d.ts +1 -0
  47. package/dist/types/src/components/UiEmojiPickerList/UiEmojiPickerList.vue.d.ts +22 -0
  48. package/dist/types/src/components/UiEmptyState/UiEmptyState.vue.d.ts +8 -3
  49. package/dist/types/src/components/UiFieldWrapper/UiFieldWrapper.vue.d.ts +2 -2
  50. package/dist/types/src/components/UiInputCheckbox/CheckboxGlyph.vue.d.ts +17 -0
  51. package/dist/types/src/components/UiInputCheckbox/UiInputCheckbox.vue.d.ts +35 -4
  52. package/dist/types/src/components/UiInputRadio/RadioGlyph.vue.d.ts +19 -0
  53. package/dist/types/src/components/UiInputRadio/UiInputRadio.vue.d.ts +21 -8
  54. package/dist/types/src/components/UiInputRadio/UiInputRadioGroup.vue.d.ts +6 -1
  55. package/dist/types/src/components/UiInputRadio/types.d.ts +1 -1
  56. package/dist/types/src/components/UiInputSelect/UiInputSelect.vue.d.ts +5 -5
  57. package/dist/types/src/components/UiInputTextarea/UiInputTextarea.vue.d.ts +5 -5
  58. package/dist/types/src/components/UiListItem/UiListItem.vue.d.ts +18 -4
  59. package/dist/types/src/components/UiLoader/UiSpinnerIcon.vue.d.ts +3 -0
  60. package/dist/types/src/components/UiMenu/UiMenuContent.vue.d.ts +15 -2
  61. package/dist/types/src/components/UiMenu/UiMenuItem.vue.d.ts +9 -3
  62. package/dist/types/src/components/UiNestedOptions/UiNestedOptions.vue.d.ts +13 -0
  63. package/dist/types/src/components/UiPage/UiPage.vue.d.ts +79 -15
  64. package/dist/types/src/components/UiPagination/UiPagination.vue.d.ts +36 -0
  65. package/dist/types/src/components/UiPagination/index.d.ts +2 -0
  66. package/dist/types/src/components/UiPagination/types.d.ts +4 -0
  67. package/dist/types/src/components/UiPane/UiPane.vue.d.ts +22 -0
  68. package/dist/types/src/components/UiPane/UiPaneContent.vue.d.ts +75 -0
  69. package/dist/types/src/components/UiPane/UiPaneTrigger.vue.d.ts +14 -0
  70. package/dist/types/src/components/UiPane/index.d.ts +5 -0
  71. package/dist/types/src/components/UiRating/UiRating.vue.d.ts +62 -0
  72. package/dist/types/src/components/UiRating/types.d.ts +1 -0
  73. package/dist/types/src/components/UiRoomButton/UiRoomButton.vue.d.ts +5 -3
  74. package/dist/types/src/components/UiRoomCountdown/UiRoomCountdown.vue.d.ts +32 -0
  75. package/dist/types/src/components/UiShell/UiShell.vue.d.ts +3 -0
  76. package/dist/types/src/components/UiSideMenu/UiSideMenu.vue.d.ts +22 -1
  77. package/dist/types/src/components/UiSideMenu/UiSideMenuItemContent.vue.d.ts +2 -2
  78. package/dist/types/src/components/UiSwitch/UiSwitch.vue.d.ts +10 -5
  79. package/dist/types/src/components/UiTable/UiTable.vue.d.ts +13 -4
  80. package/dist/types/src/components/UiTable/UiTableActionsCell.vue.d.ts +49 -0
  81. package/dist/types/src/components/UiTable/UiTableActionsHeaderCell.vue.d.ts +3 -0
  82. package/dist/types/src/components/UiTable/UiTableBody.vue.d.ts +11 -1
  83. package/dist/types/src/components/UiTable/UiTableCell.vue.d.ts +16 -1
  84. package/dist/types/src/components/UiTable/UiTableHeaderCell.vue.d.ts +31 -2
  85. package/dist/types/src/components/UiTable/UiTableRow.vue.d.ts +32 -2
  86. package/dist/types/src/components/UiTable/context.d.ts +3 -0
  87. package/dist/types/src/components/UiTable/index.d.ts +4 -0
  88. package/dist/types/src/components/UiTabs/UiTabs.vue.d.ts +3 -0
  89. package/dist/types/src/components/UiTag/UiTag.types.d.ts +25 -0
  90. package/dist/types/src/components/UiTag/UiTag.vue.d.ts +5 -26
  91. package/dist/types/src/components/UiTag/index.d.ts +2 -1
  92. package/dist/types/src/components/UiTextField/UiTextField.vue.d.ts +10 -5
  93. package/dist/types/src/components/UiTooltip/UiTooltipProvider.vue.d.ts +1 -0
  94. package/dist/types/src/components/UiTooltip/UiTooltipTrigger.vue.d.ts +2 -2
  95. package/dist/types/src/composables/storedThemingApplies.d.ts +17 -0
  96. package/dist/types/src/composables/useButtonStyles.d.ts +1 -0
  97. package/dist/types/src/composables/useChoiceboxSurface.d.ts +11 -0
  98. package/dist/types/src/composables/useContentMode.d.ts +7 -9
  99. package/dist/types/src/composables/useControlModes.d.ts +7 -0
  100. package/dist/types/src/composables/useControlShape.d.ts +24 -0
  101. package/dist/types/src/composables/useFieldFocusEvents.d.ts +12 -0
  102. package/dist/types/src/composables/useIconSize.d.ts +2 -0
  103. package/dist/types/src/composables/usePullGesture.d.ts +42 -0
  104. package/dist/types/src/composables/useThemeAndModes.d.ts +4 -0
  105. package/dist/types/src/theming/colorScale.d.ts +165 -0
  106. package/dist/types/src/theming/legacyColorScale.d.ts +27 -0
  107. package/dist/types/src/theming/presetColors.d.ts +11 -0
  108. package/dist/types/src/theming/primitiveTokens.d.ts +2 -0
  109. package/dist/types/src/utils/effectiveOpacity.d.ts +2 -0
  110. package/dist/types/src/utils/numbers.d.ts +1 -2
  111. package/dist/types/src/utils/tokenColor.d.ts +2 -0
  112. package/dist/ui-vue.css +2 -1
  113. package/dist/utils.mjs +165 -194
  114. package/index.d.ts +18 -0
  115. package/index.js +36 -0
  116. package/package.json +26 -21
  117. package/src/components/Toast/LayoutToasts.vue +19 -11
  118. package/src/components/Toast/ToastMessage.vue +125 -68
  119. package/src/components/Toast/toastDSV2.ts +238 -67
  120. package/src/components/UiActionBar/UiActionBar.vue +4 -3
  121. package/src/components/UiActionBar/UiActionBarItem.vue +9 -6
  122. package/src/components/UiActionBar/types.ts +13 -0
  123. package/src/components/UiAvatar/UiAvatar.vue +8 -2
  124. package/src/components/UiAvatarList/UiAvatarList.vue +51 -20
  125. package/src/components/UiBadge/UiBadge.vue +1 -1
  126. package/src/components/UiBanner/UiBanner.vue +71 -21
  127. package/src/components/UiBreadcrumb/UiBreadcrumb.vue +1 -1
  128. package/src/components/UiButton/UiButton.vue +92 -25
  129. package/src/components/UiButtonGroup/UiButtonGroup.vue +21 -17
  130. package/src/components/UiButtonGroup/UiButtonGroupItem.vue +33 -15
  131. package/src/components/UiButtonGroup/types.ts +19 -0
  132. package/src/components/UiCard/UiCard.vue +20 -23
  133. package/src/components/UiChoice/UiChoice.vue +187 -0
  134. package/src/components/UiChoice/index.ts +2 -0
  135. package/src/components/UiChoice/types.ts +11 -0
  136. package/src/components/UiColorField/UiColorField.vue +2 -2
  137. package/src/components/UiColorPicker/UiColorPicker.vue +11 -8
  138. package/src/components/UiCombobox/UiCombobox.types.ts +52 -0
  139. package/src/components/UiCombobox/UiCombobox.vue +296 -0
  140. package/src/components/UiCombobox/index.ts +2 -0
  141. package/src/components/UiDataTable/UiDataTable.types.ts +47 -0
  142. package/src/components/UiDataTable/UiDataTable.vue +422 -0
  143. package/src/components/UiDataTable/index.ts +12 -0
  144. package/src/components/UiDialog/UiDialogContent.vue +22 -7
  145. package/src/components/UiDrawer/UiDrawer.vue +16 -0
  146. package/src/components/UiDrawer/UiDrawerContent.vue +42 -0
  147. package/src/components/UiDrawer/UiDrawerTrigger.vue +17 -0
  148. package/src/components/UiDropdown/DropdownItemCheckbox.vue +10 -0
  149. package/src/components/UiDropdown/UiDropdownContent.vue +32 -21
  150. package/src/components/UiDropdown/UiDropdownGroup.vue +23 -0
  151. package/src/components/UiDropdown/UiDropdownItem.vue +38 -18
  152. package/src/components/UiDropdown/UiDropdownSeparator.vue +1 -1
  153. package/src/components/UiDropdown/UiDropdownTrigger.vue +138 -43
  154. package/src/components/UiDropdown/index.ts +1 -0
  155. package/src/components/UiEmojiPickerList/UiEmojiPickerList.vue +122 -0
  156. package/src/components/UiEmptyState/UiEmptyState.vue +16 -4
  157. package/src/components/UiFieldWrapper/UiFieldWrapper.vue +9 -3
  158. package/src/components/UiHorizontalSeparator/UiHorizontalSeparator.vue +2 -2
  159. package/src/components/UiInputCheckbox/CheckboxGlyph.vue +78 -0
  160. package/src/components/UiInputCheckbox/UiInputCheckbox.vue +213 -177
  161. package/src/components/UiInputEmoji/UiInputEmoji.vue +18 -95
  162. package/src/components/UiInputRadio/RadioGlyph.vue +45 -0
  163. package/src/components/UiInputRadio/UiInputRadio.vue +177 -169
  164. package/src/components/UiInputRadio/UiInputRadioGroup.vue +15 -5
  165. package/src/components/UiInputRadio/types.ts +1 -2
  166. package/src/components/UiInputSelect/UiInputSelect.vue +9 -7
  167. package/src/components/UiInputTextarea/UiInputTextarea.vue +20 -35
  168. package/src/components/UiLabel/UiLabel.vue +1 -1
  169. package/src/components/UiListItem/UiListItem.vue +55 -9
  170. package/src/components/UiLoader/UiLoader.vue +4 -20
  171. package/src/components/UiLoader/UiSpinnerIcon.vue +21 -0
  172. package/src/components/UiMenu/UiMenuContent.vue +24 -3
  173. package/src/components/UiMenu/UiMenuGroup.vue +1 -1
  174. package/src/components/UiMenu/UiMenuItem.vue +14 -3
  175. package/src/components/UiMenu/UiMenuSubContent.vue +1 -1
  176. package/src/components/UiMenu/UiMenuSubTrigger.vue +1 -1
  177. package/src/components/UiNestedOptions/UiNestedOptions.vue +6 -0
  178. package/src/components/UiPage/UiPage.vue +190 -32
  179. package/src/components/UiPagination/UiPagination.vue +99 -0
  180. package/src/components/UiPagination/index.ts +2 -0
  181. package/src/components/UiPagination/types.ts +28 -0
  182. package/src/components/UiPane/UiPane.vue +20 -0
  183. package/src/components/UiPane/UiPaneContent.vue +232 -0
  184. package/src/components/UiPane/UiPaneTrigger.vue +14 -0
  185. package/src/components/UiPane/index.ts +12 -0
  186. package/src/components/UiPopover/UiPopoverContent.vue +21 -1
  187. package/src/components/UiProgress/UiProgress.vue +2 -2
  188. package/src/components/UiRating/UiRating.vue +258 -0
  189. package/src/components/UiRating/types.ts +1 -0
  190. package/src/components/UiRoomButton/UiRoomButton.vue +10 -41
  191. package/src/components/UiRoomCountdown/UiRoomCountdown.vue +376 -0
  192. package/src/components/UiShell/UiShell.vue +9 -3
  193. package/src/components/UiSideMenu/UiSideMenu.vue +155 -18
  194. package/src/components/UiSideMenu/UiSideMenuItemContent.vue +20 -16
  195. package/src/components/UiStepper/UiStepper.vue +3 -16
  196. package/src/components/UiStepper/UiStepperDescription.vue +1 -13
  197. package/src/components/UiStepper/UiStepperIndicator.vue +11 -48
  198. package/src/components/UiStepper/UiStepperItem.vue +1 -8
  199. package/src/components/UiStepper/UiStepperSeparator.vue +5 -16
  200. package/src/components/UiStepper/UiStepperTitle.vue +1 -10
  201. package/src/components/UiSwitch/UiSwitch.vue +44 -28
  202. package/src/components/UiTable/UiTable.vue +98 -8
  203. package/src/components/UiTable/UiTableActionsCell.vue +135 -0
  204. package/src/components/UiTable/UiTableActionsHeaderCell.vue +19 -0
  205. package/src/components/UiTable/UiTableBody.vue +16 -1
  206. package/src/components/UiTable/UiTableCell.vue +33 -16
  207. package/src/components/UiTable/UiTableHeader.vue +6 -5
  208. package/src/components/UiTable/UiTableHeaderCell.vue +61 -9
  209. package/src/components/UiTable/UiTableRow.vue +46 -10
  210. package/src/components/UiTable/context.ts +5 -0
  211. package/src/components/UiTable/index.ts +4 -0
  212. package/src/components/UiTabs/UiTabs.vue +56 -61
  213. package/src/components/UiTag/UiTag.types.ts +28 -0
  214. package/src/components/UiTag/UiTag.vue +24 -42
  215. package/src/components/UiTag/index.ts +2 -0
  216. package/src/components/UiTextField/UiTextField.vue +21 -36
  217. package/src/components/UiTooltip/UiTooltipContent.vue +1 -1
  218. package/src/components/UiTooltip/UiTooltipProvider.vue +3 -0
  219. package/src/components/UiTooltip/UiTooltipTrigger.vue +16 -1
  220. package/src/composables/storedThemingApplies.ts +19 -0
  221. package/src/composables/useButtonStyles.ts +9 -13
  222. package/src/composables/useChoiceboxSurface.ts +36 -0
  223. package/src/composables/useContentMode.ts +29 -16
  224. package/src/composables/useControlModes.ts +11 -0
  225. package/src/composables/useControlShape.ts +34 -0
  226. package/src/composables/useFieldFocusEvents.ts +30 -0
  227. package/src/composables/useIconSize.ts +15 -0
  228. package/src/composables/usePullGesture.ts +142 -0
  229. package/src/composables/useThemeAndModes.ts +28 -1
  230. package/src/css/body.css +16 -1
  231. package/src/css/fonts.css +39 -5
  232. package/src/global.d.ts +36 -0
  233. package/src/theming/colorScale.ts +173 -0
  234. package/src/theming/legacyColorScale.ts +58 -0
  235. package/src/theming/presetColors.ts +33 -0
  236. package/src/theming/primitiveTokens.ts +71 -0
  237. package/src/utils/effectiveOpacity.ts +8 -0
  238. package/src/utils/i18n.ts +6 -0
  239. package/src/utils/numbers.ts +1 -1
  240. package/src/utils/responsive.d.ts +14 -0
  241. package/src/utils/tokenColor.ts +9 -0
  242. package/dist/UiTimelineItem.vue_vue_type_style_index_0_lang-LpdvGf5X.mjs +0 -6093
  243. package/dist/a11y-BhF_nl7L.mjs +0 -159
  244. package/dist/i18n-Cktw9hIu.mjs +0 -49
  245. package/dist/toastDSV2-wMh-UMzW.mjs +0 -74
  246. package/dist/types/src/components/UiAvatar/index.d.ts +0 -1
  247. package/dist/types/src/components/UiAvatarList/index.d.ts +0 -1
  248. package/dist/types/src/components/UiBadge/index.d.ts +0 -1
  249. package/dist/types/src/components/UiBanner/index.d.ts +0 -2
  250. package/dist/types/src/components/UiButtonGroup/index.d.ts +0 -3
  251. package/dist/types/src/components/UiCarousel/index.d.ts +0 -2
  252. package/dist/types/src/components/UiColorField/index.d.ts +0 -2
  253. package/dist/types/src/components/UiDialog/MarketplaceHeaderExample.vue.d.ts +0 -28
  254. package/dist/types/src/components/UiDialog/index.d.ts +0 -7
  255. package/dist/types/src/components/UiFieldWrapper/index.d.ts +0 -1
  256. package/dist/types/src/components/UiInputCheckbox/index.d.ts +0 -2
  257. package/dist/types/src/components/UiInputEmoji/index.d.ts +0 -1
  258. package/dist/types/src/components/UiInputRadio/index.d.ts +0 -3
  259. package/dist/types/src/components/UiInputSelect/index.d.ts +0 -2
  260. package/dist/types/src/components/UiInputTextarea/index.d.ts +0 -2
  261. package/dist/types/src/components/UiMenu/index.d.ts +0 -10
  262. package/dist/types/src/components/UiProgress/index.d.ts +0 -2
  263. package/dist/types/src/components/UiSwitch/index.d.ts +0 -2
  264. package/dist/types/src/components/UiTabs/index.d.ts +0 -2
  265. package/dist/types/src/components/UiTimeline/index.d.ts +0 -2
  266. package/dist/types/src/components/UiTooltip/index.d.ts +0 -4
  267. package/dist/types/src/mixins/DynamicAction.d.ts +0 -30
  268. package/dist/useThemeAndModes-BzYwSOEv.mjs +0 -108
  269. package/src/components/UiAvatar/index.js +0 -1
  270. package/src/components/UiAvatarList/index.js +0 -1
  271. package/src/components/UiBadge/index.ts +0 -2
  272. package/src/components/UiBanner/index.ts +0 -2
  273. package/src/components/UiButtonGroup/index.ts +0 -3
  274. package/src/components/UiCarousel/index.ts +0 -2
  275. package/src/components/UiColorField/index.ts +0 -2
  276. package/src/components/UiDialog/MarketplaceHeaderExample.vue +0 -217
  277. package/src/components/UiDialog/index.ts +0 -18
  278. package/src/components/UiFieldWrapper/index.ts +0 -1
  279. package/src/components/UiInputCheckbox/index.ts +0 -2
  280. package/src/components/UiInputEmoji/index.ts +0 -1
  281. package/src/components/UiInputRadio/index.ts +0 -3
  282. package/src/components/UiInputSelect/index.ts +0 -2
  283. package/src/components/UiInputTextarea/index.ts +0 -2
  284. package/src/components/UiMenu/index.ts +0 -10
  285. package/src/components/UiProgress/index.ts +0 -2
  286. package/src/components/UiSwitch/index.ts +0 -2
  287. package/src/components/UiTabs/index.ts +0 -5
  288. package/src/components/UiTag/index.js +0 -1
  289. package/src/components/UiTimeline/index.ts +0 -2
  290. package/src/components/UiTooltip/index.js +0 -4
  291. package/src/mixins/DynamicAction.js +0 -61
@@ -0,0 +1,5 @@
1
+ export { default as UiDataTable } from './UiDataTable.vue';
2
+ export type { UiDataTableProps } from './UiDataTable.vue';
3
+ export type { UiDataTableColumn, UiDataTableSort } from './UiDataTable.types';
4
+ export { FlexRender, tableFeatures, useTable, } from '@tanstack/vue-table';
5
+ export type { ColumnDef, SortingState } from '@tanstack/vue-table';
@@ -0,0 +1,28 @@
1
+ import type { DrawerRootProps } from 'vaul-vue';
2
+ declare var __VLS_8: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_8) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<DrawerRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
+ "update:open": (open: boolean) => any;
8
+ close: () => any;
9
+ animationEnd: (open: boolean) => any;
10
+ drag: (percentageDragged: number) => any;
11
+ release: (open: boolean) => any;
12
+ "update:activeSnapPoint": (val: string | number) => any;
13
+ }, string, import("vue").PublicProps, Readonly<DrawerRootProps> & Readonly<{
14
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
15
+ onClose?: (() => any) | undefined;
16
+ onAnimationEnd?: ((open: boolean) => any) | undefined;
17
+ onDrag?: ((percentageDragged: number) => any) | undefined;
18
+ onRelease?: ((open: boolean) => any) | undefined;
19
+ "onUpdate:activeSnapPoint"?: ((val: string | number) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,18 @@
1
+ interface UiDrawerContentProps {
2
+ title?: string;
3
+ }
4
+ declare var __VLS_36: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_36) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<UiDrawerContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UiDrawerContentProps> & Readonly<{}>, {
9
+ title: string;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,14 @@
1
+ import type { DrawerTriggerProps } from 'vaul-vue';
2
+ declare var __VLS_8: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_8) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<DrawerTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DrawerTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ type __VLS_WithSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -1,6 +1,15 @@
1
1
  import type { SelectContentProps } from 'reka-ui';
2
+ declare const WIDTH_CLASSES: {
3
+ readonly auto: "";
4
+ readonly lg: "w-75";
5
+ };
2
6
  interface Props extends SelectContentProps {
3
7
  showScrollButtons?: boolean;
8
+ /**
9
+ * 'auto' sizes the content to the trigger and its items; 'lg' gives items with descriptions a fixed 300px
10
+ * @default 'auto'
11
+ */
12
+ width?: keyof typeof WIDTH_CLASSES;
4
13
  /**
5
14
  * The color semantic mode for the dropdown content
6
15
  * @default 'light'
@@ -17,6 +26,7 @@ type __VLS_Slots = {} & {
17
26
  };
18
27
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
19
28
  position: "item-aligned" | "popper";
29
+ width: keyof typeof WIDTH_CLASSES;
20
30
  side: "top" | "right" | "bottom" | "left";
21
31
  sideOffset: number;
22
32
  align: "center" | "start" | "end";
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ /** Heading read before the options of the group; leave it out for an untitled group. */
3
+ label?: string;
4
+ };
5
+ declare var __VLS_14: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_14) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -3,20 +3,23 @@ interface Props extends SelectItemProps {
3
3
  title?: string;
4
4
  description?: string;
5
5
  icon?: string;
6
+ /** `danger` marks an option that takes something away, such as removing access. */
7
+ variant?: 'default' | 'danger';
6
8
  }
7
- declare var __VLS_8: {}, __VLS_16: {}, __VLS_18: {}, __VLS_20: {};
9
+ declare var __VLS_15: {}, __VLS_23: {}, __VLS_25: {}, __VLS_27: {};
8
10
  type __VLS_Slots = {} & {
9
- leading?: (props: typeof __VLS_8) => any;
11
+ leading?: (props: typeof __VLS_15) => any;
10
12
  } & {
11
- title?: (props: typeof __VLS_16) => any;
13
+ title?: (props: typeof __VLS_23) => any;
12
14
  } & {
13
- description?: (props: typeof __VLS_18) => any;
15
+ description?: (props: typeof __VLS_25) => any;
14
16
  } & {
15
- right?: (props: typeof __VLS_20) => any;
17
+ right?: (props: typeof __VLS_27) => any;
16
18
  };
17
19
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
18
20
  title: string;
19
21
  icon: string;
22
+ variant: "default" | "danger";
20
23
  description: string;
21
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -15,16 +15,31 @@ interface Props extends SelectTriggerProps {
15
15
  color?: TColor;
16
16
  /**
17
17
  * Visual variant, named to match `UiButton`. `secondary` (default) is the
18
- * bordered field look. `tertiary` drops the border + background to read like
19
- * a `UiButton` tertiary — the trigger shows only colored text with a hover
20
- * overlay, so it sits flush next to tertiary buttons (e.g. a "View all" CTA).
18
+ * bordered field look. `tertiary` drops the border + background: the trigger
19
+ * shows only its value, coloured like a `UiButton` tertiary and set in the
20
+ * regular body text style, with a hover overlay. It suits a value picked
21
+ * inside a row, such as a role beside a person.
21
22
  */
22
23
  variant?: TVariant;
23
24
  error?: boolean;
25
+ /**
26
+ * Shows the value as static text in the box of an editable trigger: same size, padding and
27
+ * border width, no fill, and an empty slot where the chevron would be, so its text ends where an
28
+ * editable trigger's value ends. It is not focusable and opens nothing; it renders as a `group`, so pass
29
+ * `aria-labelledby` (for example the row's name) to label it like the editable trigger.
30
+ * The value reads in the secondary text colour. Render it from the `value` slot.
31
+ */
32
+ readonly?: boolean;
24
33
  }
25
- declare var __VLS_13: {};
34
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_12: {}, __VLS_19: {};
26
35
  type __VLS_Slots = {} & {
27
- value?: (props: typeof __VLS_13) => any;
36
+ leading?: (props: typeof __VLS_1) => any;
37
+ } & {
38
+ value?: (props: typeof __VLS_3) => any;
39
+ } & {
40
+ leading?: (props: typeof __VLS_12) => any;
41
+ } & {
42
+ value?: (props: typeof __VLS_19) => any;
28
43
  };
29
44
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
30
45
  size: TSize;
@@ -34,6 +49,7 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
34
49
  error: boolean;
35
50
  showIcon: boolean;
36
51
  placeholder: string;
52
+ readonly: boolean;
37
53
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
54
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
55
  declare const _default: typeof __VLS_export;
@@ -2,5 +2,6 @@ export { default as UiDropdown } from './UiDropdown.vue';
2
2
  export { default as UiDropdownTrigger } from './UiDropdownTrigger.vue';
3
3
  export { default as UiDropdownContent } from './UiDropdownContent.vue';
4
4
  export { default as UiDropdownItem } from './UiDropdownItem.vue';
5
+ export { default as UiDropdownGroup } from './UiDropdownGroup.vue';
5
6
  export { default as UiDropdownSeparator } from './UiDropdownSeparator.vue';
6
7
  export { SelectGroup, SelectLabel, SelectScrollUpButton, SelectScrollDownButton, SelectArrow, type SelectRootProps, type SelectRootEmits, type SelectContentProps, type SelectContentEmits, type SelectItemProps, type SelectTriggerProps, } from 'reka-ui';
@@ -0,0 +1,22 @@
1
+ interface UiEmojiPickerListProps {
2
+ locale?: string;
3
+ searchPlaceholder?: string;
4
+ loadingLabel?: string;
5
+ emptyLabel?: string;
6
+ previewPlaceholder?: string;
7
+ skinToneLabel?: string;
8
+ }
9
+ declare const __VLS_export: import("vue").DefineComponent<UiEmojiPickerListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ select: (emoji: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<UiEmojiPickerListProps> & Readonly<{
12
+ onSelect?: ((emoji: string) => any) | undefined;
13
+ }>, {
14
+ locale: string;
15
+ searchPlaceholder: string;
16
+ loadingLabel: string;
17
+ emptyLabel: string;
18
+ previewPlaceholder: string;
19
+ skinToneLabel: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
@@ -5,19 +5,24 @@ export interface UiEmptyStateProps {
5
5
  description?: string;
6
6
  /** Optional illustration image URL */
7
7
  image?: string;
8
+ /** Optional .lottie animation URL, takes precedence over `image` */
9
+ lottieSrc?: string;
8
10
  /** Layout orientation. `vertical` stacks the illustration above the text; `horizontal` places it to the right. */
9
11
  variant?: 'vertical' | 'horizontal';
10
12
  }
11
- declare var __VLS_1: {}, __VLS_3: {};
13
+ declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {};
12
14
  type __VLS_Slots = {} & {
13
- 'primary-action'?: (props: typeof __VLS_1) => any;
15
+ description?: (props: typeof __VLS_6) => any;
14
16
  } & {
15
- 'secondary-action'?: (props: typeof __VLS_3) => any;
17
+ 'primary-action'?: (props: typeof __VLS_8) => any;
18
+ } & {
19
+ 'secondary-action'?: (props: typeof __VLS_10) => any;
16
20
  };
17
21
  declare const __VLS_base: import("vue").DefineComponent<UiEmptyStateProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UiEmptyStateProps> & Readonly<{}>, {
18
22
  image: string;
19
23
  variant: "vertical" | "horizontal";
20
24
  description: string;
25
+ lottieSrc: string;
21
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
28
  declare const _default: typeof __VLS_export;
@@ -21,10 +21,10 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {
21
21
  label: string;
22
22
  required: boolean;
23
23
  error: boolean;
24
- id: string;
25
24
  labelInfo: string;
26
- helperMessage: string;
27
25
  errorMessage: string;
26
+ id: string;
27
+ helperMessage: string;
28
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
30
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,17 @@
1
+ import type { CheckboxSize } from './types';
2
+ interface Props {
3
+ checked?: boolean;
4
+ indeterminate?: boolean;
5
+ error?: boolean;
6
+ disabled?: boolean;
7
+ size?: CheckboxSize;
8
+ }
9
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
10
+ size: CheckboxSize;
11
+ disabled: boolean;
12
+ error: boolean;
13
+ checked: boolean;
14
+ indeterminate: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -1,4 +1,5 @@
1
1
  import type { CheckboxSize } from './types';
2
+ import type { ControlPosition } from '../UiChoice/types';
2
3
  interface UiInputCheckboxProps {
3
4
  /**
4
5
  * The checkbox value (boolean for single checkbox, or value for array binding)
@@ -40,6 +41,11 @@ interface UiInputCheckboxProps {
40
41
  * Info tooltip for the label
41
42
  */
42
43
  labelInfo?: string;
44
+ /**
45
+ * Icon class rendered between the checkbox and the text (e.g. `i-ph-bell`).
46
+ * In vertical orientation it sits above the text instead.
47
+ */
48
+ icon?: string;
43
49
  /**
44
50
  * Description text below the label
45
51
  */
@@ -61,6 +67,10 @@ interface UiInputCheckboxProps {
61
67
  * @default 'md'
62
68
  */
63
69
  size?: CheckboxSize;
70
+ /**
71
+ * Accessible name for the input, for checkboxes rendered without a label
72
+ */
73
+ ariaLabel?: string;
64
74
  /**
65
75
  * Layout orientation
66
76
  * @default 'horizontal'
@@ -71,10 +81,25 @@ interface UiInputCheckboxProps {
71
81
  * @default false
72
82
  */
73
83
  showBg?: boolean;
84
+ /**
85
+ * Whether the checkbox stretches to fill its container instead of
86
+ * shrink-wrapping its content
87
+ * @default false
88
+ */
89
+ fullWidth?: boolean;
90
+ /**
91
+ * Which side of the text the checkbox sits on, in horizontal orientation
92
+ * @default 'start'
93
+ */
94
+ controlPosition?: ControlPosition;
74
95
  }
75
- declare var __VLS_9: {};
96
+ declare var __VLS_1: {}, __VLS_8: {}, __VLS_18: {};
76
97
  type __VLS_Slots = {} & {
77
- label?: (props: typeof __VLS_9) => any;
98
+ icon?: (props: typeof __VLS_1) => any;
99
+ } & {
100
+ icon?: (props: typeof __VLS_8) => any;
101
+ } & {
102
+ label?: (props: typeof __VLS_18) => any;
78
103
  };
79
104
  declare const __VLS_base: import("vue").DefineComponent<UiInputCheckboxProps, {
80
105
  focus: () => void | undefined;
@@ -82,21 +107,27 @@ declare const __VLS_base: import("vue").DefineComponent<UiInputCheckboxProps, {
82
107
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
108
  "update:modelValue": (value: string | number | boolean | (string | number)[]) => any;
84
109
  change: (event: Event) => any;
85
- blur: (event: FocusEvent) => any;
86
110
  focus: (event: FocusEvent) => any;
111
+ blur: (event: FocusEvent) => any;
112
+ "tooltip-clicked": () => any;
87
113
  }, string, import("vue").PublicProps, Readonly<UiInputCheckboxProps> & Readonly<{
88
114
  "onUpdate:modelValue"?: ((value: string | number | boolean | (string | number)[]) => any) | undefined;
89
115
  onChange?: ((event: Event) => any) | undefined;
90
- onBlur?: ((event: FocusEvent) => any) | undefined;
91
116
  onFocus?: ((event: FocusEvent) => any) | undefined;
117
+ onBlur?: ((event: FocusEvent) => any) | undefined;
118
+ "onTooltip-clicked"?: (() => any) | undefined;
92
119
  }>, {
93
120
  orientation: "horizontal" | "vertical";
94
121
  size: CheckboxSize;
122
+ ariaLabel: string;
123
+ icon: string;
95
124
  disabled: boolean;
96
125
  required: boolean;
97
126
  error: boolean;
127
+ fullWidth: boolean;
98
128
  checked: boolean;
99
129
  indeterminate: boolean;
130
+ controlPosition: ControlPosition;
100
131
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
101
132
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
102
133
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,19 @@
1
+ import type { RadioValue } from './types';
2
+ interface Props {
3
+ inputId: string;
4
+ value: RadioValue;
5
+ disabled: boolean;
6
+ error: boolean;
7
+ ariaDescribedby?: string;
8
+ radioClasses: string[];
9
+ indicatorClasses: string[];
10
+ }
11
+ declare const __VLS_export: import("vue").DefineComponent<Props, {
12
+ el: () => HTMLElement | undefined;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ select: (event: Event) => any;
15
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
16
+ onSelect?: ((event: Event) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -1,4 +1,5 @@
1
- import type { RadioValue, RadioVariant } from './types';
1
+ import type { RadioValue } from './types';
2
+ import type { ControlPosition } from '../UiChoice/types';
2
3
  interface UiInputRadioProps {
3
4
  /**
4
5
  * The value this option represents. `null` is a valid value;
@@ -17,6 +18,11 @@ interface UiInputRadioProps {
17
18
  * Info tooltip for the label
18
19
  */
19
20
  labelInfo?: string;
21
+ /**
22
+ * Icon class rendered between the radio and the text (e.g. `i-ph-bell`).
23
+ * In vertical orientation it sits above the text instead.
24
+ */
25
+ icon?: string;
20
26
  /**
21
27
  * Whether this option is disabled
22
28
  * @default false
@@ -28,18 +34,24 @@ interface UiInputRadioProps {
28
34
  */
29
35
  orientation?: 'horizontal' | 'vertical';
30
36
  /**
31
- * Visual variant: 'card' renders a selectable tile
32
- * @default 'default'
37
+ * Which side of the text the radio sits on, in horizontal orientation
38
+ * @default 'start'
33
39
  */
34
- variant?: RadioVariant;
40
+ controlPosition?: ControlPosition;
35
41
  /**
36
42
  * Radio id attribute
37
43
  */
38
44
  id?: string;
39
45
  }
40
- declare var __VLS_22: {};
46
+ declare var __VLS_10: {}, __VLS_18: {}, __VLS_20: {}, __VLS_28: {};
41
47
  type __VLS_Slots = {} & {
42
- label?: (props: typeof __VLS_22) => any;
48
+ icon?: (props: typeof __VLS_10) => any;
49
+ } & {
50
+ label?: (props: typeof __VLS_18) => any;
51
+ } & {
52
+ label?: (props: typeof __VLS_20) => any;
53
+ } & {
54
+ content?: (props: typeof __VLS_28) => any;
43
55
  };
44
56
  declare const __VLS_base: import("vue").DefineComponent<UiInputRadioProps, {
45
57
  focus: () => void | undefined;
@@ -51,11 +63,12 @@ declare const __VLS_base: import("vue").DefineComponent<UiInputRadioProps, {
51
63
  }>, {
52
64
  orientation: "horizontal" | "vertical";
53
65
  label: string;
66
+ icon: string;
54
67
  disabled: boolean;
55
- variant: RadioVariant;
56
68
  description: string;
57
- id: string;
58
69
  labelInfo: string;
70
+ id: string;
71
+ controlPosition: ControlPosition;
59
72
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
60
73
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
61
74
  declare const _default: typeof __VLS_export;
@@ -50,6 +50,10 @@ interface UiInputRadioGroupProps {
50
50
  * @default false
51
51
  */
52
52
  fullWidth?: boolean;
53
+ /**
54
+ * Id of the element naming the group, set on the radiogroup itself
55
+ */
56
+ ariaLabelledby?: string;
53
57
  }
54
58
  declare var __VLS_9: {};
55
59
  type __VLS_Slots = {} & {
@@ -68,8 +72,9 @@ declare const __VLS_base: import("vue").DefineComponent<UiInputRadioGroupProps,
68
72
  error: boolean;
69
73
  name: string;
70
74
  modelValue: RadioValue;
71
- errorMessage: string;
72
75
  fullWidth: boolean;
76
+ errorMessage: string;
77
+ ariaLabelledby: string;
73
78
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
74
79
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
75
80
  declare const _default: typeof __VLS_export;
@@ -1,7 +1,6 @@
1
1
  import type { InjectionKey, Ref } from 'vue';
2
2
  import type { AcceptableValue } from 'reka-ui';
3
3
  export type RadioSize = 'sm' | 'md' | 'lg';
4
- export type RadioVariant = 'default' | 'card';
5
4
  /**
6
5
  * Valid radio option values. `null` is a supported option value;
7
6
  * `undefined` means "no selection". Object values must be reference-stable.
@@ -12,6 +11,7 @@ export interface RadioGroupContext {
12
11
  modelValue: Readonly<Ref<RadioValue | undefined>>;
13
12
  error: Readonly<Ref<boolean>>;
14
13
  size: Readonly<Ref<RadioSize>>;
14
+ orientation: Readonly<Ref<'vertical' | 'horizontal'>>;
15
15
  disabled: Readonly<Ref<boolean>>;
16
16
  /** id of the group error message, for aria-describedby on items */
17
17
  messageId: Readonly<Ref<string | undefined>>;
@@ -44,17 +44,17 @@ declare const __VLS_base: import("vue").DefineComponent<UiInputSelectProps, {},
44
44
  defaultOpen: boolean;
45
45
  required: boolean;
46
46
  error: boolean;
47
- loading: boolean;
48
47
  name: string;
48
+ loading: boolean;
49
49
  modelValue: string | string[] | null;
50
50
  multiple: boolean;
51
- placeholder: string;
52
- id: string;
53
51
  labelInfo: string;
54
- helperMessage: string;
55
52
  errorMessage: string;
56
- clearable: boolean;
53
+ id: string;
57
54
  ariaDescribedby: string;
55
+ placeholder: string;
56
+ helperMessage: string;
57
+ clearable: boolean;
58
58
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
59
59
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
60
60
  declare const _default: typeof __VLS_export;
@@ -22,16 +22,16 @@ declare const __VLS_export: import("vue").DefineComponent<UiInputTextareaProps,
22
22
  focus: () => void | undefined;
23
23
  blur: () => void | undefined;
24
24
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ keydown: (event: KeyboardEvent) => any;
25
26
  "update:modelValue": (value: string) => any;
26
- blur: (event: FocusEvent) => any;
27
27
  focus: (event: FocusEvent) => any;
28
- keydown: (event: KeyboardEvent) => any;
28
+ blur: (event: FocusEvent) => any;
29
29
  keyup: (event: KeyboardEvent) => any;
30
30
  }, string, import("vue").PublicProps, Readonly<UiInputTextareaProps> & Readonly<{
31
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
31
32
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
32
- onBlur?: ((event: FocusEvent) => any) | undefined;
33
33
  onFocus?: ((event: FocusEvent) => any) | undefined;
34
- onKeydown?: ((event: KeyboardEvent) => any) | undefined;
34
+ onBlur?: ((event: FocusEvent) => any) | undefined;
35
35
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
36
36
  }>, {
37
37
  size: TextareaSize;
@@ -40,8 +40,8 @@ declare const __VLS_export: import("vue").DefineComponent<UiInputTextareaProps,
40
40
  error: boolean;
41
41
  loading: boolean;
42
42
  modelValue: string;
43
- placeholder: string;
44
43
  ariaDescribedby: string;
44
+ placeholder: string;
45
45
  rows: number;
46
46
  resizable: boolean;
47
47
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -13,18 +13,32 @@ type __VLS_Props = {
13
13
  additionalInfo?: string;
14
14
  to?: RouteLocationRaw;
15
15
  href?: string;
16
+ /**
17
+ * Aligns the content with the container edge; the hover and active fill bleeds past it without widening the row
18
+ */
19
+ flush?: boolean;
20
+ /**
21
+ * Aligns the content with the list's top and bottom edges: the row drops its vertical padding and minimum height,
22
+ * and the hover and active fill bleeds 0.25rem above and below. It is designed for rows spaced 0.5rem (8px) apart,
23
+ * where the fill reaches the middle of the gap and never covers the neighbour row
24
+ */
25
+ flushVertical?: boolean;
26
+ /**
27
+ * 'comfortable' adds vertical padding, for rows holding several lines beside an avatar
28
+ */
29
+ density?: 'compact' | 'comfortable';
16
30
  };
17
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
31
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
18
32
  type __VLS_Slots = {} & {
19
33
  avatar?: (props: typeof __VLS_1) => any;
20
34
  } & {
21
35
  default?: (props: typeof __VLS_3) => any;
22
36
  } & {
23
37
  aside?: (props: typeof __VLS_5) => any;
24
- } & {
25
- default?: (props: typeof __VLS_7) => any;
26
38
  };
27
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
40
+ density: "compact" | "comfortable";
41
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
42
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
43
  declare const _default: typeof __VLS_export;
30
44
  export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -1,21 +1,34 @@
1
1
  import type { DropdownMenuContentProps } from 'reka-ui';
2
+ declare const WIDTH_CLASSES: {
3
+ readonly auto: "";
4
+ readonly sm: "min-w-48";
5
+ readonly md: "min-w-56";
6
+ };
7
+ interface Props extends DropdownMenuContentProps {
8
+ /**
9
+ * 'auto' sizes the menu to its items; 'sm' and 'md' set a 192px and 224px minimum, and longer items still widen it
10
+ * @default 'auto'
11
+ */
12
+ width?: keyof typeof WIDTH_CLASSES;
13
+ }
2
14
  declare var __VLS_14: {};
3
15
  type __VLS_Slots = {} & {
4
16
  default?: (props: typeof __VLS_14) => any;
5
17
  };
6
- declare const __VLS_base: import("vue").DefineComponent<DropdownMenuContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
19
  escapeKeyDown: (event: KeyboardEvent) => any;
8
20
  pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
9
21
  focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
10
22
  interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
11
23
  closeAutoFocus: (event: Event) => any;
12
- }, string, import("vue").PublicProps, Readonly<DropdownMenuContentProps> & Readonly<{
24
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
13
25
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
14
26
  onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
15
27
  onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
16
28
  onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
17
29
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
18
30
  }>, {
31
+ width: keyof typeof WIDTH_CLASSES;
19
32
  side: "top" | "right" | "bottom" | "left";
20
33
  sideOffset: number;
21
34
  align: "center" | "start" | "end";