@livestorm/ui-vue 2.0.5 → 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 (302) hide show
  1. package/README.md +9 -6
  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 -222
  10. package/dist/i18n-B8QOMuFD.mjs +46 -0
  11. package/dist/index.mjs +4 -87
  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 +23 -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/UiActionBar.vue.d.ts +3 -1
  21. package/dist/types/src/components/UiActionBar/UiActionBarItem.vue.d.ts +18 -3
  22. package/dist/types/src/components/UiActionBar/types.d.ts +5 -1
  23. package/dist/types/src/components/UiAvatar/UiAvatar.vue.d.ts +4 -2
  24. package/dist/types/src/components/UiAvatarList/UiAvatarList.vue.d.ts +3 -2
  25. package/dist/types/src/components/UiBanner/UiBanner.vue.d.ts +13 -1
  26. package/dist/types/src/components/UiButton/UiButton.vue.d.ts +102 -38
  27. package/dist/types/src/components/UiButtonGroup/UiButtonGroup.vue.d.ts +8 -2
  28. package/dist/types/src/components/UiButtonGroup/UiButtonGroupItem.vue.d.ts +3 -0
  29. package/dist/types/src/components/UiButtonGroup/types.d.ts +5 -1
  30. package/dist/types/src/components/UiChoice/UiChoice.vue.d.ts +71 -0
  31. package/dist/types/src/components/UiChoice/index.d.ts +2 -0
  32. package/dist/types/src/components/UiChoice/types.d.ts +7 -0
  33. package/dist/types/src/components/UiColorField/UiColorField.vue.d.ts +1 -1
  34. package/dist/types/src/components/UiColorPicker/UiColorPicker.vue.d.ts +2 -2
  35. package/dist/types/src/components/UiCombobox/UiCombobox.types.d.ts +47 -0
  36. package/dist/types/src/components/UiCombobox/UiCombobox.vue.d.ts +40 -0
  37. package/dist/types/src/components/UiCombobox/index.d.ts +2 -0
  38. package/dist/types/src/components/UiDataTable/UiDataTable.types.d.ts +46 -0
  39. package/dist/types/src/components/UiDataTable/UiDataTable.vue.d.ts +136 -0
  40. package/dist/types/src/components/UiDataTable/index.d.ts +5 -0
  41. package/dist/types/src/components/UiDrawer/UiDrawer.vue.d.ts +28 -0
  42. package/dist/types/src/components/UiDrawer/UiDrawerContent.vue.d.ts +18 -0
  43. package/dist/types/src/components/UiDrawer/UiDrawerTrigger.vue.d.ts +14 -0
  44. package/dist/types/src/components/UiDropdown/DropdownItemCheckbox.vue.d.ts +3 -0
  45. package/dist/types/src/components/UiDropdown/UiDropdownContent.vue.d.ts +10 -0
  46. package/dist/types/src/components/UiDropdown/UiDropdownGroup.vue.d.ts +17 -0
  47. package/dist/types/src/components/UiDropdown/UiDropdownItem.vue.d.ts +9 -4
  48. package/dist/types/src/components/UiDropdown/UiDropdownTrigger.vue.d.ts +21 -5
  49. package/dist/types/src/components/UiDropdown/index.d.ts +1 -0
  50. package/dist/types/src/components/UiEmojiPickerList/UiEmojiPickerList.vue.d.ts +22 -0
  51. package/dist/types/src/components/UiEmptyState/UiEmptyState.vue.d.ts +8 -3
  52. package/dist/types/src/components/UiFieldWrapper/UiFieldWrapper.vue.d.ts +2 -2
  53. package/dist/types/src/components/UiInputCheckbox/CheckboxGlyph.vue.d.ts +17 -0
  54. package/dist/types/src/components/UiInputCheckbox/UiInputCheckbox.vue.d.ts +35 -4
  55. package/dist/types/src/components/UiInputEmoji/UiInputEmoji.vue.d.ts +45 -0
  56. package/dist/types/src/components/UiInputRadio/RadioGlyph.vue.d.ts +19 -0
  57. package/dist/types/src/components/UiInputRadio/UiInputRadio.vue.d.ts +80 -0
  58. package/dist/types/src/components/UiInputRadio/UiInputRadioGroup.vue.d.ts +86 -0
  59. package/dist/types/src/components/UiInputRadio/types.d.ts +19 -0
  60. package/dist/types/src/components/UiInputSelect/UiInputSelect.vue.d.ts +5 -5
  61. package/dist/types/src/components/UiInputTextarea/UiInputTextarea.vue.d.ts +5 -5
  62. package/dist/types/src/components/UiListItem/UiListItem.vue.d.ts +18 -4
  63. package/dist/types/src/components/UiLoader/UiLoader.vue.d.ts +6 -5
  64. package/dist/types/src/components/UiLoader/UiSpinnerIcon.vue.d.ts +3 -0
  65. package/dist/types/src/components/UiLogo/UiLogo.vue.d.ts +9 -3
  66. package/dist/types/src/components/UiMenu/UiMenuContent.vue.d.ts +15 -2
  67. package/dist/types/src/components/UiMenu/UiMenuItem.vue.d.ts +9 -3
  68. package/dist/types/src/components/UiNestedOptions/UiNestedOptions.vue.d.ts +13 -0
  69. package/dist/types/src/components/UiPage/UiPage.vue.d.ts +106 -8
  70. package/dist/types/src/components/UiPagination/UiPagination.vue.d.ts +36 -0
  71. package/dist/types/src/components/UiPagination/index.d.ts +2 -0
  72. package/dist/types/src/components/UiPagination/types.d.ts +4 -0
  73. package/dist/types/src/components/UiPane/UiPane.vue.d.ts +22 -0
  74. package/dist/types/src/components/UiPane/UiPaneContent.vue.d.ts +75 -0
  75. package/dist/types/src/components/UiPane/UiPaneTrigger.vue.d.ts +14 -0
  76. package/dist/types/src/components/UiPane/index.d.ts +5 -0
  77. package/dist/types/src/components/UiProgress/UiProgress.vue.d.ts +1 -1
  78. package/dist/types/src/components/UiRating/UiRating.vue.d.ts +62 -0
  79. package/dist/types/src/components/UiRating/types.d.ts +1 -0
  80. package/dist/types/src/components/UiRoomButton/UiRoomButton.vue.d.ts +5 -3
  81. package/dist/types/src/components/UiRoomCountdown/UiRoomCountdown.vue.d.ts +32 -0
  82. package/dist/types/src/components/UiShell/UiShell.vue.d.ts +3 -0
  83. package/dist/types/src/components/UiSideMenu/UiSideMenu.vue.d.ts +22 -1
  84. package/dist/types/src/components/UiSideMenu/UiSideMenuItemContent.vue.d.ts +2 -2
  85. package/dist/types/src/components/UiSwitch/UiSwitch.vue.d.ts +114 -0
  86. package/dist/types/src/components/UiSwitch/types.d.ts +3 -0
  87. package/dist/types/src/components/UiTable/UiTable.vue.d.ts +13 -4
  88. package/dist/types/src/components/UiTable/UiTableActionsCell.vue.d.ts +49 -0
  89. package/dist/types/src/components/UiTable/UiTableActionsHeaderCell.vue.d.ts +3 -0
  90. package/dist/types/src/components/UiTable/UiTableBody.vue.d.ts +11 -1
  91. package/dist/types/src/components/UiTable/UiTableCell.vue.d.ts +16 -1
  92. package/dist/types/src/components/UiTable/UiTableHeaderCell.vue.d.ts +31 -2
  93. package/dist/types/src/components/UiTable/UiTableRow.vue.d.ts +32 -2
  94. package/dist/types/src/components/UiTable/context.d.ts +3 -0
  95. package/dist/types/src/components/UiTable/index.d.ts +4 -0
  96. package/dist/types/src/components/UiTabs/UiTabs.vue.d.ts +8 -2
  97. package/dist/types/src/components/UiTag/UiTag.types.d.ts +25 -0
  98. package/dist/types/src/components/UiTag/UiTag.vue.d.ts +5 -26
  99. package/dist/types/src/components/UiTag/index.d.ts +2 -1
  100. package/dist/types/src/components/UiTextField/UiTextField.vue.d.ts +10 -5
  101. package/dist/types/src/components/UiTooltip/UiTooltipProvider.vue.d.ts +1 -0
  102. package/dist/types/src/components/UiTooltip/UiTooltipTrigger.vue.d.ts +2 -2
  103. package/dist/types/src/composables/storedThemingApplies.d.ts +17 -0
  104. package/dist/types/src/composables/useButtonStyles.d.ts +1 -0
  105. package/dist/types/src/composables/useChoiceboxSurface.d.ts +11 -0
  106. package/dist/types/src/composables/useContentMode.d.ts +23 -0
  107. package/dist/types/src/composables/useControlModes.d.ts +7 -0
  108. package/dist/types/src/composables/useControlShape.d.ts +24 -0
  109. package/dist/types/src/composables/useFieldFocusEvents.d.ts +12 -0
  110. package/dist/types/src/composables/useIconSize.d.ts +13 -0
  111. package/dist/types/src/composables/usePullGesture.d.ts +42 -0
  112. package/dist/types/src/composables/useThemeAndModes.d.ts +4 -0
  113. package/dist/types/src/constants/sizes.d.ts +1 -1
  114. package/dist/types/src/theming/colorScale.d.ts +165 -0
  115. package/dist/types/src/theming/legacyColorScale.d.ts +27 -0
  116. package/dist/types/src/theming/presetColors.d.ts +11 -0
  117. package/dist/types/src/theming/primitiveTokens.d.ts +2 -0
  118. package/dist/types/src/utils/effectiveOpacity.d.ts +2 -0
  119. package/dist/types/src/utils/numbers.d.ts +1 -2
  120. package/dist/types/src/utils/tokenColor.d.ts +2 -0
  121. package/dist/ui-vue.css +2 -1
  122. package/dist/utils.mjs +165 -194
  123. package/index.d.ts +22 -0
  124. package/index.js +44 -0
  125. package/package.json +28 -20
  126. package/src/components/Toast/LayoutToasts.vue +19 -11
  127. package/src/components/Toast/ToastMessage.vue +130 -73
  128. package/src/components/Toast/toastDSV2.ts +238 -67
  129. package/src/components/UiActionBar/UiActionBar.vue +15 -5
  130. package/src/components/UiActionBar/UiActionBarItem.vue +65 -38
  131. package/src/components/UiActionBar/types.ts +16 -1
  132. package/src/components/UiAvatar/UiAvatar.vue +9 -3
  133. package/src/components/UiAvatarList/UiAvatarList.vue +51 -20
  134. package/src/components/UiBadge/UiBadge.vue +1 -1
  135. package/src/components/UiBanner/UiBanner.vue +77 -27
  136. package/src/components/UiBreadcrumb/UiBreadcrumb.vue +1 -1
  137. package/src/components/UiButton/UiButton.vue +96 -29
  138. package/src/components/UiButtonGroup/UiButtonGroup.vue +22 -16
  139. package/src/components/UiButtonGroup/UiButtonGroupItem.vue +44 -14
  140. package/src/components/UiButtonGroup/types.ts +20 -1
  141. package/src/components/UiCard/UiCard.vue +20 -23
  142. package/src/components/UiCarousel/UiCarousel.vue +2 -2
  143. package/src/components/UiChoice/UiChoice.vue +187 -0
  144. package/src/components/UiChoice/index.ts +2 -0
  145. package/src/components/UiChoice/types.ts +11 -0
  146. package/src/components/UiColorField/UiColorField.vue +2 -2
  147. package/src/components/UiColorPicker/UiColorPicker.vue +16 -13
  148. package/src/components/UiCombobox/UiCombobox.types.ts +52 -0
  149. package/src/components/UiCombobox/UiCombobox.vue +296 -0
  150. package/src/components/UiCombobox/index.ts +2 -0
  151. package/src/components/UiDataTable/UiDataTable.types.ts +47 -0
  152. package/src/components/UiDataTable/UiDataTable.vue +422 -0
  153. package/src/components/UiDataTable/index.ts +12 -0
  154. package/src/components/UiDialog/UiDialogClose.vue +1 -1
  155. package/src/components/UiDialog/UiDialogContent.vue +22 -7
  156. package/src/components/UiDrawer/UiDrawer.vue +16 -0
  157. package/src/components/UiDrawer/UiDrawerContent.vue +42 -0
  158. package/src/components/UiDrawer/UiDrawerTrigger.vue +17 -0
  159. package/src/components/UiDropdown/DropdownItemCheckbox.vue +10 -0
  160. package/src/components/UiDropdown/UiDropdownContent.vue +32 -21
  161. package/src/components/UiDropdown/UiDropdownGroup.vue +23 -0
  162. package/src/components/UiDropdown/UiDropdownItem.vue +45 -18
  163. package/src/components/UiDropdown/UiDropdownSeparator.vue +1 -1
  164. package/src/components/UiDropdown/UiDropdownTrigger.vue +139 -45
  165. package/src/components/UiDropdown/index.ts +1 -0
  166. package/src/components/UiEmojiPickerList/UiEmojiPickerList.vue +122 -0
  167. package/src/components/UiEmptyState/UiEmptyState.vue +16 -4
  168. package/src/components/UiFieldWrapper/UiFieldWrapper.vue +10 -4
  169. package/src/components/UiHorizontalSeparator/UiHorizontalSeparator.vue +2 -2
  170. package/src/components/UiInputCheckbox/CheckboxGlyph.vue +78 -0
  171. package/src/components/UiInputCheckbox/UiInputCheckbox.vue +213 -177
  172. package/src/components/UiInputEmoji/UiInputEmoji.vue +96 -0
  173. package/src/components/UiInputRadio/RadioGlyph.vue +45 -0
  174. package/src/components/UiInputRadio/UiInputRadio.vue +382 -0
  175. package/src/components/UiInputRadio/UiInputRadioGroup.vue +166 -0
  176. package/src/components/UiInputRadio/types.ts +24 -0
  177. package/src/components/UiInputSelect/UiInputSelect.vue +9 -7
  178. package/src/components/UiInputTextarea/UiInputTextarea.vue +20 -35
  179. package/src/components/UiLabel/UiLabel.vue +1 -1
  180. package/src/components/UiListItem/UiListItem.vue +55 -9
  181. package/src/components/UiLoader/UiLoader.vue +11 -29
  182. package/src/components/UiLoader/UiSpinnerIcon.vue +21 -0
  183. package/src/components/UiLogo/UiLogo.vue +41 -7
  184. package/src/components/UiMenu/UiMenuContent.vue +24 -3
  185. package/src/components/UiMenu/UiMenuGroup.vue +1 -1
  186. package/src/components/UiMenu/UiMenuItem.vue +14 -3
  187. package/src/components/UiMenu/UiMenuSubContent.vue +1 -1
  188. package/src/components/UiMenu/UiMenuSubTrigger.vue +2 -2
  189. package/src/components/UiNestedOptions/UiNestedOptions.vue +6 -0
  190. package/src/components/UiPage/UiPage.vue +273 -47
  191. package/src/components/UiPageHeader/UiPageHeader.vue +29 -9
  192. package/src/components/UiPagination/UiPagination.vue +99 -0
  193. package/src/components/UiPagination/index.ts +2 -0
  194. package/src/components/UiPagination/types.ts +28 -0
  195. package/src/components/UiPane/UiPane.vue +20 -0
  196. package/src/components/UiPane/UiPaneContent.vue +232 -0
  197. package/src/components/UiPane/UiPaneTrigger.vue +14 -0
  198. package/src/components/UiPane/index.ts +12 -0
  199. package/src/components/UiPopover/UiPopoverContent.vue +21 -1
  200. package/src/components/UiProgress/UiProgress.vue +2 -2
  201. package/src/components/UiRating/UiRating.vue +258 -0
  202. package/src/components/UiRating/types.ts +1 -0
  203. package/src/components/UiRoomButton/UiRoomButton.vue +14 -45
  204. package/src/components/UiRoomCountdown/UiRoomCountdown.vue +376 -0
  205. package/src/components/UiShell/UiShell.vue +10 -4
  206. package/src/components/UiSideMenu/UiSideMenu.vue +158 -18
  207. package/src/components/UiSideMenu/UiSideMenuItemContent.vue +22 -18
  208. package/src/components/UiStepper/UiStepper.vue +3 -16
  209. package/src/components/UiStepper/UiStepperDescription.vue +1 -13
  210. package/src/components/UiStepper/UiStepperIndicator.vue +17 -57
  211. package/src/components/UiStepper/UiStepperItem.vue +1 -8
  212. package/src/components/UiStepper/UiStepperSeparator.vue +5 -16
  213. package/src/components/UiStepper/UiStepperTitle.vue +1 -10
  214. package/src/components/UiSwitch/UiSwitch.vue +375 -0
  215. package/src/components/UiSwitch/types.ts +5 -0
  216. package/src/components/UiTable/UiTable.vue +98 -8
  217. package/src/components/UiTable/UiTableActionsCell.vue +135 -0
  218. package/src/components/UiTable/UiTableActionsHeaderCell.vue +19 -0
  219. package/src/components/UiTable/UiTableBody.vue +16 -1
  220. package/src/components/UiTable/UiTableCell.vue +33 -16
  221. package/src/components/UiTable/UiTableHeader.vue +6 -5
  222. package/src/components/UiTable/UiTableHeaderCell.vue +61 -9
  223. package/src/components/UiTable/UiTableRow.vue +46 -10
  224. package/src/components/UiTable/context.ts +5 -0
  225. package/src/components/UiTable/index.ts +4 -0
  226. package/src/components/UiTabs/UiTabs.vue +61 -63
  227. package/src/components/UiTag/UiTag.types.ts +28 -0
  228. package/src/components/UiTag/UiTag.vue +24 -42
  229. package/src/components/UiTag/index.ts +2 -0
  230. package/src/components/UiTextField/UiTextField.vue +27 -47
  231. package/src/components/UiTimeline/README.md +6 -6
  232. package/src/components/UiTimeline/UiTimelineItem.vue +3 -3
  233. package/src/components/UiTooltip/UiTooltipContent.vue +1 -1
  234. package/src/components/UiTooltip/UiTooltipProvider.vue +3 -0
  235. package/src/components/UiTooltip/UiTooltipTrigger.vue +16 -1
  236. package/src/composables/storedThemingApplies.ts +19 -0
  237. package/src/composables/useButtonStyles.ts +9 -13
  238. package/src/composables/useChoiceboxSurface.ts +36 -0
  239. package/src/composables/useContentMode.ts +66 -0
  240. package/src/composables/useControlModes.ts +11 -0
  241. package/src/composables/useControlShape.ts +34 -0
  242. package/src/composables/useFieldFocusEvents.ts +30 -0
  243. package/src/composables/useIconSize.ts +43 -0
  244. package/src/composables/usePullGesture.ts +142 -0
  245. package/src/composables/useThemeAndModes.ts +28 -1
  246. package/src/constants/sizes.ts +1 -1
  247. package/src/css/body.css +16 -1
  248. package/src/css/fonts.css +39 -5
  249. package/src/global.d.ts +44 -0
  250. package/src/theming/colorScale.ts +173 -0
  251. package/src/theming/legacyColorScale.ts +58 -0
  252. package/src/theming/presetColors.ts +33 -0
  253. package/src/theming/primitiveTokens.ts +71 -0
  254. package/src/utils/effectiveOpacity.ts +8 -0
  255. package/src/utils/i18n.ts +6 -0
  256. package/src/utils/numbers.ts +1 -1
  257. package/src/utils/responsive.d.ts +14 -0
  258. package/src/utils/tokenColor.ts +9 -0
  259. package/dist/UiTimelineItem.vue_vue_type_style_index_0_lang-DJFdCn2R.mjs +0 -5456
  260. package/dist/a11y-BhF_nl7L.mjs +0 -159
  261. package/dist/i18n-Cktw9hIu.mjs +0 -49
  262. package/dist/toastDSV2-wMh-UMzW.mjs +0 -74
  263. package/dist/types/src/components/UiAvatar/index.d.ts +0 -1
  264. package/dist/types/src/components/UiAvatarList/index.d.ts +0 -1
  265. package/dist/types/src/components/UiBadge/index.d.ts +0 -1
  266. package/dist/types/src/components/UiBanner/index.d.ts +0 -2
  267. package/dist/types/src/components/UiButtonGroup/index.d.ts +0 -3
  268. package/dist/types/src/components/UiCarousel/index.d.ts +0 -2
  269. package/dist/types/src/components/UiColorField/index.d.ts +0 -2
  270. package/dist/types/src/components/UiDialog/MarketplaceHeaderExample.vue.d.ts +0 -28
  271. package/dist/types/src/components/UiDialog/index.d.ts +0 -7
  272. package/dist/types/src/components/UiFieldWrapper/index.d.ts +0 -1
  273. package/dist/types/src/components/UiInputCheckbox/index.d.ts +0 -2
  274. package/dist/types/src/components/UiInputSelect/index.d.ts +0 -2
  275. package/dist/types/src/components/UiInputTextarea/index.d.ts +0 -2
  276. package/dist/types/src/components/UiMenu/index.d.ts +0 -10
  277. package/dist/types/src/components/UiProgress/index.d.ts +0 -2
  278. package/dist/types/src/components/UiTabs/index.d.ts +0 -2
  279. package/dist/types/src/components/UiTimeline/index.d.ts +0 -2
  280. package/dist/types/src/components/UiTooltip/index.d.ts +0 -4
  281. package/dist/types/src/mixins/DynamicAction.d.ts +0 -30
  282. package/dist/useThemeAndModes-BzYwSOEv.mjs +0 -108
  283. package/src/components/UiAvatar/index.js +0 -1
  284. package/src/components/UiAvatarList/index.js +0 -1
  285. package/src/components/UiBadge/index.ts +0 -2
  286. package/src/components/UiBanner/index.ts +0 -2
  287. package/src/components/UiButtonGroup/index.ts +0 -3
  288. package/src/components/UiCarousel/index.ts +0 -2
  289. package/src/components/UiColorField/index.ts +0 -2
  290. package/src/components/UiDialog/MarketplaceHeaderExample.vue +0 -217
  291. package/src/components/UiDialog/index.ts +0 -18
  292. package/src/components/UiFieldWrapper/index.ts +0 -1
  293. package/src/components/UiInputCheckbox/index.ts +0 -2
  294. package/src/components/UiInputSelect/index.ts +0 -2
  295. package/src/components/UiInputTextarea/index.ts +0 -2
  296. package/src/components/UiMenu/index.ts +0 -10
  297. package/src/components/UiProgress/index.ts +0 -2
  298. package/src/components/UiTabs/index.ts +0 -5
  299. package/src/components/UiTag/index.js +0 -1
  300. package/src/components/UiTimeline/index.ts +0 -2
  301. package/src/components/UiTooltip/index.js +0 -4
  302. package/src/mixins/DynamicAction.js +0 -61
@@ -0,0 +1,86 @@
1
+ import type { RadioSize, RadioValue } from './types';
2
+ interface UiInputRadioGroupProps {
3
+ /**
4
+ * The selected value. `undefined` means no selection;
5
+ * `null` is a valid option value.
6
+ */
7
+ modelValue?: RadioValue;
8
+ /**
9
+ * Name attribute, submitted with the form via a hidden input
10
+ */
11
+ name?: string;
12
+ /**
13
+ * Whether the whole group is disabled
14
+ * @default false
15
+ */
16
+ disabled?: boolean;
17
+ /**
18
+ * Whether arrow-key navigation loops from last item to first
19
+ * @default true
20
+ */
21
+ loop?: boolean;
22
+ /**
23
+ * Whether a selection is required
24
+ * @default false
25
+ */
26
+ required?: boolean;
27
+ /**
28
+ * Whether the group is in an error state
29
+ * @default false
30
+ */
31
+ error?: boolean;
32
+ /**
33
+ * Error message displayed below the group
34
+ */
35
+ errorMessage?: string;
36
+ /**
37
+ * Size of the radio items
38
+ * @default 'md'
39
+ */
40
+ size?: RadioSize;
41
+ /**
42
+ * Layout direction of the items. Also sets the group's `aria-orientation`
43
+ * and the arrow-key navigation axis to match.
44
+ * @default 'vertical'
45
+ */
46
+ orientation?: 'vertical' | 'horizontal';
47
+ /**
48
+ * Whether the group stretches to fill its container instead of
49
+ * shrink-wrapping its items
50
+ * @default false
51
+ */
52
+ fullWidth?: boolean;
53
+ /**
54
+ * Id of the element naming the group, set on the radiogroup itself
55
+ */
56
+ ariaLabelledby?: string;
57
+ }
58
+ declare var __VLS_9: {};
59
+ type __VLS_Slots = {} & {
60
+ default?: (props: typeof __VLS_9) => any;
61
+ };
62
+ declare const __VLS_base: import("vue").DefineComponent<UiInputRadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
+ "update:modelValue": (value: import("reka-ui").AcceptableValue) => any;
64
+ }, string, import("vue").PublicProps, Readonly<UiInputRadioGroupProps> & Readonly<{
65
+ "onUpdate:modelValue"?: ((value: import("reka-ui").AcceptableValue) => any) | undefined;
66
+ }>, {
67
+ orientation: "vertical" | "horizontal";
68
+ size: RadioSize;
69
+ disabled: boolean;
70
+ required: boolean;
71
+ loop: boolean;
72
+ error: boolean;
73
+ name: string;
74
+ modelValue: RadioValue;
75
+ fullWidth: boolean;
76
+ errorMessage: string;
77
+ ariaLabelledby: string;
78
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
79
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
80
+ declare const _default: typeof __VLS_export;
81
+ export default _default;
82
+ type __VLS_WithSlots<T, S> = T & {
83
+ new (): {
84
+ $slots: S;
85
+ };
86
+ };
@@ -0,0 +1,19 @@
1
+ import type { InjectionKey, Ref } from 'vue';
2
+ import type { AcceptableValue } from 'reka-ui';
3
+ export type RadioSize = 'sm' | 'md' | 'lg';
4
+ /**
5
+ * Valid radio option values. `null` is a supported option value;
6
+ * `undefined` means "no selection". Object values must be reference-stable.
7
+ */
8
+ export type RadioValue = AcceptableValue;
9
+ export interface RadioGroupContext {
10
+ /** Current group value (kept in sync in both controlled and uncontrolled mode) */
11
+ modelValue: Readonly<Ref<RadioValue | undefined>>;
12
+ error: Readonly<Ref<boolean>>;
13
+ size: Readonly<Ref<RadioSize>>;
14
+ orientation: Readonly<Ref<'vertical' | 'horizontal'>>;
15
+ disabled: Readonly<Ref<boolean>>;
16
+ /** id of the group error message, for aria-describedby on items */
17
+ messageId: Readonly<Ref<string | undefined>>;
18
+ }
19
+ export declare const RADIO_GROUP_KEY: InjectionKey<RadioGroupContext>;
@@ -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;
@@ -1,17 +1,18 @@
1
+ import { type Size } from '../../constants';
1
2
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
3
  size: {
3
- type: StringConstructor;
4
+ type: () => Size;
4
5
  default: string;
5
- validator: (value: string) => boolean;
6
+ validator: (value: Size) => boolean;
6
7
  };
7
8
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
9
  size: {
9
- type: StringConstructor;
10
+ type: () => Size;
10
11
  default: string;
11
- validator: (value: string) => boolean;
12
+ validator: (value: Size) => boolean;
12
13
  };
13
14
  }>> & Readonly<{}>, {
14
- size: string;
15
+ size: "xs" | "sm" | "md" | "lg";
15
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
17
  declare const _default: typeof __VLS_export;
17
18
  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;
@@ -5,14 +5,20 @@ interface Props {
5
5
  width: number;
6
6
  /** Follow the brand palette (--color-brand-800) instead of the Livestorm navy. */
7
7
  themed?: boolean;
8
- /** Dark badge + white mark, for light backgrounds. */
9
- inverted?: boolean;
8
+ /**
9
+ * Dark badge + white mark, for light backgrounds. `"auto"` inverts
10
+ * whenever the logo sits inside a light `data-colors-semantic` scope.
11
+ */
12
+ inverted?: boolean | "auto";
10
13
  /** When false, renders the static logo (the resting pose). */
11
14
  animated?: boolean;
15
+ /** Accessible name announced for the logo. */
16
+ label?: string;
12
17
  }
13
18
  declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
19
+ label: string;
14
20
  variant: UiLogoVariant;
15
- inverted: boolean;
21
+ inverted: boolean | "auto";
16
22
  themed: boolean;
17
23
  animated: boolean;
18
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -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";
@@ -1,13 +1,19 @@
1
1
  import type { DropdownMenuItemProps } from 'reka-ui';
2
+ export interface UiMenuItemProps extends DropdownMenuItemProps {
3
+ /** `danger` marks a destructive action such as Remove or Delete. */
4
+ variant?: 'default' | 'danger';
5
+ }
2
6
  declare var __VLS_8: {};
3
7
  type __VLS_Slots = {} & {
4
8
  default?: (props: typeof __VLS_8) => any;
5
9
  };
6
- declare const __VLS_base: import("vue").DefineComponent<DropdownMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ declare const __VLS_base: import("vue").DefineComponent<UiMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
11
  select: (event: Event) => any;
8
- }, string, import("vue").PublicProps, Readonly<DropdownMenuItemProps> & Readonly<{
12
+ }, string, import("vue").PublicProps, Readonly<UiMenuItemProps> & Readonly<{
9
13
  onSelect?: ((event: Event) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ }>, {
15
+ variant: "default" | "danger";
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
18
  declare const _default: typeof __VLS_export;
13
19
  export default _default;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -1,23 +1,115 @@
1
1
  import { type Slot } from 'vue';
2
+ /**
3
+ * Headroom sizes, in px: the gap above the content card that lets the shell
4
+ * background show through. One map so the page frame has a single source of
5
+ * truth — retune here rather than at call sites.
6
+ */
7
+ declare const HEADROOM_GAP_PX: {
8
+ readonly none: 0;
9
+ readonly sm: 4;
10
+ readonly md: 10;
11
+ readonly lg: 16;
12
+ readonly xl: 24;
13
+ };
14
+ type HeadroomGap = keyof typeof HEADROOM_GAP_PX;
2
15
  type __VLS_Props = {
3
- /**
4
- * Extra classes for the inner content `<section>`. Use to override the
5
- * default surface, e.g. `bg-surface-neutral-300` instead of the standard
6
- * `bg-surface-neutral-bg-main`. Appended after the defaults so it wins on
7
- * conflicting utilities.
8
- */
9
- pageContentClasses?: string;
10
16
  /**
11
17
  * Page title surfaced as the label of UiShell's fallback mobile menu topbar
12
18
  * (shown on a headerless page that has a side menu). Lets a page name its
13
19
  * menu row — e.g. "Home" — without reaching into useMobileMenu directly.
14
20
  */
15
21
  title?: string;
22
+ /**
23
+ * The shape of the page inside the content card. Padded shapes use the
24
+ * page padding P (16px below md, 24px from md), which the page exposes to
25
+ * its content as `var(--ui-page-padding)`. P applies inside the card only:
26
+ * the page header and the tabs above it keep their own spacing.
27
+ * - `document` (default): the card scrolls as a single column and pads
28
+ * its content with P on every side. Forms, settings, content blocks.
29
+ * - `list`: like `document`, but the content is padded with P at the top
30
+ * only: toolbars, tables and pagination run from card edge to card edge
31
+ * and pad their sides with `--ui-page-inline`. The content is held to the
32
+ * card height, so a child that may shrink (`flex-1 min-h-0`) becomes the
33
+ * scroll region and a table header in it stays in view; anything taller
34
+ * still scrolls the card.
35
+ * - `app`: the card fills the available height and never scrolls itself;
36
+ * the page owns its scroll regions and layout, so the content is not
37
+ * padded. Each region pads itself with `var(--ui-page-padding)`.
38
+ *
39
+ * Edge-to-edge bands (toolbars, pagination) read `--ui-page-inline` for
40
+ * their side padding. UiDataTable pads its scroll region with it, so a
41
+ * wide table scrolls from card edge to card edge. It is set to P on a
42
+ * `list` page only and left unset everywhere else, so a band
43
+ * picks its inset with one class:
44
+ * - `px-(--ui-page-inline)`: P on a list page, 0 elsewhere.
45
+ * - `px-(--ui-page-inline,var(--spacing-space-4))`: P on a list page, the
46
+ * band's own inset elsewhere.
47
+ *
48
+ * A page with a `leftSlot` keeps the split layout insets instead of P: its
49
+ * header slot aligns with the aside, not with the content.
50
+ */
51
+ variant?: 'document' | 'list' | 'app';
52
+ /**
53
+ * Column split when a leftSlot is present: `third` (default) gives the
54
+ * aside 1/3 and the card 2/3; `half` splits them evenly; `fill` lets the
55
+ * aside take all remaining width while the card hugs its content — for
56
+ * app pages whose card is a fixed-width side panel (e.g. the room's
57
+ * interactions sidepane).
58
+ */
59
+ leftSlotRatio?: 'third' | 'half' | 'fill';
60
+ /**
61
+ * How the content card sits in the frame.
62
+ * - `anchored` (default): the dashboard page card — flush to the bottom and
63
+ * right edges, rounded top-left, page-card chrome (level-3 elevation).
64
+ * - `floating`: a detached card with a thin gutter on every side, rounded
65
+ * all around, elevated-card chrome (level-2 elevation + inner glow +
66
+ * container border). The room's panel treatment.
67
+ */
68
+ frame?: 'anchored' | 'floating';
69
+ /**
70
+ * Viewport gate for the leftSlot: `lg` (default) renders the aside only
71
+ * from the lg breakpoint — the dashboard behavior, where the aside is
72
+ * secondary. `none` keeps the aside at every width, for app pages whose
73
+ * aside is primary content (the room's stage, the lobby's session
74
+ * information) and must never unmount with the viewport.
75
+ */
76
+ leftSlotBreakpoint?: 'lg' | 'none';
77
+ /**
78
+ * Headroom above the content card, letting the shell background show
79
+ * through. Sizes map to px via `HEADROOM_GAP_PX`.
80
+ *
81
+ * Left unset, the card gets `DEFAULT_HEADROOM_GAP` only when it sits flush
82
+ * at the top — i.e. there is no page header or left slot already offsetting
83
+ * it. Naming a size applies it in either case, and `none` removes the gap
84
+ * on a page that would otherwise get the default.
85
+ */
86
+ headroomGap?: HeadroomGap;
87
+ /**
88
+ * Drops the content padding a `document` or `list` page gets by default, so the
89
+ * page's content reaches the card edges. Only for pages whose layout is
90
+ * edge-to-edge by design: full-bleed bands, or scroll regions that must
91
+ * sit against the card edge. Has no effect on `app` pages, which never get
92
+ * the padding.
93
+ */
94
+ flush?: boolean;
95
+ /**
96
+ * The fill of an anchored content card.
97
+ * - `container` (default): the white content surface.
98
+ * - `background`: the grey page background, for screens whose content is
99
+ * already cards or regions, so they do not sit in a second white box.
100
+ * A floating card keeps its elevated fill.
101
+ */
102
+ surface?: 'container' | 'background';
16
103
  };
17
104
  type __VLS_Slots = {
18
105
  banner?(): Slot;
19
106
  pageHeader?(): Slot;
20
107
  pageTabs?(): Slot;
108
+ /**
109
+ * Summary on the page background, between the page header (and tabs) and
110
+ * the content card, e.g. stat cards. It shares the page header's edges.
111
+ */
112
+ pageSummary?(): Slot;
21
113
  leftSlot?(): Slot;
22
114
  header?(): Slot;
23
115
  footer?(): Slot;
@@ -25,7 +117,13 @@ type __VLS_Slots = {
25
117
  };
26
118
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
27
119
  title: string;
28
- pageContentClasses: string;
120
+ variant: "document" | "list" | "app";
121
+ frame: "anchored" | "floating";
122
+ flush: boolean;
123
+ leftSlotRatio: "third" | "half" | "fill";
124
+ leftSlotBreakpoint: "lg" | "none";
125
+ headroomGap: HeadroomGap;
126
+ surface: "container" | "background";
29
127
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
128
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
129
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,36 @@
1
+ import type { UiPaginationColor } from './types';
2
+ interface UiPaginationProps {
3
+ /** Controlled current page. Bind with `v-model:page`. */
4
+ page?: number;
5
+ /** Initial page when uncontrolled. */
6
+ defaultPage?: number;
7
+ /** Number of items per page. */
8
+ itemsPerPage?: number;
9
+ /** Total number of items across all pages. */
10
+ total: number;
11
+ /** Number of sibling pages shown around the current page. */
12
+ siblingCount?: number;
13
+ disabled?: boolean;
14
+ /** Always show the first and last page, with an ellipsis in between when needed. */
15
+ showEdges?: boolean;
16
+ color?: UiPaginationColor;
17
+ previousLabel?: string;
18
+ nextLabel?: string;
19
+ }
20
+ declare const __VLS_export: import("vue").DefineComponent<UiPaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ "update:page": (value: number) => any;
22
+ }, string, import("vue").PublicProps, Readonly<UiPaginationProps> & Readonly<{
23
+ "onUpdate:page"?: ((value: number) => any) | undefined;
24
+ }>, {
25
+ disabled: boolean;
26
+ color: UiPaginationColor;
27
+ page: number;
28
+ defaultPage: number;
29
+ itemsPerPage: number;
30
+ siblingCount: number;
31
+ showEdges: boolean;
32
+ previousLabel: string;
33
+ nextLabel: string;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const _default: typeof __VLS_export;
36
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as UiPagination } from './UiPagination.vue';
2
+ export type { UiPaginationColor } from './types';
@@ -0,0 +1,4 @@
1
+ export type UiPaginationColor = 'neutral' | 'neutral-invert' | 'primary' | 'success' | 'warning' | 'error';
2
+ export declare const PAGINATION_IDLE_CLASSES: Record<UiPaginationColor, string>;
3
+ export declare const PAGINATION_ACTIVE_CLASSES: Record<UiPaginationColor, string>;
4
+ export declare const PAGINATION_RAIL_CLASSES: Record<UiPaginationColor, string>;
@@ -0,0 +1,22 @@
1
+ import type { DialogRootProps } from 'reka-ui';
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<DialogRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:open": (value: boolean) => any;
8
+ }, string, import("vue").PublicProps, Readonly<DialogRootProps> & Readonly<{
9
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
10
+ }>, {
11
+ defaultOpen: boolean;
12
+ open: boolean;
13
+ modal: boolean;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,75 @@
1
+ import type { DialogContentProps } from 'reka-ui';
2
+ export type UiPaneSize = 'sm' | 'lg';
3
+ export type UiPaneOrientation = 'horizontal' | 'vertical';
4
+ export interface UiPaneContentProps extends DialogContentProps {
5
+ /**
6
+ * Header title, also used as the pane's accessible name
7
+ */
8
+ title?: string;
9
+ /**
10
+ * Density of the header, padding and title
11
+ * @values sm, lg
12
+ */
13
+ size?: UiPaneSize;
14
+ /**
15
+ * Layout of the footer actions: in a row, or stacked full width
16
+ * @values horizontal, vertical
17
+ */
18
+ orientation?: UiPaneOrientation;
19
+ hideClose?: boolean;
20
+ closeButtonAriaLabel?: string;
21
+ /**
22
+ * Removes the body padding, for full-bleed content
23
+ */
24
+ noPadding?: boolean;
25
+ /**
26
+ * When false, a click outside or Escape no longer closes the pane:
27
+ * only the close button or the consumer's own actions do
28
+ */
29
+ dismissible?: boolean;
30
+ /**
31
+ * Any CSS width, for content with a fixed width of its own (an email's 600px column).
32
+ * Still capped to the viewport.
33
+ */
34
+ width?: string;
35
+ }
36
+ declare var __VLS_35: {}, __VLS_48: {}, __VLS_50: {};
37
+ type __VLS_Slots = {} & {
38
+ header?: (props: typeof __VLS_35) => any;
39
+ } & {
40
+ default?: (props: typeof __VLS_48) => any;
41
+ } & {
42
+ footer?: (props: typeof __VLS_50) => any;
43
+ };
44
+ declare const __VLS_base: import("vue").DefineComponent<UiPaneContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
+ escapeKeyDown: (event: KeyboardEvent) => any;
46
+ pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
47
+ focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
48
+ interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
49
+ openAutoFocus: (event: Event) => any;
50
+ closeAutoFocus: (event: Event) => any;
51
+ }, string, import("vue").PublicProps, Readonly<UiPaneContentProps> & Readonly<{
52
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
53
+ onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
54
+ onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
55
+ onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
56
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
57
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
58
+ }>, {
59
+ orientation: UiPaneOrientation;
60
+ size: UiPaneSize;
61
+ title: string;
62
+ width: string;
63
+ hideClose: boolean;
64
+ closeButtonAriaLabel: string;
65
+ noPadding: boolean;
66
+ dismissible: boolean;
67
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
68
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
69
+ declare const _default: typeof __VLS_export;
70
+ export default _default;
71
+ type __VLS_WithSlots<T, S> = T & {
72
+ new (): {
73
+ $slots: S;
74
+ };
75
+ };
@@ -0,0 +1,14 @@
1
+ import type { DialogTriggerProps } from 'reka-ui';
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<DialogTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DialogTriggerProps> & 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,5 @@
1
+ export { default as UiPane } from './UiPane.vue';
2
+ export { default as UiPaneTrigger } from './UiPaneTrigger.vue';
3
+ export { default as UiPaneContent } from './UiPaneContent.vue';
4
+ export type { UiPaneContentProps, UiPaneOrientation, UiPaneSize } from './UiPaneContent.vue';
5
+ export { DialogClose, type DialogRootProps, type DialogRootEmits, type DialogContentProps, type DialogContentEmits, } from 'reka-ui';
@@ -7,8 +7,8 @@ interface Props {
7
7
  }
8
8
  declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
9
  size: ProgressSize;
10
- variant: ProgressVariant;
11
10
  value: number | null;
11
+ variant: ProgressVariant;
12
12
  indeterminate: boolean;
13
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
14
  declare const _default: typeof __VLS_export;