@solostylist/ui-kit 1.0.222 → 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-DMsuLF8N.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-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +1 -1
- package/dist/{s-accordion-DH_7P3Il.js → s-accordion-CXHBadZ_.js} +1 -1
- package/dist/s-autocomplete/s-autocomplete.d.ts +1 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.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-B0gdPa1c.js → s-chat-input-DKGeMh55.js} +98 -98
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +1 -1
- package/dist/{s-chat-message-DVfbqSAQ.js → s-chat-message-ox4Sj6xh.js} +2 -2
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/{s-code-block-CHIgPLsL.js → s-code-block-sjt0AQb_.js} +1 -1
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +1 -1
- package/dist/{s-comment-message-DuJPcZFR.js → s-comment-message-DzjXXLZQ.js} +2 -2
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- 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.d.ts +1 -1
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.d.ts +19 -1
- package/dist/s-data-table/s-data-table.js +1 -1
- package/dist/s-data-table-TrCdKq9r.js +923 -0
- 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/s-dialog.js +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +1 -2
- package/dist/s-dialog-message/s-dialog-message.js +1 -1
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/s-gallery/s-gallery.js +1 -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-image-modal/index.js +1 -1
- package/dist/s-image-modal/s-image-modal.js +1 -1
- package/dist/{s-image-modal-DxwMFMNS.js → s-image-modal-DA3DBNbv.js} +2 -2
- package/dist/s-label/s-label.js +1 -1
- 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 +4 -4
- 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-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-Ca6JUgGr.js → s-review-D4FBfBPF.js} +1 -1
- package/dist/s-scroll-to-top/s-scroll-to-top.js +1 -1
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +1 -1
- package/dist/s-stripe/s-stripe.d.ts +1 -1
- package/dist/s-stripe/s-stripe.js +5 -4
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
- package/dist/s-text-editor/s-text-editor.js +30 -31
- package/dist/{s-text-editor-toolbar-BnhPG9xv.js → s-text-editor-toolbar-CCK7yyNS.js} +1 -1
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/s-theme-demo/index.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +1 -1
- package/dist/{s-theme-demo-BHyjzAU0.js → s-theme-demo-THHj5mFp.js} +3 -3
- 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-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +1 -1
- 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-Du66wRC2.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/avatar.js +1 -1
- 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 +4 -4
- 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-data-table-xIW-BAS9.js +0 -880
- package/dist/s-date-picker-Mynq297P.js +0 -634
- /package/dist/{ArrowUpward-BbQSKheQ.js → ArrowUpward-BMKLosZj.js} +0 -0
- /package/dist/{ChevronRight-DHulYS1l.js → ChevronRight-OLNOfW9P.js} +0 -0
- /package/dist/{Close-oXeOGTZb.js → Close-Bj2HYB9Q.js} +0 -0
- /package/dist/{ContentCopy-Bh_TA5Eo.js → ContentCopy-Br2p19dq.js} +0 -0
- /package/dist/{Download-DMm8oiCF.js → Download-BhSXOhCI.js} +0 -0
- /package/dist/{ExpandMore-DsZNN1Eh.js → ExpandMore-Bu7_1g6Q.js} +0 -0
- /package/dist/{Favorite-DIml4fHR.js → Favorite-BJSuHe0H.js} +0 -0
- /package/dist/{InfoOutlined-CqXSSVWh.js → InfoOutlined-C1AW3f5V.js} +0 -0
- /package/dist/{avatar-BQf6phmU.js → avatar-BuMhUthq.js} +0 -0
- /package/dist/{s-chips-BuAEBW1F.js → s-chips-DelHx6zM.js} +0 -0
- /package/dist/{s-file-dropzone-COPp1HiT.js → s-file-dropzone-oaQoRV92.js} +0 -0
- /package/dist/{s-select-ClL8bygg.js → s-select-b8CHbeCf.js} +0 -0
- /package/dist/{s-text-field-qps0aDNS.js → s-text-field-Ck5QMhYI.js} +0 -0
- /package/dist/{s-theme-switch-D1FpcDj1.js → s-theme-switch-V3Q58mkG.js} +0 -0
- /package/dist/{s-tip-D6M91nev.js → s-tip-Dwu5T2u0.js} +0 -0
|
@@ -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 };
|