@dmsi/wedgekit-react 0.0.26 → 0.0.28

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
@@ -214,7 +214,8 @@ var Button = (_a) => {
214
214
  children,
215
215
  iconOnly = false,
216
216
  colorClassName,
217
- href
217
+ href,
218
+ id
218
219
  } = _b, props = __objRest(_b, [
219
220
  "variant",
220
221
  "as",
@@ -227,7 +228,8 @@ var Button = (_a) => {
227
228
  "children",
228
229
  "iconOnly",
229
230
  "colorClassName",
230
- "href"
231
+ "href",
232
+ "id"
231
233
  ]);
232
234
  const primaryVariantStyles = variant === "primary" && (0, import_clsx2.default)(
233
235
  (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
@@ -317,6 +319,7 @@ var Button = (_a) => {
317
319
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
318
320
  Element,
319
321
  __spreadProps(__spreadValues({
322
+ id,
320
323
  type: Element === "button" ? "button" : void 0,
321
324
  className: buttonClasses
322
325
  }, props), {
@@ -324,7 +327,7 @@ var Button = (_a) => {
324
327
  href,
325
328
  children: [
326
329
  leftIcon && leftIcon,
327
- !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: labelClasses, children }),
330
+ !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
328
331
  rightIcon && rightIcon
329
332
  ]
330
333
  })
@@ -341,14 +344,16 @@ var ContentTab = (_a) => {
341
344
  className,
342
345
  disabled = false,
343
346
  onClick,
344
- ref
347
+ ref,
348
+ id
345
349
  } = _b, props = __objRest(_b, [
346
350
  "label",
347
351
  "selected",
348
352
  "className",
349
353
  "disabled",
350
354
  "onClick",
351
- "ref"
355
+ "ref",
356
+ "id"
352
357
  ]);
353
358
  const [active, setActive] = (0, import_react.useState)(false);
354
359
  const handleClick = (0, import_react.useCallback)(
@@ -368,10 +373,11 @@ var ContentTab = (_a) => {
368
373
  !active && disabled && "bg-text-action-primary-disabled",
369
374
  className
370
375
  );
371
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "relative", children: [
376
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { id, className: "relative", children: [
372
377
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
373
378
  Button,
374
379
  __spreadProps(__spreadValues({
380
+ id: id ? `${id}-button` : void 0,
375
381
  ref,
376
382
  variant: "tertiary",
377
383
  disabled,
@@ -385,7 +391,14 @@ var ContentTab = (_a) => {
385
391
  children: label
386
392
  })
387
393
  ),
388
- selected && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: computedClassName, children: " " })
394
+ selected && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
395
+ "div",
396
+ {
397
+ id: id ? `${id}-indicator` : void 0,
398
+ className: computedClassName,
399
+ children: " "
400
+ }
401
+ )
389
402
  ] });
390
403
  };
391
404
  ContentTab.displayName = "ContentTab";
@@ -393,16 +406,16 @@ ContentTab.displayName = "ContentTab";
393
406
  // src/components/ContentTabs.tsx
394
407
  var import_jsx_runtime3 = require("react/jsx-runtime");
395
408
  var afterClasses = "after:absolute after:bottom-0 after:left-0 after:w-full after:h-0.5 after:bg-border-primary-normal z-0";
396
- var ContentTabs = ({ tabs, onTabChange }) => {
409
+ var ContentTabs = ({ tabs, onTabChange, id }) => {
397
410
  var _a, _b;
398
411
  const [selectedTab, setSelectedTab] = (0, import_react2.useState)(((_a = tabs[0]) == null ? void 0 : _a.id) || "");
399
412
  const [focusedTabIndex, setFocusedTabIndex] = (0, import_react2.useState)(0);
400
413
  const tabRefs = (0, import_react2.useRef)([]);
401
414
  const handleTabClick = (0, import_react2.useCallback)(
402
- (id, index) => {
403
- setSelectedTab(id);
415
+ (id2, index) => {
416
+ setSelectedTab(id2);
404
417
  setFocusedTabIndex(index);
405
- onTabChange == null ? void 0 : onTabChange(id);
418
+ onTabChange == null ? void 0 : onTabChange(id2);
406
419
  },
407
420
  [onTabChange]
408
421
  );
@@ -418,17 +431,18 @@ var ContentTabs = ({ tabs, onTabChange }) => {
418
431
  } else {
419
432
  return;
420
433
  }
421
- const id = tabs[newIndex].id;
422
- setSelectedTab(id);
423
- onTabChange == null ? void 0 : onTabChange(id);
434
+ const tabId = tabs[newIndex].id;
435
+ setSelectedTab(tabId);
436
+ onTabChange == null ? void 0 : onTabChange(tabId);
424
437
  (_a2 = tabRefs.current[newIndex]) == null ? void 0 : _a2.focus();
425
438
  setFocusedTabIndex(newIndex);
426
439
  };
427
440
  const selectedContent = (_b = tabs.find((tab) => tab.id === selectedTab)) == null ? void 0 : _b.content;
428
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
441
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { id, children: [
429
442
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "overflow-x-auto pb-2", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
430
443
  "div",
431
444
  {
445
+ id: id ? `${id}-tablist` : void 0,
432
446
  role: "tablist",
433
447
  "aria-orientation": "horizontal",
434
448
  className: (0, import_clsx4.default)("flex relative", afterClasses),
@@ -438,7 +452,7 @@ var ContentTabs = ({ tabs, onTabChange }) => {
438
452
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
439
453
  ContentTab,
440
454
  {
441
- id: `tab-${tab.id}`,
455
+ id: id ? `${id}-tab-${tab.id}` : void 0,
442
456
  label: tab.label,
443
457
  selected: isSelected,
444
458
  onClick: () => handleTabClick(tab.id, index),
@@ -450,7 +464,7 @@ var ContentTabs = ({ tabs, onTabChange }) => {
450
464
  className: (0, import_clsx4.default)(!isSelected && afterClasses),
451
465
  role: "tab",
452
466
  "aria-selected": isSelected,
453
- "aria-controls": `panel-${tab.id}`,
467
+ "aria-controls": `${id}-panel-${tab.id}`,
454
468
  tabIndex: isSelected ? 0 : -1,
455
469
  ref: (el) => {
456
470
  tabRefs.current[index] = el;
@@ -464,7 +478,7 @@ var ContentTabs = ({ tabs, onTabChange }) => {
464
478
  selectedContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
465
479
  "div",
466
480
  {
467
- id: `panel-${selectedTab}`,
481
+ id: (id ? `${id}-` : "") + `panel-${selectedTab}`,
468
482
  className: "mt-2",
469
483
  role: "tabpanel",
470
484
  "aria-labelledby": `tab-${selectedTab}`,
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  ContentTab
4
- } from "../chunk-5TLFMKSR.js";
5
- import "../chunk-T6HZARR7.js";
4
+ } from "../chunk-INYI65WW.js";
5
+ import "../chunk-MZJS2ZAU.js";
6
6
  import "../chunk-RDLEIAQU.js";
7
7
  import "../chunk-ORMEWXMH.js";
8
8
 
@@ -11,16 +11,16 @@ import clsx from "clsx";
11
11
  import { useState, useRef, useCallback } from "react";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  var afterClasses = "after:absolute after:bottom-0 after:left-0 after:w-full after:h-0.5 after:bg-border-primary-normal z-0";
14
- var ContentTabs = ({ tabs, onTabChange }) => {
14
+ var ContentTabs = ({ tabs, onTabChange, id }) => {
15
15
  var _a, _b;
16
16
  const [selectedTab, setSelectedTab] = useState(((_a = tabs[0]) == null ? void 0 : _a.id) || "");
17
17
  const [focusedTabIndex, setFocusedTabIndex] = useState(0);
18
18
  const tabRefs = useRef([]);
19
19
  const handleTabClick = useCallback(
20
- (id, index) => {
21
- setSelectedTab(id);
20
+ (id2, index) => {
21
+ setSelectedTab(id2);
22
22
  setFocusedTabIndex(index);
23
- onTabChange == null ? void 0 : onTabChange(id);
23
+ onTabChange == null ? void 0 : onTabChange(id2);
24
24
  },
25
25
  [onTabChange]
26
26
  );
@@ -36,17 +36,18 @@ var ContentTabs = ({ tabs, onTabChange }) => {
36
36
  } else {
37
37
  return;
38
38
  }
39
- const id = tabs[newIndex].id;
40
- setSelectedTab(id);
41
- onTabChange == null ? void 0 : onTabChange(id);
39
+ const tabId = tabs[newIndex].id;
40
+ setSelectedTab(tabId);
41
+ onTabChange == null ? void 0 : onTabChange(tabId);
42
42
  (_a2 = tabRefs.current[newIndex]) == null ? void 0 : _a2.focus();
43
43
  setFocusedTabIndex(newIndex);
44
44
  };
45
45
  const selectedContent = (_b = tabs.find((tab) => tab.id === selectedTab)) == null ? void 0 : _b.content;
46
- return /* @__PURE__ */ jsxs("div", { children: [
46
+ return /* @__PURE__ */ jsxs("div", { id, children: [
47
47
  /* @__PURE__ */ jsx("div", { className: "overflow-x-auto pb-2", children: /* @__PURE__ */ jsx(
48
48
  "div",
49
49
  {
50
+ id: id ? `${id}-tablist` : void 0,
50
51
  role: "tablist",
51
52
  "aria-orientation": "horizontal",
52
53
  className: clsx("flex relative", afterClasses),
@@ -56,7 +57,7 @@ var ContentTabs = ({ tabs, onTabChange }) => {
56
57
  return /* @__PURE__ */ jsx(
57
58
  ContentTab,
58
59
  {
59
- id: `tab-${tab.id}`,
60
+ id: id ? `${id}-tab-${tab.id}` : void 0,
60
61
  label: tab.label,
61
62
  selected: isSelected,
62
63
  onClick: () => handleTabClick(tab.id, index),
@@ -68,7 +69,7 @@ var ContentTabs = ({ tabs, onTabChange }) => {
68
69
  className: clsx(!isSelected && afterClasses),
69
70
  role: "tab",
70
71
  "aria-selected": isSelected,
71
- "aria-controls": `panel-${tab.id}`,
72
+ "aria-controls": `${id}-panel-${tab.id}`,
72
73
  tabIndex: isSelected ? 0 : -1,
73
74
  ref: (el) => {
74
75
  tabRefs.current[index] = el;
@@ -82,7 +83,7 @@ var ContentTabs = ({ tabs, onTabChange }) => {
82
83
  selectedContent && /* @__PURE__ */ jsx(
83
84
  "div",
84
85
  {
85
- id: `panel-${selectedTab}`,
86
+ id: (id ? `${id}-` : "") + `panel-${selectedTab}`,
86
87
  className: "mt-2",
87
88
  role: "tabpanel",
88
89
  "aria-labelledby": `tab-${selectedTab}`,
@@ -1,8 +1,25 @@
1
1
  "use strict";
2
2
  var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
10
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
+ var __spreadValues = (a, b) => {
12
+ for (var prop in b || (b = {}))
13
+ if (__hasOwnProp.call(b, prop))
14
+ __defNormalProp(a, prop, b[prop]);
15
+ if (__getOwnPropSymbols)
16
+ for (var prop of __getOwnPropSymbols(b)) {
17
+ if (__propIsEnum.call(b, prop))
18
+ __defNormalProp(a, prop, b[prop]);
19
+ }
20
+ return a;
21
+ };
22
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6
23
  var __export = (target, all) => {
7
24
  for (var name in all)
8
25
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -24,15 +41,16 @@ __export(DMSiLogo_exports, {
24
41
  });
25
42
  module.exports = __toCommonJS(DMSiLogo_exports);
26
43
  var import_jsx_runtime = require("react/jsx-runtime");
27
- function DMSiLogo() {
44
+ function DMSiLogo(props) {
28
45
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
29
46
  "svg",
30
- {
47
+ __spreadProps(__spreadValues({
31
48
  width: "107",
32
49
  height: "24",
33
50
  viewBox: "0 0 107 24",
34
51
  fill: "none",
35
- xmlns: "http://www.w3.org/2000/svg",
52
+ xmlns: "http://www.w3.org/2000/svg"
53
+ }, props), {
36
54
  children: [
37
55
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
38
56
  "path",
@@ -70,7 +88,7 @@ function DMSiLogo() {
70
88
  }
71
89
  )
72
90
  ]
73
- }
91
+ })
74
92
  );
75
93
  }
76
94
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,16 +1,20 @@
1
- import "../chunk-ORMEWXMH.js";
1
+ import {
2
+ __spreadProps,
3
+ __spreadValues
4
+ } from "../chunk-ORMEWXMH.js";
2
5
 
3
6
  // src/components/DMSiLogo.tsx
4
7
  import { jsx, jsxs } from "react/jsx-runtime";
5
- function DMSiLogo() {
8
+ function DMSiLogo(props) {
6
9
  return /* @__PURE__ */ jsxs(
7
10
  "svg",
8
- {
11
+ __spreadProps(__spreadValues({
9
12
  width: "107",
10
13
  height: "24",
11
14
  viewBox: "0 0 107 24",
12
15
  fill: "none",
13
- xmlns: "http://www.w3.org/2000/svg",
16
+ xmlns: "http://www.w3.org/2000/svg"
17
+ }, props), {
14
18
  children: [
15
19
  /* @__PURE__ */ jsx(
16
20
  "path",
@@ -48,7 +52,7 @@ function DMSiLogo() {
48
52
  }
49
53
  )
50
54
  ]
51
- }
55
+ })
52
56
  );
53
57
  }
54
58
  export {