@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.
- package/dist/{checkbox-PlpiwQNi.js → checkbox-B95Vlykq.js} +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/{use-count-down.d.ts → use-countdown.d.ts} +8 -8
- package/dist/hooks/{use-count-down.js → use-countdown.js} +1 -1
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +1 -1
- package/dist/{s-chat-input-DpCaY6gB.js → s-chat-input-DKGeMh55.js} +98 -98
- package/dist/s-countdown/index.d.ts +2 -2
- package/dist/s-countdown/index.js +1 -1
- package/dist/s-countdown/{s-count-down.d.ts → s-countdown.d.ts} +17 -17
- package/dist/s-countdown/{s-count-down.js → s-countdown.js} +2 -2
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +1 -1
- package/dist/{s-data-table-Cb7CsYQf.js → s-data-table-TrCdKq9r.js} +12 -12
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +1 -1
- package/dist/s-date-picker-BkZIEZoz.js +634 -0
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
- package/dist/{s-datetime-picker-D78dPyAo.js → s-datetime-picker-rCWovez1.js} +394 -394
- package/dist/s-dialog-confirm/s-dialog-confirm.js +0 -1
- package/dist/s-glow-button/s-glow-button.d.ts +1 -1
- package/dist/s-glow-button/s-glow-button.js +18 -19
- package/dist/s-nav-item/index.d.ts +0 -1
- package/dist/s-nav-item/index.js +1 -2
- package/dist/s-nav-items/index.d.ts +2 -0
- package/dist/s-nav-items/index.js +2 -0
- package/dist/{s-nav-item → s-nav-items}/s-nav-items.d.ts +1 -1
- package/dist/{s-nav-item → s-nav-items}/s-nav-items.js +3 -3
- package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +1 -1
- package/dist/s-pixel-reveal/s-pixel-reveal.js +74 -69
- package/dist/s-text-editor/s-text-editor.js +30 -31
- package/dist/s-theme-provider/s-theme-provider.d.ts +3 -3
- package/dist/s-theme-provider/s-theme-provider.js +32 -26
- package/dist/s-tool-bar/index.js +1 -1
- package/dist/s-tool-bar/s-tool-bar.js +1 -1
- package/dist/{s-tool-bar-B-v1I_Hy.js → s-tool-bar-DGfyNoYW.js} +142 -143
- package/dist/theme/components/accordion-summary.d.ts +385 -385
- package/dist/theme/components/accordion-summary.js +1 -1
- package/dist/theme/components/accordion.d.ts +2 -2
- package/dist/theme/components/alert.d.ts +1524 -1524
- package/dist/theme/components/alert.js +15 -22
- package/dist/theme/components/app-bar.d.ts +2 -2
- package/dist/theme/components/button.d.ts +2282 -2282
- package/dist/theme/components/button.js +40 -42
- package/dist/theme/components/card.d.ts +767 -767
- package/dist/theme/components/card.js +1 -1
- package/dist/theme/components/checkbox.d.ts +381 -381
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.js +65 -52
- package/dist/theme/components/components.js +3 -3
- package/dist/theme/components/form-label.d.ts +2 -2
- package/dist/theme/components/icon-button.d.ts +2294 -2294
- package/dist/theme/components/icon-button.js +31 -29
- package/dist/theme/components/linear-progress.d.ts +382 -382
- package/dist/theme/components/linear-progress.js +1 -1
- package/dist/theme/components/link.d.ts +2 -2
- package/dist/theme/components/link.js +1 -1
- package/dist/theme/components/list-item-button.d.ts +2 -2
- package/dist/theme/components/list-item.d.ts +2 -2
- package/dist/theme/components/outlined-input.js +1 -1
- package/dist/theme/components/pagination-item.d.ts +385 -385
- package/dist/theme/components/step-icon.d.ts +383 -383
- package/dist/theme/components/step-icon.js +1 -1
- package/dist/theme/components/step-label.d.ts +384 -384
- package/dist/theme/components/tab.d.ts +384 -384
- package/dist/theme/components/tabs.d.ts +386 -386
- package/dist/theme/components/toggle-button-group.d.ts +383 -383
- package/dist/theme/components/toggle-button-group.js +1 -1
- package/dist/theme/components/toggle-button.d.ts +385 -385
- package/dist/theme/components/toggle-button.js +1 -1
- package/dist/theme/theme-primitives.d.ts +132 -0
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/theme/utils.d.ts +11 -0
- package/dist/theme/utils.js +4 -0
- package/dist/{theme-primitives-OrQ-xFJR.js → theme-primitives-D2vHHGiX.js} +34 -10
- package/dist/{toggle-button-BgpxYWVw.js → toggle-button-BUsRxHn0.js} +1 -1
- package/dist/{toggle-button-group-l4hL1DLP.js → toggle-button-group-ABwIhV4P.js} +1 -1
- package/package.json +1 -1
- package/dist/s-date-picker-Mynq297P.js +0 -634
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import {
|
|
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
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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:
|
|
19
|
-
color:
|
|
8
|
+
backgroundColor: e(r[800], 12),
|
|
9
|
+
color: r[900]
|
|
20
10
|
},
|
|
21
|
-
"&:active": { backgroundColor:
|
|
11
|
+
"&:active": { backgroundColor: e(r[800], 20) },
|
|
22
12
|
"&.Mui-disabled": {
|
|
23
|
-
color:
|
|
13
|
+
color: r[300],
|
|
24
14
|
opacity: .5
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
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: { ...
|
|
58
|
+
style: { ...t(e, "primary") }
|
|
57
59
|
},
|
|
58
60
|
{
|
|
59
61
|
props: { color: "secondary" },
|
|
60
|
-
style: { ...
|
|
62
|
+
style: { ...t(e, "secondary") }
|
|
61
63
|
},
|
|
62
64
|
{
|
|
63
65
|
props: { color: "success" },
|
|
64
|
-
style: { ...
|
|
66
|
+
style: { ...t(e, "success") }
|
|
65
67
|
},
|
|
66
68
|
{
|
|
67
69
|
props: { color: "error" },
|
|
68
|
-
style: { ...
|
|
70
|
+
style: { ...t(e, "error") }
|
|
69
71
|
},
|
|
70
72
|
{
|
|
71
73
|
props: { color: "info" },
|
|
72
|
-
style: { ...
|
|
74
|
+
style: { ...t(e, "info") }
|
|
73
75
|
},
|
|
74
76
|
{
|
|
75
77
|
props: { color: "warning" },
|
|
76
|
-
style: { ...
|
|
78
|
+
style: { ...t(e, "warning") }
|
|
77
79
|
}
|
|
78
80
|
]
|
|
79
81
|
}) } };
|
|
80
82
|
//#endregion
|
|
81
|
-
export {
|
|
83
|
+
export { n as MuiIconButton };
|