@bridge-ui/vue 0.5.1 → 0.7.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 (125) hide show
  1. package/ai/skills/bridge-ui-components/SKILL.md +2 -2
  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/alertDefaultIcons.js +1 -0
  7. package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +2 -2
  8. package/dist/Components/Autocomplete/composables/useAutocomplete.js +150 -145
  9. package/dist/Components/BaseField/BaseField.vue_vue_type_script_setup_true_lang.js +33 -28
  10. package/dist/Components/BaseField/BaseFieldCorner.js +5 -0
  11. package/dist/Components/BaseField/BaseFieldCorner.vue.d.ts +17 -0
  12. package/dist/Components/BaseField/BaseFieldCorner.vue_vue_type_script_setup_true_lang.js +17 -0
  13. package/dist/Components/BaseField/baseField.types.d.ts +4 -2
  14. package/dist/Components/BaseField/composables/useBaseField.d.ts +1 -1
  15. package/dist/Components/BaseField/composables/useBaseField.js +11 -8
  16. package/dist/Components/Button/Button.vue_vue_type_script_setup_true_lang.js +1 -0
  17. package/dist/Components/Button/button.types.d.ts +6 -0
  18. package/dist/Components/Button/composables/useButton.d.ts +4 -1
  19. package/dist/Components/Button/composables/useButton.js +88 -69
  20. package/dist/Components/ButtonGroup/ButtonGroup.js +5 -0
  21. package/dist/Components/ButtonGroup/ButtonGroup.vue.d.ts +14 -0
  22. package/dist/Components/ButtonGroup/ButtonGroup.vue_vue_type_script_setup_true_lang.js +37 -0
  23. package/dist/Components/ButtonGroup/buttonGroup.types.d.ts +93 -0
  24. package/dist/Components/ButtonGroup/buttonGroupInjectionKey.d.ts +7 -0
  25. package/dist/Components/ButtonGroup/buttonGroupInjectionKey.js +4 -0
  26. package/dist/Components/ButtonGroup/composables/useButtonGroup.d.ts +16 -0
  27. package/dist/Components/ButtonGroup/composables/useButtonGroup.js +66 -0
  28. package/dist/Components/ButtonGroup/index.d.ts +4 -0
  29. package/dist/Components/ButtonGroup/index.js +4 -0
  30. package/dist/Components/Calendar/Calendar.vue_vue_type_script_setup_true_lang.js +1 -1
  31. package/dist/Components/CalendarRange/CalendarRange.vue_vue_type_script_setup_true_lang.js +2 -2
  32. package/dist/Components/Checkbox/composables/useCheckbox.js +1 -1
  33. package/dist/Components/ColorField/composables/useColorField.d.ts +1 -1
  34. package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +180 -158
  35. package/dist/Components/DataTable/DataTableColumnsMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  36. package/dist/Components/DataTable/DataTableFilterMenu.vue_vue_type_script_setup_true_lang.js +1 -1
  37. package/dist/Components/DataTable/DataTableFilterOptions.vue_vue_type_script_setup_true_lang.js +1 -1
  38. package/dist/Components/DataTable/DataTablePagination.js +5 -0
  39. package/dist/Components/DataTable/DataTablePagination.vue.d.ts +24 -0
  40. package/dist/Components/DataTable/DataTablePagination.vue_vue_type_script_setup_true_lang.js +40 -0
  41. package/dist/Components/DataTable/DataTableSortButton.vue.d.ts +5 -11
  42. package/dist/Components/DataTable/DataTableSortButton.vue_vue_type_script_setup_true_lang.js +22 -26
  43. package/dist/Components/DataTable/composables/useDataTable.d.ts +8 -6
  44. package/dist/Components/DataTable/composables/useDataTable.js +268 -263
  45. package/dist/Components/DataTable/composables/useDataTablePagination.d.ts +69 -0
  46. package/dist/Components/DataTable/composables/useDataTablePagination.js +130 -0
  47. package/dist/Components/DataTable/dataTable.types.d.ts +27 -12
  48. package/dist/Components/DataTable/dataTablePagination.types.d.ts +169 -0
  49. package/dist/Components/DataTable/index.d.ts +2 -1
  50. package/dist/Components/DateField/composables/useDateField.d.ts +1 -1
  51. package/dist/Components/DateRangeField/composables/useDateRangeField.d.ts +1 -1
  52. package/dist/Components/DateTimeField/composables/useDateTimeField.d.ts +1 -1
  53. package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.d.ts +1 -1
  54. package/dist/Components/FieldOverlay/composables/useFieldOverlay.js +4 -1
  55. package/dist/Components/FormField/FilledFormField.vue.d.ts +7 -7
  56. package/dist/Components/FormField/FilledFormField.vue_vue_type_script_setup_true_lang.js +32 -27
  57. package/dist/Components/FormField/FormFieldCorner.js +5 -0
  58. package/dist/Components/FormField/FormFieldCorner.vue.d.ts +17 -0
  59. package/dist/Components/FormField/FormFieldCorner.vue_vue_type_script_setup_true_lang.js +17 -0
  60. package/dist/Components/FormField/NotchedFormField.vue.d.ts +7 -7
  61. package/dist/Components/FormField/NotchedFormField.vue_vue_type_script_setup_true_lang.js +31 -26
  62. package/dist/Components/FormField/OutlinedFormField.vue.d.ts +7 -7
  63. package/dist/Components/FormField/OutlinedFormField.vue_vue_type_script_setup_true_lang.js +32 -27
  64. package/dist/Components/FormField/StackedFormField.vue.d.ts +6 -6
  65. package/dist/Components/FormField/StackedFormField.vue_vue_type_script_setup_true_lang.js +34 -29
  66. package/dist/Components/FormField/UnderlinedFormField.vue.d.ts +7 -7
  67. package/dist/Components/FormField/UnderlinedFormField.vue_vue_type_script_setup_true_lang.js +32 -27
  68. package/dist/Components/FormField/composables/useFormField.d.ts +1 -1
  69. package/dist/Components/FormField/composables/useFormField.js +15 -9
  70. package/dist/Components/FormField/formField.types.d.ts +4 -2
  71. package/dist/Components/List/composables/useList.js +1 -1
  72. package/dist/Components/ListItem/ListItem.vue.d.ts +1 -1
  73. package/dist/Components/ListItem/composables/useListItem.d.ts +2 -2
  74. package/dist/Components/ListItem/composables/useListItem.js +101 -86
  75. package/dist/Components/ListSection/composables/useListSection.js +34 -31
  76. package/dist/Components/ListSection/listSection.types.d.ts +2 -1
  77. package/dist/Components/Listbox/Listbox.vue_vue_type_script_setup_true_lang.js +82 -82
  78. package/dist/Components/Listbox/collectComposedListboxOptions.d.ts +5 -0
  79. package/dist/Components/Listbox/collectComposedListboxOptions.js +27 -0
  80. package/dist/Components/NumberField/composables/useNumberField.d.ts +1 -1
  81. package/dist/Components/OtpField/composables/useOtpField.d.ts +1 -1
  82. package/dist/Components/Pagination/Pagination.vue_vue_type_script_setup_true_lang.js +6 -6
  83. package/dist/Components/Pagination/composables/usePagination.d.ts +4 -2
  84. package/dist/Components/Pagination/composables/usePagination.js +125 -127
  85. package/dist/Components/Pagination/pagination.types.d.ts +5 -5
  86. package/dist/Components/PasswordField/composables/usePasswordField.d.ts +1 -1
  87. package/dist/Components/Radio/composables/useRadio.js +2 -1
  88. package/dist/Components/Select/composables/useSelect.d.ts +2 -2
  89. package/dist/Components/Select/composables/useSelect.js +104 -99
  90. package/dist/Components/Sidebar/composables/useSidebarListItem.js +29 -28
  91. package/dist/Components/Sidebar/composables/useSidebarTrigger.js +14 -14
  92. package/dist/Components/Slider/composables/useSlider.d.ts +1 -1
  93. package/dist/Components/Slider/composables/useSlider.js +53 -53
  94. package/dist/Components/Snackbar/snackbarDefaultIcons.js +1 -0
  95. package/dist/Components/Tabs/Tabs.vue_vue_type_script_setup_true_lang.js +13 -12
  96. package/dist/Components/Tabs/composables/useTabs.js +16 -10
  97. package/dist/Components/Tabs/tabs.types.d.ts +3 -3
  98. package/dist/Components/TextField/composables/useTextField.d.ts +1 -1
  99. package/dist/Components/Textarea/composables/useTextarea.d.ts +1 -1
  100. package/dist/Components/TimeField/composables/useTimeField.d.ts +1 -1
  101. package/dist/Components/TimePanel/composables/useTimePanel.js +106 -106
  102. package/dist/Components/TimeRangeField/composables/useTimeRangeField.d.ts +1 -1
  103. package/dist/augments.d.ts +5 -0
  104. package/dist/index.d.ts +3 -1
  105. package/dist/index.js +150 -147
  106. package/docs/README.md +1 -0
  107. package/docs/components/Accordion.md +1 -1
  108. package/docs/components/Badge.md +2 -0
  109. package/docs/components/Button.md +5 -1
  110. package/docs/components/ButtonGroup.md +124 -0
  111. package/docs/components/DataTable.md +9 -11
  112. package/docs/components/Divider.md +1 -0
  113. package/docs/components/I18n.md +65 -24
  114. package/docs/components/Pagination.md +5 -3
  115. package/docs/components/Table.md +2 -2
  116. package/docs/components/Tabs.md +24 -6
  117. package/docs/components/ToggleGroup.md +1 -1
  118. package/docs/examples/i18n-dictionary.ts +31 -10
  119. package/docs/examples/i18n-vue-i18n.ts +7 -6
  120. package/docs/examples/icon-fontawesome.ts +4 -0
  121. package/docs/examples/icon-heroicons.ts +5 -1
  122. package/docs/examples/icon-lucide.ts +4 -0
  123. package/docs/examples/icon-phosphor.ts +4 -0
  124. package/docs/examples/icon-tabler.ts +4 -0
  125. package/package.json +2 -2
@@ -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
  }
@@ -437,7 +437,6 @@ export declare function usePasswordField(props: PasswordFieldOwnProps, options?:
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,6 +454,7 @@ 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", {}, {}>>;
@@ -73,7 +73,8 @@ function v(v, y, b) {
73
73
  return {
74
74
  merged: w,
75
75
  dotBind: i(() => e(E.value?.dot, {}, p({
76
- "rounded-full bg-white transition-transform duration-100": !0,
76
+ "rounded-full transition-transform duration-100": !0,
77
+ [k.value?.dot ?? "bg-white"]: !0,
77
78
  "scale-0": !O.value,
78
79
  "scale-100": O.value,
79
80
  "h-[42%] w-[42%]": !0,
@@ -441,7 +441,6 @@ export declare function useSelect(props: SelectOwnProps, model: Ref<null | undef
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,6 +458,7 @@ 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", {}, {}>>;
@@ -729,7 +729,7 @@ export declare function useSelect(props: SelectOwnProps, model: Ref<null | undef
729
729
  listboxProps: import('vue').ComputedRef<{
730
730
  anchorEl?: null | HTMLElement;
731
731
  classes?: import('../../Listbox').ListboxClasses;
732
- color: "info" | "error" | "success" | "warning" | "dark" | "primary" | "secondary";
732
+ color: "info" | "error" | "success" | "warning" | "black" | "dark" | "primary" | "secondary";
733
733
  customProps?: import('../../Listbox').ListboxCustomProps;
734
734
  disableAutoFocus: boolean;
735
735
  disableMaxHeight: boolean;