@dmsi/wedgekit-react 0.0.124 → 0.0.125

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 (54) hide show
  1. package/dist/{chunk-3JRVV6QY.js → chunk-6UI5GABI.js} +1 -1
  2. package/dist/{chunk-6CS5ZBXO.js → chunk-CG2NIXZE.js} +1 -1
  3. package/dist/{chunk-QIHDPSOM.js → chunk-D2YP2BTN.js} +2 -2
  4. package/dist/{chunk-L364HTYC.js → chunk-H6LXXGX6.js} +5 -7
  5. package/dist/{chunk-ZEGVZ5NW.js → chunk-KS4RDR6P.js} +6 -2
  6. package/dist/{chunk-IMN6I5NV.js → chunk-P242H6OU.js} +1 -1
  7. package/dist/{chunk-22CQ3BSY.js → chunk-QLD6SOEU.js} +2 -2
  8. package/dist/{chunk-3NWBR3V3.js → chunk-QNQ5K7NW.js} +1 -1
  9. package/dist/{chunk-2XOQII4G.js → chunk-X62XGQY7.js} +1 -1
  10. package/dist/{chunk-FWRT5E5M.js → chunk-ZWEKVOHD.js} +1 -1
  11. package/dist/components/Button.cjs +5 -7
  12. package/dist/components/Button.js +1 -1
  13. package/dist/components/ContentTab.cjs +5 -7
  14. package/dist/components/ContentTab.js +2 -2
  15. package/dist/components/ContentTabs.cjs +5 -7
  16. package/dist/components/ContentTabs.js +2 -2
  17. package/dist/components/DataGridCell.cjs +6 -2
  18. package/dist/components/DataGridCell.js +1 -1
  19. package/dist/components/FilterGroup.cjs +5 -7
  20. package/dist/components/FilterGroup.js +2 -2
  21. package/dist/components/MobileDataGrid.cjs +5 -7
  22. package/dist/components/MobileDataGrid.js +1 -1
  23. package/dist/components/Modal.cjs +5 -7
  24. package/dist/components/Modal.js +4 -4
  25. package/dist/components/ModalButtons.cjs +5 -7
  26. package/dist/components/ModalButtons.js +2 -2
  27. package/dist/components/ModalHeader.cjs +5 -7
  28. package/dist/components/ModalHeader.js +2 -2
  29. package/dist/components/NavigationTab.cjs +5 -7
  30. package/dist/components/NavigationTab.js +2 -2
  31. package/dist/components/NavigationTabs.cjs +5 -7
  32. package/dist/components/NavigationTabs.js +2 -2
  33. package/dist/components/Notification.cjs +5 -7
  34. package/dist/components/Notification.js +1 -1
  35. package/dist/components/OptionPill.cjs +5 -7
  36. package/dist/components/OptionPill.js +2 -2
  37. package/dist/components/PDFViewer.cjs +5 -7
  38. package/dist/components/PDFViewer.js +4 -4
  39. package/dist/components/PaymentOnAccountModal.cjs +5 -7
  40. package/dist/components/PaymentOnAccountModal.js +6 -6
  41. package/dist/components/SelectPaymentMethod.cjs +5 -7
  42. package/dist/components/SelectPaymentMethod.js +2 -2
  43. package/dist/components/Stepper.cjs +5 -7
  44. package/dist/components/Stepper.js +1 -1
  45. package/dist/components/Toast.cjs +5 -7
  46. package/dist/components/Toast.js +1 -1
  47. package/dist/components/Upload.cjs +5 -7
  48. package/dist/components/Upload.js +1 -1
  49. package/dist/components/index.cjs +11 -9
  50. package/dist/components/index.js +7 -7
  51. package/dist/index.css +0 -34
  52. package/package.json +1 -1
  53. package/src/components/Button.tsx +5 -7
  54. package/src/components/DataGridCell.tsx +7 -1
@@ -277,14 +277,11 @@ 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-on-action-primary-normal",
280
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
281
281
  "bg-transparent",
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
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",
288
285
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
289
286
  "flex-col",
290
287
  paddingUsingComponentGap
@@ -322,6 +319,7 @@ var Button = (_a) => {
322
319
  onClick: props.onClick,
323
320
  disabled,
324
321
  href,
322
+ "data-theme": variant === "navigation" ? "brand" : void 0,
325
323
  children: [
326
324
  leftIcon && leftIcon,
327
325
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -10,7 +10,7 @@ import {
10
10
  } from "../chunk-VG4EPHJA.js";
11
11
  import {
12
12
  Button
13
- } from "../chunk-L364HTYC.js";
13
+ } from "../chunk-H6LXXGX6.js";
14
14
  import {
15
15
  Icon
16
16
  } from "../chunk-IGQVA7SC.js";
@@ -273,14 +273,11 @@ var Button = (_a) => {
273
273
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
274
274
  );
275
275
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
276
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
276
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
277
277
  "bg-transparent",
278
- "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
279
- // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
280
- "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
281
- // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
282
- "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
283
- // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
278
+ "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
279
+ "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
280
+ "active:bg-background-action-secondary-active active:text-text-action-primary-active",
284
281
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
285
282
  "flex-col",
286
283
  paddingUsingComponentGap
@@ -318,6 +315,7 @@ var Button = (_a) => {
318
315
  onClick: props.onClick,
319
316
  disabled,
320
317
  href,
318
+ "data-theme": variant === "navigation" ? "brand" : void 0,
321
319
  children: [
322
320
  leftIcon && leftIcon,
323
321
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  OptionPill
3
- } from "../chunk-3NWBR3V3.js";
3
+ } from "../chunk-QNQ5K7NW.js";
4
4
  import "../chunk-S5K22XTH.js";
5
- import "../chunk-L364HTYC.js";
5
+ import "../chunk-H6LXXGX6.js";
6
6
  import "../chunk-IGQVA7SC.js";
7
7
  import "../chunk-RDLEIAQU.js";
8
8
  import "../chunk-ORMEWXMH.js";
@@ -331,14 +331,11 @@ var Button = (_a) => {
331
331
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
332
332
  );
333
333
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx3.default)(
334
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
334
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
335
335
  "bg-transparent",
336
- "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
337
- // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
338
- "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
339
- // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
340
- "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
341
- // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
336
+ "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
337
+ "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
338
+ "active:bg-background-action-secondary-active active:text-text-action-primary-active",
342
339
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
343
340
  "flex-col",
344
341
  paddingUsingComponentGap
@@ -376,6 +373,7 @@ var Button = (_a) => {
376
373
  onClick: props.onClick,
377
374
  disabled,
378
375
  href,
376
+ "data-theme": variant === "navigation" ? "brand" : void 0,
379
377
  children: [
380
378
  leftIcon && leftIcon,
381
379
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  Modal
4
- } from "../chunk-QIHDPSOM.js";
4
+ } from "../chunk-D2YP2BTN.js";
5
5
  import "../chunk-4RJKB7LC.js";
6
- import "../chunk-6CS5ZBXO.js";
6
+ import "../chunk-CG2NIXZE.js";
7
7
  import "../chunk-FWPJ73IK.js";
8
- import "../chunk-3JRVV6QY.js";
8
+ import "../chunk-6UI5GABI.js";
9
9
  import "../chunk-4JLU7TAC.js";
10
10
  import "../chunk-J6LETUNM.js";
11
11
  import {
@@ -18,7 +18,7 @@ import {
18
18
  } from "../chunk-EO3JJWFW.js";
19
19
  import {
20
20
  Button
21
- } from "../chunk-L364HTYC.js";
21
+ } from "../chunk-H6LXXGX6.js";
22
22
  import {
23
23
  Icon
24
24
  } from "../chunk-IGQVA7SC.js";
@@ -329,14 +329,11 @@ var Button = (_a) => {
329
329
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
330
330
  );
331
331
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx3.default)(
332
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
332
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
333
333
  "bg-transparent",
334
- "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
335
- // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
336
- "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
337
- // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
338
- "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
339
- // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
334
+ "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
335
+ "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
336
+ "active:bg-background-action-secondary-active active:text-text-action-primary-active",
340
337
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
341
338
  "flex-col",
342
339
  paddingUsingComponentGap
@@ -374,6 +371,7 @@ var Button = (_a) => {
374
371
  onClick: props.onClick,
375
372
  disabled,
376
373
  href,
374
+ "data-theme": variant === "navigation" ? "brand" : void 0,
377
375
  children: [
378
376
  leftIcon && leftIcon,
379
377
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  PaymentOnAccountModal,
3
3
  calculateSurcharge
4
- } from "../chunk-22CQ3BSY.js";
5
- import "../chunk-FWRT5E5M.js";
4
+ } from "../chunk-QLD6SOEU.js";
5
+ import "../chunk-ZWEKVOHD.js";
6
6
  import "../chunk-TTO4PL7Y.js";
7
- import "../chunk-QIHDPSOM.js";
7
+ import "../chunk-D2YP2BTN.js";
8
8
  import "../chunk-4RJKB7LC.js";
9
- import "../chunk-6CS5ZBXO.js";
9
+ import "../chunk-CG2NIXZE.js";
10
10
  import "../chunk-FWPJ73IK.js";
11
- import "../chunk-3JRVV6QY.js";
11
+ import "../chunk-6UI5GABI.js";
12
12
  import "../chunk-4JLU7TAC.js";
13
13
  import "../chunk-J6LETUNM.js";
14
14
  import "../chunk-3ZUSYRI7.js";
@@ -23,7 +23,7 @@ import "../chunk-XEUPUTYP.js";
23
23
  import "../chunk-EO3JJWFW.js";
24
24
  import "../chunk-4OS6APPF.js";
25
25
  import "../chunk-VG4EPHJA.js";
26
- import "../chunk-L364HTYC.js";
26
+ import "../chunk-H6LXXGX6.js";
27
27
  import "../chunk-IGQVA7SC.js";
28
28
  import "../chunk-RDLEIAQU.js";
29
29
  import "../chunk-ORMEWXMH.js";
@@ -611,14 +611,11 @@ var Button = (_a) => {
611
611
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
612
612
  );
613
613
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx7.default)(
614
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
614
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
615
615
  "bg-transparent",
616
- "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
617
- // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
618
- "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
619
- // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
620
- "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
621
- // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
616
+ "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
617
+ "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
618
+ "active:bg-background-action-secondary-active active:text-text-action-primary-active",
622
619
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
623
620
  "flex-col",
624
621
  paddingUsingComponentGap
@@ -656,6 +653,7 @@ var Button = (_a) => {
656
653
  onClick: props.onClick,
657
654
  disabled,
658
655
  href,
656
+ "data-theme": variant === "navigation" ? "brand" : void 0,
659
657
  children: [
660
658
  leftIcon && leftIcon,
661
659
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  SelectPaymentMethod
4
- } from "../chunk-FWRT5E5M.js";
4
+ } from "../chunk-ZWEKVOHD.js";
5
5
  import "../chunk-TTO4PL7Y.js";
6
6
  import "../chunk-3ZUSYRI7.js";
7
7
  import "../chunk-WT5XXW6G.js";
@@ -11,7 +11,7 @@ import "../chunk-XEUPUTYP.js";
11
11
  import "../chunk-EO3JJWFW.js";
12
12
  import "../chunk-4OS6APPF.js";
13
13
  import "../chunk-VG4EPHJA.js";
14
- import "../chunk-L364HTYC.js";
14
+ import "../chunk-H6LXXGX6.js";
15
15
  import "../chunk-IGQVA7SC.js";
16
16
  import "../chunk-RDLEIAQU.js";
17
17
  import "../chunk-ORMEWXMH.js";
@@ -275,14 +275,11 @@ var Button = (_a) => {
275
275
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
276
276
  );
277
277
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx2.default)(
278
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
278
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
279
279
  "bg-transparent",
280
- "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
281
- // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
282
- "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
283
- // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
284
- "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
285
- // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
280
+ "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
281
+ "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
282
+ "active:bg-background-action-secondary-active active:text-text-action-primary-active",
286
283
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
287
284
  "flex-col",
288
285
  paddingUsingComponentGap
@@ -320,6 +317,7 @@ var Button = (_a) => {
320
317
  onClick: props.onClick,
321
318
  disabled,
322
319
  href,
320
+ "data-theme": variant === "navigation" ? "brand" : void 0,
323
321
  children: [
324
322
  leftIcon && leftIcon,
325
323
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -6,7 +6,7 @@ import "../chunk-5UH6QUFB.js";
6
6
  import "../chunk-S5K22XTH.js";
7
7
  import {
8
8
  Button
9
- } from "../chunk-L364HTYC.js";
9
+ } from "../chunk-H6LXXGX6.js";
10
10
  import {
11
11
  Icon
12
12
  } from "../chunk-IGQVA7SC.js";
@@ -410,14 +410,11 @@ var Button = (_a) => {
410
410
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
411
411
  );
412
412
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx5.default)(
413
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
413
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
414
414
  "bg-transparent",
415
- "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
416
- // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
417
- "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
418
- // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
419
- "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
420
- // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
415
+ "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
416
+ "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
417
+ "active:bg-background-action-secondary-active active:text-text-action-primary-active",
421
418
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
422
419
  "flex-col",
423
420
  paddingUsingComponentGap
@@ -455,6 +452,7 @@ var Button = (_a) => {
455
452
  onClick: props.onClick,
456
453
  disabled,
457
454
  href,
455
+ "data-theme": variant === "navigation" ? "brand" : void 0,
458
456
  children: [
459
457
  leftIcon && leftIcon,
460
458
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -7,7 +7,7 @@ import {
7
7
  } from "../chunk-VG4EPHJA.js";
8
8
  import {
9
9
  Button
10
- } from "../chunk-L364HTYC.js";
10
+ } from "../chunk-H6LXXGX6.js";
11
11
  import {
12
12
  Icon
13
13
  } from "../chunk-IGQVA7SC.js";
@@ -355,14 +355,11 @@ var Button = (_a) => {
355
355
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
356
356
  );
357
357
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx4.default)(
358
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
358
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
359
359
  "bg-transparent",
360
- "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
361
- // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
362
- "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
363
- // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
364
- "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
365
- // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
360
+ "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
361
+ "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
362
+ "active:bg-background-action-secondary-active active:text-text-action-primary-active",
366
363
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
367
364
  "flex-col",
368
365
  paddingUsingComponentGap
@@ -400,6 +397,7 @@ var Button = (_a) => {
400
397
  onClick: props.onClick,
401
398
  disabled,
402
399
  href,
400
+ "data-theme": variant === "navigation" ? "brand" : void 0,
403
401
  children: [
404
402
  leftIcon && leftIcon,
405
403
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -3,7 +3,7 @@ import {
3
3
  } from "../chunk-VG4EPHJA.js";
4
4
  import {
5
5
  Button
6
- } from "../chunk-L364HTYC.js";
6
+ } from "../chunk-H6LXXGX6.js";
7
7
  import {
8
8
  Icon
9
9
  } from "../chunk-IGQVA7SC.js";
@@ -1803,6 +1803,7 @@ var DataGridCell = (0, import_react10.memo)(
1803
1803
  className: (0, import_clsx8.default)("flex h-10", !width && "flex-1"),
1804
1804
  style: { width }
1805
1805
  }, props), {
1806
+ "data-theme": type === "header" && !locked ? "brand" : void 0,
1806
1807
  children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1807
1808
  "div",
1808
1809
  {
@@ -1874,7 +1875,9 @@ function DataCellHeader(_a) {
1874
1875
  position: "relative",
1875
1876
  whiteSpace: "nowrap",
1876
1877
  width: header.column.getSize(),
1877
- "--color-text-primary-normal": "var(--color-text-brand-primary-normal)"
1878
+ "--color-text-primary-normal": "var(--color-text-brand-primary-normal)",
1879
+ "--color-icon-on-action-primary-normal": "var(--color-text-brand-primary-normal)",
1880
+ "--background-action-secondary-normal": "var(--color-text-brand-primary-normal)"
1878
1881
  }, props.style);
1879
1882
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
1880
1883
  DataGridCell,
@@ -2078,7 +2081,8 @@ function DraggableCellHeader(_a) {
2078
2081
  whiteSpace: "nowrap",
2079
2082
  zIndex: isDragging ? 1 : 0,
2080
2083
  width: header.column.getSize(),
2081
- "--color-text-primary-normal": "var(--color-neutral-000)",
2084
+ "--color-text-primary-normal": "var(--color-action-000)",
2085
+ "--color-icon-on-action-primary-normal": "var(--color-action-000)",
2082
2086
  userSelect: "none"
2083
2087
  };
2084
2088
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
@@ -3431,14 +3435,11 @@ var Button = (_a) => {
3431
3435
  "disabled:bg-transparent disabled:border-transparent disabled:text-text-action-critical-disabled"
3432
3436
  );
3433
3437
  const navigationVarianStyles = variant === "navigation" && (0, import_clsx17.default)(
3434
- (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
3438
+ (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-action-primary-normal",
3435
3439
  "bg-transparent",
3436
- "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
3437
- // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
3438
- "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
3439
- // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
3440
- "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
3441
- // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
3440
+ "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
3441
+ "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
3442
+ "active:bg-background-action-secondary-active active:text-text-action-primary-active",
3442
3443
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
3443
3444
  "flex-col",
3444
3445
  paddingUsingComponentGap
@@ -3476,6 +3477,7 @@ var Button = (_a) => {
3476
3477
  onClick: props.onClick,
3477
3478
  disabled,
3478
3479
  href,
3480
+ "data-theme": variant === "navigation" ? "brand" : void 0,
3479
3481
  children: [
3480
3482
  leftIcon && leftIcon,
3481
3483
  !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { id: id ? `${id}-label` : void 0, className: labelClasses, children }),
@@ -6,14 +6,14 @@ import {
6
6
  } from "../chunk-Y4HUYAI5.js";
7
7
  import {
8
8
  PaymentOnAccountModal
9
- } from "../chunk-22CQ3BSY.js";
10
- import "../chunk-FWRT5E5M.js";
9
+ } from "../chunk-QLD6SOEU.js";
10
+ import "../chunk-ZWEKVOHD.js";
11
11
  import "../chunk-TTO4PL7Y.js";
12
- import "../chunk-QIHDPSOM.js";
12
+ import "../chunk-D2YP2BTN.js";
13
13
  import "../chunk-4RJKB7LC.js";
14
- import "../chunk-6CS5ZBXO.js";
14
+ import "../chunk-CG2NIXZE.js";
15
15
  import "../chunk-FWPJ73IK.js";
16
- import "../chunk-3JRVV6QY.js";
16
+ import "../chunk-6UI5GABI.js";
17
17
  import "../chunk-4JLU7TAC.js";
18
18
  import "../chunk-J6LETUNM.js";
19
19
  import "../chunk-3ZUSYRI7.js";
@@ -25,7 +25,7 @@ import {
25
25
  DataGridCell,
26
26
  DragAlongCell,
27
27
  DraggableCellHeader
28
- } from "../chunk-ZEGVZ5NW.js";
28
+ } from "../chunk-KS4RDR6P.js";
29
29
  import {
30
30
  Menu
31
31
  } from "../chunk-37TJJQL3.js";
@@ -63,7 +63,7 @@ import {
63
63
  } from "../chunk-VG4EPHJA.js";
64
64
  import {
65
65
  Button
66
- } from "../chunk-L364HTYC.js";
66
+ } from "../chunk-H6LXXGX6.js";
67
67
  import {
68
68
  Icon
69
69
  } from "../chunk-IGQVA7SC.js";
package/dist/index.css CHANGED
@@ -2863,13 +2863,6 @@
2863
2863
  }
2864
2864
  }
2865
2865
  }
2866
- .hover\:bg-background-on-action-secondary-hover {
2867
- &:hover {
2868
- @media (hover: hover) {
2869
- background-color: var(--color-background-on-action-secondary-hover);
2870
- }
2871
- }
2872
- }
2873
2866
  .hover\:bg-border-action-hover {
2874
2867
  &:hover {
2875
2868
  @media (hover: hover) {
@@ -2898,13 +2891,6 @@
2898
2891
  }
2899
2892
  }
2900
2893
  }
2901
- .hover\:text-brand-text-action-primary-hover {
2902
- &:hover {
2903
- @media (hover: hover) {
2904
- color: var(--color-brand-text-action-primary-hover);
2905
- }
2906
- }
2907
- }
2908
2894
  .hover\:text-icon-action-critical-secondary-hover {
2909
2895
  &:hover {
2910
2896
  @media (hover: hover) {
@@ -3032,16 +3018,6 @@
3032
3018
  background-color: var(--color-background-action-secondary-hover);
3033
3019
  }
3034
3020
  }
3035
- .focus\:bg-background-on-action-secondary-hover {
3036
- &:focus {
3037
- background-color: var(--color-background-on-action-secondary-hover);
3038
- }
3039
- }
3040
- .focus\:text-brand-text-action-primary-hover {
3041
- &:focus {
3042
- color: var(--color-brand-text-action-primary-hover);
3043
- }
3044
- }
3045
3021
  .focus\:text-text-action-critical-hover {
3046
3022
  &:focus {
3047
3023
  color: var(--color-text-action-critical-hover);
@@ -3182,11 +3158,6 @@
3182
3158
  background-color: var(--color-background-action-secondary-active);
3183
3159
  }
3184
3160
  }
3185
- .active\:bg-background-on-action-secondary-active {
3186
- &:active {
3187
- background-color: var(--color-background-on-action-secondary-active);
3188
- }
3189
- }
3190
3161
  .active\:\!text-brand-text-on-action-primary-active {
3191
3162
  &:active {
3192
3163
  color: var(--color-brand-text-on-action-primary-active) !important;
@@ -3202,11 +3173,6 @@
3202
3173
  color: var(--color-action-300);
3203
3174
  }
3204
3175
  }
3205
- .active\:text-brand-text-action-primary-active {
3206
- &:active {
3207
- color: var(--color-brand-text-action-primary-active);
3208
- }
3209
- }
3210
3176
  .active\:text-icon-action-critical-secondary-active {
3211
3177
  &:active {
3212
3178
  color: var(--color-icon-action-critical-secondary-active);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dmsi/wedgekit-react",
3
3
  "private": false,
4
- "version": "0.0.124",
4
+ "version": "0.0.125",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsup",
@@ -146,14 +146,11 @@ export const Button = ({
146
146
  clsx(
147
147
  colorClassName?.trim()
148
148
  ? colorClassName
149
- : "text-text-on-action-primary-normal",
149
+ : "text-text-action-primary-normal",
150
150
  "bg-transparent",
151
- "hover:bg-background-on-action-secondary-hover hover:text-brand-text-action-primary-hover",
152
- // "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover", // Will use this once colors are finalized
153
- "focus:bg-background-on-action-secondary-hover focus:text-brand-text-action-primary-hover focus:outline-0",
154
- // "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover", // Will use this once colors are finalized
155
- "active:bg-background-on-action-secondary-active active:text-brand-text-action-primary-active",
156
- // "active:bg-background-action-secondary-active active:text-text-action-primary-active", // Will use this once colors are finalized
151
+ "hover:bg-background-action-secondary-hover hover:text-text-action-primary-hover",
152
+ "focus:bg-background-action-secondary-hover focus:text-text-action-primary-hover focus:outline-0",
153
+ "active:bg-background-action-secondary-active active:text-text-action-primary-active",
157
154
  "disabled:bg-transparent disabled:text-text-on-action-primary-disabled",
158
155
  "flex-col",
159
156
  paddingUsingComponentGap,
@@ -198,6 +195,7 @@ export const Button = ({
198
195
  onClick={props.onClick}
199
196
  disabled={disabled}
200
197
  href={href}
198
+ data-theme={variant === "navigation" ? "brand" : undefined}
201
199
  >
202
200
  {leftIcon && leftIcon}
203
201
 
@@ -170,6 +170,7 @@ export const DataGridCell = memo(
170
170
  className={clsx("flex h-10", !width && "flex-1")}
171
171
  style={{ width }}
172
172
  {...props}
173
+ data-theme={type === "header" && !locked ? "brand" : undefined}
173
174
  >
174
175
  <div
175
176
  className={cellClasses}
@@ -253,6 +254,10 @@ export function DataCellHeader<T>({
253
254
  whiteSpace: "nowrap",
254
255
  width: header.column.getSize(),
255
256
  "--color-text-primary-normal": "var(--color-text-brand-primary-normal)",
257
+ "--color-icon-on-action-primary-normal":
258
+ "var(--color-text-brand-primary-normal)",
259
+ "--background-action-secondary-normal":
260
+ "var(--color-text-brand-primary-normal)",
256
261
  ...props.style,
257
262
  };
258
263
 
@@ -450,7 +455,8 @@ export function DraggableCellHeader<T extends Record<string, any>>({
450
455
  whiteSpace: "nowrap",
451
456
  zIndex: isDragging ? 1 : 0,
452
457
  width: header.column.getSize(),
453
- "--color-text-primary-normal": "var(--color-neutral-000)",
458
+ "--color-text-primary-normal": "var(--color-action-000)",
459
+ "--color-icon-on-action-primary-normal": "var(--color-action-000)",
454
460
  userSelect: "none",
455
461
  };
456
462