@solostylist/ui-kit 2.0.1 → 2.0.2
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/Add-CEnTWsXs.js +6 -0
- package/dist/ArrowUpward-udL1ltj2.js +6 -0
- package/dist/Box-9oeZgA1U.js +46 -0
- package/dist/Button-DaLr1m20.js +534 -0
- package/dist/ButtonBase-DovDC6-1.js +700 -0
- package/dist/Checkbox-C-Xjbzzh.js +152 -0
- package/dist/ChevronRight-DsPfsFKB.js +6 -0
- package/dist/Close-CIYOM-Sc.js +6 -0
- package/dist/Collapse-DPUr1cbP.js +266 -0
- package/dist/ContentCopy-Hlh3azVb.js +6 -0
- package/dist/DefaultPropsProvider-ebWx4_5E.js +128 -0
- package/dist/DialogContent-b3xbJVC6.js +450 -0
- package/dist/Download-D9PkFi7a.js +6 -0
- package/dist/ExpandMore-sOgvEha9.js +6 -0
- package/dist/Favorite-BP343hjM.js +6 -0
- package/dist/FavoriteBorder-D15j9xEL.js +6 -0
- package/dist/FormControl-DwMfZCiz.js +215 -0
- package/dist/FormControlLabel-Ihga1FTB.js +173 -0
- package/dist/Grow-BQR7x52V.js +121 -0
- package/dist/IconButton-CE-4GamO.js +448 -0
- package/dist/InfoOutlined-lpvhO6P8.js +6 -0
- package/dist/List-RNcZhRdr.js +105 -0
- package/dist/Menu-CnyB4SDS.js +180 -0
- package/dist/MenuItem-Ck30dBOR.js +224 -0
- package/dist/MenuList-Cc98uWXq.js +160 -0
- package/dist/Modal-CD2EBfU8.js +702 -0
- package/dist/Paper-_3qggtBp.js +115 -0
- package/dist/Popover-BFdKSYI5.js +340 -0
- package/dist/Popper-DYNAMSDd.js +1351 -0
- package/dist/Portal-i_wgIe9-.js +49 -0
- package/dist/Remove-DDEn8ek8.js +6 -0
- package/dist/RtlProvider-B7uVJXUY.js +19 -0
- package/dist/Skeleton-iZFynl7z.js +220 -0
- package/dist/Stack-C0LGzM4c.js +158 -0
- package/dist/SwitchBase-CjWtDdmE.js +198 -0
- package/dist/Tooltip-B1sn94L0.js +448 -0
- package/dist/Typography-_P0svrkO.js +168 -0
- package/dist/UnfoldMoreRounded-CuCrdxoy.js +6 -0
- package/dist/appendOwnerState-CFQTq3pb.js +17 -0
- package/dist/assets/stripe-input.css +1 -0
- package/dist/autocomplete-BgARERpp.js +43 -0
- package/dist/avatar-XNOdbbRz.js +10 -0
- package/dist/buttonBaseClasses-B90LjsNK.js +13 -0
- package/dist/capitalize-C0baBJCm.js +5 -0
- package/dist/chainPropTypes-CkMRtDjQ.js +8 -0
- package/dist/checkbox-D1U_JKqs.js +88 -0
- package/dist/checkboxClasses-B1up2lUn.js +18 -0
- package/dist/chunk-C_CI6nMA.js +13 -0
- package/dist/clsx-DGZSe4Nt.js +16 -0
- package/dist/colorManipulator-DmUjcif3.js +129 -0
- package/dist/contains-DnqPQsQU.js +16 -0
- package/dist/createSimplePaletteValueFilter-DFvyXHoZ.js +14 -0
- package/dist/createSvgIcon-3y-gS0r1.js +155 -0
- package/dist/createTheme-xB2Em0Na.js +1869 -0
- package/dist/defaultTheme-BaGcIzCh.js +210 -0
- package/dist/elementAcceptingRef-pKEY6jPR.js +25 -0
- package/dist/elementTypeAcceptingRef-xl_04Y5-.js +19 -0
- package/dist/exactProp-C_IsucXf.js +13 -0
- package/dist/extends-DXMyyJCW.js +12 -0
- package/dist/field-label-styles-4praXMaE.js +50 -0
- package/dist/formLabelClasses-AuZHWfTs.js +18 -0
- package/dist/generateUtilityClass-PAIOm1jC.js +34 -0
- package/dist/generateUtilityClasses-DvX505Gy.js +10 -0
- package/dist/getActiveElement-BfBkhgy6.js +8 -0
- package/dist/{gradients-DSnBONEQ.js → gradients-mQAYCK0_.js} +1 -1
- package/dist/iconButtonClasses-CVVRFXRo.js +27 -0
- package/dist/inputAdornmentClasses-BbB8s-Z4.js +19 -0
- package/dist/inputBaseClasses-Ce_jjdp9.js +25 -0
- package/dist/integerPropType-CCkQD1JY.js +27 -0
- package/dist/isEventHandler-QShLXBxE.js +7 -0
- package/dist/isFocusVisible-4OIE8TST.js +11 -0
- package/dist/isLayoutSupported-Btg2X3QE.js +6 -0
- package/dist/isMuiElement-CPjhi284.js +10 -0
- package/dist/main.js +1 -1
- package/dist/mega-menu-trigger-BcOo8I5_.js +53 -0
- package/dist/memoTheme-qFyKAk7y.js +15 -0
- package/dist/mergeSlotProps-DC8r4QzS.js +45 -0
- package/dist/monthCalendarClasses-b964KRbc.js +14 -0
- package/dist/objectWithoutPropertiesLoose-q4Zwd1RV.js +12 -0
- package/dist/outlinedInputClasses-ci1zDasn.js +17 -0
- package/dist/ownerDocument-CJjQZweZ.js +6 -0
- package/dist/ownerDocument-pYjJiXem.js +5 -0
- package/dist/ownerWindow-SSeeoqPT.js +18 -0
- package/dist/palettes/index.js +1 -1
- package/dist/{palettes-CJLuEy1m.js → palettes-B1FcGUYs.js} +163 -163
- package/dist/pickersCalendarHeaderClasses-BAiPN_oY.js +12 -0
- package/dist/prop-types-BzYPyWN7.js +516 -0
- package/dist/refType-j5S9pc_e.js +6 -0
- package/dist/resolveProps-7jIA45vn.js +30 -0
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +2 -70
- package/dist/s-accordion-1oLxQhod.js +487 -0
- package/dist/s-action-overlay/s-action-overlay.js +21 -21
- package/dist/s-animated-gradient-text/index.d.ts +2 -0
- package/dist/s-animated-gradient-text/index.js +2 -0
- package/dist/s-animated-gradient-text/s-animated-gradient-text.d.ts +64 -0
- package/dist/s-animated-gradient-text/s-animated-gradient-text.js +93 -0
- package/dist/s-announcement-bar/index.d.ts +2 -0
- package/dist/s-announcement-bar/index.js +2 -0
- package/dist/s-announcement-bar/s-announcement-bar.d.ts +113 -0
- package/dist/s-announcement-bar/s-announcement-bar.js +275 -0
- 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.d.ts +2 -0
- package/dist/s-carousel/s-carousel.js +2 -184
- package/dist/s-carousel-CAyAl3ka.js +1355 -0
- 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 +2 -398
- package/dist/s-chat-input-T3gyan60.js +419 -0
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +2 -314
- package/dist/s-chat-message-NFTpNgt5.js +315 -0
- package/dist/s-checkbox/s-checkbox.js +19 -18
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +2 -174
- package/dist/s-chips-Dqq1fgz-.js +176 -0
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +2 -103
- package/dist/s-code-block-DyDtctGG.js +658 -0
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +2 -189
- package/dist/s-comment-message-DpCVBKiE.js +192 -0
- 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 +2 -213
- package/dist/s-data-table-D4V58HFR.js +805 -0
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +2 -106
- package/dist/s-date-picker-BFIQOA8C.js +657 -0
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +2 -108
- package/dist/s-datetime-picker-zfg7BEOW.js +3886 -0
- package/dist/s-dialog/index.js +1 -1
- package/dist/s-dialog/s-dialog.js +2 -80
- package/dist/s-dialog-BNlXsVVP.js +123 -0
- package/dist/s-dialog-confirm/s-dialog-confirm.js +33 -32
- package/dist/s-dialog-message/s-dialog-message.js +32 -31
- package/dist/s-drawer/index.d.ts +3 -0
- package/dist/s-drawer/index.js +2 -0
- package/dist/s-drawer/s-drawer.d.ts +70 -0
- package/dist/s-drawer/s-drawer.js +2 -0
- package/dist/s-drawer-4h5ZyoM8.js +562 -0
- package/dist/s-empty/s-empty.js +14 -13
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +2 -219
- package/dist/s-file-dropzone-Cfzv1Cm8.js +422 -0
- package/dist/s-file-icon/s-file-icon.js +88 -87
- package/dist/s-flex-box/s-flex-box.js +12 -11
- 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 +10 -9
- package/dist/s-gradient-blob-pulse/index.d.ts +2 -0
- package/dist/s-gradient-blob-pulse/index.js +2 -0
- package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.d.ts +62 -0
- package/dist/s-gradient-blob-pulse/s-gradient-blob-pulse.js +237 -0
- package/dist/s-gradient-icon/index.d.ts +1 -1
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +4 -4
- package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
- package/dist/s-icon-button/s-icon-button.d.ts +6 -2
- package/dist/s-icon-button/s-icon-button.js +14 -13
- package/dist/s-image-comparison/s-image-comparison.js +31 -29
- 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 +2 -266
- package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
- package/dist/s-image-viewer-CjK67-rs.js +269 -0
- package/dist/s-interactive-card/index.d.ts +3 -0
- package/dist/s-interactive-card/index.js +2 -0
- package/dist/s-interactive-card/s-interactive-card.d.ts +57 -0
- package/dist/s-interactive-card/s-interactive-card.js +152 -0
- package/dist/s-label/s-label.js +26 -25
- package/dist/s-language-switcher/index.js +2 -2
- package/dist/s-language-switcher/s-language-switcher.js +2 -150
- package/dist/s-language-switcher-PaMgHWc2.js +246 -0
- package/dist/s-lazy-image/s-lazy-image.js +18 -17
- package/dist/s-link/index.js +1 -1
- package/dist/s-link/s-link.js +2 -5
- package/dist/s-link-Db1aabHh.js +235 -0
- package/dist/s-list-action-item/index.d.ts +2 -0
- package/dist/s-list-action-item/index.js +2 -0
- package/dist/s-list-action-item/s-list-action-item.d.ts +89 -0
- package/dist/s-list-action-item/s-list-action-item.js +150 -0
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +2 -12
- package/dist/s-localization-provider-CeyB_SGz.js +519 -0
- package/dist/s-mega-menu/index.d.ts +3 -0
- package/dist/s-mega-menu/index.js +2 -0
- package/dist/s-mega-menu/mega-menu-panel.d.ts +38 -0
- package/dist/s-mega-menu/mega-menu-panel.js +253 -0
- package/dist/s-mega-menu/mega-menu-slots.d.ts +65 -0
- package/dist/s-mega-menu/mega-menu-slots.js +232 -0
- package/dist/s-mega-menu/mega-menu-trigger.d.ts +35 -0
- package/dist/s-mega-menu/mega-menu-trigger.js +2 -0
- package/dist/s-mega-menu/s-mega-menu.d.ts +23 -0
- package/dist/s-mega-menu/s-mega-menu.js +228 -0
- package/dist/s-mega-menu/types.d.ts +188 -0
- package/dist/s-mega-menu/types.js +0 -0
- package/dist/s-mega-menu/utils.d.ts +51 -0
- package/dist/s-mega-menu/utils.js +51 -0
- package/dist/s-mobile-dock/index.d.ts +3 -0
- package/dist/s-mobile-dock/index.js +2 -0
- package/dist/s-mobile-dock/s-mobile-dock.d.ts +96 -0
- package/dist/s-mobile-dock/s-mobile-dock.js +2 -0
- package/dist/s-mobile-dock-8F3UWAb8.js +615 -0
- package/dist/s-nav-item/index.d.ts +1 -1
- package/dist/s-nav-item/s-nav-item.d.ts +35 -16
- package/dist/s-nav-item/s-nav-item.js +56 -77
- package/dist/s-nav-items/s-nav-items.js +78 -121
- package/dist/s-no-ssr/index.js +1 -1
- package/dist/s-no-ssr/s-no-ssr.js +2 -5
- package/dist/s-no-ssr-DH57_uP_.js +25 -0
- package/dist/s-number-range/index.d.ts +3 -0
- package/dist/s-number-range/index.js +2 -0
- package/dist/s-number-range/s-number-range.d.ts +109 -0
- package/dist/s-number-range/s-number-range.js +2 -0
- package/dist/s-number-range-Low5QjuD.js +253 -0
- package/dist/s-pagination/index.js +1 -1
- package/dist/s-pagination/s-pagination.js +2 -85
- package/dist/s-pagination-s46hBifh.js +606 -0
- package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
- package/dist/s-popover/index.d.ts +5 -0
- package/dist/s-popover/index.js +3 -0
- package/dist/s-popover/placement.d.ts +14 -0
- package/dist/s-popover/placement.js +65 -0
- package/dist/s-popover/s-popover-content.d.ts +22 -0
- package/dist/s-popover/s-popover-content.js +22 -0
- package/dist/s-popover/s-popover.d.ts +59 -0
- package/dist/s-popover/s-popover.js +68 -0
- package/dist/s-product-card/index.d.ts +3 -0
- package/dist/s-product-card/index.js +2 -0
- package/dist/s-product-card/s-product-card.d.ts +216 -0
- package/dist/s-product-card/s-product-card.js +502 -0
- package/dist/s-product-gallery/index.d.ts +3 -0
- package/dist/s-product-gallery/index.js +2 -0
- package/dist/s-product-gallery/s-product-gallery.d.ts +116 -0
- package/dist/s-product-gallery/s-product-gallery.js +2 -0
- package/dist/s-product-gallery-Dj9eGg5i.js +430 -0
- 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 +2 -272
- package/dist/s-review--Q2C0ngO.js +272 -0
- package/dist/s-scroll-reveal/s-scroll-reveal.js +8 -7
- package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +1 -1
- package/dist/s-scroll-to-top/s-scroll-to-top.js +28 -27
- package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
- package/dist/s-segmented-control/index.d.ts +3 -0
- package/dist/s-segmented-control/index.js +2 -0
- package/dist/s-segmented-control/s-segmented-control.d.ts +94 -0
- package/dist/s-segmented-control/s-segmented-control.js +302 -0
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +2 -201
- package/dist/s-select-CtVKEOZ5.js +204 -0
- package/dist/s-select-list/s-select-list.js +50 -47
- package/dist/s-skeleton/s-skeleton.js +13 -12
- package/dist/s-snackbar-message/index.js +2 -2
- package/dist/s-snackbar-message/s-snackbar-message.js +2 -89
- package/dist/s-snackbar-message-DsfJlDYd.js +810 -0
- 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.d.ts +3 -0
- package/dist/s-stepper/index.js +2 -0
- package/dist/s-stepper/s-stepper.d.ts +90 -0
- package/dist/s-stepper/s-stepper.js +2 -0
- package/dist/s-stepper-BtODHVro.js +892 -0
- package/dist/s-stripe/s-stripe.js +12 -11
- package/dist/s-stripe/stripe-input.js +2 -3
- package/dist/s-swatch/index.d.ts +3 -0
- package/dist/s-swatch/index.js +2 -0
- package/dist/s-swatch/s-swatch.d.ts +235 -0
- package/dist/s-swatch/s-swatch.js +219 -0
- package/dist/s-switch/index.js +1 -1
- package/dist/s-switch/s-switch.js +2 -48
- package/dist/s-switch-BCeBoxWf.js +307 -0
- package/dist/s-tabs/s-tabs.js +50 -48
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +2 -216
- package/dist/s-text-editor/s-text-editor.js +26 -25
- package/dist/s-text-editor-toolbar-D5eQ-jCs.js +2124 -0
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +2 -52
- package/dist/s-text-field-HYyDf1Jo.js +51 -0
- package/dist/s-text-shimmer/s-text-shimmer.js +3 -1
- 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 +2 -265
- 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 +2 -60
- package/dist/s-theme-switch-BFWpADh3.js +60 -0
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +2 -61
- package/dist/s-tip-jbL7vtoU.js +62 -0
- package/dist/s-tool-bar/s-tool-bar.js +28 -28
- package/dist/s-tool-bar/tool-bar-action-buttons.js +2 -55
- package/dist/s-tool-bar/tool-bar-image-input.js +2 -148
- package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
- package/dist/s-tool-item/s-tool-item.d.ts +10 -6
- package/dist/s-tool-item/s-tool-item.js +29 -29
- package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
- package/dist/s-zoom-image/s-zoom-image.js +19 -18
- package/dist/selectClasses-CPxME5jE.js +22 -0
- package/dist/setRef-BWPyWnrr.js +6 -0
- package/dist/styled-Bog8QCl3.js +163 -0
- package/dist/svgIconClasses-1kWGzgux.js +20 -0
- package/dist/switchClasses-BtweO7PC.js +23 -0
- package/dist/theme/component-augmentation.d.ts +65 -1
- package/dist/theme/components/autocomplete.js +2 -43
- package/dist/theme/components/avatar.js +2 -9
- package/dist/theme/components/card.js +3 -3
- package/dist/theme/components/checkbox.js +2 -90
- package/dist/theme/components/chip.js +3 -3
- package/dist/theme/components/components.js +20 -20
- package/dist/theme/components/date-calendar.js +0 -1
- package/dist/theme/components/day-calendar.js +0 -1
- package/dist/theme/components/drawer.d.ts +1 -0
- package/dist/theme/components/drawer.js +4 -1
- package/dist/theme/components/field-label-styles.js +2 -19
- 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 +13 -14
- package/dist/theme/components/multi-section-digital-clock-section.js +0 -1
- package/dist/theme/components/outlined-input.js +6 -6
- package/dist/theme/components/picker-day.js +0 -1
- package/dist/theme/components/pickers-arrow-switcher.js +0 -1
- package/dist/theme/components/pickers-calendar-header.js +2 -3
- package/dist/theme/components/select.js +6 -6
- package/dist/theme/components/slider.js +18 -1
- package/dist/theme/components/step-connector.d.ts +0 -3
- package/dist/theme/components/step-connector.js +1 -6
- package/dist/theme/components/step-icon.d.ts +3 -12
- package/dist/theme/components/step-icon.js +3 -14
- package/dist/theme/components/switch.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button.js +2 -93
- package/dist/theme/components/year-calendar.js +13 -14
- package/dist/theme/theme-primitives.js +2 -2
- package/dist/theme-demo-components-section-C7l_2KAo.js +267 -0
- package/dist/{theme-primitives-CRfnMsNy.js → theme-primitives-CXtaMdVj.js} +109 -108
- package/dist/toggle-button-BsGb-tOr.js +104 -0
- package/dist/tool-bar-action-buttons-v1koaasr.js +54 -0
- package/dist/tool-bar-image-input-DtXTyEe1.js +148 -0
- package/dist/typographyClasses-BH_-zLwg.js +31 -0
- package/dist/unsupportedProp-whMV_uOi.js +11 -0
- package/dist/useControlled-DqNPBJNp.js +5 -0
- package/dist/useControlled-uxVKygk1.js +29 -0
- package/dist/useEnhancedEffect-DFq_FMGX.js +5 -0
- package/dist/useEnhancedEffect-dBFfkm1e.js +5 -0
- package/dist/useEventCallback-DGCsaRIu.js +5 -0
- package/dist/useEventCallback-DhCPBxRG.js +11 -0
- package/dist/useForkRef-BuNFTXxE.js +29 -0
- package/dist/useFormControl-gXwNeUM1.js +18 -0
- package/dist/useMobilePicker-CdrT935R.js +7584 -0
- package/dist/useRovingTabIndex-DPlW997R.js +242 -0
- package/dist/useSlot-BG8ReOxN.js +83 -0
- package/dist/useSlotProps-BOO3qaI9.js +16 -0
- package/dist/useTheme-BIWMbX3i.js +9 -0
- package/dist/useThemeProps-Dw9dmKyT.js +29 -0
- package/dist/useTimeout-CoK-Khfm.js +49 -0
- package/dist/utils/dayjs.js +146 -9
- package/dist/utils-Bfqbev5I.js +248 -0
- package/dist/warning-D5YhCbje.js +99 -0
- package/dist/yearCalendarClasses-D9k_KT38.js +14 -0
- package/package.json +1 -1
- package/dist/theme/components/components.d.ts +0 -2
- package/dist/theme/components/slider.d.ts +0 -34
- /package/dist/{colors-CNjL5fhq.js → colors-Bik9qOU9.js} +0 -0
- /package/dist/{s-brand-logo-CErW9Slg.js → s-brand-logo-D7Jovf5K.js} +0 -0
- /package/dist/{utils-CMeAWSRO.js → utils-DOY6v6ln.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as e } from "../s-text-field-HYyDf1Jo.js";
|
|
2
2
|
export { e as STextField, e as default };
|
|
@@ -1,52 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
4
|
-
import { inputLabelClasses as i } from "@mui/material/InputLabel";
|
|
5
|
-
import { Visibility as a, VisibilityOff as o } from "@mui/icons-material";
|
|
6
|
-
import { IconButton as s, InputAdornment as c, TextField as l, styled as u, useThemeProps as d } from "@mui/material";
|
|
7
|
-
import { mergeSlotProps as f } from "@mui/material/utils";
|
|
8
|
-
import { inputBaseClasses as p } from "@mui/material/InputBase";
|
|
9
|
-
//#region lib/s-text-field/s-text-field.tsx
|
|
10
|
-
var m = u(l, {
|
|
11
|
-
name: "STextField",
|
|
12
|
-
slot: "Root",
|
|
13
|
-
shouldForwardProp: (e) => e !== "ownerState"
|
|
14
|
-
})({
|
|
15
|
-
...e,
|
|
16
|
-
[`& .${i.root}[data-shrink='false'] + .${p.formControl} .${p.input}`]: { "&::placeholder": { opacity: "1 !important" } }
|
|
17
|
-
}), h = t((e, t) => {
|
|
18
|
-
let i = d({
|
|
19
|
-
props: e,
|
|
20
|
-
name: "STextField"
|
|
21
|
-
}), { fullWidth: l = !0, type: u = "text", slotProps: p, togglePasswordText: h = "toggle password visibility", ...g } = i, [_, v] = n(!1), y = u === "password", b = {
|
|
22
|
-
...i,
|
|
23
|
-
fullWidth: l,
|
|
24
|
-
password: y,
|
|
25
|
-
passwordVisible: _
|
|
26
|
-
}, x = () => {
|
|
27
|
-
v((e) => !e);
|
|
28
|
-
}, S = y && _ ? "text" : u, C = y ? /* @__PURE__ */ r(c, {
|
|
29
|
-
position: "end",
|
|
30
|
-
children: /* @__PURE__ */ r(s, {
|
|
31
|
-
"aria-label": h,
|
|
32
|
-
onClick: x,
|
|
33
|
-
edge: "end",
|
|
34
|
-
size: "small",
|
|
35
|
-
children: r(_ ? o : a, {})
|
|
36
|
-
})
|
|
37
|
-
}) : void 0;
|
|
38
|
-
return /* @__PURE__ */ r(m, {
|
|
39
|
-
...g,
|
|
40
|
-
fullWidth: l,
|
|
41
|
-
ownerState: b,
|
|
42
|
-
ref: t,
|
|
43
|
-
type: S,
|
|
44
|
-
slotProps: {
|
|
45
|
-
...p,
|
|
46
|
-
input: y ? f(p?.input, { endAdornment: C }) : p?.input
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
h.displayName = "STextField";
|
|
51
|
-
//#endregion
|
|
52
|
-
export { h as STextField, h as default };
|
|
1
|
+
import { t as e } from "../s-text-field-HYyDf1Jo.js";
|
|
2
|
+
export { e as STextField, e as default };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { t as e } from "./createSvgIcon-3y-gS0r1.js";
|
|
2
|
+
import { t } from "./mergeSlotProps-DC8r4QzS.js";
|
|
3
|
+
import { n } from "./inputBaseClasses-Ce_jjdp9.js";
|
|
4
|
+
import { a as r, t as i } from "./field-label-styles-4praXMaE.js";
|
|
5
|
+
import { forwardRef as a, useState as o } from "react";
|
|
6
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
7
|
+
import { IconButton as c, InputAdornment as l, TextField as u, styled as d, useThemeProps as f } from "@mui/material";
|
|
8
|
+
//#region ../../node_modules/@mui/icons-material/Visibility.mjs
|
|
9
|
+
var p = e(/* @__PURE__ */ s("path", { d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3" }), "Visibility"), m = e(/* @__PURE__ */ s("path", { d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z" }), "VisibilityOff"), h = d(u, {
|
|
10
|
+
name: "STextField",
|
|
11
|
+
slot: "Root",
|
|
12
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
13
|
+
})({
|
|
14
|
+
...i,
|
|
15
|
+
[`& .${r.root}[data-shrink='false'] + .${n.formControl} .${n.input}`]: { "&::placeholder": { opacity: "1 !important" } }
|
|
16
|
+
}), g = a((e, n) => {
|
|
17
|
+
let r = f({
|
|
18
|
+
props: e,
|
|
19
|
+
name: "STextField"
|
|
20
|
+
}), { fullWidth: i = !0, type: a = "text", slotProps: u, togglePasswordText: d = "toggle password visibility", ...g } = r, [_, v] = o(!1), y = a === "password", b = {
|
|
21
|
+
...r,
|
|
22
|
+
fullWidth: i,
|
|
23
|
+
password: y,
|
|
24
|
+
passwordVisible: _
|
|
25
|
+
}, x = () => {
|
|
26
|
+
v((e) => !e);
|
|
27
|
+
}, S = y && _ ? "text" : a, C = y ? /* @__PURE__ */ s(l, {
|
|
28
|
+
position: "end",
|
|
29
|
+
children: /* @__PURE__ */ s(c, {
|
|
30
|
+
"aria-label": d,
|
|
31
|
+
onClick: x,
|
|
32
|
+
edge: "end",
|
|
33
|
+
size: "small",
|
|
34
|
+
children: s(_ ? m : p, {})
|
|
35
|
+
})
|
|
36
|
+
}) : void 0;
|
|
37
|
+
return /* @__PURE__ */ s(h, {
|
|
38
|
+
...g,
|
|
39
|
+
fullWidth: i,
|
|
40
|
+
ownerState: b,
|
|
41
|
+
ref: n,
|
|
42
|
+
type: S,
|
|
43
|
+
slotProps: {
|
|
44
|
+
...u,
|
|
45
|
+
input: y ? t(u?.input, { endAdornment: C }) : u?.input
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
g.displayName = "STextField";
|
|
50
|
+
//#endregion
|
|
51
|
+
export { g as t };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as e } from "../defaultTheme-BaGcIzCh.js";
|
|
2
|
+
import { t } from "../styled-Bog8QCl3.js";
|
|
3
|
+
import { t as n } from "../useThemeProps-Dw9dmKyT.js";
|
|
2
4
|
import * as r from "react";
|
|
3
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
6
|
import { Typography as a } from "@mui/material";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import h from "@mui/
|
|
2
|
+
import { t } from "../appendOwnerState-CFQTq3pb.js";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import { useCallback as r, useEffect as i, useRef as a, useState as o } from "react";
|
|
5
|
+
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
6
|
+
import { Box as u, Link as d, Tooltip as f, Typography as p, styled as m, useThemeProps as h } from "@mui/material";
|
|
7
7
|
//#region lib/s-text-truncation/s-text-truncation.tsx
|
|
8
|
-
var g =
|
|
8
|
+
var g = m(u, {
|
|
9
9
|
name: "STextTruncation",
|
|
10
10
|
slot: "Root",
|
|
11
11
|
shouldForwardProp: (e) => e !== "ownerState"
|
|
@@ -16,13 +16,13 @@ function _(e, t) {
|
|
|
16
16
|
function v(e) {
|
|
17
17
|
return e ? Object.fromEntries(Object.entries(e).filter(([e]) => e === "children" || e === "component" || e === "id" || e === "ref" || e === "role" || e === "tabIndex" || e === "title" || e.startsWith("aria-") || e.startsWith("data-") ? !1 : !/^on[A-Z]/.test(e))) : {};
|
|
18
18
|
}
|
|
19
|
-
var y =
|
|
20
|
-
let y =
|
|
21
|
-
props:
|
|
19
|
+
var y = n.forwardRef(function(u, m) {
|
|
20
|
+
let y = h({
|
|
21
|
+
props: u,
|
|
22
22
|
name: "STextTruncation"
|
|
23
|
-
}), { children: b, collapseText: x = "See less", expandText: S = "See more", lines: C = 3, slotProps: w, slots: T, sx: E, variant: D = "expandable", ...O } = y, [k, A] =
|
|
24
|
-
I.current = e, typeof
|
|
25
|
-
}, [
|
|
23
|
+
}), { children: b, collapseText: x = "See less", expandText: S = "See more", lines: C = 3, slotProps: w, slots: T, sx: E, variant: D = "expandable", ...O } = y, [k, A] = o(!1), [j, M] = o(!1), [N, P] = o(b), F = a(null), I = a(null), L = n.useCallback((e) => {
|
|
24
|
+
I.current = e, typeof m == "function" ? m(e) : m && (m.current = e);
|
|
25
|
+
}, [m]), R = r(() => {
|
|
26
26
|
let e = F.current;
|
|
27
27
|
if (!e || !b) {
|
|
28
28
|
M(!1), P(b);
|
|
@@ -46,7 +46,7 @@ var y = t.forwardRef(function(l, p) {
|
|
|
46
46
|
C,
|
|
47
47
|
b
|
|
48
48
|
]);
|
|
49
|
-
|
|
49
|
+
i(() => {
|
|
50
50
|
R();
|
|
51
51
|
let e = new ResizeObserver(R);
|
|
52
52
|
return I.current && e.observe(I.current), () => e.disconnect();
|
|
@@ -56,17 +56,17 @@ var y = t.forwardRef(function(l, p) {
|
|
|
56
56
|
expanded: k,
|
|
57
57
|
truncated: j,
|
|
58
58
|
variant: D
|
|
59
|
-
}, B = T?.text ??
|
|
60
|
-
return /* @__PURE__ */
|
|
59
|
+
}, B = T?.text ?? p, V = T?.toggle ?? d, H = T?.tooltip ?? f, U = _(w?.text, z), W = _(w?.toggle, z), G = _(w?.tooltip, z), { onClick: K, sx: q, ...J } = W ?? {}, Y = t(T?.text, U ?? {}, z), X = t(T?.text, v(U), z), Z = t(T?.toggle, J, z), Q = t(T?.tooltip, G ?? {}, z);
|
|
60
|
+
return /* @__PURE__ */ c(g, {
|
|
61
61
|
...O,
|
|
62
62
|
ownerState: z,
|
|
63
63
|
ref: L,
|
|
64
64
|
sx: [{ position: "relative" }, ...e(E)],
|
|
65
|
-
children: D === "tooltip" ? /* @__PURE__ */
|
|
65
|
+
children: D === "tooltip" ? /* @__PURE__ */ c(H, {
|
|
66
66
|
arrow: !0,
|
|
67
67
|
title: b,
|
|
68
68
|
...Q,
|
|
69
|
-
children: /* @__PURE__ */
|
|
69
|
+
children: /* @__PURE__ */ c(B, {
|
|
70
70
|
...Y,
|
|
71
71
|
sx: [{
|
|
72
72
|
display: "-webkit-box",
|
|
@@ -78,7 +78,7 @@ var y = t.forwardRef(function(l, p) {
|
|
|
78
78
|
}, ...e(U?.sx)],
|
|
79
79
|
children: b
|
|
80
80
|
})
|
|
81
|
-
}) : /* @__PURE__ */
|
|
81
|
+
}) : /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c(B, {
|
|
82
82
|
ref: F,
|
|
83
83
|
"aria-hidden": !0,
|
|
84
84
|
component: "span",
|
|
@@ -92,9 +92,9 @@ var y = t.forwardRef(function(l, p) {
|
|
|
92
92
|
visibility: "hidden",
|
|
93
93
|
pointerEvents: "none"
|
|
94
94
|
}, ...e(U?.sx)]
|
|
95
|
-
}), /* @__PURE__ */
|
|
95
|
+
}), /* @__PURE__ */ l(B, {
|
|
96
96
|
...Y,
|
|
97
|
-
children: [k ? b : N, j && /* @__PURE__ */
|
|
97
|
+
children: [k ? b : N, j && /* @__PURE__ */ l(s, { children: [k ? " " : "… ", /* @__PURE__ */ c(V, {
|
|
98
98
|
component: "button",
|
|
99
99
|
type: "button",
|
|
100
100
|
...Z,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { t } from "../theme-demo-components-section-C7l_2KAo.js";
|
|
3
|
+
import { TypographySection as n } from "./theme-demo-typography-section.js";
|
|
4
|
+
import { ShadowSection as r } from "./theme-demo-shadow-section.js";
|
|
5
|
+
import { InteractiveSection as i } from "./theme-demo-interactive-section.js";
|
|
6
6
|
import { ColorRampsSection as a } from "./theme-demo-color-ramps-section.js";
|
|
7
7
|
import { ColorPaletteSection as o } from "./theme-demo-color-palette-section.js";
|
|
8
8
|
import * as s from "react";
|
|
@@ -64,10 +64,10 @@ var h = [
|
|
|
64
64
|
children: [
|
|
65
65
|
T.colors && /* @__PURE__ */ c(o, {}),
|
|
66
66
|
T.ramps && /* @__PURE__ */ c(a, {}),
|
|
67
|
-
T.typography && /* @__PURE__ */ c(
|
|
68
|
-
(T.components || T.forms) && /* @__PURE__ */ c(
|
|
69
|
-
T.interactive && /* @__PURE__ */ c(
|
|
70
|
-
T.shadows && /* @__PURE__ */ c(
|
|
67
|
+
T.typography && /* @__PURE__ */ c(n, {}),
|
|
68
|
+
(T.components || T.forms) && /* @__PURE__ */ c(t, {}),
|
|
69
|
+
T.interactive && /* @__PURE__ */ c(i, {}),
|
|
70
|
+
T.shadows && /* @__PURE__ */ c(r, {})
|
|
71
71
|
]
|
|
72
72
|
})]
|
|
73
73
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as e } from "../useTheme-BIWMbX3i.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
4
|
import { Box as r, Card as i, CardContent as a, Stack as o, Typography as s } from "@mui/material";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "../colors-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "../colors-Bik9qOU9.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
4
4
|
import { Box as g, Card as _, CardContent as v, Stack as y, Typography as b } from "@mui/material";
|
|
@@ -1,265 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import * as n from "react";
|
|
4
|
-
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
-
import { Add as a, Favorite as o, Share as s, Star as c } from "@mui/icons-material";
|
|
6
|
-
import { Box as l, Card as u, CardContent as d, Stack as f, Typography as p } from "@mui/material";
|
|
7
|
-
//#region lib/s-theme-demo/theme-demo-components-section.tsx
|
|
8
|
-
var m = () => {
|
|
9
|
-
let [m, h] = n.useState("");
|
|
10
|
-
return /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(d, { children: /* @__PURE__ */ r(l, { children: /* @__PURE__ */ i(f, {
|
|
11
|
-
spacing: 3,
|
|
12
|
-
children: [
|
|
13
|
-
/* @__PURE__ */ i(l, { children: [/* @__PURE__ */ r(p, {
|
|
14
|
-
variant: "h6",
|
|
15
|
-
sx: { mb: 2 },
|
|
16
|
-
children: "Button Variants"
|
|
17
|
-
}), /* @__PURE__ */ i(f, {
|
|
18
|
-
direction: "row",
|
|
19
|
-
sx: {
|
|
20
|
-
flexWrap: "wrap",
|
|
21
|
-
gap: 2
|
|
22
|
-
},
|
|
23
|
-
children: [
|
|
24
|
-
/* @__PURE__ */ r(e, {
|
|
25
|
-
variant: "contained",
|
|
26
|
-
color: "primary",
|
|
27
|
-
children: "Contained"
|
|
28
|
-
}),
|
|
29
|
-
/* @__PURE__ */ r(e, {
|
|
30
|
-
variant: "outlined",
|
|
31
|
-
color: "primary",
|
|
32
|
-
children: "Outlined"
|
|
33
|
-
}),
|
|
34
|
-
/* @__PURE__ */ r(e, {
|
|
35
|
-
variant: "text",
|
|
36
|
-
color: "primary",
|
|
37
|
-
children: "Text"
|
|
38
|
-
})
|
|
39
|
-
]
|
|
40
|
-
})] }),
|
|
41
|
-
/* @__PURE__ */ i(l, { children: [/* @__PURE__ */ r(p, {
|
|
42
|
-
variant: "h6",
|
|
43
|
-
sx: { mb: 2 },
|
|
44
|
-
children: "Color Variants (Contained)"
|
|
45
|
-
}), /* @__PURE__ */ i(f, {
|
|
46
|
-
direction: "row",
|
|
47
|
-
sx: {
|
|
48
|
-
flexWrap: "wrap",
|
|
49
|
-
gap: 2
|
|
50
|
-
},
|
|
51
|
-
children: [
|
|
52
|
-
/* @__PURE__ */ r(e, {
|
|
53
|
-
variant: "contained",
|
|
54
|
-
color: "primary",
|
|
55
|
-
children: "Primary"
|
|
56
|
-
}),
|
|
57
|
-
/* @__PURE__ */ r(e, {
|
|
58
|
-
variant: "contained",
|
|
59
|
-
color: "secondary",
|
|
60
|
-
children: "Secondary"
|
|
61
|
-
}),
|
|
62
|
-
/* @__PURE__ */ r(e, {
|
|
63
|
-
variant: "contained",
|
|
64
|
-
color: "success",
|
|
65
|
-
children: "Success"
|
|
66
|
-
}),
|
|
67
|
-
/* @__PURE__ */ r(e, {
|
|
68
|
-
variant: "contained",
|
|
69
|
-
color: "warning",
|
|
70
|
-
children: "Warning"
|
|
71
|
-
}),
|
|
72
|
-
/* @__PURE__ */ r(e, {
|
|
73
|
-
variant: "contained",
|
|
74
|
-
color: "error",
|
|
75
|
-
children: "Error"
|
|
76
|
-
}),
|
|
77
|
-
/* @__PURE__ */ r(e, {
|
|
78
|
-
variant: "contained",
|
|
79
|
-
color: "info",
|
|
80
|
-
children: "Info"
|
|
81
|
-
})
|
|
82
|
-
]
|
|
83
|
-
})] }),
|
|
84
|
-
/* @__PURE__ */ i(l, { children: [/* @__PURE__ */ r(p, {
|
|
85
|
-
variant: "h6",
|
|
86
|
-
sx: { mb: 2 },
|
|
87
|
-
children: "Color Variants (Outlined)"
|
|
88
|
-
}), /* @__PURE__ */ i(f, {
|
|
89
|
-
direction: "row",
|
|
90
|
-
sx: {
|
|
91
|
-
flexWrap: "wrap",
|
|
92
|
-
gap: 2
|
|
93
|
-
},
|
|
94
|
-
children: [
|
|
95
|
-
/* @__PURE__ */ r(e, {
|
|
96
|
-
variant: "outlined",
|
|
97
|
-
color: "primary",
|
|
98
|
-
children: "Primary"
|
|
99
|
-
}),
|
|
100
|
-
/* @__PURE__ */ r(e, {
|
|
101
|
-
variant: "outlined",
|
|
102
|
-
color: "secondary",
|
|
103
|
-
children: "Secondary"
|
|
104
|
-
}),
|
|
105
|
-
/* @__PURE__ */ r(e, {
|
|
106
|
-
variant: "outlined",
|
|
107
|
-
color: "success",
|
|
108
|
-
children: "Success"
|
|
109
|
-
}),
|
|
110
|
-
/* @__PURE__ */ r(e, {
|
|
111
|
-
variant: "outlined",
|
|
112
|
-
color: "warning",
|
|
113
|
-
children: "Warning"
|
|
114
|
-
}),
|
|
115
|
-
/* @__PURE__ */ r(e, {
|
|
116
|
-
variant: "outlined",
|
|
117
|
-
color: "error",
|
|
118
|
-
children: "Error"
|
|
119
|
-
}),
|
|
120
|
-
/* @__PURE__ */ r(e, {
|
|
121
|
-
variant: "outlined",
|
|
122
|
-
color: "info",
|
|
123
|
-
children: "Info"
|
|
124
|
-
})
|
|
125
|
-
]
|
|
126
|
-
})] }),
|
|
127
|
-
/* @__PURE__ */ i(l, { children: [/* @__PURE__ */ r(p, {
|
|
128
|
-
variant: "h6",
|
|
129
|
-
sx: { mb: 2 },
|
|
130
|
-
children: "Button Sizes"
|
|
131
|
-
}), /* @__PURE__ */ i(f, {
|
|
132
|
-
direction: "row",
|
|
133
|
-
sx: {
|
|
134
|
-
alignItems: "center",
|
|
135
|
-
flexWrap: "wrap",
|
|
136
|
-
gap: 2
|
|
137
|
-
},
|
|
138
|
-
children: [
|
|
139
|
-
/* @__PURE__ */ r(e, {
|
|
140
|
-
variant: "contained",
|
|
141
|
-
color: "primary",
|
|
142
|
-
size: "small",
|
|
143
|
-
children: "Small"
|
|
144
|
-
}),
|
|
145
|
-
/* @__PURE__ */ r(e, {
|
|
146
|
-
variant: "contained",
|
|
147
|
-
color: "primary",
|
|
148
|
-
size: "medium",
|
|
149
|
-
children: "Medium"
|
|
150
|
-
}),
|
|
151
|
-
/* @__PURE__ */ r(e, {
|
|
152
|
-
variant: "contained",
|
|
153
|
-
color: "primary",
|
|
154
|
-
size: "large",
|
|
155
|
-
children: "Large"
|
|
156
|
-
})
|
|
157
|
-
]
|
|
158
|
-
})] }),
|
|
159
|
-
/* @__PURE__ */ i(l, { children: [/* @__PURE__ */ r(p, {
|
|
160
|
-
variant: "h6",
|
|
161
|
-
sx: { mb: 2 },
|
|
162
|
-
children: "Button States"
|
|
163
|
-
}), /* @__PURE__ */ i(f, {
|
|
164
|
-
direction: "row",
|
|
165
|
-
sx: {
|
|
166
|
-
flexWrap: "wrap",
|
|
167
|
-
gap: 2
|
|
168
|
-
},
|
|
169
|
-
children: [
|
|
170
|
-
/* @__PURE__ */ r(e, {
|
|
171
|
-
variant: "contained",
|
|
172
|
-
color: "primary",
|
|
173
|
-
children: "Default"
|
|
174
|
-
}),
|
|
175
|
-
/* @__PURE__ */ r(e, {
|
|
176
|
-
variant: "contained",
|
|
177
|
-
color: "primary",
|
|
178
|
-
disabled: !0,
|
|
179
|
-
children: "Disabled"
|
|
180
|
-
}),
|
|
181
|
-
/* @__PURE__ */ r(e, {
|
|
182
|
-
variant: "outlined",
|
|
183
|
-
color: "primary",
|
|
184
|
-
disabled: !0,
|
|
185
|
-
children: "Disabled Outlined"
|
|
186
|
-
}),
|
|
187
|
-
/* @__PURE__ */ r(e, {
|
|
188
|
-
variant: "text",
|
|
189
|
-
color: "primary",
|
|
190
|
-
disabled: !0,
|
|
191
|
-
children: "Disabled Text"
|
|
192
|
-
})
|
|
193
|
-
]
|
|
194
|
-
})] }),
|
|
195
|
-
/* @__PURE__ */ i(l, { children: [/* @__PURE__ */ r(p, {
|
|
196
|
-
variant: "h6",
|
|
197
|
-
sx: { mb: 2 },
|
|
198
|
-
children: "Buttons with Icons"
|
|
199
|
-
}), /* @__PURE__ */ i(f, {
|
|
200
|
-
direction: "row",
|
|
201
|
-
sx: {
|
|
202
|
-
flexWrap: "wrap",
|
|
203
|
-
gap: 2
|
|
204
|
-
},
|
|
205
|
-
children: [
|
|
206
|
-
/* @__PURE__ */ r(e, {
|
|
207
|
-
variant: "contained",
|
|
208
|
-
color: "primary",
|
|
209
|
-
startIcon: /* @__PURE__ */ r(a, {}),
|
|
210
|
-
children: "Start Icon"
|
|
211
|
-
}),
|
|
212
|
-
/* @__PURE__ */ r(e, {
|
|
213
|
-
variant: "contained",
|
|
214
|
-
color: "secondary",
|
|
215
|
-
endIcon: /* @__PURE__ */ r(s, {}),
|
|
216
|
-
children: "End Icon"
|
|
217
|
-
}),
|
|
218
|
-
/* @__PURE__ */ r(e, {
|
|
219
|
-
variant: "outlined",
|
|
220
|
-
color: "success",
|
|
221
|
-
startIcon: /* @__PURE__ */ r(c, {}),
|
|
222
|
-
children: "Outlined + Icon"
|
|
223
|
-
}),
|
|
224
|
-
/* @__PURE__ */ r(e, {
|
|
225
|
-
variant: "text",
|
|
226
|
-
color: "error",
|
|
227
|
-
endIcon: /* @__PURE__ */ r(o, {}),
|
|
228
|
-
children: "Text + Icon"
|
|
229
|
-
})
|
|
230
|
-
]
|
|
231
|
-
})] }),
|
|
232
|
-
/* @__PURE__ */ i(l, { children: [/* @__PURE__ */ r(p, {
|
|
233
|
-
variant: "h6",
|
|
234
|
-
sx: { mb: 2 },
|
|
235
|
-
children: "Form Components"
|
|
236
|
-
}), /* @__PURE__ */ i(f, {
|
|
237
|
-
sx: { gap: 2 },
|
|
238
|
-
children: [
|
|
239
|
-
/* @__PURE__ */ r(t, {
|
|
240
|
-
label: "Enhanced Text Field",
|
|
241
|
-
value: m,
|
|
242
|
-
onChange: (e) => h(e.target.value),
|
|
243
|
-
placeholder: "Enter text here...",
|
|
244
|
-
helperText: "This is an enhanced STextField component"
|
|
245
|
-
}),
|
|
246
|
-
/* @__PURE__ */ r(t, {
|
|
247
|
-
label: "Password Field",
|
|
248
|
-
type: "password",
|
|
249
|
-
placeholder: "Enter password...",
|
|
250
|
-
helperText: "Password input with custom styling"
|
|
251
|
-
}),
|
|
252
|
-
/* @__PURE__ */ r(t, {
|
|
253
|
-
label: "Multiline Text",
|
|
254
|
-
multiline: !0,
|
|
255
|
-
rows: 3,
|
|
256
|
-
placeholder: "Enter multiple lines...",
|
|
257
|
-
helperText: "Multiline text input"
|
|
258
|
-
})
|
|
259
|
-
]
|
|
260
|
-
})] })
|
|
261
|
-
]
|
|
262
|
-
}) }) }) });
|
|
263
|
-
};
|
|
264
|
-
//#endregion
|
|
265
|
-
export { m as SoloStylistSection };
|
|
1
|
+
import { t as e } from "../theme-demo-components-section-C7l_2KAo.js";
|
|
2
|
+
export { e as SoloStylistSection };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as e } from "../useTheme-BIWMbX3i.js";
|
|
2
|
+
import { formatFontSize as t } from "./utils.js";
|
|
3
|
+
import { headingSamples as n } from "./theme-demo-data.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
6
|
import { Box as a, Card as o, CardContent as s, Stack as c, Typography as l } from "@mui/material";
|
|
7
7
|
//#region lib/s-theme-demo/theme-demo-typography-section.tsx
|
|
8
8
|
var u = () => {
|
|
9
|
-
let u =
|
|
9
|
+
let u = e();
|
|
10
10
|
return /* @__PURE__ */ r(o, { children: /* @__PURE__ */ i(s, { children: [/* @__PURE__ */ r(l, {
|
|
11
11
|
variant: "h6",
|
|
12
12
|
sx: { mb: 2 },
|
|
@@ -16,25 +16,25 @@ var u = () => {
|
|
|
16
16
|
children: /* @__PURE__ */ i(c, {
|
|
17
17
|
spacing: 2,
|
|
18
18
|
children: [
|
|
19
|
-
|
|
20
|
-
let s = u.typography[
|
|
19
|
+
n.map(({ variant: e, label: n, description: o }) => {
|
|
20
|
+
let s = u.typography[e];
|
|
21
21
|
return /* @__PURE__ */ i(a, { children: [/* @__PURE__ */ r(l, {
|
|
22
|
-
variant:
|
|
22
|
+
variant: e,
|
|
23
23
|
gutterBottom: !0,
|
|
24
24
|
children: n
|
|
25
25
|
}), /* @__PURE__ */ i(l, {
|
|
26
26
|
variant: "caption",
|
|
27
27
|
children: [
|
|
28
|
-
|
|
28
|
+
e,
|
|
29
29
|
" - ",
|
|
30
|
-
|
|
30
|
+
t(s.fontSize, u.typography.htmlFontSize),
|
|
31
31
|
", Weight",
|
|
32
32
|
" ",
|
|
33
33
|
s.fontWeight,
|
|
34
34
|
" - ",
|
|
35
35
|
o
|
|
36
36
|
]
|
|
37
|
-
})] },
|
|
37
|
+
})] }, e);
|
|
38
38
|
}),
|
|
39
39
|
/* @__PURE__ */ i(a, { children: [/* @__PURE__ */ r(l, {
|
|
40
40
|
variant: "body1",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../theme-primitives-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../theme-primitives-CXtaMdVj.js";
|
|
2
2
|
import { components as s } from "../theme/components/components.js";
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as e } from "../s-theme-switch-BFWpADh3.js";
|
|
2
2
|
export { e as SThemeSwitch, e as default };
|
|
@@ -1,60 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { DarkMode as i, LightMode as a } from "@mui/icons-material";
|
|
4
|
-
import { IconButton as o, styled as s, useColorScheme as c, useMediaQuery as l, useThemeProps as u } from "@mui/material";
|
|
5
|
-
import { useForkRef as d } from "@mui/material/utils";
|
|
6
|
-
import { flushSync as f } from "react-dom";
|
|
7
|
-
//#region lib/s-theme-switch/s-theme-switch.tsx
|
|
8
|
-
var p = s(o, {
|
|
9
|
-
name: "SThemeSwitch",
|
|
10
|
-
slot: "Root"
|
|
11
|
-
})({}), m = e(function(e, o) {
|
|
12
|
-
let s = u({
|
|
13
|
-
props: e,
|
|
14
|
-
name: "SThemeSwitch"
|
|
15
|
-
}), { mode: m, onClick: h, setMode: g, "aria-label": _, ...v } = s, y = n(null), b = d(y, o), { mode: x, setMode: S, systemMode: C } = c(), w = l("(prefers-reduced-motion: reduce)"), T = m ?? x, E = (T === "system" ? C : T) === "dark", D = {
|
|
16
|
-
...s,
|
|
17
|
-
mode: T
|
|
18
|
-
}, O = t(() => {
|
|
19
|
-
let e = E ? "light" : "dark";
|
|
20
|
-
g ? g(e) : S(e);
|
|
21
|
-
}, [
|
|
22
|
-
E,
|
|
23
|
-
S,
|
|
24
|
-
g
|
|
25
|
-
]), k = t(async (e) => {
|
|
26
|
-
if (h?.(e), e.defaultPrevented) return;
|
|
27
|
-
if (w || !y.current || typeof document > "u" || !document.startViewTransition) {
|
|
28
|
-
O();
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
await document.startViewTransition(() => {
|
|
32
|
-
f(() => {
|
|
33
|
-
O();
|
|
34
|
-
});
|
|
35
|
-
}).ready;
|
|
36
|
-
let t = y.current;
|
|
37
|
-
if (!t) return;
|
|
38
|
-
let { top: n, left: r, width: i, height: a } = t.getBoundingClientRect(), o = r + i / 2, s = n + a / 2, c = Math.hypot(Math.max(o, window.innerWidth - o), Math.max(s, window.innerHeight - s));
|
|
39
|
-
document.documentElement.animate({ clipPath: [`circle(0px at ${o}px ${s}px)`, `circle(${c}px at ${o}px ${s}px)`] }, {
|
|
40
|
-
duration: 700,
|
|
41
|
-
easing: "ease-in-out",
|
|
42
|
-
pseudoElement: "::view-transition-new(root)"
|
|
43
|
-
});
|
|
44
|
-
}, [
|
|
45
|
-
h,
|
|
46
|
-
w,
|
|
47
|
-
O
|
|
48
|
-
]);
|
|
49
|
-
return /* @__PURE__ */ r(p, {
|
|
50
|
-
...v,
|
|
51
|
-
ref: b,
|
|
52
|
-
"aria-label": _ ?? (E ? "Switch to light mode" : "Switch to dark mode"),
|
|
53
|
-
onClick: k,
|
|
54
|
-
ownerState: D,
|
|
55
|
-
children: r(E ? a : i, {})
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
m.displayName = "SThemeSwitch";
|
|
59
|
-
//#endregion
|
|
60
|
-
export { m as SThemeSwitch, m as default };
|
|
1
|
+
import { t as e } from "../s-theme-switch-BFWpADh3.js";
|
|
2
|
+
export { e as SThemeSwitch, e as default };
|