@optimum-intelligence/opti-ui 0.7.6 → 0.8.1

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 (109) hide show
  1. package/CHANGELOG.md +121 -0
  2. package/README.md +20 -10
  3. package/dist/components/alert/Alert.d.ts +5 -2
  4. package/dist/components/alert/Alert.js +67 -65
  5. package/dist/components/alert/Alert.js.map +1 -1
  6. package/dist/components/app-shell/AppShell.d.ts +25 -8
  7. package/dist/components/app-shell/AppShell.js +428 -397
  8. package/dist/components/app-shell/AppShell.js.map +1 -1
  9. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +6 -1
  10. package/dist/components/breadcrumbs/Breadcrumbs.js +42 -40
  11. package/dist/components/breadcrumbs/Breadcrumbs.js.map +1 -1
  12. package/dist/components/calendar/Calendar.js +140 -136
  13. package/dist/components/calendar/Calendar.js.map +1 -1
  14. package/dist/components/combobox/Combobox.d.ts +9 -3
  15. package/dist/components/combobox/Combobox.js +220 -231
  16. package/dist/components/combobox/Combobox.js.map +1 -1
  17. package/dist/components/command-palette/CommandPalette.d.ts +13 -4
  18. package/dist/components/command-palette/CommandPalette.js +91 -89
  19. package/dist/components/command-palette/CommandPalette.js.map +1 -1
  20. package/dist/components/data-table/DataTable.d.ts +51 -17
  21. package/dist/components/data-table/DataTable.js +489 -278
  22. package/dist/components/data-table/DataTable.js.map +1 -1
  23. package/dist/components/data-table/DataTableContent.d.ts +7 -1
  24. package/dist/components/data-table/DataTableContent.js +247 -211
  25. package/dist/components/data-table/DataTableContent.js.map +1 -1
  26. package/dist/components/data-table/DataTableFilters.d.ts +56 -4
  27. package/dist/components/data-table/DataTableFilters.js +493 -77
  28. package/dist/components/data-table/DataTableFilters.js.map +1 -1
  29. package/dist/components/data-table/layout.d.ts +5 -0
  30. package/dist/components/data-table/layout.js +23 -1
  31. package/dist/components/data-table/layout.js.map +1 -1
  32. package/dist/components/data-table/types.d.ts +35 -2
  33. package/dist/components/data-table/useDataTable.d.ts +1 -1
  34. package/dist/components/data-table/useDataTable.js +386 -332
  35. package/dist/components/data-table/useDataTable.js.map +1 -1
  36. package/dist/components/date-picker/DatePicker.d.ts +5 -0
  37. package/dist/components/date-picker/DatePicker.js +148 -140
  38. package/dist/components/date-picker/DatePicker.js.map +1 -1
  39. package/dist/components/date-picker/DateRangePicker.d.ts +2 -0
  40. package/dist/components/date-picker/DateRangePicker.js +171 -164
  41. package/dist/components/date-picker/DateRangePicker.js.map +1 -1
  42. package/dist/components/date-picker/PickerField.d.ts +6 -3
  43. package/dist/components/date-picker/PickerField.js +166 -159
  44. package/dist/components/date-picker/PickerField.js.map +1 -1
  45. package/dist/components/dialog/ConfirmDialog.d.ts +5 -2
  46. package/dist/components/dialog/ConfirmDialog.js +79 -77
  47. package/dist/components/dialog/ConfirmDialog.js.map +1 -1
  48. package/dist/components/dialog/Dialog.d.ts +5 -2
  49. package/dist/components/dialog/Dialog.js +65 -63
  50. package/dist/components/dialog/Dialog.js.map +1 -1
  51. package/dist/components/drawer/Drawer.d.ts +13 -4
  52. package/dist/components/drawer/Drawer.js +122 -164
  53. package/dist/components/drawer/Drawer.js.map +1 -1
  54. package/dist/components/field/Field.d.ts +38 -9
  55. package/dist/components/field/Field.js +66 -1
  56. package/dist/components/field/Field.js.map +1 -1
  57. package/dist/components/file-upload/FileUpload.js +2 -0
  58. package/dist/components/file-upload/FileUpload.js.map +1 -1
  59. package/dist/components/input/Input.d.ts +9 -16
  60. package/dist/components/input/Input.js +124 -206
  61. package/dist/components/input/Input.js.map +1 -1
  62. package/dist/components/map/colors.d.ts +2 -2
  63. package/dist/components/map/colors.js +12 -3
  64. package/dist/components/map/colors.js.map +1 -1
  65. package/dist/components/number-field/NumberField.d.ts +12 -3
  66. package/dist/components/number-field/NumberField.js +109 -130
  67. package/dist/components/number-field/NumberField.js.map +1 -1
  68. package/dist/components/pagination/Pagination.js +135 -186
  69. package/dist/components/pagination/Pagination.js.map +1 -1
  70. package/dist/components/progress/Progress.d.ts +2 -1
  71. package/dist/components/progress/Progress.js.map +1 -1
  72. package/dist/components/search-input/SearchInput.d.ts +5 -2
  73. package/dist/components/search-input/SearchInput.js +47 -45
  74. package/dist/components/search-input/SearchInput.js.map +1 -1
  75. package/dist/components/select/Select.d.ts +13 -3
  76. package/dist/components/select/Select.js +144 -139
  77. package/dist/components/select/Select.js.map +1 -1
  78. package/dist/components/spinner/Spinner.d.ts +6 -2
  79. package/dist/components/spinner/Spinner.js +42 -40
  80. package/dist/components/spinner/Spinner.js.map +1 -1
  81. package/dist/components/stat-card/StatCard.d.ts +7 -2
  82. package/dist/components/stat-card/StatCard.js +1 -1
  83. package/dist/components/stat-card/StatCard.js.map +1 -1
  84. package/dist/components/stepper/Stepper.js +44 -40
  85. package/dist/components/stepper/Stepper.js.map +1 -1
  86. package/dist/components/toast/Toast.d.ts +17 -1
  87. package/dist/components/toast/Toast.js +65 -33
  88. package/dist/components/toast/Toast.js.map +1 -1
  89. package/dist/components.json +475 -68
  90. package/dist/icons/index.d.ts +4 -0
  91. package/dist/icons/index.js +12 -1
  92. package/dist/icons/index.js.map +1 -1
  93. package/dist/index.d.ts +3 -0
  94. package/dist/index.js +7 -4
  95. package/dist/labels/Labels.d.ts +93 -0
  96. package/dist/labels/Labels.js +96 -0
  97. package/dist/labels/Labels.js.map +1 -0
  98. package/dist/labels/hu.d.ts +17 -0
  99. package/dist/labels/hu.js +124 -0
  100. package/dist/labels/hu.js.map +1 -0
  101. package/dist/llms-full.txt +274 -48
  102. package/dist/llms.txt +11 -4
  103. package/dist/opti-ui.css +370 -47
  104. package/dist/theme/ThemeProvider.d.ts +8 -4
  105. package/dist/theme/ThemeProvider.js.map +1 -1
  106. package/dist/utils/media.d.ts +9 -2
  107. package/dist/utils/media.js +10 -3
  108. package/dist/utils/media.js.map +1 -1
  109. package/package.json +5 -2
@@ -1,6 +1,7 @@
1
1
  "use client";
2
2
  import { usePortalContainer } from "../../utils/portal.js";
3
3
  import { cx } from "../../utils/cx.js";
4
+ import { useLabels } from "../../labels/Labels.js";
4
5
  import { createPrimitive } from "../../utils/primitive.js";
5
6
  import { ChevronLeftIcon, ChevronRightIcon, MenuIcon, XIcon } from "../../icons/index.js";
6
7
  import { c } from "react/compiler-runtime";
@@ -21,13 +22,14 @@ var PinnedRegistryContext = React.createContext(null);
21
22
  */
22
23
  function Navbar(t0) {
23
24
  const $ = c(29);
24
- const { variant: t1, collapsible: t2, collapsed: collapsedProp, defaultCollapsed: t3, onCollapsedChange, expandOnHover: t4, collapseLabel: t5, expandLabel: t6, render, children, ref, ...props } = t0;
25
+ const { variant: t1, collapsible: t2, collapsed: collapsedProp, defaultCollapsed: t3, onCollapsedChange, expandOnHover: t4, collapseLabel: collapseLabelProp, expandLabel: expandLabelProp, render, children, ref, ...props } = t0;
25
26
  const variant = t1 === void 0 ? "inverse" : t1;
26
27
  const collapsible = t2 === void 0 ? true : t2;
27
28
  const defaultCollapsed = t3 === void 0 ? false : t3;
28
29
  const expandOnHover = t4 === void 0 ? true : t4;
29
- const collapseLabel = t5 === void 0 ? "Collapse" : t5;
30
- const expandLabel = t6 === void 0 ? "Expand" : t6;
30
+ const text = useLabels();
31
+ const expandLabel = expandLabelProp ?? text.expandNavbar;
32
+ const collapseLabel = collapseLabelProp ?? text.collapseNavbar;
31
33
  const inDrawer = React.useContext(NavbarDrawerContext);
32
34
  const canCollapse = collapsible && !inDrawer;
33
35
  const [internal, setInternal] = React.useState(defaultCollapsed);
@@ -35,36 +37,36 @@ function Navbar(t0) {
35
37
  const label = collapsed ? expandLabel : collapseLabel;
36
38
  const [pointerInside, setPointerInside] = React.useState(false);
37
39
  const [hovered, setHovered] = React.useState(false);
38
- let t7;
39
- let t8;
40
+ let t5;
41
+ let t6;
40
42
  if ($[0] !== pointerInside) {
41
- t7 = () => {
43
+ t5 = () => {
42
44
  if (!pointerInside) return;
43
45
  const timer = setTimeout(() => setHovered(true), 120);
44
46
  return () => clearTimeout(timer);
45
47
  };
46
- t8 = [pointerInside];
48
+ t6 = [pointerInside];
47
49
  $[0] = pointerInside;
48
- $[1] = t7;
49
- $[2] = t8;
50
+ $[1] = t5;
51
+ $[2] = t6;
50
52
  } else {
51
- t7 = $[1];
52
- t8 = $[2];
53
+ t5 = $[1];
54
+ t6 = $[2];
53
55
  }
54
- React.useEffect(t7, t8);
56
+ React.useEffect(t5, t6);
55
57
  const peek = collapsed && expandOnHover && hovered;
56
- let t9;
58
+ let t7;
57
59
  if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
58
- t9 = () => {
60
+ t7 = () => {
59
61
  setPointerInside(false);
60
62
  setHovered(false);
61
63
  };
62
- $[3] = t9;
63
- } else t9 = $[3];
64
- const endHover = t9;
65
- let t10;
64
+ $[3] = t7;
65
+ } else t7 = $[3];
66
+ const endHover = t7;
67
+ let t8;
66
68
  if ($[4] !== collapsed || $[5] !== collapsedProp || $[6] !== onCollapsedChange) {
67
- t10 = () => {
69
+ t8 = () => {
68
70
  endHover();
69
71
  if (collapsedProp === void 0) setInternal(!collapsed);
70
72
  onCollapsedChange?.(!collapsed);
@@ -72,35 +74,35 @@ function Navbar(t0) {
72
74
  $[4] = collapsed;
73
75
  $[5] = collapsedProp;
74
76
  $[6] = onCollapsedChange;
75
- $[7] = t10;
76
- } else t10 = $[7];
77
- const toggle = t10;
78
- let t11;
77
+ $[7] = t8;
78
+ } else t8 = $[7];
79
+ const toggle = t8;
80
+ let t9;
79
81
  if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
80
- t11 = (event) => {
82
+ t9 = (event) => {
81
83
  if (event.pointerType === "mouse") setPointerInside(true);
82
84
  };
83
- $[8] = t11;
84
- } else t11 = $[8];
85
- const onPointerEnter = t11;
86
- const t12 = collapsed && !peek;
87
- let t13;
88
- if ($[9] !== peek || $[10] !== t12 || $[11] !== variant) {
89
- t13 = {
85
+ $[8] = t9;
86
+ } else t9 = $[8];
87
+ const onPointerEnter = t9;
88
+ const t10 = collapsed && !peek;
89
+ let t11;
90
+ if ($[9] !== peek || $[10] !== t10 || $[11] !== variant) {
91
+ t11 = {
90
92
  variant,
91
- collapsed: t12,
93
+ collapsed: t10,
92
94
  peek
93
95
  };
94
96
  $[9] = peek;
95
- $[10] = t12;
97
+ $[10] = t10;
96
98
  $[11] = variant;
97
- $[12] = t13;
98
- } else t13 = $[12];
99
- const state = t13;
100
- const t14 = "nav";
101
- let t15;
99
+ $[12] = t11;
100
+ } else t11 = $[12];
101
+ const state = t11;
102
+ const t12 = "nav";
103
+ let t13;
102
104
  if ($[13] !== canCollapse || $[14] !== collapsed || $[15] !== label || $[16] !== toggle) {
103
- t15 = canCollapse && /* @__PURE__ */ jsx("button", {
105
+ t13 = canCollapse && /* @__PURE__ */ jsx("button", {
104
106
  type: "button",
105
107
  className: "oui-navbar__toggle",
106
108
  "aria-label": label,
@@ -113,49 +115,49 @@ function Navbar(t0) {
113
115
  $[14] = collapsed;
114
116
  $[15] = label;
115
117
  $[16] = toggle;
116
- $[17] = t15;
117
- } else t15 = $[17];
118
- let t16;
119
- if ($[18] !== children || $[19] !== t15) {
120
- t16 = /* @__PURE__ */ jsxs(Fragment, { children: [t15, children] });
118
+ $[17] = t13;
119
+ } else t13 = $[17];
120
+ let t14;
121
+ if ($[18] !== children || $[19] !== t13) {
122
+ t14 = /* @__PURE__ */ jsxs(Fragment, { children: [t13, children] });
121
123
  $[18] = children;
122
- $[19] = t15;
123
- $[20] = t16;
124
- } else t16 = $[20];
125
- const t17 = mergeProps({
124
+ $[19] = t13;
125
+ $[20] = t14;
126
+ } else t14 = $[20];
127
+ const t15 = mergeProps({
126
128
  className: "oui-navbar",
127
129
  onPointerEnter: collapsed && expandOnHover ? onPointerEnter : void 0,
128
130
  onPointerLeave: collapsed && expandOnHover ? endHover : void 0,
129
- children: t16
131
+ children: t14
130
132
  }, props);
131
- let t18;
132
- if ($[21] !== ref || $[22] !== render || $[23] !== state || $[24] !== t17) {
133
- t18 = {
134
- defaultTagName: t14,
133
+ let t16;
134
+ if ($[21] !== ref || $[22] !== render || $[23] !== state || $[24] !== t15) {
135
+ t16 = {
136
+ defaultTagName: t12,
135
137
  render,
136
138
  ref,
137
139
  state,
138
- props: t17
140
+ props: t15
139
141
  };
140
142
  $[21] = ref;
141
143
  $[22] = render;
142
144
  $[23] = state;
143
- $[24] = t17;
144
- $[25] = t18;
145
- } else t18 = $[25];
146
- const element = useRender(t18);
147
- const t19 = collapsed && !peek;
148
- let t20;
149
- if ($[26] !== element || $[27] !== t19) {
150
- t20 = /* @__PURE__ */ jsx(NavbarCollapsedContext, {
151
- value: t19,
145
+ $[24] = t15;
146
+ $[25] = t16;
147
+ } else t16 = $[25];
148
+ const element = useRender(t16);
149
+ const t17 = collapsed && !peek;
150
+ let t18;
151
+ if ($[26] !== element || $[27] !== t17) {
152
+ t18 = /* @__PURE__ */ jsx(NavbarCollapsedContext, {
153
+ value: t17,
152
154
  children: element
153
155
  });
154
156
  $[26] = element;
155
- $[27] = t19;
156
- $[28] = t20;
157
- } else t20 = $[28];
158
- return t20;
157
+ $[27] = t17;
158
+ $[28] = t18;
159
+ } else t18 = $[28];
160
+ return t18;
159
161
  }
160
162
  var NavbarHeader = createPrimitive("div", "oui-navbar__header", "NavbarHeader");
161
163
  var NavbarFooter = createPrimitive("div", "oui-navbar__footer", "NavbarFooter");
@@ -257,7 +259,7 @@ function NavbarBrand(t0) {
257
259
  * router link or `render={<button />}` for an action. Inside a `NavbarGroup` it becomes an indented sub-link.
258
260
  */
259
261
  function NavbarItem(t0) {
260
- const $ = c(46);
262
+ const $ = c(48);
261
263
  let badge;
262
264
  let children;
263
265
  let icon;
@@ -266,8 +268,9 @@ function NavbarItem(t0) {
266
268
  let render;
267
269
  let t1;
268
270
  let t2;
271
+ let tabLabel;
269
272
  if ($[0] !== t0) {
270
- ({icon, active: t1, badge, pinned: t2, render, children, ref, ...props} = t0);
273
+ ({icon, active: t1, badge, pinned: t2, tabLabel, render, children, ref, ...props} = t0);
271
274
  $[0] = t0;
272
275
  $[1] = badge;
273
276
  $[2] = children;
@@ -277,6 +280,7 @@ function NavbarItem(t0) {
277
280
  $[6] = render;
278
281
  $[7] = t1;
279
282
  $[8] = t2;
283
+ $[9] = tabLabel;
280
284
  } else {
281
285
  badge = $[1];
282
286
  children = $[2];
@@ -286,6 +290,7 @@ function NavbarItem(t0) {
286
290
  render = $[6];
287
291
  t1 = $[7];
288
292
  t2 = $[8];
293
+ tabLabel = $[9];
289
294
  }
290
295
  const active = t1 === void 0 ? false : t1;
291
296
  const pinned = t2 === void 0 ? false : t2;
@@ -297,117 +302,120 @@ function NavbarItem(t0) {
297
302
  const id = React.useId();
298
303
  const nodeRef = React.useRef(null);
299
304
  let t3;
300
- if ($[9] !== active || $[10] !== children || $[11] !== icon || $[12] !== id || $[13] !== props || $[14] !== register || $[15] !== render) {
305
+ if ($[10] !== active || $[11] !== children || $[12] !== icon || $[13] !== id || $[14] !== props || $[15] !== register || $[16] !== render || $[17] !== tabLabel) {
301
306
  t3 = () => {
302
307
  if (!register) return;
303
308
  const { className: _className, style: _style, title: _title, ...rest } = props;
309
+ const title = typeof children === "string" ? children : void 0;
304
310
  register(id, {
305
311
  node: nodeRef.current,
306
312
  icon,
307
- label: children,
313
+ label: tabLabel ?? children,
314
+ title,
308
315
  active,
309
316
  render,
310
317
  props: rest
311
318
  });
312
319
  };
313
- $[9] = active;
314
- $[10] = children;
315
- $[11] = icon;
316
- $[12] = id;
317
- $[13] = props;
318
- $[14] = register;
319
- $[15] = render;
320
- $[16] = t3;
321
- } else t3 = $[16];
320
+ $[10] = active;
321
+ $[11] = children;
322
+ $[12] = icon;
323
+ $[13] = id;
324
+ $[14] = props;
325
+ $[15] = register;
326
+ $[16] = render;
327
+ $[17] = tabLabel;
328
+ $[18] = t3;
329
+ } else t3 = $[18];
322
330
  React.useEffect(t3);
323
331
  let t4;
324
332
  let t5;
325
- if ($[17] !== id || $[18] !== register) {
333
+ if ($[19] !== id || $[20] !== register) {
326
334
  t4 = () => {
327
335
  if (register) return () => register(id, null);
328
336
  };
329
337
  t5 = [register, id];
330
- $[17] = id;
331
- $[18] = register;
332
- $[19] = t4;
333
- $[20] = t5;
338
+ $[19] = id;
339
+ $[20] = register;
340
+ $[21] = t4;
341
+ $[22] = t5;
334
342
  } else {
335
- t4 = $[19];
336
- t5 = $[20];
343
+ t4 = $[21];
344
+ t5 = $[22];
337
345
  }
338
346
  React.useEffect(t4, t5);
339
347
  let t6;
340
- if ($[21] !== active) {
348
+ if ($[23] !== active) {
341
349
  t6 = { active };
342
- $[21] = active;
343
- $[22] = t6;
344
- } else t6 = $[22];
350
+ $[23] = active;
351
+ $[24] = t6;
352
+ } else t6 = $[24];
345
353
  const state = t6;
346
354
  let t7;
347
- if ($[23] !== ref) {
355
+ if ($[25] !== ref) {
348
356
  t7 = [ref, nodeRef];
349
- $[23] = ref;
350
- $[24] = t7;
351
- } else t7 = $[24];
357
+ $[25] = ref;
358
+ $[26] = t7;
359
+ } else t7 = $[26];
352
360
  const t8 = t7;
353
361
  const t9 = active ? "page" : void 0;
354
362
  const t10 = collapsed && typeof children === "string" ? children : void 0;
355
363
  let t11;
356
- if ($[25] !== icon || $[26] !== nested) {
364
+ if ($[27] !== icon || $[28] !== nested) {
357
365
  t11 = icon && !nested && /* @__PURE__ */ jsx("span", {
358
366
  className: "oui-navbar__item-icon",
359
367
  children: icon
360
368
  });
361
- $[25] = icon;
362
- $[26] = nested;
363
- $[27] = t11;
364
- } else t11 = $[27];
369
+ $[27] = icon;
370
+ $[28] = nested;
371
+ $[29] = t11;
372
+ } else t11 = $[29];
365
373
  let t12;
366
- if ($[28] !== children) {
374
+ if ($[30] !== children) {
367
375
  t12 = /* @__PURE__ */ jsx("span", {
368
376
  className: "oui-navbar__item-label",
369
377
  children
370
378
  });
371
- $[28] = children;
372
- $[29] = t12;
373
- } else t12 = $[29];
379
+ $[30] = children;
380
+ $[31] = t12;
381
+ } else t12 = $[31];
374
382
  let t13;
375
- if ($[30] !== badge) {
383
+ if ($[32] !== badge) {
376
384
  t13 = badge != null && /* @__PURE__ */ jsx("span", {
377
385
  className: "oui-navbar__item-badge",
378
386
  children: badge
379
387
  });
380
- $[30] = badge;
381
- $[31] = t13;
382
- } else t13 = $[31];
388
+ $[32] = badge;
389
+ $[33] = t13;
390
+ } else t13 = $[33];
383
391
  let t14;
384
- if ($[32] !== t11 || $[33] !== t12 || $[34] !== t13) {
392
+ if ($[34] !== t11 || $[35] !== t12 || $[36] !== t13) {
385
393
  t14 = /* @__PURE__ */ jsxs(Fragment, { children: [
386
394
  t11,
387
395
  t12,
388
396
  t13
389
397
  ] });
390
- $[32] = t11;
391
- $[33] = t12;
392
- $[34] = t13;
393
- $[35] = t14;
394
- } else t14 = $[35];
398
+ $[34] = t11;
399
+ $[35] = t12;
400
+ $[36] = t13;
401
+ $[37] = t14;
402
+ } else t14 = $[37];
395
403
  let t15;
396
- if ($[36] !== props || $[37] !== t10 || $[38] !== t14 || $[39] !== t9) {
404
+ if ($[38] !== props || $[39] !== t10 || $[40] !== t14 || $[41] !== t9) {
397
405
  t15 = mergeProps({
398
406
  className: "oui-navbar__item",
399
407
  "aria-current": t9,
400
408
  title: t10,
401
409
  children: t14
402
410
  }, props);
403
- $[36] = props;
404
- $[37] = t10;
405
- $[38] = t14;
406
- $[39] = t9;
407
- $[40] = t15;
408
- } else t15 = $[40];
411
+ $[38] = props;
412
+ $[39] = t10;
413
+ $[40] = t14;
414
+ $[41] = t9;
415
+ $[42] = t15;
416
+ } else t15 = $[42];
409
417
  let t16;
410
- if ($[41] !== render || $[42] !== state || $[43] !== t15 || $[44] !== t8) {
418
+ if ($[43] !== render || $[44] !== state || $[45] !== t15 || $[46] !== t8) {
411
419
  t16 = {
412
420
  defaultTagName: "a",
413
421
  render,
@@ -415,12 +423,12 @@ function NavbarItem(t0) {
415
423
  state,
416
424
  props: t15
417
425
  };
418
- $[41] = render;
419
- $[42] = state;
420
- $[43] = t15;
421
- $[44] = t8;
422
- $[45] = t16;
423
- } else t16 = $[45];
426
+ $[43] = render;
427
+ $[44] = state;
428
+ $[45] = t15;
429
+ $[46] = t8;
430
+ $[47] = t16;
431
+ } else t16 = $[47];
424
432
  return useRender(t16);
425
433
  }
426
434
  function hasActiveItem(children) {
@@ -623,60 +631,59 @@ function PinnedTab(t0) {
623
631
  const state = t1;
624
632
  const t2 = entry.render;
625
633
  const t3 = entry.active ? "page" : void 0;
626
- const t4 = typeof entry.label === "string" ? entry.label : void 0;
627
- let t5;
634
+ let t4;
628
635
  if ($[2] !== entry.icon) {
629
- t5 = /* @__PURE__ */ jsx("span", {
636
+ t4 = /* @__PURE__ */ jsx("span", {
630
637
  className: "oui-app-shell__tab-icon",
631
638
  children: entry.icon
632
639
  });
633
640
  $[2] = entry.icon;
634
- $[3] = t5;
635
- } else t5 = $[3];
636
- let t6;
641
+ $[3] = t4;
642
+ } else t4 = $[3];
643
+ let t5;
637
644
  if ($[4] !== entry.label) {
638
- t6 = /* @__PURE__ */ jsx("span", {
645
+ t5 = /* @__PURE__ */ jsx("span", {
639
646
  className: "oui-app-shell__tab-label",
640
647
  children: entry.label
641
648
  });
642
649
  $[4] = entry.label;
643
- $[5] = t6;
644
- } else t6 = $[5];
650
+ $[5] = t5;
651
+ } else t5 = $[5];
652
+ let t6;
653
+ if ($[6] !== t4 || $[7] !== t5) {
654
+ t6 = /* @__PURE__ */ jsxs(Fragment, { children: [t4, t5] });
655
+ $[6] = t4;
656
+ $[7] = t5;
657
+ $[8] = t6;
658
+ } else t6 = $[8];
645
659
  let t7;
646
- if ($[6] !== t5 || $[7] !== t6) {
647
- t7 = /* @__PURE__ */ jsxs(Fragment, { children: [t5, t6] });
648
- $[6] = t5;
649
- $[7] = t6;
650
- $[8] = t7;
651
- } else t7 = $[8];
652
- let t8;
653
- if ($[9] !== entry.props || $[10] !== t3 || $[11] !== t4 || $[12] !== t7) {
654
- t8 = mergeProps({
660
+ if ($[9] !== entry.props || $[10] !== entry.title || $[11] !== t3 || $[12] !== t6) {
661
+ t7 = mergeProps({
655
662
  className: "oui-app-shell__tab",
656
663
  "aria-current": t3,
657
- title: t4,
658
- children: t7
664
+ title: entry.title,
665
+ children: t6
659
666
  }, entry.props);
660
667
  $[9] = entry.props;
661
- $[10] = t3;
662
- $[11] = t4;
663
- $[12] = t7;
664
- $[13] = t8;
665
- } else t8 = $[13];
666
- let t9;
667
- if ($[14] !== entry.render || $[15] !== state || $[16] !== t8) {
668
- t9 = {
668
+ $[10] = entry.title;
669
+ $[11] = t3;
670
+ $[12] = t6;
671
+ $[13] = t7;
672
+ } else t7 = $[13];
673
+ let t8;
674
+ if ($[14] !== entry.render || $[15] !== state || $[16] !== t7) {
675
+ t8 = {
669
676
  defaultTagName: "a",
670
677
  render: t2,
671
678
  state,
672
- props: t8
679
+ props: t7
673
680
  };
674
681
  $[14] = entry.render;
675
682
  $[15] = state;
676
- $[16] = t8;
677
- $[17] = t9;
678
- } else t9 = $[17];
679
- return useRender(t9);
683
+ $[16] = t7;
684
+ $[17] = t8;
685
+ } else t8 = $[17];
686
+ return useRender(t8);
680
687
  }
681
688
  /**
682
689
  * Full-height layout with a fixed navbar and an internally scrolling main
@@ -700,64 +707,65 @@ function PinnedTab(t0) {
700
707
  * </AppShell>
701
708
  */
702
709
  function AppShell(t0) {
703
- const $ = c(83);
710
+ const $ = c(90);
704
711
  let children;
705
712
  let className;
706
713
  let mainProps;
714
+ let menuLabelProp;
707
715
  let mobileActions;
708
716
  let mobileBrand;
717
+ let moreLabelProp;
709
718
  let navbar;
710
719
  let props;
711
720
  let ref;
712
721
  let t1;
713
722
  let t2;
714
- let t3;
715
- let t4;
716
723
  if ($[0] !== t0) {
717
- ({navbar, mobileBrand, mobileActions, mobileNavPosition: t1, menuLabel: t2, moreLabel: t3, moreTabPosition: t4, mainProps, className, children, ref, ...props} = t0);
724
+ ({navbar, mobileBrand, mobileActions, mobileNavPosition: t1, menuLabel: menuLabelProp, moreLabel: moreLabelProp, moreTabPosition: t2, mainProps, className, children, ref, ...props} = t0);
718
725
  $[0] = t0;
719
726
  $[1] = children;
720
727
  $[2] = className;
721
728
  $[3] = mainProps;
722
- $[4] = mobileActions;
723
- $[5] = mobileBrand;
724
- $[6] = navbar;
725
- $[7] = props;
726
- $[8] = ref;
727
- $[9] = t1;
728
- $[10] = t2;
729
- $[11] = t3;
730
- $[12] = t4;
729
+ $[4] = menuLabelProp;
730
+ $[5] = mobileActions;
731
+ $[6] = mobileBrand;
732
+ $[7] = moreLabelProp;
733
+ $[8] = navbar;
734
+ $[9] = props;
735
+ $[10] = ref;
736
+ $[11] = t1;
737
+ $[12] = t2;
731
738
  } else {
732
739
  children = $[1];
733
740
  className = $[2];
734
741
  mainProps = $[3];
735
- mobileActions = $[4];
736
- mobileBrand = $[5];
737
- navbar = $[6];
738
- props = $[7];
739
- ref = $[8];
740
- t1 = $[9];
741
- t2 = $[10];
742
- t3 = $[11];
743
- t4 = $[12];
742
+ menuLabelProp = $[4];
743
+ mobileActions = $[5];
744
+ mobileBrand = $[6];
745
+ moreLabelProp = $[7];
746
+ navbar = $[8];
747
+ props = $[9];
748
+ ref = $[10];
749
+ t1 = $[11];
750
+ t2 = $[12];
744
751
  }
745
752
  const mobileNavPosition = t1 === void 0 ? "bottom" : t1;
746
- const menuLabel = t2 === void 0 ? "Open navigation" : t2;
747
- const moreLabel = t3 === void 0 ? "More" : t3;
748
- const moreTabPosition = t4 === void 0 ? "start" : t4;
753
+ const moreTabPosition = t2 === void 0 ? "start" : t2;
754
+ const text = useLabels();
755
+ const moreLabel = moreLabelProp ?? text.more;
756
+ const menuLabel = menuLabelProp ?? text.openNavigation;
749
757
  const [open, setOpen] = React.useState(false);
750
758
  const [drawer] = React.useState(_temp);
751
759
  const container = usePortalContainer();
752
- let t5;
760
+ let t3;
753
761
  if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
754
- t5 = /* @__PURE__ */ new Map();
755
- $[13] = t5;
756
- } else t5 = $[13];
757
- const [pinned, setPinned] = React.useState(t5);
758
- let t6;
762
+ t3 = /* @__PURE__ */ new Map();
763
+ $[13] = t3;
764
+ } else t3 = $[13];
765
+ const [pinned, setPinned] = React.useState(t3);
766
+ let t4;
759
767
  if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
760
- t6 = () => (id, entry) => {
768
+ t4 = () => (id, entry) => {
761
769
  setPinned((prev) => {
762
770
  const next = new Map(prev);
763
771
  if (entry) next.set(id, entry);
@@ -765,55 +773,55 @@ function AppShell(t0) {
765
773
  return next;
766
774
  });
767
775
  };
768
- $[14] = t6;
769
- } else t6 = $[14];
770
- const [register] = React.useState(t6);
776
+ $[14] = t4;
777
+ } else t4 = $[14];
778
+ const [register] = React.useState(t4);
771
779
  let hasTabs;
772
780
  let moreTab;
773
781
  let showTopBar;
774
- let t10;
775
- let t11;
782
+ let t5;
783
+ let t6;
776
784
  let t7;
777
785
  let t8;
778
786
  let t9;
779
- if ($[15] !== drawer || $[16] !== mobileActions || $[17] !== mobileBrand || $[18] !== mobileNavPosition || $[19] !== moreLabel || $[20] !== moreTabPosition || $[21] !== pinned) {
787
+ if ($[15] !== drawer || $[16] !== mobileActions || $[17] !== mobileBrand || $[18] !== mobileNavPosition || $[19] !== moreLabel || $[20] !== moreTabPosition || $[21] !== pinned || $[22] !== text.quickNavigation) {
780
788
  const tabs = [...pinned.entries()].sort(_temp2).slice(0, MAX_PINNED);
781
789
  hasTabs = tabs.length > 0;
782
790
  showTopBar = !hasTabs || mobileBrand != null || mobileActions != null;
783
- let t12;
784
- if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
785
- t12 = /* @__PURE__ */ jsx("span", {
791
+ let t10;
792
+ if ($[31] === Symbol.for("react.memo_cache_sentinel")) {
793
+ t10 = /* @__PURE__ */ jsx("span", {
786
794
  className: "oui-app-shell__tab-icon",
787
795
  children: /* @__PURE__ */ jsx(MenuIcon, {})
788
796
  });
789
- $[30] = t12;
790
- } else t12 = $[30];
791
- let t13;
792
- if ($[31] !== moreLabel) {
793
- t13 = /* @__PURE__ */ jsx("span", {
797
+ $[31] = t10;
798
+ } else t10 = $[31];
799
+ let t11;
800
+ if ($[32] !== moreLabel) {
801
+ t11 = /* @__PURE__ */ jsx("span", {
794
802
  className: "oui-app-shell__tab-label",
795
803
  children: moreLabel
796
804
  });
797
- $[31] = moreLabel;
798
- $[32] = t13;
799
- } else t13 = $[32];
800
- let t14;
801
- if ($[33] !== drawer || $[34] !== t13) {
802
- t14 = /* @__PURE__ */ jsxs(Dialog.Trigger, {
805
+ $[32] = moreLabel;
806
+ $[33] = t11;
807
+ } else t11 = $[33];
808
+ let t12;
809
+ if ($[34] !== drawer || $[35] !== t11) {
810
+ t12 = /* @__PURE__ */ jsxs(Dialog.Trigger, {
803
811
  handle: drawer,
804
812
  className: "oui-app-shell__tab",
805
- children: [t12, t13]
813
+ children: [t10, t11]
806
814
  });
807
- $[33] = drawer;
808
- $[34] = t13;
809
- $[35] = t14;
810
- } else t14 = $[35];
811
- moreTab = t14;
812
- t7 = "oui-app-shell__tabbar";
813
- t8 = mobileNavPosition;
814
- t9 = "Quick navigation";
815
- t10 = moreTabPosition === "start" && moreTab;
816
- t11 = tabs.map(_temp3);
815
+ $[34] = drawer;
816
+ $[35] = t11;
817
+ $[36] = t12;
818
+ } else t12 = $[36];
819
+ moreTab = t12;
820
+ t5 = "oui-app-shell__tabbar";
821
+ t6 = mobileNavPosition;
822
+ t7 = text.quickNavigation;
823
+ t8 = moreTabPosition === "start" && moreTab;
824
+ t9 = tabs.map(_temp3);
817
825
  $[15] = drawer;
818
826
  $[16] = mobileActions;
819
827
  $[17] = mobileBrand;
@@ -821,77 +829,78 @@ function AppShell(t0) {
821
829
  $[19] = moreLabel;
822
830
  $[20] = moreTabPosition;
823
831
  $[21] = pinned;
824
- $[22] = hasTabs;
825
- $[23] = moreTab;
826
- $[24] = showTopBar;
827
- $[25] = t10;
828
- $[26] = t11;
829
- $[27] = t7;
830
- $[28] = t8;
831
- $[29] = t9;
832
+ $[22] = text.quickNavigation;
833
+ $[23] = hasTabs;
834
+ $[24] = moreTab;
835
+ $[25] = showTopBar;
836
+ $[26] = t5;
837
+ $[27] = t6;
838
+ $[28] = t7;
839
+ $[29] = t8;
840
+ $[30] = t9;
832
841
  } else {
833
- hasTabs = $[22];
834
- moreTab = $[23];
835
- showTopBar = $[24];
836
- t10 = $[25];
837
- t11 = $[26];
838
- t7 = $[27];
839
- t8 = $[28];
840
- t9 = $[29];
842
+ hasTabs = $[23];
843
+ moreTab = $[24];
844
+ showTopBar = $[25];
845
+ t5 = $[26];
846
+ t6 = $[27];
847
+ t7 = $[28];
848
+ t8 = $[29];
849
+ t9 = $[30];
841
850
  }
842
- const t12 = moreTabPosition === "end" && moreTab;
843
- let t13;
844
- if ($[36] !== t10 || $[37] !== t11 || $[38] !== t12 || $[39] !== t7 || $[40] !== t8 || $[41] !== t9) {
845
- t13 = /* @__PURE__ */ jsxs("nav", {
846
- className: t7,
847
- "data-position": t8,
848
- "aria-label": t9,
851
+ const t10 = moreTabPosition === "end" && moreTab;
852
+ let t11;
853
+ if ($[37] !== t10 || $[38] !== t5 || $[39] !== t6 || $[40] !== t7 || $[41] !== t8 || $[42] !== t9) {
854
+ t11 = /* @__PURE__ */ jsxs("nav", {
855
+ className: t5,
856
+ "data-position": t6,
857
+ "aria-label": t7,
849
858
  children: [
850
- t10,
851
- t11,
852
- t12
859
+ t8,
860
+ t9,
861
+ t10
853
862
  ]
854
863
  });
855
- $[36] = t10;
856
- $[37] = t11;
857
- $[38] = t12;
858
- $[39] = t7;
859
- $[40] = t8;
860
- $[41] = t9;
861
- $[42] = t13;
862
- } else t13 = $[42];
863
- const tabbar = t13;
864
- let t14;
865
- if ($[43] === Symbol.for("react.memo_cache_sentinel")) {
866
- t14 = (event) => {
864
+ $[37] = t10;
865
+ $[38] = t5;
866
+ $[39] = t6;
867
+ $[40] = t7;
868
+ $[41] = t8;
869
+ $[42] = t9;
870
+ $[43] = t11;
871
+ } else t11 = $[43];
872
+ const tabbar = t11;
873
+ let t12;
874
+ if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
875
+ t12 = (event) => {
867
876
  const item = event.target.closest("a, .oui-navbar__item");
868
877
  if (item && !item.matches("[data-has-children]")) setOpen(false);
869
878
  };
870
- $[43] = t14;
871
- } else t14 = $[43];
872
- const closeOnNavigate = t14;
873
- let t15;
874
- if ($[44] !== className) {
875
- t15 = cx("oui-app-shell", className);
876
- $[44] = className;
877
- $[45] = t15;
878
- } else t15 = $[45];
879
- let t16;
880
- if ($[46] !== navbar || $[47] !== register) {
881
- t16 = /* @__PURE__ */ jsx("div", {
879
+ $[44] = t12;
880
+ } else t12 = $[44];
881
+ const closeOnNavigate = t12;
882
+ let t13;
883
+ if ($[45] !== className) {
884
+ t13 = cx("oui-app-shell", className);
885
+ $[45] = className;
886
+ $[46] = t13;
887
+ } else t13 = $[46];
888
+ let t14;
889
+ if ($[47] !== navbar || $[48] !== register) {
890
+ t14 = /* @__PURE__ */ jsx("div", {
882
891
  className: "oui-app-shell__navbar",
883
892
  children: /* @__PURE__ */ jsx(PinnedRegistryContext, {
884
893
  value: register,
885
894
  children: navbar
886
895
  })
887
896
  });
888
- $[46] = navbar;
889
- $[47] = register;
890
- $[48] = t16;
891
- } else t16 = $[48];
892
- let t17;
893
- if ($[49] !== drawer || $[50] !== hasTabs || $[51] !== menuLabel || $[52] !== mobileActions || $[53] !== mobileBrand || $[54] !== showTopBar) {
894
- t17 = showTopBar && /* @__PURE__ */ jsxs("header", {
897
+ $[47] = navbar;
898
+ $[48] = register;
899
+ $[49] = t14;
900
+ } else t14 = $[49];
901
+ let t15;
902
+ if ($[50] !== drawer || $[51] !== hasTabs || $[52] !== menuLabel || $[53] !== mobileActions || $[54] !== mobileBrand || $[55] !== showTopBar) {
903
+ t15 = showTopBar && /* @__PURE__ */ jsxs("header", {
895
904
  className: "oui-app-shell__mobile-bar",
896
905
  children: [
897
906
  !hasTabs && /* @__PURE__ */ jsx(Dialog.Trigger, {
@@ -907,112 +916,126 @@ function AppShell(t0) {
907
916
  mobileActions
908
917
  ]
909
918
  });
910
- $[49] = drawer;
911
- $[50] = hasTabs;
912
- $[51] = menuLabel;
913
- $[52] = mobileActions;
914
- $[53] = mobileBrand;
915
- $[54] = showTopBar;
916
- $[55] = t17;
917
- } else t17 = $[55];
918
- const t18 = hasTabs && mobileNavPosition === "top" && tabbar;
919
- const t19 = mainProps?.className;
920
- let t20;
921
- if ($[56] !== t19) {
922
- t20 = cx("oui-app-shell__main", t19);
923
- $[56] = t19;
924
- $[57] = t20;
925
- } else t20 = $[57];
926
- let t21;
927
- if ($[58] !== children || $[59] !== mainProps || $[60] !== t20) {
928
- t21 = /* @__PURE__ */ jsx("main", {
919
+ $[50] = drawer;
920
+ $[51] = hasTabs;
921
+ $[52] = menuLabel;
922
+ $[53] = mobileActions;
923
+ $[54] = mobileBrand;
924
+ $[55] = showTopBar;
925
+ $[56] = t15;
926
+ } else t15 = $[56];
927
+ const t16 = hasTabs && mobileNavPosition === "top" && tabbar;
928
+ const t17 = mainProps?.className;
929
+ let t18;
930
+ if ($[57] !== t17) {
931
+ t18 = cx("oui-app-shell__main", t17);
932
+ $[57] = t17;
933
+ $[58] = t18;
934
+ } else t18 = $[58];
935
+ let t19;
936
+ if ($[59] !== children || $[60] !== mainProps || $[61] !== t18) {
937
+ t19 = /* @__PURE__ */ jsx("main", {
929
938
  ...mainProps,
930
- className: t20,
939
+ className: t18,
931
940
  children
932
941
  });
933
- $[58] = children;
934
- $[59] = mainProps;
935
- $[60] = t20;
936
- $[61] = t21;
937
- } else t21 = $[61];
938
- const t22 = hasTabs && mobileNavPosition === "bottom" && tabbar;
939
- let t23;
940
- if ($[62] === Symbol.for("react.memo_cache_sentinel")) {
941
- t23 = /* @__PURE__ */ jsx(Dialog.Backdrop, { className: "oui-dialog__backdrop" });
942
- $[62] = t23;
943
- } else t23 = $[62];
944
- let t24;
942
+ $[59] = children;
943
+ $[60] = mainProps;
944
+ $[61] = t18;
945
+ $[62] = t19;
946
+ } else t19 = $[62];
947
+ const t20 = hasTabs && mobileNavPosition === "bottom" && tabbar;
948
+ let t21;
945
949
  if ($[63] === Symbol.for("react.memo_cache_sentinel")) {
946
- t24 = /* @__PURE__ */ jsx(Dialog.Close, {
950
+ t21 = /* @__PURE__ */ jsx(Dialog.Backdrop, { className: "oui-dialog__backdrop" });
951
+ $[63] = t21;
952
+ } else t21 = $[63];
953
+ let t22;
954
+ if ($[64] === Symbol.for("react.memo_cache_sentinel")) {
955
+ t22 = /* @__PURE__ */ jsx(XIcon, {});
956
+ $[64] = t22;
957
+ } else t22 = $[64];
958
+ let t23;
959
+ if ($[65] !== text.closeNavigation) {
960
+ t23 = /* @__PURE__ */ jsx(Dialog.Close, {
947
961
  className: "oui-app-shell__drawer-close",
948
- "aria-label": "Close navigation",
949
- children: /* @__PURE__ */ jsx(XIcon, {})
962
+ "aria-label": text.closeNavigation,
963
+ children: t22
964
+ });
965
+ $[65] = text.closeNavigation;
966
+ $[66] = t23;
967
+ } else t23 = $[66];
968
+ let t24;
969
+ if ($[67] !== navbar) {
970
+ t24 = /* @__PURE__ */ jsx(NavbarDrawerContext, {
971
+ value: true,
972
+ children: navbar
950
973
  });
951
- $[63] = t24;
952
- } else t24 = $[63];
974
+ $[67] = navbar;
975
+ $[68] = t24;
976
+ } else t24 = $[68];
953
977
  let t25;
954
- if ($[64] !== navbar) {
978
+ if ($[69] !== t23 || $[70] !== t24 || $[71] !== text.navigation) {
955
979
  t25 = /* @__PURE__ */ jsxs(Dialog.Popup, {
956
980
  className: "oui-app-shell__drawer",
957
- "aria-label": "Navigation",
981
+ "aria-label": text.navigation,
958
982
  onClick: closeOnNavigate,
959
- children: [t24, /* @__PURE__ */ jsx(NavbarDrawerContext, {
960
- value: true,
961
- children: navbar
962
- })]
983
+ children: [t23, t24]
963
984
  });
964
- $[64] = navbar;
965
- $[65] = t25;
966
- } else t25 = $[65];
985
+ $[69] = t23;
986
+ $[70] = t24;
987
+ $[71] = text.navigation;
988
+ $[72] = t25;
989
+ } else t25 = $[72];
967
990
  let t26;
968
- if ($[66] !== container || $[67] !== t25) {
991
+ if ($[73] !== container || $[74] !== t25) {
969
992
  t26 = /* @__PURE__ */ jsxs(Dialog.Portal, {
970
993
  container,
971
- children: [t23, t25]
994
+ children: [t21, t25]
972
995
  });
973
- $[66] = container;
974
- $[67] = t25;
975
- $[68] = t26;
976
- } else t26 = $[68];
996
+ $[73] = container;
997
+ $[74] = t25;
998
+ $[75] = t26;
999
+ } else t26 = $[75];
977
1000
  let t27;
978
- if ($[69] !== drawer || $[70] !== open || $[71] !== t26) {
1001
+ if ($[76] !== drawer || $[77] !== open || $[78] !== t26) {
979
1002
  t27 = /* @__PURE__ */ jsx(Dialog.Root, {
980
1003
  handle: drawer,
981
1004
  open,
982
1005
  onOpenChange: setOpen,
983
1006
  children: t26
984
1007
  });
985
- $[69] = drawer;
986
- $[70] = open;
987
- $[71] = t26;
988
- $[72] = t27;
989
- } else t27 = $[72];
1008
+ $[76] = drawer;
1009
+ $[77] = open;
1010
+ $[78] = t26;
1011
+ $[79] = t27;
1012
+ } else t27 = $[79];
990
1013
  let t28;
991
- if ($[73] !== props || $[74] !== ref || $[75] !== t15 || $[76] !== t16 || $[77] !== t17 || $[78] !== t18 || $[79] !== t21 || $[80] !== t22 || $[81] !== t27) {
1014
+ if ($[80] !== props || $[81] !== ref || $[82] !== t13 || $[83] !== t14 || $[84] !== t15 || $[85] !== t16 || $[86] !== t19 || $[87] !== t20 || $[88] !== t27) {
992
1015
  t28 = /* @__PURE__ */ jsxs("div", {
993
1016
  ref,
994
- className: t15,
1017
+ className: t13,
995
1018
  ...props,
996
1019
  children: [
1020
+ t14,
1021
+ t15,
997
1022
  t16,
998
- t17,
999
- t18,
1000
- t21,
1001
- t22,
1023
+ t19,
1024
+ t20,
1002
1025
  t27
1003
1026
  ]
1004
1027
  });
1005
- $[73] = props;
1006
- $[74] = ref;
1007
- $[75] = t15;
1008
- $[76] = t16;
1009
- $[77] = t17;
1010
- $[78] = t18;
1011
- $[79] = t21;
1012
- $[80] = t22;
1013
- $[81] = t27;
1014
- $[82] = t28;
1015
- } else t28 = $[82];
1028
+ $[80] = props;
1029
+ $[81] = ref;
1030
+ $[82] = t13;
1031
+ $[83] = t14;
1032
+ $[84] = t15;
1033
+ $[85] = t16;
1034
+ $[86] = t19;
1035
+ $[87] = t20;
1036
+ $[88] = t27;
1037
+ $[89] = t28;
1038
+ } else t28 = $[89];
1016
1039
  return t28;
1017
1040
  }
1018
1041
  function _temp3(t0) {
@@ -1029,7 +1052,7 @@ function _temp() {
1029
1052
  }
1030
1053
  /** Page title block with optional breadcrumbs, eyebrow, description and actions. */
1031
1054
  function PageHeader(t0) {
1032
- const $ = c(32);
1055
+ const $ = c(34);
1033
1056
  let actions;
1034
1057
  let breadcrumbs;
1035
1058
  let className;
@@ -1093,56 +1116,64 @@ function PageHeader(t0) {
1093
1116
  $[16] = t4;
1094
1117
  } else t4 = $[16];
1095
1118
  let t5;
1096
- if ($[17] !== description) {
1097
- t5 = description && /* @__PURE__ */ jsx("p", {
1098
- className: "oui-page-header__description",
1099
- children: description
1100
- });
1101
- $[17] = description;
1102
- $[18] = t5;
1103
- } else t5 = $[18];
1104
- let t6;
1105
- if ($[19] !== t2 || $[20] !== t3 || $[21] !== t4 || $[22] !== t5) {
1106
- t6 = /* @__PURE__ */ jsxs("div", {
1119
+ if ($[17] !== t3 || $[18] !== t4) {
1120
+ t5 = /* @__PURE__ */ jsxs("div", {
1107
1121
  className: "oui-page-header__text",
1108
- children: [
1109
- t2,
1110
- t3,
1111
- t4,
1112
- t5
1113
- ]
1122
+ children: [t3, t4]
1114
1123
  });
1115
- $[19] = t2;
1116
- $[20] = t3;
1117
- $[21] = t4;
1118
- $[22] = t5;
1119
- $[23] = t6;
1120
- } else t6 = $[23];
1121
- let t7;
1122
- if ($[24] !== actions) {
1123
- t7 = actions && /* @__PURE__ */ jsx("div", {
1124
+ $[17] = t3;
1125
+ $[18] = t4;
1126
+ $[19] = t5;
1127
+ } else t5 = $[19];
1128
+ let t6;
1129
+ if ($[20] !== actions) {
1130
+ t6 = actions && /* @__PURE__ */ jsx("div", {
1124
1131
  className: "oui-page-header__actions",
1125
1132
  children: actions
1126
1133
  });
1127
- $[24] = actions;
1128
- $[25] = t7;
1129
- } else t7 = $[25];
1134
+ $[20] = actions;
1135
+ $[21] = t6;
1136
+ } else t6 = $[21];
1137
+ let t7;
1138
+ if ($[22] !== t5 || $[23] !== t6) {
1139
+ t7 = /* @__PURE__ */ jsxs("div", {
1140
+ className: "oui-page-header__heading",
1141
+ children: [t5, t6]
1142
+ });
1143
+ $[22] = t5;
1144
+ $[23] = t6;
1145
+ $[24] = t7;
1146
+ } else t7 = $[24];
1130
1147
  let t8;
1131
- if ($[26] !== props || $[27] !== ref || $[28] !== t1 || $[29] !== t6 || $[30] !== t7) {
1132
- t8 = /* @__PURE__ */ jsxs("header", {
1148
+ if ($[25] !== description) {
1149
+ t8 = description && /* @__PURE__ */ jsx("p", {
1150
+ className: "oui-page-header__description",
1151
+ children: description
1152
+ });
1153
+ $[25] = description;
1154
+ $[26] = t8;
1155
+ } else t8 = $[26];
1156
+ let t9;
1157
+ if ($[27] !== props || $[28] !== ref || $[29] !== t1 || $[30] !== t2 || $[31] !== t7 || $[32] !== t8) {
1158
+ t9 = /* @__PURE__ */ jsxs("header", {
1133
1159
  ref,
1134
1160
  className: t1,
1135
1161
  ...props,
1136
- children: [t6, t7]
1162
+ children: [
1163
+ t2,
1164
+ t7,
1165
+ t8
1166
+ ]
1137
1167
  });
1138
- $[26] = props;
1139
- $[27] = ref;
1140
- $[28] = t1;
1141
- $[29] = t6;
1142
- $[30] = t7;
1143
- $[31] = t8;
1144
- } else t8 = $[31];
1145
- return t8;
1168
+ $[27] = props;
1169
+ $[28] = ref;
1170
+ $[29] = t1;
1171
+ $[30] = t2;
1172
+ $[31] = t7;
1173
+ $[32] = t8;
1174
+ $[33] = t9;
1175
+ } else t9 = $[33];
1176
+ return t9;
1146
1177
  }
1147
1178
  /** Responsive dashboard grid: up to `columns` equal columns, fewer when its own width cannot fit them. */
1148
1179
  function Grid(t0) {