@orianatech/pire 2.1.1 → 2.3.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 (233) hide show
  1. package/dist/components/core/Avatar.d.ts +0 -1
  2. package/dist/components/core/Badge.d.cts +2 -5
  3. package/dist/components/core/Badge.d.ts +2 -6
  4. package/dist/components/core/Button.d.ts +0 -1
  5. package/dist/components/core/Card.d.ts +0 -1
  6. package/dist/components/core/ComingSoonMark.d.ts +0 -1
  7. package/dist/components/core/Heading.d.cts +1 -1
  8. package/dist/components/core/Heading.d.ts +1 -2
  9. package/dist/components/core/Icon.d.cts +1 -2
  10. package/dist/components/core/Icon.d.ts +1 -3
  11. package/dist/components/core/IconButton.d.ts +0 -1
  12. package/dist/components/core/Kbd.d.ts +0 -1
  13. package/dist/components/core/Link.d.ts +0 -1
  14. package/dist/components/core/SegmentedControl.d.cts +1 -1
  15. package/dist/components/core/SegmentedControl.d.ts +1 -2
  16. package/dist/components/core/Separator.d.ts +0 -1
  17. package/dist/components/core/Tag.d.cts +1 -1
  18. package/dist/components/core/Tag.d.ts +1 -2
  19. package/dist/components/core/Text.d.cts +9 -1
  20. package/dist/components/core/Text.d.ts +9 -2
  21. package/dist/components/core/icon-data.generated.d.ts +0 -1
  22. package/dist/components/core/icon-map.d.ts +0 -1
  23. package/dist/components/data/BarChart.d.cts +1 -1
  24. package/dist/components/data/BarChart.d.ts +1 -2
  25. package/dist/components/data/BarList.d.ts +0 -1
  26. package/dist/components/data/ChartFrame.d.ts +0 -1
  27. package/dist/components/data/DataTable.d.cts +13 -2
  28. package/dist/components/data/DataTable.d.ts +13 -3
  29. package/dist/components/data/DescriptionList.d.ts +0 -1
  30. package/dist/components/data/DonutChart.d.cts +1 -1
  31. package/dist/components/data/DonutChart.d.ts +1 -2
  32. package/dist/components/data/FilterBar.d.ts +0 -1
  33. package/dist/components/data/KpiTile.d.ts +0 -1
  34. package/dist/components/data/LineChart.d.cts +1 -1
  35. package/dist/components/data/LineChart.d.ts +1 -2
  36. package/dist/components/data/LinkList.d.ts +0 -1
  37. package/dist/components/data/ObjectHeader.d.ts +0 -1
  38. package/dist/components/data/RecordCard.d.ts +0 -1
  39. package/dist/components/data/Timeline.d.ts +0 -1
  40. package/dist/components/data/ViewSwitcher.d.ts +0 -1
  41. package/dist/components/data/chartGeometry.d.ts +0 -1
  42. package/dist/components/feedback/Dialog.d.cts +11 -0
  43. package/dist/components/feedback/Dialog.d.ts +11 -1
  44. package/dist/components/feedback/InlineMessage.d.cts +2 -0
  45. package/dist/components/feedback/InlineMessage.d.ts +2 -1
  46. package/dist/components/feedback/ProgressBar.d.cts +5 -1
  47. package/dist/components/feedback/ProgressBar.d.ts +5 -2
  48. package/dist/components/feedback/Skeleton.d.ts +0 -1
  49. package/dist/components/feedback/Toast.d.cts +1 -1
  50. package/dist/components/feedback/Toast.d.ts +1 -2
  51. package/dist/components/feedback/Tooltip.d.ts +0 -1
  52. package/dist/components/forms/CalendarMonth.d.cts +6 -0
  53. package/dist/components/forms/CalendarMonth.d.ts +6 -0
  54. package/dist/components/forms/Checkbox.d.ts +0 -1
  55. package/dist/components/forms/ChoiceCardGroup.d.cts +3 -12
  56. package/dist/components/forms/ChoiceCardGroup.d.ts +3 -13
  57. package/dist/components/forms/ComboBox.d.cts +2 -11
  58. package/dist/components/forms/ComboBox.d.ts +2 -12
  59. package/dist/components/forms/ComboBoxListBox.d.cts +35 -0
  60. package/dist/components/forms/ComboBoxListBox.d.ts +35 -0
  61. package/dist/components/forms/DatePicker.d.cts +3 -13
  62. package/dist/components/forms/DatePicker.d.ts +3 -14
  63. package/dist/components/forms/DateRangePicker.d.cts +5 -15
  64. package/dist/components/forms/DateRangePicker.d.ts +5 -16
  65. package/dist/components/forms/FieldClearButton.d.cts +12 -0
  66. package/dist/components/forms/FieldClearButton.d.ts +12 -0
  67. package/dist/components/forms/FieldDescription.d.ts +0 -1
  68. package/dist/components/forms/FieldHelp.d.cts +24 -1
  69. package/dist/components/forms/FieldHelp.d.ts +24 -2
  70. package/dist/components/forms/FieldLabel.d.cts +2 -5
  71. package/dist/components/forms/FieldLabel.d.ts +2 -6
  72. package/dist/components/forms/FileUpload.d.cts +37 -4
  73. package/dist/components/forms/FileUpload.d.ts +37 -5
  74. package/dist/components/forms/FormField.d.ts +0 -1
  75. package/dist/components/forms/Input.d.cts +2 -11
  76. package/dist/components/forms/Input.d.ts +2 -12
  77. package/dist/components/forms/MultiComboBox.d.cts +2 -11
  78. package/dist/components/forms/MultiComboBox.d.ts +2 -12
  79. package/dist/components/forms/NumberField.d.cts +3 -13
  80. package/dist/components/forms/NumberField.d.ts +3 -14
  81. package/dist/components/forms/QuantityStepper.d.ts +0 -1
  82. package/dist/components/forms/Radio.d.ts +0 -1
  83. package/dist/components/forms/Select.d.cts +2 -11
  84. package/dist/components/forms/Select.d.ts +2 -12
  85. package/dist/components/forms/Switch.d.ts +0 -1
  86. package/dist/components/forms/TextArea.d.cts +2 -11
  87. package/dist/components/forms/TextArea.d.ts +2 -12
  88. package/dist/components/forms/ValueHelpField.d.cts +7 -3
  89. package/dist/components/forms/ValueHelpField.d.ts +7 -4
  90. package/dist/components/forms/dateValues.d.cts +2 -5
  91. package/dist/components/forms/dateValues.d.ts +2 -6
  92. package/dist/components/layout/FooterBar.d.ts +0 -1
  93. package/dist/components/layout/PageBand.d.ts +0 -1
  94. package/dist/components/layout/PageHeader.d.cts +7 -1
  95. package/dist/components/layout/PageHeader.d.ts +7 -2
  96. package/dist/components/layout/SectionHeader.d.ts +0 -1
  97. package/dist/components/layout/SelectionBar.d.cts +1 -2
  98. package/dist/components/layout/SelectionBar.d.ts +1 -3
  99. package/dist/components/layout/SplitPane.d.ts +0 -1
  100. package/dist/components/navigation/Breadcrumb.d.ts +0 -1
  101. package/dist/components/navigation/Menu.d.ts +0 -1
  102. package/dist/components/navigation/Pagination.d.ts +0 -1
  103. package/dist/components/navigation/Ribbon.d.cts +1 -1
  104. package/dist/components/navigation/Ribbon.d.ts +1 -2
  105. package/dist/components/navigation/ShellBar.d.ts +0 -1
  106. package/dist/components/navigation/ShellRail.d.ts +0 -1
  107. package/dist/components/navigation/SideNav.d.cts +3 -6
  108. package/dist/components/navigation/SideNav.d.ts +3 -7
  109. package/dist/components/navigation/Tabs.d.cts +1 -1
  110. package/dist/components/navigation/Tabs.d.ts +1 -2
  111. package/dist/components/patterns/AppLauncher.d.cts +1 -2
  112. package/dist/components/patterns/AppLauncher.d.ts +1 -3
  113. package/dist/components/patterns/CommandPalette.d.ts +0 -1
  114. package/dist/components/patterns/ConfirmDialog.d.ts +0 -1
  115. package/dist/components/patterns/EmptyState.d.ts +0 -1
  116. package/dist/components/patterns/FileDropZone.d.cts +1 -1
  117. package/dist/components/patterns/FileDropZone.d.ts +1 -2
  118. package/dist/components/patterns/NumPad.d.cts +2 -8
  119. package/dist/components/patterns/NumPad.d.ts +2 -9
  120. package/dist/components/patterns/SidePanel.d.ts +0 -1
  121. package/dist/components/patterns/ValueHelpDialog.d.cts +5 -5
  122. package/dist/components/patterns/ValueHelpDialog.d.ts +5 -6
  123. package/dist/components/utils/cx.d.ts +0 -1
  124. package/dist/components/utils/decimalSeparator.d.cts +1 -4
  125. package/dist/components/utils/decimalSeparator.d.ts +1 -5
  126. package/dist/components/utils/devWarn.d.cts +5 -3
  127. package/dist/components/utils/devWarn.d.ts +5 -4
  128. package/dist/components/utils/useDocumentKeyDown.d.cts +5 -0
  129. package/dist/components/utils/useDocumentKeyDown.d.ts +5 -0
  130. package/dist/components/utils/useLoadMoreOnScroll.d.ts +0 -1
  131. package/dist/components.css +154 -85
  132. package/dist/i18n/PireIntlProvider.d.ts +0 -1
  133. package/dist/i18n/messages.d.ts +0 -1
  134. package/dist/index.cjs +1352 -1394
  135. package/dist/index.cjs.map +1 -1
  136. package/dist/index.d.cts +1 -1
  137. package/dist/index.d.ts +1 -2
  138. package/dist/index.js +1216 -1281
  139. package/dist/index.js.map +1 -1
  140. package/dist/tokens/base.css +2 -5
  141. package/dist/tokens/colors.css +13 -8
  142. package/dist/tokens/elevation.css +15 -0
  143. package/dist/tokens/themes.css +6 -12
  144. package/package.json +1 -1
  145. package/dist/components/core/Avatar.d.ts.map +0 -1
  146. package/dist/components/core/Badge.d.ts.map +0 -1
  147. package/dist/components/core/Button.d.ts.map +0 -1
  148. package/dist/components/core/Card.d.ts.map +0 -1
  149. package/dist/components/core/ComingSoonMark.d.ts.map +0 -1
  150. package/dist/components/core/Heading.d.ts.map +0 -1
  151. package/dist/components/core/Icon.d.ts.map +0 -1
  152. package/dist/components/core/IconButton.d.ts.map +0 -1
  153. package/dist/components/core/Kbd.d.ts.map +0 -1
  154. package/dist/components/core/Link.d.ts.map +0 -1
  155. package/dist/components/core/SegmentedControl.d.ts.map +0 -1
  156. package/dist/components/core/Separator.d.ts.map +0 -1
  157. package/dist/components/core/Tag.d.ts.map +0 -1
  158. package/dist/components/core/Text.d.ts.map +0 -1
  159. package/dist/components/core/icon-data.generated.d.ts.map +0 -1
  160. package/dist/components/core/icon-map.d.ts.map +0 -1
  161. package/dist/components/data/BarChart.d.ts.map +0 -1
  162. package/dist/components/data/BarList.d.ts.map +0 -1
  163. package/dist/components/data/ChartFrame.d.ts.map +0 -1
  164. package/dist/components/data/DataTable.d.ts.map +0 -1
  165. package/dist/components/data/DescriptionList.d.ts.map +0 -1
  166. package/dist/components/data/DonutChart.d.ts.map +0 -1
  167. package/dist/components/data/FilterBar.d.ts.map +0 -1
  168. package/dist/components/data/KpiTile.d.ts.map +0 -1
  169. package/dist/components/data/LineChart.d.ts.map +0 -1
  170. package/dist/components/data/LinkList.d.ts.map +0 -1
  171. package/dist/components/data/ObjectHeader.d.ts.map +0 -1
  172. package/dist/components/data/RecordCard.d.ts.map +0 -1
  173. package/dist/components/data/Timeline.d.ts.map +0 -1
  174. package/dist/components/data/ViewSwitcher.d.ts.map +0 -1
  175. package/dist/components/data/chartGeometry.d.ts.map +0 -1
  176. package/dist/components/feedback/Dialog.d.ts.map +0 -1
  177. package/dist/components/feedback/InlineMessage.d.ts.map +0 -1
  178. package/dist/components/feedback/ProgressBar.d.ts.map +0 -1
  179. package/dist/components/feedback/Skeleton.d.ts.map +0 -1
  180. package/dist/components/feedback/Toast.d.ts.map +0 -1
  181. package/dist/components/feedback/Tooltip.d.ts.map +0 -1
  182. package/dist/components/forms/Checkbox.d.ts.map +0 -1
  183. package/dist/components/forms/ChoiceCardGroup.d.ts.map +0 -1
  184. package/dist/components/forms/ComboBox.d.ts.map +0 -1
  185. package/dist/components/forms/DatePicker.d.ts.map +0 -1
  186. package/dist/components/forms/DateRangePicker.d.ts.map +0 -1
  187. package/dist/components/forms/FieldDescription.d.ts.map +0 -1
  188. package/dist/components/forms/FieldHelp.d.ts.map +0 -1
  189. package/dist/components/forms/FieldLabel.d.ts.map +0 -1
  190. package/dist/components/forms/FileUpload.d.ts.map +0 -1
  191. package/dist/components/forms/FormField.d.ts.map +0 -1
  192. package/dist/components/forms/Input.d.ts.map +0 -1
  193. package/dist/components/forms/MultiComboBox.d.ts.map +0 -1
  194. package/dist/components/forms/NumberField.d.ts.map +0 -1
  195. package/dist/components/forms/QuantityStepper.d.ts.map +0 -1
  196. package/dist/components/forms/Radio.d.ts.map +0 -1
  197. package/dist/components/forms/Select.d.ts.map +0 -1
  198. package/dist/components/forms/Switch.d.ts.map +0 -1
  199. package/dist/components/forms/TextArea.d.ts.map +0 -1
  200. package/dist/components/forms/ValueHelpField.d.ts.map +0 -1
  201. package/dist/components/forms/dateValues.d.ts.map +0 -1
  202. package/dist/components/layout/FooterBar.d.ts.map +0 -1
  203. package/dist/components/layout/PageBand.d.ts.map +0 -1
  204. package/dist/components/layout/PageHeader.d.ts.map +0 -1
  205. package/dist/components/layout/SectionHeader.d.ts.map +0 -1
  206. package/dist/components/layout/SelectionBar.d.ts.map +0 -1
  207. package/dist/components/layout/SplitPane.d.ts.map +0 -1
  208. package/dist/components/navigation/Breadcrumb.d.ts.map +0 -1
  209. package/dist/components/navigation/Menu.d.ts.map +0 -1
  210. package/dist/components/navigation/Pagination.d.ts.map +0 -1
  211. package/dist/components/navigation/Ribbon.d.ts.map +0 -1
  212. package/dist/components/navigation/ShellBar.d.ts.map +0 -1
  213. package/dist/components/navigation/ShellRail.d.ts.map +0 -1
  214. package/dist/components/navigation/SideNav.d.ts.map +0 -1
  215. package/dist/components/navigation/Tabs.d.ts.map +0 -1
  216. package/dist/components/patterns/AppLauncher.d.ts.map +0 -1
  217. package/dist/components/patterns/CommandPalette.d.ts.map +0 -1
  218. package/dist/components/patterns/ConfirmDialog.d.ts.map +0 -1
  219. package/dist/components/patterns/EmptyState.d.ts.map +0 -1
  220. package/dist/components/patterns/FileDropZone.d.ts.map +0 -1
  221. package/dist/components/patterns/NumPad.d.ts.map +0 -1
  222. package/dist/components/patterns/SidePanel.d.ts.map +0 -1
  223. package/dist/components/patterns/ValueHelpDialog.d.ts.map +0 -1
  224. package/dist/components/utils/cx.d.ts.map +0 -1
  225. package/dist/components/utils/decimalSeparator.d.ts.map +0 -1
  226. package/dist/components/utils/devWarn.d.ts.map +0 -1
  227. package/dist/components/utils/focusField.d.cts +0 -11
  228. package/dist/components/utils/focusField.d.ts +0 -12
  229. package/dist/components/utils/focusField.d.ts.map +0 -1
  230. package/dist/components/utils/useLoadMoreOnScroll.d.ts.map +0 -1
  231. package/dist/i18n/PireIntlProvider.d.ts.map +0 -1
  232. package/dist/i18n/messages.d.ts.map +0 -1
  233. package/dist/index.d.ts.map +0 -1
@@ -17,7 +17,7 @@ export interface SideNavItem {
17
17
  /** Second-level destinations. Supplying this turns the entry into a collapsible group: it stops
18
18
  * being a destination itself (pressing it expands, never navigates) and `id` becomes the
19
19
  * expansion key used by `expandedIds` / `defaultExpandedIds`, not something `onChange` can ever
20
- * emit. Omit it and the entry behaves exactly as it always has. */
20
+ * emit. */
21
21
  items?: SideNavChildItem[];
22
22
  }
23
23
  export interface SideNavGroup {
@@ -55,7 +55,7 @@ export interface SideNavProps extends Omit<React.HTMLAttributes<HTMLElement>, 'o
55
55
  * rail records an expansion nothing can draw, leaving second-level destinations reachable only
56
56
  * by expanding the nav again.
57
57
  *
58
- * Pass `false` for the previous behaviour, where a rail group toggles expansion invisibly.
58
+ * `false` makes a rail group record its expansion invisibly; kept for compatibility.
59
59
  */
60
60
  railFlyout?: boolean;
61
61
  footer?: React.ReactNode;
@@ -79,11 +79,7 @@ export interface SideNavProps extends Omit<React.HTMLAttributes<HTMLElement>, 'o
79
79
  * `aria-hidden="true"`. `.pire-sidenav-subnav[hidden]` in `components.css` is that guard.
80
80
  * - **`collapsed` and expansion are different axes, and the rail wins.** With `collapsed` set there
81
81
  * are no labels, and a second level is nothing *but* labels. A group therefore opens its children
82
- * in a flyout beside the rail (`railFlyout`, on by default) rather than inline. With
83
- * `railFlyout={false}` the row falls back to recording the expansion silently — which leaves
84
- * second-level destinations reachable only by expanding the nav again, so it is off the
85
- * accessible path and exists for compatibility.
82
+ * in a flyout beside the rail rather than inline — see `railFlyout`.
86
83
  * - **Several groups can be open at once**, and there is no accordion mode. Closing the group you
87
84
  * are in to open another is the wrong trade in a nav whose whole job is showing where you are. */
88
85
  export declare function SideNav({ groups, value, onChange, expandedIds, defaultExpandedIds, onExpandedChange, collapsed, railFlyout, bordered, footer, className, ...rest }: SideNavProps): React.JSX.Element;
89
- //# sourceMappingURL=SideNav.d.ts.map
@@ -20,4 +20,4 @@ export interface TabsProps {
20
20
  style?: React.CSSProperties;
21
21
  }
22
22
  /** Peer views of one object. Arrow keys move between tabs; the panel is one tab stop away. */
23
- export declare function Tabs({ items, value, defaultValue, onChange, panels, className, style, ...rest }: TabsProps): React.JSX.Element;
23
+ export declare function Tabs({ items, value, defaultValue, onChange, panels, className, style, 'aria-label': ariaLabel, }: TabsProps): React.JSX.Element;
@@ -20,5 +20,4 @@ export interface TabsProps {
20
20
  style?: React.CSSProperties;
21
21
  }
22
22
  /** Peer views of one object. Arrow keys move between tabs; the panel is one tab stop away. */
23
- export declare function Tabs({ items, value, defaultValue, onChange, panels, className, style, ...rest }: TabsProps): React.JSX.Element;
24
- //# sourceMappingURL=Tabs.d.ts.map
23
+ export declare function Tabs({ items, value, defaultValue, onChange, panels, className, style, 'aria-label': ariaLabel, }: TabsProps): React.JSX.Element;
@@ -56,8 +56,7 @@ export interface AppLauncherProps {
56
56
  * server-backed catalogues: fuzzy matches, synonyms and code-to-description hits do not survive
57
57
  * a second local "contains" pass.
58
58
  *
59
- * Named to match `ComboBox` and `ValueHelpDialog`, deliberately — one concept under two names is
60
- * worse than either name.
59
+ * Named to match `ComboBox`, deliberately (see CLAUDE.md, server-backed lists).
61
60
  */
62
61
  isFilteredExternally?: boolean;
63
62
  /** Shows a status row rather than "nothing found" while a request is in flight. */
@@ -56,8 +56,7 @@ export interface AppLauncherProps {
56
56
  * server-backed catalogues: fuzzy matches, synonyms and code-to-description hits do not survive
57
57
  * a second local "contains" pass.
58
58
  *
59
- * Named to match `ComboBox` and `ValueHelpDialog`, deliberately — one concept under two names is
60
- * worse than either name.
59
+ * Named to match `ComboBox`, deliberately (see CLAUDE.md, server-backed lists).
61
60
  */
62
61
  isFilteredExternally?: boolean;
63
62
  /** Shows a status row rather than "nothing found" while a request is in flight. */
@@ -88,4 +87,3 @@ export interface AppLauncherProps {
88
87
  * box feels broken in Spanish. Hand it to a server with `isFilteredExternally`.
89
88
  */
90
89
  export declare function AppLauncher({ sections, onAction, value, title, meta, isSearchable, onSearchChange, isFilteredExternally, isLoading, emptyLabel, searchPlaceholder, 'aria-label': ariaLabel, icon, className, }: AppLauncherProps): React.JSX.Element;
91
- //# sourceMappingURL=AppLauncher.d.ts.map
@@ -95,4 +95,3 @@ export interface CommandPaletteShortcutOptions {
95
95
  * component that claims it on mount takes it silently.
96
96
  */
97
97
  export declare function useCommandPaletteShortcut(onTrigger: () => void, { key, isDisabled }?: CommandPaletteShortcutOptions): void;
98
- //# sourceMappingURL=CommandPalette.d.ts.map
@@ -26,4 +26,3 @@ export interface ConfirmDialogProps {
26
26
  }
27
27
  /** Interrupts one irreversible action. Never use for information — that is an InlineMessage. */
28
28
  export declare function ConfirmDialog({ isOpen, title, subtitle, facts, consequence, children, confirmLabel, cancelLabel, tone, isBusy, onConfirm, onCancel, }: ConfirmDialogProps): React.JSX.Element;
29
- //# sourceMappingURL=ConfirmDialog.d.ts.map
@@ -11,4 +11,3 @@ export interface EmptyStateProps extends Omit<React.HTMLAttributes<HTMLDivElemen
11
11
  }
12
12
  /** Says what is missing, why, and the one thing to do about it. */
13
13
  export declare function EmptyState({ icon, title, action, compact, children, className, ...rest }: EmptyStateProps): React.JSX.Element;
14
- //# sourceMappingURL=EmptyState.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import { type FileUploadProps } from '../forms/FileUpload.cjs';
3
3
  export interface FileDropZoneProps extends Omit<FileUploadProps, 'chooseLabel'> {
4
4
  /** Instruction inside the zone. Overrides the dictionary's `fileDropZonePrompt`. */
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import { type FileUploadProps } from '../forms/FileUpload.js';
3
3
  export interface FileDropZoneProps extends Omit<FileUploadProps, 'chooseLabel'> {
4
4
  /** Instruction inside the zone. Overrides the dictionary's `fileDropZonePrompt`. */
@@ -21,4 +21,3 @@ export interface FileDropZoneProps extends Omit<FileUploadProps, 'chooseLabel'>
21
21
  * not an accessible way to supply a file.
22
22
  */
23
23
  export declare function FileDropZone({ label, value, defaultValue, onChange, acceptedFileTypes, allowsMultiple, maxSize, onError, showPreview, uploadProgress, promptLabel, height, description, errorMessage, isInvalid, isDisabled, isReadOnly, isRequired, fullWidth, className, style, 'aria-label': ariaLabel, ...rest }: FileDropZoneProps): React.JSX.Element;
24
- //# sourceMappingURL=FileDropZone.d.ts.map
@@ -65,13 +65,7 @@ export interface NumPadProps {
65
65
  * An on-screen numeric keypad for a counter operated hands-on-keyboard: a POS quantity or an
66
66
  * amount tendered, typed without looking down at the screen.
67
67
  *
68
- * Two defects the design it replaces had, and the reason both traps are closed here rather than
69
- * left to each product: every press works from the physical keyboard as well as a click (see
70
- * {@link useNumPadKeyboard}), and `isDisabled` is real — a native disabled `<button>`, not a
71
- * class name a press still gets through.
72
- *
73
- * A screen with two of these mounted at once — a quantity keypad in a cart panel, an amount
74
- * keypad in the payment overlay covering it — never has both answer the same keystroke either:
75
- * see {@link useNumPadKeyboard} for how the backgrounded one recognises that on its own.
68
+ * Every press works from the physical keyboard as well as a click (see {@link useNumPadKeyboard},
69
+ * which also keeps a backgrounded pad quiet), and `isDisabled` is a native disabled `<button>`.
76
70
  */
77
71
  export declare function NumPad({ 'aria-label': ariaLabel, target, value, onChange, extraKeys, onAction, maxFractionDigits, isDisabled, size, className, style, }: NumPadProps): React.JSX.Element;
@@ -65,14 +65,7 @@ export interface NumPadProps {
65
65
  * An on-screen numeric keypad for a counter operated hands-on-keyboard: a POS quantity or an
66
66
  * amount tendered, typed without looking down at the screen.
67
67
  *
68
- * Two defects the design it replaces had, and the reason both traps are closed here rather than
69
- * left to each product: every press works from the physical keyboard as well as a click (see
70
- * {@link useNumPadKeyboard}), and `isDisabled` is real — a native disabled `<button>`, not a
71
- * class name a press still gets through.
72
- *
73
- * A screen with two of these mounted at once — a quantity keypad in a cart panel, an amount
74
- * keypad in the payment overlay covering it — never has both answer the same keystroke either:
75
- * see {@link useNumPadKeyboard} for how the backgrounded one recognises that on its own.
68
+ * Every press works from the physical keyboard as well as a click (see {@link useNumPadKeyboard},
69
+ * which also keeps a backgrounded pad quiet), and `isDisabled` is a native disabled `<button>`.
76
70
  */
77
71
  export declare function NumPad({ 'aria-label': ariaLabel, target, value, onChange, extraKeys, onAction, maxFractionDigits, isDisabled, size, className, style, }: NumPadProps): React.JSX.Element;
78
- //# sourceMappingURL=NumPad.d.ts.map
@@ -26,4 +26,3 @@ export interface SidePanelProps {
26
26
  }
27
27
  /** Right-hand panel for details and edits that must keep the list in view. */
28
28
  export declare function SidePanel({ isOpen, title, subtitle, width, presentation, children, footer, onClose, className, }: SidePanelProps): React.JSX.Element | null;
29
- //# sourceMappingURL=SidePanel.d.ts.map
@@ -2,7 +2,9 @@ import * as React from 'react';
2
2
  import { type DataTableColumn } from '../data/DataTable.cjs';
3
3
  export interface ValueHelpDialogProps<T extends {
4
4
  id: string | number;
5
- } = any> {
5
+ } = {
6
+ id: string | number;
7
+ }> {
6
8
  isOpen?: boolean;
7
9
  title?: React.ReactNode;
8
10
  /** Show 2–4 identifying columns, not just the key. */
@@ -22,9 +24,7 @@ export interface ValueHelpDialogProps<T extends {
22
24
  * fuzzy matches, synonyms, code-to-description and server ranking do not survive a local
23
25
  * "contains" pass over the fields that happen to be in the row.
24
26
  *
25
- * Named to match `ComboBox`, deliberately. The same idea under two names is worse than either
26
- * name — the ERP's supplier, customer, product and purchase-order pickers all need this, and
27
- * they already know the ComboBox spelling.
27
+ * Named to match `ComboBox`, deliberately (see CLAUDE.md, server-backed lists).
28
28
  */
29
29
  isFilteredExternally?: boolean;
30
30
  /** Keeps the table's skeleton up instead of showing "no records" while a request is in flight. */
@@ -35,7 +35,7 @@ export interface ValueHelpDialogProps<T extends {
35
35
  onSelect?: (row: T) => void;
36
36
  onClose?: () => void;
37
37
  /**
38
- * `'single'` (the default) commits on row press, exactly as before. `'multiple'` adds a
38
+ * `'single'` (the default) commits on row press. `'multiple'` adds a
39
39
  * checkbox column, a running count and select-all / clear shortcuts, and moves the commit to
40
40
  * an explicit confirm — a row press only toggles that row.
41
41
  */
@@ -2,7 +2,9 @@ import * as React from 'react';
2
2
  import { type DataTableColumn } from '../data/DataTable.js';
3
3
  export interface ValueHelpDialogProps<T extends {
4
4
  id: string | number;
5
- } = any> {
5
+ } = {
6
+ id: string | number;
7
+ }> {
6
8
  isOpen?: boolean;
7
9
  title?: React.ReactNode;
8
10
  /** Show 2–4 identifying columns, not just the key. */
@@ -22,9 +24,7 @@ export interface ValueHelpDialogProps<T extends {
22
24
  * fuzzy matches, synonyms, code-to-description and server ranking do not survive a local
23
25
  * "contains" pass over the fields that happen to be in the row.
24
26
  *
25
- * Named to match `ComboBox`, deliberately. The same idea under two names is worse than either
26
- * name — the ERP's supplier, customer, product and purchase-order pickers all need this, and
27
- * they already know the ComboBox spelling.
27
+ * Named to match `ComboBox`, deliberately (see CLAUDE.md, server-backed lists).
28
28
  */
29
29
  isFilteredExternally?: boolean;
30
30
  /** Keeps the table's skeleton up instead of showing "no records" while a request is in flight. */
@@ -35,7 +35,7 @@ export interface ValueHelpDialogProps<T extends {
35
35
  onSelect?: (row: T) => void;
36
36
  onClose?: () => void;
37
37
  /**
38
- * `'single'` (the default) commits on row press, exactly as before. `'multiple'` adds a
38
+ * `'single'` (the default) commits on row press. `'multiple'` adds a
39
39
  * checkbox column, a running count and select-all / clear shortcuts, and moves the commit to
40
40
  * an explicit confirm — a row press only toggles that row.
41
41
  */
@@ -61,4 +61,3 @@ export interface ValueHelpDialogProps<T extends {
61
61
  export declare function ValueHelpDialog<T extends {
62
62
  id: string | number;
63
63
  }>({ isOpen, title, columns, rows, searchPlaceholder, emptyLabel, onSearch, isFilteredExternally, isLoading, onLoadMore, onSelect, onClose, selectionMode, selectedKeys, onSelectionChange, onConfirm, }: ValueHelpDialogProps<T>): React.JSX.Element;
64
- //# sourceMappingURL=ValueHelpDialog.d.ts.map
@@ -1,3 +1,2 @@
1
1
  /** Joins truthy class names. Kept local so the package has no runtime class-name dependency. */
2
2
  export declare function cx(...parts: Array<string | false | null | undefined>): string;
3
- //# sourceMappingURL=cx.d.ts.map
@@ -1,9 +1,6 @@
1
1
  /**
2
2
  * The character this locale puts before the fractional part — a locale property, not a formatting
3
3
  * choice, so it is read without any field's `formatOptions`.
4
- *
5
- * Shared rather than declared twice: `NumberField` remaps a typed `.` to it, and `NumPad` draws it
6
- * on a key. Two copies of this would be two chances for the two components to disagree about what
7
- * `es-PY` means, on the same screen, in the same transaction.
4
+ * Shared by `NumberField` and `NumPad` so the two can never disagree on one screen.
8
5
  */
9
6
  export declare function decimalSeparatorFor(locale: string): string;
@@ -1,10 +1,6 @@
1
1
  /**
2
2
  * The character this locale puts before the fractional part — a locale property, not a formatting
3
3
  * choice, so it is read without any field's `formatOptions`.
4
- *
5
- * Shared rather than declared twice: `NumberField` remaps a typed `.` to it, and `NumPad` draws it
6
- * on a key. Two copies of this would be two chances for the two components to disagree about what
7
- * `es-PY` means, on the same screen, in the same transaction.
4
+ * Shared by `NumberField` and `NumPad` so the two can never disagree on one screen.
8
5
  */
9
6
  export declare function decimalSeparatorFor(locale: string): string;
10
- //# sourceMappingURL=decimalSeparator.d.ts.map
@@ -2,8 +2,10 @@
2
2
  * warnings and their registry are dead code a minifier drops from production builds. Do *not*
3
3
  * wrap this in `typeof process !== 'undefined'`: `process` is genuinely undefined in the
4
4
  * browser, the `typeof` test is not something a bundler substitutes, and the guard would
5
- * evaluate false in development — silencing the warnings this exists to emit. */
5
+ * evaluate false in development — silencing the warnings this exists to emit. This is the same
6
+ * bare check react-aria-components ships, so it is already in every consumer's bundle. */
6
7
  export declare const IS_DEV: boolean;
7
- /** One warning per distinct cause. Fields re-render on every keystroke, so warning per render
8
- * would bury the message in its own repetitions. */
8
+ /** One warning per distinct cause. Fields, icons and charts re-render on every keystroke or filter
9
+ * change, so warning per render would bury the message in its own repetitions. The registry is
10
+ * shared by every component, so prefix keys with the component (`icon:`, `datatable:`, `chart:`). */
9
11
  export declare function warnOnce(key: string, message: string): void;
@@ -2,9 +2,10 @@
2
2
  * warnings and their registry are dead code a minifier drops from production builds. Do *not*
3
3
  * wrap this in `typeof process !== 'undefined'`: `process` is genuinely undefined in the
4
4
  * browser, the `typeof` test is not something a bundler substitutes, and the guard would
5
- * evaluate false in development — silencing the warnings this exists to emit. */
5
+ * evaluate false in development — silencing the warnings this exists to emit. This is the same
6
+ * bare check react-aria-components ships, so it is already in every consumer's bundle. */
6
7
  export declare const IS_DEV: boolean;
7
- /** One warning per distinct cause. Fields re-render on every keystroke, so warning per render
8
- * would bury the message in its own repetitions. */
8
+ /** One warning per distinct cause. Fields, icons and charts re-render on every keystroke or filter
9
+ * change, so warning per render would bury the message in its own repetitions. The registry is
10
+ * shared by every component, so prefix keys with the component (`icon:`, `datatable:`, `chart:`). */
9
11
  export declare function warnOnce(key: string, message: string): void;
10
- //# sourceMappingURL=devWarn.d.ts.map
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Listens for `keydown` on the document while enabled, always calling the latest `onKeyDown` — so
3
+ * a caller can pass an inline handler without re-subscribing on every render.
4
+ */
5
+ export declare function useDocumentKeyDown(onKeyDown: (event: KeyboardEvent) => void, isDisabled?: boolean): void;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Listens for `keydown` on the document while enabled, always calling the latest `onKeyDown` — so
3
+ * a caller can pass an inline handler without re-subscribing on every render.
4
+ */
5
+ export declare function useDocumentKeyDown(onKeyDown: (event: KeyboardEvent) => void, isDisabled?: boolean): void;
@@ -9,4 +9,3 @@ import * as React from 'react';
9
9
  * failed request can be retried by scrolling again. Returns `undefined` without `onLoadMore`.
10
10
  */
11
11
  export declare function useLoadMoreOnScroll(onLoadMore: (() => void) | undefined, isLoading: boolean | undefined): React.UIEventHandler<HTMLElement> | undefined;
12
- //# sourceMappingURL=useLoadMoreOnScroll.d.ts.map