@solostylist/ui-kit 1.0.223 → 1.0.225

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 (109) 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-cOCqPTUS.js} +98 -98
  8. package/dist/s-chat-message/index.js +1 -1
  9. package/dist/s-chat-message/s-chat-message.js +1 -1
  10. package/dist/{s-chat-message-ox4Sj6xh.js → s-chat-message-Cb1npIQO.js} +1 -1
  11. package/dist/s-countdown/index.d.ts +2 -2
  12. package/dist/s-countdown/index.js +1 -1
  13. package/dist/s-countdown/{s-count-down.d.ts → s-countdown.d.ts} +17 -17
  14. package/dist/s-countdown/{s-count-down.js → s-countdown.js} +2 -2
  15. package/dist/s-data-table/index.js +1 -1
  16. package/dist/s-data-table/s-data-table.js +1 -1
  17. package/dist/{s-data-table-Cb7CsYQf.js → s-data-table-TrCdKq9r.js} +12 -12
  18. package/dist/s-date-picker/index.js +1 -1
  19. package/dist/s-date-picker/s-date-picker.js +1 -1
  20. package/dist/s-date-picker-BkZIEZoz.js +634 -0
  21. package/dist/s-datetime-picker/index.js +1 -1
  22. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  23. package/dist/{s-datetime-picker-D78dPyAo.js → s-datetime-picker-rCWovez1.js} +394 -394
  24. package/dist/s-dialog/s-dialog.d.ts +3 -3
  25. package/dist/s-dialog/s-dialog.js +6 -5
  26. package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +7 -1
  27. package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
  28. package/dist/s-gallery/s-gallery.js +1 -1
  29. package/dist/s-glow-button/s-glow-button.d.ts +1 -1
  30. package/dist/s-glow-button/s-glow-button.js +18 -19
  31. package/dist/s-image-modal/index.js +1 -1
  32. package/dist/s-image-modal/s-image-modal.d.ts +6 -0
  33. package/dist/s-image-modal/s-image-modal.js +1 -1
  34. package/dist/{s-image-modal-DA3DBNbv.js → s-image-modal-Za71QD3d.js} +43 -43
  35. package/dist/s-nav-item/index.d.ts +0 -1
  36. package/dist/s-nav-item/index.js +1 -2
  37. package/dist/s-nav-items/index.d.ts +2 -0
  38. package/dist/s-nav-items/index.js +2 -0
  39. package/dist/{s-nav-item → s-nav-items}/s-nav-items.d.ts +1 -1
  40. package/dist/{s-nav-item → s-nav-items}/s-nav-items.js +3 -3
  41. package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +1 -1
  42. package/dist/s-pixel-reveal/s-pixel-reveal.js +74 -69
  43. package/dist/s-review/index.js +1 -1
  44. package/dist/s-review/s-review.js +1 -1
  45. package/dist/{s-review-D4FBfBPF.js → s-review-DjvDY-h4.js} +1 -1
  46. package/dist/s-select/index.js +1 -1
  47. package/dist/s-select/s-select.d.ts +2 -0
  48. package/dist/s-select/s-select.js +1 -1
  49. package/dist/{s-select-b8CHbeCf.js → s-select-B-dEcddK.js} +20 -20
  50. package/dist/s-stripe/s-stripe.js +1 -1
  51. package/dist/s-text-editor/index.js +1 -1
  52. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  53. package/dist/s-text-editor/s-text-editor.js +30 -31
  54. package/dist/{s-text-editor-toolbar-CCK7yyNS.js → s-text-editor-toolbar-DP0MkICo.js} +1 -1
  55. package/dist/s-text-field/index.js +1 -1
  56. package/dist/s-text-field/s-text-field.d.ts +3 -1
  57. package/dist/s-text-field/s-text-field.js +1 -1
  58. package/dist/{s-text-field-Ck5QMhYI.js → s-text-field-GqcwXwta.js} +11 -11
  59. package/dist/s-theme-demo/index.js +1 -1
  60. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  61. package/dist/{s-theme-demo-THHj5mFp.js → s-theme-demo-BpeyFRKt.js} +1 -1
  62. package/dist/s-theme-provider/s-theme-provider.d.ts +3 -3
  63. package/dist/s-theme-provider/s-theme-provider.js +32 -26
  64. package/dist/s-tool-bar/index.js +1 -1
  65. package/dist/s-tool-bar/s-tool-bar.js +1 -1
  66. package/dist/{s-tool-bar-B-v1I_Hy.js → s-tool-bar-DaZ2wT09.js} +142 -143
  67. package/dist/theme/components/accordion-summary.d.ts +385 -385
  68. package/dist/theme/components/accordion-summary.js +1 -1
  69. package/dist/theme/components/accordion.d.ts +2 -2
  70. package/dist/theme/components/alert.d.ts +1524 -1524
  71. package/dist/theme/components/alert.js +15 -22
  72. package/dist/theme/components/app-bar.d.ts +2 -2
  73. package/dist/theme/components/button.d.ts +2282 -2282
  74. package/dist/theme/components/button.js +40 -42
  75. package/dist/theme/components/card.d.ts +767 -767
  76. package/dist/theme/components/card.js +1 -1
  77. package/dist/theme/components/checkbox.d.ts +381 -381
  78. package/dist/theme/components/checkbox.js +1 -1
  79. package/dist/theme/components/chip.js +65 -52
  80. package/dist/theme/components/components.js +3 -3
  81. package/dist/theme/components/form-label.d.ts +2 -2
  82. package/dist/theme/components/icon-button.d.ts +2294 -2294
  83. package/dist/theme/components/icon-button.js +31 -29
  84. package/dist/theme/components/linear-progress.d.ts +382 -382
  85. package/dist/theme/components/linear-progress.js +1 -1
  86. package/dist/theme/components/link.d.ts +2 -2
  87. package/dist/theme/components/link.js +1 -1
  88. package/dist/theme/components/list-item-button.d.ts +2 -2
  89. package/dist/theme/components/list-item.d.ts +2 -2
  90. package/dist/theme/components/outlined-input.js +1 -1
  91. package/dist/theme/components/pagination-item.d.ts +385 -385
  92. package/dist/theme/components/step-icon.d.ts +383 -383
  93. package/dist/theme/components/step-icon.js +1 -1
  94. package/dist/theme/components/step-label.d.ts +384 -384
  95. package/dist/theme/components/tab.d.ts +384 -384
  96. package/dist/theme/components/tabs.d.ts +386 -386
  97. package/dist/theme/components/toggle-button-group.d.ts +383 -383
  98. package/dist/theme/components/toggle-button-group.js +1 -1
  99. package/dist/theme/components/toggle-button.d.ts +385 -385
  100. package/dist/theme/components/toggle-button.js +1 -1
  101. package/dist/theme/theme-primitives.d.ts +132 -0
  102. package/dist/theme/theme-primitives.js +1 -1
  103. package/dist/theme/utils.d.ts +11 -0
  104. package/dist/theme/utils.js +4 -0
  105. package/dist/{theme-primitives-OrQ-xFJR.js → theme-primitives-D2vHHGiX.js} +34 -10
  106. package/dist/{toggle-button-BgpxYWVw.js → toggle-button-BUsRxHn0.js} +1 -1
  107. package/dist/{toggle-button-group-l4hL1DLP.js → toggle-button-group-ABwIhV4P.js} +1 -1
  108. package/package.json +1 -1
  109. 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 };