@solostylist/ui-kit 2.0.2 → 2.0.4
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/{gradients-mQAYCK0_.js → gradients-DSnBONEQ.js} +1 -1
- package/dist/main.js +1 -1
- package/dist/palettes/index.js +1 -1
- package/dist/{palettes-B1FcGUYs.js → palettes-CJLuEy1m.js} +163 -163
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +70 -2
- package/dist/s-action-overlay/s-action-overlay.js +21 -21
- package/dist/s-animated-gradient-text/s-animated-gradient-text.js +18 -19
- package/dist/s-announcement-bar/s-announcement-bar.js +50 -53
- package/dist/s-autocomplete/s-autocomplete.js +1 -1
- package/dist/s-avatar/s-avatar.js +17 -17
- package/dist/s-blur-text/s-blur-text.js +16 -16
- package/dist/s-brand-logo/index.js +1 -1
- package/dist/s-brand-logo/s-brand-logo.js +1 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +186 -2
- package/dist/s-category-card/s-category-card.js +22 -22
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +398 -2
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +314 -2
- package/dist/s-checkbox/s-checkbox.js +18 -19
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +174 -2
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +103 -2
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +189 -2
- package/dist/s-copyable-text/s-copyable-text.js +18 -18
- package/dist/s-countdown/s-count-box.js +18 -18
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +213 -2
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +106 -2
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +108 -2
- package/dist/s-dialog/index.js +1 -1
- package/dist/s-dialog/s-dialog.js +80 -2
- package/dist/s-dialog-confirm/s-dialog-confirm.js +32 -33
- package/dist/s-dialog-message/s-dialog-message.js +31 -32
- package/dist/s-drawer/index.js +1 -1
- package/dist/s-drawer/s-drawer.js +139 -2
- package/dist/s-empty/s-empty.js +13 -14
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +219 -2
- package/dist/s-file-icon/s-file-icon.js +87 -88
- package/dist/s-flex-box/s-flex-box.js +11 -12
- package/dist/s-form/s-form.js +15 -15
- package/dist/s-gallery/s-gallery.js +1 -1
- package/dist/s-glow-button/s-glow-button.js +9 -10
- package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +23 -24
- package/dist/s-icon-button/s-icon-button.js +13 -14
- package/dist/s-image-comparison/s-image-comparison.js +29 -31
- package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
- package/dist/s-image-viewer/index.js +3 -3
- package/dist/s-image-viewer/s-image-viewer.js +266 -2
- package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
- package/dist/s-interactive-card/s-interactive-card.js +39 -41
- package/dist/s-label/s-label.js +25 -26
- package/dist/s-language-switcher/index.js +2 -2
- package/dist/s-language-switcher/s-language-switcher.js +145 -2
- package/dist/s-lazy-image/s-lazy-image.js +17 -18
- package/dist/s-link/index.js +1 -1
- package/dist/s-link/s-link.js +5 -2
- package/dist/s-list-action-item/s-list-action-item.js +38 -39
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +12 -2
- package/dist/s-mega-menu/mega-menu-panel.js +132 -134
- package/dist/s-mega-menu/mega-menu-trigger.js +49 -2
- package/dist/s-mega-menu/s-mega-menu.js +80 -83
- package/dist/s-mobile-dock/index.js +1 -1
- package/dist/s-mobile-dock/s-mobile-dock.js +145 -2
- package/dist/s-nav-item/s-nav-item.js +19 -20
- package/dist/s-nav-items/s-nav-items.js +51 -52
- package/dist/s-no-ssr/index.js +1 -1
- package/dist/s-no-ssr/s-no-ssr.js +5 -2
- package/dist/s-number-range/index.js +1 -1
- package/dist/s-number-range/s-number-range.js +250 -2
- package/dist/s-pagination/index.js +1 -1
- package/dist/s-pagination/s-pagination.js +85 -2
- package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
- package/dist/s-popover/s-popover-content.js +11 -12
- package/dist/s-popover/s-popover.js +22 -24
- package/dist/s-product-card/s-product-card.js +177 -180
- package/dist/s-product-gallery/index.js +1 -1
- package/dist/s-product-gallery/s-product-gallery.js +427 -2
- package/dist/s-quantity-input/s-quantity-input.js +24 -24
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +272 -2
- package/dist/s-scroll-reveal/s-scroll-reveal.js +7 -8
- package/dist/s-scroll-to-top/s-scroll-to-top.js +27 -28
- package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
- package/dist/s-segmented-control/s-segmented-control.js +64 -68
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +201 -2
- package/dist/s-select-list/s-select-list.js +47 -50
- package/dist/s-skeleton/s-skeleton.js +12 -13
- package/dist/s-snackbar-message/index.js +2 -2
- package/dist/s-snackbar-message/s-snackbar-message.js +89 -2
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
- package/dist/s-status-illustration/s-status-illustration.js +74 -74
- package/dist/s-stepper/index.js +1 -1
- package/dist/s-stepper/s-stepper.js +102 -2
- package/dist/s-stripe/s-stripe.js +11 -12
- package/dist/s-stripe/stripe-input.js +3 -2
- package/dist/s-swatch/s-swatch.js +34 -35
- package/dist/s-switch/index.js +1 -1
- package/dist/s-switch/s-switch.js +48 -2
- package/dist/s-tabs/s-tabs.js +48 -50
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +213 -2
- package/dist/s-text-editor/s-text-editor.js +25 -26
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +52 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +1 -3
- package/dist/s-text-truncation/s-text-truncation.js +20 -20
- package/dist/s-theme-demo/s-theme-demo.js +8 -8
- package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-components-section.js +265 -2
- package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
- 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 +60 -2
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +61 -2
- package/dist/s-tool-bar/s-tool-bar.js +28 -28
- package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
- package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
- package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
- package/dist/s-tool-item/s-tool-item.js +22 -22
- package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
- package/dist/s-zoom-image/s-zoom-image.js +18 -19
- package/dist/theme/components/autocomplete.js +43 -2
- package/dist/theme/components/avatar.js +9 -2
- package/dist/theme/components/card.js +3 -3
- package/dist/theme/components/checkbox.js +90 -2
- package/dist/theme/components/chip.js +3 -3
- package/dist/theme/components/components.js +20 -20
- package/dist/theme/components/date-calendar.js +1 -0
- package/dist/theme/components/day-calendar.js +1 -0
- package/dist/theme/components/drawer.js +1 -1
- package/dist/theme/components/field-label-styles.js +19 -2
- package/dist/theme/components/form-label.js +1 -1
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.js +7 -7
- package/dist/theme/components/month-calendar.js +14 -13
- package/dist/theme/components/multi-section-digital-clock-section.js +1 -0
- package/dist/theme/components/outlined-input.js +6 -6
- package/dist/theme/components/picker-day.js +1 -0
- package/dist/theme/components/pickers-arrow-switcher.js +1 -0
- package/dist/theme/components/pickers-calendar-header.js +3 -2
- package/dist/theme/components/select.js +6 -6
- package/dist/theme/components/switch.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button.js +93 -2
- package/dist/theme/components/year-calendar.js +14 -13
- package/dist/theme/theme-primitives.js +2 -2
- package/dist/{theme-primitives-CXtaMdVj.js → theme-primitives-CRfnMsNy.js} +108 -109
- package/dist/utils/dayjs.js +9 -146
- package/package.json +8 -3
- package/dist/Add-CEnTWsXs.js +0 -6
- package/dist/ArrowUpward-udL1ltj2.js +0 -6
- package/dist/Box-9oeZgA1U.js +0 -46
- package/dist/Button-DaLr1m20.js +0 -534
- package/dist/ButtonBase-DovDC6-1.js +0 -700
- package/dist/Checkbox-C-Xjbzzh.js +0 -152
- package/dist/ChevronRight-DsPfsFKB.js +0 -6
- package/dist/Close-CIYOM-Sc.js +0 -6
- package/dist/Collapse-DPUr1cbP.js +0 -266
- package/dist/ContentCopy-Hlh3azVb.js +0 -6
- package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
- package/dist/DialogContent-b3xbJVC6.js +0 -450
- package/dist/Download-D9PkFi7a.js +0 -6
- package/dist/ExpandMore-sOgvEha9.js +0 -6
- package/dist/Favorite-BP343hjM.js +0 -6
- package/dist/FavoriteBorder-D15j9xEL.js +0 -6
- package/dist/FormControl-DwMfZCiz.js +0 -215
- package/dist/FormControlLabel-Ihga1FTB.js +0 -173
- package/dist/Grow-BQR7x52V.js +0 -121
- package/dist/IconButton-CE-4GamO.js +0 -448
- package/dist/InfoOutlined-lpvhO6P8.js +0 -6
- package/dist/List-RNcZhRdr.js +0 -105
- package/dist/Menu-CnyB4SDS.js +0 -180
- package/dist/MenuItem-Ck30dBOR.js +0 -224
- package/dist/MenuList-Cc98uWXq.js +0 -160
- package/dist/Modal-CD2EBfU8.js +0 -702
- package/dist/Paper-_3qggtBp.js +0 -115
- package/dist/Popover-BFdKSYI5.js +0 -340
- package/dist/Popper-DYNAMSDd.js +0 -1351
- package/dist/Portal-i_wgIe9-.js +0 -49
- package/dist/Remove-DDEn8ek8.js +0 -6
- package/dist/RtlProvider-B7uVJXUY.js +0 -19
- package/dist/Skeleton-iZFynl7z.js +0 -220
- package/dist/Stack-C0LGzM4c.js +0 -158
- package/dist/SwitchBase-CjWtDdmE.js +0 -198
- package/dist/Tooltip-B1sn94L0.js +0 -448
- package/dist/Typography-_P0svrkO.js +0 -168
- package/dist/UnfoldMoreRounded-CuCrdxoy.js +0 -6
- package/dist/appendOwnerState-CFQTq3pb.js +0 -17
- package/dist/assets/stripe-input.css +0 -1
- package/dist/autocomplete-BgARERpp.js +0 -43
- package/dist/avatar-XNOdbbRz.js +0 -10
- package/dist/buttonBaseClasses-B90LjsNK.js +0 -13
- package/dist/capitalize-C0baBJCm.js +0 -5
- package/dist/chainPropTypes-CkMRtDjQ.js +0 -8
- package/dist/checkbox-D1U_JKqs.js +0 -88
- package/dist/checkboxClasses-B1up2lUn.js +0 -18
- package/dist/chunk-C_CI6nMA.js +0 -13
- package/dist/clsx-DGZSe4Nt.js +0 -16
- package/dist/colorManipulator-DmUjcif3.js +0 -129
- package/dist/contains-DnqPQsQU.js +0 -16
- package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +0 -14
- package/dist/createSvgIcon-3y-gS0r1.js +0 -155
- package/dist/createTheme-xB2Em0Na.js +0 -1869
- package/dist/defaultTheme-BaGcIzCh.js +0 -210
- package/dist/elementAcceptingRef-pKEY6jPR.js +0 -25
- package/dist/elementTypeAcceptingRef-xl_04Y5-.js +0 -19
- package/dist/exactProp-C_IsucXf.js +0 -13
- package/dist/extends-DXMyyJCW.js +0 -12
- package/dist/field-label-styles-4praXMaE.js +0 -50
- package/dist/formLabelClasses-AuZHWfTs.js +0 -18
- package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
- package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
- package/dist/getActiveElement-BfBkhgy6.js +0 -8
- package/dist/iconButtonClasses-CVVRFXRo.js +0 -27
- package/dist/inputAdornmentClasses-BbB8s-Z4.js +0 -19
- package/dist/inputBaseClasses-Ce_jjdp9.js +0 -25
- package/dist/integerPropType-CCkQD1JY.js +0 -27
- package/dist/isEventHandler-QShLXBxE.js +0 -7
- package/dist/isFocusVisible-4OIE8TST.js +0 -11
- package/dist/isLayoutSupported-Btg2X3QE.js +0 -6
- package/dist/isMuiElement-CPjhi284.js +0 -10
- package/dist/mega-menu-trigger-BcOo8I5_.js +0 -53
- package/dist/memoTheme-qFyKAk7y.js +0 -15
- package/dist/mergeSlotProps-DC8r4QzS.js +0 -45
- package/dist/monthCalendarClasses-b964KRbc.js +0 -14
- package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +0 -12
- package/dist/outlinedInputClasses-ci1zDasn.js +0 -17
- package/dist/ownerDocument-CJjQZweZ.js +0 -6
- package/dist/ownerDocument-pYjJiXem.js +0 -5
- package/dist/ownerWindow-SSeeoqPT.js +0 -18
- package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +0 -12
- package/dist/prop-types-BzYPyWN7.js +0 -516
- package/dist/refType-j5S9pc_e.js +0 -6
- package/dist/resolveProps-7jIA45vn.js +0 -30
- package/dist/s-accordion-1oLxQhod.js +0 -487
- package/dist/s-carousel-CAyAl3ka.js +0 -1355
- package/dist/s-chat-input-T3gyan60.js +0 -419
- package/dist/s-chat-message-NFTpNgt5.js +0 -315
- package/dist/s-chips-Dqq1fgz-.js +0 -176
- package/dist/s-code-block-DyDtctGG.js +0 -658
- package/dist/s-comment-message-DpCVBKiE.js +0 -192
- package/dist/s-data-table-D4V58HFR.js +0 -805
- package/dist/s-date-picker-BFIQOA8C.js +0 -657
- package/dist/s-datetime-picker-zfg7BEOW.js +0 -3886
- package/dist/s-dialog-BNlXsVVP.js +0 -123
- package/dist/s-drawer-4h5ZyoM8.js +0 -562
- package/dist/s-file-dropzone-Cfzv1Cm8.js +0 -422
- package/dist/s-image-viewer-CjK67-rs.js +0 -269
- package/dist/s-language-switcher-PaMgHWc2.js +0 -246
- package/dist/s-link-Db1aabHh.js +0 -235
- package/dist/s-localization-provider-CeyB_SGz.js +0 -519
- package/dist/s-mobile-dock-8F3UWAb8.js +0 -615
- package/dist/s-no-ssr-DH57_uP_.js +0 -25
- package/dist/s-number-range-Low5QjuD.js +0 -253
- package/dist/s-pagination-s46hBifh.js +0 -606
- package/dist/s-product-gallery-Dj9eGg5i.js +0 -430
- package/dist/s-review--Q2C0ngO.js +0 -272
- package/dist/s-select-CtVKEOZ5.js +0 -204
- package/dist/s-snackbar-message-DsfJlDYd.js +0 -810
- package/dist/s-stepper-BtODHVro.js +0 -892
- package/dist/s-switch-BCeBoxWf.js +0 -307
- package/dist/s-text-editor-toolbar-D5eQ-jCs.js +0 -2124
- package/dist/s-text-field-HYyDf1Jo.js +0 -51
- package/dist/s-theme-switch-BFWpADh3.js +0 -60
- package/dist/s-tip-jbL7vtoU.js +0 -62
- package/dist/selectClasses-CPxME5jE.js +0 -22
- package/dist/setRef-BWPyWnrr.js +0 -6
- package/dist/styled-Bog8QCl3.js +0 -163
- package/dist/svgIconClasses-1kWGzgux.js +0 -20
- package/dist/switchClasses-BtweO7PC.js +0 -23
- package/dist/theme-demo-components-section-C7l_2KAo.js +0 -267
- package/dist/toggle-button-BsGb-tOr.js +0 -104
- package/dist/tool-bar-action-buttons-v1koaasr.js +0 -54
- package/dist/tool-bar-image-input-DtXTyEe1.js +0 -148
- package/dist/typographyClasses-BH_-zLwg.js +0 -31
- package/dist/unsupportedProp-whMV_uOi.js +0 -11
- package/dist/useControlled-DqNPBJNp.js +0 -5
- package/dist/useControlled-uxVKygk1.js +0 -29
- package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
- package/dist/useEnhancedEffect-dBFfkm1e.js +0 -5
- package/dist/useEventCallback-DGCsaRIu.js +0 -5
- package/dist/useEventCallback-DhCPBxRG.js +0 -11
- package/dist/useForkRef-BuNFTXxE.js +0 -29
- package/dist/useFormControl-gXwNeUM1.js +0 -18
- package/dist/useMobilePicker-CdrT935R.js +0 -7584
- package/dist/useRovingTabIndex-DPlW997R.js +0 -242
- package/dist/useSlot-BG8ReOxN.js +0 -83
- package/dist/useSlotProps-BOO3qaI9.js +0 -16
- package/dist/useTheme-BIWMbX3i.js +0 -9
- package/dist/useThemeProps-Dw9dmKyT.js +0 -29
- package/dist/useTimeout-CoK-Khfm.js +0 -49
- package/dist/utils-Bfqbev5I.js +0 -248
- package/dist/warning-D5YhCbje.js +0 -99
- package/dist/yearCalendarClasses-D9k_KT38.js +0 -14
- /package/dist/{colors-Bik9qOU9.js → colors-CNjL5fhq.js} +0 -0
- /package/dist/{s-brand-logo-D7Jovf5K.js → s-brand-logo-CErW9Slg.js} +0 -0
- /package/dist/{utils-DOY6v6ln.js → utils-CMeAWSRO.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SAccordion as e } from "./s-accordion.js";
|
|
2
2
|
export { e as SAccordion, e as default };
|
|
@@ -1,2 +1,70 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
+
import { styled as t, useThemeProps as n } from "@mui/material/styles";
|
|
3
|
+
import * as r from "react";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
import o from "@mui/icons-material/ExpandMore";
|
|
6
|
+
import s from "@mui/material/Typography";
|
|
7
|
+
import { useControlled as c } from "@mui/material/utils";
|
|
8
|
+
import l from "@mui/utils/appendOwnerState";
|
|
9
|
+
import u from "@mui/material/Stack";
|
|
10
|
+
import d from "@mui/material/Accordion";
|
|
11
|
+
import f from "@mui/material/AccordionDetails";
|
|
12
|
+
import p from "@mui/material/AccordionSummary";
|
|
13
|
+
//#region lib/s-accordion/s-accordion.tsx
|
|
14
|
+
var m = t(d, {
|
|
15
|
+
name: "SAccordion",
|
|
16
|
+
slot: "Root"
|
|
17
|
+
})({});
|
|
18
|
+
function h(e, t) {
|
|
19
|
+
return typeof e == "function" ? e(t) : e;
|
|
20
|
+
}
|
|
21
|
+
var g = r.forwardRef(function(t, r) {
|
|
22
|
+
let d = n({
|
|
23
|
+
props: t,
|
|
24
|
+
name: "SAccordion"
|
|
25
|
+
}), { children: g, defaultExpanded: _ = !1, disabled: v = !1, expandIcon: y = /* @__PURE__ */ i(o, {}), expanded: b, onChange: x, slotProps: S, slots: C, startIcon: w, title: T, ...E } = d, [D, O] = c({
|
|
26
|
+
controlled: b,
|
|
27
|
+
default: _,
|
|
28
|
+
name: "SAccordion",
|
|
29
|
+
state: "expanded"
|
|
30
|
+
}), k = {
|
|
31
|
+
...d,
|
|
32
|
+
disabled: v,
|
|
33
|
+
expanded: D
|
|
34
|
+
}, { details: A = f, summary: j = p, summaryContent: M = u, title: N = s, ...P } = C ?? {}, { details: F, summary: I, summaryContent: L, title: R, ...z } = S ?? {}, B = l(C?.summary, h(I, k) ?? {}, k), V = l(C?.summaryContent, h(L, k) ?? {}, k), H = l(C?.title, h(R, k) ?? {}, k), U = l(C?.details, h(F, k) ?? {}, k), { sx: W, ...G } = V, { sx: K, ...q } = H;
|
|
35
|
+
return /* @__PURE__ */ a(m, {
|
|
36
|
+
elevation: 0,
|
|
37
|
+
...E,
|
|
38
|
+
disabled: v,
|
|
39
|
+
expanded: D,
|
|
40
|
+
onChange: (e, t) => {
|
|
41
|
+
O(t), x?.(e, t);
|
|
42
|
+
},
|
|
43
|
+
ownerState: k,
|
|
44
|
+
ref: r,
|
|
45
|
+
slots: P,
|
|
46
|
+
slotProps: z,
|
|
47
|
+
children: [T != null || w ? /* @__PURE__ */ i(j, {
|
|
48
|
+
expandIcon: y,
|
|
49
|
+
...B,
|
|
50
|
+
children: /* @__PURE__ */ a(M, {
|
|
51
|
+
direction: "row",
|
|
52
|
+
spacing: 1,
|
|
53
|
+
...G,
|
|
54
|
+
sx: [{ alignItems: "center" }, ...e(W)],
|
|
55
|
+
children: [w, /* @__PURE__ */ i(N, {
|
|
56
|
+
variant: "subtitle1",
|
|
57
|
+
...q,
|
|
58
|
+
sx: [{ fontWeight: 600 }, ...e(K)],
|
|
59
|
+
children: T
|
|
60
|
+
})]
|
|
61
|
+
})
|
|
62
|
+
}) : null, /* @__PURE__ */ i(A, {
|
|
63
|
+
...U,
|
|
64
|
+
children: g
|
|
65
|
+
})]
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
g.displayName = "SAccordion";
|
|
69
|
+
//#endregion
|
|
70
|
+
export { g as SAccordion, g as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
-
import { t } from "../
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
2
|
+
import { SIconButton as t } from "../s-icon-button/s-icon-button.js";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
import { Box as a, Grid as o, styled as s, useThemeProps as c } from "@mui/material";
|
|
6
|
+
import l from "@mui/utils/appendOwnerState";
|
|
7
7
|
//#region lib/s-action-overlay/s-action-overlay.tsx
|
|
8
|
-
var u = 40, d = 16, f =
|
|
8
|
+
var u = 40, d = 16, f = s(a, {
|
|
9
9
|
name: "SActionOverlay",
|
|
10
10
|
slot: "Root"
|
|
11
11
|
})({});
|
|
@@ -19,18 +19,18 @@ function m(e) {
|
|
|
19
19
|
justifyContent: t
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
var h =
|
|
23
|
-
let g =
|
|
24
|
-
props:
|
|
22
|
+
var h = n.forwardRef(function(s, h) {
|
|
23
|
+
let g = c({
|
|
24
|
+
props: s,
|
|
25
25
|
name: "SActionOverlay"
|
|
26
|
-
}), { "aria-label": _, actions: v, backdropColor: y = "background.paper", backdropOpacity: b = .9, borderRadius: x = 0, blurAmount: S = 10, children: C, columns: w = 3, maxWidth: T, onBlur: E, onFocus: D, onMouseEnter: O, onMouseLeave: k, onVisibilityChange: A, position: j = "center", showOnHover: M = !0, slotProps: N, slots: P, sx: F, tabIndex: I, visible: L, ...R } = g, [z, B] =
|
|
26
|
+
}), { "aria-label": _, actions: v, backdropColor: y = "background.paper", backdropOpacity: b = .9, borderRadius: x = 0, blurAmount: S = 10, children: C, columns: w = 3, maxWidth: T, onBlur: E, onFocus: D, onMouseEnter: O, onMouseLeave: k, onVisibilityChange: A, position: j = "center", showOnHover: M = !0, slotProps: N, slots: P, sx: F, tabIndex: I, visible: L, ...R } = g, [z, B] = n.useState(!1), V = L ?? z, H = {
|
|
27
27
|
...g,
|
|
28
28
|
position: j,
|
|
29
29
|
visible: V
|
|
30
|
-
}, U = P?.overlay ??
|
|
30
|
+
}, U = P?.overlay ?? a, W = P?.actions ?? o, G = l(P?.overlay, p(N?.overlay, H) ?? {}, H), K = l(P?.actions, p(N?.actions, H) ?? {}, H), { sx: q, ...J } = G, { sx: Y, ...X } = K, Z = m(j), Q = w > 0 ? w * u + (w - 1) * d + w * 16 : void 0, $ = (e, t) => {
|
|
31
31
|
M && (L === void 0 && B(t), A?.(e, t));
|
|
32
32
|
};
|
|
33
|
-
return /* @__PURE__ */
|
|
33
|
+
return /* @__PURE__ */ i(f, {
|
|
34
34
|
...R,
|
|
35
35
|
"aria-label": _ ?? (M ? "Show actions" : void 0),
|
|
36
36
|
onBlur: (e) => {
|
|
@@ -52,7 +52,7 @@ var h = r.forwardRef(function(c, h) {
|
|
|
52
52
|
display: "inline-flex",
|
|
53
53
|
position: "relative"
|
|
54
54
|
}, ...e(F)],
|
|
55
|
-
children: [C, V ? /* @__PURE__ */
|
|
55
|
+
children: [C, V ? /* @__PURE__ */ r(U, {
|
|
56
56
|
...J,
|
|
57
57
|
sx: [{
|
|
58
58
|
...Z,
|
|
@@ -66,7 +66,7 @@ var h = r.forwardRef(function(c, h) {
|
|
|
66
66
|
transform: "translateZ(0)",
|
|
67
67
|
transition: "opacity 200ms ease-in-out"
|
|
68
68
|
}, ...e(q)],
|
|
69
|
-
children: /* @__PURE__ */
|
|
69
|
+
children: /* @__PURE__ */ r(W, {
|
|
70
70
|
container: !0,
|
|
71
71
|
spacing: 2,
|
|
72
72
|
...X,
|
|
@@ -74,16 +74,16 @@ var h = r.forwardRef(function(c, h) {
|
|
|
74
74
|
justifyContent: Z.justifyContent,
|
|
75
75
|
maxWidth: T ?? Q
|
|
76
76
|
}, ...e(Y)],
|
|
77
|
-
children: v.map(({ icon:
|
|
77
|
+
children: v.map(({ icon: n, label: i, selected: a, sx: s, ...c }, l) => /* @__PURE__ */ r(o, {
|
|
78
78
|
sx: {
|
|
79
79
|
display: "flex",
|
|
80
80
|
justifyContent: "center"
|
|
81
81
|
},
|
|
82
|
-
children: /* @__PURE__ */
|
|
82
|
+
children: /* @__PURE__ */ r(t, {
|
|
83
83
|
...c,
|
|
84
|
-
"aria-label":
|
|
84
|
+
"aria-label": i,
|
|
85
85
|
"aria-pressed": a,
|
|
86
|
-
tooltip:
|
|
86
|
+
tooltip: i,
|
|
87
87
|
slotProps: { tooltip: { placement: "top" } },
|
|
88
88
|
sx: [{
|
|
89
89
|
bgcolor: a ? "primary.main" : void 0,
|
|
@@ -99,10 +99,10 @@ var h = r.forwardRef(function(c, h) {
|
|
|
99
99
|
bgcolor: a ? "primary.main" : void 0,
|
|
100
100
|
color: a ? "primary.contrastText" : void 0
|
|
101
101
|
}
|
|
102
|
-
}, ...e(
|
|
103
|
-
children:
|
|
102
|
+
}, ...e(s)],
|
|
103
|
+
children: n
|
|
104
104
|
})
|
|
105
|
-
}, `${
|
|
105
|
+
}, `${i}-${l}`))
|
|
106
106
|
})
|
|
107
107
|
}) : null]
|
|
108
108
|
});
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { resolveOwnerStateSlotProps as e } from "../utils/slots.js";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { Typography as o, keyframes as s, styled as c, useThemeProps as l } from "@mui/material";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import { Typography as r, keyframes as i, styled as a, useThemeProps as o } from "@mui/material";
|
|
5
|
+
import { mergeSlotProps as s, useForkRef as c } from "@mui/material/utils";
|
|
6
|
+
import l from "@mui/utils/appendOwnerState";
|
|
8
7
|
//#region lib/s-animated-gradient-text/s-animated-gradient-text.tsx
|
|
9
|
-
var u =
|
|
8
|
+
var u = i`
|
|
10
9
|
from { background-position: 0% 50%; }
|
|
11
10
|
to { background-position: 100% 50%; }
|
|
12
|
-
`, d =
|
|
11
|
+
`, d = i`
|
|
13
12
|
from { background-position: 50% 0%; }
|
|
14
13
|
to { background-position: 50% 100%; }
|
|
15
14
|
`, f = {
|
|
16
15
|
diagonal: {
|
|
17
16
|
angle: "to bottom right",
|
|
18
17
|
backgroundSize: "300% 300%",
|
|
19
|
-
keyframe:
|
|
18
|
+
keyframe: i`
|
|
20
19
|
from { background-position: 0% 0%; }
|
|
21
20
|
to { background-position: 100% 100%; }
|
|
22
21
|
`
|
|
@@ -44,7 +43,7 @@ var u = s`
|
|
|
44
43
|
backgroundPosition: "center"
|
|
45
44
|
}
|
|
46
45
|
};
|
|
47
|
-
}, h =
|
|
46
|
+
}, h = a(r, {
|
|
48
47
|
name: "SAnimatedGradientText",
|
|
49
48
|
slot: "Root",
|
|
50
49
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -68,26 +67,26 @@ var u = s`
|
|
|
68
67
|
style: { "@media (hover: hover) and (pointer: fine)": { "&:hover": { animationPlayState: "paused" } } }
|
|
69
68
|
}]
|
|
70
69
|
}));
|
|
71
|
-
function g(
|
|
72
|
-
let
|
|
73
|
-
props:
|
|
70
|
+
function g(t, r) {
|
|
71
|
+
let i = o({
|
|
72
|
+
props: t,
|
|
74
73
|
name: "SAnimatedGradientText"
|
|
75
|
-
}), { alternate:
|
|
76
|
-
...
|
|
77
|
-
alternate:
|
|
74
|
+
}), { alternate: a = !0, animationDuration: u = 8e3, children: d, colors: f, direction: p = "horizontal", pauseOnHover: m = !1, paused: g = !1, slotProps: _, slots: v, ...y } = i, b = {
|
|
75
|
+
...i,
|
|
76
|
+
alternate: a,
|
|
78
77
|
animationDuration: u,
|
|
79
78
|
colors: f,
|
|
80
79
|
direction: p,
|
|
81
80
|
pauseOnHover: m,
|
|
82
81
|
paused: g
|
|
83
|
-
}, x = v?.root ?? h, { ref: S, ...C } =
|
|
84
|
-
return /* @__PURE__ */
|
|
82
|
+
}, x = v?.root ?? h, { ref: S, ...C } = l(x, s(e(_?.root, b), y), b), w = c(S, r);
|
|
83
|
+
return /* @__PURE__ */ n(x, {
|
|
85
84
|
...C,
|
|
86
85
|
ref: w,
|
|
87
86
|
children: d
|
|
88
87
|
});
|
|
89
88
|
}
|
|
90
|
-
var _ =
|
|
89
|
+
var _ = t.forwardRef(g);
|
|
91
90
|
_.displayName = "SAnimatedGradientText";
|
|
92
91
|
//#endregion
|
|
93
92
|
export { _ as SAnimatedGradientText, _ as default };
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
import { toSxArray as e } from "../utils/sx.js";
|
|
2
2
|
import { resolveOwnerStateSlotProps as t } from "../utils/slots.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as u from "react";
|
|
14
|
-
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
15
|
-
import { Box as m, Container as h, Typography as g, keyframes as _, styled as v, useThemeProps as y } from "@mui/material";
|
|
3
|
+
import { SIconButton as n } from "../s-icon-button/s-icon-button.js";
|
|
4
|
+
import { SChip as r } from "../s-chip/s-chip.js";
|
|
5
|
+
import * as i from "react";
|
|
6
|
+
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
|
+
import { Box as c, Container as l, Typography as u, keyframes as d, styled as f, useThemeProps as p } from "@mui/material";
|
|
8
|
+
import { mergeSlotProps as m, useControlled as h, useEventCallback as g, useForkRef as _ } from "@mui/material/utils";
|
|
9
|
+
import v from "@mui/utils/appendOwnerState";
|
|
10
|
+
import ee from "@mui/icons-material/Close";
|
|
11
|
+
import te from "@mui/icons-material/Add";
|
|
12
|
+
import y from "@mui/icons-material/Remove";
|
|
16
13
|
//#region lib/s-announcement-bar/s-announcement-bar.tsx
|
|
17
|
-
var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) saturate(105%)", C = "scale(1.14)", w = "blur(8px) saturate(115%)", T = "100% 100%, 220% 220%", E = "115deg", D = .34, O = "--SAnnouncementBar-scrimOpacity", k = .62, A =
|
|
14
|
+
var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) saturate(105%)", C = "scale(1.14)", w = "blur(8px) saturate(115%)", T = "100% 100%, 220% 220%", E = "115deg", D = .34, O = "--SAnnouncementBar-scrimOpacity", k = .62, A = d`
|
|
18
15
|
0% { background-position: 0 0, 0% 50%; }
|
|
19
16
|
50% { background-position: 0 0, 100% 50%; }
|
|
20
17
|
100% { background-position: 0 0, 0% 50%; }
|
|
21
|
-
`, j =
|
|
18
|
+
`, j = d`
|
|
22
19
|
0%, 28% { opacity: 0; }
|
|
23
20
|
33%, 61% { opacity: 0.36; }
|
|
24
21
|
66%, 100% { opacity: 0; }
|
|
25
|
-
`, M =
|
|
22
|
+
`, M = d`
|
|
26
23
|
0%, 61% { opacity: 0; }
|
|
27
24
|
66%, 94% { opacity: 0.28; }
|
|
28
25
|
100% { opacity: 0; }
|
|
@@ -48,7 +45,7 @@ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) s
|
|
|
48
45
|
animation: "none",
|
|
49
46
|
opacity: .3
|
|
50
47
|
}
|
|
51
|
-
}), ne =
|
|
48
|
+
}), ne = f(c, {
|
|
52
49
|
name: "SAnnouncementBar",
|
|
53
50
|
slot: "Root",
|
|
54
51
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -93,7 +90,7 @@ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) s
|
|
|
93
90
|
}
|
|
94
91
|
]
|
|
95
92
|
};
|
|
96
|
-
}), re =
|
|
93
|
+
}), re = f(c, {
|
|
97
94
|
name: "SAnnouncementBar",
|
|
98
95
|
slot: "GlowStart",
|
|
99
96
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -103,7 +100,7 @@ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) s
|
|
|
103
100
|
...I(t, e, j),
|
|
104
101
|
backgroundImage: `radial-gradient(circle at 18% 50%, ${n[n.length - 1]} 0%, ${n[Math.max(n.length - 2, 0)]} 36%, transparent 70%)`
|
|
105
102
|
};
|
|
106
|
-
}), ie =
|
|
103
|
+
}), ie = f(c, {
|
|
107
104
|
name: "SAnnouncementBar",
|
|
108
105
|
slot: "GlowEnd",
|
|
109
106
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -113,7 +110,7 @@ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) s
|
|
|
113
110
|
...I(t, e, M),
|
|
114
111
|
backgroundImage: `radial-gradient(circle at 82% 50%, ${n[Math.min(1, n.length - 1)]} 0%, ${n[0]} 38%, transparent 72%)`
|
|
115
112
|
};
|
|
116
|
-
}), ae =
|
|
113
|
+
}), ae = f(l, {
|
|
117
114
|
name: "SAnnouncementBar",
|
|
118
115
|
slot: "Container",
|
|
119
116
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -126,7 +123,7 @@ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) s
|
|
|
126
123
|
paddingBlock: e.spacing(.5),
|
|
127
124
|
position: "relative",
|
|
128
125
|
zIndex: 1
|
|
129
|
-
})), oe =
|
|
126
|
+
})), oe = f(r, {
|
|
130
127
|
name: "SAnnouncementBar",
|
|
131
128
|
slot: "Badge",
|
|
132
129
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -134,14 +131,14 @@ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) s
|
|
|
134
131
|
flexShrink: 0,
|
|
135
132
|
height: e.spacing(3),
|
|
136
133
|
variants: [{ props: N }]
|
|
137
|
-
})), se =
|
|
134
|
+
})), se = f(u, {
|
|
138
135
|
name: "SAnnouncementBar",
|
|
139
136
|
slot: "Message",
|
|
140
137
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
141
138
|
})({
|
|
142
139
|
flex: "1 1 auto",
|
|
143
140
|
minWidth: 0
|
|
144
|
-
}), ce =
|
|
141
|
+
}), ce = f(c, {
|
|
145
142
|
name: "SAnnouncementBar",
|
|
146
143
|
slot: "Actions",
|
|
147
144
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -165,7 +162,7 @@ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) s
|
|
|
165
162
|
order: 4
|
|
166
163
|
} }
|
|
167
164
|
}]
|
|
168
|
-
})), le =
|
|
165
|
+
})), le = f(n, {
|
|
169
166
|
name: "SAnnouncementBar",
|
|
170
167
|
slot: "ExpandToggle",
|
|
171
168
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -174,30 +171,30 @@ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) s
|
|
|
174
171
|
flexShrink: 0,
|
|
175
172
|
order: 2,
|
|
176
173
|
[e.breakpoints.down("sm")]: { display: "inline-flex" }
|
|
177
|
-
})), ue =
|
|
174
|
+
})), ue = f(n, {
|
|
178
175
|
name: "SAnnouncementBar",
|
|
179
176
|
slot: "DismissButton",
|
|
180
177
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
181
178
|
})({
|
|
182
179
|
flexShrink: 0,
|
|
183
180
|
order: 3
|
|
184
|
-
}), L =
|
|
185
|
-
let
|
|
186
|
-
props:
|
|
181
|
+
}), L = i.forwardRef(function(n, r) {
|
|
182
|
+
let c = p({
|
|
183
|
+
props: n,
|
|
187
184
|
name: "SAnnouncementBar"
|
|
188
|
-
}), { actions:
|
|
185
|
+
}), { actions: l, animationDuration: u = 7e3, badge: d, children: f, collapseLabel: b = "Hide announcement details", collapsible: x = !1, colors: S, defaultExpanded: C = !1, defaultOpen: w = !0, dismissLabel: T = "Dismiss announcement", dismissible: E = !1, expandLabel: D = "Show announcement details", expanded: O, onClose: k, onExpandedChange: A, open: j, paused: M = !1, slotProps: N, slots: P, sx: F, variant: I = "plain", ...L } = c, [R, z] = h({
|
|
189
186
|
controlled: O,
|
|
190
187
|
default: C,
|
|
191
188
|
name: "SAnnouncementBar",
|
|
192
189
|
state: "expanded"
|
|
193
|
-
}), [B, V] =
|
|
190
|
+
}), [B, V] = h({
|
|
194
191
|
controlled: j,
|
|
195
192
|
default: w,
|
|
196
193
|
name: "SAnnouncementBar",
|
|
197
194
|
state: "open"
|
|
198
195
|
}), H = {
|
|
199
|
-
...
|
|
200
|
-
animationDuration:
|
|
196
|
+
...c,
|
|
197
|
+
animationDuration: u,
|
|
201
198
|
collapsible: x,
|
|
202
199
|
colors: S,
|
|
203
200
|
dismissible: E,
|
|
@@ -205,66 +202,66 @@ var b = "@media (prefers-reduced-motion: reduce)", x = "-45%", S = "blur(58px) s
|
|
|
205
202
|
open: B,
|
|
206
203
|
paused: M,
|
|
207
204
|
variant: I
|
|
208
|
-
}, U = P?.root ?? ne, W = P?.glowStart ?? re, G = P?.glowEnd ?? ie, K = P?.container ?? ae, q = P?.badge ?? oe, J = P?.message ?? se, Y = P?.actions ?? ce, X = P?.expandToggle ?? le, Z = P?.dismissButton ?? ue, Q = `${
|
|
205
|
+
}, U = P?.root ?? ne, W = P?.glowStart ?? re, G = P?.glowEnd ?? ie, K = P?.container ?? ae, q = P?.badge ?? oe, J = P?.message ?? se, Y = P?.actions ?? ce, X = P?.expandToggle ?? le, Z = P?.dismissButton ?? ue, Q = `${i.useId()}-actions`, de = g((e) => {
|
|
209
206
|
let t = !R;
|
|
210
207
|
z(t), A?.(e, t);
|
|
211
|
-
}), fe =
|
|
208
|
+
}), fe = g((e) => {
|
|
212
209
|
V(!1), k?.(e);
|
|
213
|
-
}), { ref: pe, sx: me, ...he } =
|
|
210
|
+
}), { ref: pe, sx: me, ...he } = v(U, m(t(N?.root, H), {
|
|
214
211
|
...L,
|
|
215
212
|
"aria-label": L["aria-label"] ?? "Announcement",
|
|
216
213
|
role: "region"
|
|
217
|
-
}), H), ge =
|
|
214
|
+
}), H), ge = _(pe, r), $ = v(W, t(N?.glowStart, H) ?? {}, H), _e = v(G, t(N?.glowEnd, H) ?? {}, H), ve = v(K, t(N?.container, H) ?? {}, H), ye = v(q, m(t(N?.badge, H), {
|
|
218
215
|
color: "error",
|
|
219
216
|
size: "small"
|
|
220
|
-
}), H), be =
|
|
217
|
+
}), H), be = v(J, m(t(N?.message, H), {
|
|
221
218
|
component: "span",
|
|
222
219
|
variant: "body2"
|
|
223
|
-
}), H), xe =
|
|
220
|
+
}), H), xe = v(Y, m(t(N?.actions, H), { id: Q }), H), Se = v(X, m(t(N?.expandToggle, H), {
|
|
224
221
|
"aria-controls": Q,
|
|
225
222
|
"aria-expanded": R,
|
|
226
223
|
"aria-label": R ? b : D,
|
|
227
224
|
color: "inherit",
|
|
228
225
|
onClick: de,
|
|
229
226
|
size: "small"
|
|
230
|
-
}), H), Ce =
|
|
227
|
+
}), H), Ce = v(Z, m(t(N?.dismissButton, H), {
|
|
231
228
|
"aria-label": T,
|
|
232
229
|
color: "inherit",
|
|
233
230
|
onClick: fe,
|
|
234
231
|
size: "small"
|
|
235
232
|
}), H);
|
|
236
|
-
return B ? /* @__PURE__ */
|
|
233
|
+
return B ? /* @__PURE__ */ s(U, {
|
|
237
234
|
...he,
|
|
238
235
|
ref: ge,
|
|
239
236
|
sx: [...e(me), ...e(F)],
|
|
240
|
-
children: [I === "announcement" ? /* @__PURE__ */
|
|
237
|
+
children: [I === "announcement" ? /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o(W, {
|
|
241
238
|
...$,
|
|
242
239
|
"aria-hidden": !0
|
|
243
|
-
}), /* @__PURE__ */
|
|
240
|
+
}), /* @__PURE__ */ o(G, {
|
|
244
241
|
..._e,
|
|
245
242
|
"aria-hidden": !0
|
|
246
|
-
})] }) : null, /* @__PURE__ */
|
|
243
|
+
})] }) : null, /* @__PURE__ */ s(K, {
|
|
247
244
|
...ve,
|
|
248
245
|
children: [
|
|
249
|
-
|
|
246
|
+
d == null ? null : /* @__PURE__ */ o(q, {
|
|
250
247
|
...ye,
|
|
251
|
-
label:
|
|
248
|
+
label: d
|
|
252
249
|
}),
|
|
253
|
-
|
|
250
|
+
f == null ? null : /* @__PURE__ */ o(J, {
|
|
254
251
|
...be,
|
|
255
|
-
children:
|
|
252
|
+
children: f
|
|
256
253
|
}),
|
|
257
|
-
|
|
254
|
+
l == null ? null : /* @__PURE__ */ o(Y, {
|
|
258
255
|
...xe,
|
|
259
|
-
children:
|
|
256
|
+
children: l
|
|
260
257
|
}),
|
|
261
|
-
x &&
|
|
258
|
+
x && l != null ? /* @__PURE__ */ o(X, {
|
|
262
259
|
...Se,
|
|
263
|
-
children:
|
|
260
|
+
children: o(R ? y : te, {})
|
|
264
261
|
}) : null,
|
|
265
|
-
E ? /* @__PURE__ */
|
|
262
|
+
E ? /* @__PURE__ */ o(Z, {
|
|
266
263
|
...Ce,
|
|
267
|
-
children: /* @__PURE__ */
|
|
264
|
+
children: /* @__PURE__ */ o(ee, {})
|
|
268
265
|
}) : null
|
|
269
266
|
]
|
|
270
267
|
})]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { STextField as e } from "../s-text-field/s-text-field.js";
|
|
2
2
|
import { forwardRef as t, useId as n } from "react";
|
|
3
3
|
import { jsx as r } from "react/jsx-runtime";
|
|
4
4
|
import { Autocomplete as i, styled as a, useThemeProps as o } from "@mui/material";
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
-
import { t } from "../
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
2
|
+
import { SLazyImage as t } from "../s-lazy-image/s-lazy-image.js";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
import { Avatar as a, Box as o, Typography as s, styled as c, useThemeProps as l } from "@mui/material";
|
|
6
|
+
import u from "@mui/utils/appendOwnerState";
|
|
7
7
|
//#region lib/s-avatar/s-avatar.tsx
|
|
8
|
-
var d =
|
|
8
|
+
var d = c(o, {
|
|
9
9
|
name: "SAvatar",
|
|
10
10
|
slot: "Root"
|
|
11
11
|
})({}), f = (e) => e <= 32 ? 12 : e <= 40 ? 16 : e <= 56 ? 18 : Math.round(e * .4);
|
|
12
12
|
function p(e, t) {
|
|
13
13
|
return typeof e == "function" ? e(t) : e;
|
|
14
14
|
}
|
|
15
|
-
var m =
|
|
16
|
-
let
|
|
17
|
-
props:
|
|
15
|
+
var m = n.forwardRef(function(n, o) {
|
|
16
|
+
let c = l({
|
|
17
|
+
props: n,
|
|
18
18
|
name: "SAvatar"
|
|
19
|
-
}), { alt: m, children: h, name: g, showName: _ = !1, size: v = 40, slotProps: y, slots: b, src: x, sx: S, ...C } =
|
|
20
|
-
...
|
|
19
|
+
}), { alt: m, children: h, name: g, showName: _ = !1, size: v = 40, slotProps: y, slots: b, src: x, sx: S, ...C } = c, w = {
|
|
20
|
+
...c,
|
|
21
21
|
showName: _,
|
|
22
22
|
size: v
|
|
23
|
-
}, T = b?.avatar ??
|
|
24
|
-
return /* @__PURE__ */
|
|
23
|
+
}, T = b?.avatar ?? a, E = b?.image ?? t, D = b?.name ?? s, O = u(b?.avatar, p(y?.avatar, w) ?? {}, w), k = u(b?.image, p(y?.image, w) ?? {}, w), A = u(b?.name, p(y?.name, w) ?? {}, w), { sx: j, ...M } = O;
|
|
24
|
+
return /* @__PURE__ */ i(d, {
|
|
25
25
|
...C,
|
|
26
26
|
ownerState: w,
|
|
27
|
-
ref:
|
|
27
|
+
ref: o,
|
|
28
28
|
sx: [{
|
|
29
29
|
alignItems: "center",
|
|
30
30
|
display: "flex",
|
|
31
31
|
gap: 2
|
|
32
32
|
}, ...e(S)],
|
|
33
|
-
children: [/* @__PURE__ */
|
|
33
|
+
children: [/* @__PURE__ */ r(T, {
|
|
34
34
|
...M,
|
|
35
35
|
sx: [{
|
|
36
36
|
fontSize: f(v),
|
|
37
37
|
height: v,
|
|
38
38
|
width: v
|
|
39
39
|
}, ...e(j)],
|
|
40
|
-
children: h ?? (x ? /* @__PURE__ */
|
|
40
|
+
children: h ?? (x ? /* @__PURE__ */ r(E, {
|
|
41
41
|
...k,
|
|
42
42
|
alt: m ?? (typeof g == "string" ? g : "Avatar"),
|
|
43
43
|
height: v,
|
|
@@ -45,7 +45,7 @@ var m = r.forwardRef(function(r, s) {
|
|
|
45
45
|
variant: "circular",
|
|
46
46
|
width: v
|
|
47
47
|
}) : (typeof g == "string" ? g[0] : void 0) ?? "A")
|
|
48
|
-
}), _ && g != null ? /* @__PURE__ */
|
|
48
|
+
}), _ && g != null ? /* @__PURE__ */ r(D, {
|
|
49
49
|
...A,
|
|
50
50
|
children: g
|
|
51
51
|
}) : null]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import e, { useEffect as t, useMemo as n, useRef as r, useState as i } from "react";
|
|
2
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
3
|
+
import { Typography as s, styled as c, useThemeProps as l } from "@mui/material";
|
|
4
|
+
import { useForkRef as u } from "@mui/material/utils";
|
|
5
5
|
import { motion as d, useReducedMotion as f } from "framer-motion";
|
|
6
6
|
//#region lib/s-blur-text/s-blur-text.tsx
|
|
7
|
-
var p =
|
|
7
|
+
var p = c(s, {
|
|
8
8
|
name: "SBlurText",
|
|
9
9
|
slot: "Root"
|
|
10
10
|
})({}), m = (e, t) => {
|
|
@@ -23,12 +23,12 @@ function h(e, t) {
|
|
|
23
23
|
};
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
var g =
|
|
27
|
-
let
|
|
28
|
-
props:
|
|
26
|
+
var g = e.forwardRef(function(e, s) {
|
|
27
|
+
let c = l({
|
|
28
|
+
props: e,
|
|
29
29
|
name: "SBlurText"
|
|
30
|
-
}), { children: g, delay: _ = 100, animateBy: v = "words", direction: y = "top", threshold: b = .1, rootMargin: x = "0px", animationFrom: S, animationTo: C, easing: w = (e) => e, onAnimationComplete: T, stepDuration: E = .35, variant: D = "body1", sx: O, ...k } =
|
|
31
|
-
|
|
30
|
+
}), { children: g, delay: _ = 100, animateBy: v = "words", direction: y = "top", threshold: b = .1, rootMargin: x = "0px", animationFrom: S, animationTo: C, easing: w = (e) => e, onAnimationComplete: T, stepDuration: E = .35, variant: D = "body1", sx: O, ...k } = c, A = n(() => h(g, v), [g, v]), [j, M] = i(!1), N = r(null), P = r(null), F = u(N, s), I = f();
|
|
31
|
+
t(() => {
|
|
32
32
|
if (I) {
|
|
33
33
|
M(!0);
|
|
34
34
|
return;
|
|
@@ -45,7 +45,7 @@ var g = t.forwardRef(function(t, c) {
|
|
|
45
45
|
x,
|
|
46
46
|
I,
|
|
47
47
|
b
|
|
48
|
-
]),
|
|
48
|
+
]), t(() => {
|
|
49
49
|
if (!I) return;
|
|
50
50
|
let e = `${v}:${g}`;
|
|
51
51
|
P.current !== e && (P.current = e, T?.());
|
|
@@ -55,7 +55,7 @@ var g = t.forwardRef(function(t, c) {
|
|
|
55
55
|
I,
|
|
56
56
|
g
|
|
57
57
|
]);
|
|
58
|
-
let L =
|
|
58
|
+
let L = n(() => y === "top" ? {
|
|
59
59
|
filter: "blur(10px)",
|
|
60
60
|
opacity: 0,
|
|
61
61
|
y: -50
|
|
@@ -63,7 +63,7 @@ var g = t.forwardRef(function(t, c) {
|
|
|
63
63
|
filter: "blur(10px)",
|
|
64
64
|
opacity: 0,
|
|
65
65
|
y: 50
|
|
66
|
-
}, [y]), R =
|
|
66
|
+
}, [y]), R = n(() => [{
|
|
67
67
|
filter: "blur(5px)",
|
|
68
68
|
opacity: .5,
|
|
69
69
|
y: y === "top" ? 5 : -5
|
|
@@ -72,10 +72,10 @@ var g = t.forwardRef(function(t, c) {
|
|
|
72
72
|
opacity: 1,
|
|
73
73
|
y: 0
|
|
74
74
|
}], [y]), z = S ?? L, B = C ?? R, V = B[B.length - 1] ?? z, H = {
|
|
75
|
-
...
|
|
75
|
+
...c,
|
|
76
76
|
inView: j
|
|
77
77
|
}, U = B.length + 1, W = E * (U - 1), G = Array.from({ length: U }, (e, t) => U === 1 ? 0 : t / (U - 1));
|
|
78
|
-
return /* @__PURE__ */
|
|
78
|
+
return /* @__PURE__ */ a(p, {
|
|
79
79
|
...k,
|
|
80
80
|
ownerState: H,
|
|
81
81
|
ref: F,
|
|
@@ -88,7 +88,7 @@ var g = t.forwardRef(function(t, c) {
|
|
|
88
88
|
delay: n * _ / 1e3,
|
|
89
89
|
ease: w
|
|
90
90
|
};
|
|
91
|
-
return /* @__PURE__ */
|
|
91
|
+
return /* @__PURE__ */ o(d.span, {
|
|
92
92
|
initial: I ? !1 : z,
|
|
93
93
|
animate: I ? V : j ? r : z,
|
|
94
94
|
transition: I ? { duration: 0 } : i,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-brand-logo-
|
|
1
|
+
import { t as e } from "../s-brand-logo-CErW9Slg.js";
|
|
2
2
|
export { e as SBrandLogo, e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-brand-logo-
|
|
1
|
+
import { t as e } from "../s-brand-logo-CErW9Slg.js";
|
|
2
2
|
export { e as SBrandLogo, e as default };
|