@espressif/dashboard-ui-components 1.14.1 → 1.15.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 (65) hide show
  1. package/.claude/rules/dashboard-ui-consumption.md +33 -0
  2. package/CHANGELOG.md +37 -0
  3. package/dist/common/index.d.ts +3 -3
  4. package/dist/common/my-account-menu/my-account-menu.js +3 -3
  5. package/dist/components/async-multi-select/async-multi-select.js +4 -8
  6. package/dist/components/async-multi-select/index.d.ts +5 -1
  7. package/dist/components/breadcrumb/index.d.ts +4 -1
  8. package/dist/components/cards/index.d.ts +1 -1
  9. package/dist/components/cards/section-card.js +2 -2
  10. package/dist/components/carousel/carousel.js +8 -4
  11. package/dist/components/carousel/index.d.ts +8 -0
  12. package/dist/components/combobox/index.d.ts +3 -1
  13. package/dist/components/coverflow/coverflow.js +3 -2
  14. package/dist/components/coverflow/index.d.ts +2 -0
  15. package/dist/components/data-table/data-table.js +8 -4
  16. package/dist/components/data-table/index.d.ts +5 -1
  17. package/dist/components/date-range-picker/date-range-picker.js +5 -5
  18. package/dist/components/date-range-picker/index.d.ts +9 -1
  19. package/dist/components/dialog/index.d.ts +3 -1
  20. package/dist/components/facet-filters/active-filters.js +2 -1
  21. package/dist/components/facet-filters/filter-group.js +2 -1
  22. package/dist/components/facet-filters/index.d.ts +4 -0
  23. package/dist/components/file-upload/file-upload.js +2 -2
  24. package/dist/components/file-upload/index.d.ts +2 -0
  25. package/dist/components/index.d.ts +5 -5
  26. package/dist/components/key-value-manager/index.d.ts +8 -0
  27. package/dist/components/key-value-manager/key-value-manager-table.js +4 -4
  28. package/dist/components/key-value-manager/key-value-manager.js +5 -1
  29. package/dist/components/key-value-manager/key-value-manager.props.js +5 -1
  30. package/dist/components/list-details/index.d.ts +1 -1
  31. package/dist/components/nav-bar/index.d.ts +19 -2
  32. package/dist/components/nav-bar/nav-bar-mobile-menu.js +4 -3
  33. package/dist/components/nav-bar/nav-bar.js +10 -7
  34. package/dist/components/sheet/index.d.ts +3 -1
  35. package/dist/components/sidebar/index.d.ts +13 -6
  36. package/dist/components/sidebar/sidebar.js +4 -2
  37. package/dist/components/simple-paginated-list/index.d.ts +11 -2
  38. package/dist/components/simple-paginated-list/simple-paginated-list.js +3 -3
  39. package/dist/components/stat-card/index.d.ts +2 -0
  40. package/dist/components/stat-card/stat-card.js +2 -2
  41. package/dist/components/tag/index.d.ts +2 -0
  42. package/dist/components/tag/tag.js +2 -2
  43. package/dist/components/tag-input/index.d.ts +5 -0
  44. package/dist/components/tag-input/tag-input.js +5 -3
  45. package/dist/components/transfer-list/index.d.ts +22 -2
  46. package/dist/components/transfer-list/transfer-list.js +30 -8
  47. package/dist/components/user-type-badge/index.d.ts +2 -0
  48. package/dist/components/user-type-badge/user-type-badge.js +3 -2
  49. package/dist/core/animate-ui/components/radix/dialog.js +2 -2
  50. package/dist/core/animate-ui/components/radix/sheet.js +3 -3
  51. package/dist/core/animate-ui/components/radix/sidebar.js +4 -4
  52. package/dist/core/breadcrumb.js +2 -2
  53. package/dist/core/combobox/combobox.js +2 -2
  54. package/dist/index.d.ts +7 -7
  55. package/dist/layouts/index.d.ts +81 -35
  56. package/dist/layouts/minimal-workspace-layout/minimal-workspace-layout.js +8 -2
  57. package/dist/layouts/shared/account-menu-props.js +3 -2
  58. package/dist/layouts/workspace-layout/account-menu/account-menu.js +19 -8
  59. package/dist/layouts/workspace-layout/breadcrumbs/workspace-breadcrumbs.js +14 -11
  60. package/dist/layouts/workspace-layout/header/header.js +3 -3
  61. package/dist/layouts/workspace-layout/workspace-layout.js +13 -5
  62. package/dist/{my-account-menu.props-C7DK71WC.d.ts → my-account-menu.props-V3kFdvCZ.d.ts} +2 -0
  63. package/dist/{section-card-DqQeQkzU.d.ts → section-card-Bs3sKQtv.d.ts} +6 -1
  64. package/dist/{types-CkXflqg7.d.ts → types-CoZOfz4S.d.ts} +12 -1
  65. package/package.json +1 -1
@@ -174,6 +174,39 @@ Things agents get wrong:
174
174
  - For a link that looks like a button use `asChild`, never a Button that navigates in `onClick`:
175
175
  `<Button asChild startIcon={<Plus />}><Link to="/new">Add</Link></Button>`. With `disabled`/`loading` the link gets `aria-disabled`, `tabIndex={-1}` and its clicks are cancelled.
176
176
 
177
+ ## Showing an app in another language (1.15)
178
+
179
+ The library ships English only and translates nothing. Every word it writes
180
+ itself (visible or for screen readers) is an optional prop whose default is that
181
+ English: pass the app's own translated words. Several strings → a `labels`
182
+ object; one string → a `<thing>Label` prop. Function labels receive what they
183
+ name (`goToSlide: (n) => …`, `deleteItem: (key) => …`).
184
+
185
+ - Shell: `WorkspaceLayout` / `MinimalWorkspaceLayout` take `accountMenuLabels`
186
+ (the account menu: `menu`, `colorTheme`, `darkMode`, `lightMode`, `language`,
187
+ `logout`) and `labels` (`WorkspaceLayoutLabels` / `MinimalWorkspaceLayoutLabels`:
188
+ sidebar toggle/expand/collapse, the phone sheet's `closeSidebar`,
189
+ `sidebarTitle`, `sidebarDescription`; `breadcrumbs` on WorkspaceLayout).
190
+ `MyAccountMenu` `triggerLabel`; `Sidebar` `labels`; `SidebarTrigger` `label`.
191
+ - Overlays: `closeLabel` on every `DialogContent` and `SheetContent` (the X
192
+ button). Pass it everywhere, e.g. through one small app wrapper.
193
+ - `NavBar` `labels` (+ `moreLabel`), `Carousel` `labels` (`pagination`,
194
+ `goToSlide`, `roleDescription`, `slideRoleDescription`, …), `Coverflow`
195
+ `labels.roleDescription`.
196
+ - Data: `DataTable` `selectAllLabel` / `selectRowLabel` (plus its existing
197
+ `previousLabel`, `nextLabel`, `pageLabel`, …), `SimplePaginatedList` `labels`,
198
+ `KeyValueManager` `labels`, `TransferList` `labels`, `DateRangePicker`
199
+ `startDateLabel` / `endDateLabel` / `cancelLabel` / `applyLabel` (plus
200
+ `clearLabel`, `presetLabels`, `placeholder`).
201
+ - Small ones: `StatCard` `infoIconLabel`, `SectionCard` `toggleLabel`,
202
+ `UserTypeBadge` `label`, `BreadcrumbEllipsis` `moreLabel`, `Tag` `deleteLabel`,
203
+ `TagInput` `removeTagLabel`, `FileUpload` `removeFileLabel`,
204
+ `AsyncCombobox` `loadMoreLabel`, `AsyncMultiSelect` `removeLabel` / `moreLabel`,
205
+ `FacetFiltersLabels.clearSearch`, `ActiveFilterTag.deleteLabel`.
206
+
207
+ Dates and numbers that a component formats itself (calendar month names,
208
+ `StatCard` values, file sizes) are not localized by these props.
209
+
177
210
  ## Optional peer dependencies
178
211
 
179
212
  Install only when the feature is used:
package/CHANGELOG.md CHANGED
@@ -4,6 +4,43 @@ All notable changes to this project are documented here. The format is based on
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres
5
5
  to [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## [1.15.0] - 2026-11-26
8
+
9
+ ### Added
10
+ - **Labels for an app shown in another language.** Every word the library itself
11
+ puts on screen or reads to a screen reader can now be passed in; each defaults
12
+ to the English it said before, so nothing changes for an app that passes none.
13
+ - `AccountMenu` `labels` (`AccountMenuLabels`: `menu`, `colorTheme`,
14
+ `darkMode`, `lightMode`, `language`, `logout`), and `accountMenuLabels` on
15
+ `WorkspaceLayout` and `MinimalWorkspaceLayout`.
16
+ - `MyAccountMenu` `triggerLabel` (was always "My Account").
17
+ - `DialogContent` and `SheetContent` `closeLabel` (was always "Close").
18
+ - `NavBar` `labels` (`NavBarLabels`: `navigation`, `openMenu`, `moreItems`,
19
+ `mobileNavigation`, `back`, `close`).
20
+ - `Carousel` `labels`: `pagination` ("Carousel pagination"), `goToSlide`
21
+ (the dots), `roleDescription` and `slideRoleDescription` ("carousel" /
22
+ "slide"). `CoverflowLabels.roleDescription`.
23
+ - `WorkspaceLayout` `labels` (`WorkspaceLayoutLabels`: `toggleSidebar`,
24
+ `closeSidebar`, `sidebarTitle`, `sidebarDescription`, `breadcrumbs`);
25
+ `MinimalWorkspaceLayoutLabels` gains `closeSidebar`, `sidebarTitle` and
26
+ `sidebarDescription` (the phone sheet). `WorkspaceHeader`
27
+ `toggleSidebarLabel`.
28
+ - `Sidebar` `labels` (`SidebarLabels`: `close`, `mobileTitle`,
29
+ `mobileDescription`); `SidebarTrigger` `label`; `SidebarPrimitive`
30
+ `mobileTitle` / `mobileDescription`.
31
+ - `BreadcrumbEllipsis` `moreLabel`, `StatCard` `infoIconLabel`,
32
+ `SectionCard` `toggleLabel`, `UserTypeBadge` `label`, `Tag` `deleteLabel`,
33
+ `TagInput` `removeTagLabel`, `FileUpload` `removeFileLabel`,
34
+ `AsyncCombobox` `loadMoreLabel`, `AsyncMultiSelect` `removeLabel` and
35
+ `moreLabel`.
36
+ - `DataTable` `selectAllLabel` / `selectRowLabel`; `DateRangePicker`
37
+ `startDateLabel`, `endDateLabel`, `cancelLabel`, `applyLabel`.
38
+ - `SimplePaginatedList` `labels` (`previousPage`, `nextPage`);
39
+ `KeyValueManagerLabels` gains `previousPage`, `nextPage`, `deleteItem` and
40
+ `clearSearch`; `TransferList` `labels` (`TransferListLabels`: `selectAll`,
41
+ `search`, `searchPlaceholder`, `cancelSearch`, `clearSearch`, `moveTo`).
42
+ - `FacetFiltersLabels.clearSearch` and `ActiveFilterTag.deleteLabel`.
43
+
7
44
  ## [1.14.1] - 2026-11-26
8
45
 
9
46
  ### Added
@@ -1,6 +1,6 @@
1
1
  import * as React$1 from 'react';
2
- import { A as AppLogoProps, M as MyAccountMenuProps } from '../my-account-menu.props-C7DK71WC.js';
3
- export { L as LogoAsset, a as LogoAssetConfig, b as LogoVariantSet } from '../my-account-menu.props-C7DK71WC.js';
2
+ import { A as AppLogoProps, M as MyAccountMenuProps } from '../my-account-menu.props-V3kFdvCZ.js';
3
+ export { L as LogoAsset, a as LogoAssetConfig, b as LogoVariantSet } from '../my-account-menu.props-V3kFdvCZ.js';
4
4
  import { C as Color } from '../index-BQANnKs9.js';
5
5
  import '../list.props-DP_xPTqU.js';
6
6
  import '../style-axes-DSQ2DGc5.js';
@@ -36,7 +36,7 @@ declare function CopyrightCard({ text, logoSrc, logoAlt, href, logoOnly, }: Copy
36
36
  */
37
37
  declare function PageLoader(): React$1.JSX.Element;
38
38
 
39
- declare function MyAccountMenu({ name, email, imageUrl, minWidth, menuItems, avatarColor, badgeColor, badgeIcon, triggerVariant, side, align, }: MyAccountMenuProps): React$1.JSX.Element;
39
+ declare function MyAccountMenu({ name, email, imageUrl, minWidth, menuItems, avatarColor, badgeColor, badgeIcon, triggerVariant, side, align, triggerLabel, }: MyAccountMenuProps): React$1.JSX.Element;
40
40
 
41
41
  declare function FooterCard(): React$1.JSX.Element;
42
42
 
@@ -5,7 +5,7 @@ import Menu$1 from "../../components/menu/menu.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { ChevronsUpDown } from "lucide-react";
7
7
  //#region src/common/my-account-menu/my-account-menu.tsx
8
- function MyAccountMenu({ name, email, imageUrl, minWidth = "200px", menuItems, avatarColor, badgeColor, badgeIcon, triggerVariant = "avatar", side, align = "end" }) {
8
+ function MyAccountMenu({ name, email, imageUrl, minWidth = "200px", menuItems, avatarColor, badgeColor, badgeIcon, triggerVariant = "avatar", side, align = "end", triggerLabel = "My Account" }) {
9
9
  const avatar = /* @__PURE__ */ jsx(Avatar, {
10
10
  name: name || email,
11
11
  imageUrl,
@@ -39,7 +39,7 @@ function MyAccountMenu({ name, email, imageUrl, minWidth = "200px", menuItems, a
39
39
  }),
40
40
  /* @__PURE__ */ jsx("span", {
41
41
  className: "sr-only",
42
- children: "My Account"
42
+ children: triggerLabel
43
43
  })
44
44
  ]
45
45
  }) : /* @__PURE__ */ jsxs(Button, {
@@ -48,7 +48,7 @@ function MyAccountMenu({ name, email, imageUrl, minWidth = "200px", menuItems, a
48
48
  className: "rounded-full",
49
49
  children: [avatar, /* @__PURE__ */ jsx("span", {
50
50
  className: "sr-only",
51
- children: "My Account"
51
+ children: triggerLabel
52
52
  })]
53
53
  }),
54
54
  side,
@@ -23,7 +23,7 @@ function normalizeValue(value, multiple) {
23
23
  if (Array.isArray(value)) return value;
24
24
  return multiple ? [value] : [value];
25
25
  }
26
- function AsyncMultiSelect({ options, multiple = true, value, onValueChange, onSearchChange, hasMore = false, onLoadMore, isLoading = false, disabled = false, placeholder = "Select...", emptyText = "No results.", searchPlaceholder = "Search...", label, required, size = "default", className, clearable = false, maxDisplayedBadges = 3, portal = true, renderOption, action, radius, border }) {
26
+ function AsyncMultiSelect({ options, multiple = true, value, onValueChange, onSearchChange, hasMore = false, onLoadMore, isLoading = false, disabled = false, placeholder = "Select...", emptyText = "No results.", searchPlaceholder = "Search...", removeLabel = (optionLabel) => `Remove ${optionLabel}`, moreLabel = (count) => `+${count} more`, label, required, size = "default", className, clearable = false, maxDisplayedBadges = 3, portal = true, renderOption, action, radius, border }) {
27
27
  const axes = useStyleAxes({
28
28
  radius,
29
29
  border
@@ -104,16 +104,12 @@ function AsyncMultiSelect({ options, multiple = true, value, onValueChange, onSe
104
104
  onKeyDown: (e) => {
105
105
  if (e.key === "Enter" || e.key === " ") handleRemove(opt.value, e);
106
106
  },
107
- "aria-label": `Remove ${opt.label}`,
107
+ "aria-label": removeLabel(opt.label),
108
108
  children: /* @__PURE__ */ jsx(X, { className: "size-3" })
109
109
  })]
110
- }, opt.value)), remaining > 0 && /* @__PURE__ */ jsxs("span", {
110
+ }, opt.value)), remaining > 0 && /* @__PURE__ */ jsx("span", {
111
111
  className: "type-caption text-muted-foreground",
112
- children: [
113
- "+",
114
- remaining,
115
- " more"
116
- ]
112
+ children: moreLabel(remaining)
117
113
  })]
118
114
  });
119
115
  }
@@ -32,6 +32,10 @@ interface AsyncMultiSelectProps extends Pick<StyleAxisProps, "radius" | "border"
32
32
  placeholder?: string;
33
33
  emptyText?: string;
34
34
  searchPlaceholder?: string;
35
+ /** Accessible name of a selected badge's remove button. Default `` label => `Remove ${label}` ``. */
36
+ removeLabel?: (label: string) => string;
37
+ /** Text after the badges when more are selected than shown. Default `` count => `+${count} more` ``. */
38
+ moreLabel?: (count: number) => string;
35
39
  label?: React.ReactNode;
36
40
  required?: boolean;
37
41
  size?: Size;
@@ -58,6 +62,6 @@ interface AsyncMultiSelectProps extends Pick<StyleAxisProps, "radius" | "border"
58
62
  action?: AsyncMultiSelectAction;
59
63
  }
60
64
 
61
- declare function AsyncMultiSelect({ options, multiple, value, onValueChange, onSearchChange, hasMore, onLoadMore, isLoading, disabled, placeholder, emptyText, searchPlaceholder, label, required, size, className, clearable, maxDisplayedBadges, portal, renderOption, action, radius, border, }: AsyncMultiSelectProps): React.JSX.Element;
65
+ declare function AsyncMultiSelect({ options, multiple, value, onValueChange, onSearchChange, hasMore, onLoadMore, isLoading, disabled, placeholder, emptyText, searchPlaceholder, removeLabel, moreLabel, label, required, size, className, clearable, maxDisplayedBadges, portal, renderOption, action, radius, border, }: AsyncMultiSelectProps): React.JSX.Element;
62
66
 
63
67
  export { AsyncMultiSelect, type AsyncMultiSelectOption, type AsyncMultiSelectProps };
@@ -14,7 +14,10 @@ declare const BreadcrumbSeparator: {
14
14
  displayName: string;
15
15
  };
16
16
  declare const BreadcrumbEllipsis: {
17
- ({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
17
+ ({ className, moreLabel, ...props }: React.ComponentProps<"span"> & {
18
+ /** Screen-reader text for the collapsed items. Default "More". */
19
+ moreLabel?: string;
20
+ }): React.JSX.Element;
18
21
  displayName: string;
19
22
  };
20
23
 
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { k as StyleAxisProps } from '../../style-axes-DSQ2DGc5.js';
4
- export { S as SectionCard, a as SectionCardProps, b as SectionCardSize, c as SectionCardVariant } from '../../section-card-DqQeQkzU.js';
4
+ export { S as SectionCard, a as SectionCardProps, b as SectionCardSize, c as SectionCardVariant } from '../../section-card-Bs3sKQtv.js';
5
5
  import '../../index-BQANnKs9.js';
6
6
  import '../../variant-DjdaxfIA.js';
7
7
 
@@ -210,7 +210,7 @@ function TruncatedLineWithTooltip({ className, textStyle, tooltipContent, childr
210
210
  children: tooltip
211
211
  });
212
212
  }
213
- function SectionCard({ icon, primaryText, secondaryText, truncateSecondaryText = true, actions, allowCollapse: allowCollapseProp = true, hideCollapseIcon = false, defaultOpen = true, open: controlledOpen, size = "default", variant = "outline", color = "gray", children, className, style, fillHeight: fillHeightProp = false, onOpenChange, expandOnHover = false, radius, elevation }) {
213
+ function SectionCard({ icon, primaryText, secondaryText, truncateSecondaryText = true, actions, allowCollapse: allowCollapseProp = true, hideCollapseIcon = false, toggleLabel: toggleLabelProp, defaultOpen = true, open: controlledOpen, size = "default", variant = "outline", color = "gray", children, className, style, fillHeight: fillHeightProp = false, onOpenChange, expandOnHover = false, radius, elevation }) {
214
214
  const allowCollapse = expandOnHover ? false : allowCollapseProp;
215
215
  const fillHeight = expandOnHover ? false : fillHeightProp;
216
216
  const hover = useHoverExpand(expandOnHover, onOpenChange);
@@ -227,7 +227,7 @@ function SectionCard({ icon, primaryText, secondaryText, truncateSecondaryText =
227
227
  }, [defaultOpen]);
228
228
  const isOpenControlled = controlledOpen !== void 0;
229
229
  const open = isOpenControlled ? controlledOpen : uncontrolledOpen;
230
- const toggleLabel = typeof primaryText === "string" ? `Toggle ${primaryText}` : "Toggle section";
230
+ const toggleLabel = toggleLabelProp ?? (typeof primaryText === "string" ? `Toggle ${primaryText}` : "Toggle section");
231
231
  const hasPrimaryText = hasRenderableContent(primaryText);
232
232
  const hasSecondaryText = hasRenderableContent(secondaryText);
233
233
  const hasHeaderText = hasPrimaryText || hasSecondaryText;
@@ -30,19 +30,19 @@ function getDotWindow(total, maxDots, selectedIndex) {
30
30
  if (start > total - maxDots) start = total - maxDots;
31
31
  return Array.from({ length: maxDots }, (_, i) => start + i);
32
32
  }
33
- function DotsRow({ total, maxDots, selectedIndex, orientation, onDotClick }) {
33
+ function DotsRow({ total, maxDots, selectedIndex, orientation, onDotClick, label = "Carousel pagination", goToSlide = (index) => `Go to slide ${index}` }) {
34
34
  const window = getDotWindow(total, maxDots, selectedIndex);
35
35
  return /* @__PURE__ */ jsx("div", {
36
36
  className: cn("flex items-center justify-center gap-1.5", orientation === "horizontal" ? "mt-3 flex-row" : "ml-3 flex-col"),
37
37
  role: "tablist",
38
- "aria-label": "Carousel pagination",
38
+ "aria-label": label,
39
39
  children: window.map((index) => {
40
40
  const isActive = index === selectedIndex;
41
41
  return /* @__PURE__ */ jsx("button", {
42
42
  type: "button",
43
43
  role: "tab",
44
44
  "aria-selected": isActive,
45
- "aria-label": `Go to slide ${index + 1}`,
45
+ "aria-label": goToSlide(index + 1),
46
46
  onClick: () => onDotClick(index),
47
47
  className: cn("rounded-full transition-all duration-200 ease-out", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", orientation === "horizontal" ? isActive ? "h-2 w-4 bg-foreground" : "h-2 w-2 bg-muted-foreground/40 hover:bg-muted-foreground/60" : isActive ? "h-4 w-2 bg-foreground" : "h-2 w-2 bg-muted-foreground/40 hover:bg-muted-foreground/60")
48
48
  }, index);
@@ -98,7 +98,9 @@ function CarouselNavigation({ props, state, placement, maxDots }) {
98
98
  maxDots,
99
99
  selectedIndex: state.selectedIndex,
100
100
  orientation,
101
- onDotClick: state.scrollTo
101
+ onDotClick: state.scrollTo,
102
+ label: labels?.pagination,
103
+ goToSlide: labels?.goToSlide
102
104
  });
103
105
  if (navigation === "custom" && renderNavigation) return /* @__PURE__ */ jsx("div", {
104
106
  className: cn(orientation === "horizontal" ? "mt-3" : "ml-3"),
@@ -214,10 +216,12 @@ function Carousel(props) {
214
216
  plugins,
215
217
  className: cn("min-w-0 flex-1", beside && (orientation === "horizontal" ? "px-11" : "py-11")),
216
218
  "aria-label": labels?.carousel,
219
+ "aria-roledescription": labels?.roleDescription ?? "carousel",
217
220
  children: [
218
221
  /* @__PURE__ */ jsx(CarouselContent, { children: data.map((item, index) => /* @__PURE__ */ jsx(CarouselItem, {
219
222
  className: itemClassName,
220
223
  "aria-label": labels?.slide?.(index + 1, data.length),
224
+ "aria-roledescription": labels?.slideRoleDescription ?? "slide",
221
225
  children: item.content
222
226
  }, item.id)) }),
223
227
  sideArrows && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(CarouselPrevious, {
@@ -21,6 +21,14 @@ interface CarouselLabels {
21
21
  next?: string;
22
22
  /** Each slide's name, 1-based ("2 of 5: Air Mouse"). */
23
23
  slide?: (index: number, total: number) => string;
24
+ /** The row of dots under the slides. Default "Carousel pagination". */
25
+ pagination?: string;
26
+ /** One dot, 1-based. Default `` index => `Go to slide ${index}` ``. */
27
+ goToSlide?: (index: number) => string;
28
+ /** What a screen reader calls the carousel (`aria-roledescription`). Default "carousel". */
29
+ roleDescription?: string;
30
+ /** What a screen reader calls each slide (`aria-roledescription`). Default "slide". */
31
+ slideRoleDescription?: string;
24
32
  }
25
33
  /** Where a slide comes to rest in the viewport when it is selected. */
26
34
  type CarouselAlign = 'start' | 'center' | 'end';
@@ -22,7 +22,9 @@ interface AsyncComboboxProps extends Pick<StyleAxisProps, "radius" | "border"> {
22
22
  clearable?: boolean;
23
23
  hasMore?: boolean;
24
24
  onLoadMore?: () => void;
25
+ /** The button that loads more options. Default "Load more". */
26
+ loadMoreLabel?: string;
25
27
  }
26
- declare function AsyncCombobox({ value, onValueChange, options, onSearchChange, isLoading, placeholder, emptyText, searchPlaceholder, label, required, disabled, className, clearable, hasMore, onLoadMore, radius, border, }: AsyncComboboxProps): React.JSX.Element;
28
+ declare function AsyncCombobox({ value, onValueChange, options, onSearchChange, isLoading, placeholder, emptyText, searchPlaceholder, label, required, disabled, className, clearable, hasMore, onLoadMore, loadMoreLabel, radius, border, }: AsyncComboboxProps): React.JSX.Element;
27
29
 
28
30
  export { AsyncCombobox, type AsyncComboboxProps, type ComboboxOption };
@@ -24,7 +24,8 @@ var DEFAULT_LABELS = {
24
24
  next: "Next",
25
25
  pick: "Choose an item",
26
26
  show: (name) => `Show ${name}`,
27
- open: (name) => `Open ${name}`
27
+ open: (name) => `Open ${name}`,
28
+ roleDescription: "carousel"
28
29
  };
29
30
  /** The default face: the item's image, or the fallback when there is none or it fails to load. */
30
31
  function ImageFace({ item, state, variant, fallback }) {
@@ -138,7 +139,7 @@ function Coverflow(props) {
138
139
  ref: root,
139
140
  "data-slot": "coverflow",
140
141
  role: "region",
141
- "aria-roledescription": "carousel",
142
+ "aria-roledescription": labels?.roleDescription ?? DEFAULT_LABELS.roleDescription,
142
143
  "aria-labelledby": labelledBy,
143
144
  "aria-label": labelledBy ? void 0 : labels?.carousel ?? DEFAULT_LABELS.carousel,
144
145
  className: cn("flex flex-col gap-6", className),
@@ -27,6 +27,8 @@ interface CoverflowLabels {
27
27
  show?: (name: string) => string;
28
28
  /** The front card, when `onOpen` is set. Default `Open ${name}`. */
29
29
  open?: (name: string) => string;
30
+ /** What a screen reader calls the region (`aria-roledescription`). Default "carousel". */
31
+ roleDescription?: string;
30
32
  }
31
33
  /** The card's proportions; sets the card width per breakpoint, the reflection depth and the stage height together. */
32
34
  type CoverflowAspect = 'square' | 'landscape';
@@ -16,7 +16,7 @@ import { Columns2 } from "lucide-react";
16
16
  import { getCoreRowModel, getPaginationRowModel, useReactTable } from "@tanstack/react-table";
17
17
  //#region src/components/data-table/data-table.tsx
18
18
  var edgeShadowClass = "pointer-events-none absolute inset-y-0 z-[3] w-4 from-black/10 to-transparent opacity-0 transition-opacity dark:from-black/40";
19
- function DataTable({ columns, data, tableActionsContent, isFetching, pageIndex = 0, hasNextPage = false, hasPrevPage = false, onNextPage, onPrevPage, pageSize = 5, onPageSizeChange, pageSizeOptions = DEFAULT_PAGE_SIZE_OPTIONS, showColumnVisibilitySelector = true, columnVisibilityLabel = "Columns", noResultsHeading = "No results", noResultsDescription = "No results found. Try adjusting your search or filter to find what you're looking for.", noResultsAction, noResultsIllustration, hideNoResultsIllustration, pageLabel, previousLabel = "Previous", nextLabel = "Next", pageSizeOptionLabel, onRowClick, showBorder = false, rowSelection, onRowSelectionChange, getRowId, enableMultiRowSelection = true, enableRowSelection = false, tableRowClassName, getRowClassName, className, hidePaginationControls = false, radius, border, density }) {
19
+ function DataTable({ columns, data, tableActionsContent, isFetching, pageIndex = 0, hasNextPage = false, hasPrevPage = false, onNextPage, onPrevPage, pageSize = 5, onPageSizeChange, pageSizeOptions = DEFAULT_PAGE_SIZE_OPTIONS, showColumnVisibilitySelector = true, columnVisibilityLabel = "Columns", noResultsHeading = "No results", noResultsDescription = "No results found. Try adjusting your search or filter to find what you're looking for.", noResultsAction, noResultsIllustration, hideNoResultsIllustration, pageLabel, previousLabel = "Previous", nextLabel = "Next", selectAllLabel = "Select all", selectRowLabel = "Select row", pageSizeOptionLabel, onRowClick, showBorder = false, rowSelection, onRowSelectionChange, getRowId, enableMultiRowSelection = true, enableRowSelection = false, tableRowClassName, getRowClassName, className, hidePaginationControls = false, radius, border, density }) {
20
20
  const { partStyle } = useStyleAxes({
21
21
  radius,
22
22
  border
@@ -38,16 +38,20 @@ function DataTable({ columns, data, tableActionsContent, isFetching, pageIndex =
38
38
  header: enableMultiRowSelection ? ({ table: t }) => /* @__PURE__ */ jsx(Checkbox, {
39
39
  checked: t.getIsAllPageRowsSelected() ? true : t.getIsSomePageRowsSelected() ? "indeterminate" : false,
40
40
  onCheckedChange: (value) => t.toggleAllPageRowsSelected(!!value),
41
- "aria-label": "Select all"
41
+ "aria-label": selectAllLabel
42
42
  }) : void 0,
43
43
  cell: ({ row }) => /* @__PURE__ */ jsx(Checkbox, {
44
44
  checked: row.getIsSelected(),
45
45
  disabled: !row.getCanSelect(),
46
46
  onCheckedChange: (value) => row.toggleSelected(!!value),
47
47
  onClick: (e) => e.stopPropagation(),
48
- "aria-label": "Select row"
48
+ "aria-label": selectRowLabel
49
49
  })
50
- }), [enableMultiRowSelection]);
50
+ }), [
51
+ enableMultiRowSelection,
52
+ selectAllLabel,
53
+ selectRowLabel
54
+ ]);
51
55
  const tableColumns = useMemo(() => enableRowSelection ? [selectColumn, ...columns] : columns, [
52
56
  enableRowSelection,
53
57
  selectColumn,
@@ -41,6 +41,10 @@ interface DataTableProps<TData, TValue> extends Pick<StyleAxisProps, "radius" |
41
41
  pageLabel?: string;
42
42
  previousLabel?: string;
43
43
  nextLabel?: string;
44
+ /** Accessible name of the header checkbox that selects every row. Default "Select all". */
45
+ selectAllLabel?: string;
46
+ /** Accessible name of each row's select checkbox. Default "Select row". */
47
+ selectRowLabel?: string;
44
48
  pageSizeOptionLabel?: (size: number) => string;
45
49
  onRowClick?: (row: TData) => void;
46
50
  showBorder?: boolean;
@@ -57,7 +61,7 @@ interface DataTableProps<TData, TValue> extends Pick<StyleAxisProps, "radius" |
57
61
  className?: string;
58
62
  hidePaginationControls?: boolean;
59
63
  }
60
- declare function DataTable<TData, TValue>({ columns, data, tableActionsContent, isFetching, pageIndex, hasNextPage, hasPrevPage, onNextPage, onPrevPage, pageSize, onPageSizeChange, pageSizeOptions, showColumnVisibilitySelector, columnVisibilityLabel, noResultsHeading, noResultsDescription, noResultsAction, noResultsIllustration, hideNoResultsIllustration, pageLabel, previousLabel, nextLabel, pageSizeOptionLabel, onRowClick, showBorder, rowSelection, onRowSelectionChange, getRowId, enableMultiRowSelection, enableRowSelection, tableRowClassName, getRowClassName, className, hidePaginationControls, radius, border, density, }: DataTableProps<TData, TValue>): React.JSX.Element;
64
+ declare function DataTable<TData, TValue>({ columns, data, tableActionsContent, isFetching, pageIndex, hasNextPage, hasPrevPage, onNextPage, onPrevPage, pageSize, onPageSizeChange, pageSizeOptions, showColumnVisibilitySelector, columnVisibilityLabel, noResultsHeading, noResultsDescription, noResultsAction, noResultsIllustration, hideNoResultsIllustration, pageLabel, previousLabel, nextLabel, selectAllLabel, selectRowLabel, pageSizeOptionLabel, onRowClick, showBorder, rowSelection, onRowSelectionChange, getRowId, enableMultiRowSelection, enableRowSelection, tableRowClassName, getRowClassName, className, hidePaginationControls, radius, border, density, }: DataTableProps<TData, TValue>): React.JSX.Element;
61
65
 
62
66
  /** Responsive options read from a column's `meta`. */
63
67
  interface DataTableColumnMeta {
@@ -30,7 +30,7 @@ var parseDateOrNull = (value, dateFormat) => {
30
30
  const parsed = parse(value, dateFormat, /* @__PURE__ */ new Date());
31
31
  return isValid(parsed) ? parsed : null;
32
32
  };
33
- function DateRangePicker({ presets, presetLabels, allowCustom = false, lockEndToToday = false, disableFutureDates = false, dateFormat = DEFAULT_DATE_FORMAT, onChange, onPresetChange, onDraftChange, selectedPresetId, selectedStartDate, selectedEndDate, clearable = false, clearLabel = "Clear", onClear, trigger, placeholder = "Select date range", label, size, hideIcon = false, disabled = false, required = false, rounded = false, radius, popoverRadius, popoverElevation, error, errorContent, startHelperContent, endHelperContent, hintContent, align = "start", side = "bottom", className }) {
33
+ function DateRangePicker({ presets, presetLabels, allowCustom = false, lockEndToToday = false, disableFutureDates = false, dateFormat = DEFAULT_DATE_FORMAT, onChange, onPresetChange, onDraftChange, selectedPresetId, selectedStartDate, selectedEndDate, clearable = false, clearLabel = "Clear", onClear, startDateLabel = "Start date", endDateLabel = "End date", cancelLabel = "Cancel", applyLabel = "Apply", trigger, placeholder = "Select date range", label, size, hideIcon = false, disabled = false, required = false, rounded = false, radius, popoverRadius, popoverElevation, error, errorContent, startHelperContent, endHelperContent, hintContent, align = "start", side = "bottom", className }) {
34
34
  const [open, setOpen] = React$1.useState(false);
35
35
  const popoverAxes = useStyleAxes({
36
36
  radius: popoverRadius,
@@ -182,7 +182,7 @@ function DateRangePicker({ presets, presetLabels, allowCustom = false, lockEndTo
182
182
  color: "error",
183
183
  size: isInline ? void 0 : "sm",
184
184
  onClick: () => handleOpenChange(false),
185
- children: "Cancel"
185
+ children: cancelLabel
186
186
  });
187
187
  const applyButton = /* @__PURE__ */ jsx(Button, {
188
188
  variant: "outline",
@@ -190,7 +190,7 @@ function DateRangePicker({ presets, presetLabels, allowCustom = false, lockEndTo
190
190
  size: isInline ? void 0 : "sm",
191
191
  disabled: !isRangeComplete,
192
192
  onClick: handleApply,
193
- children: "Apply"
193
+ children: applyLabel
194
194
  });
195
195
  const calendarBody = /* @__PURE__ */ jsxs("div", {
196
196
  className: "flex flex-col h-full justify-between",
@@ -213,7 +213,7 @@ function DateRangePicker({ presets, presetLabels, allowCustom = false, lockEndTo
213
213
  className: cn(isInline ? "grid w-full grid-cols-2 gap-3" : "flex items-center gap-3"),
214
214
  children: [/* @__PURE__ */ jsx(Input, {
215
215
  size: "sm",
216
- label: "Start date",
216
+ label: startDateLabel,
217
217
  value: startInputValue,
218
218
  placeholder: dateFormat.toLowerCase(),
219
219
  onChange: handleStartInputChange,
@@ -221,7 +221,7 @@ function DateRangePicker({ presets, presetLabels, allowCustom = false, lockEndTo
221
221
  className: isInline ? "w-full min-w-0" : "w-32"
222
222
  }), /* @__PURE__ */ jsx(Input, {
223
223
  size: "sm",
224
- label: "End date",
224
+ label: endDateLabel,
225
225
  value: endInputValue,
226
226
  placeholder: dateFormat.toLowerCase(),
227
227
  onChange: handleEndInputChange,
@@ -63,6 +63,14 @@ interface DateRangePickerProps extends Pick<StyleAxisProps, "radius"> {
63
63
  clearLabel?: string;
64
64
  /** Fires when the "Clear" menu item is selected. The consumer resets its selection. */
65
65
  onClear?: () => void;
66
+ /** Label of the custom range's start-date field (i18n). Default "Start date". */
67
+ startDateLabel?: string;
68
+ /** Label of the custom range's end-date field (i18n). Default "End date". */
69
+ endDateLabel?: string;
70
+ /** The custom range's cancel button (i18n). Default "Cancel". */
71
+ cancelLabel?: string;
72
+ /** The custom range's apply button (i18n). Default "Apply". */
73
+ applyLabel?: string;
66
74
  /** Custom trigger element. Overrides the default Input trigger entirely. */
67
75
  trigger?: React__default.ReactNode;
68
76
  placeholder?: string;
@@ -92,7 +100,7 @@ interface DateRangePickerProps extends Pick<StyleAxisProps, "radius"> {
92
100
  className?: string;
93
101
  }
94
102
 
95
- declare function DateRangePicker({ presets, presetLabels, allowCustom, lockEndToToday, disableFutureDates, dateFormat, onChange, onPresetChange, onDraftChange, selectedPresetId, selectedStartDate, selectedEndDate, clearable, clearLabel, onClear, trigger, placeholder, label, size, hideIcon, disabled, required, rounded, radius, popoverRadius, popoverElevation, error, errorContent, startHelperContent, endHelperContent, hintContent, align, side, className, }: DateRangePickerProps): React.JSX.Element;
103
+ declare function DateRangePicker({ presets, presetLabels, allowCustom, lockEndToToday, disableFutureDates, dateFormat, onChange, onPresetChange, onDraftChange, selectedPresetId, selectedStartDate, selectedEndDate, clearable, clearLabel, onClear, startDateLabel, endDateLabel, cancelLabel, applyLabel, trigger, placeholder, label, size, hideIcon, disabled, required, rounded, radius, popoverRadius, popoverElevation, error, errorContent, startHelperContent, endHelperContent, hintContent, align, side, className, }: DateRangePickerProps): React.JSX.Element;
96
104
  declare namespace DateRangePicker {
97
105
  var displayName: string;
98
106
  }
@@ -24,8 +24,10 @@ declare function DialogClose(props: DialogCloseProps): React.JSX.Element;
24
24
  type DialogContentProps = DialogContentProps$1 & Pick<StyleAxisProps, 'radius' | 'elevation'> & DensityProps & {
25
25
  showCloseButton?: boolean;
26
26
  closeButtonClassName?: string;
27
+ /** The close button's accessible name, for an app in another language. Default "Close". */
28
+ closeLabel?: string;
27
29
  };
28
- declare function DialogContent({ className, children, showCloseButton, closeButtonClassName, radius, elevation, density, style, ...props }: DialogContentProps): React.JSX.Element;
30
+ declare function DialogContent({ className, children, showCloseButton, closeButtonClassName, closeLabel, radius, elevation, density, style, ...props }: DialogContentProps): React.JSX.Element;
29
31
  type DialogHeaderProps = DialogHeaderProps$1;
30
32
  declare function DialogHeader({ className, ...props }: DialogHeaderProps): React.JSX.Element;
31
33
  type DialogFooterProps = DialogFooterProps$1;
@@ -15,7 +15,8 @@ function ActiveFilters({ tags, clearLabel, onClearAll }) {
15
15
  color: "silver",
16
16
  size: "sm",
17
17
  rounded: true,
18
- onDelete: tag.onDelete
18
+ onDelete: tag.onDelete,
19
+ deleteLabel: tag.deleteLabel
19
20
  }, tag.key)), /* @__PURE__ */ jsx(Button, {
20
21
  variant: "ghost",
21
22
  color: "error",
@@ -48,7 +48,8 @@ function FilterGroup({ group, selected, onToggle, order, animate, labels }) {
48
48
  onSearch: view.setFind,
49
49
  onClear: () => view.setFind(""),
50
50
  placeholder: labels.searchGroupPlaceholder(lower),
51
- "aria-label": labels.searchGroupPlaceholder(lower)
51
+ "aria-label": labels.searchGroupPlaceholder(lower),
52
+ clearLabel: labels.clearSearch
52
53
  }),
53
54
  /* @__PURE__ */ jsx("ul", {
54
55
  className: "m-0 flex list-none flex-col gap-1 p-0",
@@ -25,12 +25,16 @@ interface FacetFiltersLabels {
25
25
  showMore: (count: number) => string;
26
26
  showLess: string;
27
27
  noOptions: string;
28
+ /** The clear button in a group's search field. Default "Clear search". */
29
+ clearSearch?: string;
28
30
  }
29
31
  /** One removable tag above the results. */
30
32
  interface ActiveFilterTag {
31
33
  key: string;
32
34
  label: string;
33
35
  onDelete: () => void;
36
+ /** Accessible name of the tag's remove button. Default `Remove <label>`. */
37
+ deleteLabel?: string;
34
38
  }
35
39
 
36
40
  interface FiltersPanelProps {
@@ -64,7 +64,7 @@ function mergeFiles(existing, incoming, multiple) {
64
64
  }
65
65
  return next;
66
66
  }
67
- var FileUpload = React$1.forwardRef(function FileUpload({ className, title = "Drag & drop files here", description, browseLabel = "Browse files", multiple = false, disabled = false, onChange, onFilesChange, files: filesProp, hideDropzoneOnFileSelect = false, layout = "stacked", id, radius, ...inputPropsRest }, ref) {
67
+ var FileUpload = React$1.forwardRef(function FileUpload({ className, title = "Drag & drop files here", description, browseLabel = "Browse files", removeFileLabel = (fileName) => `Remove ${fileName}`, multiple = false, disabled = false, onChange, onFilesChange, files: filesProp, hideDropzoneOnFileSelect = false, layout = "stacked", id, radius, ...inputPropsRest }, ref) {
68
68
  const { partStyle } = useStyleAxes({ radius }, ["radius"]);
69
69
  const autoId = React$1.useId();
70
70
  const inputId = id ?? autoId;
@@ -307,7 +307,7 @@ var FileUpload = React$1.forwardRef(function FileUpload({ className, title = "Dr
307
307
  fullWidth: false,
308
308
  className: "size-9 shrink-0 p-0",
309
309
  disabled,
310
- "aria-label": `Remove ${file.name}`,
310
+ "aria-label": removeFileLabel(file.name),
311
311
  onClick: () => removeAt(index),
312
312
  children: /* @__PURE__ */ jsx(X, { className: "size-4" })
313
313
  })
@@ -10,6 +10,8 @@ interface FileUploadProps extends Omit<React.ComponentPropsWithoutRef<"input">,
10
10
  description?: string;
11
11
  /** Label for the browse control */
12
12
  browseLabel?: string;
13
+ /** Accessible name of a listed file's remove button. Default `` name => `Remove ${name}` ``. */
14
+ removeFileLabel?: (fileName: string) => string;
13
15
  /**
14
16
  * Controlled file list. When provided (including `[]`), the parent owns the list;
15
17
  * update via `onFilesChange` (e.g. react-hook-form `Controller`). When omitted, the
@@ -11,11 +11,11 @@ export { List } from './list/index.js';
11
11
  export { L as LIST_CLASS_NAMES, a as ListGroup, b as ListItem, c as ListItemSize, d as ListItemVariant, e as ListLinkComponentProps, f as ListProps, g as ListRole } from '../list.props-DP_xPTqU.js';
12
12
  export { ListDetails, ListDetailsItem, ListDetailsLabels, ListDetailsMobileNavigation, ListDetailsProps, ListDetailsTitleListPanelColumnWidth } from './list-details/index.js';
13
13
  export { Menu, MenuProps } from './menu/index.js';
14
- export { NavBar, NavBarMenuItem, NavBarPosition, NavBarProps } from './nav-bar/index.js';
14
+ export { NavBar, NavBarLabels, NavBarMenuItem, NavBarPosition, NavBarProps } from './nav-bar/index.js';
15
15
  export { Tooltip, TooltipProps } from './tooltip/index.js';
16
16
  export { T as TooltipContent, a as TooltipContentProps, b as TooltipProvider, c as TooltipProviderProps, d as TooltipRoot, e as TooltipTrigger, f as TooltipTriggerProps } from '../tooltip-C0bYa8a3.js';
17
17
  export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from './sidebar/index.js';
18
- export { S as SidebarEndActionConfig, a as SidebarGroupConfig, b as SidebarItemConfig, c as SidebarLinkComponentProps, d as SidebarNavEntry, e as SidebarProps, f as SidebarTopLevelLinkConfig, i as isSidebarGroup } from '../types-CkXflqg7.js';
18
+ export { S as SidebarEndActionConfig, a as SidebarGroupConfig, b as SidebarItemConfig, c as SidebarLabels, d as SidebarLinkComponentProps, e as SidebarNavEntry, f as SidebarProps, g as SidebarTopLevelLinkConfig, i as isSidebarGroup } from '../types-CoZOfz4S.js';
19
19
  export { Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from './sheet/index.js';
20
20
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps } from './dropdown-menu/index.js';
21
21
  export { ScrollArea, ScrollAreaOrientation, ScrollAreaProps, ScrollBar } from './scroll-area/index.js';
@@ -117,7 +117,7 @@ export { StatusBadge, statusBadgeSizeVariants } from './status-badge/index.js';
117
117
  export { S as StatusBadgeIcon, a as StatusBadgeProps } from '../status-badge.props-BVe8CmQZ.js';
118
118
  export { Tag, TagProps } from './tag/index.js';
119
119
  export { TagInput, TagInputProps } from './tag-input/index.js';
120
- export { TransferItem, TransferList, TransferListProps } from './transfer-list/index.js';
120
+ export { TransferItem, TransferList, TransferListLabels, TransferListProps } from './transfer-list/index.js';
121
121
  export { Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps } from './dialog/index.js';
122
122
  export { Popover, PopoverAnchor, PopoverContent, PopoverGroup, PopoverGroupProps, PopoverProps, PopoverTrigger } from './popover/index.js';
123
123
  export { ConfirmationDialog, ConfirmationDialogProps } from './confirmation-dialog/index.js';
@@ -132,7 +132,7 @@ export { DynamicList, DynamicListEntry, DynamicListMetaEntry, DynamicListMetaTyp
132
132
  export { KeyValueManager, KeyValueManagerFieldMeta, KeyValueManagerItem, KeyValueManagerLabels, KeyValueManagerProps } from './key-value-manager/index.js';
133
133
  export { RequirementList, RequirementListItem, RequirementListProps, RequirementListSize } from './requirement-list/index.js';
134
134
  export { SimpleList, SimpleListAvatarSize, SimpleListIconStyle, SimpleListItem, SimpleListItemDirection, SimpleListProps } from './simple-list/index.js';
135
- export { SimplePaginatedList, SimplePaginatedListItem, SimplePaginatedListProps, SimplePaginatedListSize } from './simple-paginated-list/index.js';
135
+ export { SimplePaginatedList, SimplePaginatedListItem, SimplePaginatedListLabels, SimplePaginatedListProps, SimplePaginatedListSize } from './simple-paginated-list/index.js';
136
136
  export { Alert } from './alert/index.js';
137
137
  export { A as AlertColor, a as AlertIconAvatarVariant, b as AlertProps, c as AlertSize, d as AlertType, e as AlertVariant } from '../alert.props-BuLuWmXA.js';
138
138
  export { Toast, ToastColor, ToastId, ToastInput, ToastOptions, ToastProps, ToastToasterProps, ToastType, ToastVariant, Toaster, toast } from './toast/index.js';
@@ -147,7 +147,7 @@ export { CircularProgress, CircularProgressProps } from './circular-progress/ind
147
147
  export { ProgressBar, ProgressBarProps, ProgressBarSegment } from './progress-bar/index.js';
148
148
  export { FullSizeError, FullSizeErrorProps, InlineError, InlineErrorProps } from './error-display/index.js';
149
149
  export { AnimatedCard, AnimatedCardProps, AnimatedCardType, BasicDetailsCard, BasicDetailsCardProps, CollapsibleCard, CollapsibleCardProps, NoDataCard, NoDataCardProps, SimpleCard, SimpleCardProps, animatedCardAnimations, animatedCardTypeKeys } from './cards/index.js';
150
- export { S as SectionCard, a as SectionCardProps, b as SectionCardSize, c as SectionCardVariant } from '../section-card-DqQeQkzU.js';
150
+ export { S as SectionCard, a as SectionCardProps, b as SectionCardSize, c as SectionCardVariant } from '../section-card-Bs3sKQtv.js';
151
151
  export { IconTextActionCard } from './icon-text-action-card/index.js';
152
152
  export { I as IconTextActionCardActionsPlacement, a as IconTextActionCardProps, b as IconTextActionCardVariant } from '../icon-text-action-card.props-BU7yFi2Q.js';
153
153
  export { SimpleClickableCard } from './simple-clickable-card/index.js';
@@ -43,6 +43,14 @@ interface KeyValueManagerLabels {
43
43
  emptySearch?: string;
44
44
  /** Placeholder of a field that has `options`. Default: `"Select"`. */
45
45
  selectPlaceholder?: string;
46
+ /** Accessible name of the search box's clear button. Default: `"Clear search"`. */
47
+ clearSearch?: string;
48
+ /** Accessible name of the table's previous-page arrow. Default: `"Previous page"`. */
49
+ previousPage?: string;
50
+ /** Accessible name of the table's next-page arrow. Default: `"Next page"`. */
51
+ nextPage?: string;
52
+ /** Accessible name of a row's delete button. Default: `` key => `Delete ${key}` ``. */
53
+ deleteItem?: (key: string) => string;
46
54
  }
47
55
  interface KeyValueManagerProps {
48
56
  items: KeyValueManagerItem[];