@orianatech/pire 2.1.0 → 2.2.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 +9 -3
  28. package/dist/components/data/DataTable.d.ts +9 -4
  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.cts +1 -1
  40. package/dist/components/data/Timeline.d.ts +1 -2
  41. package/dist/components/data/ViewSwitcher.d.ts +0 -1
  42. package/dist/components/data/chartGeometry.d.ts +0 -1
  43. package/dist/components/feedback/Dialog.d.cts +11 -0
  44. package/dist/components/feedback/Dialog.d.ts +11 -1
  45. package/dist/components/feedback/InlineMessage.d.cts +2 -0
  46. package/dist/components/feedback/InlineMessage.d.ts +2 -1
  47. package/dist/components/feedback/ProgressBar.d.ts +0 -1
  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 +23 -0
  69. package/dist/components/forms/FieldHelp.d.ts +23 -1
  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 +40 -1
  73. package/dist/components/forms/FileUpload.d.ts +40 -2
  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 +3 -14
  87. package/dist/components/forms/TextArea.d.ts +3 -15
  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.ts +0 -1
  95. package/dist/components/layout/SectionHeader.d.ts +0 -1
  96. package/dist/components/layout/SelectionBar.d.cts +1 -2
  97. package/dist/components/layout/SelectionBar.d.ts +1 -3
  98. package/dist/components/layout/SplitPane.d.ts +0 -1
  99. package/dist/components/navigation/Breadcrumb.d.ts +0 -1
  100. package/dist/components/navigation/Menu.d.ts +0 -1
  101. package/dist/components/navigation/Pagination.d.ts +0 -1
  102. package/dist/components/navigation/Ribbon.d.cts +1 -1
  103. package/dist/components/navigation/Ribbon.d.ts +1 -2
  104. package/dist/components/navigation/ShellBar.d.cts +2 -5
  105. package/dist/components/navigation/ShellBar.d.ts +2 -6
  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.cts +11 -0
  131. package/dist/components/utils/useLoadMoreOnScroll.d.ts +11 -0
  132. package/dist/components.css +145 -87
  133. package/dist/i18n/PireIntlProvider.d.ts +0 -1
  134. package/dist/i18n/messages.d.cts +18 -0
  135. package/dist/i18n/messages.d.ts +18 -1
  136. package/dist/index.cjs +1615 -1514
  137. package/dist/index.cjs.map +1 -1
  138. package/dist/index.d.ts +0 -1
  139. package/dist/index.js +1527 -1449
  140. package/dist/index.js.map +1 -1
  141. package/dist/tokens/base.css +2 -5
  142. package/dist/tokens/colors.css +14 -8
  143. package/dist/tokens/elevation.css +15 -0
  144. package/dist/tokens/themes.css +7 -12
  145. package/package.json +1 -1
  146. package/dist/components/core/Avatar.d.ts.map +0 -1
  147. package/dist/components/core/Badge.d.ts.map +0 -1
  148. package/dist/components/core/Button.d.ts.map +0 -1
  149. package/dist/components/core/Card.d.ts.map +0 -1
  150. package/dist/components/core/ComingSoonMark.d.ts.map +0 -1
  151. package/dist/components/core/Heading.d.ts.map +0 -1
  152. package/dist/components/core/Icon.d.ts.map +0 -1
  153. package/dist/components/core/IconButton.d.ts.map +0 -1
  154. package/dist/components/core/Kbd.d.ts.map +0 -1
  155. package/dist/components/core/Link.d.ts.map +0 -1
  156. package/dist/components/core/SegmentedControl.d.ts.map +0 -1
  157. package/dist/components/core/Separator.d.ts.map +0 -1
  158. package/dist/components/core/Tag.d.ts.map +0 -1
  159. package/dist/components/core/Text.d.ts.map +0 -1
  160. package/dist/components/core/icon-data.generated.d.ts.map +0 -1
  161. package/dist/components/core/icon-map.d.ts.map +0 -1
  162. package/dist/components/data/BarChart.d.ts.map +0 -1
  163. package/dist/components/data/BarList.d.ts.map +0 -1
  164. package/dist/components/data/ChartFrame.d.ts.map +0 -1
  165. package/dist/components/data/DataTable.d.ts.map +0 -1
  166. package/dist/components/data/DescriptionList.d.ts.map +0 -1
  167. package/dist/components/data/DonutChart.d.ts.map +0 -1
  168. package/dist/components/data/FilterBar.d.ts.map +0 -1
  169. package/dist/components/data/KpiTile.d.ts.map +0 -1
  170. package/dist/components/data/LineChart.d.ts.map +0 -1
  171. package/dist/components/data/LinkList.d.ts.map +0 -1
  172. package/dist/components/data/ObjectHeader.d.ts.map +0 -1
  173. package/dist/components/data/RecordCard.d.ts.map +0 -1
  174. package/dist/components/data/Timeline.d.ts.map +0 -1
  175. package/dist/components/data/ViewSwitcher.d.ts.map +0 -1
  176. package/dist/components/data/chartGeometry.d.ts.map +0 -1
  177. package/dist/components/feedback/Dialog.d.ts.map +0 -1
  178. package/dist/components/feedback/InlineMessage.d.ts.map +0 -1
  179. package/dist/components/feedback/ProgressBar.d.ts.map +0 -1
  180. package/dist/components/feedback/Skeleton.d.ts.map +0 -1
  181. package/dist/components/feedback/Toast.d.ts.map +0 -1
  182. package/dist/components/feedback/Tooltip.d.ts.map +0 -1
  183. package/dist/components/forms/Checkbox.d.ts.map +0 -1
  184. package/dist/components/forms/ChoiceCardGroup.d.ts.map +0 -1
  185. package/dist/components/forms/ComboBox.d.ts.map +0 -1
  186. package/dist/components/forms/DatePicker.d.ts.map +0 -1
  187. package/dist/components/forms/DateRangePicker.d.ts.map +0 -1
  188. package/dist/components/forms/FieldDescription.d.ts.map +0 -1
  189. package/dist/components/forms/FieldHelp.d.ts.map +0 -1
  190. package/dist/components/forms/FieldLabel.d.ts.map +0 -1
  191. package/dist/components/forms/FileUpload.d.ts.map +0 -1
  192. package/dist/components/forms/FormField.d.ts.map +0 -1
  193. package/dist/components/forms/Input.d.ts.map +0 -1
  194. package/dist/components/forms/MultiComboBox.d.ts.map +0 -1
  195. package/dist/components/forms/NumberField.d.ts.map +0 -1
  196. package/dist/components/forms/QuantityStepper.d.ts.map +0 -1
  197. package/dist/components/forms/Radio.d.ts.map +0 -1
  198. package/dist/components/forms/Select.d.ts.map +0 -1
  199. package/dist/components/forms/Switch.d.ts.map +0 -1
  200. package/dist/components/forms/TextArea.d.ts.map +0 -1
  201. package/dist/components/forms/ValueHelpField.d.ts.map +0 -1
  202. package/dist/components/forms/dateValues.d.ts.map +0 -1
  203. package/dist/components/layout/FooterBar.d.ts.map +0 -1
  204. package/dist/components/layout/PageBand.d.ts.map +0 -1
  205. package/dist/components/layout/PageHeader.d.ts.map +0 -1
  206. package/dist/components/layout/SectionHeader.d.ts.map +0 -1
  207. package/dist/components/layout/SelectionBar.d.ts.map +0 -1
  208. package/dist/components/layout/SplitPane.d.ts.map +0 -1
  209. package/dist/components/navigation/Breadcrumb.d.ts.map +0 -1
  210. package/dist/components/navigation/Menu.d.ts.map +0 -1
  211. package/dist/components/navigation/Pagination.d.ts.map +0 -1
  212. package/dist/components/navigation/Ribbon.d.ts.map +0 -1
  213. package/dist/components/navigation/ShellBar.d.ts.map +0 -1
  214. package/dist/components/navigation/ShellRail.d.ts.map +0 -1
  215. package/dist/components/navigation/SideNav.d.ts.map +0 -1
  216. package/dist/components/navigation/Tabs.d.ts.map +0 -1
  217. package/dist/components/patterns/AppLauncher.d.ts.map +0 -1
  218. package/dist/components/patterns/CommandPalette.d.ts.map +0 -1
  219. package/dist/components/patterns/ConfirmDialog.d.ts.map +0 -1
  220. package/dist/components/patterns/EmptyState.d.ts.map +0 -1
  221. package/dist/components/patterns/FileDropZone.d.ts.map +0 -1
  222. package/dist/components/patterns/NumPad.d.ts.map +0 -1
  223. package/dist/components/patterns/SidePanel.d.ts.map +0 -1
  224. package/dist/components/patterns/ValueHelpDialog.d.ts.map +0 -1
  225. package/dist/components/utils/cx.d.ts.map +0 -1
  226. package/dist/components/utils/decimalSeparator.d.ts.map +0 -1
  227. package/dist/components/utils/devWarn.d.ts.map +0 -1
  228. package/dist/components/utils/focusField.d.cts +0 -11
  229. package/dist/components/utils/focusField.d.ts +0 -12
  230. package/dist/components/utils/focusField.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
@@ -4,8 +4,6 @@
4
4
  and keyboard behave identically. Every value is a token. */
5
5
 
6
6
  /* ---- focus ---------------------------------------------------------- */
7
- .pire [data-focus-visible],
8
- .pire[data-focus-visible],
9
7
  .pire-focusable[data-focus-visible] {
10
8
  outline: var(--focus-w) solid var(--focus-color);
11
9
  outline-offset: var(--focus-offset);
@@ -18,13 +16,8 @@
18
16
  contract with it. `styles.css.test.ts` enforces that. */
19
17
  /* Announced but not drawn. Clip rather than display:none or visibility:hidden, both of which
20
18
  remove the node from the accessibility tree along with the pixels.
21
- Every declaration is `!important` because this is a utility, not a component: its whole
22
- contract is "this takes up no room", and a one-class utility declared near the top of the file
23
- loses every tie to a one-class component rule declared below it. That is not theoretical —
24
- `DataTable`'s hidden column header carried `.pire-th-inner` too, took its `width:100%` while
25
- staying `position:absolute`, and stretched the document ~870px past the viewport with nothing
26
- on screen to show for it. Bootstrap's `.visually-hidden` is marked the same way, for the same
27
- reason. */
19
+ `!important` so no one-class component rule declared below can win a tie — never pair it with
20
+ another pire-* class (see CLAUDE.md and styles.css.test.ts). */
28
21
  /* biome-ignore-start lint/complexity/noImportantStyles: order-independence is the point — see above. */
29
22
  .pire-sr-only {
30
23
  position: absolute !important;
@@ -37,18 +30,13 @@
37
30
  white-space: nowrap !important;
38
31
  border: 0 !important;
39
32
  }
40
- /* biome-ignore-end lint/complexity/noImportantStyles: order-independence is the point — see above. */
41
- .pire-numeric {
42
- font: var(--type-numeric);
43
- letter-spacing: var(--ls-numeric);
44
- font-variant-numeric: tabular-nums;
33
+ .pire-th-sort-icon {
34
+ color: var(--text-tertiary);
45
35
  }
46
- .pire-eyebrow {
47
- font: var(--type-label);
48
- letter-spacing: var(--ls-caps);
49
- text-transform: uppercase;
50
- color: var(--text-secondary);
36
+ .pire-th-sort-icon[data-active="true"] {
37
+ color: var(--accent-subtle-fg);
51
38
  }
39
+ /* biome-ignore-end lint/complexity/noImportantStyles: order-independence is the point — see above. */
52
40
  @keyframes pire-toast-in {
53
41
  from {
54
42
  opacity: 0;
@@ -126,7 +114,7 @@
126
114
  background: var(--accent-subtle-bg);
127
115
  }
128
116
  .pire-btn[data-variant="secondary"][data-pressed] {
129
- background: var(--blue-20);
117
+ background: var(--accent-subtle-bg-active);
130
118
  }
131
119
  .pire-btn[data-variant="tertiary"] {
132
120
  background: transparent;
@@ -156,8 +144,8 @@
156
144
  border-color: var(--surface-shell);
157
145
  }
158
146
  .pire-btn[data-variant="emphasized"][data-hovered] {
159
- background: var(--blue-80);
160
- border-color: var(--blue-80);
147
+ background: var(--surface-emphasized-hover);
148
+ border-color: var(--surface-emphasized-hover);
161
149
  }
162
150
  .pire-btn[data-disabled] {
163
151
  background: var(--surface-disabled);
@@ -219,6 +207,16 @@
219
207
  width: var(--control-h-lg);
220
208
  height: var(--control-h-lg);
221
209
  }
210
+ /* Triggers that sit inside a field's control row, smaller than any standalone icon button: they
211
+ share the input's height rather than adding their own. Two classes so they win over `data-size`. */
212
+ .pire-iconbtn.pire-field-trigger {
213
+ width: var(--sp-6);
214
+ height: var(--sp-6);
215
+ }
216
+ .pire-iconbtn.pire-field-trigger[data-size="xs"] {
217
+ width: var(--sp-5);
218
+ height: var(--sp-5);
219
+ }
222
220
  .pire-iconbtn[data-hovered] {
223
221
  background: var(--surface-hover);
224
222
  color: var(--text-primary);
@@ -358,8 +356,13 @@
358
356
  .pire-card[data-interactive="true"] {
359
357
  cursor: pointer;
360
358
  }
361
- .pire-card[data-interactive="true"]:hover {
362
- box-shadow: var(--shadow-2);
359
+ /* `:hover` because a Card is a plain section with no React Aria hover state to read, but gated on a
360
+ real hover pointer: a tap on touch would otherwise leave the raised shadow stuck on, which is the
361
+ touch/mouse divergence the data-attribute rule exists to prevent. */
362
+ @media (hover: hover) {
363
+ .pire-card[data-interactive="true"]:hover {
364
+ box-shadow: var(--shadow-2);
365
+ }
363
366
  }
364
367
  .pire-card-head {
365
368
  display: flex;
@@ -368,6 +371,17 @@
368
371
  padding: var(--sp-4);
369
372
  border-bottom: 1px solid var(--border-subtle);
370
373
  }
374
+ .pire-card-icon {
375
+ color: var(--text-secondary);
376
+ }
377
+ .pire-card-heading {
378
+ flex: 1;
379
+ min-width: 0;
380
+ }
381
+ .pire-card-actions {
382
+ display: flex;
383
+ gap: var(--sp-1);
384
+ }
371
385
  .pire-card-title {
372
386
  font: var(--type-h4);
373
387
  letter-spacing: var(--ls-heading);
@@ -375,6 +389,7 @@
375
389
  .pire-card-sub {
376
390
  font: var(--type-caption);
377
391
  color: var(--text-secondary);
392
+ margin: 0;
378
393
  }
379
394
  .pire-card-body {
380
395
  padding: var(--sp-4);
@@ -537,7 +552,7 @@
537
552
  is a separate target inside it, so it keeps its own. */
538
553
  .pire-input-clear[data-focus-visible] {
539
554
  outline: var(--focus-w) solid var(--focus-color);
540
- outline-offset: 1px;
555
+ outline-offset: var(--focus-offset);
541
556
  }
542
557
  .pire-leading-icon {
543
558
  color: var(--text-tertiary);
@@ -731,7 +746,7 @@
731
746
  width: 36px;
732
747
  height: 20px;
733
748
  border-radius: var(--radius-pill);
734
- background: var(--gray-40);
749
+ background: var(--surface-switch-off);
735
750
  padding: 2px;
736
751
  transition: background-color var(--dur-fast) var(--ease-standard);
737
752
  }
@@ -740,7 +755,7 @@
740
755
  width: 16px;
741
756
  height: 16px;
742
757
  border-radius: var(--radius-pill);
743
- background: var(--gray-0);
758
+ background: var(--surface-switch-thumb);
744
759
  box-shadow: var(--shadow-1);
745
760
  transition: transform var(--dur-fast) var(--ease-standard);
746
761
  }
@@ -952,10 +967,8 @@
952
967
  align-items: stretch;
953
968
  min-width: 0;
954
969
  }
955
- /* Both modes are a scrolling command region plus a trailing region that never scrolls. Before the
956
- split the toggle was simply the last flex item of an `overflow:hidden` row, so a narrow screen
957
- clipped it away with the last group — and the toggle is the one control that gets an oversized
958
- ribbon out of the way, so the overflow ate the way out of the overflow.
970
+ /* Both modes are a scrolling command region plus a trailing region that never scrolls, so a narrow
971
+ screen can never clip the toggle — the one way back from an oversized ribbon.
959
972
  `overflow-y:hidden` because a horizontal scroller reports a stray vertical overflow often
960
973
  enough to draw a second scrollbar; nothing is clipped by it, since every focus ring in here is
961
974
  inset (`outline-offset` is negative on both the command and the toggle). */
@@ -1296,7 +1309,7 @@
1296
1309
  width: 28px;
1297
1310
  height: 28px;
1298
1311
  border-radius: var(--radius-1);
1299
- background: var(--gray-0);
1312
+ background: var(--surface-shell-mono);
1300
1313
  color: var(--surface-shell);
1301
1314
  font: var(--type-label);
1302
1315
  letter-spacing: var(--ls-caps);
@@ -1365,7 +1378,7 @@
1365
1378
  width: 28px;
1366
1379
  height: 28px;
1367
1380
  border-radius: var(--radius-pill);
1368
- background: var(--blue-60);
1381
+ background: var(--surface-avatar);
1369
1382
  color: var(--text-inverse);
1370
1383
  font: var(--type-label);
1371
1384
  }
@@ -1379,23 +1392,18 @@
1379
1392
  transition: var(--transition-control);
1380
1393
  }
1381
1394
  .pire-avatar-trigger[data-hovered] {
1382
- background: var(--blue-50);
1395
+ background: var(--surface-avatar-hover);
1383
1396
  }
1384
1397
  .pire-avatar-trigger[data-pressed] {
1385
- background: var(--blue-70);
1398
+ background: var(--surface-avatar-pressed);
1386
1399
  }
1387
1400
  .pire-avatar-trigger[data-focus-visible] {
1388
1401
  outline: var(--focus-w) solid var(--text-inverse);
1389
- outline-offset: 2px;
1390
- }
1391
- /* `max-width:100%` so the nav can be embedded somewhere narrower than `--sidenav-w` — the POS uses
1392
- it as a category list in a 200px grid track, where the fixed 256px overflowed by 56. Nothing
1393
- looked broken: the containing element scrolled on its own axis, so the excess went off-frame
1394
- with no scrollbar, and what people saw was that `.pire-sidenav-count` — pushed to the item's
1395
- right edge, 240px in — had nothing to draw on. Twenty invisible counters read as "this component
1396
- has no counters". Overriding `--sidenav-w` from an ancestor is not the answer: it duplicates a
1397
- number that lives in the parent's own `grid-template-columns`, and a 1px parent border means the
1398
- two still disagree. In the shell this does not bite, because there the parent is wider. */
1402
+ outline-offset: var(--focus-offset-wide);
1403
+ }
1404
+ /* `max-width:100%` so the nav fits a parent narrower than `--sidenav-w` (a 200px grid track, say),
1405
+ where the overflow would hide off-frame and take the right-aligned counts with it. Overriding
1406
+ `--sidenav-w` from an ancestor would duplicate the parent's own track width instead. */
1399
1407
  .pire-sidenav {
1400
1408
  display: flex;
1401
1409
  flex-direction: column;
@@ -1563,7 +1571,7 @@
1563
1571
  }
1564
1572
  .pire-shellrail-item[data-focus-visible] {
1565
1573
  outline: var(--focus-w) solid var(--text-inverse);
1566
- outline-offset: -3px;
1574
+ outline-offset: var(--focus-offset-inset);
1567
1575
  }
1568
1576
  .pire-shellrail-item[data-selected="true"] {
1569
1577
  color: var(--text-inverse);
@@ -1617,7 +1625,7 @@
1617
1625
  }
1618
1626
  .pire-launcher-trigger[data-focus-visible] {
1619
1627
  outline: var(--focus-w) solid var(--text-inverse);
1620
- outline-offset: -3px;
1628
+ outline-offset: var(--focus-offset-inset);
1621
1629
  }
1622
1630
  /* Its own popover shell rather than `.pire-popover`, which caps at 320px tall and sizes itself from
1623
1631
  the trigger — correct for a menu hanging off a field, wrong for a 560px catalogue hanging off a
@@ -1679,11 +1687,7 @@
1679
1687
  /* `min-width:0` is what keeps the grid inside the panel. `1fr` is `minmax(auto, 1fr)`, and that
1680
1688
  `auto` is this item's min-content — which includes a `white-space:nowrap` description, so a track
1681
1689
  could not shrink below a whole sentence. With a long description in *both* columns the tracks
1682
- computed to 575px inside a 528px box and the right-hand card ran past the panel; the declared
1683
- `text-overflow:ellipsis` never fired, because the description measured exactly its own text and
1684
- an ancestor was doing the clipping. No ellipsis reads as "the copy is like that", not as
1685
- "there is more", which is why this survived so long. The sibling rule on
1686
- `.pire-launcher-item-text` already had this; it was one level too far in to define the track. */
1690
+ overflowed the panel and the ellipsis never fired, because an ancestor did the clipping. */
1687
1691
  .pire-launcher-item {
1688
1692
  display: flex;
1689
1693
  align-items: center;
@@ -1759,7 +1763,7 @@
1759
1763
  .pire-modal-overlay {
1760
1764
  position: fixed;
1761
1765
  inset: 0;
1762
- z-index: 900;
1766
+ z-index: var(--z-overlay);
1763
1767
  display: flex;
1764
1768
  align-items: center;
1765
1769
  justify-content: center;
@@ -1800,6 +1804,10 @@
1800
1804
  padding: var(--sp-4) var(--sp-5);
1801
1805
  border-bottom: 1px solid var(--border-subtle);
1802
1806
  }
1807
+ .pire-dialog-heading {
1808
+ flex: 1;
1809
+ min-width: 0;
1810
+ }
1803
1811
  .pire-dialog-title {
1804
1812
  font: var(--type-h3);
1805
1813
  letter-spacing: var(--ls-heading);
@@ -1807,6 +1815,7 @@
1807
1815
  .pire-dialog-sub {
1808
1816
  font: var(--type-caption);
1809
1817
  color: var(--text-secondary);
1818
+ margin: 0;
1810
1819
  }
1811
1820
  .pire-dialog-body {
1812
1821
  padding: var(--sp-5);
@@ -1825,7 +1834,7 @@
1825
1834
  .pire-sidepanel-overlay {
1826
1835
  position: fixed;
1827
1836
  inset: 0;
1828
- z-index: 900;
1837
+ z-index: var(--z-overlay);
1829
1838
  display: flex;
1830
1839
  justify-content: flex-end;
1831
1840
  background: var(--surface-overlay);
@@ -1839,6 +1848,13 @@
1839
1848
  box-shadow: var(--shadow-3);
1840
1849
  outline: none;
1841
1850
  }
1851
+ /* Modal: the dialog fills the panel and the body takes what the header and footer leave. */
1852
+ .pire-sidepanel > .pire-dialog {
1853
+ height: 100%;
1854
+ }
1855
+ .pire-sidepanel .pire-dialog-body {
1856
+ flex: 1;
1857
+ }
1842
1858
  /* Docked: in the flow beside the list, not over it. No scrim, no shadow — it is a column of the
1843
1859
  screen, so it is separated by a rule like any other column. It takes the height of its container
1844
1860
  and scrolls its body, so the header and footer stay put however long the form is. `max-width`
@@ -1907,6 +1923,15 @@
1907
1923
  border-left-color: var(--status-negative-fg);
1908
1924
  color: var(--status-negative-fg);
1909
1925
  }
1926
+ .pire-msg-icon {
1927
+ margin-top: var(--sp-0h);
1928
+ }
1929
+ .pire-msg-content {
1930
+ flex: 1;
1931
+ display: flex;
1932
+ flex-direction: column;
1933
+ gap: var(--sp-1);
1934
+ }
1910
1935
  .pire-msg-title {
1911
1936
  font: var(--type-body-strong);
1912
1937
  }
@@ -1915,14 +1940,14 @@
1915
1940
  }
1916
1941
  .pire-toast {
1917
1942
  position: fixed;
1918
- z-index: 1000;
1943
+ z-index: var(--z-toast);
1919
1944
  bottom: var(--sp-6);
1920
1945
  display: flex;
1921
1946
  align-items: center;
1922
1947
  gap: var(--sp-2);
1923
1948
  padding: var(--sp-3) var(--sp-4);
1924
1949
  border-radius: var(--radius-2);
1925
- background: var(--gray-90);
1950
+ background: var(--surface-inverse);
1926
1951
  color: var(--text-inverse);
1927
1952
  box-shadow: var(--shadow-3);
1928
1953
  font: var(--type-body);
@@ -1937,9 +1962,12 @@
1937
1962
  right: var(--sp-6);
1938
1963
  --pire-toast-tx: 0;
1939
1964
  }
1965
+ .pire-toast-text {
1966
+ flex: 1;
1967
+ }
1940
1968
  .pire-toast-region {
1941
1969
  position: fixed;
1942
- z-index: 1000;
1970
+ z-index: var(--z-toast);
1943
1971
  bottom: var(--sp-6);
1944
1972
  left: 50%;
1945
1973
  transform: translateX(-50%);
@@ -1948,6 +1976,11 @@
1948
1976
  gap: var(--sp-2);
1949
1977
  outline: none;
1950
1978
  }
1979
+ /* Inside the queue the region does the positioning; each toast just stacks in it. */
1980
+ .pire-toast-region > .pire-toast {
1981
+ position: static;
1982
+ transform: none;
1983
+ }
1951
1984
  .pire-progress {
1952
1985
  display: flex;
1953
1986
  flex-direction: column;
@@ -1963,7 +1996,7 @@
1963
1996
  .pire-progress-track {
1964
1997
  height: 8px;
1965
1998
  border-radius: var(--radius-pill);
1966
- background: var(--gray-20);
1999
+ background: var(--surface-track);
1967
2000
  overflow: hidden;
1968
2001
  }
1969
2002
  .pire-progress[data-size="sm"] .pire-progress-track {
@@ -1994,7 +2027,7 @@
1994
2027
  max-width: 240px;
1995
2028
  padding: var(--sp-1) var(--sp-2);
1996
2029
  border-radius: var(--radius-1);
1997
- background: var(--gray-90);
2030
+ background: var(--surface-inverse);
1998
2031
  color: var(--text-inverse);
1999
2032
  font: var(--type-caption);
2000
2033
  box-shadow: var(--shadow-2);
@@ -2427,6 +2460,9 @@
2427
2460
  gap: var(--sp-3);
2428
2461
  flex-wrap: wrap;
2429
2462
  }
2463
+ .pire-objheader-text {
2464
+ min-width: 0;
2465
+ }
2430
2466
  .pire-objheader-title {
2431
2467
  font: var(--type-h1);
2432
2468
  letter-spacing: var(--ls-heading);
@@ -2442,15 +2478,24 @@
2442
2478
  font: var(--type-code);
2443
2479
  color: var(--text-secondary);
2444
2480
  }
2445
- .pire-objheader-actions {
2481
+ /* The trailing action group shared by the header and bar components. */
2482
+ .pire-objheader-actions,
2483
+ .pire-filterbar-actions,
2484
+ .pire-pageheader-actions,
2485
+ .pire-selectionbar-actions,
2486
+ .pire-footerbar-actions {
2446
2487
  margin-left: auto;
2447
2488
  display: flex;
2448
2489
  gap: var(--sp-2);
2449
2490
  }
2491
+ .pire-pageheader-text {
2492
+ min-width: 0;
2493
+ }
2450
2494
  .pire-facts {
2451
2495
  display: flex;
2452
2496
  flex-wrap: wrap;
2453
2497
  gap: var(--sp-6);
2498
+ margin: 0;
2454
2499
  }
2455
2500
  .pire-fact-label {
2456
2501
  font: var(--type-label);
@@ -2460,6 +2505,7 @@
2460
2505
  }
2461
2506
  .pire-fact-value {
2462
2507
  font: var(--type-body-strong);
2508
+ margin: 0;
2463
2509
  }
2464
2510
  .pire-fact-value[data-numeric="true"] {
2465
2511
  font: var(--type-numeric);
@@ -2490,11 +2536,6 @@
2490
2536
  font: var(--type-caption);
2491
2537
  color: var(--text-secondary);
2492
2538
  }
2493
- .pire-filterbar-actions {
2494
- margin-left: auto;
2495
- display: flex;
2496
- gap: var(--sp-2);
2497
- }
2498
2539
 
2499
2540
  /* ---- EmptyState ------------------------------------------------------ */
2500
2541
  .pire-empty {
@@ -2515,10 +2556,12 @@
2515
2556
  .pire-empty-title {
2516
2557
  font: var(--type-h4);
2517
2558
  color: var(--text-primary);
2559
+ margin: 0;
2518
2560
  }
2519
2561
  .pire-empty-body {
2520
2562
  max-width: 44ch;
2521
2563
  font: var(--type-body);
2564
+ margin: 0;
2522
2565
  }
2523
2566
 
2524
2567
  /* ---- Avatar ----------------------------------------------------------- */
@@ -2532,6 +2575,12 @@
2532
2575
  height: 24px;
2533
2576
  font: var(--type-micro, var(--type-label));
2534
2577
  }
2578
+ .pire-avatar-img {
2579
+ width: 100%;
2580
+ height: 100%;
2581
+ border-radius: inherit;
2582
+ object-fit: cover;
2583
+ }
2535
2584
 
2536
2585
  /* ---- SegmentedControl -------------------------------------------------- */
2537
2586
  .pire-segmented {
@@ -2691,7 +2740,10 @@
2691
2740
  color: var(--text-primary);
2692
2741
  transition: var(--transition-control);
2693
2742
  }
2694
- /* The button is no longer its parent's last child — the wrapper is. */
2743
+ .pire-linklist-icon {
2744
+ color: var(--text-secondary);
2745
+ }
2746
+ /* The row wrapper, not the button, is the last child. */
2695
2747
  .pire-linklist-row:last-child .pire-linklist-item {
2696
2748
  border-bottom: 0;
2697
2749
  }
@@ -2743,16 +2795,15 @@
2743
2795
  color: var(--text-secondary);
2744
2796
  max-width: 80ch;
2745
2797
  }
2746
- .pire-pageheader-actions {
2747
- margin-left: auto;
2748
- display: flex;
2749
- gap: var(--sp-2);
2750
- }
2751
2798
  .pire-sectionhead {
2752
2799
  display: flex;
2753
2800
  align-items: baseline;
2754
2801
  gap: var(--sp-3);
2755
2802
  }
2803
+ .pire-sectionhead-meta {
2804
+ font: var(--type-caption);
2805
+ color: var(--text-tertiary);
2806
+ }
2756
2807
  .pire-sectionhead-actions {
2757
2808
  margin-left: auto;
2758
2809
  display: flex;
@@ -2779,15 +2830,10 @@
2779
2830
  font: var(--type-caption);
2780
2831
  color: var(--text-secondary);
2781
2832
  }
2782
- .pire-selectionbar-actions {
2783
- margin-left: auto;
2784
- display: flex;
2785
- gap: var(--sp-2);
2786
- }
2787
2833
  .pire-footerbar {
2788
2834
  position: sticky;
2789
2835
  bottom: 0;
2790
- z-index: 50;
2836
+ z-index: var(--z-sticky);
2791
2837
  display: flex;
2792
2838
  align-items: center;
2793
2839
  gap: var(--sp-3);
@@ -2795,12 +2841,7 @@
2795
2841
  padding: 0 var(--page-pad-x);
2796
2842
  background: var(--surface-card);
2797
2843
  border-top: 1px solid var(--border-subtle);
2798
- box-shadow: 0 -1px 2px rgba(13, 19, 25, 0.08);
2799
- }
2800
- .pire-footerbar-actions {
2801
- margin-left: auto;
2802
- display: flex;
2803
- gap: var(--sp-2);
2844
+ box-shadow: var(--shadow-up-1);
2804
2845
  }
2805
2846
  .pire-footerbar-note {
2806
2847
  font: var(--type-caption);
@@ -2966,7 +3007,7 @@
2966
3007
  }
2967
3008
  .pire-calendar-cell[data-focus-visible] {
2968
3009
  outline: var(--focus-w) solid var(--focus-color);
2969
- outline-offset: -1px;
3010
+ outline-offset: var(--focus-offset-inset-tight);
2970
3011
  }
2971
3012
 
2972
3013
  /* ---- Text / Strong ------------------------------------------------------ */
@@ -3000,11 +3041,15 @@
3000
3041
  .pire-text[data-color="inverse"] {
3001
3042
  color: var(--text-inverse);
3002
3043
  }
3044
+ /* `.pire-numeric` / `.pire-eyebrow` are the class forms of the same two treatments. They sit here, after
3045
+ Text's size and colour rules, because the attribute forms must win over those at equal specificity. */
3046
+ .pire-numeric,
3003
3047
  .pire-text[data-numeric="true"] {
3004
3048
  font: var(--type-numeric);
3005
3049
  letter-spacing: var(--ls-numeric);
3006
3050
  font-variant-numeric: tabular-nums;
3007
3051
  }
3052
+ .pire-eyebrow,
3008
3053
  .pire-text[data-eyebrow="true"] {
3009
3054
  font: var(--type-label);
3010
3055
  letter-spacing: var(--ls-caps);
@@ -3812,6 +3857,15 @@
3812
3857
  align-self: stretch;
3813
3858
  display: flex;
3814
3859
  }
3860
+ .pire-valuehelp-body {
3861
+ display: flex;
3862
+ flex-direction: column;
3863
+ gap: var(--sp-3);
3864
+ }
3865
+ .pire-valuehelp-list {
3866
+ overflow: auto;
3867
+ max-height: 48vh;
3868
+ }
3815
3869
  .pire-valuehelp-actions {
3816
3870
  display: flex;
3817
3871
  align-items: stretch;
@@ -3976,7 +4030,7 @@
3976
4030
  .pire-cp-overlay {
3977
4031
  position: fixed;
3978
4032
  inset: 0;
3979
- z-index: 950;
4033
+ z-index: var(--z-palette);
3980
4034
  display: flex;
3981
4035
  align-items: flex-start;
3982
4036
  justify-content: center;
@@ -4276,7 +4330,7 @@
4276
4330
  display: block;
4277
4331
  height: 4px;
4278
4332
  border-radius: var(--radius-pill);
4279
- background: var(--gray-20);
4333
+ background: var(--surface-track);
4280
4334
  overflow: hidden;
4281
4335
  }
4282
4336
  /* --accent-bg, not a ramp step: --teal-50 does not re-point in themes.css (0 hits), so it would paint the same colour in light and dark, and colors.css labels the teal family "charts" — the one ramp this value-state readout must not default to. */
@@ -4329,11 +4383,15 @@
4329
4383
 
4330
4384
  /* ---- Reduced motion --------------------------------------------------- */
4331
4385
  @media (prefers-reduced-motion: reduce) {
4386
+ /* Same selectors as the animated rules: a media query adds no specificity, so a bare
4387
+ `.pire-sidepanel` here would lose to `.pire-sidepanel[data-entering]`. */
4332
4388
  .pire-modal,
4389
+ .pire-modal-overlay,
4333
4390
  .pire-toast,
4334
4391
  .pire-popover,
4392
+ .pire-launcher-popover,
4335
4393
  .pire-tooltip,
4336
- .pire-sidepanel,
4394
+ .pire-sidepanel[data-entering],
4337
4395
  .pire-cp-overlay,
4338
4396
  .pire-cp-modal {
4339
4397
  animation: none;
@@ -19,4 +19,3 @@ export declare function usePireMessages(): PireMessages;
19
19
  * needs to name them differently even when the dictionary is correct.
20
20
  */
21
21
  export declare function useMessage(key: keyof PireMessages, override?: string): string;
22
- //# sourceMappingURL=PireIntlProvider.d.ts.map
@@ -95,6 +95,8 @@ export interface PireMessages {
95
95
  paginationPrevious: string;
96
96
  paginationNext: string;
97
97
  paginationRowsPerPage: string;
98
+ /** An option in the rows-per-page picker. `{count}` is the page size. */
99
+ paginationPageSize: string;
98
100
  /** Landmark name of the main SideNav. Override it when a screen has more than one nav. */
99
101
  sideNavLabel: string;
100
102
  /** ShellRail's landmark name. Distinct from `sideNavLabel`: the two navs are on screen together,
@@ -126,6 +128,10 @@ export interface PireMessages {
126
128
  fileDropZonePrompt: string;
127
129
  /** Accessible name of the ShellBar avatar once it opens a menu. `{user}` is the person's name. */
128
130
  shellBarUserMenu: string;
131
+ /** Accessible name of the shell bar's navigation button, unless `menuLabel` is passed. */
132
+ shellBarMenu: string;
133
+ /** Accessible name of the shell bar's search button, unless `searchLabel` is passed. */
134
+ shellBarSearch: string;
129
135
  /** Names the command palette dialog. */
130
136
  commandPaletteLabel: string;
131
137
  /** Accessible name of the palette's search input. */
@@ -170,6 +176,12 @@ export interface PireMessages {
170
176
  quantityStepperDecrease: string;
171
177
  /** Names the key-figure summary inside a ConfirmDialog, for assistive tech. */
172
178
  confirmDialogFactsLabel: string;
179
+ /** Commit button text, unless `confirmLabel` is passed. */
180
+ confirmDialogConfirm: string;
181
+ /** Cancel button text, unless `cancelLabel` is passed. */
182
+ confirmDialogCancel: string;
183
+ /** Commit button text while `isBusy`. */
184
+ confirmDialogBusy: string;
173
185
  /** Visible text of the multi-select value help's "select every row" action. Carries the scope
174
186
  * it will act on: `{count}` is replaced with how many records the press would tick. */
175
187
  valueHelpSelectAllCount: string;
@@ -220,6 +232,12 @@ export interface PireMessages {
220
232
  breadcrumbMore: string;
221
233
  /** Names the shell bar's breadcrumb landmark. */
222
234
  breadcrumbLabel: string;
235
+ /** Names a Tabs strip when the consumer passes no `aria-label`. */
236
+ tabsLabel: string;
237
+ /** Announced when MultiComboBox gains a value. `{label}` is the value, `{count}` how many are now selected. */
238
+ multiComboBoxAdded: string;
239
+ /** As `multiComboBoxAdded`, when a value is removed. */
240
+ multiComboBoxRemoved: string;
223
241
  }
224
242
  export declare const enMessages: PireMessages;
225
243
  export declare const esMessages: PireMessages;
@@ -95,6 +95,8 @@ export interface PireMessages {
95
95
  paginationPrevious: string;
96
96
  paginationNext: string;
97
97
  paginationRowsPerPage: string;
98
+ /** An option in the rows-per-page picker. `{count}` is the page size. */
99
+ paginationPageSize: string;
98
100
  /** Landmark name of the main SideNav. Override it when a screen has more than one nav. */
99
101
  sideNavLabel: string;
100
102
  /** ShellRail's landmark name. Distinct from `sideNavLabel`: the two navs are on screen together,
@@ -126,6 +128,10 @@ export interface PireMessages {
126
128
  fileDropZonePrompt: string;
127
129
  /** Accessible name of the ShellBar avatar once it opens a menu. `{user}` is the person's name. */
128
130
  shellBarUserMenu: string;
131
+ /** Accessible name of the shell bar's navigation button, unless `menuLabel` is passed. */
132
+ shellBarMenu: string;
133
+ /** Accessible name of the shell bar's search button, unless `searchLabel` is passed. */
134
+ shellBarSearch: string;
129
135
  /** Names the command palette dialog. */
130
136
  commandPaletteLabel: string;
131
137
  /** Accessible name of the palette's search input. */
@@ -170,6 +176,12 @@ export interface PireMessages {
170
176
  quantityStepperDecrease: string;
171
177
  /** Names the key-figure summary inside a ConfirmDialog, for assistive tech. */
172
178
  confirmDialogFactsLabel: string;
179
+ /** Commit button text, unless `confirmLabel` is passed. */
180
+ confirmDialogConfirm: string;
181
+ /** Cancel button text, unless `cancelLabel` is passed. */
182
+ confirmDialogCancel: string;
183
+ /** Commit button text while `isBusy`. */
184
+ confirmDialogBusy: string;
173
185
  /** Visible text of the multi-select value help's "select every row" action. Carries the scope
174
186
  * it will act on: `{count}` is replaced with how many records the press would tick. */
175
187
  valueHelpSelectAllCount: string;
@@ -220,7 +232,12 @@ export interface PireMessages {
220
232
  breadcrumbMore: string;
221
233
  /** Names the shell bar's breadcrumb landmark. */
222
234
  breadcrumbLabel: string;
235
+ /** Names a Tabs strip when the consumer passes no `aria-label`. */
236
+ tabsLabel: string;
237
+ /** Announced when MultiComboBox gains a value. `{label}` is the value, `{count}` how many are now selected. */
238
+ multiComboBoxAdded: string;
239
+ /** As `multiComboBoxAdded`, when a value is removed. */
240
+ multiComboBoxRemoved: string;
223
241
  }
224
242
  export declare const enMessages: PireMessages;
225
243
  export declare const esMessages: PireMessages;
226
- //# sourceMappingURL=messages.d.ts.map