@solostylist/ui-kit 1.0.204 → 1.0.205
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-CDLbIMHR.js +6 -0
- package/dist/Box-CCxGQYgC.js +46 -0
- package/dist/{ButtonBase-CyZX7c8K.js → ButtonBase-BpUvp8ep.js} +284 -285
- package/dist/ChevronLeft-C7DUyLoc.js +6 -0
- package/dist/ChevronRight-VFk57Tte.js +6 -0
- package/dist/Close-OtVsJy75.js +6 -0
- package/dist/ContentCopy-DHDP4d6g.js +6 -0
- package/dist/{DefaultPropsProvider-CFaP_bh_.js → DefaultPropsProvider-DpRXvTbj.js} +48 -48
- package/dist/Download-Bbx6BZUJ.js +6 -0
- package/dist/ExpandMore-BTC1yHzp.js +6 -0
- package/dist/Favorite-mcH9KX-m.js +6 -0
- package/dist/{Menu-BB3Khkc0.js → Menu-Dhh4e9H1.js} +544 -544
- package/dist/{MenuItem-CjPW2J-w.js → MenuItem-aaIy8lan.js} +39 -39
- package/dist/{Paper-COr98fp-.js → Paper--8Q3qCqb.js} +25 -25
- package/dist/{Select-B9880Uge.js → Select-B5RvkbDO.js} +732 -732
- package/dist/{Stack-BJ4hQFAK.js → Stack-D-aoKnaS.js} +27 -27
- package/dist/{Typography-B_GHPkH2.js → Typography-CswuXQLF.js} +25 -25
- package/dist/avatar-BVV8tT0K.js +10 -0
- package/dist/{buttonBaseClasses-DqKyadLa.js → buttonBaseClasses-CzfJbQi5.js} +1 -1
- package/dist/checkbox-Dd2nIREk.js +57 -0
- package/dist/chunk-efA98nb6.js +13 -0
- package/dist/{createSvgIcon-Bs2KOQvq.js → createSvgIcon-KjKEsKNV.js} +50 -50
- package/dist/{createTheme-CMuiGmV-.js → createTheme-DuS5_nJb.js} +1 -1
- package/dist/{defaultTheme-C7Su92B_.js → defaultTheme-DBynruYK.js} +1 -1
- package/dist/entries/carousel.js +2 -3
- package/dist/entries/chat.js +2 -3
- package/dist/entries/code.js +2 -3
- package/dist/entries/core.js +13 -14
- package/dist/entries/dates.js +4 -5
- package/dist/entries/dropzone.js +2 -3
- package/dist/entries/editor.js +1 -2
- package/dist/entries/gallery.js +1 -2
- package/dist/entries/i18n.js +2 -3
- package/dist/entries/motion.js +1 -2
- package/dist/entries/scrollbar.js +0 -1
- package/dist/entries/stripe.js +1 -2
- package/dist/{extendSxProp-DC0zdi8T.js → extendSxProp-YPyfzlEb.js} +1 -1
- package/dist/{iconButtonClasses-BggbSXxO.js → iconButtonClasses-ApDUTw5e.js} +1 -1
- package/dist/main.js +21 -22
- package/dist/{mergeSlotProps-DKt8V_TK.js → mergeSlotProps-BG-pTgpj.js} +1 -1
- package/dist/{outlinedInputClasses-5cvWh4bu.js → outlinedInputClasses-bgmdcolQ.js} +1 -1
- package/dist/{resolveProps-BfzHOpig.js → resolveProps-CcZ6Bxlf.js} +1 -1
- package/dist/s-accordion/index.js +2 -3
- package/dist/s-accordion/s-accordion.js +2 -3
- package/dist/{s-accordion-Dt3fbZNh.js → s-accordion-Da1IZflX.js} +203 -203
- package/dist/s-action-overlay/index.js +0 -1
- package/dist/s-action-overlay/s-action-overlay.js +44 -44
- package/dist/s-autocomplete/index.js +0 -1
- package/dist/s-autocomplete/s-autocomplete.js +12 -12
- package/dist/s-avatar/index.js +0 -1
- package/dist/s-avatar/s-avatar.js +16 -16
- package/dist/s-blur-text/index.js +0 -1
- package/dist/s-blur-text/s-blur-text.js +34 -34
- package/dist/s-breadcrumbs/index.js +1 -2
- package/dist/s-breadcrumbs/s-breadcrumbs.js +24 -24
- package/dist/s-button/index.js +0 -1
- package/dist/s-button/s-button.js +6 -6
- package/dist/s-carousel/index.js +2 -3
- package/dist/s-carousel/s-carousel.js +2 -3
- package/dist/s-carousel-BoDg9pKU.js +125 -0
- package/dist/s-category-card/index.js +0 -1
- package/dist/s-category-card/s-category-card.js +31 -31
- package/dist/s-chat-input/index.js +2 -3
- package/dist/s-chat-input/s-chat-input.js +2 -3
- package/dist/{s-chat-input-j_4JZfmI.js → s-chat-input-v_XIZVGk.js} +85 -85
- package/dist/s-chat-message/index.js +2 -3
- package/dist/s-chat-message/s-chat-message.js +2 -3
- package/dist/s-chat-message-CWtxsicj.js +281 -0
- package/dist/s-checkbox/index.js +0 -1
- package/dist/s-checkbox/s-checkbox.js +13 -13
- package/dist/s-chip/index.js +0 -1
- package/dist/s-chip/s-chip.js +6 -6
- package/dist/s-chips/index.js +0 -1
- package/dist/s-chips/s-chips.js +37 -37
- package/dist/s-code-block/index.js +2 -3
- package/dist/s-code-block/s-code-block.js +2 -3
- package/dist/{s-code-block-BxdWmtRX.js → s-code-block-BqYdR0Em.js} +21 -21
- package/dist/s-comment-message/index.js +2 -3
- package/dist/s-comment-message/s-comment-message.js +2 -3
- package/dist/s-comment-message-DDAHdQqY.js +195 -0
- package/dist/s-copyable-text/index.js +1 -2
- package/dist/s-copyable-text/s-copyable-text.js +20 -20
- package/dist/s-countdown/index.js +1 -2
- package/dist/s-countdown/s-count-box.js +31 -31
- package/dist/s-countdown/s-count-down.js +14 -14
- package/dist/s-data-table/index.js +2 -3
- package/dist/s-data-table/s-data-table.js +2 -3
- package/dist/{s-data-table-B9B189jk.js → s-data-table-BjqqIsFX.js} +284 -284
- package/dist/s-date-picker/index.js +2 -3
- package/dist/s-date-picker/s-date-picker.js +2 -3
- package/dist/{s-date-picker-CH4q-Bfx.js → s-date-picker-BYqxsjPU.js} +68 -68
- package/dist/s-datetime-picker/index.js +2 -3
- package/dist/s-datetime-picker/s-datetime-picker.js +2 -3
- package/dist/{s-datetime-picker-dviksz3-.js → s-datetime-picker-BtwGoxL3.js} +1251 -1251
- package/dist/s-dialog/index.js +1 -2
- package/dist/s-dialog/s-dialog.js +28 -28
- package/dist/s-dialog-confirm/index.js +1 -2
- package/dist/s-dialog-confirm/s-dialog-confirm.js +42 -42
- package/dist/s-dialog-message/index.js +1 -2
- package/dist/s-dialog-message/s-dialog-message.js +32 -32
- package/dist/s-empty/index.js +0 -1
- package/dist/s-empty/s-empty.js +5 -5
- package/dist/s-error/index.js +0 -1
- package/dist/s-error/s-error.js +6 -6
- package/dist/s-error-layout/index.js +0 -1
- package/dist/s-error-layout/s-error-layout.js +36 -36
- package/dist/s-file-dropzone/index.js +2 -3
- package/dist/s-file-dropzone/s-file-dropzone.js +2 -3
- package/dist/s-file-dropzone-BJBNFC_b.js +134 -0
- package/dist/s-file-icon/index.js +1 -2
- package/dist/s-file-icon/s-file-icon.js +79 -79
- package/dist/s-flex-box/index.js +1 -2
- package/dist/s-flex-box/s-flex-box.js +7 -7
- package/dist/s-form/index.js +0 -1
- package/dist/s-form/s-form.js +11 -11
- package/dist/s-gallery/index.js +1 -2
- package/dist/s-gallery/s-gallery.js +72 -72
- package/dist/s-glow-button/index.js +1 -2
- package/dist/s-glow-button/s-glow-button.js +10 -10
- package/dist/s-gradient-icon/index.js +0 -1
- package/dist/s-gradient-icon/s-gradient-icon.js +46 -46
- package/dist/s-i18n-provider/index.js +0 -1
- package/dist/s-i18n-provider/s-i18n-provider.js +13 -14
- package/dist/s-icon-button/index.js +0 -1
- package/dist/s-icon-button/s-icon-button.js +7 -7
- package/dist/s-image-comparison/index.js +1 -2
- package/dist/s-image-comparison/s-image-comparison.js +56 -56
- package/dist/s-image-modal/index.js +1 -2
- package/dist/s-image-modal/s-image-modal.js +94 -94
- package/dist/s-item-not-found/index.js +0 -1
- package/dist/s-item-not-found/s-item-not-found.js +48 -48
- package/dist/s-label/index.js +2 -3
- package/dist/s-label/s-label.js +2 -3
- package/dist/s-label-Bt4vQGGN.js +30 -0
- package/dist/s-language-switcher/index.js +2 -3
- package/dist/s-language-switcher/s-language-switcher.js +2 -3
- package/dist/{s-language-switcher-DhcrqHJt.js → s-language-switcher-BJP1r1la.js} +53 -53
- package/dist/s-lazy-image/index.js +0 -1
- package/dist/s-lazy-image/s-lazy-image.js +27 -27
- package/dist/s-link/index.js +0 -1
- package/dist/s-link/s-link.js +15 -15
- package/dist/s-localization-provider/index.js +2 -3
- package/dist/s-localization-provider/s-localization-provider.js +2 -3
- package/dist/{s-localization-provider-BpoHpRVl.js → s-localization-provider-CeOR72Ti.js} +9 -9
- package/dist/s-moving-border/index.js +0 -1
- package/dist/s-moving-border/s-moving-border.js +38 -38
- package/dist/s-multi-select/index.js +2 -3
- package/dist/s-multi-select/s-multi-select.js +2 -3
- package/dist/s-multi-select-xKP4heeG.js +64 -0
- package/dist/s-no-ssr/index.js +0 -1
- package/dist/s-no-ssr/s-no-ssr.js +10 -10
- package/dist/s-overlay-scrollbar/index.js +0 -1
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +9 -9
- package/dist/s-pagination/index.js +0 -1
- package/dist/s-pagination/s-pagination.js +17 -17
- package/dist/s-pixel-reveal/index.js +1 -2
- package/dist/s-pixel-reveal/s-pixel-reveal.js +62 -62
- package/dist/s-radial-pulse-animate/index.js +1 -2
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +37 -37
- package/dist/s-rating/index.js +0 -1
- package/dist/s-rating/s-rating.js +6 -6
- package/dist/s-review/index.js +2 -3
- package/dist/s-review/s-review.js +2 -3
- package/dist/s-review-DOBlCEU2.js +241 -0
- package/dist/s-scroll-reveal/index.js +0 -1
- package/dist/s-scroll-reveal/s-scroll-reveal.js +11 -11
- package/dist/s-scroll-to-top/index.js +1 -2
- package/dist/s-scroll-to-top/s-scroll-to-top.js +14 -14
- package/dist/s-scroll-velocity/index.js +0 -1
- package/dist/s-scroll-velocity/s-scroll-velocity.js +6 -6
- package/dist/s-scroll-velocity/scroll-velocity-container.js +8 -8
- package/dist/s-scroll-velocity/scroll-velocity-row.js +22 -22
- package/dist/s-select/index.js +2 -3
- package/dist/s-select/s-select.js +2 -3
- package/dist/s-select-DXbeZ0CG.js +110 -0
- package/dist/s-select-list/index.js +0 -1
- package/dist/s-select-list/s-select-list.js +17 -17
- package/dist/s-skeleton/index.js +0 -1
- package/dist/s-skeleton/s-skeleton.js +16 -16
- package/dist/s-snackbar-message/index.js +0 -1
- package/dist/s-snackbar-message/s-snackbar-message.js +24 -24
- package/dist/s-spotlight-cursor/index.js +0 -1
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +21 -21
- package/dist/s-stripe/index.js +1 -2
- package/dist/s-stripe/s-stripe-cvc.js +8 -9
- package/dist/s-stripe/s-stripe-expiry.js +8 -9
- package/dist/s-stripe/s-stripe-number.js +8 -9
- package/dist/s-stripe/s-stripe.js +10 -10
- package/dist/s-stripe/stripe-input.js +16 -16
- package/dist/s-switch/index.js +0 -1
- package/dist/s-switch/s-switch.js +13 -13
- package/dist/s-tabs/index.js +0 -1
- package/dist/s-tabs/s-tab-panel.js +7 -7
- package/dist/s-tabs/s-tab.js +6 -6
- package/dist/s-tabs/s-tabs.js +24 -24
- package/dist/s-text-editor/index.js +2 -3
- package/dist/s-text-editor/s-text-editor-toolbar.js +2 -3
- package/dist/s-text-editor/s-text-editor.js +24 -24
- package/dist/s-text-editor-toolbar-BDDttdIt.js +177 -0
- package/dist/s-text-field/index.js +2 -3
- package/dist/s-text-field/s-text-field.js +2 -3
- package/dist/s-text-field-ni42E-1x.js +41 -0
- package/dist/s-text-shimmer/index.js +1 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +13 -13
- package/dist/s-text-truncation/index.js +0 -1
- package/dist/s-text-truncation/s-text-truncation.js +42 -42
- package/dist/s-theme-demo/index.js +2 -3
- package/dist/s-theme-demo/s-theme-demo.js +2 -3
- package/dist/{s-theme-demo-ChEG6wog.js → s-theme-demo-B4pz6fse.js} +181 -181
- package/dist/s-theme-provider/index.js +1 -2
- package/dist/s-theme-provider/s-theme-provider.js +16 -16
- package/dist/s-theme-switch/index.js +2 -3
- package/dist/s-theme-switch/s-theme-switch.js +2 -3
- package/dist/s-theme-switch-CCEdponC.js +37 -0
- package/dist/s-tip/index.js +2 -3
- package/dist/s-tip/s-tip.js +2 -3
- package/dist/s-tip-CG51Q6oR.js +34 -0
- package/dist/s-tool-bar/index.js +2 -3
- package/dist/s-tool-bar/s-tool-bar.js +2 -3
- package/dist/s-tool-bar-C2lZhhJm.js +404 -0
- package/dist/s-two-pane-layout/index.js +1 -2
- package/dist/s-two-pane-layout/s-two-pane-layout.js +48 -48
- package/dist/s-typewriter-text/index.js +0 -1
- package/dist/s-typewriter-text/s-typewriter-text.js +21 -21
- package/dist/s-zoom-image/index.js +0 -1
- package/dist/s-zoom-image/s-zoom-image.js +12 -12
- package/dist/select-D9KH9LAz.js +11 -0
- package/dist/{styled-CjUxhIJh.js → styled-Dz7rwAje.js} +2 -2
- package/dist/{svgIconClasses-DOmb6RsS.js → svgIconClasses-CygVMw0E.js} +1 -1
- package/dist/{tabClasses-DoD3-n6K.js → tabClasses-CIRFQ-PB.js} +1 -1
- package/dist/theme/components/accordion-summary.js +2 -2
- package/dist/theme/components/alert.js +2 -2
- package/dist/theme/components/avatar.js +2 -3
- package/dist/theme/components/button.js +2 -2
- package/dist/theme/components/card.js +2 -2
- package/dist/theme/components/checkbox.js +2 -3
- package/dist/theme/components/chip.js +15 -15
- package/dist/theme/components/components.js +6 -7
- package/dist/theme/components/icon-button.js +2 -2
- package/dist/theme/components/linear-progress.js +2 -2
- package/dist/theme/components/link.js +2 -2
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.js +3 -3
- package/dist/theme/components/outlined-input.js +3 -3
- package/dist/theme/components/select.js +2 -3
- package/dist/theme/components/step-icon.js +2 -2
- package/dist/theme/components/tab.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button-group.js +2 -2
- package/dist/theme/components/toggle-button.js +2 -2
- package/dist/theme/theme-primitives.js +2 -2
- package/dist/{theme-primitives-Csxbv-2Y.js → theme-primitives-BG66N-x4.js} +1 -1
- package/dist/{toggle-button-CAcYep44.js → toggle-button-BI6z89CX.js} +2 -2
- package/dist/{toggle-button-group-BCHnFS_B.js → toggle-button-group-Dzzh9mXv.js} +3 -3
- package/dist/{typographyClasses-YJ-sLvHS.js → typographyClasses-C0nDz5e6.js} +1 -1
- package/dist/{useMobilePicker-CVsWEjX5.js → useMobilePicker-DdH0AzNe.js} +1849 -1849
- package/dist/{useTheme-B8aCSYJ4.js → useTheme-BES_k_99.js} +1 -1
- package/dist/{useThemeProps-CeO0wKq2.js → useThemeProps-CJRFdjVv.js} +2 -2
- package/dist/utils/dayjs.js +1 -1
- package/dist/{warning-Bc_24lbr.js → warning-D7iWhOZI.js} +28 -28
- package/package.json +1 -1
- package/dist/ArrowUpward-KYbUu0UZ.js +0 -5
- package/dist/Box-a5uPlxYL.js +0 -47
- package/dist/ChevronLeft-Djq7TyZX.js +0 -5
- package/dist/ChevronRight-BgWjUtu8.js +0 -5
- package/dist/Close-DD2G0QfM.js +0 -5
- package/dist/ContentCopy-D1OlBB-D.js +0 -6
- package/dist/Download-DDt8mUQX.js +0 -5
- package/dist/ExpandMore-3GurpYw-.js +0 -5
- package/dist/Favorite-gVQqn0Cm.js +0 -5
- package/dist/avatar-boNnyODN.js +0 -9
- package/dist/checkbox-CajxsIFH.js +0 -57
- package/dist/chunk-BQCxAhux.js +0 -23
- package/dist/jsx-runtime-V-UOMaX1.js +0 -180
- package/dist/s-carousel-B3VUHzx3.js +0 -2294
- package/dist/s-chat-message-DQk5XWSJ.js +0 -281
- package/dist/s-comment-message-D3XTOm1L.js +0 -195
- package/dist/s-file-dropzone-DYiYlcY8.js +0 -134
- package/dist/s-label-g_Qac9jO.js +0 -30
- package/dist/s-multi-select-CUsIS9dm.js +0 -64
- package/dist/s-review-C1E6ASin.js +0 -241
- package/dist/s-select-CmsTrYmx.js +0 -110
- package/dist/s-text-editor-toolbar-DC-dnSBG.js +0 -177
- package/dist/s-text-field-C2WdBxNO.js +0 -41
- package/dist/s-theme-switch-uXRVJIf_.js +0 -37
- package/dist/s-tip-oiH-79gR.js +0 -34
- package/dist/s-tool-bar-CM-cxOkI.js +0 -404
- package/dist/select-CjaxyZK_.js +0 -11
- /package/dist/{createSimplePaletteValueFilter-1V26n1YK.js → createSimplePaletteValueFilter-dAWZ3p3z.js} +0 -0
- /package/dist/{generateUtilityClasses-i3-S3IQr.js → generateUtilityClasses-BMwEKe3O.js} +0 -0
- /package/dist/{objectWithoutPropertiesLoose-Dn-p_OIo.js → objectWithoutPropertiesLoose-BdL2_POW.js} +0 -0
- /package/dist/{useControlled-DZKvfhNx.js → useControlled-CvWtMQJF.js} +0 -0
- /package/dist/{useEnhancedEffect-C_B_y6Db.js → useEnhancedEffect-NLLl34XR.js} +0 -0
- /package/dist/{useFormControl-y5Pput5X.js → useFormControl-ngLNi8dL.js} +0 -0
- /package/dist/{utils-Cj6R-BZe.js → utils-Cu16ybRR.js} +0 -0
package/dist/s-link/s-link.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { t as e } from "../jsx-runtime-V-UOMaX1.js";
|
|
2
1
|
import "react";
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
3
|
+
import { Link as n, Typography as r } from "@mui/material";
|
|
4
4
|
//#region lib/s-link/s-link.tsx
|
|
5
|
-
var
|
|
6
|
-
variant:
|
|
7
|
-
lineHeight:
|
|
8
|
-
color:
|
|
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
|
+
variant: p,
|
|
7
|
+
lineHeight: m,
|
|
8
|
+
color: d,
|
|
9
9
|
children: [
|
|
10
|
-
|
|
10
|
+
a,
|
|
11
11
|
" ",
|
|
12
|
-
/* @__PURE__ */ (
|
|
13
|
-
href:
|
|
14
|
-
onClick:
|
|
12
|
+
/* @__PURE__ */ e(n, {
|
|
13
|
+
href: c,
|
|
14
|
+
onClick: i,
|
|
15
15
|
sx: {
|
|
16
16
|
cursor: "pointer",
|
|
17
17
|
fontSize: "inherit"
|
|
18
18
|
},
|
|
19
|
-
component:
|
|
20
|
-
target:
|
|
21
|
-
color:
|
|
22
|
-
children:
|
|
19
|
+
component: l,
|
|
20
|
+
target: u,
|
|
21
|
+
color: f,
|
|
22
|
+
children: s
|
|
23
23
|
}),
|
|
24
24
|
" ",
|
|
25
|
-
|
|
25
|
+
o
|
|
26
26
|
]
|
|
27
27
|
});
|
|
28
28
|
i.displayName = "SLink";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "../createTheme-
|
|
2
|
-
import "../
|
|
3
|
-
import { t as e } from "../s-localization-provider-BpoHpRVl.js";
|
|
1
|
+
import "../createTheme-DuS5_nJb.js";
|
|
2
|
+
import { t as e } from "../s-localization-provider-CeOR72Ti.js";
|
|
4
3
|
export { e as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "../createTheme-
|
|
2
|
-
import "../
|
|
3
|
-
import { t as e } from "../s-localization-provider-BpoHpRVl.js";
|
|
1
|
+
import "../createTheme-DuS5_nJb.js";
|
|
2
|
+
import { t as e } from "../s-localization-provider-CeOR72Ti.js";
|
|
4
3
|
export { e as SLocalizationProvider, e as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as r } from "./
|
|
4
|
-
import { n as i, t as a } from "./warning-Bc_24lbr.js";
|
|
1
|
+
import { n as e, t } from "./chunk-efA98nb6.js";
|
|
2
|
+
import { n } from "./objectWithoutPropertiesLoose-BdL2_POW.js";
|
|
3
|
+
import { n as r, t as i } from "./warning-D7iWhOZI.js";
|
|
5
4
|
import "react";
|
|
5
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
6
6
|
import o from "dayjs";
|
|
7
7
|
//#region ../../node_modules/dayjs/plugin/weekOfYear.js
|
|
8
8
|
var s = /* @__PURE__ */ t(((e, t) => {
|
|
@@ -370,7 +370,7 @@ var _ = {
|
|
|
370
370
|
};
|
|
371
371
|
formatTokenMap = _;
|
|
372
372
|
constructor({ locale: e, formats: t } = {}) {
|
|
373
|
-
this.locale = e, this.formats =
|
|
373
|
+
this.locale = e, this.formats = n({}, v, t), o.extend(p.default);
|
|
374
374
|
}
|
|
375
375
|
setLocaleToValue = (e) => {
|
|
376
376
|
let t = this.getCurrentLocaleCode();
|
|
@@ -412,7 +412,7 @@ var _ = {
|
|
|
412
412
|
};
|
|
413
413
|
getLocaleFormats = () => {
|
|
414
414
|
let e = o.Ls, t = e[this.locale || "en"];
|
|
415
|
-
return t === void 0 && (process.env.NODE_ENV !== "production" &&
|
|
415
|
+
return t === void 0 && (process.env.NODE_ENV !== "production" && i([
|
|
416
416
|
"MUI X: Your locale has not been found.",
|
|
417
417
|
"Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale.",
|
|
418
418
|
"Or you forget to import the locale from 'dayjs/locale/{localeUsed}'",
|
|
@@ -528,10 +528,10 @@ var _ = {
|
|
|
528
528
|
for (; this.isBefore(a, r);) i.push(a), a = this.addYears(a, 1);
|
|
529
529
|
return i;
|
|
530
530
|
};
|
|
531
|
-
}, S =
|
|
531
|
+
}, S = ({ children: e }) => /* @__PURE__ */ a(r, {
|
|
532
532
|
dateAdapter: x,
|
|
533
533
|
children: e
|
|
534
534
|
});
|
|
535
|
-
|
|
535
|
+
S.displayName = "SLocalizationProvider";
|
|
536
536
|
//#endregion
|
|
537
|
-
export {
|
|
537
|
+
export { S as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Box as
|
|
4
|
-
import { motion as
|
|
1
|
+
import { useRef as e } from "react";
|
|
2
|
+
import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { Box as i } from "@mui/material";
|
|
4
|
+
import { motion as a, useAnimationFrame as o, useMotionTemplate as s, useMotionValue as c, useTransform as l } from "framer-motion";
|
|
5
5
|
//#region lib/s-moving-border/s-moving-border.tsx
|
|
6
|
-
var
|
|
6
|
+
var u = 250, d = (e, t) => ({
|
|
7
7
|
position: "absolute",
|
|
8
8
|
left: "50%",
|
|
9
9
|
top: "50%",
|
|
@@ -15,17 +15,17 @@ var c = e(), l = 250, u = (e, t) => ({
|
|
|
15
15
|
filter: "blur(12px)",
|
|
16
16
|
pointerEvents: "none"
|
|
17
17
|
});
|
|
18
|
-
function
|
|
19
|
-
let
|
|
20
|
-
|
|
21
|
-
let t =
|
|
18
|
+
function f({ children: i, duration: u, rx: d, ry: f, phase: p = 0 }) {
|
|
19
|
+
let m = e(null), h = c(0);
|
|
20
|
+
o((e) => {
|
|
21
|
+
let t = m.current?.getTotalLength();
|
|
22
22
|
if (t) {
|
|
23
|
-
let
|
|
24
|
-
|
|
23
|
+
let n = t / u;
|
|
24
|
+
h.set((e * n + t * p) % t);
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
let
|
|
28
|
-
return /* @__PURE__ */ (
|
|
27
|
+
let g = s`translateX(${l(h, (e) => m.current?.getPointAtLength(e)?.x)}px) translateY(${l(h, (e) => m.current?.getPointAtLength(e)?.y)}px) translateX(-50%) translateY(-50%)`;
|
|
28
|
+
return /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n("svg", {
|
|
29
29
|
xmlns: "http://www.w3.org/2000/svg",
|
|
30
30
|
preserveAspectRatio: "none",
|
|
31
31
|
width: "100%",
|
|
@@ -34,58 +34,58 @@ function d({ children: e, duration: n, rx: l, ry: u, phase: d = 0 }) {
|
|
|
34
34
|
position: "absolute",
|
|
35
35
|
inset: 0
|
|
36
36
|
},
|
|
37
|
-
children: /* @__PURE__ */ (
|
|
37
|
+
children: /* @__PURE__ */ n("rect", {
|
|
38
38
|
fill: "none",
|
|
39
39
|
width: "100%",
|
|
40
40
|
height: "100%",
|
|
41
|
-
rx:
|
|
42
|
-
ry:
|
|
43
|
-
ref:
|
|
41
|
+
rx: d,
|
|
42
|
+
ry: f,
|
|
43
|
+
ref: m
|
|
44
44
|
})
|
|
45
|
-
}), /* @__PURE__ */ (
|
|
45
|
+
}), /* @__PURE__ */ n(a.div, {
|
|
46
46
|
style: {
|
|
47
47
|
position: "absolute",
|
|
48
48
|
top: 0,
|
|
49
49
|
left: 0,
|
|
50
50
|
display: "inline-block",
|
|
51
|
-
transform:
|
|
51
|
+
transform: g
|
|
52
52
|
},
|
|
53
|
-
children:
|
|
53
|
+
children: i
|
|
54
54
|
})] });
|
|
55
55
|
}
|
|
56
|
-
var
|
|
57
|
-
let
|
|
58
|
-
return /* @__PURE__ */ (
|
|
56
|
+
var p = ({ className: t, duration: a = 6e3, children: o, glowColor: s = "var(--s-palette-primary-main)", glowSize: c = u, ...l }) => {
|
|
57
|
+
let p = e(null);
|
|
58
|
+
return /* @__PURE__ */ r(i, {
|
|
59
59
|
position: "relative",
|
|
60
60
|
overflow: "hidden",
|
|
61
61
|
height: "100%",
|
|
62
62
|
width: "100%",
|
|
63
63
|
padding: .125,
|
|
64
64
|
sx: { backgroundColor: "transparent" },
|
|
65
|
-
className:
|
|
66
|
-
...
|
|
65
|
+
className: t,
|
|
66
|
+
...l,
|
|
67
67
|
children: [
|
|
68
|
-
/* @__PURE__ */ (
|
|
68
|
+
/* @__PURE__ */ r(i, {
|
|
69
69
|
position: "absolute",
|
|
70
70
|
top: 0,
|
|
71
71
|
left: 0,
|
|
72
72
|
right: 0,
|
|
73
73
|
bottom: 0,
|
|
74
|
-
children: [/* @__PURE__ */ (
|
|
75
|
-
duration:
|
|
74
|
+
children: [/* @__PURE__ */ n(f, {
|
|
75
|
+
duration: a,
|
|
76
76
|
rx: "100%",
|
|
77
77
|
ry: "100%",
|
|
78
78
|
phase: 0,
|
|
79
|
-
children: /* @__PURE__ */ (
|
|
80
|
-
}), /* @__PURE__ */ (
|
|
81
|
-
duration:
|
|
79
|
+
children: /* @__PURE__ */ n(i, { sx: d(c, s) })
|
|
80
|
+
}), /* @__PURE__ */ n(f, {
|
|
81
|
+
duration: a,
|
|
82
82
|
rx: "100%",
|
|
83
83
|
ry: "100%",
|
|
84
84
|
phase: .5,
|
|
85
|
-
children: /* @__PURE__ */ (
|
|
85
|
+
children: /* @__PURE__ */ n(i, { sx: d(c, s) })
|
|
86
86
|
})]
|
|
87
87
|
}),
|
|
88
|
-
/* @__PURE__ */ (
|
|
88
|
+
/* @__PURE__ */ n(i, {
|
|
89
89
|
sx: {
|
|
90
90
|
position: "absolute",
|
|
91
91
|
pointerEvents: "none",
|
|
@@ -95,8 +95,8 @@ var f = ({ className: e, duration: r = 6e3, children: i, glowColor: a = "var(--s
|
|
|
95
95
|
height: "100%",
|
|
96
96
|
zIndex: 2
|
|
97
97
|
},
|
|
98
|
-
children: /* @__PURE__ */ (
|
|
99
|
-
ref:
|
|
98
|
+
children: /* @__PURE__ */ n(i, {
|
|
99
|
+
ref: p,
|
|
100
100
|
sx: {
|
|
101
101
|
position: "absolute",
|
|
102
102
|
left: "50%",
|
|
@@ -111,10 +111,10 @@ var f = ({ className: e, duration: r = 6e3, children: i, glowColor: a = "var(--s
|
|
|
111
111
|
}
|
|
112
112
|
})
|
|
113
113
|
}),
|
|
114
|
-
|
|
114
|
+
o
|
|
115
115
|
]
|
|
116
116
|
});
|
|
117
117
|
};
|
|
118
|
-
|
|
118
|
+
p.displayName = "SMovingBorder";
|
|
119
119
|
//#endregion
|
|
120
|
-
export {
|
|
120
|
+
export { p as SMovingBorder, p as default };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "../createTheme-
|
|
2
|
-
import "../
|
|
3
|
-
import { t as e } from "../s-multi-select-CUsIS9dm.js";
|
|
1
|
+
import "../createTheme-DuS5_nJb.js";
|
|
2
|
+
import { t as e } from "../s-multi-select-xKP4heeG.js";
|
|
4
3
|
export { e as SMultiSelect, e as default };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { t as e } from "./Menu-Dhh4e9H1.js";
|
|
2
|
+
import { t } from "./createSvgIcon-KjKEsKNV.js";
|
|
3
|
+
import { SChips as n } from "./s-chips/s-chips.js";
|
|
4
|
+
import { t as r } from "./MenuItem-aaIy8lan.js";
|
|
5
|
+
import { usePopover as i } from "./hooks/use-popover.js";
|
|
6
|
+
import * as a from "react";
|
|
7
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
|
+
import { OutlinedInput as c, Stack as l } from "@mui/material";
|
|
9
|
+
//#region ../../node_modules/@mui/icons-material/esm/UnfoldMore.js
|
|
10
|
+
var u = t(/* @__PURE__ */ o("path", { d: "M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z" }), "UnfoldMore"), d = ({ label: t, onChange: d, options: f, value: p = [], chipProps: m }) => {
|
|
11
|
+
let h = i(), g = a.useRef(null), [_, v] = a.useState(), [y, b] = a.useState(null);
|
|
12
|
+
a.useEffect(() => {
|
|
13
|
+
g.current && v(g.current.offsetWidth);
|
|
14
|
+
}, [h.open]);
|
|
15
|
+
let x = a.useCallback((e, t) => {
|
|
16
|
+
let n = [...p];
|
|
17
|
+
t ? n.push(e) : n = n.filter((t) => t !== e), d?.(n);
|
|
18
|
+
}, [d, p]);
|
|
19
|
+
return /* @__PURE__ */ s(l, {
|
|
20
|
+
direction: "column",
|
|
21
|
+
gap: 1,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ o(c, {
|
|
24
|
+
endAdornment: /* @__PURE__ */ o(u, {
|
|
25
|
+
fontSize: "small",
|
|
26
|
+
sx: {
|
|
27
|
+
color: "action.active",
|
|
28
|
+
position: "absolute",
|
|
29
|
+
right: "7px"
|
|
30
|
+
}
|
|
31
|
+
}),
|
|
32
|
+
onClick: h.handleOpen,
|
|
33
|
+
ref: (e) => {
|
|
34
|
+
b(e), g.current = e;
|
|
35
|
+
},
|
|
36
|
+
value: t,
|
|
37
|
+
sx: { input: { color: "text.secondary" } }
|
|
38
|
+
}),
|
|
39
|
+
/* @__PURE__ */ o(e, {
|
|
40
|
+
anchorEl: y,
|
|
41
|
+
onClose: h.handleClose,
|
|
42
|
+
open: h.open,
|
|
43
|
+
slotProps: { paper: { sx: { width: _ ? `${_}px` : void 0 } } },
|
|
44
|
+
children: f.map((e) => {
|
|
45
|
+
let t = p.includes(e.value);
|
|
46
|
+
return /* @__PURE__ */ o(r, {
|
|
47
|
+
onClick: () => {
|
|
48
|
+
x(e.value, !t);
|
|
49
|
+
},
|
|
50
|
+
selected: t,
|
|
51
|
+
children: e.label
|
|
52
|
+
}, e.label);
|
|
53
|
+
})
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ o(n, {
|
|
56
|
+
chips: f.filter((e) => p.includes(e.value)).map((e) => e.label),
|
|
57
|
+
...m
|
|
58
|
+
})
|
|
59
|
+
]
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
d.displayName = "SMultiSelect";
|
|
63
|
+
//#endregion
|
|
64
|
+
export { d as t };
|
package/dist/s-no-ssr/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as e } from "../
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { t as e } from "../useEnhancedEffect-NLLl34XR.js";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
//#region lib/s-no-ssr/s-no-ssr.tsx
|
|
5
|
-
var r =
|
|
6
|
-
let { children: i, defer: a = !1, fallback: o = null } =
|
|
7
|
-
return
|
|
5
|
+
var r = (r) => {
|
|
6
|
+
let { children: i, defer: a = !1, fallback: o = null } = r, [s, c] = t.useState(!1);
|
|
7
|
+
return e(() => {
|
|
8
8
|
a || c(!0);
|
|
9
|
-
}, [a]),
|
|
9
|
+
}, [a]), t.useEffect(() => {
|
|
10
10
|
a && c(!0);
|
|
11
|
-
}, [a]), /* @__PURE__ */ (
|
|
11
|
+
}, [a]), /* @__PURE__ */ n(t.Fragment, { children: s ? i : o });
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
r.displayName = "SNoSsr";
|
|
14
14
|
//#endregion
|
|
15
|
-
export {
|
|
15
|
+
export { r as SNoSsr, r as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { forwardRef as e } from "react";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import { styled as n } from "@mui/material";
|
|
4
4
|
import { OverlayScrollbarsComponent as r } from "overlayscrollbars-react";
|
|
5
5
|
import '../assets/s-overlay-scrollbar.css';//#region lib/s-overlay-scrollbar/s-overlay-scrollbar.tsx
|
|
6
|
-
var i =
|
|
6
|
+
var i = n(r)(({ theme: e }) => ({
|
|
7
7
|
maxHeight: "100%",
|
|
8
8
|
".os-theme-dark": {
|
|
9
9
|
"--os-size": "10px",
|
|
@@ -16,19 +16,19 @@ var i = e(), a = n(r)(({ theme: e }) => ({
|
|
|
16
16
|
"--os-handle-bg-active": (e.vars ?? e).palette.whiteAlpha.dark
|
|
17
17
|
})
|
|
18
18
|
}
|
|
19
|
-
})),
|
|
20
|
-
id:
|
|
19
|
+
})), a = e(({ sx: e, children: n, className: r, id: a, ...o }, s) => /* @__PURE__ */ t(i, {
|
|
20
|
+
id: a,
|
|
21
21
|
ref: s,
|
|
22
22
|
defer: !0,
|
|
23
23
|
sx: e,
|
|
24
|
-
className:
|
|
24
|
+
className: r,
|
|
25
25
|
options: { scrollbars: {
|
|
26
26
|
autoHide: "leave",
|
|
27
27
|
autoHideDelay: 100
|
|
28
28
|
} },
|
|
29
29
|
...o,
|
|
30
|
-
children:
|
|
30
|
+
children: n
|
|
31
31
|
}));
|
|
32
|
-
|
|
32
|
+
a.displayName = "SOverlayScrollbar";
|
|
33
33
|
//#endregion
|
|
34
|
-
export {
|
|
34
|
+
export { a as SOverlayScrollbar, a as default };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SSkeleton as t } from "../s-skeleton/s-skeleton.js";
|
|
1
|
+
import { SSkeleton as e } from "../s-skeleton/s-skeleton.js";
|
|
3
2
|
import "react";
|
|
4
|
-
import {
|
|
3
|
+
import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import { Box as i, Pagination as a, Stack as o, useMediaQuery as s, useTheme as c } from "@mui/material";
|
|
5
5
|
//#region lib/s-pagination/s-pagination.tsx
|
|
6
|
-
var
|
|
6
|
+
var l = ({ style: t }) => /* @__PURE__ */ r(o, {
|
|
7
7
|
direction: "row",
|
|
8
8
|
flexWrap: "wrap",
|
|
9
9
|
gap: 1,
|
|
10
10
|
justifyContent: "center",
|
|
11
|
-
style:
|
|
11
|
+
style: t,
|
|
12
12
|
children: [
|
|
13
|
-
/* @__PURE__ */ (
|
|
14
|
-
/* @__PURE__ */ (
|
|
13
|
+
/* @__PURE__ */ n(e, { component: "icon-button" }),
|
|
14
|
+
/* @__PURE__ */ n(e, {
|
|
15
15
|
variant: "rounded",
|
|
16
16
|
width: 120
|
|
17
17
|
}),
|
|
18
|
-
/* @__PURE__ */ (
|
|
18
|
+
/* @__PURE__ */ n(e, { component: "icon-button" })
|
|
19
19
|
]
|
|
20
|
-
}),
|
|
21
|
-
let
|
|
22
|
-
return
|
|
20
|
+
}), u = ({ loading: e, count: r = 0, ...o }) => {
|
|
21
|
+
let u = s(c().breakpoints.down("sm"));
|
|
22
|
+
return r === 0 ? /* @__PURE__ */ n(t, {}) : e ? /* @__PURE__ */ n(l, { style: o.style }) : /* @__PURE__ */ n(i, {
|
|
23
23
|
width: "100%",
|
|
24
|
-
children: /* @__PURE__ */ (
|
|
25
|
-
size:
|
|
26
|
-
count:
|
|
27
|
-
...
|
|
24
|
+
children: /* @__PURE__ */ n(a, {
|
|
25
|
+
size: u ? "small" : "medium",
|
|
26
|
+
count: r,
|
|
27
|
+
...o
|
|
28
28
|
})
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
u.displayName = "SPagination";
|
|
32
32
|
//#endregion
|
|
33
|
-
export {
|
|
33
|
+
export { u as SPagination, u as default };
|