@dmsi/wedgekit-react 0.0.25 → 0.0.27

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 (217) hide show
  1. package/dist/{chunk-KDEPZ6I7.js → chunk-2S2Z3L56.js} +5 -1
  2. package/dist/{chunk-TU55CHXU.js → chunk-4JLU7TAC.js} +3 -1
  3. package/dist/{chunk-Z2LOGSGE.js → chunk-4N2PED4P.js} +15 -3
  4. package/dist/{chunk-U42SKNR6.js → chunk-57WRM337.js} +68 -30
  5. package/dist/{chunk-ZFGGZXB6.js → chunk-AY7ELVQY.js} +5 -2
  6. package/dist/{chunk-I2UVVKQI.js → chunk-CHTO7PW4.js} +3 -2
  7. package/dist/{chunk-WIDBAFBU.js → chunk-FWPJ73IK.js} +3 -1
  8. package/dist/{chunk-5TLFMKSR.js → chunk-INYI65WW.js} +15 -5
  9. package/dist/{chunk-TJ44JJCB.js → chunk-J6LETUNM.js} +5 -2
  10. package/dist/{chunk-T6HZARR7.js → chunk-MZJS2ZAU.js} +6 -3
  11. package/dist/{chunk-ZCBSLV7U.js → chunk-O4M2GISS.js} +5 -2
  12. package/dist/{chunk-OUTEIXV4.js → chunk-OUSNH76S.js} +11 -3
  13. package/dist/{chunk-YDREJNAS.js → chunk-PDDZ5PMY.js} +18 -4
  14. package/dist/{chunk-4RD5ZF2V.js → chunk-QBIEU25R.js} +10 -4
  15. package/dist/chunk-QUPHLL7D.js +61 -0
  16. package/dist/{chunk-OISE6NMA.js → chunk-QV2EFOYF.js} +17 -6
  17. package/dist/{chunk-YZQNTOIF.js → chunk-QZGUMB7T.js} +10 -5
  18. package/dist/{chunk-S7R37IUP.js → chunk-S5K22XTH.js} +5 -2
  19. package/dist/{chunk-GCPJH5R6.js → chunk-S5KPS4IQ.js} +22 -7
  20. package/dist/{chunk-VELXLFMJ.js → chunk-SAMX4YGM.js} +4 -1
  21. package/dist/{chunk-TWP6YSFO.js → chunk-SKHSGGO3.js} +14 -6
  22. package/dist/chunk-TVDFTRGL.js +57 -0
  23. package/dist/{chunk-N32PXOA5.js → chunk-UT7XCBZF.js} +9 -4
  24. package/dist/{chunk-L4UM372R.js → chunk-VC3R5EUH.js} +3 -0
  25. package/dist/{chunk-UIQ733QP.js → chunk-VG4EPHJA.js} +7 -3
  26. package/dist/components/Breadcrumbs.cjs +29 -9
  27. package/dist/components/Breadcrumbs.js +29 -9
  28. package/dist/components/Button.cjs +6 -3
  29. package/dist/components/Button.js +1 -1
  30. package/dist/components/CalendarRange.cjs +11 -3
  31. package/dist/components/CalendarRange.js +1 -1
  32. package/dist/components/Caption.cjs +53 -9
  33. package/dist/components/Caption.js +53 -9
  34. package/dist/components/Checkbox.cjs +15 -6
  35. package/dist/components/Checkbox.js +2 -2
  36. package/dist/components/ContentTab.cjs +20 -7
  37. package/dist/components/ContentTab.js +2 -2
  38. package/dist/components/ContentTabs.cjs +32 -18
  39. package/dist/components/ContentTabs.js +14 -13
  40. package/dist/components/DMSiLogo.cjs +22 -4
  41. package/dist/components/DMSiLogo.js +9 -5
  42. package/dist/components/DataGrid.cjs +374 -243
  43. package/dist/components/DataGrid.js +283 -226
  44. package/dist/components/DataGridCell.cjs +79 -21
  45. package/dist/components/DataGridCell.js +7 -7
  46. package/dist/components/DataTable.cjs +197 -139
  47. package/dist/components/DataTable.js +197 -139
  48. package/dist/components/DateInput.cjs +36 -10
  49. package/dist/components/DateInput.js +7 -3
  50. package/dist/components/DateRangeInput.cjs +36 -10
  51. package/dist/components/DateRangeInput.js +7 -3
  52. package/dist/components/DebugJson.cjs +21 -13
  53. package/dist/components/DebugJson.js +21 -13
  54. package/dist/components/Display.cjs +5 -2
  55. package/dist/components/Display.js +1 -1
  56. package/dist/components/EditingContext.cjs +4 -1
  57. package/dist/components/EditingContext.js +4 -1
  58. package/dist/components/FilterGroup.cjs +102 -32
  59. package/dist/components/FilterGroup.js +41 -17
  60. package/dist/components/FullViewportBox.cjs +10 -2
  61. package/dist/components/FullViewportBox.js +10 -2
  62. package/dist/components/Grid.cjs +3 -1
  63. package/dist/components/Grid.js +3 -1
  64. package/dist/components/Heading.cjs +5 -2
  65. package/dist/components/Heading.js +1 -1
  66. package/dist/components/HorizontalDivider.cjs +2 -2
  67. package/dist/components/HorizontalDivider.js +2 -2
  68. package/dist/components/Input.cjs +21 -7
  69. package/dist/components/Input.js +2 -2
  70. package/dist/components/InputGroup.cjs +13 -6
  71. package/dist/components/InputGroup.js +9 -5
  72. package/dist/components/Label.cjs +5 -2
  73. package/dist/components/Label.js +1 -1
  74. package/dist/components/List.cjs +3 -2
  75. package/dist/components/List.js +3 -2
  76. package/dist/components/LogoAgilityTopBar.cjs +22 -4
  77. package/dist/components/LogoAgilityTopBar.js +9 -5
  78. package/dist/components/LogoDMSiTopBar.cjs +22 -4
  79. package/dist/components/LogoDMSiTopBar.js +1 -1
  80. package/dist/components/LogoMillworkTopBar.cjs +22 -4
  81. package/dist/components/LogoMillworkTopBar.js +9 -5
  82. package/dist/components/MainBar.cjs +2 -0
  83. package/dist/components/MainBar.js +2 -0
  84. package/dist/components/Menu.cjs +3 -0
  85. package/dist/components/Menu.js +1 -1
  86. package/dist/components/MenuOption.cjs +28 -7
  87. package/dist/components/MenuOption.js +3 -3
  88. package/dist/components/MobileDataGrid.cjs +101 -46
  89. package/dist/components/MobileDataGrid.js +23 -11
  90. package/dist/components/Modal.cjs +96 -51
  91. package/dist/components/Modal.js +19 -7
  92. package/dist/components/ModalButtons.cjs +43 -26
  93. package/dist/components/ModalButtons.js +2 -2
  94. package/dist/components/ModalContent.cjs +3 -1
  95. package/dist/components/ModalContent.js +1 -1
  96. package/dist/components/ModalHeader.cjs +40 -25
  97. package/dist/components/ModalHeader.js +3 -3
  98. package/dist/components/ModalScrim.cjs +3 -1
  99. package/dist/components/ModalScrim.js +1 -1
  100. package/dist/components/NavigationTab.cjs +9 -3
  101. package/dist/components/NavigationTab.js +2 -2
  102. package/dist/components/NavigationTabs.cjs +15 -7
  103. package/dist/components/NavigationTabs.js +8 -6
  104. package/dist/components/NestedMenu.cjs +28 -7
  105. package/dist/components/NestedMenu.js +3 -3
  106. package/dist/components/Notification.cjs +84 -38
  107. package/dist/components/Notification.js +8 -4
  108. package/dist/components/OptionPill.cjs +24 -6
  109. package/dist/components/OptionPill.js +3 -3
  110. package/dist/components/Paragraph.cjs +7 -3
  111. package/dist/components/Paragraph.js +1 -1
  112. package/dist/components/Password.cjs +33 -11
  113. package/dist/components/Password.js +14 -6
  114. package/dist/components/ProjectBar.cjs +3 -1
  115. package/dist/components/ProjectBar.js +3 -1
  116. package/dist/components/Radio.cjs +13 -7
  117. package/dist/components/Radio.js +7 -5
  118. package/dist/components/Search.cjs +34 -12
  119. package/dist/components/Search.js +3 -3
  120. package/dist/components/Select.cjs +25 -7
  121. package/dist/components/Select.js +3 -3
  122. package/dist/components/SideMenu.cjs +6 -1
  123. package/dist/components/SideMenu.js +6 -1
  124. package/dist/components/SideMenuGroup.cjs +96 -49
  125. package/dist/components/SideMenuGroup.js +31 -19
  126. package/dist/components/SideMenuItem.cjs +99 -43
  127. package/dist/components/SideMenuItem.js +32 -12
  128. package/dist/components/Stack.cjs +91 -30
  129. package/dist/components/Stack.js +1 -1
  130. package/dist/components/StatusPill.cjs +13 -6
  131. package/dist/components/StatusPill.js +9 -5
  132. package/dist/components/Stepper.cjs +35 -17
  133. package/dist/components/Stepper.js +11 -10
  134. package/dist/components/Subheader.cjs +5 -2
  135. package/dist/components/Subheader.js +1 -1
  136. package/dist/components/Surface.cjs +5 -2
  137. package/dist/components/Surface.js +5 -2
  138. package/dist/components/Swatch.cjs +1544 -1308
  139. package/dist/components/Swatch.js +1469 -1275
  140. package/dist/components/Textarea.cjs +5 -2
  141. package/dist/components/Textarea.js +5 -2
  142. package/dist/components/Theme.cjs +3 -2
  143. package/dist/components/Theme.js +1 -1
  144. package/dist/components/Time.cjs +98 -40
  145. package/dist/components/Time.js +18 -6
  146. package/dist/components/Toast.cjs +38 -15
  147. package/dist/components/Toast.js +23 -10
  148. package/dist/components/Tooltip.cjs +5 -4
  149. package/dist/components/Tooltip.js +1 -1
  150. package/dist/components/TopBar.cjs +16 -8
  151. package/dist/components/TopBar.js +12 -5
  152. package/package.json +1 -1
  153. package/src/components/Breadcrumbs.tsx +24 -15
  154. package/src/components/Button.tsx +7 -3
  155. package/src/components/CalendarRange.tsx +9 -0
  156. package/src/components/Caption.tsx +36 -6
  157. package/src/components/Checkbox.tsx +7 -2
  158. package/src/components/ContentTab.tsx +13 -3
  159. package/src/components/ContentTabs.tsx +11 -8
  160. package/src/components/DMSiLogo.tsx +2 -1
  161. package/src/components/DataGrid.tsx +85 -23
  162. package/src/components/DataGridCell.tsx +15 -2
  163. package/src/components/DataTable.tsx +64 -14
  164. package/src/components/DateInput.tsx +5 -1
  165. package/src/components/DateRangeInput.tsx +5 -1
  166. package/src/components/DebugJson.tsx +7 -3
  167. package/src/components/Display.tsx +3 -0
  168. package/src/components/EditingContext.tsx +8 -6
  169. package/src/components/FilterGroup.tsx +23 -3
  170. package/src/components/FullViewportBox.tsx +6 -1
  171. package/src/components/Grid.tsx +3 -0
  172. package/src/components/Heading.tsx +3 -0
  173. package/src/components/HorizontalDivider.tsx +4 -2
  174. package/src/components/Input.tsx +19 -10
  175. package/src/components/InputGroup.tsx +8 -4
  176. package/src/components/Label.tsx +3 -0
  177. package/src/components/Link.tsx +1 -0
  178. package/src/components/List.tsx +7 -1
  179. package/src/components/LogoAgilityTopBar.tsx +2 -1
  180. package/src/components/LogoDMSiTopBar.tsx +2 -1
  181. package/src/components/LogoMillworkTopBar.tsx +2 -1
  182. package/src/components/MainBar.tsx +3 -0
  183. package/src/components/Menu.tsx +3 -0
  184. package/src/components/MenuOption.tsx +72 -58
  185. package/src/components/MobileDataGrid.tsx +15 -4
  186. package/src/components/Modal.tsx +10 -1
  187. package/src/components/ModalButtons.tsx +12 -1
  188. package/src/components/ModalContent.tsx +3 -0
  189. package/src/components/ModalHeader.tsx +16 -6
  190. package/src/components/ModalScrim.tsx +3 -0
  191. package/src/components/NavigationTab.tsx +6 -3
  192. package/src/components/NavigationTabs.tsx +5 -2
  193. package/src/components/Notification.tsx +4 -0
  194. package/src/components/OptionPill.tsx +9 -1
  195. package/src/components/Paragraph.tsx +3 -0
  196. package/src/components/Password.tsx +9 -3
  197. package/src/components/ProjectBar.tsx +3 -0
  198. package/src/components/Radio.tsx +3 -2
  199. package/src/components/Search.tsx +56 -41
  200. package/src/components/Select.tsx +6 -1
  201. package/src/components/SideMenu.tsx +7 -1
  202. package/src/components/SideMenuGroup.tsx +13 -2
  203. package/src/components/SideMenuItem.tsx +15 -2
  204. package/src/components/Stack.tsx +8 -3
  205. package/src/components/StatusPill.tsx +4 -2
  206. package/src/components/Stepper.tsx +5 -5
  207. package/src/components/Subheader.tsx +3 -0
  208. package/src/components/Surface.tsx +3 -0
  209. package/src/components/Swatch.tsx +415 -140
  210. package/src/components/Textarea.tsx +6 -3
  211. package/src/components/Theme.tsx +3 -1
  212. package/src/components/Time.tsx +21 -5
  213. package/src/components/Toast.tsx +29 -14
  214. package/src/components/Tooltip.tsx +46 -32
  215. package/src/components/TopBar.tsx +7 -3
  216. package/dist/chunk-DBYSGYST.js +0 -47
  217. package/dist/chunk-UK3WG7HQ.js +0 -48
@@ -208,7 +208,8 @@ var Button = (_a) => {
208
208
  children,
209
209
  iconOnly = false,
210
210
  colorClassName,
211
- href
211
+ href,
212
+ id
212
213
  } = _b, props = __objRest(_b, [
213
214
  "variant",
214
215
  "as",
@@ -221,7 +222,8 @@ var Button = (_a) => {
221
222
  "children",
222
223
  "iconOnly",
223
224
  "colorClassName",
224
- "href"
225
+ "href",
226
+ "id"
225
227
  ]);
226
228
  const primaryVariantStyles = variant === "primary" && (0, import_clsx2.default)(
227
229
  (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
@@ -311,6 +313,7 @@ var Button = (_a) => {
311
313
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
312
314
  Element,
313
315
  __spreadProps(__spreadValues({
316
+ id,
314
317
  type: Element === "button" ? "button" : void 0,
315
318
  className: buttonClasses
316
319
  }, props), {
@@ -318,7 +321,7 @@ var Button = (_a) => {
318
321
  href,
319
322
  children: [
320
323
  leftIcon && leftIcon,
321
- !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: labelClasses, children }),
324
+ !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
322
325
  rightIcon && rightIcon
323
326
  ]
324
327
  })
@@ -339,18 +342,21 @@ var Label = (_a) => {
339
342
  padded,
340
343
  className,
341
344
  color,
342
- align
345
+ align,
346
+ id
343
347
  } = _b, props = __objRest(_b, [
344
348
  "as",
345
349
  "padded",
346
350
  "className",
347
351
  "color",
348
- "align"
352
+ "align",
353
+ "id"
349
354
  ]);
350
355
  const Element = as;
351
356
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
352
357
  Element,
353
358
  __spreadProps(__spreadValues({
359
+ id,
354
360
  className: (0, import_clsx3.default)(
355
361
  typography.label,
356
362
  align === "left" && "text-left",
@@ -437,6 +443,7 @@ function formatCurrencyDisplay(value) {
437
443
  var import_jsx_runtime4 = require("react/jsx-runtime");
438
444
  var InputBase = (_a) => {
439
445
  var _b = _a, {
446
+ id,
440
447
  before,
441
448
  after,
442
449
  type,
@@ -453,6 +460,7 @@ var InputBase = (_a) => {
453
460
  wrapperClassName,
454
461
  focus
455
462
  } = _b, props = __objRest(_b, [
463
+ "id",
456
464
  "before",
457
465
  "after",
458
466
  "type",
@@ -474,6 +482,7 @@ var InputBase = (_a) => {
474
482
  "data-focus": focus || null
475
483
  };
476
484
  const inputRef = (0, import_react.useRef)(null);
485
+ const inputId = `${id}-input`;
477
486
  (0, import_react.useEffect)(() => {
478
487
  var _a2;
479
488
  const input = inputRef.current;
@@ -514,6 +523,8 @@ var InputBase = (_a) => {
514
523
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
515
524
  "label",
516
525
  {
526
+ id,
527
+ htmlFor: inputId,
517
528
  ref: inputContainerRef,
518
529
  className: (0, import_clsx5.default)(
519
530
  "w-full flex flex-col",
@@ -527,6 +538,7 @@ var InputBase = (_a) => {
527
538
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
528
539
  Label,
529
540
  {
541
+ id: id ? `${id}-label` : void 0,
530
542
  className: (0, import_clsx5.default)(
531
543
  props.disabled || props.readOnly ? "cursor-default" : "cursor-pointer"
532
544
  ),
@@ -563,7 +575,7 @@ var InputBase = (_a) => {
563
575
  type,
564
576
  required
565
577
  }, props), attributes), {
566
- id: props.id,
578
+ id: inputId,
567
579
  className: (0, import_clsx5.default)(
568
580
  "flex-1 outline-none w-full max-w-full min-h-6 min-w-0",
569
581
  "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",
@@ -581,7 +593,7 @@ var InputBase = (_a) => {
581
593
  ]
582
594
  }
583
595
  ),
584
- caption
596
+ caption && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { id: id ? `${id}-caption` : void 0, children: caption })
585
597
  ]
586
598
  }
587
599
  );
@@ -595,7 +607,8 @@ var Input = (_a) => {
595
607
  value: propValue,
596
608
  onChange,
597
609
  onBlur,
598
- onClear
610
+ onClear,
611
+ id
599
612
  } = _b, props = __objRest(_b, [
600
613
  "variant",
601
614
  "decimals",
@@ -604,7 +617,8 @@ var Input = (_a) => {
604
617
  "value",
605
618
  "onChange",
606
619
  "onBlur",
607
- "onClear"
620
+ "onClear",
621
+ "id"
608
622
  ]);
609
623
  const [internalValue, setInternalValue] = (0, import_react.useState)("");
610
624
  const [displayValue, setDisplayValue] = (0, import_react.useState)("");
@@ -630,7 +644,9 @@ var Input = (_a) => {
630
644
  }, [propValue, decimals, variant]);
631
645
  const getInputProps = () => {
632
646
  var _a2;
633
- const baseProps = __spreadProps(__spreadValues(__spreadValues({}, props), getDecimalPlaceholder(decimals)), {
647
+ const baseProps = __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, props), {
648
+ id
649
+ }), getDecimalPlaceholder(decimals)), {
634
650
  value: propValue
635
651
  });
636
652
  switch (variant) {
@@ -677,6 +693,7 @@ var Input = (_a) => {
677
693
  return hasValue && !props.readOnly ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
678
694
  Icon,
679
695
  {
696
+ id: id ? `${id}-clear-button` : void 0,
680
697
  name: "close",
681
698
  onClick: handleSearchReset,
682
699
  className: "cursor-pointer absolute right-2 bottom-2/4 translate-y-2/4"
@@ -814,14 +831,16 @@ var Stepper = (_a) => {
814
831
  value,
815
832
  setValue,
816
833
  onDecrease,
817
- onIncrease
834
+ onIncrease,
835
+ id
818
836
  } = _b, props = __objRest(_b, [
819
837
  "error",
820
838
  "disabled",
821
839
  "value",
822
840
  "setValue",
823
841
  "onDecrease",
824
- "onIncrease"
842
+ "onIncrease",
843
+ "id"
825
844
  ]);
826
845
  function handleIncrease() {
827
846
  setValue((prevVal) => prevVal + 1);
@@ -831,13 +850,11 @@ var Stepper = (_a) => {
831
850
  setValue((prevVal) => prevVal - 1);
832
851
  onDecrease == null ? void 0 : onDecrease();
833
852
  }
834
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: (0, import_clsx6.default)(
835
- "flex items-center",
836
- componentGap
837
- ), children: [
853
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { id, className: (0, import_clsx6.default)("flex items-center", componentGap), children: [
838
854
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
839
855
  Button,
840
856
  {
857
+ id: id ? `${id}-decrease-button` : void 0,
841
858
  iconOnly: true,
842
859
  variant: "tertiary",
843
860
  leftIcon: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
@@ -858,7 +875,7 @@ var Stepper = (_a) => {
858
875
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
859
876
  InputBase,
860
877
  __spreadProps(__spreadValues({}, props), {
861
- id: props.id,
878
+ id: id ? `${id}-input` : void 0,
862
879
  type: "number",
863
880
  align: "center",
864
881
  value,
@@ -871,6 +888,7 @@ var Stepper = (_a) => {
871
888
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
872
889
  Button,
873
890
  {
891
+ id: id ? `${id}-increase-button` : void 0,
874
892
  iconOnly: true,
875
893
  variant: "tertiary",
876
894
  leftIcon: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  InputBase
4
- } from "../chunk-OISE6NMA.js";
5
- import "../chunk-S7R37IUP.js";
4
+ } from "../chunk-QV2EFOYF.js";
5
+ import "../chunk-S5K22XTH.js";
6
6
  import {
7
7
  Button
8
- } from "../chunk-T6HZARR7.js";
8
+ } from "../chunk-MZJS2ZAU.js";
9
9
  import {
10
10
  Icon
11
11
  } from "../chunk-IGQVA7SC.js";
@@ -28,14 +28,16 @@ var Stepper = (_a) => {
28
28
  value,
29
29
  setValue,
30
30
  onDecrease,
31
- onIncrease
31
+ onIncrease,
32
+ id
32
33
  } = _b, props = __objRest(_b, [
33
34
  "error",
34
35
  "disabled",
35
36
  "value",
36
37
  "setValue",
37
38
  "onDecrease",
38
- "onIncrease"
39
+ "onIncrease",
40
+ "id"
39
41
  ]);
40
42
  function handleIncrease() {
41
43
  setValue((prevVal) => prevVal + 1);
@@ -45,13 +47,11 @@ var Stepper = (_a) => {
45
47
  setValue((prevVal) => prevVal - 1);
46
48
  onDecrease == null ? void 0 : onDecrease();
47
49
  }
48
- return /* @__PURE__ */ jsxs("div", { className: clsx(
49
- "flex items-center",
50
- componentGap
51
- ), children: [
50
+ return /* @__PURE__ */ jsxs("div", { id, className: clsx("flex items-center", componentGap), children: [
52
51
  /* @__PURE__ */ jsx(
53
52
  Button,
54
53
  {
54
+ id: id ? `${id}-decrease-button` : void 0,
55
55
  iconOnly: true,
56
56
  variant: "tertiary",
57
57
  leftIcon: /* @__PURE__ */ jsx(
@@ -72,7 +72,7 @@ var Stepper = (_a) => {
72
72
  /* @__PURE__ */ jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsx(
73
73
  InputBase,
74
74
  __spreadProps(__spreadValues({}, props), {
75
- id: props.id,
75
+ id: id ? `${id}-input` : void 0,
76
76
  type: "number",
77
77
  align: "center",
78
78
  value,
@@ -85,6 +85,7 @@ var Stepper = (_a) => {
85
85
  /* @__PURE__ */ jsx(
86
86
  Button,
87
87
  {
88
+ id: id ? `${id}-increase-button` : void 0,
88
89
  iconOnly: true,
89
90
  variant: "tertiary",
90
91
  leftIcon: /* @__PURE__ */ jsx(
@@ -199,19 +199,22 @@ var Subheader = (_a) => {
199
199
  as = "span",
200
200
  align,
201
201
  color,
202
- tall
202
+ tall,
203
+ id
203
204
  } = _b, props = __objRest(_b, [
204
205
  "className",
205
206
  "children",
206
207
  "as",
207
208
  "align",
208
209
  "color",
209
- "tall"
210
+ "tall",
211
+ "id"
210
212
  ]);
211
213
  const Element = as;
212
214
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
213
215
  Element,
214
216
  __spreadProps(__spreadValues({
217
+ id,
215
218
  className: (0, import_clsx2.default)(
216
219
  typography.subheader,
217
220
  className,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Subheader
3
- } from "../chunk-ZCBSLV7U.js";
3
+ } from "../chunk-O4M2GISS.js";
4
4
  import "../chunk-RDLEIAQU.js";
5
5
  import "../chunk-ORMEWXMH.js";
6
6
  export {
@@ -68,15 +68,18 @@ var Surface = (_a) => {
68
68
  var _b = _a, {
69
69
  children,
70
70
  className,
71
- elevation = 0
71
+ elevation = 0,
72
+ id
72
73
  } = _b, props = __objRest(_b, [
73
74
  "children",
74
75
  "className",
75
- "elevation"
76
+ "elevation",
77
+ "id"
76
78
  ]);
77
79
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
78
80
  "div",
79
81
  __spreadProps(__spreadValues({
82
+ id,
80
83
  className: (0, import_clsx.default)(
81
84
  "rounded-base",
82
85
  {
@@ -11,15 +11,18 @@ var Surface = (_a) => {
11
11
  var _b = _a, {
12
12
  children,
13
13
  className,
14
- elevation = 0
14
+ elevation = 0,
15
+ id
15
16
  } = _b, props = __objRest(_b, [
16
17
  "children",
17
18
  "className",
18
- "elevation"
19
+ "elevation",
20
+ "id"
19
21
  ]);
20
22
  return /* @__PURE__ */ jsx(
21
23
  "div",
22
24
  __spreadProps(__spreadValues({
25
+ id,
23
26
  className: clsx(
24
27
  "rounded-base",
25
28
  {