@solostylist/ui-kit 1.0.196 → 1.0.198
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/{ArrowUpward-JWPHrR6I.js → ArrowUpward-D8eqD-si.js} +1 -1
- package/dist/{Box-p3bpOtdn.js → Box-BkXoTbe8.js} +3 -3
- package/dist/{ButtonBase-PbSTzuUP.js → ButtonBase-D73M0QY5.js} +7 -7
- package/dist/{ChevronLeft-BJjuFNNQ.js → ChevronLeft-BmgmPHp9.js} +1 -1
- package/dist/{ChevronRight-5ZX3FodP.js → ChevronRight-DbWSr8yz.js} +1 -1
- package/dist/{Close-C-pCw-CD.js → Close-lHCUMitI.js} +1 -1
- package/dist/{ContentCopy-CNxsEhmq.js → ContentCopy-D4SuJd86.js} +1 -1
- package/dist/{DefaultPropsProvider-2MEHB2yv.js → DefaultPropsProvider-DPuuPIbS.js} +2 -2
- package/dist/{Download-D97XSAig.js → Download-BoRQUwCf.js} +1 -1
- package/dist/{ExpandMore-CTZrSZlF.js → ExpandMore-C7yRQv1-.js} +1 -1
- package/dist/{Favorite-Cvjg7GqN.js → Favorite-Bz_HcMgN.js} +1 -1
- package/dist/{Menu-_ZW9WiF2.js → Menu-GVFDMHCN.js} +137 -131
- package/dist/{MenuItem-DTapLhin.js → MenuItem-2wG8I2HO.js} +5 -5
- package/dist/{Paper-5nSdRRBA.js → Paper-CR019bki.js} +6 -6
- package/dist/{Select-J5gDqfEk.js → Select-80JhW337.js} +7 -7
- package/dist/{Stack-BlwLEm6H.js → Stack-Dfjnuorw.js} +5 -5
- package/dist/{Typography-Cum5_Ehu.js → Typography-PcmlIqm1.js} +4 -4
- package/dist/assets/s-overlay-scrollbar.css +1 -1
- package/dist/{createSvgIcon-DTNHY3_v.js → createSvgIcon-BkbeLOhM.js} +3 -3
- package/dist/{createTheme-CIXJrNxb.js → createTheme-DgoJyWM-.js} +874 -871
- package/dist/defaultTheme-CulFxfLR.js +5 -0
- package/dist/{extendSxProp-CyoueGTe.js → extendSxProp-BJEIxcAx.js} +1 -1
- package/dist/{index-8LcCMmwl.js → index-DtGYsHSv.js} +4 -4
- package/dist/s-accordion/s-accordion.js +89 -89
- package/dist/s-action-overlay/s-action-overlay.js +7 -7
- package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +44 -0
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +241 -272
- package/dist/s-avatar/s-avatar.js +2 -2
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/s-carousel.d.ts +4 -4
- package/dist/s-carousel/s-carousel.js +4 -4
- package/dist/s-chat-input/s-chat-input.js +4 -4
- package/dist/s-chat-message/s-chat-message.js +135 -124
- package/dist/s-chips/s-chips.js +35 -35
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +5 -5
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- package/dist/s-countdown/s-count-down.d.ts +15 -10
- package/dist/s-countdown/s-count-down.js +84 -101
- package/dist/s-data-table/s-data-table.js +75 -76
- package/dist/s-date-picker/s-date-picker.js +43 -47
- package/dist/s-datetime-picker/s-datetime-picker.js +782 -782
- package/dist/s-dialog/s-dialog.js +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
- package/dist/s-dialog-message/s-dialog-message.js +2 -2
- package/dist/s-empty/s-empty.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
- package/dist/s-file-icon/s-file-icon.js +15 -15
- package/dist/s-flex-box/s-flex-box.js +1 -1
- package/dist/s-gallery/s-gallery.js +1 -1
- package/dist/s-gradient-icon/s-gradient-icon.js +5 -5
- package/dist/s-image-comparison/s-image-comparison.js +3 -3
- package/dist/s-image-modal/s-image-modal.js +7 -7
- package/dist/s-label/s-label.d.ts +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +8 -8
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/s-moving-border/s-moving-border.d.ts +5 -5
- package/dist/s-multi-select/s-multi-select.js +3 -3
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +6 -6
- package/dist/s-pixel-reveal/s-pixel-reveal.js +76 -71
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +2 -2
- package/dist/s-review/s-review.d.ts +3 -2
- package/dist/s-review/s-review.js +19 -19
- package/dist/s-scroll-to-top/s-scroll-to-top.js +5 -5
- package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +1 -1
- package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +3 -3
- package/dist/s-scroll-velocity/scroll-velocity-row.js +2 -2
- package/dist/s-select/s-select.d.ts +3 -0
- package/dist/s-select/s-select.js +60 -72
- package/dist/s-select-list/s-select-list.js +1 -1
- package/dist/s-stripe/s-stripe-cvc.d.ts +1 -1
- package/dist/s-stripe/s-stripe-expiry.d.ts +1 -1
- package/dist/s-stripe/s-stripe-number.d.ts +1 -1
- package/dist/s-stripe/stripe-input.d.ts +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +64 -60
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/s-text-shimmer/s-text-shimmer.js +3 -3
- package/dist/s-theme-demo/s-theme-demo.js +2 -2
- package/dist/s-theme-provider/s-theme-provider.d.ts +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/{styled-BR6UL29H.js → styled-8Y5KoVix.js} +2 -2
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/button.d.ts +2 -2
- package/dist/theme/components/button.js +1 -1
- package/dist/theme/components/chip.d.ts +2 -2
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/components/icon-button.d.ts +2 -2
- package/dist/theme/components/popover.js +2 -2
- package/dist/theme/components/skeleton.js +1 -1
- package/dist/theme/components/tooltip.js +5 -5
- package/dist/theme/customizations/data-display.js +12 -12
- package/dist/theme/customizations/feedback.js +2 -2
- package/dist/theme/customizations/inputs.js +12 -12
- package/dist/theme/customizations/navigation.js +28 -28
- package/dist/theme/customizations/surfaces.js +11 -11
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{useMobilePicker-C0pYjskU.js → useMobilePicker-DVnEuXv1.js} +3936 -3653
- package/dist/{useTheme-DSvhq4Np.js → useTheme-CWPkv7g3.js} +1 -1
- package/dist/{useThemeProps-C-oV4Fbz.js → useThemeProps-XYgXGzjS.js} +1 -1
- package/dist/utils/logger.d.ts +1 -1
- package/dist/utils-CHdpkEZx.js +33 -0
- package/dist/{warning-BZ61Y8gI.js → warning-Ba-7BBAN.js} +3 -3
- package/package.json +59 -59
- package/dist/defaultTheme-DLue8Fr1.js +0 -5
- package/dist/utils-DJIrqgo5.js +0 -18
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { j as c } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import * as
|
|
3
|
-
import { c as a } from "../createSvgIcon-
|
|
4
|
-
import { MenuItem as
|
|
5
|
-
import { STextField as
|
|
6
|
-
import { I as
|
|
7
|
-
import { S as
|
|
8
|
-
import { P as H } from "../Menu-
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { c as a } from "../createSvgIcon-BkbeLOhM.js";
|
|
4
|
+
import { MenuItem as m } from "@mui/material";
|
|
5
|
+
import { STextField as x } from "../s-text-field/s-text-field.js";
|
|
6
|
+
import { I as d, S as j, F as k } from "../Select-80JhW337.js";
|
|
7
|
+
import { S as f } from "../Stack-Dfjnuorw.js";
|
|
8
|
+
import { P as H } from "../Menu-GVFDMHCN.js";
|
|
9
9
|
const L = a(/* @__PURE__ */ c.jsx("path", {
|
|
10
10
|
d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
|
|
11
11
|
}), "Code"), b = a(/* @__PURE__ */ c.jsx("path", {
|
|
12
12
|
d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42M10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5"
|
|
13
13
|
}), "FormatBold"), C = a(/* @__PURE__ */ c.jsx("path", {
|
|
14
14
|
d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"
|
|
15
|
-
}), "FormatItalic"),
|
|
15
|
+
}), "FormatItalic"), I = a(/* @__PURE__ */ c.jsx("path", {
|
|
16
16
|
d: "M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5m0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5m0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5M7 19h14v-2H7zm0-6h14v-2H7zm0-8v2h14V5z"
|
|
17
|
-
}), "FormatListBulleted"),
|
|
17
|
+
}), "FormatListBulleted"), S = a(/* @__PURE__ */ c.jsx("path", {
|
|
18
18
|
d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z"
|
|
19
|
-
}), "FormatListNumbered"),
|
|
19
|
+
}), "FormatListNumbered"), g = a(/* @__PURE__ */ c.jsx("path", {
|
|
20
20
|
d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
|
|
21
|
-
}), "Link"),
|
|
21
|
+
}), "Link"), z = a(/* @__PURE__ */ c.jsx("path", {
|
|
22
22
|
d: "M6.85 7.08C6.85 4.37 9.45 3 12.24 3c1.64 0 3 .49 3.9 1.28.77.65 1.46 1.73 1.46 3.24h-3.01c0-.31-.05-.59-.15-.85-.29-.86-1.2-1.28-2.25-1.28-1.86 0-2.34 1.02-2.34 1.7 0 .48.25.88.74 1.21.38.25.77.48 1.41.7H7.39c-.21-.34-.54-.89-.54-1.92M21 12v-2H3v2h9.62c1.15.45 1.96.75 1.96 1.97 0 1-.81 1.67-2.28 1.67-1.54 0-2.93-.54-2.93-2.51H6.4c0 .55.08 1.13.24 1.58.81 2.29 3.29 3.3 5.67 3.3 2.27 0 5.3-.89 5.3-4.05 0-.3-.01-1.16-.48-1.94H21z"
|
|
23
23
|
}), "StrikethroughS"), N = ({ editor: n }) => {
|
|
24
|
-
const [
|
|
25
|
-
return /* @__PURE__ */ c.jsxs(
|
|
24
|
+
const [o, e] = l.useState(!1), [p, i] = l.useState(null), [r, h] = l.useState("");
|
|
25
|
+
return /* @__PURE__ */ c.jsxs(l.Fragment, { children: [
|
|
26
26
|
/* @__PURE__ */ c.jsx(
|
|
27
|
-
|
|
27
|
+
f,
|
|
28
28
|
{
|
|
29
29
|
className: "tiptap-toolbar",
|
|
30
30
|
spacing: 1,
|
|
@@ -34,43 +34,43 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
|
|
|
34
34
|
p: "8px",
|
|
35
35
|
minHeight: "57px"
|
|
36
36
|
},
|
|
37
|
-
children: n ? /* @__PURE__ */ c.jsxs(
|
|
37
|
+
children: n ? /* @__PURE__ */ c.jsxs(f, { direction: "row", spacing: 0.5, sx: { alignItems: "center", flexWrap: "wrap" }, children: [
|
|
38
38
|
/* @__PURE__ */ c.jsxs(
|
|
39
39
|
j,
|
|
40
40
|
{
|
|
41
|
-
onChange: (
|
|
42
|
-
const
|
|
43
|
-
if (
|
|
44
|
-
if (
|
|
41
|
+
onChange: (s) => {
|
|
42
|
+
const u = s.target.value;
|
|
43
|
+
if (u) {
|
|
44
|
+
if (u === "p") {
|
|
45
45
|
n.chain().focus().setParagraph().run();
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
|
-
if (
|
|
49
|
-
const
|
|
50
|
-
!isNaN(
|
|
48
|
+
if (u.startsWith("h")) {
|
|
49
|
+
const v = parseInt(u.replace("h", ""));
|
|
50
|
+
!isNaN(v) && v >= 1 && v <= 6 && n.chain().focus().setHeading({ level: v }).run();
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
value:
|
|
54
|
+
value: B(n),
|
|
55
55
|
children: [
|
|
56
|
-
/* @__PURE__ */ c.jsx(
|
|
57
|
-
[1, 2, 3, 4, 5, 6].map((
|
|
58
|
-
|
|
56
|
+
/* @__PURE__ */ c.jsx(m, { disabled: !n.can().chain().focus().setParagraph().run(), value: "p", children: "Paragraph" }),
|
|
57
|
+
[1, 2, 3, 4, 5, 6].map((s) => /* @__PURE__ */ c.jsxs(
|
|
58
|
+
m,
|
|
59
59
|
{
|
|
60
|
-
disabled: !n.can().chain().focus().setHeading({ level:
|
|
61
|
-
value: `h${
|
|
60
|
+
disabled: !n.can().chain().focus().setHeading({ level: s }).run(),
|
|
61
|
+
value: `h${s}`,
|
|
62
62
|
children: [
|
|
63
63
|
"Heading ",
|
|
64
|
-
|
|
64
|
+
s
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
|
-
|
|
67
|
+
s
|
|
68
68
|
))
|
|
69
69
|
]
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
72
|
/* @__PURE__ */ c.jsx(
|
|
73
|
-
|
|
73
|
+
t,
|
|
74
74
|
{
|
|
75
75
|
active: n.isActive("bold"),
|
|
76
76
|
disabled: !n.can().chain().focus().toggleBold().run(),
|
|
@@ -81,7 +81,7 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
|
|
|
81
81
|
}
|
|
82
82
|
),
|
|
83
83
|
/* @__PURE__ */ c.jsx(
|
|
84
|
-
|
|
84
|
+
t,
|
|
85
85
|
{
|
|
86
86
|
active: n.isActive("italic"),
|
|
87
87
|
disabled: !n.can().chain().focus().toggleItalic().run(),
|
|
@@ -92,18 +92,18 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
|
|
|
92
92
|
}
|
|
93
93
|
),
|
|
94
94
|
/* @__PURE__ */ c.jsx(
|
|
95
|
-
|
|
95
|
+
t,
|
|
96
96
|
{
|
|
97
97
|
active: n.isActive("strike"),
|
|
98
98
|
disabled: !n.can().chain().focus().toggleStrike().run(),
|
|
99
99
|
onClick: () => {
|
|
100
100
|
n.chain().focus().toggleStrike().run();
|
|
101
101
|
},
|
|
102
|
-
children: /* @__PURE__ */ c.jsx(
|
|
102
|
+
children: /* @__PURE__ */ c.jsx(z, {})
|
|
103
103
|
}
|
|
104
104
|
),
|
|
105
105
|
/* @__PURE__ */ c.jsx(
|
|
106
|
-
|
|
106
|
+
t,
|
|
107
107
|
{
|
|
108
108
|
active: n.isActive("codeBlock"),
|
|
109
109
|
disabled: !n.can().chain().focus().toggleCodeBlock().run(),
|
|
@@ -114,45 +114,45 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
|
|
|
114
114
|
}
|
|
115
115
|
),
|
|
116
116
|
/* @__PURE__ */ c.jsx(
|
|
117
|
-
|
|
117
|
+
t,
|
|
118
118
|
{
|
|
119
119
|
active: n.isActive("bulletList"),
|
|
120
120
|
disabled: !n.can().chain().focus().toggleBulletList().run(),
|
|
121
121
|
onClick: () => {
|
|
122
122
|
n.chain().focus().toggleBulletList().run();
|
|
123
123
|
},
|
|
124
|
-
children: /* @__PURE__ */ c.jsx(
|
|
124
|
+
children: /* @__PURE__ */ c.jsx(I, {})
|
|
125
125
|
}
|
|
126
126
|
),
|
|
127
127
|
/* @__PURE__ */ c.jsx(
|
|
128
|
-
|
|
128
|
+
t,
|
|
129
129
|
{
|
|
130
130
|
active: n.isActive("orderedList"),
|
|
131
131
|
disabled: !n.can().chain().focus().toggleOrderedList().run(),
|
|
132
132
|
onClick: () => {
|
|
133
133
|
n.chain().focus().toggleOrderedList().run();
|
|
134
134
|
},
|
|
135
|
-
children: /* @__PURE__ */ c.jsx(
|
|
135
|
+
children: /* @__PURE__ */ c.jsx(S, {})
|
|
136
136
|
}
|
|
137
137
|
),
|
|
138
138
|
/* @__PURE__ */ c.jsx(
|
|
139
|
-
|
|
139
|
+
t,
|
|
140
140
|
{
|
|
141
|
-
onClick: (
|
|
142
|
-
|
|
141
|
+
onClick: (s) => {
|
|
142
|
+
h(n.getAttributes("link").href ?? ""), i(s.currentTarget), e(!0);
|
|
143
143
|
},
|
|
144
|
-
children: /* @__PURE__ */ c.jsx(
|
|
144
|
+
children: /* @__PURE__ */ c.jsx(g, {})
|
|
145
145
|
}
|
|
146
146
|
),
|
|
147
147
|
/* @__PURE__ */ c.jsx(
|
|
148
|
-
|
|
148
|
+
t,
|
|
149
149
|
{
|
|
150
150
|
active: n.isActive("link"),
|
|
151
151
|
disabled: !n.can().chain().focus().unsetLink().run(),
|
|
152
152
|
onClick: () => {
|
|
153
153
|
n.chain().focus().unsetLink().run();
|
|
154
154
|
},
|
|
155
|
-
children: /* @__PURE__ */ c.jsx(
|
|
155
|
+
children: /* @__PURE__ */ c.jsx(g, {})
|
|
156
156
|
}
|
|
157
157
|
)
|
|
158
158
|
] }) : null
|
|
@@ -161,42 +161,46 @@ const L = a(/* @__PURE__ */ c.jsx("path", {
|
|
|
161
161
|
/* @__PURE__ */ c.jsx(
|
|
162
162
|
H,
|
|
163
163
|
{
|
|
164
|
-
anchorEl:
|
|
164
|
+
anchorEl: p,
|
|
165
165
|
anchorOrigin: { horizontal: "left", vertical: "bottom" },
|
|
166
166
|
onClose: () => {
|
|
167
|
-
|
|
167
|
+
e(!1), i(null), h("");
|
|
168
168
|
},
|
|
169
|
-
open:
|
|
169
|
+
open: o,
|
|
170
170
|
slotProps: { paper: { sx: { p: 2 } } },
|
|
171
171
|
children: /* @__PURE__ */ c.jsx(k, { children: /* @__PURE__ */ c.jsx(
|
|
172
|
-
|
|
172
|
+
x,
|
|
173
173
|
{
|
|
174
174
|
name: "url",
|
|
175
175
|
label: "URL",
|
|
176
|
-
onChange: (
|
|
177
|
-
|
|
176
|
+
onChange: (s) => {
|
|
177
|
+
h(s.target.value);
|
|
178
178
|
},
|
|
179
|
-
onKeyUp: (
|
|
180
|
-
if (
|
|
181
|
-
if (
|
|
179
|
+
onKeyUp: (s) => {
|
|
180
|
+
if (s.key === "Enter") {
|
|
181
|
+
if (r === "") {
|
|
182
182
|
n?.chain().focus().extendMarkRange("link").unsetLink().run();
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
|
-
n?.chain().focus().setLink({ href:
|
|
185
|
+
n?.chain().focus().setLink({ href: r }).run(), e(!1), i(null), h("");
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
|
-
value:
|
|
188
|
+
value: r
|
|
189
189
|
}
|
|
190
190
|
) })
|
|
191
191
|
}
|
|
192
192
|
)
|
|
193
193
|
] });
|
|
194
194
|
};
|
|
195
|
-
function
|
|
196
|
-
|
|
195
|
+
function B(n) {
|
|
196
|
+
if (n.isActive("paragraph")) return "p";
|
|
197
|
+
const o = [1, 2, 3, 4, 5, 6];
|
|
198
|
+
for (const e of o)
|
|
199
|
+
if (n.isActive("heading", { level: e })) return `h${e}`;
|
|
200
|
+
return "p";
|
|
197
201
|
}
|
|
198
|
-
const
|
|
199
|
-
return /* @__PURE__ */ c.jsx(
|
|
202
|
+
const t = l.forwardRef(function({ active: o, children: e, disabled: p, onClick: i }, r) {
|
|
203
|
+
return /* @__PURE__ */ c.jsx(d, { color: o ? "primary" : "inherit", disabled: p, onClick: i, ref: r, children: e });
|
|
200
204
|
});
|
|
201
205
|
export {
|
|
202
206
|
N as STextEditorToolbar
|
|
@@ -5,7 +5,7 @@ import { Placeholder as m } from "@tiptap/extension-placeholder";
|
|
|
5
5
|
import { useEditor as f, EditorContent as d } from "@tiptap/react";
|
|
6
6
|
import { StarterKit as c } from "@tiptap/starter-kit";
|
|
7
7
|
import { STextEditorToolbar as x } from "./s-text-editor-toolbar.js";
|
|
8
|
-
import { B as u } from "../Box-
|
|
8
|
+
import { B as u } from "../Box-BkXoTbe8.js";
|
|
9
9
|
const h = ({
|
|
10
10
|
content: o,
|
|
11
11
|
editable: t = !0,
|
|
@@ -2,7 +2,7 @@ import { j as s } from "../jsx-runtime-tc70JA_2.js";
|
|
|
2
2
|
import { useState as u } from "react";
|
|
3
3
|
import { TextField as j, InputAdornment as h, IconButton as w } from "@mui/material";
|
|
4
4
|
import { SForm as y } from "../s-form/s-form.js";
|
|
5
|
-
import { c as r } from "../createSvgIcon-
|
|
5
|
+
import { c as r } from "../createSvgIcon-BkbeLOhM.js";
|
|
6
6
|
const b = r(/* @__PURE__ */ s.jsx("path", {
|
|
7
7
|
d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
|
|
8
8
|
}), "Visibility"), g = r(/* @__PURE__ */ s.jsx("path", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as i } from "../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import { forwardRef as s, useMemo as p } from "react";
|
|
3
3
|
import { Typography as d } from "@mui/material";
|
|
4
|
-
import { s as m } from "../styled-
|
|
4
|
+
import { s as m } from "../styled-8Y5KoVix.js";
|
|
5
5
|
import { keyframes as c } from "@emotion/react";
|
|
6
6
|
const l = c`
|
|
7
7
|
0% {
|
|
@@ -22,8 +22,8 @@ const l = c`
|
|
|
22
22
|
backgroundRepeat: "no-repeat, padding-box",
|
|
23
23
|
animation: `${l} ${e}s linear infinite`,
|
|
24
24
|
"--spread": `${a}px`,
|
|
25
|
-
"--base-color": (r.vars
|
|
26
|
-
"--base-gradient-color": (r.vars
|
|
25
|
+
"--base-color": (r.vars ?? r).palette.text.disabled,
|
|
26
|
+
"--base-gradient-color": (r.vars ?? r).palette.text.primary,
|
|
27
27
|
backgroundImage: "linear-gradient(90deg, transparent calc(50% - var(--spread)), var(--base-gradient-color), transparent calc(50% + var(--spread))), linear-gradient(var(--base-color), var(--base-color))"
|
|
28
28
|
})), b = s(
|
|
29
29
|
({ children: r, duration: e = 2, spread: a = 2, ...o }, t) => {
|
|
@@ -5,8 +5,8 @@ import { SButton as i } from "../s-button/s-button.js";
|
|
|
5
5
|
import { SForm as v } from "../s-form/s-form.js";
|
|
6
6
|
import { STextField as m } from "../s-text-field/s-text-field.js";
|
|
7
7
|
import y from "../s-theme-switch/s-theme-switch.js";
|
|
8
|
-
import { c as p } from "../createSvgIcon-
|
|
9
|
-
import { F as b } from "../Favorite-
|
|
8
|
+
import { c as p } from "../createSvgIcon-BkbeLOhM.js";
|
|
9
|
+
import { F as b } from "../Favorite-Bz_HcMgN.js";
|
|
10
10
|
const f = p(/* @__PURE__ */ r.jsx("path", {
|
|
11
11
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
12
12
|
}), "Add"), S = p(/* @__PURE__ */ r.jsx("path", {
|
|
@@ -11,7 +11,7 @@ export interface SThemeProviderProps extends Omit<ThemeProviderProps, 'defaultMo
|
|
|
11
11
|
/** Additional theme component overrides */
|
|
12
12
|
themeComponents?: ThemeOptions['components'];
|
|
13
13
|
/** Default color mode (defaults to 'system') */
|
|
14
|
-
defaultMode?: 'light' | 'dark' | 'system'
|
|
14
|
+
defaultMode?: 'light' | 'dark' | 'system';
|
|
15
15
|
/** Custom theme object to merge with internal theme */
|
|
16
16
|
theme?: Theme;
|
|
17
17
|
}
|
|
@@ -2,7 +2,7 @@ import { j as t } from "../jsx-runtime-tc70JA_2.js";
|
|
|
2
2
|
import { useRef as M, useCallback as m } from "react";
|
|
3
3
|
import { IconButton as f } from "@mui/material";
|
|
4
4
|
import { flushSync as w } from "react-dom";
|
|
5
|
-
import { c as d } from "../createSvgIcon-
|
|
5
|
+
import { c as d } from "../createSvgIcon-BkbeLOhM.js";
|
|
6
6
|
const k = d(/* @__PURE__ */ t.jsx("path", {
|
|
7
7
|
d: "M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"
|
|
8
8
|
}), "DarkMode"), j = d(/* @__PURE__ */ t.jsx("path", {
|
package/dist/s-tip/s-tip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as t } from "../jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { c as i } from "../createSvgIcon-
|
|
3
|
-
import { S as s } from "../Stack-
|
|
4
|
-
import { T as o } from "../Typography-
|
|
2
|
+
import { c as i } from "../createSvgIcon-BkbeLOhM.js";
|
|
3
|
+
import { S as s } from "../Stack-Dfjnuorw.js";
|
|
4
|
+
import { T as o } from "../Typography-PcmlIqm1.js";
|
|
5
5
|
const c = i(/* @__PURE__ */ t.jsx("path", {
|
|
6
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
7
|
}), "LightbulbOutline"), e = ({ message: r }) => /* @__PURE__ */ t.jsxs(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as N } from "./defaultTheme-
|
|
1
|
+
import { d as N } from "./defaultTheme-CulFxfLR.js";
|
|
2
2
|
import { T as q } from "./identifier-BKLqN993.js";
|
|
3
3
|
import { i as S, a as G, s as J } from "./index-D3G5Rwl-.js";
|
|
4
|
-
import { k as E, e as Q, s as L, i as U, c as X } from "./createTheme-
|
|
4
|
+
import { k as E, e as Q, s as L, i as U, c as X } from "./createTheme-DgoJyWM-.js";
|
|
5
5
|
function V(e, n = "") {
|
|
6
6
|
return e.displayName || e.name || n;
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as r } from "../../jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { c as o } from "../../createSvgIcon-
|
|
2
|
+
import { c as o } from "../../createSvgIcon-BkbeLOhM.js";
|
|
3
3
|
const s = o(/* @__PURE__ */ r.jsx("path", {
|
|
4
4
|
d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"
|
|
5
5
|
}), "Person"), c = {
|
|
@@ -5,10 +5,10 @@ export declare const MuiButton: {
|
|
|
5
5
|
};
|
|
6
6
|
styleOverrides: {
|
|
7
7
|
root: ({ theme, ownerState }: import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "loading" | "size" | "disabled" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loadingIndicator" | "startIcon" | "fullWidth" | "disableElevation" | "endIcon" | "loadingPosition"> & {
|
|
8
|
-
component?: React.ElementType;
|
|
8
|
+
component?: React.ElementType | undefined;
|
|
9
9
|
} & Record<string, unknown> & {
|
|
10
10
|
ownerState: import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "color" | "loading" | "size" | "disabled" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loadingIndicator" | "startIcon" | "fullWidth" | "disableElevation" | "endIcon" | "loadingPosition"> & {
|
|
11
|
-
component?: React.ElementType;
|
|
11
|
+
component?: React.ElementType | undefined;
|
|
12
12
|
} & Record<string, unknown>;
|
|
13
13
|
} & {
|
|
14
14
|
theme: Theme;
|
|
@@ -51,7 +51,7 @@ const o = (i, r) => i === "text" || i === "outlined" ? "transparent" : r, s = (i
|
|
|
51
51
|
styleOverrides: {
|
|
52
52
|
root: ({ theme: i, ownerState: r }) => ({
|
|
53
53
|
boxShadow: "none",
|
|
54
|
-
borderRadius: (i.vars
|
|
54
|
+
borderRadius: (i.vars ?? i).shape.borderRadius,
|
|
55
55
|
textTransform: "none",
|
|
56
56
|
transition: "all 0.2s ease-in-out",
|
|
57
57
|
variants: [
|
|
@@ -11,10 +11,10 @@ export declare const MuiChip: {
|
|
|
11
11
|
};
|
|
12
12
|
styleOverrides: {
|
|
13
13
|
root: ({ theme }: import('@mui/material').ChipOwnProps & import('@mui/material').ChipSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "size" | "icon" | "disabled" | "slots" | "slotProps" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & {
|
|
14
|
-
component?: React.ElementType;
|
|
14
|
+
component?: React.ElementType | undefined;
|
|
15
15
|
} & Record<string, unknown> & {
|
|
16
16
|
ownerState: import('@mui/material').ChipOwnProps & import('@mui/material').ChipSlotsAndSlotProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "classes" | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "size" | "icon" | "disabled" | "slots" | "slotProps" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & {
|
|
17
|
-
component?: React.ElementType;
|
|
17
|
+
component?: React.ElementType | undefined;
|
|
18
18
|
} & Record<string, unknown>;
|
|
19
19
|
} & {
|
|
20
20
|
theme: Theme;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as p } from "../../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import { chipClasses as l } from "@mui/material";
|
|
3
3
|
import { gray as a, lightGray as i, brand as n, lightBrand as t, purple as c, lightPurple as d, green as y, lightGreen as g, red as u, lightRed as b, orange as f, lightOrange as m, blue as x, lightBlue as $ } from "../theme-primitives.js";
|
|
4
|
-
import { C } from "../../Close-
|
|
4
|
+
import { C } from "../../Close-lHCUMitI.js";
|
|
5
5
|
const o = (r, e, s) => ({
|
|
6
6
|
border: "none",
|
|
7
7
|
...r.applyStyles("light", {
|
|
@@ -2,10 +2,10 @@ import { Theme } from '@mui/material';
|
|
|
2
2
|
export declare const MuiIconButton: {
|
|
3
3
|
styleOverrides: {
|
|
4
4
|
root: ({ theme }: import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "tabIndex" | "color" | "loading" | "size" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loadingIndicator"> & {
|
|
5
|
-
component?: React.ElementType;
|
|
5
|
+
component?: React.ElementType | undefined;
|
|
6
6
|
} & Record<string, unknown> & {
|
|
7
7
|
ownerState: import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "className" | "style" | "classes" | "children" | "sx" | "tabIndex" | "color" | "loading" | "size" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loadingIndicator"> & {
|
|
8
|
-
component?: React.ElementType;
|
|
8
|
+
component?: React.ElementType | undefined;
|
|
9
9
|
} & Record<string, unknown>;
|
|
10
10
|
} & {
|
|
11
11
|
theme: Theme;
|
|
@@ -2,10 +2,10 @@ const o = {
|
|
|
2
2
|
defaultProps: { elevation: 0 },
|
|
3
3
|
styleOverrides: {
|
|
4
4
|
paper: ({ theme: r }) => ({
|
|
5
|
-
borderRadius: (r.vars
|
|
5
|
+
borderRadius: (r.vars ?? r).shape.borderRadius,
|
|
6
6
|
marginTop: 4,
|
|
7
7
|
border: "1px solid",
|
|
8
|
-
borderColor: (r.vars
|
|
8
|
+
borderColor: (r.vars ?? r).palette.divider
|
|
9
9
|
})
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -5,16 +5,16 @@ const o = {
|
|
|
5
5
|
},
|
|
6
6
|
styleOverrides: {
|
|
7
7
|
tooltip: ({ theme: r }) => ({
|
|
8
|
-
backgroundColor: (r.vars
|
|
8
|
+
backgroundColor: (r.vars ?? r).palette.background.default,
|
|
9
9
|
border: "1px solid",
|
|
10
|
-
borderColor: (r.vars
|
|
11
|
-
color: (r.vars
|
|
10
|
+
borderColor: (r.vars ?? r).palette.divider,
|
|
11
|
+
color: (r.vars ?? r).palette.text.primary
|
|
12
12
|
}),
|
|
13
13
|
arrow: ({ theme: r }) => ({
|
|
14
|
-
color: (r.vars
|
|
14
|
+
color: (r.vars ?? r).palette.background.default,
|
|
15
15
|
"&::before": {
|
|
16
16
|
border: "1px solid",
|
|
17
|
-
borderColor: (r.vars
|
|
17
|
+
borderColor: (r.vars ?? r).palette.divider
|
|
18
18
|
}
|
|
19
19
|
})
|
|
20
20
|
}
|
|
@@ -9,28 +9,28 @@ const r = (o) => ({
|
|
|
9
9
|
padding: "0.5rem 1rem",
|
|
10
10
|
borderRadius: 0,
|
|
11
11
|
whiteSpace: "nowrap",
|
|
12
|
-
color: (o.vars
|
|
12
|
+
color: (o.vars ?? o).palette.text.secondary,
|
|
13
13
|
[`& .${t.root}`]: {
|
|
14
|
-
color: (o.vars
|
|
14
|
+
color: (o.vars ?? o).palette.text.secondary
|
|
15
15
|
},
|
|
16
16
|
"&.Mui-selected": {
|
|
17
|
-
backgroundColor: (o.vars
|
|
18
|
-
color: (o.vars
|
|
17
|
+
backgroundColor: (o.vars ?? o).palette.action.selected,
|
|
18
|
+
color: (o.vars ?? o).palette.text.primary,
|
|
19
19
|
[`& .${t.root}`]: {
|
|
20
|
-
color: (o.vars
|
|
20
|
+
color: (o.vars ?? o).palette.text.primary
|
|
21
21
|
},
|
|
22
22
|
"&:focus-visible": {
|
|
23
|
-
backgroundColor: (o.vars
|
|
23
|
+
backgroundColor: (o.vars ?? o).palette.action.selected
|
|
24
24
|
},
|
|
25
25
|
"&:hover": {
|
|
26
|
-
backgroundColor: (o.vars
|
|
26
|
+
backgroundColor: (o.vars ?? o).palette.action.selected
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"&:hover:not(.Mui-selected)": {
|
|
30
|
-
backgroundColor: (o.vars
|
|
31
|
-
color: (o.vars
|
|
30
|
+
backgroundColor: (o.vars ?? o).palette.action.hover,
|
|
31
|
+
color: (o.vars ?? o).palette.text.primary,
|
|
32
32
|
[`& .${t.root}`]: {
|
|
33
|
-
color: (o.vars
|
|
33
|
+
color: (o.vars ?? o).palette.text.primary
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"&:focus-visible": {
|
|
@@ -40,7 +40,7 @@ const r = (o) => ({
|
|
|
40
40
|
MuiTableCell: {
|
|
41
41
|
styleOverrides: {
|
|
42
42
|
root: ({ theme: o }) => ({
|
|
43
|
-
borderColor: (o.vars
|
|
43
|
+
borderColor: (o.vars ?? o).palette.divider
|
|
44
44
|
})
|
|
45
45
|
}
|
|
46
46
|
},
|
|
@@ -58,7 +58,7 @@ const r = (o) => ({
|
|
|
58
58
|
styleOverrides: {
|
|
59
59
|
root: ({ theme: o }) => ({
|
|
60
60
|
[`& .${t.root}`]: {
|
|
61
|
-
color: (o.vars
|
|
61
|
+
color: (o.vars ?? o).palette.text.secondary
|
|
62
62
|
},
|
|
63
63
|
[`& .${e.root}`]: {
|
|
64
64
|
fontWeight: 500
|
|
@@ -6,8 +6,8 @@ const i = {
|
|
|
6
6
|
"& .MuiDialog-paper": {
|
|
7
7
|
borderRadius: "10px",
|
|
8
8
|
border: "1px solid",
|
|
9
|
-
borderColor: (o.vars
|
|
10
|
-
backgroundColor: (o.vars
|
|
9
|
+
borderColor: (o.vars ?? o).palette.divider,
|
|
10
|
+
backgroundColor: (o.vars ?? o).palette.background.paper,
|
|
11
11
|
backgroundImage: "none",
|
|
12
12
|
boxShadow: "none"
|
|
13
13
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as i } from "../../jsx-runtime-tc70JA_2.js";
|
|
2
|
-
import { c as d } from "../../createSvgIcon-
|
|
2
|
+
import { c as d } from "../../createSvgIcon-BkbeLOhM.js";
|
|
3
3
|
import { brand as e, gray as t } from "../theme-primitives.js";
|
|
4
4
|
import { o as n } from "../../outlinedInputClasses-DnwW3ujt.js";
|
|
5
5
|
import { g as l } from "../../generateUtilityClasses-E9gROIFd.js";
|
|
6
|
-
import { a as r } from "../../createTheme-
|
|
6
|
+
import { a as r } from "../../createTheme-DgoJyWM-.js";
|
|
7
7
|
const p = d(/* @__PURE__ */ i.jsx("path", {
|
|
8
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"
|
|
9
9
|
}), "CheckBoxOutlineBlankRounded"), u = d(/* @__PURE__ */ i.jsx("path", {
|
|
@@ -116,7 +116,7 @@ const p = d(/* @__PURE__ */ i.jsx("path", {
|
|
|
116
116
|
input: ({ theme: o }) => ({
|
|
117
117
|
"&::placeholder": {
|
|
118
118
|
opacity: 1,
|
|
119
|
-
color: (o.vars
|
|
119
|
+
color: (o.vars ?? o).palette.divider
|
|
120
120
|
}
|
|
121
121
|
})
|
|
122
122
|
}
|
|
@@ -126,7 +126,7 @@ const p = d(/* @__PURE__ */ i.jsx("path", {
|
|
|
126
126
|
paper: ({ theme: o }) => ({
|
|
127
127
|
marginTop: 2,
|
|
128
128
|
border: "1px solid",
|
|
129
|
-
borderColor: (o.vars
|
|
129
|
+
borderColor: (o.vars ?? o).palette.divider
|
|
130
130
|
}),
|
|
131
131
|
popupIndicator: {
|
|
132
132
|
background: "none",
|
|
@@ -162,18 +162,18 @@ const p = d(/* @__PURE__ */ i.jsx("path", {
|
|
|
162
162
|
// Firefox
|
|
163
163
|
},
|
|
164
164
|
"&:-webkit-autofill": {
|
|
165
|
-
boxShadow: `${(a.vars
|
|
165
|
+
boxShadow: `${(a.vars ?? a).palette.background.default} 0px 0px 0px 100px inset !important`
|
|
166
166
|
},
|
|
167
167
|
"&:-moz-autofill": {
|
|
168
|
-
boxShadow: `${(a.vars
|
|
168
|
+
boxShadow: `${(a.vars ?? a).palette.background.default} 0px 0px 0px 100px inset !important`
|
|
169
169
|
}
|
|
170
170
|
}),
|
|
171
171
|
root: ({ theme: o }) => ({
|
|
172
172
|
padding: "8px 12px",
|
|
173
|
-
color: (o.vars
|
|
174
|
-
borderRadius: (o.vars
|
|
175
|
-
border: `1px solid ${(o.vars
|
|
176
|
-
backgroundColor: (o.vars
|
|
173
|
+
color: (o.vars ?? o).palette.text.primary,
|
|
174
|
+
borderRadius: (o.vars ?? o).shape.borderRadius,
|
|
175
|
+
border: `1px solid ${(o.vars ?? o).palette.divider}`,
|
|
176
|
+
backgroundColor: (o.vars ?? o).palette.background.default,
|
|
177
177
|
transition: "border 120ms ease-in",
|
|
178
178
|
"&:hover": {
|
|
179
179
|
borderColor: t[500]
|
|
@@ -209,9 +209,9 @@ const p = d(/* @__PURE__ */ i.jsx("path", {
|
|
|
209
209
|
MuiInputAdornment: {
|
|
210
210
|
styleOverrides: {
|
|
211
211
|
root: ({ theme: o }) => ({
|
|
212
|
-
color: (o.vars
|
|
212
|
+
color: (o.vars ?? o).palette.grey[500],
|
|
213
213
|
...o.applyStyles("dark", {
|
|
214
|
-
color: (o.vars
|
|
214
|
+
color: (o.vars ?? o).palette.grey[400]
|
|
215
215
|
})
|
|
216
216
|
})
|
|
217
217
|
}
|