@solostylist/ui-kit 1.0.216 → 1.0.217
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-O4lRvSII.js → ArrowUpward-Di0RvTdn.js} +2 -2
- package/dist/Box-BK8kyPwb.js +45 -0
- package/dist/{ButtonBase-1qqPHJym.js → ButtonBase-Pxs48joz.js} +282 -172
- package/dist/{ChevronLeft-CJ94-qgQ.js → ChevronLeft-Cq8Rj_mj.js} +2 -2
- package/dist/{ChevronRight-CK4Iv1Xx.js → ChevronRight-DgJMX1PW.js} +2 -2
- package/dist/{Close-CSIi_IPN.js → Close-BrK64qcq.js} +2 -2
- package/dist/Collapse-BlDm9KX-.js +259 -0
- package/dist/{ContentCopy-SAMH7bs7.js → ContentCopy-C3hTb2aA.js} +2 -2
- package/dist/{Download-BefdWd5q.js → Download-BxH0i9Ni.js} +2 -2
- package/dist/{ExpandMore-DZANUF9W.js → ExpandMore-C7Hl31nD.js} +2 -2
- package/dist/{Favorite-BwMGKQJf.js → Favorite-DNaf3wqS.js} +2 -2
- package/dist/List-CtVrgES0.js +1049 -0
- package/dist/LocalizationProvider-DtVmtZ15.js +111 -0
- package/dist/Menu-DklEkm6T.js +497 -0
- package/dist/MenuItem-B9utw6PO.js +222 -0
- package/dist/MenuList-BbO85Qmd.js +404 -0
- package/dist/{Paper-CI9lXZk-.js → Paper-B_hHPO5k.js} +15 -15
- package/dist/Stack-D5D_RRtN.js +157 -0
- package/dist/Typography-Dy5dAg2u.js +166 -0
- package/dist/{avatar-CKEYVp9W.js → avatar-C1jUiSkJ.js} +1 -1
- package/dist/buttonBaseClasses-BLZbMisL.js +13 -0
- package/dist/{checkbox-CMvDozaV.js → checkbox-ByoYYQb_.js} +4 -4
- package/dist/{clsx-BTH_sxEO.js → clsx-69XFQeWf.js} +4 -4
- package/dist/{createSimplePaletteValueFilter-D5kxdvJe.js → createSimplePaletteValueFilter-GHK52GLU.js} +1 -1
- package/dist/{createSvgIcon-BfZYaiXo.js → createSvgIcon-BmN7SAhg.js} +15 -15
- package/dist/{createTheme-hnicUJQa.js → createTheme-YGsrOe_4.js} +624 -545
- package/dist/defaultTheme-DCktV_zC.js +5 -0
- package/dist/{generateUtilityClass-D4Rn9MbW.js → generateUtilityClass-tRYNDrlH.js} +1 -1
- package/dist/generateUtilityClasses-XrPHiTcM.js +10 -0
- package/dist/{iconButtonClasses-UNZ6hKTU.js → iconButtonClasses-9jjSQ9-U.js} +3 -3
- package/dist/inputLabelClasses-CC5i2Dsg.js +659 -0
- package/dist/memoTheme-BmiT8U43.js +150 -0
- package/dist/{mergeSlotProps-CVIr4jSm.js → mergeSlotProps-BX66hWLa.js} +3 -6
- package/dist/{outlinedInputClasses-ClI9bkEy.js → outlinedInputClasses-Di4lUV1O.js} +5 -10
- package/dist/{resolveProps-D6-j1wov.js → resolveProps-CP_X7XKa.js} +3 -3
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +1 -1
- package/dist/{s-accordion-Coc1zFV6.js → s-accordion-CeJZz1Ln.js} +107 -116
- package/dist/s-action-overlay/s-action-overlay.js +18 -14
- package/dist/s-avatar/s-avatar.js +6 -4
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +1 -1
- package/dist/{s-carousel-Btja2Hvn.js → s-carousel-DyaNkTeX.js} +2 -2
- 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-DF3eBvRY.js → s-chat-input-B_qRssy8.js} +41 -29
- 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-tzIfAqAc.js → s-chat-message-gzoc72Ti.js} +45 -41
- package/dist/s-checkbox/s-checkbox.js +6 -3
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/{s-chips-CMivbDg_.js → s-chips-D8H_w9Xa.js} +15 -11
- 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-BrwHh2oS.js → s-code-block-B1mdb-IQ.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-Db-f_KOq.js → s-comment-message-CsQej8Et.js} +18 -14
- package/dist/s-copyable-text/s-copyable-text.js +8 -9
- 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-DeFNG6GB.js +893 -0
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.d.ts +1 -1
- package/dist/s-date-picker/s-date-picker.js +1 -1
- package/dist/{s-date-picker-C-FOMdpa.js → s-date-picker-Fo7ezXTV.js} +161 -115
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
- package/dist/{s-datetime-picker-qg0m55tj.js → s-datetime-picker-BcpyhYZf.js} +1051 -1033
- package/dist/s-dialog/s-dialog.js +3 -3
- package/dist/s-dialog-confirm/s-dialog-confirm.js +4 -4
- package/dist/s-dialog-message/s-dialog-message.js +4 -4
- package/dist/s-empty/s-empty.js +4 -2
- package/dist/s-error/s-error.js +4 -2
- package/dist/s-error-layout/s-error-layout.js +1 -2
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/{s-file-dropzone-BFTqdCaX.js → s-file-dropzone-yel7KInt.js} +9 -9
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-flex-box/s-flex-box.d.ts +10 -2
- package/dist/s-flex-box/s-flex-box.js +15 -5
- package/dist/s-glow-button/s-glow-button.js +1 -1
- package/dist/s-image-comparison/s-image-comparison.js +2 -2
- package/dist/s-image-modal/s-image-modal.js +4 -4
- package/dist/s-item-not-found/s-item-not-found.js +9 -7
- package/dist/s-label/index.js +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/{s-label-BYT4eG6o.js → s-label-B9mgEpfz.js} +8 -7
- package/dist/s-language-switcher/index.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +1 -1
- package/dist/{s-language-switcher-mD1mK1he.js → s-language-switcher-BI0ARsS8.js} +18 -17
- package/dist/s-lazy-image/s-lazy-image.js +4 -2
- package/dist/s-link/s-link.d.ts +1 -1
- package/dist/s-link/s-link.js +1 -1
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/{s-localization-provider-CIACI235.js → s-localization-provider-zUNjKqvJ.js} +41 -59
- package/dist/s-moving-border/s-moving-border.d.ts +8 -0
- package/dist/s-moving-border/s-moving-border.js +26 -21
- package/dist/s-multi-select/index.js +1 -1
- package/dist/s-multi-select/s-multi-select.js +1 -1
- package/dist/{s-multi-select-CmB-l3n5.js → s-multi-select-CVyeHDlc.js} +10 -10
- package/dist/s-nav-item/s-nav-item.js +2 -2
- package/dist/s-nav-item/s-nav-items.js +5 -5
- package/dist/s-no-ssr/s-no-ssr.js +1 -1
- package/dist/s-pagination/s-pagination.js +6 -4
- package/dist/s-pixel-reveal/s-pixel-reveal.js +1 -1
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +1 -1
- package/dist/{s-review-D29of4xC.js → s-review-BoTotzrP.js} +14 -10
- package/dist/s-scroll-to-top/s-scroll-to-top.js +3 -3
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +1 -1
- package/dist/{s-select-DH-t7jkk.js → s-select-BHnfqAGl.js} +7 -7
- package/dist/s-select-list/s-select-list.js +1 -1
- package/dist/s-stripe/s-stripe.js +1 -1
- package/dist/s-switch/s-switch.js +5 -3
- package/dist/s-tabs/s-tabs.js +6 -6
- 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 +2 -2
- package/dist/s-text-editor-toolbar-ZxamcKpn.js +2105 -0
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/{s-text-field-UI_UjTUa.js → s-text-field-w4T9VXLw.js} +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +2 -2
- 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-C0v-IOB-.js → s-theme-demo-C0BGeh2P.js} +80 -48
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/{s-theme-switch-COBORL4a.js → s-theme-switch-Cz5QBl69.js} +2 -2
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +1 -1
- package/dist/{s-tip-BI58w2uh.js → s-tip-CqLspVS4.js} +5 -5
- 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-KrLaAaBO.js → s-tool-bar-RTPBIgcd.js} +5 -5
- package/dist/s-two-pane-layout/s-two-pane-layout.js +1 -1
- package/dist/{select-BT9USOXL.js → select-D7W-VU2F.js} +2 -2
- package/dist/styled-BRk8Ukg1.js +164 -0
- package/dist/{esm-BYRX9r8n.js → styled-engine-DOxAQ3qw.js} +2 -2
- package/dist/{svgIconClasses-BhRa1KyZ.js → svgIconClasses-D46YUMKp.js} +3 -3
- package/dist/{tabClasses-Duc8s_po.js → tabClasses-KqPlYv0c.js} +3 -4
- package/dist/theme/components/accordion-summary.d.ts +2 -2
- package/dist/theme/components/accordion-summary.js +1 -1
- package/dist/theme/components/accordion.d.ts +2 -2
- package/dist/theme/components/alert.js +1 -1
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/button.d.ts +2 -2
- package/dist/theme/components/button.js +30 -22
- package/dist/theme/components/card.js +2 -2
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.js +122 -124
- package/dist/theme/components/components.js +5 -5
- package/dist/theme/components/icon-button.d.ts +2 -2
- package/dist/theme/components/icon-button.js +1 -1
- package/dist/theme/components/linear-progress.js +1 -1
- package/dist/theme/components/link.d.ts +2 -2
- package/dist/theme/components/link.js +2 -2
- package/dist/theme/components/list-item-button.d.ts +2 -2
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.d.ts +2 -2
- package/dist/theme/components/list-item.js +3 -3
- package/dist/theme/components/outlined-input.js +3 -3
- package/dist/theme/components/pagination-item.d.ts +2 -2
- package/dist/theme/components/select.js +1 -1
- package/dist/theme/components/step-icon.js +1 -1
- package/dist/theme/components/tab.d.ts +2 -2
- package/dist/theme/components/tab.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/tabs.d.ts +4 -4
- package/dist/theme/components/toggle-button-group.js +1 -1
- package/dist/theme/components/toggle-button.d.ts +2 -2
- package/dist/theme/components/toggle-button.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{theme-primitives-qhf0z_Er.js → theme-primitives-DHiY0aFC.js} +1 -1
- package/dist/{toggle-button-sCvdUHdS.js → toggle-button-DIEv06gW.js} +3 -3
- package/dist/{toggle-button-group-C_qpJa3z.js → toggle-button-group-CERACXGm.js} +4 -6
- package/dist/{typographyClasses-CBI3nZde.js → typographyClasses-CyjIdezx.js} +4 -5
- package/dist/{useControlled-BQ6-yabk.js → useControlled-2-C6cXjG.js} +2 -5
- package/dist/useControlled-DXKqhylj.js +5 -0
- package/dist/{useEnhancedEffect-DcMMtOdE.js → useEnhancedEffect-Dsu5K7-Z.js} +1 -1
- package/dist/useFormControl-CUs308br.js +18 -0
- package/dist/{useMobilePicker-C5bImMb9.js → useMobilePicker-6o6QRlWL.js} +3019 -3472
- package/dist/{useSlot-BfqKgBbE.js → useSlot-CugRM0KJ.js} +37 -32
- package/dist/{useThemeProps-DtrsMbkY.js → useThemeProps-DdB9M8DE.js} +4 -4
- package/dist/{utils-BqJ3HDtA.js → utils-DNv5CBQM.js} +21 -5
- package/package.json +13 -13
- package/dist/Box-BQIZeo25.js +0 -46
- package/dist/Collapse-BUAO-GTT.js +0 -264
- package/dist/LocalizationProvider-C07_J3LH.js +0 -111
- package/dist/Menu-qKMfgdfr.js +0 -1664
- package/dist/MenuItem-DA2pGXuL.js +0 -214
- package/dist/Select-D-aLJXW9.js +0 -2552
- package/dist/Stack-BrIUVvqB.js +0 -158
- package/dist/Typography-Ci004UCT.js +0 -187
- package/dist/buttonBaseClasses-D1dQFqBk.js +0 -13
- package/dist/defaultTheme-CW25vqGj.js +0 -5
- package/dist/extendSxProp-0kulJXZl.js +0 -29
- package/dist/generateUtilityClasses-CX1nR7K3.js +0 -10
- package/dist/memoTheme-DiKnacj0.js +0 -154
- package/dist/s-data-table-BdEn2Nhf.js +0 -897
- package/dist/s-text-editor-toolbar-Sw0qn88u.js +0 -177
- package/dist/styled-C0_N3zFx.js +0 -168
- package/dist/useFormControl-DvExOQVA.js +0 -11
- /package/dist/{extends-DtvfmDTb.js → extends-D8CDMpIy.js} +0 -0
- /package/dist/{objectWithoutPropertiesLoose-Cq334jkZ.js → objectWithoutPropertiesLoose-BpY-kC5L.js} +0 -0
- /package/dist/{utils-CKGB5_56.js → utils-B5Rl6Zwv.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../Close-
|
|
1
|
+
import { t as e } from "../Close-BrK64qcq.js";
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
4
|
import { Dialog as a, DialogActions as o, DialogContent as s, DialogTitle as c, IconButton as l, Stack as u, Typography as d } from "@mui/material";
|
|
@@ -7,8 +7,8 @@ var f = t.forwardRef(({ title: t, content: f, actions: p, onClose: m = () => {},
|
|
|
7
7
|
let x = /* @__PURE__ */ i(n, { children: [f && /* @__PURE__ */ r(s, {
|
|
8
8
|
ref: b,
|
|
9
9
|
children: typeof f == "string" ? /* @__PURE__ */ r(d, {
|
|
10
|
-
color: "text.secondary",
|
|
11
10
|
variant: "body2",
|
|
11
|
+
sx: { color: "text.secondary" },
|
|
12
12
|
children: f
|
|
13
13
|
}) : f
|
|
14
14
|
}), p && /* @__PURE__ */ r(o, { children: p })] });
|
|
@@ -26,7 +26,7 @@ var f = t.forwardRef(({ title: t, content: f, actions: p, onClose: m = () => {},
|
|
|
26
26
|
},
|
|
27
27
|
children: [typeof t == "string" ? /* @__PURE__ */ r(d, {
|
|
28
28
|
variant: "h5",
|
|
29
|
-
textTransform: "capitalize",
|
|
29
|
+
sx: { textTransform: "capitalize" },
|
|
30
30
|
children: t
|
|
31
31
|
}) : /* @__PURE__ */ r("div", { children: t }), y && /* @__PURE__ */ r(l, {
|
|
32
32
|
onClick: m,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../Typography-
|
|
2
|
-
import { t } from "../Close-
|
|
1
|
+
import { t as e } from "../Typography-Dy5dAg2u.js";
|
|
2
|
+
import { t } from "../Close-BrK64qcq.js";
|
|
3
3
|
import { useDialog as n } from "../hooks/use-dialog.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -20,7 +20,7 @@ var m = ({ title: n, content: r, onConfirm: m = () => {}, onClose: h = () => {},
|
|
|
20
20
|
},
|
|
21
21
|
children: [typeof n == "string" ? /* @__PURE__ */ a(e, {
|
|
22
22
|
variant: "h5",
|
|
23
|
-
textTransform: "capitalize",
|
|
23
|
+
sx: { textTransform: "capitalize" },
|
|
24
24
|
children: n
|
|
25
25
|
}) : /* @__PURE__ */ a("div", { children: n }), v && /* @__PURE__ */ a(f, {
|
|
26
26
|
onClick: h,
|
|
@@ -28,8 +28,8 @@ var m = ({ title: n, content: r, onConfirm: m = () => {}, onClose: h = () => {},
|
|
|
28
28
|
})]
|
|
29
29
|
}) }),
|
|
30
30
|
r && /* @__PURE__ */ a(u, { children: typeof r == "string" ? /* @__PURE__ */ a(e, {
|
|
31
|
-
color: "text.secondary",
|
|
32
31
|
variant: "body2",
|
|
32
|
+
sx: { color: "text.secondary" },
|
|
33
33
|
children: r
|
|
34
34
|
}) : r }),
|
|
35
35
|
/* @__PURE__ */ a(l, { children: /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(s, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../Typography-
|
|
2
|
-
import { t } from "../Close-
|
|
1
|
+
import { t as e } from "../Typography-Dy5dAg2u.js";
|
|
2
|
+
import { t } from "../Close-BrK64qcq.js";
|
|
3
3
|
import { useDialog as n } from "../hooks/use-dialog.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -20,7 +20,7 @@ var p = ({ title: n, content: r, onClose: p = () => {}, onOk: m = () => {}, open
|
|
|
20
20
|
},
|
|
21
21
|
children: [typeof n == "string" ? /* @__PURE__ */ i(e, {
|
|
22
22
|
variant: "h5",
|
|
23
|
-
textTransform: "capitalize",
|
|
23
|
+
sx: { textTransform: "capitalize" },
|
|
24
24
|
children: n
|
|
25
25
|
}) : /* @__PURE__ */ i("div", { children: n }), _ && /* @__PURE__ */ i(d, {
|
|
26
26
|
onClick: p,
|
|
@@ -28,8 +28,8 @@ var p = ({ title: n, content: r, onClose: p = () => {}, onOk: m = () => {}, open
|
|
|
28
28
|
})]
|
|
29
29
|
}) }),
|
|
30
30
|
r && /* @__PURE__ */ i(l, { children: typeof r == "string" ? /* @__PURE__ */ i(e, {
|
|
31
|
-
color: "text.secondary",
|
|
32
31
|
variant: "body2",
|
|
32
|
+
sx: { color: "text.secondary" },
|
|
33
33
|
children: r
|
|
34
34
|
}) : r }),
|
|
35
35
|
/* @__PURE__ */ i(c, { children: /* @__PURE__ */ i(o, {
|
package/dist/s-empty/s-empty.js
CHANGED
|
@@ -4,8 +4,10 @@ import { Typography as t } from "@mui/material";
|
|
|
4
4
|
//#region lib/s-empty/s-empty.tsx
|
|
5
5
|
var n = ({ title: n }) => /* @__PURE__ */ e(t, {
|
|
6
6
|
variant: "body2",
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
sx: {
|
|
8
|
+
color: "text.secondary",
|
|
9
|
+
my: 3
|
|
10
|
+
},
|
|
9
11
|
children: n ?? "No data available."
|
|
10
12
|
});
|
|
11
13
|
n.displayName = "SEmpty";
|
package/dist/s-error/s-error.js
CHANGED
|
@@ -3,8 +3,10 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
|
3
3
|
import { Box as n, Stack as r, Typography as i } from "@mui/material";
|
|
4
4
|
//#region lib/s-error/s-error.tsx
|
|
5
5
|
var a = () => /* @__PURE__ */ t(r, {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
sx: {
|
|
7
|
+
alignItems: "center",
|
|
8
|
+
gap: 2
|
|
9
|
+
},
|
|
8
10
|
children: [
|
|
9
11
|
/* @__PURE__ */ e(n, {
|
|
10
12
|
alt: "Internal server error",
|
|
@@ -65,8 +65,7 @@ var c = ({ imageSrc: c, imageAlt: l, title: u, description: d, buttonText: f, im
|
|
|
65
65
|
children: u
|
|
66
66
|
}), /* @__PURE__ */ t(s, {
|
|
67
67
|
variant: b,
|
|
68
|
-
color: "text.secondary",
|
|
69
|
-
sx: D,
|
|
68
|
+
sx: [{ color: "text.secondary" }, ...Array.isArray(D) ? D : [D]],
|
|
70
69
|
children: d
|
|
71
70
|
})]
|
|
72
71
|
}),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-file-dropzone-
|
|
1
|
+
import { t as e } from "../s-file-dropzone-yel7KInt.js";
|
|
2
2
|
export { e as SFileDropzone, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-file-dropzone-
|
|
1
|
+
import { t as e } from "../s-file-dropzone-yel7KInt.js";
|
|
2
2
|
export { e as SFileDropzone, e as default };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as e } from "./Box-
|
|
2
|
-
import { t } from "./Stack-
|
|
3
|
-
import { t as n } from "./utils-
|
|
4
|
-
import { t as r } from "./createSvgIcon-
|
|
5
|
-
import { t as i } from "./Typography-
|
|
1
|
+
import { t as e } from "./Box-BK8kyPwb.js";
|
|
2
|
+
import { t } from "./Stack-D5D_RRtN.js";
|
|
3
|
+
import { t as n } from "./utils-B5Rl6Zwv.js";
|
|
4
|
+
import { t as r } from "./createSvgIcon-BmN7SAhg.js";
|
|
5
|
+
import { t as i } from "./Typography-Dy5dAg2u.js";
|
|
6
6
|
import { SForm as a } from "./s-form/s-form.js";
|
|
7
7
|
import { SFileIcon as o } from "./s-file-icon/s-file-icon.js";
|
|
8
8
|
import * as s from "react";
|
|
9
9
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
10
10
|
import { Avatar as u, Button as d, IconButton as f, Tooltip as p } from "@mui/material";
|
|
11
11
|
import { useDropzone as m } from "react-dropzone";
|
|
12
|
-
//#region ../../node_modules/@mui/icons-material/
|
|
12
|
+
//#region ../../node_modules/@mui/icons-material/CloseOutlined.mjs
|
|
13
13
|
var h = r(/* @__PURE__ */ c("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }), "CloseOutlined"), g = r(/* @__PURE__ */ c("path", { d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z" }), "CloudUploadOutlined"), _ = ({ hint: r, label: _ = "", error: v, onRemoveAll: y, onRemove: b, required: x = !1, isShowBtnRemoveAll: S = !1, ...C }) => {
|
|
14
14
|
let { getRootProps: w, getInputProps: T, isDragActive: E } = m(C);
|
|
15
15
|
return /* @__PURE__ */ l(s.Fragment, { children: [/* @__PURE__ */ c(a, {
|
|
@@ -51,8 +51,8 @@ var h = r(/* @__PURE__ */ c("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.4
|
|
|
51
51
|
}), /* @__PURE__ */ c(t, {
|
|
52
52
|
spacing: 1,
|
|
53
53
|
children: /* @__PURE__ */ l(i, {
|
|
54
|
-
color: "text.secondary",
|
|
55
54
|
variant: "body2",
|
|
55
|
+
sx: { color: "text.secondary" },
|
|
56
56
|
children: [
|
|
57
57
|
/* @__PURE__ */ c(i, {
|
|
58
58
|
component: "span",
|
|
@@ -68,8 +68,8 @@ var h = r(/* @__PURE__ */ c("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.4
|
|
|
68
68
|
})]
|
|
69
69
|
})
|
|
70
70
|
}), C.files?.length ? /* @__PURE__ */ l(t, {
|
|
71
|
-
mt: 1,
|
|
72
71
|
spacing: 1,
|
|
72
|
+
sx: { mt: 1 },
|
|
73
73
|
children: [/* @__PURE__ */ c(t, {
|
|
74
74
|
component: "ul",
|
|
75
75
|
spacing: 1,
|
|
@@ -98,8 +98,8 @@ var h = r(/* @__PURE__ */ c("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.4
|
|
|
98
98
|
variant: "subtitle2",
|
|
99
99
|
children: r.name
|
|
100
100
|
}), /* @__PURE__ */ c(i, {
|
|
101
|
-
color: "text.secondary",
|
|
102
101
|
variant: "body2",
|
|
102
|
+
sx: { color: "text.secondary" },
|
|
103
103
|
children: n(r.size)
|
|
104
104
|
})]
|
|
105
105
|
}),
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import { BoxProps } from '@mui/material/Box';
|
|
2
|
+
import { ResponsiveStyleValue } from '@mui/system';
|
|
3
|
+
import type * as React from 'react';
|
|
2
4
|
/**
|
|
3
5
|
* Props interface for SFlexBox component
|
|
4
6
|
*/
|
|
5
|
-
export
|
|
7
|
+
export interface SFlexBoxProps extends BoxProps {
|
|
8
|
+
alignItems?: ResponsiveStyleValue<React.CSSProperties['alignItems']>;
|
|
9
|
+
flexDirection?: ResponsiveStyleValue<React.CSSProperties['flexDirection']>;
|
|
10
|
+
flexWrap?: ResponsiveStyleValue<React.CSSProperties['flexWrap']>;
|
|
11
|
+
gap?: ResponsiveStyleValue<React.CSSProperties['gap'] | number>;
|
|
12
|
+
justifyContent?: ResponsiveStyleValue<React.CSSProperties['justifyContent']>;
|
|
13
|
+
}
|
|
6
14
|
export declare const SFlexBox: {
|
|
7
|
-
({ children, ...props }: SFlexBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
({ alignItems, children, flexDirection, flexWrap, gap, justifyContent, ...props }: SFlexBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
8
16
|
displayName: string;
|
|
9
17
|
};
|
|
10
18
|
export default SFlexBox;
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import { t as e } from "../Box-
|
|
1
|
+
import { t as e } from "../Box-BK8kyPwb.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
//#region lib/s-flex-box/s-flex-box.tsx
|
|
4
|
-
var n = ({
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var n = ({ alignItems: n, children: r, flexDirection: i, flexWrap: a, gap: o, justifyContent: s, ...c }) => /* @__PURE__ */ t(e, {
|
|
5
|
+
...c,
|
|
6
|
+
sx: [
|
|
7
|
+
{ display: "flex" },
|
|
8
|
+
{
|
|
9
|
+
alignItems: n,
|
|
10
|
+
flexDirection: i,
|
|
11
|
+
flexWrap: a,
|
|
12
|
+
gap: o,
|
|
13
|
+
justifyContent: s
|
|
14
|
+
},
|
|
15
|
+
...Array.isArray(c.sx) ? c.sx : [c.sx]
|
|
16
|
+
],
|
|
17
|
+
children: r
|
|
8
18
|
});
|
|
9
19
|
n.displayName = "SFlexBox";
|
|
10
20
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../ChevronLeft-
|
|
2
|
-
import { t } from "../ChevronRight-
|
|
1
|
+
import { t as e } from "../ChevronLeft-Cq8Rj_mj.js";
|
|
2
|
+
import { t } from "../ChevronRight-DgJMX1PW.js";
|
|
3
3
|
import n from "../s-lazy-image/s-lazy-image.js";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../ChevronLeft-
|
|
2
|
-
import { t } from "../ChevronRight-
|
|
3
|
-
import { t as n } from "../Close-
|
|
1
|
+
import { t as e } from "../ChevronLeft-Cq8Rj_mj.js";
|
|
2
|
+
import { t } from "../ChevronRight-DgJMX1PW.js";
|
|
3
|
+
import { t as n } from "../Close-BrK64qcq.js";
|
|
4
4
|
import r from "../s-lazy-image/s-lazy-image.js";
|
|
5
5
|
import i, { useEffect as a, useState as o } from "react";
|
|
6
6
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
@@ -319,8 +319,8 @@ var v = ({ item: e, onClick: t, style: n = {}, objectFit: i = "contain", disable
|
|
|
319
319
|
},
|
|
320
320
|
children: /* @__PURE__ */ c(m, {
|
|
321
321
|
direction: "row",
|
|
322
|
-
alignItems: "center",
|
|
323
322
|
spacing: -1.5,
|
|
323
|
+
sx: { alignItems: "center" },
|
|
324
324
|
children: S.map((e, t) => {
|
|
325
325
|
let n = A.id === e.id, r = t % 2 == 0 ? -15 : 15, i = () => {
|
|
326
326
|
x ? x(e) : k(e);
|
|
@@ -217,13 +217,15 @@ var s = () => /* @__PURE__ */ t(i, {
|
|
|
217
217
|
}) })]
|
|
218
218
|
})
|
|
219
219
|
}), l = ({ message: i, image: l, boxProps: u, lazyImageProps: d }) => {
|
|
220
|
-
let { mode: f } = o(), p = t(f === "light" ? s : c, {});
|
|
220
|
+
let { mode: f } = o(), p = t(f === "light" ? s : c, {}), { sx: m, ...h } = u ?? {};
|
|
221
221
|
return /* @__PURE__ */ n(r, {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
222
|
+
...h,
|
|
223
|
+
sx: [{
|
|
224
|
+
display: "flex",
|
|
225
|
+
justifyContent: "center",
|
|
226
|
+
alignItems: "center",
|
|
227
|
+
flexDirection: "column"
|
|
228
|
+
}, ...Array.isArray(m) ? m : [m]],
|
|
227
229
|
children: [l ? /* @__PURE__ */ t(e, {
|
|
228
230
|
src: l,
|
|
229
231
|
width: 220,
|
|
@@ -231,7 +233,7 @@ var s = () => /* @__PURE__ */ t(i, {
|
|
|
231
233
|
...d
|
|
232
234
|
}) : p, /* @__PURE__ */ t(a, {
|
|
233
235
|
variant: "h6",
|
|
234
|
-
color: "text.disabled",
|
|
236
|
+
sx: { color: "text.disabled" },
|
|
235
237
|
children: i
|
|
236
238
|
})]
|
|
237
239
|
});
|
package/dist/s-label/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-label-
|
|
1
|
+
import { t as e } from "../s-label-B9mgEpfz.js";
|
|
2
2
|
export { e as SLabel, e as default };
|
package/dist/s-label/s-label.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-label-
|
|
1
|
+
import { t as e } from "../s-label-B9mgEpfz.js";
|
|
2
2
|
export { e as SLabel, e as default };
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-
|
|
1
|
+
import { t as e } from "./createSvgIcon-BmN7SAhg.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
4
|
import { Stack as r, Tooltip as i, Typography as a } from "@mui/material";
|
|
5
|
-
//#region ../../node_modules/@mui/icons-material/
|
|
5
|
+
//#region ../../node_modules/@mui/icons-material/HelpOutlineOutlined.mjs
|
|
6
6
|
var o = e(/* @__PURE__ */ t("path", { d: "M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4" }), "HelpOutlineOutlined"), s = ({ label: e, children: s, hint: c, sx: l }) => /* @__PURE__ */ n(r, {
|
|
7
|
-
width: "100%",
|
|
8
|
-
sx: l,
|
|
7
|
+
sx: [{ width: "100%" }, ...Array.isArray(l) ? l : [l]],
|
|
9
8
|
children: [/* @__PURE__ */ n(r, {
|
|
10
9
|
direction: "row",
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
sx: {
|
|
11
|
+
alignItems: "center",
|
|
12
|
+
mb: 1
|
|
13
|
+
},
|
|
13
14
|
children: [/* @__PURE__ */ t(a, {
|
|
14
15
|
variant: "subtitle2",
|
|
15
|
-
color: "text.secondary",
|
|
16
|
+
sx: { color: "text.secondary" },
|
|
16
17
|
children: e
|
|
17
18
|
}), c ? /* @__PURE__ */ t(i, {
|
|
18
19
|
title: c,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../s-language-switcher-
|
|
1
|
+
import { n as e, r as t, t as n } from "../s-language-switcher-BI0ARsS8.js";
|
|
2
2
|
export { n as SLanguagePopover, e as SLanguageSwitcher, e as default, t as defaultLanguageOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../s-language-switcher-
|
|
1
|
+
import { n as e, r as t, t as n } from "../s-language-switcher-BI0ARsS8.js";
|
|
2
2
|
export { n as SLanguagePopover, e as SLanguageSwitcher, e as default, t as defaultLanguageOptions };
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { n as e } from "./chunk-efA98nb6.js";
|
|
2
|
-
import { _ as t } from "./createTheme-
|
|
3
|
-
import {
|
|
4
|
-
import { t as a } from "./clsx-
|
|
5
|
-
import { t as o } from "./styled-
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
2
|
+
import { _ as t } from "./createTheme-YGsrOe_4.js";
|
|
3
|
+
import { o as n, r, t as i } from "./memoTheme-BmiT8U43.js";
|
|
4
|
+
import { t as a } from "./clsx-69XFQeWf.js";
|
|
5
|
+
import { t as o } from "./styled-BRk8Ukg1.js";
|
|
6
|
+
import { n as s } from "./List-CtVrgES0.js";
|
|
7
|
+
import { t as c } from "./Typography-Dy5dAg2u.js";
|
|
8
|
+
import { t as l } from "./Menu-DklEkm6T.js";
|
|
9
|
+
import { n as u, t as d } from "./MenuItem-B9utw6PO.js";
|
|
9
10
|
import { SIconButton as f } from "./s-icon-button/s-icon-button.js";
|
|
10
11
|
import * as p from "react";
|
|
11
12
|
import m, { createElement as h } from "react";
|
|
12
13
|
import { jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
13
14
|
import { useTranslation as v } from "react-i18next";
|
|
14
|
-
//#region ../../node_modules/@mui/material/
|
|
15
|
-
var y = /* @__PURE__ */ e(t()), b = (e) => {
|
|
16
|
-
let { alignItems: t, classes:
|
|
17
|
-
return
|
|
15
|
+
//#region ../../node_modules/@mui/material/ListItemIcon/ListItemIcon.mjs
|
|
16
|
+
var y = /* @__PURE__ */ e(t(), 1), b = (e) => {
|
|
17
|
+
let { alignItems: t, classes: r } = e;
|
|
18
|
+
return n({ root: ["root", t === "flex-start" && "alignItemsFlexStart"] }, u, r);
|
|
18
19
|
}, x = o("div", {
|
|
19
20
|
name: "MuiListItemIcon",
|
|
20
21
|
slot: "Root",
|
|
@@ -23,7 +24,7 @@ var y = /* @__PURE__ */ e(t()), b = (e) => {
|
|
|
23
24
|
return [t.root, n.alignItems === "flex-start" && t.alignItemsFlexStart];
|
|
24
25
|
}
|
|
25
26
|
})(i(({ theme: e }) => ({
|
|
26
|
-
minWidth:
|
|
27
|
+
minWidth: e.spacing(4.5),
|
|
27
28
|
color: (e.vars || e).palette.action.active,
|
|
28
29
|
flexShrink: 0,
|
|
29
30
|
display: "inline-flex",
|
|
@@ -32,11 +33,11 @@ var y = /* @__PURE__ */ e(t()), b = (e) => {
|
|
|
32
33
|
style: { marginTop: 8 }
|
|
33
34
|
}]
|
|
34
35
|
}))), S = /* @__PURE__ */ p.forwardRef(function(e, t) {
|
|
35
|
-
let
|
|
36
|
+
let n = r({
|
|
36
37
|
props: e,
|
|
37
38
|
name: "MuiListItemIcon"
|
|
38
|
-
}), { className: i, ...o } =
|
|
39
|
-
...
|
|
39
|
+
}), { className: i, ...o } = n, c = p.useContext(s), l = {
|
|
40
|
+
...n,
|
|
40
41
|
alignItems: c.alignItems
|
|
41
42
|
};
|
|
42
43
|
return /* @__PURE__ */ g(x, {
|
|
@@ -119,7 +120,7 @@ var T = [
|
|
|
119
120
|
let u = m.useCallback((e) => {
|
|
120
121
|
r?.(e), t?.();
|
|
121
122
|
}, [r, t]);
|
|
122
|
-
return /* @__PURE__ */ g(
|
|
123
|
+
return /* @__PURE__ */ g(l, {
|
|
123
124
|
anchorEl: e,
|
|
124
125
|
anchorOrigin: {
|
|
125
126
|
horizontal: "right",
|
|
@@ -146,7 +147,7 @@ var T = [
|
|
|
146
147
|
height: s
|
|
147
148
|
},
|
|
148
149
|
title: e.label
|
|
149
|
-
}) }), /* @__PURE__ */ g(
|
|
150
|
+
}) }), /* @__PURE__ */ g(c, {
|
|
150
151
|
variant: "subtitle2",
|
|
151
152
|
children: e.label
|
|
152
153
|
})]
|
|
@@ -8,8 +8,10 @@ function s(e, t) {
|
|
|
8
8
|
var c = ({ src: c, variant: l = "rounded", height: u = "100%", width: d = "100%", style: f, minWidth: p = "auto", minHeight: m = "auto", onLoad: h, ...g }) => {
|
|
9
9
|
let _ = e(), v = o(), [y, b] = t(!1), x = s(l, v.shape.borderRadius);
|
|
10
10
|
return /* @__PURE__ */ r(i, {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
sx: {
|
|
12
|
+
height: u,
|
|
13
|
+
width: d
|
|
14
|
+
},
|
|
13
15
|
children: [!y && /* @__PURE__ */ n(a, {
|
|
14
16
|
variant: l,
|
|
15
17
|
id: `image-skeleton-${_}`,
|
package/dist/s-link/s-link.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface SLinkProps {
|
|
|
21
21
|
/** Color of the link itself (overrides default link color) */
|
|
22
22
|
linkColor?: LinkProps['color'];
|
|
23
23
|
/** Line height for the typography */
|
|
24
|
-
lineHeight?:
|
|
24
|
+
lineHeight?: React.CSSProperties['lineHeight'];
|
|
25
25
|
/** Typography variant for the container text */
|
|
26
26
|
variant?: TypographyProps['variant'];
|
|
27
27
|
/** Click handler for the link */
|
package/dist/s-link/s-link.js
CHANGED
|
@@ -4,8 +4,8 @@ import { Link as n, Typography as r } from "@mui/material";
|
|
|
4
4
|
//#region lib/s-link/s-link.tsx
|
|
5
5
|
var i = ({ onClick: i, beforeText: a = "", afterText: o = "", mainText: s = "", href: c = "#", component: l = "a", target: u, color: d = "text.secondary", linkColor: f = void 0, variant: p = "body2", lineHeight: m }) => /* @__PURE__ */ t(r, {
|
|
6
6
|
variant: p,
|
|
7
|
-
lineHeight: m,
|
|
8
7
|
color: d,
|
|
8
|
+
sx: { lineHeight: m },
|
|
9
9
|
children: [
|
|
10
10
|
a,
|
|
11
11
|
" ",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-localization-provider-
|
|
1
|
+
import { t as e } from "../s-localization-provider-zUNjKqvJ.js";
|
|
2
2
|
export { e as SLocalizationProvider, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-localization-provider-
|
|
1
|
+
import { t as e } from "../s-localization-provider-zUNjKqvJ.js";
|
|
2
2
|
export { e as SLocalizationProvider, e as default };
|