@bridge-ui/vue 0.6.0 → 0.8.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 (129) hide show
  1. package/ai/skills/bridge-ui-forms/SKILL.md +1 -1
  2. package/dist/Adapters/I18n/useI18nAdapter.d.ts +1 -1
  3. package/dist/Adapters/I18n/useI18nAdapter.js +4 -1
  4. package/dist/Components/Accordion/Accordion.vue_vue_type_script_setup_true_lang.js +1 -1
  5. package/dist/Components/Accordion/accordion.types.d.ts +2 -2
  6. package/dist/Components/Alert/Alert.vue_vue_type_script_setup_true_lang.js +13 -13
  7. package/dist/Components/Alert/alert.types.d.ts +7 -4
  8. package/dist/Components/Alert/composables/useAlert.d.ts +1 -0
  9. package/dist/Components/Alert/composables/useAlert.js +60 -57
  10. package/dist/Components/Autocomplete/Autocomplete.vue.d.ts +1 -1
  11. package/dist/Components/Autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +1 -0
  12. package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +5 -3
  13. package/dist/Components/BaseField/BaseField.vue_vue_type_script_setup_true_lang.js +33 -28
  14. package/dist/Components/BaseField/BaseFieldCorner.js +5 -0
  15. package/dist/Components/BaseField/BaseFieldCorner.vue.d.ts +17 -0
  16. package/dist/Components/BaseField/BaseFieldCorner.vue_vue_type_script_setup_true_lang.js +17 -0
  17. package/dist/Components/BaseField/baseField.types.d.ts +19 -6
  18. package/dist/Components/BaseField/composables/useBaseField.d.ts +7 -3
  19. package/dist/Components/BaseField/composables/useBaseField.js +71 -68
  20. package/dist/Components/Button/Button.vue_vue_type_script_setup_true_lang.js +24 -25
  21. package/dist/Components/Button/composables/useButton.d.ts +3 -1
  22. package/dist/Components/Button/composables/useButton.js +46 -40
  23. package/dist/Components/Calendar/composables/useCalendar.d.ts +1 -1
  24. package/dist/Components/CalendarDate/composables/useCalendarDate.d.ts +1 -1
  25. package/dist/Components/CalendarMonth/composables/useCalendarMonth.d.ts +1 -1
  26. package/dist/Components/CalendarRange/composables/useCalendarRange.d.ts +1 -1
  27. package/dist/Components/CalendarYear/composables/useCalendarYear.d.ts +1 -1
  28. package/dist/Components/ColorField/ColorField.vue.d.ts +1 -1
  29. package/dist/Components/ColorField/ColorField.vue_vue_type_script_setup_true_lang.js +1 -0
  30. package/dist/Components/ColorField/composables/useColorField.d.ts +6 -4
  31. package/dist/Components/ColorPicker/composables/useColorPicker.d.ts +1 -1
  32. package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +154 -131
  33. package/dist/Components/DataTable/DataTablePagination.js +5 -0
  34. package/dist/Components/DataTable/DataTablePagination.vue.d.ts +24 -0
  35. package/dist/Components/DataTable/DataTablePagination.vue_vue_type_script_setup_true_lang.js +40 -0
  36. package/dist/Components/DataTable/composables/useDataTable.d.ts +9 -4
  37. package/dist/Components/DataTable/composables/useDataTable.js +299 -280
  38. package/dist/Components/DataTable/composables/useDataTablePagination.d.ts +69 -0
  39. package/dist/Components/DataTable/composables/useDataTablePagination.js +130 -0
  40. package/dist/Components/DataTable/dataTable.types.d.ts +27 -12
  41. package/dist/Components/DataTable/dataTablePagination.types.d.ts +169 -0
  42. package/dist/Components/DataTable/index.d.ts +2 -1
  43. package/dist/Components/DateField/DateField.vue_vue_type_script_setup_true_lang.js +1 -0
  44. package/dist/Components/DateField/composables/useDateField.d.ts +6 -4
  45. package/dist/Components/DatePicker/composables/useDatePicker.d.ts +1 -1
  46. package/dist/Components/DateRangeField/DateRangeField.vue_vue_type_script_setup_true_lang.js +1 -0
  47. package/dist/Components/DateRangeField/composables/useDateRangeField.d.ts +6 -4
  48. package/dist/Components/DateRangePicker/composables/useDateRangePicker.d.ts +1 -1
  49. package/dist/Components/DateTimeField/DateTimeField.vue_vue_type_script_setup_true_lang.js +1 -0
  50. package/dist/Components/DateTimeField/composables/useDateTimeField.d.ts +6 -4
  51. package/dist/Components/DateTimePicker/composables/useDateTimePicker.d.ts +1 -1
  52. package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue_vue_type_script_setup_true_lang.js +1 -0
  53. package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.d.ts +6 -4
  54. package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.d.ts +1 -1
  55. package/dist/Components/FormControl/composables/useFormControl.d.ts +3 -1
  56. package/dist/Components/FormControl/composables/useFormControl.js +39 -38
  57. package/dist/Components/FormField/FilledFormField.vue.d.ts +7 -7
  58. package/dist/Components/FormField/FilledFormField.vue_vue_type_script_setup_true_lang.js +32 -27
  59. package/dist/Components/FormField/FormFieldCorner.js +5 -0
  60. package/dist/Components/FormField/FormFieldCorner.vue.d.ts +17 -0
  61. package/dist/Components/FormField/FormFieldCorner.vue_vue_type_script_setup_true_lang.js +17 -0
  62. package/dist/Components/FormField/NotchedFormField.vue.d.ts +7 -7
  63. package/dist/Components/FormField/NotchedFormField.vue_vue_type_script_setup_true_lang.js +14 -9
  64. package/dist/Components/FormField/OutlinedFormField.vue.d.ts +7 -7
  65. package/dist/Components/FormField/OutlinedFormField.vue_vue_type_script_setup_true_lang.js +32 -27
  66. package/dist/Components/FormField/StackedFormField.vue.d.ts +6 -6
  67. package/dist/Components/FormField/StackedFormField.vue_vue_type_script_setup_true_lang.js +14 -9
  68. package/dist/Components/FormField/UnderlinedFormField.vue.d.ts +7 -7
  69. package/dist/Components/FormField/UnderlinedFormField.vue_vue_type_script_setup_true_lang.js +32 -27
  70. package/dist/Components/FormField/composables/useFormField.d.ts +8 -4
  71. package/dist/Components/FormField/composables/useFormField.js +153 -143
  72. package/dist/Components/FormField/formField.types.d.ts +18 -6
  73. package/dist/Components/Listbox/Listbox.vue.d.ts +1 -1
  74. package/dist/Components/NumberField/NumberField.vue_vue_type_script_setup_true_lang.js +1 -0
  75. package/dist/Components/NumberField/composables/useNumberField.d.ts +5 -3
  76. package/dist/Components/OtpField/OtpField.vue.d.ts +1 -8
  77. package/dist/Components/OtpField/OtpField.vue_vue_type_script_setup_true_lang.js +7 -6
  78. package/dist/Components/OtpField/composables/useOtpField.d.ts +4 -2
  79. package/dist/Components/Pagination/Pagination.vue_vue_type_script_setup_true_lang.js +6 -6
  80. package/dist/Components/Pagination/composables/usePagination.d.ts +4 -2
  81. package/dist/Components/Pagination/composables/usePagination.js +125 -127
  82. package/dist/Components/Pagination/pagination.types.d.ts +5 -5
  83. package/dist/Components/PasswordField/PasswordField.vue_vue_type_script_setup_true_lang.js +1 -0
  84. package/dist/Components/PasswordField/composables/usePasswordField.d.ts +5 -3
  85. package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +1 -0
  86. package/dist/Components/Select/composables/useSelect.d.ts +5 -3
  87. package/dist/Components/Sidebar/composables/useSidebarList.js +1 -1
  88. package/dist/Components/Sidebar/composables/useSidebarShell.js +1 -1
  89. package/dist/Components/Slider/Slider.vue_vue_type_script_setup_true_lang.js +1 -0
  90. package/dist/Components/Slider/composables/useSlider.d.ts +5 -3
  91. package/dist/Components/Tabs/Tabs.vue_vue_type_script_setup_true_lang.js +2 -2
  92. package/dist/Components/Tabs/composables/useTabs.js +16 -10
  93. package/dist/Components/Tabs/tabs.types.d.ts +3 -3
  94. package/dist/Components/TextField/TextField.vue_vue_type_script_setup_true_lang.js +1 -0
  95. package/dist/Components/TextField/composables/useTextField.d.ts +5 -3
  96. package/dist/Components/Textarea/Textarea.vue_vue_type_script_setup_true_lang.js +1 -0
  97. package/dist/Components/Textarea/composables/useTextarea.d.ts +5 -3
  98. package/dist/Components/TimeField/TimeField.vue_vue_type_script_setup_true_lang.js +1 -0
  99. package/dist/Components/TimeField/composables/useTimeField.d.ts +6 -4
  100. package/dist/Components/TimePanel/composables/useTimePanel.d.ts +1 -1
  101. package/dist/Components/TimePicker/composables/useTimePicker.d.ts +1 -1
  102. package/dist/Components/TimeRangeField/TimeRangeField.vue_vue_type_script_setup_true_lang.js +1 -0
  103. package/dist/Components/TimeRangeField/composables/useTimeRangeField.d.ts +6 -4
  104. package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.d.ts +1 -1
  105. package/dist/Components/Tooltip/composables/useTooltip.d.ts +1 -1
  106. package/dist/Utils/index.d.ts +11 -2
  107. package/dist/Utils/index.js +31 -27
  108. package/dist/augments.d.ts +8 -8
  109. package/dist/index.d.ts +1 -1
  110. package/dist/index.js +4 -4
  111. package/docs/components/Accordion.md +1 -1
  112. package/docs/components/Alert.md +4 -2
  113. package/docs/components/BaseField.md +19 -18
  114. package/docs/components/BridgeUIProvider.md +14 -7
  115. package/docs/components/DataTable.md +5 -11
  116. package/docs/components/FormControl.md +1 -1
  117. package/docs/components/FormField.md +28 -27
  118. package/docs/components/I18n.md +65 -24
  119. package/docs/components/Pagination.md +5 -3
  120. package/docs/components/Table.md +2 -2
  121. package/docs/components/Tabs.md +24 -6
  122. package/docs/examples/i18n-dictionary.ts +28 -10
  123. package/docs/examples/i18n-vue-i18n.ts +7 -6
  124. package/docs/examples/icon-fontawesome.ts +4 -0
  125. package/docs/examples/icon-heroicons.ts +5 -1
  126. package/docs/examples/icon-lucide.ts +4 -0
  127. package/docs/examples/icon-phosphor.ts +4 -0
  128. package/docs/examples/icon-tabler.ts +4 -0
  129. package/package.json +2 -2
@@ -24,17 +24,19 @@ export declare function usePagination(props: PaginationOwnProps, libDefaults: Pa
24
24
  prevBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
25
25
  onClick: () => void;
26
26
  type: "button";
27
- "aria-label": string;
28
27
  disabled: boolean;
28
+ "aria-label": string;
29
29
  class: string;
30
30
  }, "class", import('vue').ButtonHTMLAttributes | undefined, {}>>;
31
31
  nextBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
32
32
  onClick: () => void;
33
- "aria-label": string;
34
33
  type: "button";
35
34
  disabled: boolean;
35
+ "aria-label": string;
36
36
  class: string;
37
37
  }, "class", import('vue').ButtonHTMLAttributes | undefined, {}>>;
38
+ prevLabel: import('vue').ComputedRef<string>;
39
+ nextLabel: import('vue').ComputedRef<string>;
38
40
  getItemBind: (pageNumber: number) => import('@bridge-ui/core/Utils').MergePartBind<{
39
41
  type: "button";
40
42
  disabled: NonNullable<boolean | undefined>;
@@ -1,11 +1,12 @@
1
- import { mergePartBind as e, useBridgeUIComponent as t, useBridgeUIMergedRegistryClasses as n } from "../../../Utils/index.js";
2
- import { computed as r, useAttrs as i, useSlots as a } from "vue";
3
- import { get as o } from "es-toolkit/compat";
4
- import { getPaginationItems as s } from "@bridge-ui/core/Domain";
5
- import { paginationColorProps as ee, paginationRoundedProps as c, paginationSizeProps as l, paginationVariantProps as u } from "@bridge-ui/core/Tokens";
6
- import { cn as d, mergeBridgeUILayeredClasses as f, splitComponentProps as p } from "@bridge-ui/core/Utils";
1
+ import { useResolveMessage as e } from "../../../Adapters/I18n/useI18nAdapter.js";
2
+ import { mergePartBind as t, useBridgeUIComponent as n, useBridgeUIMergedRegistryClasses as r } from "../../../Utils/index.js";
3
+ import { computed as i, useAttrs as a, useSlots as o } from "vue";
4
+ import { get as s } from "es-toolkit/compat";
5
+ import { getPaginationItems as c } from "@bridge-ui/core/Domain";
6
+ import { paginationColorProps as l, paginationRoundedProps as u, paginationSizeProps as d, paginationVariantProps as f } from "@bridge-ui/core/Tokens";
7
+ import { cn as p, mergeBridgeUILayeredClasses as m, splitComponentProps as h } from "@bridge-ui/core/Utils";
7
8
  //#region src/Components/Pagination/composables/usePagination.ts
8
- var m = [
9
+ var g = [
9
10
  "mode",
10
11
  "size",
11
12
  "color",
@@ -23,166 +24,163 @@ var m = [
23
24
  "hideNextButton",
24
25
  "hidePrevButton"
25
26
  ];
26
- function h(h, g, _, v) {
27
- let y = i(), b = a(), x = r(() => p({
27
+ function _(_, v, y, b) {
28
+ let x = e(), S = a(), C = o(), w = i(() => h({
28
29
  props: {
29
- ...y,
30
- ...h
30
+ ...S,
31
+ ..._
31
32
  },
32
- bridgeKeys: m
33
- })), { merged: S, entry: C } = t({
34
- libDefaults: g,
33
+ bridgeKeys: g
34
+ })), { merged: T, entry: E } = n({
35
+ libDefaults: v,
35
36
  componentName: "Pagination",
36
- props: () => x.value.componentProps
37
- }), w = r(() => S.value.customProps), T = r(() => S.value.mode === "simple" ? 1 : _.value ?? 1), E = r(() => S.value.mode === "simple" ? [] : s({
38
- page: T.value,
39
- count: S.value.count ?? 0,
40
- siblingCount: S.value.siblingCount,
41
- boundaryCount: S.value.boundaryCount
42
- })), D = n({
43
- entry: C,
44
- props: () => x.value.componentProps
45
- }), O = r(() => f(l, C.value?.tokens?.size)), k = r(() => f(u, C.value?.tokens?.variant)), A = r(() => f(ee, C.value?.tokens?.color)), j = r(() => f(c, C.value?.tokens?.rounded)), M = r(() => o(O.value, S.value.size)), N = r(() => o(k.value, S.value.variant)), P = r(() => o(A.value, S.value.color)), F = r(() => o(j.value, S.value.rounded)), I = (e) => {
46
- if (S.value.disabled) return;
47
- let t = S.value.count ?? 0, n = Math.min(Math.max(1, e), Math.max(t, 1));
48
- _.value = n, v("change", n), v("update:modelValue", n);
49
- }, L = () => {
50
- if (!S.value.disabled) {
51
- if (S.value.mode === "simple") {
52
- if (S.value.hasPrevious === !1) return;
53
- v("previous");
37
+ props: () => w.value.componentProps
38
+ }), D = i(() => T.value.customProps), O = i(() => T.value.mode === "simple" ? 1 : y.value ?? 1), k = i(() => T.value.mode === "simple" ? [] : c({
39
+ page: O.value,
40
+ count: T.value.count ?? 0,
41
+ siblingCount: T.value.siblingCount,
42
+ boundaryCount: T.value.boundaryCount
43
+ })), A = r({
44
+ entry: E,
45
+ props: () => w.value.componentProps
46
+ }), j = i(() => m(d, E.value?.tokens?.size)), M = i(() => m(f, E.value?.tokens?.variant)), ee = i(() => m(l, E.value?.tokens?.color)), te = i(() => m(u, E.value?.tokens?.rounded)), N = i(() => s(j.value, T.value.size)), P = i(() => s(M.value, T.value.variant)), F = i(() => s(ee.value, T.value.color)), I = i(() => s(te.value, T.value.rounded)), L = (e) => {
47
+ if (T.value.disabled) return;
48
+ let t = T.value.count ?? 0, n = Math.min(Math.max(1, e), Math.max(t, 1));
49
+ y.value = n, b("change", n), b("update:modelValue", n);
50
+ }, R = () => {
51
+ if (!T.value.disabled) {
52
+ if (T.value.mode === "simple") {
53
+ if (T.value.hasPrevious === !1) return;
54
+ b("previous");
54
55
  return;
55
56
  }
56
- I(T.value - 1);
57
+ L(O.value - 1);
57
58
  }
58
- }, R = () => {
59
- if (!S.value.disabled) {
60
- if (S.value.mode === "simple") {
61
- if (S.value.hasNext === !1) return;
62
- v("next");
59
+ }, z = () => {
60
+ if (!T.value.disabled) {
61
+ if (T.value.mode === "simple") {
62
+ if (T.value.hasNext === !1) return;
63
+ b("next");
63
64
  return;
64
65
  }
65
- I(T.value + 1);
66
+ L(O.value + 1);
66
67
  }
67
- }, z = r(() => S.value.disabled ? !0 : S.value.mode === "simple" ? S.value.hasPrevious === !1 : T.value <= 1), B = r(() => S.value.disabled ? !0 : S.value.mode === "simple" ? S.value.hasNext === !1 : T.value >= (S.value.count ?? 0)), V = r(() => !S.value.hidePrevButton), H = r(() => !S.value.hideNextButton), U = r(() => S.value.variant === "outlined"), W = r(() => S.value.variant === "ghost"), G = r(() => d({
68
- [o(M.value, "item") ?? ""]: !0,
69
- [o(N.value, "item") ?? ""]: !0,
70
- [o(F.value, "item") ?? ""]: W.value
71
- })), K = r(() => d({
72
- [o(M.value, "itemIcon") ?? ""]: !0,
73
- [o(N.value, "item") ?? ""]: !0,
74
- [o(F.value, "item") ?? ""]: W.value
75
- })), q = r(() => {
76
- let e = S.value.variant;
77
- return d({
78
- [o(N.value, "itemSelected") ?? ""]: !0,
79
- [o(P.value, "itemSelectedFilled") ?? ""]: e === "outlined",
80
- [o(P.value, "itemSelectedAccent") ?? ""]: e === "text" || e === "ghost",
81
- [o(P.value, "itemSelectedSoft") ?? ""]: e === "ghost"
82
- });
83
- }), J = r(() => {
84
- let e = E.value.filter((e) => e.type === "page");
68
+ }, B = i(() => T.value.disabled ? !0 : T.value.mode === "simple" ? T.value.hasPrevious === !1 : O.value <= 1), V = i(() => T.value.disabled ? !0 : T.value.mode === "simple" ? T.value.hasNext === !1 : O.value >= (T.value.count ?? 0)), H = i(() => !T.value.hidePrevButton), U = i(() => !T.value.hideNextButton), W = i(() => T.value.variant === "outlined"), G = i(() => T.value.variant === "ghost" || T.value.variant === "text"), K = i(() => p({
69
+ [s(N.value, "item") ?? ""]: !0,
70
+ [s(P.value, "item") ?? ""]: !0,
71
+ [s(I.value, "item") ?? ""]: G.value
72
+ })), q = i(() => p({
73
+ [s(N.value, "itemIcon") ?? ""]: !0,
74
+ [s(P.value, "item") ?? ""]: !0,
75
+ [s(I.value, "item") ?? ""]: G.value
76
+ })), J = i(() => p({
77
+ [s(P.value, "itemSelected") ?? ""]: !0,
78
+ [s(F.value, "itemSelectedAccent") ?? ""]: !0
79
+ })), Y = i(() => {
80
+ let e = k.value.filter((e) => e.type === "page");
85
81
  return {
86
82
  first: e[0]?.page,
87
83
  last: e[e.length - 1]?.page
88
84
  };
89
- }), Y = (e, t) => {
90
- if (!U.value) return !1;
85
+ }), X = (e, t) => {
86
+ if (!W.value) return !1;
91
87
  if (e === "prev") return !0;
92
- if (V.value) return !1;
93
- let n = E.value[0];
88
+ if (H.value) return !1;
89
+ let n = k.value[0];
94
90
  return e === "page" ? n?.type === "page" && n.page === t : e === "ellipsis" && n?.type === "ellipsis" && t === 0;
95
- }, X = r(() => {
96
- let t = x.value.inheritedAttrs;
97
- return e(w.value?.root, t, {
98
- "aria-label": t["aria-label"] ?? "Pagination",
99
- class: d({
100
- [o(M.value, "root") ?? ""]: !0,
101
- [o(D.value, "root") ?? ""]: !0
91
+ }, Z = i(() => x("Previous")), Q = i(() => x("Next")), ne = i(() => {
92
+ let e = w.value.inheritedAttrs;
93
+ return t(D.value?.root, e, {
94
+ "aria-label": e["aria-label"] ?? x("Pagination"),
95
+ class: p({
96
+ [s(N.value, "root") ?? ""]: !0,
97
+ [s(A.value, "root") ?? ""]: !0
102
98
  })
103
99
  });
104
- }), Z = r(() => e(w.value?.list, {}, { class: d({
105
- [o(M.value, "list") ?? ""]: !0,
106
- [o(N.value, "list") ?? ""]: !0,
107
- [o(F.value, "list") ?? ""]: U.value,
108
- [o(D.value, "list") ?? ""]: !0
109
- }) })), Q = (t) => {
110
- let n = t === T.value, r = U.value && !V.value && t === J.value.first, i = U.value && !H.value && t === J.value.last;
111
- return e(w.value?.item, {}, {
100
+ }), re = i(() => t(D.value?.list, {}, { class: p({
101
+ [s(N.value, "list") ?? ""]: !0,
102
+ [s(P.value, "list") ?? ""]: !0,
103
+ [s(I.value, "list") ?? ""]: W.value,
104
+ [s(A.value, "list") ?? ""]: !0
105
+ }) })), ie = (e) => {
106
+ let n = e === O.value, r = W.value && !H.value && e === Y.value.first, i = W.value && !U.value && e === Y.value.last;
107
+ return t(D.value?.item, {}, {
112
108
  type: "button",
113
- disabled: S.value.disabled,
114
- "aria-label": `Page ${t}`,
109
+ disabled: T.value.disabled,
110
+ "aria-label": `Page ${e}`,
115
111
  "aria-current": n ? "page" : void 0,
116
112
  onClick: () => {
117
- n || I(t);
113
+ n || L(e);
118
114
  },
119
- class: d({
120
- [G.value]: !0,
121
- [q.value]: n,
122
- [o(D.value, "item") ?? ""]: !0,
123
- "ml-0": Y("page", t),
124
- [o(F.value, "itemStart") ?? ""]: r,
125
- [o(F.value, "itemEnd") ?? ""]: i
115
+ class: p({
116
+ [K.value]: !0,
117
+ [J.value]: n,
118
+ [s(A.value, "item") ?? ""]: !0,
119
+ "ml-0": X("page", e),
120
+ [s(I.value, "itemStart") ?? ""]: r,
121
+ [s(I.value, "itemEnd") ?? ""]: i
126
122
  })
127
123
  });
128
- }, te = (t) => e(w.value?.ellipsis, {}, {
124
+ }, ae = (e) => t(D.value?.ellipsis, {}, {
129
125
  "aria-hidden": !0,
130
- "data-ellipsis-index": t,
131
- class: d({
132
- [o(M.value, "ellipsis") ?? ""]: !0,
133
- [o(N.value, "ellipsis") ?? ""]: !0,
134
- [o(F.value, "item") ?? ""]: W.value,
135
- [o(D.value, "ellipsis") ?? ""]: !0,
136
- "ml-0": Y("ellipsis", t)
126
+ "data-ellipsis-index": e,
127
+ class: p({
128
+ [s(N.value, "ellipsis") ?? ""]: !0,
129
+ [s(P.value, "ellipsis") ?? ""]: !0,
130
+ [s(I.value, "item") ?? ""]: G.value,
131
+ [s(A.value, "ellipsis") ?? ""]: !0,
132
+ "ml-0": X("ellipsis", e)
137
133
  })
138
- }), $ = r(() => o(M.value, "icon") ?? "sm");
134
+ }), $ = i(() => s(N.value, "icon") ?? "sm");
139
135
  return {
140
- page: T,
141
- slots: b,
142
- merged: S,
143
- entries: E,
144
- showPrev: V,
145
- showNext: H,
146
- rootBind: X,
147
- listBind: Z,
148
- prevBind: r(() => e(w.value?.prev, {}, {
149
- onClick: L,
136
+ page: O,
137
+ slots: C,
138
+ merged: T,
139
+ entries: k,
140
+ showPrev: H,
141
+ showNext: U,
142
+ rootBind: ne,
143
+ listBind: re,
144
+ prevBind: i(() => t(D.value?.prev, {}, {
145
+ onClick: R,
150
146
  type: "button",
151
- "aria-label": "Previous",
152
- disabled: z.value,
153
- class: d({
154
- [K.value]: !0,
155
- [o(D.value, "prev") ?? ""]: !0,
156
- [o(D.value, "item") ?? ""]: !0,
157
- "ml-0": U.value,
158
- [o(F.value, "itemStart") ?? ""]: U.value
147
+ disabled: B.value,
148
+ "aria-label": Z.value,
149
+ class: p({
150
+ [q.value]: !0,
151
+ [s(A.value, "prev") ?? ""]: !0,
152
+ [s(A.value, "item") ?? ""]: !0,
153
+ "ml-0": W.value,
154
+ [s(I.value, "itemStart") ?? ""]: W.value
159
155
  })
160
156
  })),
161
- nextBind: r(() => e(w.value?.next, {}, {
162
- onClick: R,
163
- "aria-label": "Next",
157
+ nextBind: i(() => t(D.value?.next, {}, {
158
+ onClick: z,
164
159
  type: "button",
165
- disabled: B.value,
166
- class: d({
167
- [K.value]: !0,
168
- [o(D.value, "next") ?? ""]: !0,
169
- [o(D.value, "item") ?? ""]: !0,
170
- [o(F.value, "itemEnd") ?? ""]: U.value
160
+ disabled: V.value,
161
+ "aria-label": Q.value,
162
+ class: p({
163
+ [q.value]: !0,
164
+ [s(A.value, "next") ?? ""]: !0,
165
+ [s(A.value, "item") ?? ""]: !0,
166
+ [s(I.value, "itemEnd") ?? ""]: W.value
171
167
  })
172
168
  })),
173
- getItemBind: Q,
174
- prevIconBind: r(() => e(w.value?.prevIcon, {}, {
169
+ prevLabel: Z,
170
+ nextLabel: Q,
171
+ getItemBind: ie,
172
+ prevIconBind: i(() => t(D.value?.prevIcon, {}, {
175
173
  "aria-hidden": !0,
176
174
  size: $.value,
177
175
  class: "shrink-0 pointer-events-none"
178
176
  })),
179
- nextIconBind: r(() => e(w.value?.nextIcon, {}, {
177
+ nextIconBind: i(() => t(D.value?.nextIcon, {}, {
180
178
  "aria-hidden": !0,
181
179
  size: $.value,
182
180
  class: "shrink-0 pointer-events-none"
183
181
  })),
184
- getEllipsisBind: te
182
+ getEllipsisBind: ae
185
183
  };
186
184
  }
187
185
  //#endregion
188
- export { h as usePagination };
186
+ export { _ as usePagination };
@@ -117,9 +117,9 @@ export interface PaginationOwnProps {
117
117
  */
118
118
  classes?: PaginationClasses;
119
119
  /**
120
- * Selected page accent color.
120
+ * Optional text accent for the selected page. Selected surface comes from `variant`.
121
121
  *
122
- * @default "primary"
122
+ * @default "dark"
123
123
  */
124
124
  color?: MergeProps<PaginationColor, PaginationColorOverrides>;
125
125
  /**
@@ -165,7 +165,7 @@ export interface PaginationOwnProps {
165
165
  */
166
166
  hidePrevButton?: boolean;
167
167
  /**
168
- * Numbered pages vs prev/next only.
168
+ * Numbered pages, or prev/next only.
169
169
  *
170
170
  * @default "numbered"
171
171
  */
@@ -177,7 +177,7 @@ export interface PaginationOwnProps {
177
177
  */
178
178
  modelValue?: number;
179
179
  /**
180
- * Control corner radius (`ghost` items / `outlined` group edges).
180
+ * Control corner radius (`ghost` / `text` items and `outlined` group edges).
181
181
  *
182
182
  * @default "md"
183
183
  */
@@ -197,7 +197,7 @@ export interface PaginationOwnProps {
197
197
  /**
198
198
  * Visual style of page / control buttons.
199
199
  *
200
- * @default "text"
200
+ * @default "ghost"
201
201
  */
202
202
  variant?: MergeProps<PaginationVariant, PaginationVariantOverrides>;
203
203
  }
@@ -35,6 +35,7 @@ var A = /*@__PURE__*/ m({
35
35
  readonly: { type: Boolean },
36
36
  required: { type: Boolean },
37
37
  rounded: {},
38
+ showDescriptionOnError: { type: Boolean },
38
39
  showErrorIcon: { type: Boolean },
39
40
  size: {},
40
41
  slots: {},
@@ -433,11 +433,10 @@ export declare function usePasswordField(props: PasswordFieldOwnProps, options?:
433
433
  onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
434
434
  onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
435
435
  onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
436
- }, Partial<Omit<Omit<import('../../FormField').FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showErrorIcon" | "startIcon">>>>;
436
+ }, Partial<Omit<Omit<import('../../FormField').FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon" | "startIcon">>>>;
437
437
  isNotched: import('vue').ComputedRef<boolean>;
438
438
  isStacked: import('vue').ComputedRef<boolean>;
439
439
  startBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
440
- cornerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
441
440
  headerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
442
441
  isDisabled: import('vue').ComputedRef<boolean>;
443
442
  isReadonly: import('vue').ComputedRef<boolean>;
@@ -455,9 +454,12 @@ export declare function usePasswordField(props: PasswordFieldOwnProps, options?:
455
454
  ariaDescribedBy: import('vue').ComputedRef<string | undefined>;
456
455
  descriptionBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
457
456
  stackedBodyBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
457
+ fieldCornerProps: import('vue').ComputedRef<import('../../Label').LabelProps>;
458
458
  hasInsetLabelRow: import('vue').ComputedRef<boolean>;
459
459
  insetLabelRowBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
460
460
  stackedInputRowBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
461
+ showErrorMessageRow: import('vue').ComputedRef<boolean>;
462
+ showDescriptionContent: import('vue').ComputedRef<boolean>;
461
463
  showErrorMessageContent: import('vue').ComputedRef<boolean>;
462
464
  reservesErrorMessageSpace: import('vue').ComputedRef<boolean>;
463
465
  };
@@ -682,7 +684,7 @@ export declare function usePasswordField(props: PasswordFieldOwnProps, options?:
682
684
  onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
683
685
  onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
684
686
  onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
685
- }, Partial<Omit<Omit<import('../../FormField').FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showErrorIcon" | "startIcon">>>, {
687
+ }, Partial<Omit<Omit<import('../../FormField').FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon" | "startIcon">>>, {
686
688
  type: string;
687
689
  }>>;
688
690
  isVisible: import('vue').ComputedRef<boolean>;
@@ -72,6 +72,7 @@ var N = {
72
72
  readonly: { type: Boolean },
73
73
  required: { type: Boolean },
74
74
  rounded: {},
75
+ showDescriptionOnError: { type: Boolean },
75
76
  showErrorIcon: {
76
77
  type: Boolean,
77
78
  default: !0
@@ -437,11 +437,10 @@ export declare function useSelect(props: SelectOwnProps, model: Ref<null | undef
437
437
  onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
438
438
  onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
439
439
  onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
440
- }, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showErrorIcon" | "startIcon">>>>;
440
+ }, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon" | "startIcon">>>>;
441
441
  isNotched: import('vue').ComputedRef<boolean>;
442
442
  isStacked: import('vue').ComputedRef<boolean>;
443
443
  startBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
444
- cornerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
445
444
  headerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
446
445
  isDisabled: import('vue').ComputedRef<boolean>;
447
446
  isReadonly: import('vue').ComputedRef<boolean>;
@@ -459,9 +458,12 @@ export declare function useSelect(props: SelectOwnProps, model: Ref<null | undef
459
458
  ariaDescribedBy: import('vue').ComputedRef<string | undefined>;
460
459
  descriptionBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
461
460
  stackedBodyBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
461
+ fieldCornerProps: import('vue').ComputedRef<import('../../Label').LabelProps>;
462
462
  hasInsetLabelRow: import('vue').ComputedRef<boolean>;
463
463
  insetLabelRowBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
464
464
  stackedInputRowBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
465
+ showErrorMessageRow: import('vue').ComputedRef<boolean>;
466
+ showDescriptionContent: import('vue').ComputedRef<boolean>;
465
467
  showErrorMessageContent: import('vue').ComputedRef<boolean>;
466
468
  reservesErrorMessageSpace: import('vue').ComputedRef<boolean>;
467
469
  };
@@ -721,7 +723,7 @@ export declare function useSelect(props: SelectOwnProps, model: Ref<null | undef
721
723
  onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
722
724
  onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
723
725
  onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
724
- }, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showErrorIcon" | "startIcon">>>>>;
726
+ }, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon" | "startIcon">>>>>;
725
727
  handleApply: () => void;
726
728
  selectOption: (option: SelectOption) => void;
727
729
  handleCancel: () => void;
@@ -16,7 +16,7 @@ function c(c) {
16
16
  return a(t, n(() => ({ iconOnly: f.value }))), {
17
17
  iconOnly: f,
18
18
  rootClassName: n(() => s({
19
- "flex flex-col gap-1": !0,
19
+ "flex min-w-0 flex-col gap-1 p-0": !0,
20
20
  "px-2": c.nested !== !0,
21
21
  "ml-3.5 translate-x-px border-l border-dark-200 py-0.5 pl-2.5 dark:border-dark-700": c.nested === !0,
22
22
  hidden: c.nested === !0 && f.value
@@ -82,7 +82,7 @@ function C(C, w) {
82
82
  "flex shrink-0 flex-col gap-2 px-2 py-2.5": !0,
83
83
  [l(P.value, "header") ?? ""]: !0
84
84
  }))), K = i(() => e(N.value?.content, {}, v({
85
- "bridge-scroll-fade-y flex min-h-0 flex-1 flex-col overflow-y-auto": !0,
85
+ "bridge-scroll-fade-y flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto": !0,
86
86
  [l(P.value, "content") ?? ""]: !0
87
87
  }))), q = i(() => e(N.value?.footer, {}, v({
88
88
  "flex shrink-0 flex-col gap-2 px-2 py-2.5": !0,
@@ -36,6 +36,7 @@ var D = /*@__PURE__*/ f({
36
36
  label: {},
37
37
  readonly: { type: Boolean },
38
38
  required: { type: Boolean },
39
+ showDescriptionOnError: { type: Boolean },
39
40
  size: {}
40
41
  }, {
41
42
  modelValue: { default: void 0 },
@@ -2,7 +2,7 @@ import { MaybeRefOrGetter, Ref } from 'vue';
2
2
  import { SliderRangeValue, SliderStop } from '@bridge-ui/core/Domain';
3
3
  import { LibDefaultsShape, MergeLibDefaults } from '@bridge-ui/core/Utils';
4
4
  import { SliderOwnProps } from '../slider.types';
5
- export declare const sliderBridgeKeys: readonly ["size", "error", "label", "corner", "classes", "disabled", "readonly", "required", "controlId", "customProps", "description", "errorMessage", "hideErrorMessage", "max", "min", "step", "color", "range", "stops", "rounded", "showStops", "showTooltip", "defaultValue"];
5
+ export declare const sliderBridgeKeys: readonly ["size", "error", "label", "corner", "classes", "disabled", "readonly", "required", "controlId", "customProps", "description", "errorMessage", "hideErrorMessage", "showDescriptionOnError", "max", "min", "step", "color", "range", "stops", "rounded", "showStops", "showTooltip", "defaultValue"];
6
6
  type SliderLibDefaults = LibDefaultsShape<SliderOwnProps, "max" | "min" | "size" | "step" | "color" | "rounded" | "showStops" | "showTooltip">;
7
7
  type SliderMerged = MergeLibDefaults<SliderOwnProps, SliderLibDefaults>;
8
8
  export type UseSliderOptions = {
@@ -49,7 +49,6 @@ export declare function useSlider(props: MaybeRefOrGetter<SliderOwnProps>, libDe
49
49
  }>>;
50
50
  controlId: import('vue').ComputedRef<string>;
51
51
  headerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
52
- cornerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
53
52
  isDisabled: import('vue').ComputedRef<boolean>;
54
53
  isReadonly: import('vue').ComputedRef<boolean>;
55
54
  sizeClasses: import('vue').ComputedRef<import('@bridge-ui/core/Tokens').BaseFieldSizeItem | undefined>;
@@ -60,6 +59,9 @@ export declare function useSlider(props: MaybeRefOrGetter<SliderOwnProps>, libDe
60
59
  ariaDescribedBy: import('vue').ComputedRef<string | undefined>;
61
60
  fieldLabelProps: import('vue').ComputedRef<import('../../Label').LabelProps>;
62
61
  descriptionBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
62
+ fieldCornerProps: import('vue').ComputedRef<import('../../Label').LabelProps>;
63
+ showErrorMessageRow: import('vue').ComputedRef<boolean>;
64
+ showDescriptionContent: import('vue').ComputedRef<boolean>;
63
65
  showErrorMessageContent: import('vue').ComputedRef<boolean>;
64
66
  };
65
67
  trackBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {
@@ -479,7 +481,7 @@ export declare function useSlider(props: MaybeRefOrGetter<SliderOwnProps>, libDe
479
481
  getThumbKnobBind: (thumbIndex: 0 | 1) => import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {
480
482
  "aria-hidden": boolean;
481
483
  }>;
482
- tooltipProps: import('vue').ComputedRef<Partial<Omit<import('../../Tooltip').TooltipOwnProps, "slots" | "modelValue" | "anchorEl" | "content">> | undefined>;
484
+ tooltipProps: import('vue').ComputedRef<Partial<Omit<import('../../Tooltip').TooltipOwnProps, "slots" | "modelValue" | "content" | "anchorEl">> | undefined>;
483
485
  readThumbValue: (thumbIndex: 0 | 1) => number;
484
486
  };
485
487
  export type UseSliderReturn = ReturnType<typeof useSlider>;
@@ -29,8 +29,8 @@ var E = /*@__PURE__*/ p({
29
29
  setup(p, { emit: h }) {
30
30
  let E = h, D = p, O = C(p, "modelValue"), { rootBind: k, tabItems: A } = i(D, {
31
31
  size: "md",
32
- variant: "line",
33
- color: "primary",
32
+ color: "dark",
33
+ variant: "pill",
34
34
  keepMounted: !0,
35
35
  activation: "automatic",
36
36
  orientation: "horizontal"
@@ -53,7 +53,13 @@ function y(y, b, x, S) {
53
53
  let L = n({
54
54
  entry: j,
55
55
  props: () => k.value.componentProps
56
- }), R = i(() => g(p, j.value?.tokens?.size)), z = i(() => g(m, j.value?.tokens?.variant)), B = i(() => g(d, j.value?.tokens?.color)), V = i(() => g(f, j.value?.tokens?.orientation)), H = i(() => l(R.value, A.value.size)), U = i(() => l(z.value, A.value.variant)), W = i(() => l(B.value, A.value.color)), G = i(() => l(V.value, A.value.orientation)), K = i(() => ({
56
+ }), R = i(() => g(p, j.value?.tokens?.size)), z = i(() => g(m, j.value?.tokens?.variant)), B = i(() => g(d, j.value?.tokens?.color)), V = i(() => g(f, j.value?.tokens?.orientation)), H = i(() => l(R.value, A.value.size)), U = i(() => l(z.value, A.value.variant)), W = i(() => l(B.value, A.value.color)), G = i(() => l(V.value, A.value.orientation)), K = i(() => A.value.orientation === "vertical"), q = i(() => h({
57
+ [l(G.value, "tab") ?? ""]: !0,
58
+ [l(U.value, "tabVertical") ?? ""]: K.value
59
+ })), J = i(() => h({
60
+ [l(G.value, "list") ?? ""]: !0,
61
+ [l(U.value, "listVertical") ?? ""]: K.value
62
+ })), Y = i(() => ({
57
63
  focusTab: F,
58
64
  id: T,
59
65
  setSelected: N,
@@ -67,33 +73,33 @@ function y(y, b, x, S) {
67
73
  activation: A.value.activation ?? "automatic",
68
74
  orientation: A.value.orientation ?? "horizontal",
69
75
  tokenClasses: {
70
- tabSize: l(H.value, "tab"),
76
+ softFill: !1,
71
77
  iconGap: l(H.value, "gap"),
78
+ tabSize: l(H.value, "tab"),
79
+ tabOrientation: q.value,
72
80
  iconSize: l(H.value, "icon"),
73
81
  listSize: l(H.value, "list"),
82
+ listOrientation: J.value,
74
83
  panelSize: l(H.value, "panel"),
75
84
  tabVariant: l(U.value, "tab"),
76
85
  listVariant: l(U.value, "list"),
77
- tabOrientation: l(G.value, "tab"),
78
86
  colorSelected: l(W.value, "tabSelected"),
79
- listOrientation: l(G.value, "list"),
80
87
  rootOrientation: l(G.value, "root"),
81
88
  panelOrientation: l(G.value, "panel"),
82
89
  tabVariantSelected: l(U.value, "tabSelected"),
83
- colorSelectedSoft: l(W.value, "tabSelectedSoft"),
84
- softFill: A.value.variant === "pill" || A.value.variant === "solid"
90
+ colorSelectedSoft: l(W.value, "tabSelectedSoft")
85
91
  }
86
92
  }));
87
- a(r, K);
88
- let q = i(() => A.value.customProps);
93
+ a(r, Y);
94
+ let X = i(() => A.value.customProps);
89
95
  return {
90
96
  merged: A,
91
- rootBind: i(() => e(q.value?.root, k.value.inheritedAttrs, { class: h({
97
+ rootBind: i(() => e(X.value?.root, k.value.inheritedAttrs, { class: h({
92
98
  [l(G.value, "root") ?? ""]: !0,
93
99
  [l(L.value, "root") ?? ""]: !0
94
100
  }) })),
95
101
  tabItems: O,
96
- contextValue: K
102
+ contextValue: Y
97
103
  };
98
104
  }
99
105
  //#endregion
@@ -70,9 +70,9 @@ export interface TabsOwnProps {
70
70
  */
71
71
  classes?: TabsClasses;
72
72
  /**
73
- * Accent color for the selected tab.
73
+ * Optional text accent for the selected tab. Selected surface comes from `variant`.
74
74
  *
75
- * @default "primary"
75
+ * @default "dark"
76
76
  */
77
77
  color?: MergeProps<TabsColor, TabsColorOverrides>;
78
78
  /**
@@ -103,7 +103,7 @@ export interface TabsOwnProps {
103
103
  /**
104
104
  * Visual style of the tab list / selected tab.
105
105
  *
106
- * @default "line"
106
+ * @default "pill"
107
107
  */
108
108
  variant?: MergeProps<TabsVariant, TabsVariantOverrides>;
109
109
  }