@dmsi/wedgekit-react 0.0.105 → 0.0.107

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 (63) hide show
  1. package/dist/{chunk-X62XGQY7.js → chunk-2XOQII4G.js} +1 -1
  2. package/dist/{chunk-6UI5GABI.js → chunk-3JRVV6QY.js} +1 -1
  3. package/dist/{chunk-QNQ5K7NW.js → chunk-3NWBR3V3.js} +1 -1
  4. package/dist/chunk-4F6VQXKY.js +112 -0
  5. package/dist/{chunk-CG2NIXZE.js → chunk-6CS5ZBXO.js} +1 -1
  6. package/dist/{chunk-P242H6OU.js → chunk-IMN6I5NV.js} +1 -1
  7. package/dist/{chunk-VPEVXTBJ.js → chunk-KYMBBPEW.js} +9 -4
  8. package/dist/{chunk-H6LXXGX6.js → chunk-L364HTYC.js} +7 -5
  9. package/dist/{chunk-WVLT6XM7.js → chunk-OX3HKFIH.js} +2 -2
  10. package/dist/{chunk-D2YP2BTN.js → chunk-QIHDPSOM.js} +2 -2
  11. package/dist/{chunk-E5VEDZYV.js → chunk-ZEGVZ5NW.js} +2 -2
  12. package/dist/components/Button.cjs +7 -5
  13. package/dist/components/Button.js +1 -1
  14. package/dist/components/ContentTab.cjs +7 -5
  15. package/dist/components/ContentTab.js +2 -2
  16. package/dist/components/ContentTabs.cjs +7 -5
  17. package/dist/components/ContentTabs.js +2 -2
  18. package/dist/components/DataGridCell.cjs +2 -2
  19. package/dist/components/DataGridCell.js +1 -1
  20. package/dist/components/FilterGroup.cjs +7 -5
  21. package/dist/components/FilterGroup.js +2 -2
  22. package/dist/components/LoadingScrim.cjs +168 -0
  23. package/dist/components/LoadingScrim.js +27 -0
  24. package/dist/components/MobileDataGrid.cjs +7 -5
  25. package/dist/components/MobileDataGrid.js +1 -1
  26. package/dist/components/Modal.cjs +7 -5
  27. package/dist/components/Modal.js +4 -4
  28. package/dist/components/ModalButtons.cjs +7 -5
  29. package/dist/components/ModalButtons.js +2 -2
  30. package/dist/components/ModalHeader.cjs +7 -5
  31. package/dist/components/ModalHeader.js +2 -2
  32. package/dist/components/NavigationTab.cjs +7 -5
  33. package/dist/components/NavigationTab.js +2 -2
  34. package/dist/components/NavigationTabs.cjs +7 -5
  35. package/dist/components/NavigationTabs.js +2 -2
  36. package/dist/components/Notification.cjs +7 -5
  37. package/dist/components/Notification.js +1 -1
  38. package/dist/components/OptionPill.cjs +7 -5
  39. package/dist/components/OptionPill.js +2 -2
  40. package/dist/components/PDFViewer.cjs +7 -5
  41. package/dist/components/PDFViewer.js +4 -4
  42. package/dist/components/PaymentOnAccountModal.cjs +15 -8
  43. package/dist/components/PaymentOnAccountModal.js +6 -6
  44. package/dist/components/SelectPaymentMethod.cjs +15 -8
  45. package/dist/components/SelectPaymentMethod.js +2 -2
  46. package/dist/components/Spinner.cjs +136 -0
  47. package/dist/components/Spinner.js +7 -0
  48. package/dist/components/Stepper.cjs +7 -5
  49. package/dist/components/Stepper.js +1 -1
  50. package/dist/components/Toast.cjs +7 -5
  51. package/dist/components/Toast.js +1 -1
  52. package/dist/components/Upload.cjs +7 -5
  53. package/dist/components/Upload.js +1 -1
  54. package/dist/components/index.cjs +19 -11
  55. package/dist/components/index.js +9 -8
  56. package/dist/index.css +40 -0
  57. package/package.json +1 -1
  58. package/src/components/Button.tsx +7 -5
  59. package/src/components/DataGrid/index.tsx +10 -4
  60. package/src/components/DataGridCell.tsx +2 -2
  61. package/src/components/LoadingScrim.tsx +32 -0
  62. package/src/components/SelectPaymentMethod.tsx +6 -2
  63. package/src/components/Spinner.tsx +102 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Button
3
- } from "./chunk-H6LXXGX6.js";
3
+ } from "./chunk-L364HTYC.js";
4
4
  import {
5
5
  __objRest,
6
6
  __spreadProps,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-J6LETUNM.js";
4
4
  import {
5
5
  Button
6
- } from "./chunk-H6LXXGX6.js";
6
+ } from "./chunk-L364HTYC.js";
7
7
  import {
8
8
  Icon
9
9
  } from "./chunk-IGQVA7SC.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S5K22XTH.js";
4
4
  import {
5
5
  Button
6
- } from "./chunk-H6LXXGX6.js";
6
+ } from "./chunk-L364HTYC.js";
7
7
  import {
8
8
  Icon
9
9
  } from "./chunk-IGQVA7SC.js";
@@ -0,0 +1,112 @@
1
+ // src/components/Spinner.tsx
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ var Spinner = ({ size = "small" }) => {
4
+ const dimension = size === "large" ? 48 : 24;
5
+ return /* @__PURE__ */ jsxs(
6
+ "svg",
7
+ {
8
+ width: dimension,
9
+ height: dimension,
10
+ viewBox: "0 0 24 24",
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ fill: "#1D1E1E",
13
+ className: size === "large" ? "animate-spin" : "",
14
+ "aria-label": "Loading",
15
+ children: [
16
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "4", r: "2", opacity: "1", children: /* @__PURE__ */ jsx(
17
+ "animate",
18
+ {
19
+ attributeName: "opacity",
20
+ begin: "0s",
21
+ dur: "1s",
22
+ from: "1",
23
+ to: "0",
24
+ repeatCount: "indefinite"
25
+ }
26
+ ) }),
27
+ /* @__PURE__ */ jsx("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125", children: /* @__PURE__ */ jsx(
28
+ "animate",
29
+ {
30
+ attributeName: "opacity",
31
+ begin: "-0.875s",
32
+ dur: "1s",
33
+ from: "1",
34
+ to: "0",
35
+ repeatCount: "indefinite"
36
+ }
37
+ ) }),
38
+ /* @__PURE__ */ jsx("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25", children: /* @__PURE__ */ jsx(
39
+ "animate",
40
+ {
41
+ attributeName: "opacity",
42
+ begin: "-0.75s",
43
+ dur: "1s",
44
+ from: "1",
45
+ to: "0",
46
+ repeatCount: "indefinite"
47
+ }
48
+ ) }),
49
+ /* @__PURE__ */ jsx("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375", children: /* @__PURE__ */ jsx(
50
+ "animate",
51
+ {
52
+ attributeName: "opacity",
53
+ begin: "-0.625s",
54
+ dur: "1s",
55
+ from: "1",
56
+ to: "0",
57
+ repeatCount: "indefinite"
58
+ }
59
+ ) }),
60
+ /* @__PURE__ */ jsx("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5", children: /* @__PURE__ */ jsx(
61
+ "animate",
62
+ {
63
+ attributeName: "opacity",
64
+ begin: "-0.5s",
65
+ dur: "1s",
66
+ from: "1",
67
+ to: "0",
68
+ repeatCount: "indefinite"
69
+ }
70
+ ) }),
71
+ /* @__PURE__ */ jsx("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625", children: /* @__PURE__ */ jsx(
72
+ "animate",
73
+ {
74
+ attributeName: "opacity",
75
+ begin: "-0.375s",
76
+ dur: "1s",
77
+ from: "1",
78
+ to: "0",
79
+ repeatCount: "indefinite"
80
+ }
81
+ ) }),
82
+ /* @__PURE__ */ jsx("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75", children: /* @__PURE__ */ jsx(
83
+ "animate",
84
+ {
85
+ attributeName: "opacity",
86
+ begin: "-0.25s",
87
+ dur: "1s",
88
+ from: "1",
89
+ to: "0",
90
+ repeatCount: "indefinite"
91
+ }
92
+ ) }),
93
+ /* @__PURE__ */ jsx("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875", children: /* @__PURE__ */ jsx(
94
+ "animate",
95
+ {
96
+ attributeName: "opacity",
97
+ begin: "-0.125s",
98
+ dur: "1s",
99
+ from: "1",
100
+ to: "0",
101
+ repeatCount: "indefinite"
102
+ }
103
+ ) })
104
+ ]
105
+ }
106
+ );
107
+ };
108
+ Spinner.displayName = "Spinner";
109
+
110
+ export {
111
+ Spinner
112
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Button
3
- } from "./chunk-H6LXXGX6.js";
3
+ } from "./chunk-L364HTYC.js";
4
4
  import {
5
5
  Icon
6
6
  } from "./chunk-IGQVA7SC.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Button
3
- } from "./chunk-H6LXXGX6.js";
3
+ } from "./chunk-L364HTYC.js";
4
4
  import {
5
5
  Icon
6
6
  } from "./chunk-IGQVA7SC.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-VG4EPHJA.js";
28
28
  import {
29
29
  Button
30
- } from "./chunk-H6LXXGX6.js";
30
+ } from "./chunk-L364HTYC.js";
31
31
  import {
32
32
  Icon
33
33
  } from "./chunk-IGQVA7SC.js";
@@ -81,7 +81,13 @@ function SelectPaymentMethod(props) {
81
81
  {
82
82
  isOpen: selectedMethod === "CCPayment",
83
83
  title: "Pay by Credit/Debit Card",
84
- before: /* @__PURE__ */ jsx(Radio, { checked: selectedMethod === "CCPayment", readOnly: true }),
84
+ before: /* @__PURE__ */ jsx(
85
+ Radio,
86
+ {
87
+ checked: selectedMethod === "CCPayment",
88
+ onClick: (e) => e.preventDefault()
89
+ }
90
+ ),
85
91
  onClick: () => handleToggle(selectedMethod === "CCPayment" ? null : "CCPayment"),
86
92
  children: /* @__PURE__ */ jsx(Button, { className: "w-full", onClick: onPay, disabled: isPayLoading, children: isPayLoading ? "Processing..." : "Proceed to Payment" })
87
93
  }
@@ -125,8 +131,7 @@ function ACHSelector(props) {
125
131
  before: /* @__PURE__ */ jsx(
126
132
  Radio,
127
133
  {
128
- checked: !!selectedBankGuid && selectedMethod === "ACHPayment",
129
- readOnly: true
134
+ checked: !!selectedBankGuid && selectedMethod === "ACHPayment"
130
135
  }
131
136
  ),
132
137
  onClick: () => setIsOpen((prev) => !prev),
@@ -95,11 +95,14 @@ var Button = (_a) => {
95
95
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
96
96
  );
97
97
  const navigationVarianStyles = variant === "navigation" && clsx(
98
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
98
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
99
99
  "bg-transparent",
100
- "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
101
- "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
102
- "active:bg-background-action-secondary-active active:text-text-action-primary-active",
100
+ "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
101
+ // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
102
+ "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
103
+ // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
104
+ "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
105
+ // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
103
106
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
104
107
  "flex-col",
105
108
  paddingUsingComponentGap
@@ -137,7 +140,6 @@ var Button = (_a) => {
137
140
  onClick: props.onClick,
138
141
  disabled,
139
142
  href,
140
- "data-theme": variant === "navigation" ? "brand" : void 0,
141
143
  children: [
142
144
  leftIcon && leftIcon,
143
145
  !iconOnly && children && /* @__PURE__ */ jsx("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SelectPaymentMethod
3
- } from "./chunk-VPEVXTBJ.js";
3
+ } from "./chunk-KYMBBPEW.js";
4
4
  import {
5
5
  Modal
6
- } from "./chunk-D2YP2BTN.js";
6
+ } from "./chunk-QIHDPSOM.js";
7
7
  import {
8
8
  Input
9
9
  } from "./chunk-R5TLUWDD.js";
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-4RJKB7LC.js";
4
4
  import {
5
5
  ModalButtons
6
- } from "./chunk-CG2NIXZE.js";
6
+ } from "./chunk-6CS5ZBXO.js";
7
7
  import {
8
8
  ModalContent
9
9
  } from "./chunk-FWPJ73IK.js";
10
10
  import {
11
11
  ModalHeader
12
- } from "./chunk-6UI5GABI.js";
12
+ } from "./chunk-3JRVV6QY.js";
13
13
  import {
14
14
  ModalScrim
15
15
  } from "./chunk-4JLU7TAC.js";
@@ -122,9 +122,10 @@ var DataGridCell = memo(
122
122
  lockedHeaderBgStyles,
123
123
  iconComponentStyles,
124
124
  className,
125
- "flex flex-1 items-center gap-1 whitespace-nowrap h-10 relative text-text-action-primary-normal",
125
+ "flex flex-1 items-center gap-1 whitespace-nowrap h-10 relative text-text-primary-normal",
126
126
  "focus-within:!z-10",
127
127
  "overflow-x-hidden",
128
+ "overflow-y-hidden",
128
129
  component === "input" && "border",
129
130
  component === "input" && !error && !warning && "border-border-primary-normal",
130
131
  component === "input" && error && "border-border-primary-error",
@@ -142,7 +143,6 @@ var DataGridCell = memo(
142
143
  className: clsx("flex h-10", !width && "flex-1"),
143
144
  style: { width }
144
145
  }, props), {
145
- "data-theme": type === "header" ? "brand" : void 0,
146
146
  children: /* @__PURE__ */ jsx(
147
147
  "div",
148
148
  {
@@ -272,11 +272,14 @@ var Button = (_a) => {
272
272
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
273
273
  );
274
274
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
275
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
275
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
276
276
  "bg-transparent",
277
- "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
278
- "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
279
- "active:bg-background-action-secondary-active active:text-text-action-primary-active",
277
+ "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
278
+ // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
279
+ "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
280
+ // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
281
+ "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
282
+ // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
280
283
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
281
284
  "flex-col",
282
285
  paddingUsingComponentGap
@@ -314,7 +317,6 @@ var Button = (_a) => {
314
317
  onClick: props.onClick,
315
318
  disabled,
316
319
  href,
317
- "data-theme": variant === "navigation" ? "brand" : void 0,
318
320
  children: [
319
321
  leftIcon && leftIcon,
320
322
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Button
3
- } from "../chunk-H6LXXGX6.js";
3
+ } from "../chunk-L364HTYC.js";
4
4
  import "../chunk-RDLEIAQU.js";
5
5
  import "../chunk-ORMEWXMH.js";
6
6
  export {
@@ -277,11 +277,14 @@ var Button = (_a) => {
277
277
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
278
278
  );
279
279
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
280
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
280
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
281
281
  "bg-transparent",
282
- "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
283
- "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
284
- "active:bg-background-action-secondary-active active:text-text-action-primary-active",
282
+ "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
283
+ // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
284
+ "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
285
+ // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
286
+ "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
287
+ // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
285
288
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
286
289
  "flex-col",
287
290
  paddingUsingComponentGap
@@ -319,7 +322,6 @@ var Button = (_a) => {
319
322
  onClick: props.onClick,
320
323
  disabled,
321
324
  href,
322
- "data-theme": variant === "navigation" ? "brand" : void 0,
323
325
  children: [
324
326
  leftIcon && leftIcon,
325
327
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  ContentTab
4
- } from "../chunk-X62XGQY7.js";
5
- import "../chunk-H6LXXGX6.js";
4
+ } from "../chunk-2XOQII4G.js";
5
+ import "../chunk-L364HTYC.js";
6
6
  import "../chunk-RDLEIAQU.js";
7
7
  import "../chunk-ORMEWXMH.js";
8
8
  export {
@@ -281,11 +281,14 @@ var Button = (_a) => {
281
281
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
282
282
  );
283
283
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
284
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
284
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
285
285
  "bg-transparent",
286
- "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
287
- "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
288
- "active:bg-background-action-secondary-active active:text-text-action-primary-active",
286
+ "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
287
+ // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
288
+ "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
289
+ // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
290
+ "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
291
+ // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
289
292
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
290
293
  "flex-col",
291
294
  paddingUsingComponentGap
@@ -323,7 +326,6 @@ var Button = (_a) => {
323
326
  onClick: props.onClick,
324
327
  disabled,
325
328
  href,
326
- "data-theme": variant === "navigation" ? "brand" : void 0,
327
329
  children: [
328
330
  leftIcon && leftIcon,
329
331
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  ContentTab
4
- } from "../chunk-X62XGQY7.js";
5
- import "../chunk-H6LXXGX6.js";
4
+ } from "../chunk-2XOQII4G.js";
5
+ import "../chunk-L364HTYC.js";
6
6
  import "../chunk-RDLEIAQU.js";
7
7
  import "../chunk-ORMEWXMH.js";
8
8
 
@@ -1739,9 +1739,10 @@ var DataGridCell = (0, import_react10.memo)(
1739
1739
  lockedHeaderBgStyles,
1740
1740
  iconComponentStyles,
1741
1741
  className,
1742
- "flex flex-1 items-center gap-1 whitespace-nowrap h-10 relative text-text-action-primary-normal",
1742
+ "flex flex-1 items-center gap-1 whitespace-nowrap h-10 relative text-text-primary-normal",
1743
1743
  "focus-within:!z-10",
1744
1744
  "overflow-x-hidden",
1745
+ "overflow-y-hidden",
1745
1746
  component === "input" && "border",
1746
1747
  component === "input" && !error && !warning && "border-border-primary-normal",
1747
1748
  component === "input" && error && "border-border-primary-error",
@@ -1759,7 +1760,6 @@ var DataGridCell = (0, import_react10.memo)(
1759
1760
  className: (0, import_clsx8.default)("flex h-10", !width && "flex-1"),
1760
1761
  style: { width }
1761
1762
  }, props), {
1762
- "data-theme": type === "header" ? "brand" : void 0,
1763
1763
  children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1764
1764
  "div",
1765
1765
  {
@@ -4,7 +4,7 @@ import {
4
4
  DataGridCell,
5
5
  DragAlongCell,
6
6
  DraggableCellHeader
7
- } from "../chunk-E5VEDZYV.js";
7
+ } from "../chunk-ZEGVZ5NW.js";
8
8
  import "../chunk-37TJJQL3.js";
9
9
  import "../chunk-5GUW4DUY.js";
10
10
  import "../chunk-VH3EJNVE.js";
@@ -524,11 +524,14 @@ var Button = (_a) => {
524
524
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
525
525
  );
526
526
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx6.default)(
527
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
527
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
528
528
  "bg-transparent",
529
- "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
530
- "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
531
- "active:bg-background-action-secondary-active active:text-text-action-primary-active",
529
+ "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
530
+ // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
531
+ "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
532
+ // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
533
+ "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
534
+ // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
532
535
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
533
536
  "flex-col",
534
537
  paddingUsingComponentGap
@@ -566,7 +569,6 @@ var Button = (_a) => {
566
569
  onClick: props.onClick,
567
570
  disabled,
568
571
  href,
569
- "data-theme": variant === "navigation" ? "brand" : void 0,
570
572
  children: [
571
573
  leftIcon && leftIcon,
572
574
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  OptionPill
4
- } from "../chunk-QNQ5K7NW.js";
4
+ } from "../chunk-3NWBR3V3.js";
5
5
  import {
6
6
  Checkbox
7
7
  } from "../chunk-WT5XXW6G.js";
@@ -17,7 +17,7 @@ import "../chunk-VG4EPHJA.js";
17
17
  import {
18
18
  Link
19
19
  } from "../chunk-AOELEEUS.js";
20
- import "../chunk-H6LXXGX6.js";
20
+ import "../chunk-L364HTYC.js";
21
21
  import {
22
22
  Icon
23
23
  } from "../chunk-IGQVA7SC.js";
@@ -0,0 +1,168 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/components/LoadingScrim.tsx
31
+ var LoadingScrim_exports = {};
32
+ __export(LoadingScrim_exports, {
33
+ LoadingScrim: () => LoadingScrim
34
+ });
35
+ module.exports = __toCommonJS(LoadingScrim_exports);
36
+ var import_clsx = __toESM(require("clsx"), 1);
37
+
38
+ // src/components/Spinner.tsx
39
+ var import_jsx_runtime = require("react/jsx-runtime");
40
+ var Spinner = ({ size = "small" }) => {
41
+ const dimension = size === "large" ? 48 : 24;
42
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
43
+ "svg",
44
+ {
45
+ width: dimension,
46
+ height: dimension,
47
+ viewBox: "0 0 24 24",
48
+ xmlns: "http://www.w3.org/2000/svg",
49
+ fill: "#1D1E1E",
50
+ className: size === "large" ? "animate-spin" : "",
51
+ "aria-label": "Loading",
52
+ children: [
53
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
54
+ "animate",
55
+ {
56
+ attributeName: "opacity",
57
+ begin: "0s",
58
+ dur: "1s",
59
+ from: "1",
60
+ to: "0",
61
+ repeatCount: "indefinite"
62
+ }
63
+ ) }),
64
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
65
+ "animate",
66
+ {
67
+ attributeName: "opacity",
68
+ begin: "-0.875s",
69
+ dur: "1s",
70
+ from: "1",
71
+ to: "0",
72
+ repeatCount: "indefinite"
73
+ }
74
+ ) }),
75
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
76
+ "animate",
77
+ {
78
+ attributeName: "opacity",
79
+ begin: "-0.75s",
80
+ dur: "1s",
81
+ from: "1",
82
+ to: "0",
83
+ repeatCount: "indefinite"
84
+ }
85
+ ) }),
86
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
87
+ "animate",
88
+ {
89
+ attributeName: "opacity",
90
+ begin: "-0.625s",
91
+ dur: "1s",
92
+ from: "1",
93
+ to: "0",
94
+ repeatCount: "indefinite"
95
+ }
96
+ ) }),
97
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
98
+ "animate",
99
+ {
100
+ attributeName: "opacity",
101
+ begin: "-0.5s",
102
+ dur: "1s",
103
+ from: "1",
104
+ to: "0",
105
+ repeatCount: "indefinite"
106
+ }
107
+ ) }),
108
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
109
+ "animate",
110
+ {
111
+ attributeName: "opacity",
112
+ begin: "-0.375s",
113
+ dur: "1s",
114
+ from: "1",
115
+ to: "0",
116
+ repeatCount: "indefinite"
117
+ }
118
+ ) }),
119
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
120
+ "animate",
121
+ {
122
+ attributeName: "opacity",
123
+ begin: "-0.25s",
124
+ dur: "1s",
125
+ from: "1",
126
+ to: "0",
127
+ repeatCount: "indefinite"
128
+ }
129
+ ) }),
130
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
131
+ "animate",
132
+ {
133
+ attributeName: "opacity",
134
+ begin: "-0.125s",
135
+ dur: "1s",
136
+ from: "1",
137
+ to: "0",
138
+ repeatCount: "indefinite"
139
+ }
140
+ ) })
141
+ ]
142
+ }
143
+ );
144
+ };
145
+ Spinner.displayName = "Spinner";
146
+
147
+ // src/components/LoadingScrim.tsx
148
+ var import_jsx_runtime2 = require("react/jsx-runtime");
149
+ function LoadingScrim({ className }) {
150
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
151
+ "div",
152
+ {
153
+ className: (0, import_clsx.default)(
154
+ "fixed inset-0 z-50 flex items-center justify-center bg-neutral-600/30",
155
+ className
156
+ ),
157
+ "aria-modal": "true",
158
+ role: "dialog",
159
+ tabIndex: -1,
160
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Spinner, { size: "large" }) })
161
+ }
162
+ );
163
+ }
164
+ LoadingScrim.displayName = "LoadingScrim";
165
+ // Annotate the CommonJS export names for ESM import in node:
166
+ 0 && (module.exports = {
167
+ LoadingScrim
168
+ });