@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,25 +1,18 @@
1
- import { a as e, c as t, f as n, g as r, h as i, l as a, p as o, v as s } from "../../theme-primitives-OrQ-xFJR.js";
2
1
  //#region lib/theme/components/alert.tsx
3
- var c = (e, t, n) => ({
4
- color: e[50],
5
- "& .MuiAlert-icon": {
6
- color: e[50],
7
- alignSelf: "center"
8
- },
9
- "& .MuiAlert-message": { alignSelf: "center" },
10
- "& .MuiAlert-action": { color: e[50] },
11
- backgroundColor: e[700],
12
- ...n.applyStyles("dark", {
13
- color: t[50],
2
+ var e = (e, t) => {
3
+ let n = (e.vars ?? e).palette[t];
4
+ return {
5
+ color: n[50],
14
6
  "& .MuiAlert-icon": {
15
- color: t[50],
7
+ color: n[50],
16
8
  alignSelf: "center"
17
9
  },
18
10
  "& .MuiAlert-message": { alignSelf: "center" },
19
- "& .MuiAlert-action": { color: t[50] },
20
- backgroundColor: t[700]
21
- })
22
- }), l = { styleOverrides: { root: ({ theme: l }) => ({
11
+ "& .MuiAlert-action": { color: n[50] },
12
+ backgroundColor: n[800],
13
+ ...e.applyStyles("dark", { backgroundColor: n[700] })
14
+ };
15
+ }, t = { styleOverrides: { root: ({ theme: t }) => ({
23
16
  borderRadius: 10,
24
17
  "& .MuiAlert-action .MuiIconButton-root": {
25
18
  fontSize: "1.25rem",
@@ -28,21 +21,21 @@ var c = (e, t, n) => ({
28
21
  variants: [
29
22
  {
30
23
  props: { severity: "success" },
31
- style: { ...c(n, t, l) }
24
+ style: { ...e(t, "success") }
32
25
  },
33
26
  {
34
27
  props: { severity: "error" },
35
- style: { ...c(i, s, l) }
28
+ style: { ...e(t, "error") }
36
29
  },
37
30
  {
38
31
  props: { severity: "warning" },
39
- style: { ...c(o, r, l) }
32
+ style: { ...e(t, "warning") }
40
33
  },
41
34
  {
42
35
  props: { severity: "info" },
43
- style: { ...c(a, e, l) }
36
+ style: { ...e(t, "info") }
44
37
  }
45
38
  ]
46
39
  }) } };
47
40
  //#endregion
48
- export { l as MuiAlert };
41
+ export { t as MuiAlert };
@@ -1,10 +1,10 @@
1
1
  import { Theme } from '@mui/material/styles';
2
2
  export declare const MuiAppBar: {
3
3
  styleOverrides: {
4
- root: ({ theme }: import('@mui/material').AppBarOwnProps & Omit<import('@mui/material').PaperOwnProps, "classes" | "color" | "position" | "square" | "elevation"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "color" | "position" | "square" | "elevation" | "enableColorOnDark"> & {
4
+ root: ({ theme }: import('@mui/material').AppBarOwnProps & Omit<import('@mui/material').PaperOwnProps, "classes" | "elevation" | "square" | "color" | "position"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "className" | "style" | "classes" | "children" | "elevation" | "square" | "sx" | "variant" | "color" | "position" | "enableColorOnDark"> & {
5
5
  component?: React.ElementType | undefined;
6
6
  } & Record<string, unknown> & {
7
- ownerState: import('@mui/material').AppBarOwnProps & Omit<import('@mui/material').PaperOwnProps, "classes" | "color" | "position" | "square" | "elevation"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "color" | "position" | "square" | "elevation" | "enableColorOnDark"> & {
7
+ ownerState: import('@mui/material').AppBarOwnProps & Omit<import('@mui/material').PaperOwnProps, "classes" | "elevation" | "square" | "color" | "position"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "className" | "style" | "classes" | "children" | "elevation" | "square" | "sx" | "variant" | "color" | "position" | "enableColorOnDark"> & {
8
8
  component?: React.ElementType | undefined;
9
9
  } & Record<string, unknown>;
10
10
  } & {