@livestorm/ui-vue 2.0.4 → 3.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 (89) hide show
  1. package/README.md +8 -5
  2. package/dist/UiTimelineItem.vue_vue_type_style_index_0_lang-LpdvGf5X.mjs +6093 -0
  3. package/dist/a11y-BhF_nl7L.mjs +159 -0
  4. package/dist/components.mjs +105 -96
  5. package/dist/index.mjs +68 -64
  6. package/dist/layouts.mjs +16 -16
  7. package/dist/types/index.d.ts +5 -1
  8. package/dist/types/src/components/UiActionBar/UiActionBar.vue.d.ts +3 -1
  9. package/dist/types/src/components/UiActionBar/UiActionBarItem.vue.d.ts +18 -3
  10. package/dist/types/src/components/UiActionBar/types.d.ts +3 -1
  11. package/dist/types/src/components/UiButton/UiButton.vue.d.ts +17 -13
  12. package/dist/types/src/components/UiButtonGroup/UiButtonGroupItem.vue.d.ts +3 -0
  13. package/dist/types/src/components/UiButtonGroup/types.d.ts +1 -1
  14. package/dist/types/src/components/UiDropdown/UiDropdownItem.vue.d.ts +6 -4
  15. package/dist/types/src/components/UiInputEmoji/UiInputEmoji.vue.d.ts +45 -0
  16. package/dist/types/src/components/UiInputEmoji/index.d.ts +1 -0
  17. package/dist/types/src/components/UiInputRadio/UiInputRadio.vue.d.ts +67 -0
  18. package/dist/types/src/components/UiInputRadio/UiInputRadioGroup.vue.d.ts +81 -0
  19. package/dist/types/src/components/UiInputRadio/index.d.ts +3 -0
  20. package/dist/types/src/components/UiInputRadio/types.d.ts +19 -0
  21. package/dist/types/src/components/UiLoader/UiLoader.vue.d.ts +6 -5
  22. package/dist/types/src/components/UiLogo/UiLogo.vue.d.ts +9 -3
  23. package/dist/types/src/components/UiPage/UiPage.vue.d.ts +34 -0
  24. package/dist/types/src/components/UiProgress/UiProgress.vue.d.ts +1 -1
  25. package/dist/types/src/components/UiSwitch/UiSwitch.vue.d.ts +109 -0
  26. package/dist/types/src/components/UiSwitch/index.d.ts +2 -0
  27. package/dist/types/src/components/UiSwitch/types.d.ts +3 -0
  28. package/dist/types/src/components/UiTabs/UiTabs.vue.d.ts +5 -2
  29. package/dist/types/src/composables/useContentMode.d.ts +25 -0
  30. package/dist/types/src/composables/useIconSize.d.ts +11 -0
  31. package/dist/types/src/constants/sizes.d.ts +1 -1
  32. package/dist/ui-vue.css +1 -1
  33. package/dist/{useThemeAndModes-CUK56j0z.mjs → useThemeAndModes-BzYwSOEv.mjs} +1 -1
  34. package/dist/utils.mjs +154 -99
  35. package/index.d.ts +4 -0
  36. package/index.js +8 -0
  37. package/package.json +11 -3
  38. package/src/components/Toast/ToastMessage.vue +6 -6
  39. package/src/components/UiActionBar/UiActionBar.vue +11 -2
  40. package/src/components/UiActionBar/UiActionBarItem.vue +56 -32
  41. package/src/components/UiActionBar/types.ts +3 -1
  42. package/src/components/UiAvatar/UiAvatar.vue +1 -1
  43. package/src/components/UiBanner/UiBanner.vue +7 -7
  44. package/src/components/UiButton/UiButton.vue +9 -9
  45. package/src/components/UiButtonGroup/UiButtonGroup.vue +4 -0
  46. package/src/components/UiButtonGroup/UiButtonGroupItem.vue +14 -0
  47. package/src/components/UiButtonGroup/types.ts +1 -1
  48. package/src/components/UiCarousel/UiCarousel.vue +2 -2
  49. package/src/components/UiColorPicker/UiColorPicker.vue +5 -5
  50. package/src/components/UiDialog/MarketplaceHeaderExample.vue +2 -2
  51. package/src/components/UiDialog/UiDialogClose.vue +1 -1
  52. package/src/components/UiDropdown/UiDropdownContent.vue +2 -2
  53. package/src/components/UiDropdown/UiDropdownItem.vue +8 -1
  54. package/src/components/UiDropdown/UiDropdownTrigger.vue +6 -7
  55. package/src/components/UiFieldWrapper/UiFieldWrapper.vue +1 -1
  56. package/src/components/UiInputCheckbox/UiInputCheckbox.vue +2 -2
  57. package/src/components/UiInputEmoji/UiInputEmoji.vue +173 -0
  58. package/src/components/UiInputEmoji/index.ts +1 -0
  59. package/src/components/UiInputRadio/UiInputRadio.vue +374 -0
  60. package/src/components/UiInputRadio/UiInputRadioGroup.vue +156 -0
  61. package/src/components/UiInputRadio/index.ts +3 -0
  62. package/src/components/UiInputRadio/types.ts +25 -0
  63. package/src/components/UiLoader/UiLoader.vue +8 -10
  64. package/src/components/UiLogo/UiLogo.vue +41 -7
  65. package/src/components/UiMenu/UiMenuContent.vue +1 -1
  66. package/src/components/UiMenu/UiMenuGroup.vue +1 -1
  67. package/src/components/UiMenu/UiMenuItem.vue +1 -1
  68. package/src/components/UiMenu/UiMenuSubContent.vue +1 -1
  69. package/src/components/UiMenu/UiMenuSubTrigger.vue +2 -2
  70. package/src/components/UiPage/UiPage.vue +102 -29
  71. package/src/components/UiPageHeader/UiPageHeader.vue +29 -9
  72. package/src/components/UiRoomButton/UiRoomButton.vue +4 -4
  73. package/src/components/UiShell/UiShell.vue +1 -1
  74. package/src/components/UiSideMenu/UiSideMenu.vue +13 -10
  75. package/src/components/UiSideMenu/UiSideMenuItemContent.vue +2 -2
  76. package/src/components/UiStepper/UiStepperIndicator.vue +8 -11
  77. package/src/components/UiSwitch/UiSwitch.vue +359 -0
  78. package/src/components/UiSwitch/index.ts +2 -0
  79. package/src/components/UiSwitch/types.ts +5 -0
  80. package/src/components/UiTabs/UiTabs.vue +7 -4
  81. package/src/components/UiTextField/UiTextField.vue +6 -11
  82. package/src/components/UiTimeline/README.md +6 -6
  83. package/src/components/UiTimeline/UiTimelineItem.vue +3 -3
  84. package/src/composables/useContentMode.ts +53 -0
  85. package/src/composables/useIconSize.ts +28 -0
  86. package/src/constants/sizes.ts +1 -1
  87. package/src/global.d.ts +8 -0
  88. package/dist/UiTimelineItem.vue_vue_type_style_index_0_lang-BtG5oABt.mjs +0 -5454
  89. package/dist/a11y--y7uaY4j.mjs +0 -217
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { _ as e, a as s, b as o, c as U, d as r, e as t, f as n, g as p, h as l, U as u, i as d, j as g, k as T, l as S, m, n as b, o as C, p as M, q as I, r as c, s as B, t as D, u as P, v as L, w as v, x as A, y as w, z as F, A as x, B as h, C as H, D as f, E as k, F as G, G as y, H as R, I as j, J as z, K as E, L as W, M as _, N as q, O as J, P as K, Q as N, R as O, S as Q, T as V, V as X, W as Y, X as Z, Y as $, Z as aa, $ as ia, a0 as ea, a1 as sa, a2 as oa, a3 as Ua, a4 as ra, a5 as ta, a6 as na, a7 as pa, a8 as la, a9 as ua, aa as da, ab as ga, ac as Ta, ad as Sa, ae as ma, af as ba, ag as Ca, ah as Ma, ai as Ia, aj as ca, ak as Ba, al as Da, am as Pa, an as La, ao as va } from "./UiTimelineItem.vue_vue_type_style_index_0_lang-BtG5oABt.mjs";
2
- import { _ as wa, a as Fa, b as xa, c as ha } from "./a11y--y7uaY4j.mjs";
1
+ import { _ as e, a as s, b as o, c as U, d as t, e as r, f as n, g as p, h as l, U as u, i as d, j as g, k as T, l as S, m, n as b, o as I, p as C, q as M, r as c, s as B, t as D, u as P, v as L, w as v, x as w, y as A, z as F, A as h, B as x, C as G, D as H, E as R, F as f, G as k, H as j, I as y, J as E, K as q, L as z, M as W, N as _, O as J, P as K, Q as N, R as O, S as Q, T as V, V as X, W as Y, X as Z, Y as $, Z as aa, $ as ia, a0 as ea, a1 as sa, a2 as oa, a3 as Ua, a4 as ta, a5 as ra, a6 as na, a7 as pa, a8 as la, a9 as ua, aa as da, ab as ga, ac as Ta, ad as Sa, ae as ma, af as ba, ag as Ia, ah as Ca, ai as Ma, aj as ca, ak as Ba, al as Da, am as Pa, an as La, ao as va, ap as wa, aq as Aa, ar as Fa, as as ha } from "./UiTimelineItem.vue_vue_type_style_index_0_lang-LpdvGf5X.mjs";
2
+ import { _ as Ga, a as Ha, b as Ra, c as fa } from "./a11y-BhF_nl7L.mjs";
3
3
  export {
4
4
  e as UiActionBar,
5
5
  s as UiActionBarItem,
6
6
  o as UiActionBarSeparator,
7
7
  U as UiAnimatedLogo,
8
- r as UiAvatar,
9
- t as UiAvatarList,
8
+ t as UiAvatar,
9
+ r as UiAvatarList,
10
10
  n as UiBadge,
11
11
  p as UiBanner,
12
12
  l as UiBreadcrumb,
@@ -17,71 +17,75 @@ export {
17
17
  S as UiCarousel,
18
18
  m as UiColorField,
19
19
  b as UiColorPicker,
20
- C as UiDialog,
21
- M as UiDialogClose,
22
- I as UiDialogContent,
20
+ I as UiDialog,
21
+ C as UiDialogClose,
22
+ M as UiDialogContent,
23
23
  c as UiDialogFooter,
24
24
  B as UiDialogTrigger,
25
25
  D as UiDropdown,
26
26
  P as UiDropdownContent,
27
27
  L as UiDropdownItem,
28
28
  v as UiDropdownSeparator,
29
- A as UiDropdownTrigger,
30
- w as UiEmptyState,
29
+ w as UiDropdownTrigger,
30
+ A as UiEmptyState,
31
31
  F as UiFieldWrapper,
32
- x as UiFormField,
33
- h as UiHorizontalSeparator,
34
- H as UiInputCheckbox,
35
- f as UiInputSelect,
36
- k as UiInputTextarea,
37
- G as UiLabel,
38
- y as UiList,
39
- R as UiListItem,
40
- j as UiLoader,
41
- z as UiLogo,
42
- E as UiMenu,
43
- W as UiMenuContent,
44
- _ as UiMenuGroup,
45
- q as UiMenuItem,
46
- J as UiMenuLabel,
47
- K as UiMenuSeparator,
48
- N as UiMenuSub,
49
- O as UiMenuSubContent,
50
- Q as UiMenuSubTrigger,
51
- V as UiMenuTrigger,
52
- X as UiPage,
53
- Y as UiPageHeader,
54
- Z as UiPopover,
55
- $ as UiPopoverAnchor,
56
- aa as UiPopoverContent,
57
- ia as UiPopoverTrigger,
58
- ea as UiProgress,
59
- sa as UiRoomButton,
60
- oa as UiShell,
61
- Ua as UiSideMenu,
62
- ra as UiSideMenuBottom,
63
- ta as UiSideMenuItem,
64
- na as UiSideMenuItemContent,
65
- pa as UiSideMenuTop,
66
- la as UiStepper,
67
- ua as UiStepperDescription,
68
- da as UiStepperIndicator,
69
- ga as UiStepperItem,
70
- Ta as UiStepperSeparator,
71
- Sa as UiStepperTitle,
72
- ma as UiTable,
73
- ba as UiTableBody,
74
- Ca as UiTableCell,
75
- Ma as UiTableHeader,
76
- Ia as UiTableHeaderCell,
77
- ca as UiTableRow,
78
- Ba as UiTabs,
79
- Da as UiTag,
80
- Pa as UiTextField,
81
- La as UiTimeline,
82
- va as UiTimelineItem,
83
- wa as UiTooltip,
84
- Fa as UiTooltipContent,
85
- xa as UiTooltipProvider,
86
- ha as UiTooltipTrigger
32
+ h as UiFormField,
33
+ x as UiHorizontalSeparator,
34
+ G as UiInputCheckbox,
35
+ H as UiInputEmoji,
36
+ R as UiInputRadio,
37
+ f as UiInputRadioGroup,
38
+ k as UiInputSelect,
39
+ j as UiInputTextarea,
40
+ y as UiLabel,
41
+ E as UiList,
42
+ q as UiListItem,
43
+ z as UiLoader,
44
+ W as UiLogo,
45
+ _ as UiMenu,
46
+ J as UiMenuContent,
47
+ K as UiMenuGroup,
48
+ N as UiMenuItem,
49
+ O as UiMenuLabel,
50
+ Q as UiMenuSeparator,
51
+ V as UiMenuSub,
52
+ X as UiMenuSubContent,
53
+ Y as UiMenuSubTrigger,
54
+ Z as UiMenuTrigger,
55
+ $ as UiPage,
56
+ aa as UiPageHeader,
57
+ ia as UiPopover,
58
+ ea as UiPopoverAnchor,
59
+ sa as UiPopoverContent,
60
+ oa as UiPopoverTrigger,
61
+ Ua as UiProgress,
62
+ ta as UiRoomButton,
63
+ ra as UiShell,
64
+ na as UiSideMenu,
65
+ pa as UiSideMenuBottom,
66
+ la as UiSideMenuItem,
67
+ ua as UiSideMenuItemContent,
68
+ da as UiSideMenuTop,
69
+ ga as UiStepper,
70
+ Ta as UiStepperDescription,
71
+ Sa as UiStepperIndicator,
72
+ ma as UiStepperItem,
73
+ ba as UiStepperSeparator,
74
+ Ia as UiStepperTitle,
75
+ Ca as UiSwitch,
76
+ Ma as UiTable,
77
+ ca as UiTableBody,
78
+ Ba as UiTableCell,
79
+ Da as UiTableHeader,
80
+ Pa as UiTableHeaderCell,
81
+ La as UiTableRow,
82
+ va as UiTabs,
83
+ wa as UiTag,
84
+ Aa as UiTextField,
85
+ Fa as UiTimeline,
86
+ ha as UiTimelineItem,
87
+ Ga as UiTooltip,
88
+ Ha as UiTooltipContent,
89
+ Ra as UiTooltipProvider,
90
+ fa as UiTooltipTrigger
87
91
  };
package/dist/layouts.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent as I, computed as w, ref as C, onMounted as M, resolveComponent as E, createElementBlock as n, openBlock as t, createElementVNode as v, createCommentVNode as a, createBlock as y, resolveDynamicComponent as P, normalizeProps as z, guardReactiveProps as H, Fragment as k, normalizeClass as b, normalizeStyle as N, toDisplayString as f, withKeys as S, withCtx as h, createTextVNode as B, getCurrentInstance as D, createVNode as L, Transition as V, TransitionGroup as A, renderList as R, unref as x, mergeProps as j } from "vue";
1
+ import { defineComponent as I, computed as w, ref as C, onMounted as M, resolveComponent as E, createElementBlock as n, openBlock as t, createElementVNode as v, createCommentVNode as a, createBlock as y, resolveDynamicComponent as P, normalizeProps as z, guardReactiveProps as H, Fragment as h, normalizeClass as b, normalizeStyle as N, toDisplayString as f, withKeys as S, withCtx as k, createTextVNode as B, getCurrentInstance as D, createVNode as L, Transition as V, TransitionGroup as A, renderList as R, unref as x, mergeProps as j } from "vue";
2
2
  import { useResponsive as K } from "./responsive.mjs";
3
3
  import { u as U } from "./toastDSV2-wMh-UMzW.mjs";
4
- import { u as F } from "./useThemeAndModes-CUK56j0z.mjs";
4
+ import { u as F } from "./useThemeAndModes-BzYwSOEv.mjs";
5
5
  const G = ["data-testid"], O = {
6
6
  key: 1,
7
7
  class: "absolute h-1 bg-grey-100 top-0 left-0 w-full"
@@ -52,13 +52,13 @@ const G = ["data-testid"], O = {
52
52
  if (e.customIcon) return e.customIcon;
53
53
  switch (e.type) {
54
54
  case "alert":
55
- return "i-ls-x-circle !text-text-danger-base";
55
+ return "i-ph-x-circle !text-text-danger-base";
56
56
  case "warning":
57
- return "i-ls-alert-triangle !text-text-warning-base";
57
+ return "i-ph-warning !text-text-warning-base";
58
58
  case "info":
59
- return "i-ls-info text-text-primary-base";
59
+ return "i-ph-info text-text-primary-base";
60
60
  case "success":
61
- return "i-ls-check-circle text-text-success-base";
61
+ return "i-ph-check-circle text-text-success-base";
62
62
  default:
63
63
  return;
64
64
  }
@@ -98,8 +98,8 @@ const G = ["data-testid"], O = {
98
98
  class: "flex-1 min-w-0"
99
99
  }, [
100
100
  (t(), y(P({ ...e.component }), z(H(e.componentProps)), null, 16))
101
- ], 512)) : (t(), n(k, { key: 1 }, [
102
- _.value ? (t(), n(k, { key: 0 }, [
101
+ ], 512)) : (t(), n(h, { key: 1 }, [
102
+ _.value ? (t(), n(h, { key: 0 }, [
103
103
  u.time ? (t(), n("div", {
104
104
  key: 0,
105
105
  ref_key: "Toast",
@@ -125,7 +125,7 @@ const G = ["data-testid"], O = {
125
125
  v("div", W, [
126
126
  g.value ? (t(), n("div", {
127
127
  key: 0,
128
- class: b(["w-4 h-4 mt-0.5 mr-3 shrink-0 mb-2 sm:mb-0", g.value])
128
+ class: b(["size-5 mr-3 shrink-0 mb-2 sm:mb-0", g.value])
129
129
  }, null, 2)) : a("", !0)
130
130
  ]),
131
131
  v("div", X, [
@@ -140,7 +140,7 @@ const G = ["data-testid"], O = {
140
140
  "data-testid": `toast-close-${String(e.id)}`,
141
141
  color: "neutral",
142
142
  variant: "tertiary",
143
- icon: "i-ls-x",
143
+ icon: "i-ph-x",
144
144
  size: "md",
145
145
  "aria-label": "close",
146
146
  class: "-top-[10px] -right-[2px] sm:row-start-1",
@@ -160,7 +160,7 @@ const G = ["data-testid"], O = {
160
160
  class: "w-full sm:w-auto",
161
161
  onClick: o[2] || (o[2] = (d) => s.$emit("confirm", d))
162
162
  }, {
163
- default: h(() => [
163
+ default: k(() => [
164
164
  B(f(e.confirmLabel), 1)
165
165
  ]),
166
166
  _: 1
@@ -172,7 +172,7 @@ const G = ["data-testid"], O = {
172
172
  class: "w-full sm:w-auto",
173
173
  onClick: o[3] || (o[3] = (d) => s.$emit("cancel"))
174
174
  }, {
175
- default: h(() => [
175
+ default: k(() => [
176
176
  B(f(e.cancelLabel), 1)
177
177
  ]),
178
178
  _: 1
@@ -196,12 +196,12 @@ const G = ["data-testid"], O = {
196
196
  const i = r.getBoundingClientRect(), { style: s } = r;
197
197
  s.top = `${i.top}px`, s.left = `${i.left}px`, s.width = `${i.width}px`, s.height = `${i.height}px`;
198
198
  }
199
- return (r, i) => (t(), n(k, null, [
199
+ return (r, i) => (t(), n(h, null, [
200
200
  L(V, {
201
201
  duration: 200,
202
202
  appear: ""
203
203
  }, {
204
- default: h(() => [
204
+ default: k(() => [
205
205
  _.value ? (t(), n("div", te)) : a("", !0)
206
206
  ]),
207
207
  _: 1
@@ -212,8 +212,8 @@ const G = ["data-testid"], O = {
212
212
  class: b([e.value?.mobile ? "m-4 right-0" : "m-8 max-w-md w-full", "fixed left-0 bottom-0 flex flex-col gap-2 z-max"]),
213
213
  onBeforeLeave: T
214
214
  }, {
215
- default: h(() => [
216
- (t(!0), n(k, null, R(x(l).slice(0, oe), (s) => (t(), n("div", {
215
+ default: k(() => [
216
+ (t(!0), n(h, null, R(x(l).slice(0, oe), (s) => (t(), n("div", {
217
217
  key: s.id,
218
218
  class: "w-full sm:max-w-[400px]"
219
219
  }, [
@@ -29,6 +29,9 @@ import UiFieldWrapper from './src/components/UiFieldWrapper/UiFieldWrapper.vue';
29
29
  import UiFormField from './src/components/UiForm/UiFormField.vue';
30
30
  import UiHorizontalSeparator from './src/components/UiHorizontalSeparator/UiHorizontalSeparator.vue';
31
31
  import UiInputCheckbox from './src/components/UiInputCheckbox/UiInputCheckbox.vue';
32
+ import UiInputEmoji from './src/components/UiInputEmoji/UiInputEmoji.vue';
33
+ import UiInputRadio from './src/components/UiInputRadio/UiInputRadio.vue';
34
+ import UiInputRadioGroup from './src/components/UiInputRadio/UiInputRadioGroup.vue';
32
35
  import UiInputSelect from './src/components/UiInputSelect/UiInputSelect.vue';
33
36
  import UiInputTextarea from './src/components/UiInputTextarea/UiInputTextarea.vue';
34
37
  import UiLabel from './src/components/UiLabel/UiLabel.vue';
@@ -66,6 +69,7 @@ import UiStepperIndicator from './src/components/UiStepper/UiStepperIndicator.vu
66
69
  import UiStepperItem from './src/components/UiStepper/UiStepperItem.vue';
67
70
  import UiStepperSeparator from './src/components/UiStepper/UiStepperSeparator.vue';
68
71
  import UiStepperTitle from './src/components/UiStepper/UiStepperTitle.vue';
72
+ import UiSwitch from './src/components/UiSwitch/UiSwitch.vue';
69
73
  import UiTable from './src/components/UiTable/UiTable.vue';
70
74
  import UiTableBody from './src/components/UiTable/UiTableBody.vue';
71
75
  import UiTableCell from './src/components/UiTable/UiTableCell.vue';
@@ -81,4 +85,4 @@ import UiTooltip from './src/components/UiTooltip/UiTooltip.vue';
81
85
  import UiTooltipContent from './src/components/UiTooltip/UiTooltipContent.vue';
82
86
  import UiTooltipProvider from './src/components/UiTooltip/UiTooltipProvider.vue';
83
87
  import UiTooltipTrigger from './src/components/UiTooltip/UiTooltipTrigger.vue';
84
- export { UiActionBar, UiActionBarItem, UiActionBarSeparator, UiAnimatedLogo, UiAvatar, UiAvatarList, UiBadge, UiBanner, UiBreadcrumb, UiButton, UiButtonGroup, UiButtonGroupItem, UiCard, UiCarousel, UiColorField, UiColorPicker, UiDialog, UiDialogClose, UiDialogContent, UiDialogFooter, UiDialogTrigger, UiDropdown, UiDropdownContent, UiDropdownItem, UiDropdownSeparator, UiDropdownTrigger, UiEmptyState, UiFieldWrapper, UiFormField, UiHorizontalSeparator, UiInputCheckbox, UiInputSelect, UiInputTextarea, UiLabel, UiList, UiListItem, UiLoader, UiLogo, UiMenu, UiMenuContent, UiMenuGroup, UiMenuItem, UiMenuLabel, UiMenuSeparator, UiMenuSub, UiMenuSubContent, UiMenuSubTrigger, UiMenuTrigger, UiPage, UiPageHeader, UiPopover, UiPopoverAnchor, UiPopoverContent, UiPopoverTrigger, UiProgress, UiRoomButton, UiShell, UiSideMenu, UiSideMenuBottom, UiSideMenuItem, UiSideMenuItemContent, UiSideMenuTop, UiStepper, UiStepperDescription, UiStepperIndicator, UiStepperItem, UiStepperSeparator, UiStepperTitle, UiTable, UiTableBody, UiTableCell, UiTableHeader, UiTableHeaderCell, UiTableRow, UiTabs, UiTag, UiTextField, UiTimeline, UiTimelineItem, UiTooltip, UiTooltipContent, UiTooltipProvider, UiTooltipTrigger };
88
+ export { UiActionBar, UiActionBarItem, UiActionBarSeparator, UiAnimatedLogo, UiAvatar, UiAvatarList, UiBadge, UiBanner, UiBreadcrumb, UiButton, UiButtonGroup, UiButtonGroupItem, UiCard, UiCarousel, UiColorField, UiColorPicker, UiDialog, UiDialogClose, UiDialogContent, UiDialogFooter, UiDialogTrigger, UiDropdown, UiDropdownContent, UiDropdownItem, UiDropdownSeparator, UiDropdownTrigger, UiEmptyState, UiFieldWrapper, UiFormField, UiHorizontalSeparator, UiInputCheckbox, UiInputEmoji, UiInputRadio, UiInputRadioGroup, UiInputSelect, UiInputTextarea, UiLabel, UiList, UiListItem, UiLoader, UiLogo, UiMenu, UiMenuContent, UiMenuGroup, UiMenuItem, UiMenuLabel, UiMenuSeparator, UiMenuSub, UiMenuSubContent, UiMenuSubTrigger, UiMenuTrigger, UiPage, UiPageHeader, UiPopover, UiPopoverAnchor, UiPopoverContent, UiPopoverTrigger, UiProgress, UiRoomButton, UiShell, UiSideMenu, UiSideMenuBottom, UiSideMenuItem, UiSideMenuItemContent, UiSideMenuTop, UiStepper, UiStepperDescription, UiStepperIndicator, UiStepperItem, UiStepperSeparator, UiStepperTitle, UiSwitch, UiTable, UiTableBody, UiTableCell, UiTableHeader, UiTableHeaderCell, UiTableRow, UiTabs, UiTag, UiTextField, UiTimeline, UiTimelineItem, UiTooltip, UiTooltipContent, UiTooltipProvider, UiTooltipTrigger };
@@ -1,4 +1,4 @@
1
- import type { ActionBarOrientation, ActionBarPosition, ActionBarSize } from './types';
1
+ import type { ActionBarOrientation, ActionBarPosition, ActionBarSize, ActionBarTooltipSide } from './types';
2
2
  interface UiActionBarProps {
3
3
  /**
4
4
  * Lays the items out in a horizontal bar (default) or a vertical rail,
@@ -22,6 +22,7 @@ interface UiActionBarProps {
22
22
  * Accessible label for the toolbar landmark. Defaults to "Actions".
23
23
  */
24
24
  ariaLabel?: string;
25
+ tooltipSide?: ActionBarTooltipSide;
25
26
  }
26
27
  declare var __VLS_1: {};
27
28
  type __VLS_Slots = {} & {
@@ -33,6 +34,7 @@ declare const __VLS_base: import("vue").DefineComponent<UiActionBarProps, {}, {}
33
34
  position: ActionBarPosition;
34
35
  offset: number;
35
36
  ariaLabel: string;
37
+ tooltipSide: ActionBarTooltipSide;
36
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
39
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
40
  declare const _default: typeof __VLS_export;
@@ -1,12 +1,15 @@
1
1
  import type { RouteLocationRaw } from 'vue-router';
2
2
  interface UiActionBarItemProps {
3
- /** Icon class, e.g. `i-ls-trash`. */
3
+ /**
4
+ * Icon class, e.g. `i-ph-trash`. Ignored when the `icon` slot is filled —
5
+ * use the slot for glyphs no icon class covers (emoji, an avatar, a dot).
6
+ */
4
7
  icon?: string;
5
8
  /** Visible/accessible label. Required so icon-only items stay accessible. */
6
9
  label: string;
7
10
  /**
8
11
  * Optional icon class rendered next to the label inside the hover tooltip —
9
- * e.g. `i-ls-external-link` to flag that the action opens in a new tab.
12
+ * e.g. `i-ph-arrow-square-out` to flag that the action opens in a new tab.
10
13
  * Only shown for icon-only items (the tooltip is suppressed when
11
14
  * `showLabel` is set).
12
15
  */
@@ -30,7 +33,13 @@ interface UiActionBarItemProps {
30
33
  */
31
34
  active?: boolean;
32
35
  }
33
- declare const __VLS_export: import("vue").DefineComponent<UiActionBarItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ declare var __VLS_28: {}, __VLS_56: {};
37
+ type __VLS_Slots = {} & {
38
+ icon?: (props: typeof __VLS_28) => any;
39
+ } & {
40
+ icon?: (props: typeof __VLS_56) => any;
41
+ };
42
+ declare const __VLS_base: import("vue").DefineComponent<UiActionBarItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
43
  click: (event: MouseEvent) => any;
35
44
  }, string, import("vue").PublicProps, Readonly<UiActionBarItemProps> & Readonly<{
36
45
  onClick?: ((event: MouseEvent) => any) | undefined;
@@ -43,5 +52,11 @@ declare const __VLS_export: import("vue").DefineComponent<UiActionBarItemProps,
43
52
  href: string;
44
53
  active: boolean;
45
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
55
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
56
  declare const _default: typeof __VLS_export;
47
57
  export default _default;
58
+ type __VLS_WithSlots<T, S> = T & {
59
+ new (): {
60
+ $slots: S;
61
+ };
62
+ };
@@ -1,10 +1,12 @@
1
1
  import type { ComputedRef, InjectionKey } from 'vue';
2
2
  export type ActionBarOrientation = 'horizontal' | 'vertical';
3
- export type ActionBarSize = 'sm' | 'md';
3
+ export type ActionBarSize = 'xs' | 'sm' | 'md';
4
4
  export type ActionBarPosition = 'top-left' | 'top-right' | 'center-left' | 'center-right' | 'bottom-left' | 'bottom-right';
5
+ export type ActionBarTooltipSide = 'top' | 'right' | 'bottom' | 'left';
5
6
  export interface ActionBarContext {
6
7
  orientation: ComputedRef<ActionBarOrientation>;
7
8
  size: ComputedRef<ActionBarSize>;
9
+ tooltipSide: ComputedRef<ActionBarTooltipSide | undefined>;
8
10
  }
9
11
  /**
10
12
  * Injected by UiActionBar so child items and separators can adapt their
@@ -11,7 +11,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
11
11
  default: string;
12
12
  };
13
13
  size: {
14
- type: StringConstructor;
14
+ type: () => Size;
15
15
  default: string;
16
16
  validator: (value: Size) => boolean;
17
17
  };
@@ -98,33 +98,35 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
98
98
  }>[] | undefined>;
99
99
  hasLabel: import("vue").ComputedRef<boolean>;
100
100
  isLink: import("vue").ComputedRef<boolean>;
101
- iconSizeClasses: import("vue").ComputedRef<{
102
- 'size-3': boolean;
103
- 'size-4': boolean;
104
- 'size-5': boolean;
105
- }>;
101
+ iconSizeClasses: import("vue").ComputedRef<"size-3" | "size-4" | "size-5" | "size-6" | "size-7">;
106
102
  buttonClasses: import("vue").ComputedRef<(string | {
103
+ 'size-6': boolean;
107
104
  'size-8': boolean;
108
105
  'size-10': boolean;
109
106
  'size-12': boolean;
110
107
  'grid place-items-center'?: undefined;
108
+ 'h-6 text-action-button-sm'?: undefined;
111
109
  'h-8 text-action-button-sm'?: undefined;
112
110
  'h-10 text-action-button-md'?: undefined;
113
111
  'h-12 text-action-button-lg'?: undefined;
114
112
  'inline-flex'?: undefined;
115
113
  } | {
116
114
  'grid place-items-center': boolean;
115
+ 'size-6'?: undefined;
117
116
  'size-8'?: undefined;
118
117
  'size-10'?: undefined;
119
118
  'size-12'?: undefined;
119
+ 'h-6 text-action-button-sm'?: undefined;
120
120
  'h-8 text-action-button-sm'?: undefined;
121
121
  'h-10 text-action-button-md'?: undefined;
122
122
  'h-12 text-action-button-lg'?: undefined;
123
123
  'inline-flex'?: undefined;
124
124
  } | {
125
+ 'h-6 text-action-button-sm': boolean;
125
126
  'h-8 text-action-button-sm': boolean;
126
127
  'h-10 text-action-button-md': boolean;
127
128
  'h-12 text-action-button-lg': boolean;
129
+ 'size-6'?: undefined;
128
130
  'size-8'?: undefined;
129
131
  'size-10'?: undefined;
130
132
  'size-12'?: undefined;
@@ -132,10 +134,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
132
134
  'inline-flex'?: undefined;
133
135
  } | {
134
136
  'inline-flex': boolean;
137
+ 'size-6'?: undefined;
135
138
  'size-8'?: undefined;
136
139
  'size-10'?: undefined;
137
140
  'size-12'?: undefined;
138
141
  'grid place-items-center'?: undefined;
142
+ 'h-6 text-action-button-sm'?: undefined;
139
143
  'h-8 text-action-button-sm'?: undefined;
140
144
  'h-10 text-action-button-md'?: undefined;
141
145
  'h-12 text-action-button-lg'?: undefined;
@@ -155,7 +159,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
155
159
  default: string;
156
160
  };
157
161
  size: {
158
- type: StringConstructor;
162
+ type: () => Size;
159
163
  default: string;
160
164
  validator: (value: Size) => boolean;
161
165
  };
@@ -213,7 +217,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
213
217
  onMouseleave?: ((...args: any[]) => any) | undefined;
214
218
  onClick?: ((...args: any[]) => any) | undefined;
215
219
  }>, {
216
- size: string;
220
+ size: "xs" | "sm" | "md" | "lg";
217
221
  label: string;
218
222
  type: string;
219
223
  icon: string | boolean;
@@ -233,18 +237,18 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
233
237
  }) => any;
234
238
  UiLoader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
235
239
  size: {
236
- type: StringConstructor;
240
+ type: () => Size;
237
241
  default: string;
238
- validator: (value: string) => boolean;
242
+ validator: (value: Size) => boolean;
239
243
  };
240
244
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
241
245
  size: {
242
- type: StringConstructor;
246
+ type: () => Size;
243
247
  default: string;
244
- validator: (value: string) => boolean;
248
+ validator: (value: Size) => boolean;
245
249
  };
246
250
  }>> & Readonly<{}>, {
247
- size: string;
251
+ size: "xs" | "sm" | "md" | "lg";
248
252
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
249
253
  UiTooltip: {
250
254
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../UiTooltip/UiTooltip.vue").UiTooltipProps> & Readonly<{
@@ -2,6 +2,8 @@ interface UiButtonGroupItemProps {
2
2
  value: string;
3
3
  disabled?: boolean;
4
4
  ariaLabel?: string;
5
+ /** Icon class (e.g. "i-ph-text-align-left") rendered before the slot, sized per group size. */
6
+ icon?: string;
5
7
  }
6
8
  declare var __VLS_9: {};
7
9
  type __VLS_Slots = {} & {
@@ -9,6 +11,7 @@ type __VLS_Slots = {} & {
9
11
  };
10
12
  declare const __VLS_base: import("vue").DefineComponent<UiButtonGroupItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UiButtonGroupItemProps> & Readonly<{}>, {
11
13
  ariaLabel: string;
14
+ icon: string;
12
15
  disabled: boolean;
13
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,5 +1,5 @@
1
1
  import type { ComputedRef, InjectionKey } from 'vue';
2
- export type ButtonGroupSize = 'sm' | 'md' | 'lg';
2
+ export type ButtonGroupSize = 'xs' | 'sm' | 'md' | 'lg';
3
3
  export type ButtonGroupColor = 'neutral' | 'neutral-invert' | 'primary' | 'success' | 'warning' | 'error';
4
4
  export interface ButtonGroupRegister {
5
5
  register(value: string, el: HTMLElement): void;
@@ -4,13 +4,15 @@ interface Props extends SelectItemProps {
4
4
  description?: string;
5
5
  icon?: string;
6
6
  }
7
- declare var __VLS_14: {}, __VLS_16: {}, __VLS_18: {};
7
+ declare var __VLS_8: {}, __VLS_16: {}, __VLS_18: {}, __VLS_20: {};
8
8
  type __VLS_Slots = {} & {
9
- title?: (props: typeof __VLS_14) => any;
9
+ leading?: (props: typeof __VLS_8) => any;
10
10
  } & {
11
- description?: (props: typeof __VLS_16) => any;
11
+ title?: (props: typeof __VLS_16) => any;
12
12
  } & {
13
- right?: (props: typeof __VLS_18) => any;
13
+ description?: (props: typeof __VLS_18) => any;
14
+ } & {
15
+ right?: (props: typeof __VLS_20) => any;
14
16
  };
15
17
  declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
16
18
  title: string;
@@ -0,0 +1,45 @@
1
+ interface UiInputEmojiProps {
2
+ disabled?: boolean;
3
+ label?: string;
4
+ locale?: string;
5
+ searchPlaceholder?: string;
6
+ loadingLabel?: string;
7
+ emptyLabel?: string;
8
+ previewPlaceholder?: string;
9
+ skinToneLabel?: string;
10
+ sideOffset?: number;
11
+ open?: boolean;
12
+ }
13
+ declare var __VLS_14: {
14
+ open: boolean;
15
+ disabled: boolean;
16
+ };
17
+ type __VLS_Slots = {} & {
18
+ default?: (props: typeof __VLS_14) => any;
19
+ };
20
+ declare const __VLS_base: import("vue").DefineComponent<UiInputEmojiProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ select: (emoji: string) => any;
22
+ "update:open": (value: boolean) => any;
23
+ }, string, import("vue").PublicProps, Readonly<UiInputEmojiProps> & Readonly<{
24
+ onSelect?: ((emoji: string) => any) | undefined;
25
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
26
+ }>, {
27
+ label: string;
28
+ disabled: boolean;
29
+ sideOffset: number;
30
+ open: boolean;
31
+ locale: string;
32
+ searchPlaceholder: string;
33
+ loadingLabel: string;
34
+ emptyLabel: string;
35
+ previewPlaceholder: string;
36
+ skinToneLabel: string;
37
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
41
+ type __VLS_WithSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -0,0 +1 @@
1
+ export { default as UiInputEmoji } from './UiInputEmoji.vue';
@@ -0,0 +1,67 @@
1
+ import type { RadioValue, RadioVariant } from './types';
2
+ interface UiInputRadioProps {
3
+ /**
4
+ * The value this option represents. `null` is a valid value;
5
+ * object values must be reference-stable.
6
+ */
7
+ value: RadioValue;
8
+ /**
9
+ * The label text
10
+ */
11
+ label?: string;
12
+ /**
13
+ * Description text below the label
14
+ */
15
+ description?: string;
16
+ /**
17
+ * Info tooltip for the label
18
+ */
19
+ labelInfo?: string;
20
+ /**
21
+ * Whether this option is disabled
22
+ * @default false
23
+ */
24
+ disabled?: boolean;
25
+ /**
26
+ * Layout orientation of the radio relative to the label
27
+ * @default 'horizontal'
28
+ */
29
+ orientation?: 'horizontal' | 'vertical';
30
+ /**
31
+ * Visual variant: 'card' renders a selectable tile
32
+ * @default 'default'
33
+ */
34
+ variant?: RadioVariant;
35
+ /**
36
+ * Radio id attribute
37
+ */
38
+ id?: string;
39
+ }
40
+ declare var __VLS_22: {};
41
+ type __VLS_Slots = {} & {
42
+ label?: (props: typeof __VLS_22) => any;
43
+ };
44
+ declare const __VLS_base: import("vue").DefineComponent<UiInputRadioProps, {
45
+ focus: () => void | undefined;
46
+ blur: () => void | undefined;
47
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
+ select: (event: Event) => any;
49
+ }, string, import("vue").PublicProps, Readonly<UiInputRadioProps> & Readonly<{
50
+ onSelect?: ((event: Event) => any) | undefined;
51
+ }>, {
52
+ orientation: "horizontal" | "vertical";
53
+ label: string;
54
+ disabled: boolean;
55
+ variant: RadioVariant;
56
+ description: string;
57
+ id: string;
58
+ labelInfo: string;
59
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
60
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
61
+ declare const _default: typeof __VLS_export;
62
+ export default _default;
63
+ type __VLS_WithSlots<T, S> = T & {
64
+ new (): {
65
+ $slots: S;
66
+ };
67
+ };