@solostylist/ui-kit 1.0.54 → 1.0.55
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/{Box-BOnkyXg-.js → Box-MoP3r0T2.js} +13 -14
- package/dist/Close-DLG48sGB.js +8 -0
- package/dist/HelpOutlineOutlined-CBZQGWGK.js +8 -0
- package/dist/{Menu-BTGaz6HX.js → Menu-Y8dE9GrA.js} +30 -31
- package/dist/{Stack-CHCAZYKm.js → Stack-DT2aopM5.js} +5 -5
- package/dist/{TransitionGroup-CuA3gNyE.js → TransitionGroup-BCkqyHLn.js} +1 -1
- package/dist/{Typography-8CUP66S2.js → Typography-BXwj4yQZ.js} +5 -5
- package/dist/{buttonBaseClasses-CTVeu_V8.js → buttonBaseClasses-2-g8E4KG.js} +2 -2
- package/dist/createSvgIcon-YtxTUNwI.js +535 -0
- package/dist/{createTheme-CyFSna1a.js → createTheme-CozHbEju.js} +227 -225
- package/dist/{extendSxProp-C6KgcV1-.js → extendSxProp-BuqOAkIB.js} +1 -1
- package/dist/{iconButtonClasses-CpCspPuI.js → iconButtonClasses-Ba5VdL62.js} +2 -2
- package/dist/identifier-9JFYVRsR.js +246 -0
- package/dist/{index-BKXuuq9K.js → index-GaV7LHxy.js} +5 -5
- package/dist/{outlinedInputClasses-Y-zQ9ZHZ.js → outlinedInputClasses-MXXlnR_X.js} +2 -2
- package/dist/s-data-table/s-data-table.js +46 -48
- package/dist/s-dialog/s-dialog.js +13 -13
- package/dist/s-dialog-confirm/s-dialog-confirm.js +10 -10
- package/dist/s-dialog-message/s-dialog-message.js +8 -8
- package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-form/s-form.js +7 -7
- package/dist/s-label/s-label.js +7 -7
- package/dist/s-multi-select/s-multi-select.js +47 -49
- package/dist/s-smart-text-field/s-smart-text-field.js +3 -3
- package/dist/s-text-editor/s-text-editor-toolbar.js +614 -602
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-tip/s-tip.js +12 -10
- package/dist/theme/components/avatar.js +7 -5
- package/dist/theme/customizations/data-display.js +7 -7
- package/dist/theme/customizations/feedback.js +1 -1
- package/dist/theme/customizations/inputs.js +13 -14
- package/dist/theme/customizations/navigation.js +3 -3
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{typographyClasses-DVLfmcGt.js → typographyClasses-D511Gj84.js} +2 -2
- package/dist/{useControlled-DnifWmuD.js → useFormControl-B3RPiDsz.js} +8 -8
- package/dist/{useSlot-DFX3jR9F.js → useSlot-GW4ou7g5.js} +18 -19
- package/dist/{useTheme-TEQWKSsD.js → useTheme-vk3BYrgD.js} +1 -1
- package/package.json +1 -2
- package/dist/createSvgIcon-FIMSBrG5.js +0 -247
- package/dist/emotion-serialize.esm-lgBmL_7o.js +0 -195
- package/dist/generateUtilityClasses-CvAVhM6T.js +0 -10
- package/dist/identifier-BA7fwE7E.js +0 -46
- package/dist/memoTheme-Bz_6CvJG.js +0 -293
- package/dist/svgIconClasses-SRBiyaM8.js +0 -10
|
@@ -5,7 +5,7 @@ import { Placeholder as m } from "@tiptap/extension-placeholder";
|
|
|
5
5
|
import { useEditor as c, EditorContent as f } from "@tiptap/react";
|
|
6
6
|
import { StarterKit as u } from "@tiptap/starter-kit";
|
|
7
7
|
import { STextEditorToolbar as x } from "./s-text-editor-toolbar.js";
|
|
8
|
-
import { B as d } from "../Box-
|
|
8
|
+
import { B as d } from "../Box-MoP3r0T2.js";
|
|
9
9
|
const z = ({
|
|
10
10
|
content: r,
|
|
11
11
|
editable: o = !0,
|
package/dist/s-tip/s-tip.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import { S as s } from "../Stack-
|
|
4
|
-
import { T as
|
|
5
|
-
const
|
|
1
|
+
import { j as t } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { c as e } from "../createSvgIcon-YtxTUNwI.js";
|
|
3
|
+
import { S as s } from "../Stack-DT2aopM5.js";
|
|
4
|
+
import { T as r } from "../Typography-BXwj4yQZ.js";
|
|
5
|
+
const a = e(/* @__PURE__ */ t.jsx("path", {
|
|
6
|
+
d: "M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7m2 11.7V16h-4v-2.3C8.48 12.63 7 11.53 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.49-1.51 3.65-3 4.7"
|
|
7
|
+
}), "LightbulbOutline"), l = ({ message: o }) => /* @__PURE__ */ t.jsxs(
|
|
6
8
|
s,
|
|
7
9
|
{
|
|
8
10
|
direction: "row",
|
|
@@ -16,15 +18,15 @@ const c = ({ message: t }) => /* @__PURE__ */ r.jsxs(
|
|
|
16
18
|
color: "var(--s-palette-text-secondary)"
|
|
17
19
|
},
|
|
18
20
|
children: [
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
21
|
+
/* @__PURE__ */ t.jsx(a, { sx: { fontSize: 16 } }),
|
|
22
|
+
/* @__PURE__ */ t.jsxs(r, { variant: "body2", children: [
|
|
23
|
+
/* @__PURE__ */ t.jsx(r, { component: "span", sx: { fontWeight: "bold" }, variant: "inherit", children: "Tip." }),
|
|
22
24
|
" ",
|
|
23
|
-
|
|
25
|
+
o
|
|
24
26
|
] })
|
|
25
27
|
]
|
|
26
28
|
}
|
|
27
29
|
);
|
|
28
30
|
export {
|
|
29
|
-
|
|
31
|
+
l as default
|
|
30
32
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
import { j as e } from "../../jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { c as r } from "../../createSvgIcon-YtxTUNwI.js";
|
|
3
|
+
const s = r(/* @__PURE__ */ e.jsx("path", {
|
|
4
|
+
d: "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4"
|
|
5
|
+
}), "PersonOutlineOutlined"), n = {
|
|
6
|
+
defaultProps: { children: /* @__PURE__ */ e.jsx(s, {}) },
|
|
5
7
|
styleOverrides: {
|
|
6
8
|
rounded: { borderRadius: 12 }
|
|
7
9
|
}
|
|
8
10
|
};
|
|
9
11
|
export {
|
|
10
|
-
|
|
12
|
+
n as MuiAvatar
|
|
11
13
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as n } from "../../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import {
|
|
2
|
+
import { C as s } from "../../Close-DLG48sGB.js";
|
|
3
3
|
import { gray as e, green as l, red as a } from "../theme-primitives.js";
|
|
4
|
-
import { i as d } from "../../iconButtonClasses-
|
|
5
|
-
import { g as c } from "../../
|
|
6
|
-
import {
|
|
7
|
-
import { b as p } from "../../buttonBaseClasses-
|
|
8
|
-
import { t as y } from "../../typographyClasses-
|
|
9
|
-
import { a as t } from "../../createTheme-
|
|
4
|
+
import { i as d } from "../../iconButtonClasses-Ba5VdL62.js";
|
|
5
|
+
import { g as c } from "../../identifier-9JFYVRsR.js";
|
|
6
|
+
import { b as i } from "../../createSvgIcon-YtxTUNwI.js";
|
|
7
|
+
import { b as p } from "../../buttonBaseClasses-2-g8E4KG.js";
|
|
8
|
+
import { t as y } from "../../typographyClasses-D511Gj84.js";
|
|
9
|
+
import { a as t } from "../../createTheme-CozHbEju.js";
|
|
10
10
|
const r = c("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), h = {
|
|
11
11
|
MuiList: {
|
|
12
12
|
styleOverrides: {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { j as a } from "../../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as l, b as d } from "../../createSvgIcon-YtxTUNwI.js";
|
|
3
3
|
import { brand as r, gray as e } from "../theme-primitives.js";
|
|
4
|
-
import { o as
|
|
5
|
-
import { g as n } from "../../
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const p = i(/* @__PURE__ */ a.jsx("path", {
|
|
4
|
+
import { o as s } from "../../outlinedInputClasses-MXXlnR_X.js";
|
|
5
|
+
import { g as n } from "../../identifier-9JFYVRsR.js";
|
|
6
|
+
import { a as t } from "../../createTheme-CozHbEju.js";
|
|
7
|
+
const p = l(/* @__PURE__ */ a.jsx("path", {
|
|
9
8
|
d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1m1-16H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"
|
|
10
|
-
}), "CheckBoxOutlineBlankRounded"), c =
|
|
9
|
+
}), "CheckBoxOutlineBlankRounded"), c = l(/* @__PURE__ */ a.jsx("path", {
|
|
11
10
|
d: "M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"
|
|
12
|
-
}), "CheckRounded"), u =
|
|
11
|
+
}), "CheckRounded"), u = l(/* @__PURE__ */ a.jsx("path", {
|
|
13
12
|
d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"
|
|
14
|
-
}), "RemoveRounded"), b = n("MuiToggleButton", ["root", "disabled", "selected", "standard", "primary", "secondary", "sizeSmall", "sizeMedium", "sizeLarge", "fullWidth"]),
|
|
13
|
+
}), "RemoveRounded"), b = n("MuiToggleButton", ["root", "disabled", "selected", "standard", "primary", "secondary", "sizeSmall", "sizeMedium", "sizeLarge", "fullWidth"]), i = n("MuiToggleButtonGroup", ["root", "selected", "horizontal", "vertical", "disabled", "grouped", "groupedHorizontal", "groupedVertical", "fullWidth", "firstButton", "lastButton", "middleButton"]), h = {
|
|
15
14
|
MuiButtonBase: {
|
|
16
15
|
defaultProps: {
|
|
17
16
|
disableTouchRipple: !0,
|
|
@@ -269,7 +268,7 @@ const p = i(/* @__PURE__ */ a.jsx("path", {
|
|
|
269
268
|
width: "2.25rem",
|
|
270
269
|
height: "2.25rem",
|
|
271
270
|
padding: "0.25rem",
|
|
272
|
-
[`& .${
|
|
271
|
+
[`& .${d.root}`]: { fontSize: "1rem" }
|
|
273
272
|
}
|
|
274
273
|
},
|
|
275
274
|
{
|
|
@@ -290,11 +289,11 @@ const p = i(/* @__PURE__ */ a.jsx("path", {
|
|
|
290
289
|
root: ({ theme: o }) => ({
|
|
291
290
|
borderRadius: "10px",
|
|
292
291
|
boxShadow: `0 4px 16px ${t(e[400], 0.2)}`,
|
|
293
|
-
[`& .${
|
|
292
|
+
[`& .${i.selected}`]: {
|
|
294
293
|
color: r[500]
|
|
295
294
|
},
|
|
296
295
|
...o.applyStyles("dark", {
|
|
297
|
-
[`& .${
|
|
296
|
+
[`& .${i.selected}`]: {
|
|
298
297
|
color: "#fff"
|
|
299
298
|
},
|
|
300
299
|
boxShadow: `0 4px 16px ${t(r[700], 0.5)}`
|
|
@@ -432,7 +431,7 @@ const p = i(/* @__PURE__ */ a.jsx("path", {
|
|
|
432
431
|
"&:hover": {
|
|
433
432
|
borderColor: e[400]
|
|
434
433
|
},
|
|
435
|
-
[`&.${
|
|
434
|
+
[`&.${s.focused}`]: {
|
|
436
435
|
outline: `3px solid ${t(r[500], 0.5)}`,
|
|
437
436
|
borderColor: r[400]
|
|
438
437
|
},
|
|
@@ -485,5 +484,5 @@ const p = i(/* @__PURE__ */ a.jsx("path", {
|
|
|
485
484
|
}
|
|
486
485
|
};
|
|
487
486
|
export {
|
|
488
|
-
|
|
487
|
+
h as inputsCustomizations
|
|
489
488
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as e } from "../../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import * as i from "react";
|
|
3
|
-
import { c as l } from "../../createSvgIcon-
|
|
3
|
+
import { c as l } from "../../createSvgIcon-YtxTUNwI.js";
|
|
4
4
|
import { gray as r, brand as s } from "../theme-primitives.js";
|
|
5
|
-
import { g as n } from "../../
|
|
6
|
-
import { a as d } from "../../createTheme-
|
|
5
|
+
import { g as n } from "../../identifier-9JFYVRsR.js";
|
|
6
|
+
import { a as d } from "../../createTheme-CozHbEju.js";
|
|
7
7
|
const p = l(/* @__PURE__ */ e.jsx("path", {
|
|
8
8
|
d: "m12 5.83 2.46 2.46c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L12.7 3.7a.996.996 0 0 0-1.41 0L8.12 6.88c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0zm0 12.34-2.46-2.46a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l3.17 3.18c.39.39 1.02.39 1.41 0l3.17-3.17c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"
|
|
9
9
|
}), "UnfoldMoreRounded"), t = n("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), g = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as a } from "./
|
|
2
|
-
import { g as i } from "./createTheme-
|
|
1
|
+
import { g as a } from "./identifier-9JFYVRsR.js";
|
|
2
|
+
import { g as i } from "./createTheme-CozHbEju.js";
|
|
3
3
|
function e(t) {
|
|
4
4
|
return i("MuiTypography", t);
|
|
5
5
|
}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
|
|
3
|
-
process.env.NODE_ENV !== "production" && (c.displayName = "FormControlContext");
|
|
4
|
-
function m() {
|
|
5
|
-
return e.useContext(c);
|
|
6
|
-
}
|
|
7
|
-
function p(i) {
|
|
2
|
+
function m(i) {
|
|
8
3
|
const {
|
|
9
4
|
controlled: n,
|
|
10
5
|
default: r,
|
|
@@ -31,8 +26,13 @@ function p(i) {
|
|
|
31
26
|
}, []);
|
|
32
27
|
return [d, f];
|
|
33
28
|
}
|
|
29
|
+
const c = /* @__PURE__ */ e.createContext(void 0);
|
|
30
|
+
process.env.NODE_ENV !== "production" && (c.displayName = "FormControlContext");
|
|
31
|
+
function p() {
|
|
32
|
+
return e.useContext(c);
|
|
33
|
+
}
|
|
34
34
|
export {
|
|
35
35
|
c as F,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
p as a,
|
|
37
|
+
m as u
|
|
38
38
|
};
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
var Ie = Object.defineProperty;
|
|
2
2
|
var ke = (e, n, t) => n in e ? Ie(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var W = (e, n, t) => ke(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import { c as M } from "./identifier-
|
|
4
|
+
import { c as M, g as je } from "./identifier-9JFYVRsR.js";
|
|
5
5
|
import * as h from "react";
|
|
6
|
-
import { P as o } from "./createTheme-
|
|
6
|
+
import { P as o } from "./createTheme-CozHbEju.js";
|
|
7
7
|
import { j as x } from "./jsx-runtime-C5mzlN2N.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { T as Ae } from "./TransitionGroup-CuA3gNyE.js";
|
|
8
|
+
import { u as ce, s as P, a as Oe } from "./createSvgIcon-YtxTUNwI.js";
|
|
9
|
+
import { T as Ae } from "./TransitionGroup-BCkqyHLn.js";
|
|
11
10
|
import { keyframes as ee } from "@emotion/react";
|
|
12
|
-
import { g as De, b as Le } from "./buttonBaseClasses-
|
|
11
|
+
import { g as De, b as Le } from "./buttonBaseClasses-2-g8E4KG.js";
|
|
13
12
|
import { u as $e } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
14
|
-
function Be(e, n) {
|
|
15
|
-
return process.env.NODE_ENV === "production" ? () => null : function(...s) {
|
|
16
|
-
return e(...s) || n(...s);
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
13
|
function v(e) {
|
|
20
14
|
const n = h.useRef(e);
|
|
21
15
|
return $e(() => {
|
|
@@ -48,17 +42,17 @@ function Q(...e) {
|
|
|
48
42
|
n.current && (n.current(), n.current = void 0), s != null && (n.current = t(s));
|
|
49
43
|
}, e);
|
|
50
44
|
}
|
|
51
|
-
function
|
|
45
|
+
function Be(e, n) {
|
|
52
46
|
const t = e.charCodeAt(2);
|
|
53
47
|
return e[0] === "o" && e[1] === "n" && t >= 65 && t <= 90 && typeof n == "function";
|
|
54
48
|
}
|
|
55
|
-
function
|
|
49
|
+
function dt(e, n) {
|
|
56
50
|
if (!e)
|
|
57
51
|
return n;
|
|
58
52
|
function t(f, i) {
|
|
59
53
|
const l = {};
|
|
60
54
|
return Object.keys(i).forEach((a) => {
|
|
61
|
-
|
|
55
|
+
Be(a, i[a]) && typeof f[a] == "function" && (l[a] = (...d) => {
|
|
62
56
|
f[a](...d), i[a](...d);
|
|
63
57
|
});
|
|
64
58
|
}), l;
|
|
@@ -106,6 +100,11 @@ function mt(e, n) {
|
|
|
106
100
|
}
|
|
107
101
|
};
|
|
108
102
|
}
|
|
103
|
+
function He(e, n) {
|
|
104
|
+
return process.env.NODE_ENV === "production" ? () => null : function(...s) {
|
|
105
|
+
return e(...s) || n(...s);
|
|
106
|
+
};
|
|
107
|
+
}
|
|
109
108
|
const Ue = o.oneOfType([o.func, o.object]);
|
|
110
109
|
function xe(e) {
|
|
111
110
|
const {
|
|
@@ -124,7 +123,7 @@ function ze(e, n, t, s, r) {
|
|
|
124
123
|
let i;
|
|
125
124
|
return typeof u == "function" && !xe(u) && (i = "Did you accidentally provide a plain function component instead?"), i !== void 0 ? new Error(`Invalid ${s} \`${f}\` supplied to \`${t}\`. Expected an element type that can hold a ref. ${i} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
126
125
|
}
|
|
127
|
-
const Ke =
|
|
126
|
+
const Ke = He(o.elementType, ze);
|
|
128
127
|
function se(e) {
|
|
129
128
|
try {
|
|
130
129
|
return e.matches(":focus-visible");
|
|
@@ -909,7 +908,7 @@ function ot(e) {
|
|
|
909
908
|
internalRef: a.ref
|
|
910
909
|
};
|
|
911
910
|
}
|
|
912
|
-
function
|
|
911
|
+
function mt(e, n) {
|
|
913
912
|
const {
|
|
914
913
|
className: t,
|
|
915
914
|
elementType: s,
|
|
@@ -954,16 +953,16 @@ function yt(e, n) {
|
|
|
954
953
|
}
|
|
955
954
|
export {
|
|
956
955
|
Pe as B,
|
|
957
|
-
|
|
956
|
+
mt as a,
|
|
958
957
|
v as b,
|
|
959
|
-
|
|
958
|
+
He as c,
|
|
960
959
|
Fe as d,
|
|
961
960
|
Ke as e,
|
|
962
961
|
st as f,
|
|
963
962
|
nt as g,
|
|
964
963
|
ot as h,
|
|
965
964
|
tt as i,
|
|
966
|
-
|
|
965
|
+
dt as m,
|
|
967
966
|
Ue as r,
|
|
968
967
|
Q as u
|
|
969
968
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.55",
|
|
7
7
|
"description": "advanced ui kit for solostylist",
|
|
8
8
|
"private": false,
|
|
9
9
|
"type": "module",
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
"@mui/utils": "^7.0.2",
|
|
37
37
|
"@stripe/react-stripe-js": "^3.7.0",
|
|
38
38
|
"@stripe/stripe-js": "^7.3.1",
|
|
39
|
-
"@tabler/icons-react": "^3.34.0",
|
|
40
39
|
"@tiptap/extension-link": "^2.11.9",
|
|
41
40
|
"@tiptap/extension-placeholder": "^2.11.9",
|
|
42
41
|
"@tiptap/react": "^2.11.9",
|
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
import * as h from "react";
|
|
2
|
-
import { j as w } from "./jsx-runtime-C5mzlN2N.js";
|
|
3
|
-
import { c as x, P as o } from "./createTheme-CyFSna1a.js";
|
|
4
|
-
import { c as N } from "./identifier-BA7fwE7E.js";
|
|
5
|
-
import { u as b, s as O, c as R, m as T } from "./memoTheme-Bz_6CvJG.js";
|
|
6
|
-
import { g as I } from "./svgIconClasses-SRBiyaM8.js";
|
|
7
|
-
const j = (e) => {
|
|
8
|
-
const {
|
|
9
|
-
color: r,
|
|
10
|
-
fontSize: n,
|
|
11
|
-
classes: i
|
|
12
|
-
} = e, s = {
|
|
13
|
-
root: ["root", r !== "inherit" && `color${x(r)}`, `fontSize${x(n)}`]
|
|
14
|
-
};
|
|
15
|
-
return R(s, I, i);
|
|
16
|
-
}, C = O("svg", {
|
|
17
|
-
name: "MuiSvgIcon",
|
|
18
|
-
slot: "Root",
|
|
19
|
-
overridesResolver: (e, r) => {
|
|
20
|
-
const {
|
|
21
|
-
ownerState: n
|
|
22
|
-
} = e;
|
|
23
|
-
return [r.root, n.color !== "inherit" && r[`color${x(n.color)}`], r[`fontSize${x(n.fontSize)}`]];
|
|
24
|
-
}
|
|
25
|
-
})(T(({
|
|
26
|
-
theme: e
|
|
27
|
-
}) => {
|
|
28
|
-
var r, n, i, s, l, g, c, S, p, m, a, d, v, f;
|
|
29
|
-
return {
|
|
30
|
-
userSelect: "none",
|
|
31
|
-
width: "1em",
|
|
32
|
-
height: "1em",
|
|
33
|
-
display: "inline-block",
|
|
34
|
-
flexShrink: 0,
|
|
35
|
-
transition: (s = (r = e.transitions) == null ? void 0 : r.create) == null ? void 0 : s.call(r, "fill", {
|
|
36
|
-
duration: (i = (n = (e.vars ?? e).transitions) == null ? void 0 : n.duration) == null ? void 0 : i.shorter
|
|
37
|
-
}),
|
|
38
|
-
variants: [
|
|
39
|
-
{
|
|
40
|
-
props: (t) => !t.hasSvgAsChild,
|
|
41
|
-
style: {
|
|
42
|
-
// the <svg> will define the property that has `currentColor`
|
|
43
|
-
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
44
|
-
fill: "currentColor"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
props: {
|
|
49
|
-
fontSize: "inherit"
|
|
50
|
-
},
|
|
51
|
-
style: {
|
|
52
|
-
fontSize: "inherit"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
props: {
|
|
57
|
-
fontSize: "small"
|
|
58
|
-
},
|
|
59
|
-
style: {
|
|
60
|
-
fontSize: ((g = (l = e.typography) == null ? void 0 : l.pxToRem) == null ? void 0 : g.call(l, 20)) || "1.25rem"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
props: {
|
|
65
|
-
fontSize: "medium"
|
|
66
|
-
},
|
|
67
|
-
style: {
|
|
68
|
-
fontSize: ((S = (c = e.typography) == null ? void 0 : c.pxToRem) == null ? void 0 : S.call(c, 24)) || "1.5rem"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
props: {
|
|
73
|
-
fontSize: "large"
|
|
74
|
-
},
|
|
75
|
-
style: {
|
|
76
|
-
fontSize: ((m = (p = e.typography) == null ? void 0 : p.pxToRem) == null ? void 0 : m.call(p, 35)) || "2.1875rem"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
// TODO v5 deprecate color prop, v6 remove for sx
|
|
80
|
-
...Object.entries((e.vars ?? e).palette).filter(([, t]) => t && t.main).map(([t]) => {
|
|
81
|
-
var u, y;
|
|
82
|
-
return {
|
|
83
|
-
props: {
|
|
84
|
-
color: t
|
|
85
|
-
},
|
|
86
|
-
style: {
|
|
87
|
-
color: (y = (u = (e.vars ?? e).palette) == null ? void 0 : u[t]) == null ? void 0 : y.main
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
}),
|
|
91
|
-
{
|
|
92
|
-
props: {
|
|
93
|
-
color: "action"
|
|
94
|
-
},
|
|
95
|
-
style: {
|
|
96
|
-
color: (d = (a = (e.vars ?? e).palette) == null ? void 0 : a.action) == null ? void 0 : d.active
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
props: {
|
|
101
|
-
color: "disabled"
|
|
102
|
-
},
|
|
103
|
-
style: {
|
|
104
|
-
color: (f = (v = (e.vars ?? e).palette) == null ? void 0 : v.action) == null ? void 0 : f.disabled
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
props: {
|
|
109
|
-
color: "inherit"
|
|
110
|
-
},
|
|
111
|
-
style: {
|
|
112
|
-
color: void 0
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
]
|
|
116
|
-
};
|
|
117
|
-
})), z = /* @__PURE__ */ h.forwardRef(function(r, n) {
|
|
118
|
-
const i = b({
|
|
119
|
-
props: r,
|
|
120
|
-
name: "MuiSvgIcon"
|
|
121
|
-
}), {
|
|
122
|
-
children: s,
|
|
123
|
-
className: l,
|
|
124
|
-
color: g = "inherit",
|
|
125
|
-
component: c = "svg",
|
|
126
|
-
fontSize: S = "medium",
|
|
127
|
-
htmlColor: p,
|
|
128
|
-
inheritViewBox: m = !1,
|
|
129
|
-
titleAccess: a,
|
|
130
|
-
viewBox: d = "0 0 24 24",
|
|
131
|
-
...v
|
|
132
|
-
} = i, f = /* @__PURE__ */ h.isValidElement(s) && s.type === "svg", t = {
|
|
133
|
-
...i,
|
|
134
|
-
color: g,
|
|
135
|
-
component: c,
|
|
136
|
-
fontSize: S,
|
|
137
|
-
instanceFontSize: r.fontSize,
|
|
138
|
-
inheritViewBox: m,
|
|
139
|
-
viewBox: d,
|
|
140
|
-
hasSvgAsChild: f
|
|
141
|
-
}, u = {};
|
|
142
|
-
m || (u.viewBox = d);
|
|
143
|
-
const y = j(t);
|
|
144
|
-
return /* @__PURE__ */ w.jsxs(C, {
|
|
145
|
-
as: c,
|
|
146
|
-
className: N(y.root, l),
|
|
147
|
-
focusable: "false",
|
|
148
|
-
color: p,
|
|
149
|
-
"aria-hidden": a ? void 0 : !0,
|
|
150
|
-
role: a ? "img" : void 0,
|
|
151
|
-
ref: n,
|
|
152
|
-
...u,
|
|
153
|
-
...v,
|
|
154
|
-
...f && s.props,
|
|
155
|
-
ownerState: t,
|
|
156
|
-
children: [f ? s.props.children : s, a ? /* @__PURE__ */ w.jsx("title", {
|
|
157
|
-
children: a
|
|
158
|
-
}) : null]
|
|
159
|
-
});
|
|
160
|
-
});
|
|
161
|
-
process.env.NODE_ENV !== "production" && (z.propTypes = {
|
|
162
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
163
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
164
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
165
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
166
|
-
/**
|
|
167
|
-
* Node passed into the SVG element.
|
|
168
|
-
*/
|
|
169
|
-
children: o.node,
|
|
170
|
-
/**
|
|
171
|
-
* Override or extend the styles applied to the component.
|
|
172
|
-
*/
|
|
173
|
-
classes: o.object,
|
|
174
|
-
/**
|
|
175
|
-
* @ignore
|
|
176
|
-
*/
|
|
177
|
-
className: o.string,
|
|
178
|
-
/**
|
|
179
|
-
* The color of the component.
|
|
180
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
181
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
182
|
-
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
183
|
-
* @default 'inherit'
|
|
184
|
-
*/
|
|
185
|
-
color: o.oneOfType([o.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), o.string]),
|
|
186
|
-
/**
|
|
187
|
-
* The component used for the root node.
|
|
188
|
-
* Either a string to use a HTML element or a component.
|
|
189
|
-
*/
|
|
190
|
-
component: o.elementType,
|
|
191
|
-
/**
|
|
192
|
-
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
193
|
-
* @default 'medium'
|
|
194
|
-
*/
|
|
195
|
-
fontSize: o.oneOfType([o.oneOf(["inherit", "large", "medium", "small"]), o.string]),
|
|
196
|
-
/**
|
|
197
|
-
* Applies a color attribute to the SVG element.
|
|
198
|
-
*/
|
|
199
|
-
htmlColor: o.string,
|
|
200
|
-
/**
|
|
201
|
-
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
202
|
-
* prop will be ignored.
|
|
203
|
-
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
204
|
-
* `component`'s viewBox to the root node.
|
|
205
|
-
* @default false
|
|
206
|
-
*/
|
|
207
|
-
inheritViewBox: o.bool,
|
|
208
|
-
/**
|
|
209
|
-
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
210
|
-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
211
|
-
* If you are having issues with blurry icons you should investigate this prop.
|
|
212
|
-
*/
|
|
213
|
-
shapeRendering: o.string,
|
|
214
|
-
/**
|
|
215
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
216
|
-
*/
|
|
217
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
218
|
-
/**
|
|
219
|
-
* Provides a human-readable title for the element that contains it.
|
|
220
|
-
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
221
|
-
*/
|
|
222
|
-
titleAccess: o.string,
|
|
223
|
-
/**
|
|
224
|
-
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
225
|
-
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
226
|
-
* and you pass viewBox="0 0 50 20",
|
|
227
|
-
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
|
228
|
-
* to bottom right (50,20) and each unit will be worth 10px.
|
|
229
|
-
* @default '0 0 24 24'
|
|
230
|
-
*/
|
|
231
|
-
viewBox: o.string
|
|
232
|
-
});
|
|
233
|
-
z.muiName = "SvgIcon";
|
|
234
|
-
function D(e, r) {
|
|
235
|
-
function n(i, s) {
|
|
236
|
-
return /* @__PURE__ */ w.jsx(z, {
|
|
237
|
-
"data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
|
|
238
|
-
ref: s,
|
|
239
|
-
...i,
|
|
240
|
-
children: e
|
|
241
|
-
});
|
|
242
|
-
}
|
|
243
|
-
return process.env.NODE_ENV !== "production" && (n.displayName = `${r}Icon`), n.muiName = z.muiName, /* @__PURE__ */ h.memo(/* @__PURE__ */ h.forwardRef(n));
|
|
244
|
-
}
|
|
245
|
-
export {
|
|
246
|
-
D as c
|
|
247
|
-
};
|