@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.
- 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-cOCqPTUS.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-ox4Sj6xh.js → s-chat-message-Cb1npIQO.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.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/s-dialog.d.ts +3 -3
- package/dist/s-dialog/s-dialog.js +6 -5
- package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +7 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
- 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.d.ts +6 -0
- package/dist/s-image-modal/s-image-modal.js +1 -1
- package/dist/{s-image-modal-DA3DBNbv.js → s-image-modal-Za71QD3d.js} +43 -43
- 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-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-D4FBfBPF.js → s-review-DjvDY-h4.js} +1 -1
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.d.ts +2 -0
- package/dist/s-select/s-select.js +1 -1
- package/dist/{s-select-b8CHbeCf.js → s-select-B-dEcddK.js} +20 -20
- package/dist/s-stripe/s-stripe.js +1 -1
- 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-CCK7yyNS.js → s-text-editor-toolbar-DP0MkICo.js} +1 -1
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.d.ts +3 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/{s-text-field-Ck5QMhYI.js → s-text-field-GqcwXwta.js} +11 -11
- 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-THHj5mFp.js → s-theme-demo-BpeyFRKt.js} +1 -1
- 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-DaZ2wT09.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,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
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
color:
|
|
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:
|
|
7
|
+
color: n[50],
|
|
16
8
|
alignSelf: "center"
|
|
17
9
|
},
|
|
18
10
|
"& .MuiAlert-message": { alignSelf: "center" },
|
|
19
|
-
"& .MuiAlert-action": { color:
|
|
20
|
-
backgroundColor:
|
|
21
|
-
|
|
22
|
-
}
|
|
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: { ...
|
|
24
|
+
style: { ...e(t, "success") }
|
|
32
25
|
},
|
|
33
26
|
{
|
|
34
27
|
props: { severity: "error" },
|
|
35
|
-
style: { ...
|
|
28
|
+
style: { ...e(t, "error") }
|
|
36
29
|
},
|
|
37
30
|
{
|
|
38
31
|
props: { severity: "warning" },
|
|
39
|
-
style: { ...
|
|
32
|
+
style: { ...e(t, "warning") }
|
|
40
33
|
},
|
|
41
34
|
{
|
|
42
35
|
props: { severity: "info" },
|
|
43
|
-
style: { ...
|
|
36
|
+
style: { ...e(t, "info") }
|
|
44
37
|
}
|
|
45
38
|
]
|
|
46
39
|
}) } };
|
|
47
40
|
//#endregion
|
|
48
|
-
export {
|
|
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" | "
|
|
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" | "
|
|
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
|
} & {
|