@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
@@ -9,4 +9,3 @@ export interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement> {
9
9
  /** Identity chip for the shell bar, approval lists and history rows. Never the only way a person
10
10
  * is named — always sits beside or is labelled with the full name. */
11
11
  export declare function Avatar({ name, size, src, className, ...rest }: AvatarProps): React.JSX.Element;
12
- //# sourceMappingURL=Avatar.d.ts.map
@@ -11,10 +11,7 @@ export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
11
11
  * Takes a ref, which is what lets it be a `Tooltip` target: React Aria's `Focusable` clones its
12
12
  * child and hands it one, and a component that cannot accept a ref leaves the tooltip **silently**
13
13
  * dead — no error, and a screenshot identical to a working one.
14
- *
15
- * Worth stating why this was invisible for so long. Under React 19 `ref` is an ordinary prop, so it
16
- * rode along in `...rest` and landed on the span by accident; under React 18 it is stripped before
17
- * the component ever sees it. The library develops on 19 and had consumers on 18, so the failure
18
- * existed only where nobody was testing.
14
+ * `forwardRef` is required: React 18 strips `ref` from props, while React 19 would pass it
15
+ * through `...rest` and hide the missing forward.
19
16
  */
20
17
  export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
@@ -11,11 +11,7 @@ export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
11
11
  * Takes a ref, which is what lets it be a `Tooltip` target: React Aria's `Focusable` clones its
12
12
  * child and hands it one, and a component that cannot accept a ref leaves the tooltip **silently**
13
13
  * dead — no error, and a screenshot identical to a working one.
14
- *
15
- * Worth stating why this was invisible for so long. Under React 19 `ref` is an ordinary prop, so it
16
- * rode along in `...rest` and landed on the span by accident; under React 18 it is stripped before
17
- * the component ever sees it. The library develops on 19 and had consumers on 18, so the failure
18
- * existed only where nobody was testing.
14
+ * `forwardRef` is required: React 18 strips `ref` from props, while React 19 would pass it
15
+ * through `...rest` and hide the missing forward.
19
16
  */
20
17
  export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
21
- //# sourceMappingURL=Badge.d.ts.map
@@ -27,4 +27,3 @@ export interface ButtonProps extends Omit<AriaButtonProps, 'className' | 'childr
27
27
  className?: string;
28
28
  }
29
29
  export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
30
- //# sourceMappingURL=Button.d.ts.map
@@ -11,4 +11,3 @@ export interface CardProps extends Omit<React.HTMLAttributes<HTMLElement>, 'titl
11
11
  interactive?: boolean;
12
12
  }
13
13
  export declare function Card({ title, subtitle, icon, actions, footer, interactive, children, className, ...rest }: CardProps): React.JSX.Element;
14
- //# sourceMappingURL=Card.d.ts.map
@@ -37,4 +37,3 @@ export declare function comingSoonProps(label: string | undefined, comingSoon: s
37
37
  onClick: undefined;
38
38
  'aria-label'?: string | undefined;
39
39
  };
40
- //# sourceMappingURL=ComingSoonMark.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type * as React from 'react';
2
- import type { TextColor } from './Text.cjs';
2
+ import { type TextColor } from './Text.cjs';
3
3
  export interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, 'color'> {
4
4
  /** Semantic level. Picks the h1–h4 element and defines the document outline. */
5
5
  level?: 1 | 2 | 3 | 4;
@@ -1,5 +1,5 @@
1
1
  import type * as React from 'react';
2
- import type { TextColor } from './Text.js';
2
+ import { type TextColor } from './Text.js';
3
3
  export interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, 'color'> {
4
4
  /** Semantic level. Picks the h1–h4 element and defines the document outline. */
5
5
  level?: 1 | 2 | 3 | 4;
@@ -13,4 +13,3 @@ export interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingEleme
13
13
  }
14
14
  /** Section and page titles. Built on React Aria's `Heading` so a `Dialog` picks it up as its name. */
15
15
  export declare function Heading({ level, size, color, truncate, className, style, ...rest }: HeadingProps): React.JSX.Element;
16
- //# sourceMappingURL=Heading.d.ts.map
@@ -29,8 +29,7 @@ export interface IconProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, '
29
29
  pack?: IconPack;
30
30
  }
31
31
  /** Glyph rendered as inline SVG filled with `currentColor`, so it inherits text colour everywhere
32
- * and paints with no network at all — which the previous CDN-backed implementation did not, leaving
33
- * every icon blank offline in the PWAs that consume this library.
32
+ * and paints with no network at all — offline PWAs included.
34
33
  *
35
34
  * An unknown name still renders nothing, so a typo cannot collapse a layout, but it warns in
36
35
  * development: the silent blank gap was the failure mode worth killing. */
@@ -29,10 +29,8 @@ export interface IconProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, '
29
29
  pack?: IconPack;
30
30
  }
31
31
  /** Glyph rendered as inline SVG filled with `currentColor`, so it inherits text colour everywhere
32
- * and paints with no network at all — which the previous CDN-backed implementation did not, leaving
33
- * every icon blank offline in the PWAs that consume this library.
32
+ * and paints with no network at all — offline PWAs included.
34
33
  *
35
34
  * An unknown name still renders nothing, so a typo cannot collapse a layout, but it warns in
36
35
  * development: the silent blank gap was the failure mode worth killing. */
37
36
  export declare function Icon({ name, size, label, pack, style, ...rest }: IconProps): React.JSX.Element;
38
- //# sourceMappingURL=Icon.d.ts.map
@@ -25,4 +25,3 @@ export interface IconButtonProps extends Omit<AriaButtonProps, 'className' | 'ch
25
25
  className?: string;
26
26
  }
27
27
  export declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
28
- //# sourceMappingURL=IconButton.d.ts.map
@@ -15,4 +15,3 @@ export interface KbdProps extends React.HTMLAttributes<HTMLElement> {
15
15
  * its own glyph instead of stretching one cap across "Ctrl+Shift+K".
16
16
  */
17
17
  export declare function Kbd({ children, size, className, ...rest }: KbdProps): React.JSX.Element;
18
- //# sourceMappingURL=Kbd.d.ts.map
@@ -11,4 +11,3 @@ export interface LinkProps extends Omit<AriaLinkProps, 'className' | 'children'>
11
11
  }
12
12
  /** A real anchor with the system's link styling. Honours a `RouterProvider` when the app supplies one. */
13
13
  export declare function Link({ children, size, isExternal, className, rel, ...rest }: LinkProps): React.JSX.Element;
14
- //# sourceMappingURL=Link.d.ts.map
@@ -20,4 +20,4 @@ export interface SegmentedControlProps {
20
20
  }
21
21
  /** Two to four mutually exclusive view options that change how data is displayed, not what it is:
22
22
  * row density, list vs chart, period. For filtering, use Select or Tabs. */
23
- export declare function SegmentedControl({ options, value, defaultValue, onChange, iconOnly, size, className, style, ...rest }: SegmentedControlProps): React.JSX.Element;
23
+ export declare function SegmentedControl({ options, value, defaultValue, onChange, iconOnly, size, className, style, 'aria-label': ariaLabel, }: SegmentedControlProps): React.JSX.Element;
@@ -20,5 +20,4 @@ export interface SegmentedControlProps {
20
20
  }
21
21
  /** Two to four mutually exclusive view options that change how data is displayed, not what it is:
22
22
  * row density, list vs chart, period. For filtering, use Select or Tabs. */
23
- export declare function SegmentedControl({ options, value, defaultValue, onChange, iconOnly, size, className, style, ...rest }: SegmentedControlProps): React.JSX.Element;
24
- //# sourceMappingURL=SegmentedControl.d.ts.map
23
+ export declare function SegmentedControl({ options, value, defaultValue, onChange, iconOnly, size, className, style, 'aria-label': ariaLabel, }: SegmentedControlProps): React.JSX.Element;
@@ -10,4 +10,3 @@ export interface SeparatorProps extends Omit<AriaSeparatorProps, 'className'> {
10
10
  }
11
11
  /** A page-level divider. For rules inside a menu use `MenuSeparator`, which follows the menu's rhythm. */
12
12
  export declare function Separator({ orientation, emphasis, spacing, className, ...rest }: SeparatorProps): import("react").JSX.Element;
13
- //# sourceMappingURL=Separator.d.ts.map
@@ -23,6 +23,6 @@ export interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
23
23
  * A removable token: applied filters, multi-select values.
24
24
  *
25
25
  * Takes a ref so it can be a `Tooltip` target — a truncated category label is a common reason to
26
- * want one. See `Badge` for why the missing ref failed silently.
26
+ * want one.
27
27
  */
28
28
  export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
@@ -23,7 +23,6 @@ export interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
23
23
  * A removable token: applied filters, multi-select values.
24
24
  *
25
25
  * Takes a ref so it can be a `Tooltip` target — a truncated category label is a common reason to
26
- * want one. See `Badge` for why the missing ref failed silently.
26
+ * want one.
27
27
  */
28
28
  export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
29
- //# sourceMappingURL=Tag.d.ts.map
@@ -3,6 +3,14 @@ import * as React from 'react';
3
3
  export type TextColor = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse';
4
4
  /** Typographic scale, named after the `--type-*` tokens. */
5
5
  export type TextSize = 'body' | 'body-lg' | 'caption' | 'micro';
6
+ /**
7
+ * `truncate` as `Text` and `Heading` take it: `true` clamps to one line, a number to that many. The
8
+ * line count travels as `--pire-text-clamp`, so the stylesheet owns the clamping itself.
9
+ */
10
+ export declare function truncateStyle(truncate: boolean | number | undefined, style: React.CSSProperties | undefined): {
11
+ isTruncated: boolean;
12
+ clampStyle: React.CSSProperties | undefined;
13
+ };
6
14
  export interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'> {
7
15
  /** Typographic scale. `body` covers most copy. */
8
16
  size?: TextSize;
@@ -24,7 +32,7 @@ export interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'colo
24
32
  * Body copy, captions, metadata and eyebrows — everything that is text but not a heading.
25
33
  *
26
34
  * Takes a ref so it can be a `Tooltip` target, and so a clamped line can be measured to decide
27
- * whether a tooltip is warranted at all. See `Badge` for why the missing ref failed silently.
35
+ * whether a tooltip is warranted at all.
28
36
  */
29
37
  export declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
30
38
  export interface StrongProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'> {
@@ -3,6 +3,14 @@ import * as React from 'react';
3
3
  export type TextColor = 'primary' | 'secondary' | 'tertiary' | 'disabled' | 'inverse';
4
4
  /** Typographic scale, named after the `--type-*` tokens. */
5
5
  export type TextSize = 'body' | 'body-lg' | 'caption' | 'micro';
6
+ /**
7
+ * `truncate` as `Text` and `Heading` take it: `true` clamps to one line, a number to that many. The
8
+ * line count travels as `--pire-text-clamp`, so the stylesheet owns the clamping itself.
9
+ */
10
+ export declare function truncateStyle(truncate: boolean | number | undefined, style: React.CSSProperties | undefined): {
11
+ isTruncated: boolean;
12
+ clampStyle: React.CSSProperties | undefined;
13
+ };
6
14
  export interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'> {
7
15
  /** Typographic scale. `body` covers most copy. */
8
16
  size?: TextSize;
@@ -24,7 +32,7 @@ export interface TextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'colo
24
32
  * Body copy, captions, metadata and eyebrows — everything that is text but not a heading.
25
33
  *
26
34
  * Takes a ref so it can be a `Tooltip` target, and so a clamped line can be measured to decide
27
- * whether a tooltip is warranted at all. See `Badge` for why the missing ref failed silently.
35
+ * whether a tooltip is warranted at all.
28
36
  */
29
37
  export declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
30
38
  export interface StrongProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'> {
@@ -32,4 +40,3 @@ export interface StrongProps extends Omit<React.HTMLAttributes<HTMLElement>, 'co
32
40
  }
33
41
  /** Inline emphasis. Sugar over `<Text weight="strong" elementType="span">`. */
34
42
  export declare const Strong: React.ForwardRefExoticComponent<StrongProps & React.RefAttributes<HTMLElement>>;
35
- //# sourceMappingURL=Text.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const ICON_MARKUP: Record<string, string>;
2
- //# sourceMappingURL=icon-data.generated.d.ts.map
@@ -20,4 +20,3 @@ export declare const CARBON_MAP: Record<string, string>;
20
20
  * `credit-card` shipped as a blank square.
21
21
  */
22
22
  export declare const ICON_NAMES: readonly string[];
23
- //# sourceMappingURL=icon-map.d.ts.map
@@ -29,4 +29,4 @@ export interface BarChartProps extends ChartBaseProps {
29
29
  * inherit type tokens, none of which survives a scaled `viewBox`. The bar axis always starts at
30
30
  * zero, since a bar encodes length, and a truncated axis overstates the difference.
31
31
  */
32
- export declare function BarChart({ categories, series: rawSeries, title, description, formatValue, height, emptyState, showDataTable, orientation, stacked, showValues, className, style, ...rest }: BarChartProps): React.JSX.Element;
32
+ export declare function BarChart({ categories, series: rawSeries, title, description, formatValue, height, emptyState, showDataTable, orientation, stacked, showValues, className, style, 'aria-label': label, }: BarChartProps): React.JSX.Element;
@@ -29,5 +29,4 @@ export interface BarChartProps extends ChartBaseProps {
29
29
  * inherit type tokens, none of which survives a scaled `viewBox`. The bar axis always starts at
30
30
  * zero, since a bar encodes length, and a truncated axis overstates the difference.
31
31
  */
32
- export declare function BarChart({ categories, series: rawSeries, title, description, formatValue, height, emptyState, showDataTable, orientation, stacked, showValues, className, style, ...rest }: BarChartProps): React.JSX.Element;
33
- //# sourceMappingURL=BarChart.d.ts.map
32
+ export declare function BarChart({ categories, series: rawSeries, title, description, formatValue, height, emptyState, showDataTable, orientation, stacked, showValues, className, style, 'aria-label': label, }: BarChartProps): React.JSX.Element;
@@ -28,4 +28,3 @@ export interface BarListProps extends Omit<React.HTMLAttributes<HTMLUListElement
28
28
  * states. Not a `ProgressBar` either — that is one value against a known total.
29
29
  */
30
30
  export declare function BarList({ items, max, className, ...rest }: BarListProps): React.JSX.Element;
31
- //# sourceMappingURL=BarList.d.ts.map
@@ -60,4 +60,3 @@ export declare const defaultFormatValue: (value: number) => string;
60
60
  * `showDataTable` only decides whether it is also visible.
61
61
  */
62
62
  export declare function ChartFrame({ label, title, description, categories, series, formatValue, legend, showDataTable, className, style, children, }: ChartFrameProps): React.JSX.Element;
63
- //# sourceMappingURL=ChartFrame.d.ts.map
@@ -1,4 +1,11 @@
1
1
  import * as React from 'react';
2
+ /** What `renderEdit` receives besides the row: the same commit and cancel Enter and Escape run. */
3
+ export interface DataTableEditActions {
4
+ /** Runs `onCommitRow` for this row, with the focus hand-off Enter gets. */
5
+ commit: () => void;
6
+ /** Runs `onCancelRow` for this row, as Escape does. */
7
+ cancel: () => void;
8
+ }
2
9
  /** Value states a single cell can carry. The same five `Badge` uses, so a red cell and a red badge
3
10
  * mean the same thing on one screen. */
4
11
  export type DataTableCellTone = 'positive' | 'critical' | 'negative' | 'informative' | 'neutral';
@@ -31,8 +38,12 @@ export interface DataTableColumn<T = any> {
31
38
  *
32
39
  * For the pending row it is called with `pendingRow`, which is not a full record: read nothing
33
40
  * off it that the pending row does not carry.
41
+ *
42
+ * `actions.commit` / `actions.cancel` run exactly what Enter / Escape run, focus hand-off included,
43
+ * for a row that also draws its own Save / Cancel buttons — typically in an actions column whose
44
+ * `renderEdit` returns only those buttons.
34
45
  */
35
- renderEdit?: (row: T) => React.ReactNode;
46
+ renderEdit?: (row: T, actions: DataTableEditActions) => React.ReactNode;
36
47
  /**
37
48
  * Freezes the column at the start of the grid while the rest scroll horizontally. For a
38
49
  * comparison matrix — one product across thirty-four branches — where the row is unreadable
@@ -168,4 +179,4 @@ export interface DataTableProps<T extends {
168
179
  }
169
180
  export declare function DataTable<T extends {
170
181
  id: string | number;
171
- }>({ columns, rows, density, selectable, selected, onSelectionChange, hideSelectAll, sort, onSortChange, onRowAction, stickyHeader, emptyLabel, isLoading, loadingRowCount, loadingLabel, footer, rowProps, renderExpanded, expandedIds, editingRowId, pendingRow, onCommitRow, onCancelRow, className, style, ...rest }: DataTableProps<T>): React.JSX.Element;
182
+ }>({ columns, rows, density, selectable, selected, onSelectionChange, hideSelectAll, sort, onSortChange, onRowAction, stickyHeader, emptyLabel, isLoading, loadingRowCount, loadingLabel, footer, rowProps, renderExpanded, expandedIds, editingRowId, pendingRow, onCommitRow, onCancelRow, className, style, 'aria-label': ariaLabel, }: DataTableProps<T>): React.JSX.Element;
@@ -1,4 +1,11 @@
1
1
  import * as React from 'react';
2
+ /** What `renderEdit` receives besides the row: the same commit and cancel Enter and Escape run. */
3
+ export interface DataTableEditActions {
4
+ /** Runs `onCommitRow` for this row, with the focus hand-off Enter gets. */
5
+ commit: () => void;
6
+ /** Runs `onCancelRow` for this row, as Escape does. */
7
+ cancel: () => void;
8
+ }
2
9
  /** Value states a single cell can carry. The same five `Badge` uses, so a red cell and a red badge
3
10
  * mean the same thing on one screen. */
4
11
  export type DataTableCellTone = 'positive' | 'critical' | 'negative' | 'informative' | 'neutral';
@@ -31,8 +38,12 @@ export interface DataTableColumn<T = any> {
31
38
  *
32
39
  * For the pending row it is called with `pendingRow`, which is not a full record: read nothing
33
40
  * off it that the pending row does not carry.
41
+ *
42
+ * `actions.commit` / `actions.cancel` run exactly what Enter / Escape run, focus hand-off included,
43
+ * for a row that also draws its own Save / Cancel buttons — typically in an actions column whose
44
+ * `renderEdit` returns only those buttons.
34
45
  */
35
- renderEdit?: (row: T) => React.ReactNode;
46
+ renderEdit?: (row: T, actions: DataTableEditActions) => React.ReactNode;
36
47
  /**
37
48
  * Freezes the column at the start of the grid while the rest scroll horizontally. For a
38
49
  * comparison matrix — one product across thirty-four branches — where the row is unreadable
@@ -168,5 +179,4 @@ export interface DataTableProps<T extends {
168
179
  }
169
180
  export declare function DataTable<T extends {
170
181
  id: string | number;
171
- }>({ columns, rows, density, selectable, selected, onSelectionChange, hideSelectAll, sort, onSortChange, onRowAction, stickyHeader, emptyLabel, isLoading, loadingRowCount, loadingLabel, footer, rowProps, renderExpanded, expandedIds, editingRowId, pendingRow, onCommitRow, onCancelRow, className, style, ...rest }: DataTableProps<T>): React.JSX.Element;
172
- //# sourceMappingURL=DataTable.d.ts.map
182
+ }>({ columns, rows, density, selectable, selected, onSelectionChange, hideSelectAll, sort, onSortChange, onRowAction, stickyHeader, emptyLabel, isLoading, loadingRowCount, loadingLabel, footer, rowProps, renderExpanded, expandedIds, editingRowId, pendingRow, onCommitRow, onCancelRow, className, style, 'aria-label': ariaLabel, }: DataTableProps<T>): React.JSX.Element;
@@ -19,4 +19,3 @@ export interface DescriptionListProps extends React.HTMLAttributes<HTMLDListElem
19
19
  /** Key/value readout: order totals, stock figures, master-data summaries. Replaces the hand-rolled
20
20
  * <dl> that every ERP screen used to carry. */
21
21
  export declare function DescriptionList({ items, layout, columns, className, style, ...rest }: DescriptionListProps): React.JSX.Element;
22
- //# sourceMappingURL=DescriptionList.d.ts.map
@@ -23,4 +23,4 @@ export interface DonutChartProps extends ChartBaseProps {
23
23
  * series, and its categories are what need telling apart. Pass exactly one series; anything after
24
24
  * the first is ignored, with a dev warning.
25
25
  */
26
- export declare function DonutChart({ categories, series, title, description, formatValue, height, emptyState, showDataTable, centerLabel, centerCaption, thickness, className, style, ...rest }: DonutChartProps): React.JSX.Element;
26
+ export declare function DonutChart({ categories, series, title, description, formatValue, height, emptyState, showDataTable, centerLabel, centerCaption, thickness, className, style, 'aria-label': label, }: DonutChartProps): React.JSX.Element;
@@ -23,5 +23,4 @@ export interface DonutChartProps extends ChartBaseProps {
23
23
  * series, and its categories are what need telling apart. Pass exactly one series; anything after
24
24
  * the first is ignored, with a dev warning.
25
25
  */
26
- export declare function DonutChart({ categories, series, title, description, formatValue, height, emptyState, showDataTable, centerLabel, centerCaption, thickness, className, style, ...rest }: DonutChartProps): React.JSX.Element;
27
- //# sourceMappingURL=DonutChart.d.ts.map
26
+ export declare function DonutChart({ categories, series, title, description, formatValue, height, emptyState, showDataTable, centerLabel, centerCaption, thickness, className, style, 'aria-label': label, }: DonutChartProps): React.JSX.Element;
@@ -23,4 +23,3 @@ export interface FilterBarProps extends React.HTMLAttributes<HTMLElement> {
23
23
  'aria-label'?: string;
24
24
  }
25
25
  export declare function FilterBar({ children, activeFilters, onRemoveFilter, onClear, onGo, resultLabel, actions, goLabel, clearAllLabel, className, ...rest }: FilterBarProps): React.JSX.Element;
26
- //# sourceMappingURL=FilterBar.d.ts.map
@@ -21,4 +21,3 @@ export interface KpiTileProps {
21
21
  style?: React.CSSProperties;
22
22
  }
23
23
  export declare function KpiTile({ label, value, unit, delta, deltaDirection, deltaTone, footnote, icon, status, onPress, className, style, }: KpiTileProps): React.JSX.Element;
24
- //# sourceMappingURL=KpiTile.d.ts.map
@@ -26,4 +26,4 @@ export interface LineChartProps extends ChartBaseProps {
26
26
  * to fit stretches the type and turns markers into ellipses. Gaps in a series break the line
27
27
  * instead of interpolating across them — a missing month is not a straight line through it.
28
28
  */
29
- export declare function LineChart({ categories, series: rawSeries, title, description, formatValue, height, emptyState, showDataTable, showArea, showMarkers, zoomToData, className, style, ...rest }: LineChartProps): React.JSX.Element;
29
+ export declare function LineChart({ categories, series: rawSeries, title, description, formatValue, height, emptyState, showDataTable, showArea, showMarkers, zoomToData, className, style, 'aria-label': label, }: LineChartProps): React.JSX.Element;
@@ -26,5 +26,4 @@ export interface LineChartProps extends ChartBaseProps {
26
26
  * to fit stretches the type and turns markers into ellipses. Gaps in a series break the line
27
27
  * instead of interpolating across them — a missing month is not a straight line through it.
28
28
  */
29
- export declare function LineChart({ categories, series: rawSeries, title, description, formatValue, height, emptyState, showDataTable, showArea, showMarkers, zoomToData, className, style, ...rest }: LineChartProps): React.JSX.Element;
30
- //# sourceMappingURL=LineChart.d.ts.map
29
+ export declare function LineChart({ categories, series: rawSeries, title, description, formatValue, height, emptyState, showDataTable, showArea, showMarkers, zoomToData, className, style, 'aria-label': label, }: LineChartProps): React.JSX.Element;
@@ -25,4 +25,3 @@ export interface LinkListProps extends Omit<React.HTMLAttributes<HTMLDivElement>
25
25
  }
26
26
  /** Compact list of records that navigate somewhere: recently viewed, related documents, shortcuts. */
27
27
  export declare function LinkList({ items, onSelect, emphasis, className, ...rest }: LinkListProps): React.JSX.Element;
28
- //# sourceMappingURL=LinkList.d.ts.map
@@ -19,4 +19,3 @@ export interface ObjectHeaderProps extends Omit<React.HTMLAttributes<HTMLElement
19
19
  }
20
20
  /** The identity block at the top of any object page: who this record is, its state, its key figures. */
21
21
  export declare function ObjectHeader({ title, subtitle, id, breadcrumb, badge, facts, actions, className, ...rest }: ObjectHeaderProps): React.JSX.Element;
22
- //# sourceMappingURL=ObjectHeader.d.ts.map
@@ -26,4 +26,3 @@ export interface RecordCardProps extends Omit<React.HTMLAttributes<HTMLDivElemen
26
26
  * chooses one.
27
27
  */
28
28
  export declare function RecordCard({ title, subtitle, icon, action, isDisabled, className, ...rest }: RecordCardProps): React.JSX.Element;
29
- //# sourceMappingURL=RecordCard.d.ts.map
@@ -14,4 +14,3 @@ export interface TimelineProps extends React.HTMLAttributes<HTMLOListElement> {
14
14
  }
15
15
  /** Document history and audit trail: what happened, when, and who did it. */
16
16
  export declare function Timeline({ entries, reverse, className, ...rest }: TimelineProps): React.JSX.Element;
17
- //# sourceMappingURL=Timeline.d.ts.map
@@ -30,4 +30,3 @@ export interface ViewSwitcherProps {
30
30
  * Sits in a toolbar row, or in `Ribbon`'s `leading` slot when the ribbon is collapsed.
31
31
  */
32
32
  export declare function ViewSwitcher({ name, isDirty, icon, onPress, isDisabled, 'aria-label': ariaLabel, className, style, }: ViewSwitcherProps): React.JSX.Element;
33
- //# sourceMappingURL=ViewSwitcher.d.ts.map
@@ -65,4 +65,3 @@ export declare function flatValues(series: ChartSeries[]): (number | null)[];
65
65
  * end already yields `undefined`, which every call site treats as a gap.
66
66
  */
67
67
  export declare function alignToCategories(series: ChartSeries[], categoryCount: number): ChartSeries[];
68
- //# sourceMappingURL=chartGeometry.d.ts.map
@@ -12,6 +12,17 @@ export declare function DialogDescription({ children, className }: DialogSlotPro
12
12
  export declare function DialogBody({ children, className }: DialogSlotProps): React.JSX.Element;
13
13
  /** The action row. Cancel first, the commit or destructive action last. */
14
14
  export declare function DialogActions({ children, className }: DialogSlotProps): React.JSX.Element;
15
+ /**
16
+ * The title block and close button at the top of `Dialog` and `SidePanel`. Not exported from the
17
+ * package: `DialogTitle` / `DialogDescription` are the public way to fill it.
18
+ */
19
+ export declare function DialogHeader({ heading, description, closeLabel, onClose, }: {
20
+ heading?: React.ReactNode;
21
+ description?: React.ReactNode;
22
+ /** Omit to draw no close button. */
23
+ closeLabel?: string;
24
+ onClose?: () => void;
25
+ }): React.JSX.Element;
15
26
  export interface DialogProps {
16
27
  isOpen?: boolean;
17
28
  onOpenChange?: (open: boolean) => void;
@@ -12,6 +12,17 @@ export declare function DialogDescription({ children, className }: DialogSlotPro
12
12
  export declare function DialogBody({ children, className }: DialogSlotProps): React.JSX.Element;
13
13
  /** The action row. Cancel first, the commit or destructive action last. */
14
14
  export declare function DialogActions({ children, className }: DialogSlotProps): React.JSX.Element;
15
+ /**
16
+ * The title block and close button at the top of `Dialog` and `SidePanel`. Not exported from the
17
+ * package: `DialogTitle` / `DialogDescription` are the public way to fill it.
18
+ */
19
+ export declare function DialogHeader({ heading, description, closeLabel, onClose, }: {
20
+ heading?: React.ReactNode;
21
+ description?: React.ReactNode;
22
+ /** Omit to draw no close button. */
23
+ closeLabel?: string;
24
+ onClose?: () => void;
25
+ }): React.JSX.Element;
15
26
  export interface DialogProps {
16
27
  isOpen?: boolean;
17
28
  onOpenChange?: (open: boolean) => void;
@@ -32,4 +43,3 @@ export interface DialogProps {
32
43
  /** Modal dialog. Focus is trapped, the page behind is inert, and Esc closes unless
33
44
  * isDismissable is false — all handled by React Aria. */
34
45
  export declare function Dialog({ isOpen, onOpenChange, title, subtitle, children, footer, onClose, size, isDismissable, showClose, className, style, }: DialogProps): React.JSX.Element;
35
- //# sourceMappingURL=Dialog.d.ts.map
@@ -1,5 +1,7 @@
1
1
  import type * as React from 'react';
2
2
  export type MessageKind = 'info' | 'success' | 'warning' | 'error';
3
+ /** The glyph for each kind, shared with `Toast` so a kind looks the same wherever it appears. */
4
+ export declare const MESSAGE_KIND_ICON: Record<MessageKind, string>;
3
5
  export interface InlineMessageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
4
6
  kind?: MessageKind;
5
7
  /** Message heading. Rich content, not the DOM title/tooltip attribute. */
@@ -1,5 +1,7 @@
1
1
  import type * as React from 'react';
2
2
  export type MessageKind = 'info' | 'success' | 'warning' | 'error';
3
+ /** The glyph for each kind, shared with `Toast` so a kind looks the same wherever it appears. */
4
+ export declare const MESSAGE_KIND_ICON: Record<MessageKind, string>;
3
5
  export interface InlineMessageProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
4
6
  kind?: MessageKind;
5
7
  /** Message heading. Rich content, not the DOM title/tooltip attribute. */
@@ -11,4 +13,3 @@ export interface InlineMessageProps extends Omit<React.HTMLAttributes<HTMLDivEle
11
13
  }
12
14
  /** In-page message tied to a region or form. Errors and warnings announce themselves. */
13
15
  export declare function InlineMessage({ kind, title, action, onClose, children, className, ...rest }: InlineMessageProps): React.JSX.Element;
14
- //# sourceMappingURL=InlineMessage.d.ts.map
@@ -10,7 +10,11 @@ export interface ProgressBarProps {
10
10
  /** Colours the fill — e.g. negative when a budget is overrun. */
11
11
  status?: 'informative' | 'positive' | 'critical' | 'negative';
12
12
  size?: 'sm' | 'md';
13
+ /** Names a bar with no visible `label` — one in a table cell, say. Prefer `label` where it fits. */
14
+ 'aria-label'?: string;
15
+ /** Names the bar from text already on screen, such as the row's own first cell. */
16
+ 'aria-labelledby'?: string;
13
17
  className?: string;
14
18
  style?: React.CSSProperties;
15
19
  }
16
- export declare function ProgressBar({ value, minValue, maxValue, label, showValue, isIndeterminate, status, size, className, style, }: ProgressBarProps): React.JSX.Element;
20
+ export declare function ProgressBar({ value, minValue, maxValue, label, showValue, isIndeterminate, status, size, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, className, style, }: ProgressBarProps): React.JSX.Element;
@@ -10,8 +10,11 @@ export interface ProgressBarProps {
10
10
  /** Colours the fill — e.g. negative when a budget is overrun. */
11
11
  status?: 'informative' | 'positive' | 'critical' | 'negative';
12
12
  size?: 'sm' | 'md';
13
+ /** Names a bar with no visible `label` — one in a table cell, say. Prefer `label` where it fits. */
14
+ 'aria-label'?: string;
15
+ /** Names the bar from text already on screen, such as the row's own first cell. */
16
+ 'aria-labelledby'?: string;
13
17
  className?: string;
14
18
  style?: React.CSSProperties;
15
19
  }
16
- export declare function ProgressBar({ value, minValue, maxValue, label, showValue, isIndeterminate, status, size, className, style, }: ProgressBarProps): React.JSX.Element;
17
- //# sourceMappingURL=ProgressBar.d.ts.map
20
+ export declare function ProgressBar({ value, minValue, maxValue, label, showValue, isIndeterminate, status, size, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, className, style, }: ProgressBarProps): React.JSX.Element;
@@ -41,4 +41,3 @@ export interface SkeletonTableRowProps extends Omit<React.HTMLAttributes<HTMLDiv
41
41
  * collection from `rows`, and React Aria's table owns everything under it. Use it in place of
42
42
  * the table, not inside one. */
43
43
  export declare function SkeletonTableRow({ columns, density, className, style, ...rest }: SkeletonTableRowProps): React.JSX.Element;
44
- //# sourceMappingURL=Skeleton.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { MessageKind } from './InlineMessage.cjs';
2
+ import { type MessageKind } from './InlineMessage.cjs';
3
3
  export interface ToastProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  kind?: MessageKind;
5
5
  onClose?: () => void;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { MessageKind } from './InlineMessage.js';
2
+ import { type MessageKind } from './InlineMessage.js';
3
3
  export interface ToastProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  kind?: MessageKind;
5
5
  onClose?: () => void;
@@ -26,4 +26,3 @@ export declare function ToastProvider({ children, timeout, }: {
26
26
  /** `const toast = useToast(); toast.add({ kind: 'success', message: 'Order 4500012 released.' })` */
27
27
  export declare function useToast(): ToastContextValue;
28
28
  export {};
29
- //# sourceMappingURL=Toast.d.ts.map
@@ -39,4 +39,3 @@ export interface TooltipProps {
39
39
  * Never put an instruction here that is not available elsewhere: there is no hover on touch.
40
40
  */
41
41
  export declare function Tooltip({ label, placement, delay, children }: TooltipProps): React.JSX.Element;
42
- //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The month header (previous / title / next) and day grid, shared by `DatePicker`'s `Calendar`
3
+ * and `DateRangePicker`'s `RangeCalendar`. Both read the same calendar context, so the markup is
4
+ * identical; only the wrapping calendar differs.
5
+ */
6
+ export declare function CalendarMonth(): import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The month header (previous / title / next) and day grid, shared by `DatePicker`'s `Calendar`
3
+ * and `DateRangePicker`'s `RangeCalendar`. Both read the same calendar context, so the markup is
4
+ * identical; only the wrapping calendar differs.
5
+ */
6
+ export declare function CalendarMonth(): import("react").JSX.Element;
@@ -7,4 +7,3 @@ export interface CheckboxProps extends Omit<AriaCheckboxProps, 'className' | 'ch
7
7
  className?: string;
8
8
  }
9
9
  export declare function Checkbox({ label, hint, children, className, ...rest }: CheckboxProps): React.JSX.Element;
10
- //# sourceMappingURL=Checkbox.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import type * as React from 'react';
2
+ import type { WithFieldHelp } from './FieldHelp.cjs';
2
3
  export interface ChoiceCardOption {
3
4
  id: string;
4
5
  label: React.ReactNode;
@@ -12,7 +13,7 @@ export interface ChoiceCardOption {
12
13
  * support. Still shown, so the user knows the choice exists — just not right now. */
13
14
  isDisabled?: boolean;
14
15
  }
15
- export interface ChoiceCardGroupProps {
16
+ export interface ChoiceCardGroupProps extends WithFieldHelp {
16
17
  /** Names the choice for assistive tech, e.g. "Count scope". Required when `label` is omitted. */
17
18
  'aria-label'?: string;
18
19
  /** Visible group label. Use when the choice needs a heading of its own on the page; fall back
@@ -22,16 +23,6 @@ export interface ChoiceCardGroupProps {
22
23
  /** Guidance that applies to the group as a whole, below the cards — not a per-option detail,
23
24
  * which belongs in that option's `description`. */
24
25
  description?: React.ReactNode;
25
- /**
26
- * Contextual explanation, shown as a help icon beside the label and announced as part of the
27
- * field's description. For the sentence a user needs *occasionally* — `description` is for the
28
- * one they need every time, and it costs a line of vertical space in every row.
29
- *
30
- * Needs a visible `label`: the icon is drawn beside one, so on a field named only by
31
- * `aria-label` the text still reaches a screen reader through the description but no icon
32
- * appears. Pire warns in development rather than drawing an icon with nothing to anchor it to.
33
- */
34
- help?: React.ReactNode;
35
26
  /** Shown when `isRequired` and nothing has been chosen at validation time. */
36
27
  errorMessage?: React.ReactNode;
37
28
  options: ChoiceCardOption[];
@@ -57,4 +48,4 @@ export interface ChoiceCardGroupProps {
57
48
  * posting mode. Use it when the choice deserves a sentence; use `Radio` when the label is enough
58
49
  * and `SegmentedControl` when the options only change how data is displayed.
59
50
  */
60
- export declare function ChoiceCardGroup({ label, description, help, errorMessage, options, value, defaultValue, onChange, columns, isDisabled, isRequired, className, style, ...rest }: ChoiceCardGroupProps): React.JSX.Element;
51
+ export declare function ChoiceCardGroup({ label, description, help, errorMessage, options, value, defaultValue, onChange, columns, isDisabled, isRequired, className, style, 'aria-label': ariaLabel, }: ChoiceCardGroupProps): React.JSX.Element;