@bridge-ui/vue 0.21.0 → 0.22.1

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 (55) hide show
  1. package/dist/Components/Alert/Alert.vue_vue_type_script_setup_true_lang.js +24 -10
  2. package/dist/Components/Alert/alert.types.d.ts +5 -4
  3. package/dist/Components/Alert/composables/useAlert.d.ts +2 -2
  4. package/dist/Components/Alert/composables/useAlert.js +2 -2
  5. package/dist/Components/Autocomplete/Autocomplete.vue.d.ts +1 -0
  6. package/dist/Components/Autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +5 -1
  7. package/dist/Components/Autocomplete/autocomplete.types.d.ts +7 -0
  8. package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +2 -2
  9. package/dist/Components/Autocomplete/composables/useAutocomplete.js +3 -2
  10. package/dist/Components/Avatar/composables/useAvatar.js +2 -2
  11. package/dist/Components/Calendar/composables/useCalendar.js +132 -131
  12. package/dist/Components/CalendarDate/composables/useCalendarDate.js +116 -115
  13. package/dist/Components/CalendarRange/composables/useCalendarRange.js +132 -131
  14. package/dist/Components/Card/Card.vue_vue_type_script_setup_true_lang.js +24 -10
  15. package/dist/Components/Card/card.types.d.ts +5 -4
  16. package/dist/Components/Card/composables/useCard.d.ts +2 -2
  17. package/dist/Components/Card/composables/useCard.js +2 -2
  18. package/dist/Components/Carousel/composables/useCarousel.js +6 -6
  19. package/dist/Components/Chip/Chip.vue.d.ts +0 -1
  20. package/dist/Components/Chip/Chip.vue_vue_type_script_setup_true_lang.js +1 -1
  21. package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +48 -39
  22. package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +33 -36
  23. package/dist/Components/DataTable/composables/useDataTable.d.ts +2 -0
  24. package/dist/Components/DataTable/composables/useDataTable.js +226 -216
  25. package/dist/Components/EmptyState/EmptyState.vue.d.ts +0 -3
  26. package/dist/Components/EmptyState/EmptyState.vue_vue_type_script_setup_true_lang.js +4 -4
  27. package/dist/Components/FileUpload/FileUpload.vue_vue_type_script_setup_true_lang.js +51 -57
  28. package/dist/Components/FileUpload/composables/useFileUpload.d.ts +2 -0
  29. package/dist/Components/FileUpload/composables/useFileUpload.js +6 -4
  30. package/dist/Components/Link/Link.vue_vue_type_script_setup_true_lang.js +1 -1
  31. package/dist/Components/Link/link.types.d.ts +1 -1
  32. package/dist/Components/ListItem/composables/useListItem.js +4 -5
  33. package/dist/Components/Pagination/composables/usePagination.js +9 -9
  34. package/dist/Components/Select/Select.vue.d.ts +1 -0
  35. package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +5 -1
  36. package/dist/Components/Select/composables/useSelect.d.ts +2 -2
  37. package/dist/Components/Select/composables/useSelect.js +3 -2
  38. package/dist/Components/Select/select.types.d.ts +7 -0
  39. package/dist/Components/Snackbar/Snackbar.vue_vue_type_script_setup_true_lang.js +97 -72
  40. package/dist/Components/Snackbar/composables/useSnackbar.d.ts +2 -2
  41. package/dist/Components/Snackbar/composables/useSnackbar.js +2 -2
  42. package/dist/Components/Snackbar/snackbar.types.d.ts +5 -4
  43. package/dist/Components/Table/composables/useTableRow.js +3 -3
  44. package/dist/Components/Text/Text.vue_vue_type_script_setup_true_lang.js +1 -1
  45. package/dist/Components/Text/composables/useText.d.ts +1 -1
  46. package/dist/Components/Text/text.types.d.ts +1 -1
  47. package/dist/Components/TimePanel/composables/useTimePanel.js +113 -112
  48. package/dist/Utils/index.d.ts +6 -0
  49. package/dist/Utils/index.js +21 -17
  50. package/dist/index.js +157 -157
  51. package/docs/components/Autocomplete.md +23 -22
  52. package/docs/components/Link.md +1 -1
  53. package/docs/components/Select.md +22 -21
  54. package/docs/components/Text.md +6 -4
  55. package/package.json +2 -2
@@ -1,13 +1,14 @@
1
1
  import { useResolveMessage as e } from "../../Adapters/I18n/useI18nAdapter.js";
2
2
  import t from "../Icon/Icon.js";
3
- import { useSnackbar as n } from "./composables/useSnackbar.js";
4
- import { Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, guardReactiveProps as f, mergeModels as p, mergeProps as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b, useModel as x, useSlots as S } from "vue";
5
- import { cn as C } from "@bridge-ui/core/Utils";
3
+ import n from "../Text/Text.js";
4
+ import { useSnackbar as r } from "./composables/useSnackbar.js";
5
+ import { Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, mergeModels as m, mergeProps as h, normalizeClass as g, normalizeProps as _, openBlock as v, renderSlot as y, toDisplayString as b, unref as x, useModel as S, useSlots as ee, withCtx as C } from "vue";
6
+ import { cn as w } from "@bridge-ui/core/Utils";
6
7
  // src/Components/Snackbar/Snackbar.vue?vue&type=script&setup=true&lang.ts
7
- var w = { class: "w-full max-w-sm pointer-events-auto" }, T = ["src"], E = { class: "flex ml-4 shrink-0" }, D = ["aria-label"], O = ["src"], k = { class: "flex ml-4 shrink-0" }, A = ["aria-label"], j = /*@__PURE__*/ d({
8
+ var T = { class: "w-full max-w-sm pointer-events-auto" }, E = ["src"], D = { class: "flex ml-4 shrink-0" }, O = ["aria-label"], k = ["src"], A = { class: "flex ml-4 shrink-0" }, j = ["aria-label"], M = /*@__PURE__*/ f({
8
9
  inheritAttrs: !1,
9
10
  __name: "Snackbar",
10
- props: /*@__PURE__*/ p({
11
+ props: /*@__PURE__*/ m({
11
12
  classes: {},
12
13
  closeButton: {
13
14
  type: Boolean,
@@ -43,13 +44,13 @@ var w = { class: "w-full max-w-sm pointer-events-auto" }, T = ["src"], E = { cla
43
44
  },
44
45
  modelModifiers: {}
45
46
  }),
46
- emits: /*@__PURE__*/ p([
47
+ emits: /*@__PURE__*/ m([
47
48
  "close",
48
49
  "leave-complete",
49
50
  "show-change"
50
51
  ], ["update:modelValue"]),
51
- setup(d, { emit: p }) {
52
- let j = S(), M = p, N = d, P = e(), F = x(d, "modelValue"), { merged: I, rendered: L, iconBind: R, panelBind: z, titleBind: B, isPortaled: V, portalBind: H, contentBind: U, setPanelRef: W, showProgress: G, progressBind: K, resolvedIcon: q, requestClose: J, descriptionBind: Y } = n(N, {
52
+ setup(f, { emit: m }) {
53
+ let M = ee(), N = m, P = f, F = e(), I = S(f, "modelValue"), { merged: L, rendered: R, iconBind: z, panelBind: B, titleBind: V, isPortaled: H, portalBind: te, contentBind: U, setPanelRef: W, showProgress: G, progressBind: K, resolvedIcon: q, requestClose: J, descriptionBind: Y } = r(P, {
53
54
  rounded: "lg",
54
55
  duration: 5e3,
55
56
  color: "primary",
@@ -60,105 +61,129 @@ var w = { class: "w-full max-w-sm pointer-events-auto" }, T = ["src"], E = { cla
60
61
  transition: "slide",
61
62
  position: "bottom-center"
62
63
  }, {
63
- show: F,
64
- stackId: N.stackId,
65
- onClose: () => M("close"),
66
- onLeaveComplete: () => M("leave-complete"),
67
- onShowChange: (e) => M("show-change", e)
68
- }), X = i(() => !!(j.icon || q.value || I.value.img)), Z = i(() => !!(j.title || I.value.title)), Q = i(() => !!(j.description || I.value.description)), $ = i(() => !!j.right), ee = i(() => I.value.teleportTo === !1 ? "body" : I.value.teleportTo);
69
- return (e, n) => b(L) && b(V) ? (_(), a(r, {
64
+ show: I,
65
+ stackId: P.stackId,
66
+ onClose: () => N("close"),
67
+ onLeaveComplete: () => N("leave-complete"),
68
+ onShowChange: (e) => N("show-change", e)
69
+ }), X = a(() => !!(M.icon || q.value || L.value.img)), Z = a(() => !!(M.title || L.value.title)), Q = a(() => !!(M.description || L.value.description)), $ = a(() => !!M.right), ne = a(() => L.value.teleportTo === !1 ? "body" : L.value.teleportTo);
70
+ return (e, r) => x(R) && x(H) ? (v(), o(i, {
70
71
  key: 0,
71
- to: ee.value
72
- }, [c("div", g(f(b(H))), [c("div", w, [c("div", m({ ref: b(W) }, b(z), { class: b(C)(b(z).class, { flex: $.value }) }), [
73
- c("div", g(f(b(U)($.value))), [c("div", { class: h({
72
+ to: ne.value
73
+ }, [l("div", _(p(x(te))), [l("div", T, [l("div", h({ ref: x(W) }, x(B), { class: x(w)(x(B).class, { flex: $.value }) }), [
74
+ l("div", _(p(x(U)($.value))), [l("div", { class: g({
74
75
  "flex items-start": !$.value,
75
76
  "w-full flex": $.value
76
77
  }) }, [
77
- X.value ? (_(), s("div", {
78
+ X.value ? (v(), c("div", {
78
79
  key: 0,
79
- class: h(["shrink-0", {
80
- "w-6": !!(b(q) || b(j).icon),
81
- "pt-0.5": !!b(I).img
80
+ class: g(["shrink-0", {
81
+ "w-6": !!(x(q) || x(M).icon),
82
+ "pt-0.5": !!x(L).img
82
83
  }])
83
84
  }, [
84
- v(e.$slots, "icon"),
85
- !b(j).icon && b(I).img ? (_(), s("img", {
85
+ y(e.$slots, "icon"),
86
+ !x(M).icon && x(L).img ? (v(), c("img", {
86
87
  key: 0,
87
88
  alt: "",
88
- src: b(I).img,
89
+ src: x(L).img,
89
90
  class: "w-10 h-10 rounded-full"
90
- }, null, 8, T)) : o("", !0),
91
- !b(j).icon && !b(I).img && b(q) ? (_(), a(b(t), m({ key: 1 }, b(R), { icon: b(q) }), null, 16, ["icon"])) : o("", !0)
92
- ], 2)) : o("", !0),
93
- c("div", { class: h(["w-0 flex-1 pt-0.5", { "ml-3": X.value }]) }, [
94
- Z.value ? (_(), s("p", g(m({ key: 0 }, b(B))), [v(e.$slots, "title", {}, () => [l(y(b(I).title), 1)])], 16)) : o("", !0),
95
- Q.value ? (_(), s("p", g(m({ key: 1 }, b(Y))), [v(e.$slots, "description", {}, () => [l(y(b(I).description), 1)])], 16)) : o("", !0),
96
- v(e.$slots, "default"),
97
- b(j).actions ? (_(), s("div", {
91
+ }, null, 8, E)) : s("", !0),
92
+ !x(M).icon && !x(L).img && x(q) ? (v(), o(x(t), h({ key: 1 }, x(z), { icon: x(q) }), null, 16, ["icon"])) : s("", !0)
93
+ ], 2)) : s("", !0),
94
+ l("div", { class: g(["w-0 flex-1 pt-0.5", { "ml-3": X.value }]) }, [
95
+ Z.value ? (v(), o(x(n), h({
96
+ key: 0,
97
+ color: "inherit"
98
+ }, x(V)), {
99
+ default: C(() => [y(e.$slots, "title", {}, () => [u(b(x(L).title), 1)])]),
100
+ _: 3
101
+ }, 16)) : s("", !0),
102
+ Q.value ? (v(), o(x(n), h({
103
+ key: 1,
104
+ color: "inherit"
105
+ }, x(Y)), {
106
+ default: C(() => [y(e.$slots, "description", {}, () => [u(b(x(L).description), 1)])]),
107
+ _: 3
108
+ }, 16)) : s("", !0),
109
+ y(e.$slots, "default"),
110
+ x(M).actions ? (v(), c("div", {
98
111
  key: 2,
99
- class: h(["flex mt-3 gap-x-3", b(I).classes?.actions])
100
- }, [v(e.$slots, "actions")], 2)) : o("", !0)
112
+ class: g(["flex mt-3 gap-x-3", x(L).classes?.actions])
113
+ }, [y(e.$slots, "actions")], 2)) : s("", !0)
101
114
  ], 2),
102
- c("div", E, [v(e.$slots, "trailing"), b(I).closeButton === !1 ? o("", !0) : (_(), s("button", {
115
+ l("div", D, [y(e.$slots, "trailing"), x(L).closeButton === !1 ? s("", !0) : (v(), c("button", {
103
116
  key: 0,
104
117
  type: "button",
105
- onClick: n[0] ||= (...e) => b(J) && b(J)(...e),
106
- "aria-label": b(P)("Close"),
118
+ onClick: r[0] ||= (...e) => x(J) && x(J)(...e),
119
+ "aria-label": x(F)("Close"),
107
120
  class: "cursor-pointer inline-flex rounded-md text-dark-400 hover:text-dark-500 focus:outline-hidden"
108
- }, [u(b(t), {
121
+ }, [d(x(t), {
109
122
  size: "lg",
110
123
  icon: "clear"
111
- })], 8, D))])
124
+ })], 8, O))])
112
125
  ], 2)], 16),
113
- v(e.$slots, "right"),
114
- b(G) ? (_(), s("div", g(m({ key: 0 }, b(K))), null, 16)) : o("", !0)
115
- ], 16)])], 16)], 8, ["to"])) : b(L) ? (_(), s("div", m({
126
+ y(e.$slots, "right"),
127
+ x(G) ? (v(), c("div", _(h({ key: 0 }, x(K))), null, 16)) : s("", !0)
128
+ ], 16)])], 16)], 8, ["to"])) : x(R) ? (v(), c("div", h({
116
129
  key: 1,
117
- ref: b(W)
118
- }, b(z), { class: b(C)(b(z).class, { flex: $.value }) }), [
119
- c("div", g(f(b(U)($.value))), [c("div", { class: h({
130
+ ref: x(W)
131
+ }, x(B), { class: x(w)(x(B).class, { flex: $.value }) }), [
132
+ l("div", _(p(x(U)($.value))), [l("div", { class: g({
120
133
  "flex items-start": !$.value,
121
134
  "w-full flex": $.value
122
135
  }) }, [
123
- X.value ? (_(), s("div", {
136
+ X.value ? (v(), c("div", {
124
137
  key: 0,
125
- class: h(["shrink-0", {
126
- "w-6": !!(b(q) || b(j).icon),
127
- "pt-0.5": !!b(I).img
138
+ class: g(["shrink-0", {
139
+ "w-6": !!(x(q) || x(M).icon),
140
+ "pt-0.5": !!x(L).img
128
141
  }])
129
142
  }, [
130
- v(e.$slots, "icon"),
131
- !b(j).icon && b(I).img ? (_(), s("img", {
143
+ y(e.$slots, "icon"),
144
+ !x(M).icon && x(L).img ? (v(), c("img", {
132
145
  key: 0,
133
146
  alt: "",
134
- src: b(I).img,
147
+ src: x(L).img,
135
148
  class: "w-10 h-10 rounded-full"
136
- }, null, 8, O)) : o("", !0),
137
- !b(j).icon && !b(I).img && b(q) ? (_(), a(b(t), m({ key: 1 }, b(R), { icon: b(q) }), null, 16, ["icon"])) : o("", !0)
138
- ], 2)) : o("", !0),
139
- c("div", { class: h(["w-0 flex-1 pt-0.5", { "ml-3": X.value }]) }, [
140
- Z.value ? (_(), s("p", g(m({ key: 0 }, b(B))), [v(e.$slots, "title", {}, () => [l(y(b(I).title), 1)])], 16)) : o("", !0),
141
- Q.value ? (_(), s("p", g(m({ key: 1 }, b(Y))), [v(e.$slots, "description", {}, () => [l(y(b(I).description), 1)])], 16)) : o("", !0),
142
- v(e.$slots, "default"),
143
- b(j).actions ? (_(), s("div", {
149
+ }, null, 8, k)) : s("", !0),
150
+ !x(M).icon && !x(L).img && x(q) ? (v(), o(x(t), h({ key: 1 }, x(z), { icon: x(q) }), null, 16, ["icon"])) : s("", !0)
151
+ ], 2)) : s("", !0),
152
+ l("div", { class: g(["w-0 flex-1 pt-0.5", { "ml-3": X.value }]) }, [
153
+ Z.value ? (v(), o(x(n), h({
154
+ key: 0,
155
+ color: "inherit"
156
+ }, x(V)), {
157
+ default: C(() => [y(e.$slots, "title", {}, () => [u(b(x(L).title), 1)])]),
158
+ _: 3
159
+ }, 16)) : s("", !0),
160
+ Q.value ? (v(), o(x(n), h({
161
+ key: 1,
162
+ color: "inherit"
163
+ }, x(Y)), {
164
+ default: C(() => [y(e.$slots, "description", {}, () => [u(b(x(L).description), 1)])]),
165
+ _: 3
166
+ }, 16)) : s("", !0),
167
+ y(e.$slots, "default"),
168
+ x(M).actions ? (v(), c("div", {
144
169
  key: 2,
145
- class: h(["flex mt-3 gap-x-3", b(I).classes?.actions])
146
- }, [v(e.$slots, "actions")], 2)) : o("", !0)
170
+ class: g(["flex mt-3 gap-x-3", x(L).classes?.actions])
171
+ }, [y(e.$slots, "actions")], 2)) : s("", !0)
147
172
  ], 2),
148
- c("div", k, [v(e.$slots, "trailing"), b(I).closeButton === !1 ? o("", !0) : (_(), s("button", {
173
+ l("div", A, [y(e.$slots, "trailing"), x(L).closeButton === !1 ? s("", !0) : (v(), c("button", {
149
174
  key: 0,
150
175
  type: "button",
151
- onClick: n[1] ||= (...e) => b(J) && b(J)(...e),
152
- "aria-label": b(P)("Close"),
176
+ onClick: r[1] ||= (...e) => x(J) && x(J)(...e),
177
+ "aria-label": x(F)("Close"),
153
178
  class: "cursor-pointer inline-flex rounded-md text-dark-400 hover:text-dark-500 focus:outline-hidden"
154
- }, [u(b(t), {
179
+ }, [d(x(t), {
155
180
  size: "lg",
156
181
  icon: "clear"
157
- })], 8, A))])
182
+ })], 8, j))])
158
183
  ], 2)], 16),
159
- v(e.$slots, "right"),
160
- b(G) ? (_(), s("div", g(m({ key: 0 }, b(K))), null, 16)) : o("", !0)
161
- ], 16)) : o("", !0);
184
+ y(e.$slots, "right"),
185
+ x(G) ? (v(), c("div", _(h({ key: 0 }, x(K))), null, 16)) : s("", !0)
186
+ ], 16)) : s("", !0);
162
187
  }
163
188
  });
164
- export { j as default };
189
+ export { M as default };
@@ -223,7 +223,7 @@ export declare function useSnackbar(props: SnackbarProps, libDefaults: SnackbarL
223
223
  exportparts?: string | undefined;
224
224
  part?: string | undefined;
225
225
  }>>;
226
- titleBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
226
+ titleBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", Partial<Omit<import('../../Text').TextProps, "as">> | undefined, {}>>;
227
227
  isPortaled: import('vue').ComputedRef<boolean>;
228
228
  portalBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {
229
229
  "data-snackbar-layer": boolean;
@@ -244,6 +244,6 @@ export declare function useSnackbar(props: SnackbarProps, libDefaults: SnackbarL
244
244
  }, "class", import('vue').HTMLAttributes | undefined, {}>>;
245
245
  requestClose: () => void;
246
246
  resolvedIcon: import('vue').ComputedRef<IconSource | null>;
247
- descriptionBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
247
+ descriptionBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", Partial<Omit<import('../../Text').TextProps, "as">> | undefined, {}>>;
248
248
  };
249
249
  export {};
@@ -165,11 +165,11 @@ function f(f, we, p = {}) {
165
165
  [o(V.value, "iconColor") ?? ""]: !0,
166
166
  [o(L.value, "icon") ?? ""]: !0
167
167
  }))), ze = r(() => e(F.value?.title, {}, s({
168
- "text-sm font-medium": !0,
168
+ "font-medium": !0,
169
169
  [o(V.value, "titleColor") ?? ""]: !0,
170
170
  [o(L.value, "title") ?? ""]: !0
171
171
  }))), Be = r(() => e(F.value?.description, {}, s({
172
- "mt-1 text-sm text-dark-500 dark:text-dark-500": !0,
172
+ "mt-1 font-normal text-dark-500 dark:text-dark-500": !0,
173
173
  [o(L.value, "description") ?? ""]: !0
174
174
  }))), Ve = r(() => e(F.value?.progress, {}, {
175
175
  class: s({
@@ -3,6 +3,7 @@ import { SnackbarColor, SnackbarPadding, SnackbarPosition, SnackbarRounded, Snac
3
3
  import { MergeHtmlProps, MergeProps } from '@bridge-ui/core/Utils';
4
4
  import { IconSource } from '../../Adapters/Icon';
5
5
  import { IconProps } from '../Icon';
6
+ import { TextProps } from '../Text';
6
7
  export interface SnackbarColorOverrides {}
7
8
  export interface SnackbarPaddingOverrides {}
8
9
  export interface SnackbarRoundedOverrides {}
@@ -52,9 +53,9 @@ export interface SnackbarCustomProps {
52
53
  */
53
54
  content?: HTMLAttributes;
54
55
  /**
55
- * Props forwarded to the description element.
56
+ * Props forwarded to the `Text` that renders the description element.
56
57
  */
57
- description?: HTMLAttributes;
58
+ description?: Partial<Omit<TextProps, "as">>;
58
59
  /**
59
60
  * Props forwarded to the default `Icon` (`icon` is set by the snackbar).
60
61
  */
@@ -72,9 +73,9 @@ export interface SnackbarCustomProps {
72
73
  */
73
74
  root?: HTMLAttributes;
74
75
  /**
75
- * Props forwarded to the title element.
76
+ * Props forwarded to the `Text` that renders the title element.
76
77
  */
77
- title?: HTMLAttributes;
78
+ title?: Partial<Omit<TextProps, "as">>;
78
79
  }
79
80
  export interface SnackbarEmits {
80
81
  /**
@@ -18,10 +18,10 @@ function l(l) {
18
18
  let t = d.value, n = f?.value === "body";
19
19
  return e(p.value.componentProps.customProps?.root, p.value.inheritedAttrs, { class: o({
20
20
  [t.tokenClasses.variantRow ?? ""]: !0,
21
- [t.mergedClasses.row ?? ""]: !0,
22
- [p.value.componentProps.classes?.root ?? ""]: !0,
23
21
  [t.tokenClasses.variantRowHover ?? ""]: n && t.hoverable,
24
- [t.tokenClasses.variantRowStriped ?? ""]: n && t.striped
22
+ [t.tokenClasses.variantRowStriped ?? ""]: n && t.striped,
23
+ [t.mergedClasses.row ?? ""]: !0,
24
+ [p.value.componentProps.classes?.root ?? ""]: !0
25
25
  }) });
26
26
  }) };
27
27
  }
@@ -18,7 +18,7 @@ var u = /*@__PURE__*/ n({
18
18
  setup(n) {
19
19
  let { merged: u, rootBind: d } = e(n, {
20
20
  as: "p",
21
- size: "md",
21
+ size: "sm",
22
22
  color: "dark",
23
23
  weight: "normal",
24
24
  variant: "default"
@@ -4,6 +4,6 @@ type TextLibDefaults = LibDefaultsShape<TextOwnProps, "as" | "size" | "color" |
4
4
  type TextMerged = MergeLibDefaults<TextOwnProps, TextLibDefaults>;
5
5
  export declare function useText(props: TextOwnProps, libDefaults: TextLibDefaults): {
6
6
  merged: import('vue').ComputedRef<TextMerged>;
7
- rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, Omit<TextProps, "color" | "size" | "classes" | "as" | "variant" | "numeric" | "truncate" | "weight" | "uppercase">>>;
7
+ rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, Omit<TextProps, "color" | "size" | "classes" | "as" | "variant" | "numeric" | "truncate" | "uppercase" | "weight">>>;
8
8
  };
9
9
  export {};
@@ -39,7 +39,7 @@ export interface TextOwnProps {
39
39
  /**
40
40
  * The size of the text.
41
41
  *
42
- * @default "md"
42
+ * @default "sm"
43
43
  */
44
44
  size?: MergeProps<TextSize, TextSizeOverrides>;
45
45
  /**