@solostylist/ui-kit 1.0.223 → 1.0.224

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 (80) hide show
  1. package/dist/{checkbox-PlpiwQNi.js → checkbox-B95Vlykq.js} +1 -1
  2. package/dist/hooks/index.d.ts +1 -1
  3. package/dist/hooks/{use-count-down.d.ts → use-countdown.d.ts} +8 -8
  4. package/dist/hooks/{use-count-down.js → use-countdown.js} +1 -1
  5. package/dist/s-chat-input/index.js +1 -1
  6. package/dist/s-chat-input/s-chat-input.js +1 -1
  7. package/dist/{s-chat-input-DpCaY6gB.js → s-chat-input-DKGeMh55.js} +98 -98
  8. package/dist/s-countdown/index.d.ts +2 -2
  9. package/dist/s-countdown/index.js +1 -1
  10. package/dist/s-countdown/{s-count-down.d.ts → s-countdown.d.ts} +17 -17
  11. package/dist/s-countdown/{s-count-down.js → s-countdown.js} +2 -2
  12. package/dist/s-data-table/index.js +1 -1
  13. package/dist/s-data-table/s-data-table.js +1 -1
  14. package/dist/{s-data-table-Cb7CsYQf.js → s-data-table-TrCdKq9r.js} +12 -12
  15. package/dist/s-date-picker/index.js +1 -1
  16. package/dist/s-date-picker/s-date-picker.js +1 -1
  17. package/dist/s-date-picker-BkZIEZoz.js +634 -0
  18. package/dist/s-datetime-picker/index.js +1 -1
  19. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  20. package/dist/{s-datetime-picker-D78dPyAo.js → s-datetime-picker-rCWovez1.js} +394 -394
  21. package/dist/s-dialog-confirm/s-dialog-confirm.js +0 -1
  22. package/dist/s-glow-button/s-glow-button.d.ts +1 -1
  23. package/dist/s-glow-button/s-glow-button.js +18 -19
  24. package/dist/s-nav-item/index.d.ts +0 -1
  25. package/dist/s-nav-item/index.js +1 -2
  26. package/dist/s-nav-items/index.d.ts +2 -0
  27. package/dist/s-nav-items/index.js +2 -0
  28. package/dist/{s-nav-item → s-nav-items}/s-nav-items.d.ts +1 -1
  29. package/dist/{s-nav-item → s-nav-items}/s-nav-items.js +3 -3
  30. package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +1 -1
  31. package/dist/s-pixel-reveal/s-pixel-reveal.js +74 -69
  32. package/dist/s-text-editor/s-text-editor.js +30 -31
  33. package/dist/s-theme-provider/s-theme-provider.d.ts +3 -3
  34. package/dist/s-theme-provider/s-theme-provider.js +32 -26
  35. package/dist/s-tool-bar/index.js +1 -1
  36. package/dist/s-tool-bar/s-tool-bar.js +1 -1
  37. package/dist/{s-tool-bar-B-v1I_Hy.js → s-tool-bar-DGfyNoYW.js} +142 -143
  38. package/dist/theme/components/accordion-summary.d.ts +385 -385
  39. package/dist/theme/components/accordion-summary.js +1 -1
  40. package/dist/theme/components/accordion.d.ts +2 -2
  41. package/dist/theme/components/alert.d.ts +1524 -1524
  42. package/dist/theme/components/alert.js +15 -22
  43. package/dist/theme/components/app-bar.d.ts +2 -2
  44. package/dist/theme/components/button.d.ts +2282 -2282
  45. package/dist/theme/components/button.js +40 -42
  46. package/dist/theme/components/card.d.ts +767 -767
  47. package/dist/theme/components/card.js +1 -1
  48. package/dist/theme/components/checkbox.d.ts +381 -381
  49. package/dist/theme/components/checkbox.js +1 -1
  50. package/dist/theme/components/chip.js +65 -52
  51. package/dist/theme/components/components.js +3 -3
  52. package/dist/theme/components/form-label.d.ts +2 -2
  53. package/dist/theme/components/icon-button.d.ts +2294 -2294
  54. package/dist/theme/components/icon-button.js +31 -29
  55. package/dist/theme/components/linear-progress.d.ts +382 -382
  56. package/dist/theme/components/linear-progress.js +1 -1
  57. package/dist/theme/components/link.d.ts +2 -2
  58. package/dist/theme/components/link.js +1 -1
  59. package/dist/theme/components/list-item-button.d.ts +2 -2
  60. package/dist/theme/components/list-item.d.ts +2 -2
  61. package/dist/theme/components/outlined-input.js +1 -1
  62. package/dist/theme/components/pagination-item.d.ts +385 -385
  63. package/dist/theme/components/step-icon.d.ts +383 -383
  64. package/dist/theme/components/step-icon.js +1 -1
  65. package/dist/theme/components/step-label.d.ts +384 -384
  66. package/dist/theme/components/tab.d.ts +384 -384
  67. package/dist/theme/components/tabs.d.ts +386 -386
  68. package/dist/theme/components/toggle-button-group.d.ts +383 -383
  69. package/dist/theme/components/toggle-button-group.js +1 -1
  70. package/dist/theme/components/toggle-button.d.ts +385 -385
  71. package/dist/theme/components/toggle-button.js +1 -1
  72. package/dist/theme/theme-primitives.d.ts +132 -0
  73. package/dist/theme/theme-primitives.js +1 -1
  74. package/dist/theme/utils.d.ts +11 -0
  75. package/dist/theme/utils.js +4 -0
  76. package/dist/{theme-primitives-OrQ-xFJR.js → theme-primitives-D2vHHGiX.js} +34 -10
  77. package/dist/{toggle-button-BgpxYWVw.js → toggle-button-BUsRxHn0.js} +1 -1
  78. package/dist/{toggle-button-group-l4hL1DLP.js → toggle-button-group-ABwIhV4P.js} +1 -1
  79. package/package.json +1 -1
  80. package/dist/s-date-picker-Mynq297P.js +0 -634
@@ -1,30 +1,32 @@
1
- import { _ as e, a as t, c as n, f as r, g as i, h as a, l as o, m as s, o as c, p as l, u, v as d } from "../../theme-primitives-OrQ-xFJR.js";
2
- import { alpha as f } from "@mui/material";
1
+ import { tint as e } from "../utils.js";
3
2
  //#region lib/theme/components/icon-button.tsx
4
- var p = (e, t, n) => ({
5
- color: t[500],
6
- "&:hover": {
7
- backgroundColor: f(t[500], .12),
8
- color: t[600]
9
- },
10
- "&:active": { backgroundColor: f(t[500], .2) },
11
- "&.Mui-disabled": {
12
- color: t[300],
13
- opacity: .5
14
- },
15
- ...e.applyStyles("dark", {
16
- color: n[400],
3
+ var t = (t, n) => {
4
+ let r = (t.vars ?? t).palette[n];
5
+ return {
6
+ color: r[800],
17
7
  "&:hover": {
18
- backgroundColor: f(n[400], .12),
19
- color: n[300]
8
+ backgroundColor: e(r[800], 12),
9
+ color: r[900]
20
10
  },
21
- "&:active": { backgroundColor: f(n[400], .2) },
11
+ "&:active": { backgroundColor: e(r[800], 20) },
22
12
  "&.Mui-disabled": {
23
- color: n[700],
13
+ color: r[300],
24
14
  opacity: .5
25
- }
26
- })
27
- }), m = { styleOverrides: { root: ({ theme: f }) => ({
15
+ },
16
+ ...t.applyStyles("dark", {
17
+ color: r[300],
18
+ "&:hover": {
19
+ backgroundColor: e(r[300], 12),
20
+ color: r[200]
21
+ },
22
+ "&:active": { backgroundColor: e(r[300], 20) },
23
+ "&.Mui-disabled": {
24
+ color: r[700],
25
+ opacity: .5
26
+ }
27
+ })
28
+ };
29
+ }, n = { styleOverrides: { root: ({ theme: e }) => ({
28
30
  transition: "all 0.2s ease-in-out",
29
31
  flexShrink: 0,
30
32
  width: "fit-content",
@@ -53,29 +55,29 @@ var p = (e, t, n) => ({
53
55
  },
54
56
  {
55
57
  props: { color: "primary" },
56
- style: { ...p(f, u, c) }
58
+ style: { ...t(e, "primary") }
57
59
  },
58
60
  {
59
61
  props: { color: "secondary" },
60
- style: { ...p(f, s, e) }
62
+ style: { ...t(e, "secondary") }
61
63
  },
62
64
  {
63
65
  props: { color: "success" },
64
- style: { ...p(f, r, n) }
66
+ style: { ...t(e, "success") }
65
67
  },
66
68
  {
67
69
  props: { color: "error" },
68
- style: { ...p(f, a, d) }
70
+ style: { ...t(e, "error") }
69
71
  },
70
72
  {
71
73
  props: { color: "info" },
72
- style: { ...p(f, o, t) }
74
+ style: { ...t(e, "info") }
73
75
  },
74
76
  {
75
77
  props: { color: "warning" },
76
- style: { ...p(f, l, i) }
78
+ style: { ...t(e, "warning") }
77
79
  }
78
80
  ]
79
81
  }) } };
80
82
  //#endregion
81
- export { m as MuiIconButton };
83
+ export { n as MuiIconButton };