@brightlocal/ui-components 2.11.0 → 2.13.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 (154) hide show
  1. package/component-meta.json +474 -27
  2. package/dist/blocks/data-table.cjs +1 -1
  3. package/dist/blocks/data-table.d.ts +16 -4
  4. package/dist/blocks/data-table.d.ts.map +1 -1
  5. package/dist/blocks/data-table.js +57 -53
  6. package/dist/blocks/input-list.cjs +2 -2
  7. package/dist/blocks/input-list.d.ts +7 -1
  8. package/dist/blocks/input-list.d.ts.map +1 -1
  9. package/dist/blocks/input-list.js +82 -81
  10. package/dist/blocks/sidebar.cjs +1 -1
  11. package/dist/blocks/sidebar.d.ts +221 -11
  12. package/dist/blocks/sidebar.d.ts.map +1 -1
  13. package/dist/blocks/sidebar.js +687 -406
  14. package/dist/breadcrumb.cjs +1 -1
  15. package/dist/breadcrumb.d.ts +14 -2
  16. package/dist/breadcrumb.d.ts.map +1 -1
  17. package/dist/breadcrumb.js +37 -37
  18. package/dist/callout.cjs +1 -1
  19. package/dist/callout.d.ts +3 -3
  20. package/dist/callout.d.ts.map +1 -1
  21. package/dist/callout.js +2 -1
  22. package/dist/carousel.cjs +1 -1
  23. package/dist/carousel.d.ts +24 -3
  24. package/dist/carousel.d.ts.map +1 -1
  25. package/dist/carousel.js +121 -117
  26. package/dist/chip.cjs +1 -1
  27. package/dist/chip.d.ts +11 -0
  28. package/dist/chip.d.ts.map +1 -1
  29. package/dist/chip.js +43 -38
  30. package/dist/combobox.cjs +3 -3
  31. package/dist/combobox.d.ts +20 -2
  32. package/dist/combobox.d.ts.map +1 -1
  33. package/dist/combobox.js +244 -238
  34. package/dist/command.cjs +1 -1
  35. package/dist/command.d.ts +5 -0
  36. package/dist/command.d.ts.map +1 -1
  37. package/dist/command.js +207 -206
  38. package/dist/date-picker.cjs +1 -1
  39. package/dist/date-picker.d.ts +10 -0
  40. package/dist/date-picker.d.ts.map +1 -1
  41. package/dist/date-picker.js +96 -96
  42. package/dist/dialog.cjs +1 -1
  43. package/dist/dialog.d.ts +7 -2
  44. package/dist/dialog.d.ts.map +1 -1
  45. package/dist/dialog.js +38 -30
  46. package/dist/drawer.d.ts +2 -2
  47. package/dist/dropdown-menu.cjs +1 -1
  48. package/dist/dropdown-menu.js +1 -1
  49. package/dist/global-layout.cjs +1 -1
  50. package/dist/global-layout.d.ts +5 -0
  51. package/dist/global-layout.d.ts.map +1 -1
  52. package/dist/global-layout.js +15 -7
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.js +313 -305
  55. package/dist/input-chip.cjs +1 -1
  56. package/dist/input-chip.d.ts +7 -1
  57. package/dist/input-chip.d.ts.map +1 -1
  58. package/dist/input-chip.js +131 -130
  59. package/dist/input-group.d.ts +1 -1
  60. package/dist/input-password.cjs +1 -1
  61. package/dist/input-password.d.ts +10 -0
  62. package/dist/input-password.d.ts.map +1 -1
  63. package/dist/input-password.js +108 -106
  64. package/dist/link.cjs +1 -1
  65. package/dist/link.d.ts +1 -1
  66. package/dist/link.d.ts.map +1 -1
  67. package/dist/link.js +36 -37
  68. package/dist/list.cjs +1 -1
  69. package/dist/list.d.ts +25 -4
  70. package/dist/list.d.ts.map +1 -1
  71. package/dist/list.js +71 -53
  72. package/dist/logo.cjs +1 -1
  73. package/dist/logo.d.ts +6 -1
  74. package/dist/logo.d.ts.map +1 -1
  75. package/dist/logo.js +25 -22
  76. package/dist/map.cjs +1 -1
  77. package/dist/map.d.ts +17 -2
  78. package/dist/map.d.ts.map +1 -1
  79. package/dist/map.js +32 -26
  80. package/dist/pagination.cjs +1 -1
  81. package/dist/pagination.d.ts +29 -3
  82. package/dist/pagination.d.ts.map +1 -1
  83. package/dist/pagination.js +26 -25
  84. package/dist/popover.cjs +1 -1
  85. package/dist/popover.js +7 -7
  86. package/dist/rating.cjs +1 -1
  87. package/dist/rating.d.ts +6 -0
  88. package/dist/rating.d.ts.map +1 -1
  89. package/dist/rating.js +28 -20
  90. package/dist/resizable.d.ts +1 -1
  91. package/dist/select.cjs +2 -2
  92. package/dist/select.d.ts +17 -3
  93. package/dist/select.d.ts.map +1 -1
  94. package/dist/select.js +65 -58
  95. package/dist/separator.cjs +1 -1
  96. package/dist/separator.d.ts +16 -4
  97. package/dist/separator.d.ts.map +1 -1
  98. package/dist/separator.js +38 -35
  99. package/dist/sheet.cjs +1 -1
  100. package/dist/sheet.d.ts +6 -1
  101. package/dist/sheet.d.ts.map +1 -1
  102. package/dist/sheet.js +42 -41
  103. package/dist/skeleton.cjs +1 -1
  104. package/dist/skeleton.d.ts +5 -0
  105. package/dist/skeleton.d.ts.map +1 -1
  106. package/dist/skeleton.js +13 -11
  107. package/dist/table.cjs +1 -1
  108. package/dist/table.d.ts +14 -0
  109. package/dist/table.d.ts.map +1 -1
  110. package/dist/table.js +57 -39
  111. package/dist/tabs.cjs +1 -1
  112. package/dist/tabs.d.ts +25 -9
  113. package/dist/tabs.d.ts.map +1 -1
  114. package/dist/tabs.js +128 -113
  115. package/dist/text-reveal-motion.cjs +1 -1
  116. package/dist/text-reveal-motion.d.ts +5 -0
  117. package/dist/text-reveal-motion.d.ts.map +1 -1
  118. package/dist/text-reveal-motion.js +111 -110
  119. package/dist/typography.cjs +1 -1
  120. package/dist/typography.d.ts +1 -2
  121. package/dist/typography.d.ts.map +1 -1
  122. package/dist/typography.js +49 -50
  123. package/package.json +2 -3
  124. package/src/blocks/data-table.tsx +26 -9
  125. package/src/blocks/input-list.tsx +12 -1
  126. package/src/blocks/sidebar.tsx +638 -29
  127. package/src/components/breadcrumb.tsx +43 -26
  128. package/src/components/callout.tsx +5 -4
  129. package/src/components/carousel.tsx +33 -4
  130. package/src/components/chip.tsx +22 -2
  131. package/src/components/combobox.tsx +28 -3
  132. package/src/components/command.tsx +7 -1
  133. package/src/components/date-picker.tsx +17 -3
  134. package/src/components/dialog.tsx +17 -4
  135. package/src/components/drawer.tsx +2 -2
  136. package/src/components/dropdown-menu.tsx +1 -1
  137. package/src/components/global-layout.tsx +15 -2
  138. package/src/components/input-chip.tsx +12 -1
  139. package/src/components/input-password.tsx +73 -49
  140. package/src/components/link.tsx +29 -17
  141. package/src/components/list.tsx +45 -2
  142. package/src/components/logo.tsx +10 -2
  143. package/src/components/map.tsx +23 -0
  144. package/src/components/pagination.tsx +44 -11
  145. package/src/components/popover.tsx +1 -1
  146. package/src/components/rating.tsx +21 -3
  147. package/src/components/select.tsx +33 -3
  148. package/src/components/separator.tsx +40 -25
  149. package/src/components/sheet.tsx +28 -20
  150. package/src/components/skeleton.tsx +13 -2
  151. package/src/components/table.tsx +39 -2
  152. package/src/components/tabs.tsx +195 -146
  153. package/src/components/text-reveal-motion.tsx +7 -1
  154. package/src/components/typography.tsx +6 -7
@@ -1,10 +1,10 @@
1
- import { jsx as l } from "react/jsx-runtime";
1
+ import { jsx as s } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
3
  import { Slot as p } from "@radix-ui/react-slot";
4
4
  import { cva as g } from "class-variance-authority";
5
- import { cn as c } from "@brightlocal/ui-components/lib/utils";
6
- const i = g(
7
- "self-stretch text-foreground text-4xl font-extrabold font-sans leading-10 lg:text-5xl lg:font-medium lg:font-display lg:leading-12"
5
+ import { cn as i } from "@brightlocal/ui-components/lib/utils";
6
+ const m = g(
7
+ "self-stretch text-foreground text-4xl font-extrabold font-display leading-10 lg:text-5xl lg:leading-12"
8
8
  ), y = d.forwardRef(
9
9
  ({
10
10
  className: a,
@@ -13,11 +13,11 @@ const i = g(
13
13
  trackingEl: e,
14
14
  trackingLabel: r,
15
15
  ...n
16
- }, s) => /* @__PURE__ */ l(
16
+ }, l) => /* @__PURE__ */ s(
17
17
  t ? p : "h1",
18
18
  {
19
- ref: s,
20
- className: c(i(), a),
19
+ ref: l,
20
+ className: i(m(), a),
21
21
  "data-hook": o,
22
22
  "data-slot": "typography-h1",
23
23
  "data-tracking-el": e,
@@ -28,7 +28,7 @@ const i = g(
28
28
  );
29
29
  y.displayName = "TypographyH1";
30
30
  const f = g(
31
- "text-foreground text-3xl font-semibold font-sans leading-9"
31
+ "text-foreground text-3xl font-semibold font-display leading-9"
32
32
  ), h = d.forwardRef(
33
33
  ({
34
34
  className: a,
@@ -37,11 +37,11 @@ const f = g(
37
37
  trackingEl: e,
38
38
  trackingLabel: r,
39
39
  ...n
40
- }, s) => /* @__PURE__ */ l(
40
+ }, l) => /* @__PURE__ */ s(
41
41
  t ? p : "h2",
42
42
  {
43
- ref: s,
44
- className: c(f(), a),
43
+ ref: l,
44
+ className: i(f(), a),
45
45
  "data-hook": o,
46
46
  "data-slot": "typography-h2",
47
47
  "data-tracking-el": e,
@@ -52,7 +52,7 @@ const f = g(
52
52
  );
53
53
  h.displayName = "TypographyH2";
54
54
  const u = g(
55
- "text-foreground text-2xl font-semibold font-sans leading-8"
55
+ "text-foreground text-2xl font-semibold font-display leading-8"
56
56
  ), k = d.forwardRef(
57
57
  ({
58
58
  className: a,
@@ -61,11 +61,11 @@ const u = g(
61
61
  trackingEl: e,
62
62
  trackingLabel: r,
63
63
  ...n
64
- }, s) => /* @__PURE__ */ l(
64
+ }, l) => /* @__PURE__ */ s(
65
65
  t ? p : "h3",
66
66
  {
67
- ref: s,
68
- className: c(u(), a),
67
+ ref: l,
68
+ className: i(u(), a),
69
69
  "data-hook": o,
70
70
  "data-slot": "typography-h3",
71
71
  "data-tracking-el": e,
@@ -76,7 +76,7 @@ const u = g(
76
76
  );
77
77
  k.displayName = "TypographyH3";
78
78
  const x = g(
79
- "text-foreground text-xl font-semibold font-sans leading-7"
79
+ "text-foreground text-xl font-semibold font-display leading-7"
80
80
  ), b = d.forwardRef(
81
81
  ({
82
82
  className: a,
@@ -85,11 +85,11 @@ const x = g(
85
85
  trackingEl: e,
86
86
  trackingLabel: r,
87
87
  ...n
88
- }, s) => /* @__PURE__ */ l(
88
+ }, l) => /* @__PURE__ */ s(
89
89
  t ? p : "h4",
90
90
  {
91
- ref: s,
92
- className: c(x(), a),
91
+ ref: l,
92
+ className: i(x(), a),
93
93
  "data-hook": o,
94
94
  "data-slot": "typography-h4",
95
95
  "data-tracking-el": e,
@@ -107,11 +107,11 @@ const C = g("text-foreground text-base font-normal font-sans"), N = d.forwardRef
107
107
  trackingEl: e,
108
108
  trackingLabel: r,
109
109
  ...n
110
- }, s) => /* @__PURE__ */ l(
110
+ }, l) => /* @__PURE__ */ s(
111
111
  t ? p : "p",
112
112
  {
113
- ref: s,
114
- className: c(C(), a),
113
+ ref: l,
114
+ className: i(C(), a),
115
115
  "data-hook": o,
116
116
  "data-slot": "typography-p",
117
117
  "data-tracking-el": e,
@@ -131,11 +131,11 @@ const T = g(
131
131
  trackingEl: e,
132
132
  trackingLabel: r,
133
133
  ...n
134
- }, s) => /* @__PURE__ */ l(
134
+ }, l) => /* @__PURE__ */ s(
135
135
  t ? p : "blockquote",
136
136
  {
137
- ref: s,
138
- className: c(T(), a),
137
+ ref: l,
138
+ className: i(T(), a),
139
139
  "data-hook": o,
140
140
  "data-slot": "typography-blockquote",
141
141
  "data-tracking-el": e,
@@ -155,11 +155,11 @@ const R = g(
155
155
  trackingEl: e,
156
156
  trackingLabel: r,
157
157
  ...n
158
- }, s) => /* @__PURE__ */ l(
158
+ }, l) => /* @__PURE__ */ s(
159
159
  t ? p : "ul",
160
160
  {
161
- ref: s,
162
- className: c(R(), a),
161
+ ref: l,
162
+ className: i(R(), a),
163
163
  "data-hook": o,
164
164
  "data-slot": "typography-list",
165
165
  "data-tracking-el": e,
@@ -170,7 +170,7 @@ const R = g(
170
170
  );
171
171
  V.displayName = "TypographyList";
172
172
  const H = g(
173
- "inline-flex justify-center items-center gap-2 bg-muted rounded-md px-[4.80px] py-[3.20px] text-foreground text-sm font-normal font-mono leading-5"
173
+ "inline-flex justify-center items-center gap-2 bg-muted rounded-md px-1.5 py-0.5 text-foreground text-sm font-normal font-mono leading-5"
174
174
  ), L = d.forwardRef(
175
175
  ({
176
176
  className: a,
@@ -179,11 +179,11 @@ const H = g(
179
179
  trackingEl: e,
180
180
  trackingLabel: r,
181
181
  ...n
182
- }, s) => /* @__PURE__ */ l(
182
+ }, l) => /* @__PURE__ */ s(
183
183
  t ? p : "code",
184
184
  {
185
- ref: s,
186
- className: c(H(), a),
185
+ ref: l,
186
+ className: i(H(), a),
187
187
  "data-hook": o,
188
188
  "data-slot": "typography-inline-code",
189
189
  "data-tracking-el": e,
@@ -194,7 +194,7 @@ const H = g(
194
194
  );
195
195
  L.displayName = "TypographyInlineCode";
196
196
  const q = g(
197
- "block w-full p-4 bg-zinc-900 rounded-lg border border-border text-white/50 text-base font-normal font-mono leading-6 overflow-x-auto"
197
+ "block w-full p-4 bg-muted rounded-lg border border-border text-muted-foreground text-base font-normal font-mono leading-6 overflow-x-auto focus-visible:shadow-default outline-none"
198
198
  ), v = d.forwardRef(
199
199
  ({
200
200
  className: a,
@@ -203,11 +203,11 @@ const q = g(
203
203
  trackingEl: e,
204
204
  trackingLabel: r,
205
205
  ...n
206
- }, s) => /* @__PURE__ */ l(
206
+ }, l) => /* @__PURE__ */ s(
207
207
  t ? p : "pre",
208
208
  {
209
- ref: s,
210
- className: c(q(), a),
209
+ ref: l,
210
+ className: i(q(), a),
211
211
  "data-hook": o,
212
212
  "data-slot": "typography-code",
213
213
  "data-tracking-el": e,
@@ -228,11 +228,11 @@ const I = g(
228
228
  trackingEl: e,
229
229
  trackingLabel: r,
230
230
  ...n
231
- }, s) => /* @__PURE__ */ l(
231
+ }, l) => /* @__PURE__ */ s(
232
232
  t ? p : "p",
233
233
  {
234
- ref: s,
235
- className: c(I(), a),
234
+ ref: l,
235
+ className: i(I(), a),
236
236
  "data-hook": o,
237
237
  "data-slot": "typography-lead",
238
238
  "data-tracking-el": e,
@@ -252,11 +252,11 @@ const j = g(
252
252
  trackingEl: e,
253
253
  trackingLabel: r,
254
254
  ...n
255
- }, s) => /* @__PURE__ */ l(
255
+ }, l) => /* @__PURE__ */ s(
256
256
  t ? p : "div",
257
257
  {
258
- ref: s,
259
- className: c(j(), a),
258
+ ref: l,
259
+ className: i(j(), a),
260
260
  "data-hook": o,
261
261
  "data-slot": "typography-large",
262
262
  "data-tracking-el": e,
@@ -276,11 +276,11 @@ const M = g(
276
276
  trackingEl: e,
277
277
  trackingLabel: r,
278
278
  ...n
279
- }, s) => /* @__PURE__ */ l(
279
+ }, l) => /* @__PURE__ */ s(
280
280
  t ? p : "small",
281
281
  {
282
- ref: s,
283
- className: c(M(), a),
282
+ ref: l,
283
+ className: i(M(), a),
284
284
  "data-hook": o,
285
285
  "data-slot": "typography-small",
286
286
  "data-tracking-el": e,
@@ -300,11 +300,11 @@ const z = g(
300
300
  trackingEl: e,
301
301
  trackingLabel: r,
302
302
  ...n
303
- }, s) => /* @__PURE__ */ l(
303
+ }, l) => /* @__PURE__ */ s(
304
304
  t ? p : "p",
305
305
  {
306
- ref: s,
307
- className: c(z(), a),
306
+ ref: l,
307
+ className: i(z(), a),
308
308
  "data-hook": o,
309
309
  "data-slot": "typography-muted",
310
310
  "data-tracking-el": e,
@@ -327,6 +327,5 @@ export {
327
327
  V as TypographyList,
328
328
  A as TypographyMuted,
329
329
  N as TypographyP,
330
- P as TypographySmall,
331
- T as blockquoteVariants
330
+ P as TypographySmall
332
331
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightlocal/ui-components",
3
- "version": "2.11.0",
3
+ "version": "2.13.0",
4
4
  "description": "BrightLocal Design System UI Components",
5
5
  "type": "module",
6
6
  "private": false,
@@ -161,7 +161,6 @@
161
161
  "@radix-ui/react-radio-group": "^1.3.8",
162
162
  "@radix-ui/react-scroll-area": "^1.2.10",
163
163
  "@radix-ui/react-select": "^2.2.6",
164
- "@radix-ui/react-separator": "^1.1.8",
165
164
  "@radix-ui/react-slider": "^1.3.6",
166
165
  "@radix-ui/react-slot": "^1.2.4",
167
166
  "@radix-ui/react-switch": "^1.2.6",
@@ -186,7 +185,7 @@
186
185
  "sonner": "^2.0.7",
187
186
  "tailwind-merge": "^3.4.0",
188
187
  "vaul": "^1.1.2",
189
- "@brightlocal/icons": "2.1.1"
188
+ "@brightlocal/icons": "2.2.0"
190
189
  },
191
190
  "size-limit": [
192
191
  {
@@ -764,6 +764,12 @@ export interface DataTableColumnHeaderProps<
764
764
  trackingLabel?: string;
765
765
  /** Alignment — should match the cell's alignment. @default "left" */
766
766
  align?: "left" | "center" | "right";
767
+ /**
768
+ * Builds the accessible label for the sort button.
769
+ * Receives the column title and current sort direction (`"asc"`, `"desc"`, or `false`).
770
+ * @default (title, dir) => `Sort by ${title}${dir ? `, currently ${dir === "asc" ? "ascending" : "descending"}` : ""}`
771
+ */
772
+ getSortLabel?: (title: string, direction: "asc" | "desc" | false) => string;
767
773
  }
768
774
 
769
775
  /**
@@ -781,6 +787,7 @@ export function DataTableColumnHeader<TData, TValue>({
781
787
  trackingEl,
782
788
  trackingLabel,
783
789
  align = "left",
790
+ getSortLabel,
784
791
  }: DataTableColumnHeaderProps<TData, TValue>) {
785
792
  if (!column.getCanSort()) {
786
793
  return (
@@ -802,8 +809,9 @@ export function DataTableColumnHeader<TData, TValue>({
802
809
  }
803
810
 
804
811
  const sortState = column.getIsSorted();
805
- const sortLabel =
806
- sortState === "desc"
812
+ const sortLabel = getSortLabel
813
+ ? getSortLabel(title, sortState)
814
+ : sortState === "desc"
807
815
  ? `Sort by ${title}, currently descending`
808
816
  : sortState === "asc"
809
817
  ? `Sort by ${title}, currently ascending`
@@ -870,6 +878,8 @@ export interface DataTableSearchProps<TData> extends Omit<
870
878
  ariaLabel?: string;
871
879
  /** Input placeholder. @default "Search..." */
872
880
  placeholder?: string;
881
+ /** Accessible label for the clear button. @default "Clear search" */
882
+ clearSearchAriaLabel?: string;
873
883
  }
874
884
 
875
885
  /**
@@ -883,8 +893,9 @@ export interface DataTableSearchProps<TData> extends Omit<
883
893
  */
884
894
  export function DataTableSearch<TData>({
885
895
  table,
886
- ariaLabel = "Search table",
887
- placeholder = "Search...",
896
+ ariaLabel,
897
+ placeholder,
898
+ clearSearchAriaLabel,
888
899
  ...inputGroupProps
889
900
  }: DataTableSearchProps<TData>) {
890
901
  const filterValue = (table.getState().globalFilter ?? "") as string;
@@ -899,8 +910,8 @@ export function DataTableSearch<TData>({
899
910
  <Search />
900
911
  </InputGroupAddon>
901
912
  <InputGroupInput
902
- aria-label={ariaLabel}
903
- placeholder={placeholder}
913
+ aria-label={ariaLabel ?? "Search table"}
914
+ placeholder={placeholder ?? "Search..."}
904
915
  type="text"
905
916
  value={filterValue}
906
917
  onChange={(event) => handleFilterChange(event.target.value)}
@@ -908,7 +919,7 @@ export function DataTableSearch<TData>({
908
919
  {filterValue && (
909
920
  <InputGroupAddon className="pr-1">
910
921
  <Button
911
- aria-label="Clear search"
922
+ aria-label={clearSearchAriaLabel ?? "Clear search"}
912
923
  className="h-auto p-1"
913
924
  data-slot="data-table-search-clear"
914
925
  dataHook={`${inputGroupProps.dataHook}-clear`}
@@ -1378,6 +1389,8 @@ export interface DataTableSelectAllCheckboxProps<TData> {
1378
1389
  trackingEl?: string;
1379
1390
  /** Analytics label. */
1380
1391
  trackingLabel?: string;
1392
+ /** Accessible label for the select-all checkbox. @default "Select all" */
1393
+ selectAllAriaLabel?: string;
1381
1394
  }
1382
1395
 
1383
1396
  /**
@@ -1389,10 +1402,11 @@ export function DataTableSelectAllCheckbox<TData>({
1389
1402
  dataHook,
1390
1403
  trackingEl,
1391
1404
  trackingLabel,
1405
+ selectAllAriaLabel,
1392
1406
  }: DataTableSelectAllCheckboxProps<TData>) {
1393
1407
  return (
1394
1408
  <Checkbox
1395
- aria-label="Select all"
1409
+ aria-label={selectAllAriaLabel ?? "Select all"}
1396
1410
  checked={
1397
1411
  table.getIsAllPageRowsSelected() ||
1398
1412
  (table.getIsSomePageRowsSelected() && "indeterminate")
@@ -1419,6 +1433,8 @@ export interface DataTableSelectRowCheckboxProps<TData> {
1419
1433
  trackingEl?: string;
1420
1434
  /** Analytics label. */
1421
1435
  trackingLabel?: string;
1436
+ /** Accessible label for the row selection checkbox. @default "Select row" */
1437
+ selectRowAriaLabel?: string;
1422
1438
  }
1423
1439
 
1424
1440
  /**
@@ -1429,10 +1445,11 @@ export function DataTableSelectRowCheckbox<TData>({
1429
1445
  dataHook,
1430
1446
  trackingEl,
1431
1447
  trackingLabel,
1448
+ selectRowAriaLabel,
1432
1449
  }: DataTableSelectRowCheckboxProps<TData>) {
1433
1450
  return (
1434
1451
  <Checkbox
1435
- aria-label="Select row"
1452
+ aria-label={selectRowAriaLabel ?? "Select row"}
1436
1453
  checked={row.getIsSelected()}
1437
1454
  dataHook={dataHook || `select-row-${row.id}`}
1438
1455
  disabled={!row.getCanSelect()}
@@ -216,6 +216,12 @@ export interface InputListItemsProps {
216
216
  * Disables all remove buttons in the list.
217
217
  */
218
218
  disabled?: boolean;
219
+ /**
220
+ * Accessible label for each item's remove button.
221
+ * Supports `{item}` placeholder for interpolation.
222
+ * @default "Remove {item}"
223
+ */
224
+ removeAriaLabel?: string;
219
225
  /**
220
226
  * Additional CSS classes applied to the list element.
221
227
  */
@@ -239,6 +245,7 @@ function InputListItems({
239
245
  loading = false,
240
246
  skeletonCount = 5,
241
247
  disabled = false,
248
+ removeAriaLabel,
242
249
  className,
243
250
  }: InputListItemsProps) {
244
251
  const { value, removeItem, stableKeys } = useInputListContext();
@@ -295,7 +302,11 @@ function InputListItems({
295
302
  </ItemContent>
296
303
  <ItemActions>
297
304
  <button
298
- aria-label={`Remove ${item}`}
305
+ aria-label={
306
+ removeAriaLabel
307
+ ? removeAriaLabel.replace("{item}", item)
308
+ : `Remove ${item}`
309
+ }
299
310
  className={cn(
300
311
  "inline-flex size-9 cursor-pointer items-center justify-center rounded-full",
301
312
  "text-muted-foreground",