@solostylist/ui-kit 1.0.92 → 1.0.93
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-CJmG1mTu.js → Box-Deehc8LF.js} +3 -3
- package/dist/{ButtonBase-C0g54hXq.js → ButtonBase-Cn3itpEl.js} +7 -6
- package/dist/{ChevronRight-CtkI4XwH.js → ChevronRight-G7jhiUBG.js} +1 -1
- package/dist/{Close--Sf9yZGB.js → Close-BSG2-e7H.js} +1 -1
- package/dist/{Menu-BuktPpzX.js → Menu-DYOw-I_3.js} +6 -5
- package/dist/{MenuItem-sL2AcofB.js → MenuItem-DTRBXdpX.js} +11 -10
- package/dist/{Paper-CH6cuu9i.js → Paper-DEq2MLtq.js} +22 -21
- package/dist/{Select-D2lV25sl.js → Select-DmB-tjlR.js} +8 -7
- package/dist/{Stack-CIrlOUXL.js → Stack-GTpsqQv0.js} +19 -18
- package/dist/{TransitionGroup-SToIdl-5.js → TransitionGroup--1HPPUFY.js} +1 -1
- package/dist/{Typography-D-VP4V1G.js → Typography-zQXZ4jKl.js} +27 -26
- package/dist/assets/s-carousel.css +1 -0
- package/dist/createSvgIcon-CS-Z7P80.js +318 -0
- package/dist/{createTheme-DbdaZ0Ku.js → createTheme-YLBX8GSj.js} +3 -3
- package/dist/defaultTheme-DXvvOU_p.js +5 -0
- package/dist/{extendSxProp-CQnEn3aw.js → extendSxProp-BNyKHzap.js} +1 -1
- package/dist/{index-CjPqjRDL.js → index-B3csTTDl.js} +4 -4
- package/dist/main.d.ts +4 -0
- package/dist/main.js +49 -45
- package/dist/{mergeSlotProps-N47mO9C9.js → mergeSlotProps-BbDReBm1.js} +1 -1
- package/dist/resolveProps-61uUKnlS.js +52 -0
- package/dist/s-accordion/s-accordion.js +26 -25
- package/dist/s-carousel/index.d.ts +2 -0
- package/dist/s-carousel/index.js +4 -0
- package/dist/s-carousel/package.json +5 -0
- package/dist/s-carousel/s-carousel.d.ts +11 -0
- package/dist/s-carousel/s-carousel.js +2446 -0
- package/dist/s-chat-input/s-chat-input.js +2 -2
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- package/dist/s-data-table/s-data-table.js +33 -32
- package/dist/s-date-picker/s-date-picker.js +9 -8
- package/dist/s-datetime-picker/s-datetime-picker.js +20 -19
- 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-file-dropzone/s-file-dropzone.js +4 -4
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-image-comparison/s-image-comparison.js +1 -1
- package/dist/s-image-modal/s-image-modal.js +2 -2
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +3 -3
- package/dist/s-radial-pulse-animate/index.d.ts +2 -0
- package/dist/s-radial-pulse-animate/index.js +4 -0
- package/dist/s-radial-pulse-animate/package.json +5 -0
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +13 -0
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +131 -0
- package/dist/s-smart-text-field/s-smart-text-field.js +2 -2
- package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
- 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/index.d.ts +2 -0
- package/dist/s-text-shimmer/index.js +4 -0
- package/dist/s-text-shimmer/package.json +5 -0
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +8 -0
- package/dist/s-text-shimmer/s-text-shimmer.js +37 -0
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/styled-DOEEZAON.js +206 -0
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/customizations/inputs.js +1 -1
- package/dist/theme/customizations/navigation.js +1 -1
- package/dist/theme/theme-primitives.d.ts +94 -0
- package/dist/theme/theme-primitives.js +91 -84
- package/dist/{useMobilePicker-CRxlxUeh.js → useMobilePicker-By8yrJS0.js} +55 -54
- package/dist/{useTheme-CjYoxoob.js → useTheme-w9o5xUBz.js} +1 -1
- package/dist/{useThemeProps-DdCEfRBE.js → useThemeProps-CPsDWmFG.js} +2 -2
- package/dist/{warning-CiVr8tE6.js → warning-KQY_8msi.js} +3 -3
- package/package.json +6 -3
- package/dist/createSvgIcon-DpVs_nKR.js +0 -517
- package/dist/defaultTheme-CFAmbghg.js +0 -55
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { j as s } from "../jsx-runtime-DywqP_6a.js";
|
|
2
|
-
import { b as mo, u as K,
|
|
2
|
+
import { b as mo, u as K, c as L, a as Q, m as D } from "../createSvgIcon-CS-Z7P80.js";
|
|
3
3
|
import * as l from "react";
|
|
4
|
-
import {
|
|
5
|
-
import { b as xo, u as ho, e as bo, d as I, c as To, B as Co } from "../ButtonBase-
|
|
4
|
+
import { l as go, P as o, j as yo } from "../createTheme-YLBX8GSj.js";
|
|
5
|
+
import { b as xo, u as ho, e as bo, d as I, c as To, B as Co } from "../ButtonBase-Cn3itpEl.js";
|
|
6
6
|
import { g as X } from "../generateUtilityClasses-BtVDwGrk.js";
|
|
7
7
|
import { g as Y } from "../colorManipulator-ep5lERxB.js";
|
|
8
8
|
import { u as So } from "../useControlled-nm4pBabJ.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
9
|
+
import { s as T } from "../styled-DOEEZAON.js";
|
|
10
|
+
import { T as vo, u as Eo, g as ro, P as wo } from "../Paper-DEq2MLtq.js";
|
|
11
|
+
import { S as Ro } from "../Stack-GTpsqQv0.js";
|
|
12
|
+
import { T as Ao } from "../Typography-zQXZ4jKl.js";
|
|
12
13
|
const jo = mo(/* @__PURE__ */ s.jsx("path", {
|
|
13
14
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
14
15
|
}), "ExpandMore");
|
|
@@ -123,7 +124,7 @@ const No = (e) => {
|
|
|
123
124
|
onEntering: z,
|
|
124
125
|
onExit: P,
|
|
125
126
|
onExited: W,
|
|
126
|
-
onExiting:
|
|
127
|
+
onExiting: V,
|
|
127
128
|
orientation: c = "vertical",
|
|
128
129
|
style: m,
|
|
129
130
|
timeout: d = go.standard,
|
|
@@ -134,9 +135,9 @@ const No = (e) => {
|
|
|
134
135
|
...i,
|
|
135
136
|
orientation: c,
|
|
136
137
|
collapsedSize: f
|
|
137
|
-
}, u = No(E), w = Eo(), U = xo(), a = l.useRef(null), g = l.useRef(), C = typeof f == "number" ? `${f}px` : f, O = c === "horizontal", M = O ? "width" : "height",
|
|
138
|
+
}, u = No(E), w = Eo(), U = xo(), a = l.useRef(null), g = l.useRef(), C = typeof f == "number" ? `${f}px` : f, O = c === "horizontal", M = O ? "width" : "height", k = l.useRef(null), Z = ho(r, k), R = (n) => (y) => {
|
|
138
139
|
if (n) {
|
|
139
|
-
const x =
|
|
140
|
+
const x = k.current;
|
|
140
141
|
y === void 0 ? n(x) : n(x, y);
|
|
141
142
|
}
|
|
142
143
|
}, H = () => a.current ? a.current[O ? "clientWidth" : "clientHeight"] : 0, oo = R((n, y) => {
|
|
@@ -180,9 +181,9 @@ const No = (e) => {
|
|
|
180
181
|
n.style.transitionDuration = `${q}ms`, g.current = q;
|
|
181
182
|
} else
|
|
182
183
|
n.style.transitionDuration = typeof x == "string" ? x : `${x}ms`;
|
|
183
|
-
n.style[M] = C, n.style.transitionTimingFunction = B,
|
|
184
|
+
n.style[M] = C, n.style.transitionTimingFunction = B, V && V(n);
|
|
184
185
|
}), fo = (n) => {
|
|
185
|
-
d === "auto" && U.start(g.current || 0, n), p && p(
|
|
186
|
+
d === "auto" && U.start(g.current || 0, n), p && p(k.current, n);
|
|
186
187
|
};
|
|
187
188
|
return /* @__PURE__ */ s.jsx(N, {
|
|
188
189
|
in: v,
|
|
@@ -193,7 +194,7 @@ const No = (e) => {
|
|
|
193
194
|
onExited: po,
|
|
194
195
|
onExiting: uo,
|
|
195
196
|
addEndListener: fo,
|
|
196
|
-
nodeRef:
|
|
197
|
+
nodeRef: k,
|
|
197
198
|
timeout: d === "auto" ? null : d,
|
|
198
199
|
...G,
|
|
199
200
|
children: (n, {
|
|
@@ -440,7 +441,7 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
440
441
|
slot: "Heading"
|
|
441
442
|
})({
|
|
442
443
|
all: "unset"
|
|
443
|
-
}),
|
|
444
|
+
}), Vo = T("div", {
|
|
444
445
|
name: "MuiAccordion",
|
|
445
446
|
slot: "Region"
|
|
446
447
|
})({}), so = /* @__PURE__ */ l.forwardRef(function(t, r) {
|
|
@@ -460,7 +461,7 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
460
461
|
slotProps: z = {},
|
|
461
462
|
TransitionComponent: P,
|
|
462
463
|
TransitionProps: W,
|
|
463
|
-
...
|
|
464
|
+
...V
|
|
464
465
|
} = i, [c, m] = So({
|
|
465
466
|
controlled: $,
|
|
466
467
|
default: b,
|
|
@@ -492,7 +493,7 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
492
493
|
elementType: zo,
|
|
493
494
|
externalForwardedProps: {
|
|
494
495
|
...g,
|
|
495
|
-
...
|
|
496
|
+
...V
|
|
496
497
|
},
|
|
497
498
|
className: L(w.root, h),
|
|
498
499
|
shouldForwardComponentProp: !0,
|
|
@@ -501,7 +502,7 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
501
502
|
additionalProps: {
|
|
502
503
|
square: A
|
|
503
504
|
}
|
|
504
|
-
}), [M,
|
|
505
|
+
}), [M, k] = I("heading", {
|
|
505
506
|
elementType: Wo,
|
|
506
507
|
externalForwardedProps: g,
|
|
507
508
|
className: w.heading,
|
|
@@ -511,7 +512,7 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
511
512
|
externalForwardedProps: g,
|
|
512
513
|
ownerState: u
|
|
513
514
|
}), [H, oo] = I("region", {
|
|
514
|
-
elementType:
|
|
515
|
+
elementType: Vo,
|
|
515
516
|
externalForwardedProps: g,
|
|
516
517
|
ownerState: u,
|
|
517
518
|
className: w.region,
|
|
@@ -524,7 +525,7 @@ const _ = X("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled
|
|
|
524
525
|
return /* @__PURE__ */ s.jsxs(C, {
|
|
525
526
|
...O,
|
|
526
527
|
children: [/* @__PURE__ */ s.jsx(M, {
|
|
527
|
-
...
|
|
528
|
+
...k,
|
|
528
529
|
children: /* @__PURE__ */ s.jsx(to.Provider, {
|
|
529
530
|
value: E,
|
|
530
531
|
children: N
|
|
@@ -629,7 +630,7 @@ process.env.NODE_ENV !== "production" && (so.propTypes = {
|
|
|
629
630
|
*/
|
|
630
631
|
TransitionProps: o.object
|
|
631
632
|
});
|
|
632
|
-
function
|
|
633
|
+
function ko(e) {
|
|
633
634
|
return Y("MuiAccordionDetails", e);
|
|
634
635
|
}
|
|
635
636
|
X("MuiAccordionDetails", ["root"]);
|
|
@@ -639,7 +640,7 @@ const Fo = (e) => {
|
|
|
639
640
|
} = e;
|
|
640
641
|
return Q({
|
|
641
642
|
root: ["root"]
|
|
642
|
-
},
|
|
643
|
+
}, ko, t);
|
|
643
644
|
}, Go = T("div", {
|
|
644
645
|
name: "MuiAccordionDetails",
|
|
645
646
|
slot: "Root"
|
|
@@ -787,7 +788,7 @@ const F = X("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
787
788
|
disableGutters: z,
|
|
788
789
|
expanded: P,
|
|
789
790
|
toggle: W
|
|
790
|
-
} = l.useContext(to),
|
|
791
|
+
} = l.useContext(to), V = (a) => {
|
|
791
792
|
W && W(a), S && S(a);
|
|
792
793
|
}, c = {
|
|
793
794
|
...i,
|
|
@@ -818,7 +819,7 @@ const F = X("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disable
|
|
|
818
819
|
...a,
|
|
819
820
|
onClick: (g) => {
|
|
820
821
|
var C;
|
|
821
|
-
(C = a.onClick) == null || C.call(a, g),
|
|
822
|
+
(C = a.onClick) == null || C.call(a, g), V(g);
|
|
822
823
|
}
|
|
823
824
|
})
|
|
824
825
|
}), [E, u] = I("content", {
|
|
@@ -900,7 +901,7 @@ process.env.NODE_ENV !== "production" && (ao.propTypes = {
|
|
|
900
901
|
*/
|
|
901
902
|
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
902
903
|
});
|
|
903
|
-
const
|
|
904
|
+
const re = ({ title: e, children: t, startIcon: r, defaultExpanded: i = !1 }) => /* @__PURE__ */ s.jsxs(
|
|
904
905
|
so,
|
|
905
906
|
{
|
|
906
907
|
defaultExpanded: i,
|
|
@@ -911,7 +912,7 @@ const ne = ({ title: e, children: t, startIcon: r, defaultExpanded: i = !1 }) =>
|
|
|
911
912
|
elevation: 0,
|
|
912
913
|
children: [
|
|
913
914
|
/* @__PURE__ */ s.jsx(ao, { expandIcon: /* @__PURE__ */ s.jsx(jo, {}), children: /* @__PURE__ */ s.jsxs(Ro, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
914
|
-
r
|
|
915
|
+
r,
|
|
915
916
|
/* @__PURE__ */ s.jsx(Ao, { variant: "subtitle1", fontWeight: 600, children: e })
|
|
916
917
|
] }) }),
|
|
917
918
|
/* @__PURE__ */ s.jsx(io, { children: t })
|
|
@@ -919,5 +920,5 @@ const ne = ({ title: e, children: t, startIcon: r, defaultExpanded: i = !1 }) =>
|
|
|
919
920
|
}
|
|
920
921
|
);
|
|
921
922
|
export {
|
|
922
|
-
|
|
923
|
+
re as default
|
|
923
924
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material';
|
|
3
|
+
import { default as Slider, Settings } from 'react-slick';
|
|
4
|
+
export interface SCarouselProps extends PropsWithChildren, Settings {
|
|
5
|
+
dotColor?: string;
|
|
6
|
+
spaceBetween?: number;
|
|
7
|
+
dotStyles?: SxProps<Theme>;
|
|
8
|
+
arrowStyles?: SxProps<Theme>;
|
|
9
|
+
}
|
|
10
|
+
declare const SCarousel: import('react').ForwardRefExoticComponent<SCarouselProps & import('react').RefAttributes<Slider>>;
|
|
11
|
+
export default SCarousel;
|