@solostylist/ui-kit 1.0.230 → 2.0.0
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-COc9VdNg.js +6 -0
- package/dist/{ArrowUpward-CNiENJp2.js → ArrowUpward-D88i2k4q.js} +1 -1
- package/dist/Box-9oeZgA1U.js +46 -0
- package/dist/Button-DgIFcM44.js +534 -0
- package/dist/{ButtonBase-BDefit5I.js → ButtonBase-DxKtpFYs.js} +298 -271
- package/dist/Checkbox-BoZu9z2l.js +152 -0
- package/dist/{ChevronRight-gZJ3kc6N.js → ChevronRight-BxsM4W78.js} +1 -1
- package/dist/{Close-CJu3iF1p.js → Close-o4HFfK0I.js} +1 -1
- package/dist/Collapse-zgIFP5Sj.js +266 -0
- package/dist/{ContentCopy-BMQ2JTA0.js → ContentCopy-5unyTYXy.js} +1 -1
- package/dist/DefaultPropsProvider-ebWx4_5E.js +128 -0
- package/dist/DialogContent-CAry6lVf.js +450 -0
- package/dist/{Download-SNal6U7j.js → Download-DtvoRwpl.js} +1 -1
- package/dist/{ExpandMore-DIsT5FOp.js → ExpandMore-Ba5bg6s-.js} +1 -1
- package/dist/{Favorite-CbvuQfe4.js → Favorite-B_GsElm0.js} +1 -1
- package/dist/FormControl-BxmM9UP6.js +221 -0
- package/dist/FormControlLabel-DzgppcC_.js +173 -0
- package/dist/Grow-zRRuwUl-.js +121 -0
- package/dist/{InfoOutlined-BCzG-5py.js → InfoOutlined-VC7X46pc.js} +1 -1
- package/dist/List-CnGIAXAS.js +103 -0
- package/dist/ListContext-B1HQt3OD.js +6 -0
- package/dist/Menu-C4Zabc9U.js +504 -0
- package/dist/{MenuItem-IOMcBScJ.js → MenuItem-rXJfQzDC.js} +33 -30
- package/dist/{MenuList-vtqACjea.js → MenuList-DDV8J-yd.js} +105 -101
- package/dist/Modal-jAiibALV.js +707 -0
- package/dist/Paper-ixxCeml9.js +115 -0
- package/dist/Popper-CVYyMS3c.js +1350 -0
- package/dist/Portal-AnyvFRC4.js +53 -0
- package/dist/RtlProvider-B7uVJXUY.js +19 -0
- package/dist/Skeleton-iZFynl7z.js +220 -0
- package/dist/{Stack-BQkLmLFp.js → Stack-UMc4dV4G.js} +26 -25
- package/dist/SwitchBase-D7zqrstO.js +198 -0
- package/dist/Tooltip-DbCd6rgF.js +447 -0
- package/dist/{Typography-CZ_MYa-E.js → Typography-yXjc7kVP.js} +29 -27
- package/dist/{UnfoldMoreRounded-tvqQS6eb.js → UnfoldMoreRounded-DsN0HVDV.js} +1 -1
- package/dist/appendOwnerState-CELpvdMz.js +17 -0
- package/dist/{autocomplete-Dd4zjpaF.js → autocomplete-B_4y84Ba.js} +2 -2
- package/dist/{avatar-DFQ5F7pY.js → avatar-BHuZu3DN.js} +1 -1
- package/dist/{buttonBaseClasses-BVDyR-hz.js → buttonBaseClasses-BvBqFLb_.js} +2 -2
- package/dist/capitalize-CccCFNpQ.js +5 -0
- package/dist/checkbox-BKMZEVU5.js +88 -0
- package/dist/{checkboxClasses-DANc9lnq.js → checkboxClasses-CEsqS4sc.js} +2 -2
- package/dist/clsx-DGZSe4Nt.js +16 -0
- package/dist/colorManipulator-DmUjcif3.js +129 -0
- package/dist/colors-DKqWMRgW.js +180 -0
- package/dist/contains-WOhYaq1E.js +16 -0
- package/dist/{createSvgIcon-HW-tbFcL.js → createSvgIcon-B0SZlJF1.js} +22 -20
- package/dist/createTheme-xB2Em0Na.js +1869 -0
- package/dist/{styled-engine-DOxAQ3qw.js → defaultTheme-BaGcIzCh.js} +72 -52
- package/dist/elementAcceptingRef-DhkNAkFH.js +472 -0
- package/dist/exactProp-C_IsucXf.js +13 -0
- package/dist/field-label-styles-BOyhp6gw.js +50 -0
- package/dist/{formLabelClasses-LXZqWZfM.js → formLabelClasses-B0Fa-86T.js} +2 -2
- package/dist/{generateUtilityClasses-XrPHiTcM.js → generateUtilityClasses-DvX505Gy.js} +1 -1
- package/dist/gradients-90SYkAC0.js +199 -0
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.js +4 -5
- package/dist/hooks/use-countdown.js +69 -47
- package/dist/{iconButtonClasses-LyjwljJq.js → iconButtonClasses-CkciZuIe.js} +2 -2
- package/dist/{inputAdornmentClasses-ZoGTcUz5.js → inputAdornmentClasses-D5yYK5bM.js} +2 -2
- package/dist/inputBaseClasses-DuWQGq8Z.js +25 -0
- package/dist/integerPropType-Disnft4a.js +27 -0
- package/dist/isEventHandler-8dPdzK9U.js +7 -0
- package/dist/isFocusVisible-Y7157FQS.js +35 -0
- package/dist/isLayoutSupported-Ceir7nyK.js +21 -0
- package/dist/listItemButtonClasses-DbL-aTVf.js +18 -0
- package/dist/main.d.ts +7 -2
- package/dist/main.js +2 -0
- package/dist/memoTheme-qFyKAk7y.js +15 -0
- package/dist/{mergeSlotProps-slENzJO5.js → mergeSlotProps-xl1-PgWL.js} +2 -2
- package/dist/{monthCalendarClasses-BLfBep-t.js → monthCalendarClasses-BYVHyEfI.js} +2 -2
- package/dist/{extends-DM-C9PwL.js → objectWithoutPropertiesLoose-Cpds-4w8.js} +12 -1
- package/dist/outlinedInputClasses-DECY98u0.js +17 -0
- package/dist/palettes/index.d.ts +11 -0
- package/dist/palettes/index.js +2 -0
- package/dist/palettes-Dw3PEYF5.js +1765 -0
- package/dist/pickersCalendarHeaderClasses-CIj0gBye.js +12 -0
- package/dist/prop-types-BzYPyWN7.js +516 -0
- package/dist/{resolveProps-DrnBChYC.js → resolveProps-7jIA45vn.js} +1 -1
- package/dist/s-accordion/index.d.ts +2 -1
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.d.ts +39 -19
- package/dist/s-accordion/s-accordion.js +1 -1
- package/dist/s-accordion-B8nlrdFc.js +487 -0
- package/dist/s-action-overlay/index.d.ts +2 -1
- package/dist/s-action-overlay/s-action-overlay.d.ts +52 -51
- package/dist/s-action-overlay/s-action-overlay.js +106 -107
- package/dist/s-autocomplete/index.d.ts +2 -1
- package/dist/s-autocomplete/s-autocomplete.d.ts +25 -8
- package/dist/s-autocomplete/s-autocomplete.js +33 -22
- package/dist/s-avatar/index.d.ts +2 -1
- package/dist/s-avatar/s-avatar.d.ts +36 -18
- package/dist/s-avatar/s-avatar.js +53 -27
- package/dist/s-blur-text/index.d.ts +1 -0
- package/dist/s-blur-text/s-blur-text.d.ts +3 -3
- package/dist/s-blur-text/s-blur-text.js +68 -40
- package/dist/s-brand-logo/index.d.ts +3 -0
- package/dist/s-brand-logo/index.js +2 -0
- package/dist/s-brand-logo/s-brand-logo.d.ts +15 -0
- package/dist/s-brand-logo/s-brand-logo.js +2 -0
- package/dist/s-brand-logo-jtAJZQIv.js +123 -0
- package/dist/s-breadcrumbs/index.d.ts +2 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.d.ts +5 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +72 -37
- package/dist/s-button/s-button.d.ts +3 -5
- package/dist/s-button/s-button.js +3 -9
- package/dist/s-carousel/index.d.ts +3 -1
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.d.ts +18 -8
- package/dist/s-carousel/s-carousel.js +1 -1
- package/dist/{s-carousel-CvmWl6Sc.js → s-carousel-Dnjke4JQ.js} +322 -293
- package/dist/s-category-card/index.d.ts +2 -1
- package/dist/s-category-card/s-category-card.d.ts +38 -51
- package/dist/s-category-card/s-category-card.js +88 -56
- package/dist/s-chat-input/index.d.ts +2 -1
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.d.ts +41 -6
- package/dist/s-chat-input/s-chat-input.js +1 -1
- package/dist/{s-chat-input-BHMymKij.js → s-chat-input-DCS0mJE4.js} +224 -157
- package/dist/s-chat-message/index.d.ts +2 -1
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.d.ts +6 -3
- package/dist/s-chat-message/s-chat-message.js +1 -1
- package/dist/s-chat-message-9oollJJq.js +315 -0
- package/dist/s-checkbox/index.d.ts +2 -1
- package/dist/s-checkbox/s-checkbox.d.ts +33 -11
- package/dist/s-checkbox/s-checkbox.js +45 -34
- package/dist/s-chip/s-chip.d.ts +3 -5
- package/dist/s-chip/s-chip.js +3 -9
- package/dist/s-chips/index.d.ts +2 -1
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.d.ts +50 -28
- package/dist/s-chips/s-chips.js +1 -1
- package/dist/s-chips-WqGdqHW9.js +176 -0
- package/dist/s-code-block/index.d.ts +3 -1
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.d.ts +30 -28
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/{s-code-block-DEojINTt.js → s-code-block-DzGoGg5e.js} +66 -38
- package/dist/s-comment-message/index.d.ts +1 -0
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.d.ts +6 -8
- package/dist/s-comment-message/s-comment-message.js +1 -1
- package/dist/s-comment-message-C6kfgRjv.js +191 -0
- package/dist/s-copyable-text/index.d.ts +2 -1
- package/dist/s-copyable-text/s-copyable-text.d.ts +34 -17
- package/dist/s-copyable-text/s-copyable-text.js +55 -33
- package/dist/s-countdown/index.d.ts +4 -3
- package/dist/s-countdown/index.js +1 -1
- package/dist/s-countdown/s-count-box.d.ts +39 -32
- package/dist/s-countdown/s-count-box.js +104 -87
- package/dist/s-countdown/s-countdown.d.ts +3 -10
- package/dist/s-countdown/s-countdown.js +86 -70
- package/dist/s-data-table/index.d.ts +2 -1
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.d.ts +15 -7
- package/dist/s-data-table/s-data-table.js +1 -1
- package/dist/s-data-table-B1TGVupB.js +805 -0
- package/dist/s-date-picker/index.d.ts +3 -1
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/picker-action-bar.js +43 -42
- package/dist/s-date-picker/s-date-picker.d.ts +9 -5
- package/dist/s-date-picker/s-date-picker.js +1 -1
- package/dist/s-date-picker-BpX4HmBp.js +656 -0
- package/dist/s-datetime-picker/index.d.ts +3 -1
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +9 -5
- package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
- package/dist/{s-datetime-picker-DnIK-QnQ.js → s-datetime-picker-ByzW44E0.js} +1327 -1286
- package/dist/s-dialog/index.d.ts +2 -1
- package/dist/s-dialog/index.js +1 -1
- package/dist/s-dialog/s-dialog.d.ts +44 -22
- package/dist/s-dialog/s-dialog.js +2 -43
- package/dist/s-dialog-BLiyjLkx.js +123 -0
- package/dist/s-dialog-confirm/index.d.ts +2 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +46 -62
- package/dist/s-dialog-confirm/s-dialog-confirm.js +95 -76
- package/dist/s-dialog-message/index.d.ts +2 -1
- package/dist/s-dialog-message/s-dialog-message.d.ts +34 -51
- package/dist/s-dialog-message/s-dialog-message.js +76 -68
- package/dist/s-empty/index.d.ts +1 -0
- package/dist/s-empty/s-empty.d.ts +5 -10
- package/dist/s-empty/s-empty.js +28 -9
- package/dist/s-file-dropzone/index.d.ts +3 -1
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.d.ts +49 -26
- package/dist/s-file-dropzone/s-file-dropzone.js +1 -1
- package/dist/s-file-dropzone-CVQpYRdY.js +422 -0
- package/dist/s-file-icon/index.d.ts +1 -0
- package/dist/s-file-icon/s-file-icon.d.ts +3 -5
- package/dist/s-file-icon/s-file-icon.js +119 -98
- package/dist/s-flex-box/index.d.ts +2 -1
- package/dist/s-flex-box/s-flex-box.d.ts +12 -14
- package/dist/s-flex-box/s-flex-box.js +20 -19
- package/dist/s-form/index.d.ts +2 -1
- package/dist/s-form/s-form.d.ts +33 -18
- package/dist/s-form/s-form.js +50 -21
- package/dist/s-gallery/gallery-grid-item.d.ts +3 -1
- package/dist/s-gallery/gallery-grid-item.js +128 -99
- package/dist/s-gallery/gallery-layout.d.ts +1 -1
- package/dist/s-gallery/gallery-media-item.d.ts +3 -3
- package/dist/s-gallery/gallery-media-item.js +45 -50
- package/dist/s-gallery/index.d.ts +2 -1
- package/dist/s-gallery/s-gallery.d.ts +14 -3
- package/dist/s-gallery/s-gallery.js +70 -51
- package/dist/s-glow-button/index.d.ts +2 -1
- package/dist/s-glow-button/index.js +1 -1
- package/dist/s-glow-button/s-glow-button.d.ts +14 -9
- package/dist/s-glow-button/s-glow-button.js +47 -25
- package/dist/s-gradient-icon/index.d.ts +2 -1
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +17 -9
- package/dist/s-gradient-icon/s-gradient-icon.js +81 -69
- package/dist/s-icon-button/index.d.ts +2 -1
- package/dist/s-icon-button/s-icon-button.d.ts +31 -13
- package/dist/s-icon-button/s-icon-button.js +48 -9
- package/dist/s-image-comparison/index.d.ts +2 -1
- package/dist/s-image-comparison/index.js +1 -1
- package/dist/s-image-comparison/s-image-comparison.d.ts +13 -3
- package/dist/s-image-comparison/s-image-comparison.js +197 -98
- package/dist/{s-image-modal → s-image-viewer}/default-media-item.d.ts +0 -1
- package/dist/s-image-viewer/default-media-item.js +30 -0
- package/dist/s-image-viewer/image-viewer-thumbnail-dock.d.ts +12 -0
- package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +102 -0
- package/dist/s-image-viewer/index.d.ts +4 -0
- package/dist/s-image-viewer/index.js +3 -0
- package/dist/s-image-viewer/s-image-viewer.d.ts +4 -0
- package/dist/s-image-viewer/s-image-viewer.js +2 -0
- package/dist/{s-image-modal → s-image-viewer}/types.d.ts +27 -10
- package/dist/s-image-viewer/use-image-viewer-navigation.d.ts +29 -0
- package/dist/s-image-viewer/use-image-viewer-navigation.js +75 -0
- package/dist/s-image-viewer-DNIEYdtL.js +269 -0
- package/dist/s-label/index.d.ts +2 -1
- package/dist/s-label/s-label.d.ts +35 -18
- package/dist/s-label/s-label.js +65 -23
- package/dist/s-language-switcher/index.d.ts +2 -1
- package/dist/s-language-switcher/index.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.d.ts +25 -18
- package/dist/s-language-switcher/s-language-switcher.js +1 -1
- package/dist/s-language-switcher-D-1nywT3.js +251 -0
- package/dist/s-lazy-image/index.d.ts +2 -1
- package/dist/s-lazy-image/index.js +1 -1
- package/dist/s-lazy-image/s-lazy-image.d.ts +45 -24
- package/dist/s-lazy-image/s-lazy-image.js +79 -41
- package/dist/s-link/index.js +1 -1
- package/dist/s-link/s-link.d.ts +4 -33
- package/dist/s-link/s-link.js +2 -37
- package/dist/s-link-CAMTGfd9.js +234 -0
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.d.ts +3 -5
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/{s-localization-provider-l5J7myJJ.js → s-localization-provider-Xw3NO2uP.js} +22 -22
- package/dist/s-moving-border/index.d.ts +2 -1
- package/dist/s-moving-border/s-moving-border.d.ts +8 -2
- package/dist/s-moving-border/s-moving-border.js +100 -71
- package/dist/s-nav-item/index.d.ts +2 -1
- package/dist/s-nav-item/s-nav-item.d.ts +39 -31
- package/dist/s-nav-item/s-nav-item.js +66 -67
- package/dist/s-nav-items/index.d.ts +2 -1
- package/dist/s-nav-items/index.js +2 -2
- package/dist/s-nav-items/s-nav-items.d.ts +13 -10
- package/dist/s-nav-items/s-nav-items.js +2 -151
- package/dist/s-nav-items-BUp7DddG.js +327 -0
- package/dist/s-no-ssr/index.js +1 -1
- package/dist/s-no-ssr/s-no-ssr.d.ts +4 -16
- package/dist/s-no-ssr/s-no-ssr.js +2 -15
- package/dist/s-no-ssr-D8tPdDfh.js +25 -0
- package/dist/s-overlay-scrollbar/index.d.ts +3 -1
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +10 -8
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +28 -16
- package/dist/s-pagination/index.d.ts +2 -1
- package/dist/s-pagination/index.js +1 -1
- package/dist/s-pagination/s-pagination.d.ts +14 -49
- package/dist/s-pagination/s-pagination.js +2 -50
- package/dist/s-pagination/types.d.ts +23 -1
- package/dist/s-pagination/types.js +8 -4
- package/dist/s-pagination-Dt8Pk5Tp.js +606 -0
- package/dist/s-pixel-reveal/index.d.ts +2 -1
- package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +10 -2
- package/dist/s-pixel-reveal/s-pixel-reveal.js +124 -86
- package/dist/s-quantity-input/index.d.ts +3 -0
- package/dist/s-quantity-input/index.js +2 -0
- package/dist/s-quantity-input/s-quantity-input.d.ts +114 -0
- package/dist/s-quantity-input/s-quantity-input.js +2 -0
- package/dist/s-quantity-input-mYCixlJc.js +246 -0
- package/dist/s-radial-pulse-animate/index.d.ts +2 -1
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +7 -7
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +50 -52
- package/dist/s-rating/s-rating.d.ts +3 -5
- package/dist/s-rating/s-rating.js +3 -9
- package/dist/s-review/index.d.ts +2 -1
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.d.ts +25 -10
- package/dist/s-review/s-review.js +1 -1
- package/dist/s-review-DSXXtWlL.js +272 -0
- package/dist/s-scroll-reveal/index.d.ts +3 -1
- package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +14 -6
- package/dist/s-scroll-reveal/s-scroll-reveal.js +80 -61
- package/dist/s-scroll-to-top/index.d.ts +2 -1
- package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +15 -16
- package/dist/s-scroll-to-top/s-scroll-to-top.js +57 -29
- package/dist/s-scroll-velocity/index.d.ts +2 -1
- package/dist/s-scroll-velocity/s-scroll-velocity.d.ts +11 -7
- package/dist/s-scroll-velocity/s-scroll-velocity.js +27 -10
- package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +2 -2
- package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -18
- package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +5 -3
- package/dist/s-scroll-velocity/scroll-velocity-row.js +82 -68
- package/dist/s-select/index.d.ts +2 -1
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.d.ts +25 -11
- package/dist/s-select/s-select.js +1 -1
- package/dist/s-select-dwY2DYa9.js +204 -0
- package/dist/s-select-list/index.d.ts +2 -1
- package/dist/s-select-list/s-select-list.d.ts +57 -18
- package/dist/s-select-list/s-select-list.js +159 -32
- package/dist/s-skeleton/index.d.ts +2 -1
- package/dist/s-skeleton/s-skeleton.d.ts +21 -22
- package/dist/s-skeleton/s-skeleton.js +41 -39
- package/dist/s-snackbar-message/index.d.ts +2 -1
- package/dist/s-snackbar-message/index.js +2 -2
- package/dist/s-snackbar-message/s-snackbar-message.d.ts +40 -51
- package/dist/s-snackbar-message/s-snackbar-message.js +2 -52
- package/dist/s-snackbar-message-3Z6VySlB.js +808 -0
- package/dist/s-spotlight-cursor/index.d.ts +2 -1
- package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +23 -20
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +83 -58
- package/dist/s-status-illustration/index.d.ts +3 -0
- package/dist/s-status-illustration/index.js +2 -0
- package/dist/s-status-illustration/s-status-illustration.d.ts +57 -0
- package/dist/s-status-illustration/s-status-illustration.js +429 -0
- package/dist/s-stripe/index.d.ts +6 -1
- package/dist/s-stripe/s-stripe-cvc.d.ts +3 -1
- package/dist/s-stripe/s-stripe-expiry.d.ts +3 -1
- package/dist/s-stripe/s-stripe-number.d.ts +3 -1
- package/dist/s-stripe/s-stripe.d.ts +10 -3
- package/dist/s-stripe/s-stripe.js +55 -28
- package/dist/s-stripe/stripe-input.js +46 -19
- package/dist/s-switch/index.d.ts +2 -1
- package/dist/s-switch/index.js +1 -1
- package/dist/s-switch/s-switch.d.ts +33 -11
- package/dist/s-switch/s-switch.js +2 -38
- package/dist/s-switch-B8bZAzLh.js +307 -0
- package/dist/s-tabs/index.d.ts +5 -3
- package/dist/s-tabs/index.js +5 -4
- package/dist/s-tabs/s-tab-panel.d.ts +12 -10
- package/dist/s-tabs/s-tab-panel.js +26 -19
- package/dist/s-tabs/s-tab.d.ts +3 -2
- package/dist/s-tabs/s-tab.js +3 -9
- package/dist/s-tabs/s-tabs.d.ts +46 -32
- package/dist/s-tabs/s-tabs.js +78 -37
- package/dist/s-tabs/tab-ids.d.ts +3 -0
- package/dist/s-tabs/tab-ids.js +9 -0
- package/dist/s-text-editor/index.d.ts +4 -2
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.d.ts +9 -2
- package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
- package/dist/s-text-editor/s-text-editor.d.ts +7 -2
- package/dist/s-text-editor/s-text-editor.js +63 -39
- package/dist/s-text-editor-toolbar-D-XgFQix.js +2121 -0
- package/dist/s-text-field/index.d.ts +2 -1
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.d.ts +6 -11
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/s-text-field-BM4qk0mf.js +51 -0
- package/dist/s-text-shimmer/index.d.ts +2 -1
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +16 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +50 -25
- package/dist/s-text-truncation/index.d.ts +2 -1
- package/dist/s-text-truncation/s-text-truncation.d.ts +38 -14
- package/dist/s-text-truncation/s-text-truncation.js +105 -58
- package/dist/s-theme-demo/index.d.ts +2 -1
- package/dist/s-theme-demo/index.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.d.ts +2 -12
- package/dist/s-theme-demo/s-theme-demo.js +77 -2
- package/dist/s-theme-demo/theme-demo-color-palette-section.d.ts +5 -0
- package/dist/s-theme-demo/theme-demo-color-palette-section.js +185 -0
- package/dist/s-theme-demo/theme-demo-color-ramps-section.d.ts +5 -0
- package/dist/s-theme-demo/theme-demo-color-ramps-section.js +125 -0
- package/dist/s-theme-demo/theme-demo-components-section.d.ts +2 -0
- package/dist/s-theme-demo/theme-demo-components-section.js +2 -0
- package/dist/s-theme-demo/theme-demo-data.d.ts +7 -0
- package/dist/s-theme-demo/theme-demo-data.js +45 -0
- package/dist/s-theme-demo/theme-demo-interactive-section.d.ts +2 -0
- package/dist/s-theme-demo/theme-demo-interactive-section.js +95 -0
- package/dist/s-theme-demo/theme-demo-shadow-section.d.ts +5 -0
- package/dist/s-theme-demo/theme-demo-shadow-section.js +52 -0
- package/dist/s-theme-demo/theme-demo-typography-section.d.ts +5 -0
- package/dist/s-theme-demo/theme-demo-typography-section.js +129 -0
- package/dist/s-theme-demo/types.d.ts +17 -0
- package/dist/s-theme-demo/types.js +0 -0
- package/dist/s-theme-demo/utils.d.ts +2 -0
- package/dist/s-theme-demo/utils.js +9 -0
- package/dist/s-theme-provider/index.d.ts +1 -0
- package/dist/s-theme-provider/s-theme-provider.js +30 -31
- package/dist/s-theme-switch/index.d.ts +2 -1
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.d.ts +6 -4
- package/dist/s-theme-switch/s-theme-switch.js +2 -2
- package/dist/s-theme-switch-BLMz1_m2.js +60 -0
- package/dist/s-tip/index.d.ts +2 -1
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.d.ts +29 -11
- package/dist/s-tip/s-tip.js +1 -1
- package/dist/s-tip-ty41ePQm.js +62 -0
- package/dist/s-toggle-button/index.d.ts +2 -0
- package/dist/s-toggle-button/index.js +2 -0
- package/dist/s-toggle-button/s-toggle-button.d.ts +6 -0
- package/dist/s-toggle-button/s-toggle-button.js +5 -0
- package/dist/s-tool-bar/index.d.ts +2 -1
- package/dist/s-tool-bar/s-tool-bar.d.ts +2 -5
- package/dist/s-tool-bar/s-tool-bar.js +100 -71
- package/dist/s-tool-bar/tool-bar-action-buttons.d.ts +3 -3
- package/dist/s-tool-bar/tool-bar-action-buttons.js +1 -1
- package/dist/s-tool-bar/tool-bar-image-input.d.ts +2 -2
- package/dist/s-tool-bar/tool-bar-image-input.js +1 -1
- package/dist/s-tool-bar/tool-bar-inputs.js +140 -113
- package/dist/s-tool-bar/types.d.ts +45 -35
- package/dist/s-tool-bar/utils.d.ts +1 -0
- package/dist/s-tool-bar/utils.js +10 -7
- package/dist/s-tool-item/index.d.ts +2 -1
- package/dist/s-tool-item/s-tool-item.d.ts +35 -30
- package/dist/s-tool-item/s-tool-item.js +111 -56
- package/dist/s-two-pane-layout/index.d.ts +3 -1
- package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +56 -50
- package/dist/s-two-pane-layout/s-two-pane-layout.js +157 -88
- package/dist/s-typewriter-text/index.d.ts +2 -1
- package/dist/s-typewriter-text/s-typewriter-text.d.ts +16 -5
- package/dist/s-typewriter-text/s-typewriter-text.js +50 -27
- package/dist/s-zoom-image/index.d.ts +2 -1
- package/dist/s-zoom-image/s-zoom-image.d.ts +14 -5
- package/dist/s-zoom-image/s-zoom-image.js +66 -44
- package/dist/{selectClasses-C-QpiLPi.js → selectClasses-DoUlWfzV.js} +2 -2
- package/dist/{styled-BTDmdi4c.js → styled-Bog8QCl3.js} +56 -57
- package/dist/{svgIconClasses-BtHvkhy5.js → svgIconClasses-C8D4AsMj.js} +2 -2
- package/dist/switchClasses-eiq1bkQN.js +23 -0
- package/dist/theme/component-augmentation.d.ts +265 -0
- package/dist/theme/component-augmentation.js +0 -0
- package/dist/theme/components/accordion-summary.d.ts +41 -38
- package/dist/theme/components/accordion-summary.js +7 -7
- package/dist/theme/components/accordion.d.ts +21 -13
- package/dist/theme/components/accordion.js +15 -12
- package/dist/theme/components/action-styles.d.ts +1075 -0
- package/dist/theme/components/action-styles.js +71 -0
- package/dist/theme/components/alert.d.ts +169 -140
- package/dist/theme/components/alert.js +15 -4
- package/dist/theme/components/app-bar.d.ts +2 -2
- package/dist/theme/components/autocomplete.js +1 -1
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/backdrop.js +1 -1
- package/dist/theme/components/button-base.d.ts +0 -5
- package/dist/theme/components/button-base.js +1 -10
- package/dist/theme/components/button.d.ts +111 -5275
- package/dist/theme/components/button.js +58 -74
- package/dist/theme/components/card.d.ts +69 -69
- package/dist/theme/components/card.js +11 -10
- package/dist/theme/components/checkbox.d.ts +34 -34
- package/dist/theme/components/checkbox.js +1 -1
- package/dist/theme/components/chip.d.ts +1 -7
- package/dist/theme/components/chip.js +91 -67
- package/dist/theme/components/components.js +6 -6
- package/dist/theme/components/dialog-title.d.ts +2 -2
- package/dist/theme/components/field-label-styles.d.ts +9 -0
- package/dist/theme/components/field-label-styles.js +2 -0
- package/dist/theme/components/form-control.d.ts +1 -1
- package/dist/theme/components/form-control.js +1 -1
- package/dist/theme/components/form-label.d.ts +2 -2
- package/dist/theme/components/form-label.js +1 -1
- package/dist/theme/components/icon-button.d.ts +85 -5228
- package/dist/theme/components/icon-button.js +27 -47
- package/dist/theme/components/input-adornment.d.ts +2 -2
- package/dist/theme/components/linear-progress.d.ts +35 -35
- package/dist/theme/components/linear-progress.js +5 -6
- package/dist/theme/components/link.d.ts +2 -2
- package/dist/theme/components/link.js +7 -9
- package/dist/theme/components/list-item-button.d.ts +120 -46
- package/dist/theme/components/list-item-button.js +27 -20
- package/dist/theme/components/list-item.d.ts +61 -24
- package/dist/theme/components/list-item.js +3 -3
- package/dist/theme/components/list-subheader.d.ts +2 -2
- package/dist/theme/components/month-calendar.d.ts +1049 -6
- package/dist/theme/components/month-calendar.js +24 -15
- package/dist/theme/components/multi-section-digital-clock-section.d.ts +2 -0
- package/dist/theme/components/multi-section-digital-clock-section.js +15 -17
- package/dist/theme/components/outlined-input.d.ts +42 -8
- package/dist/theme/components/outlined-input.js +41 -30
- package/dist/theme/components/pagination-item.d.ts +1038 -1043
- package/dist/theme/components/pagination-item.js +21 -53
- package/dist/theme/components/pagination.js +2 -2
- package/dist/theme/components/picker-day.d.ts +1034 -5
- package/dist/theme/components/picker-day.js +11 -13
- package/dist/theme/components/pickers-calendar-header.d.ts +51 -19
- package/dist/theme/components/pickers-calendar-header.js +48 -25
- package/dist/theme/components/rating.d.ts +12 -0
- package/dist/theme/components/rating.js +4 -1
- package/dist/theme/components/select.js +2 -2
- package/dist/theme/components/slider.d.ts +4 -4
- package/dist/theme/components/step-icon.d.ts +34 -34
- package/dist/theme/components/step-icon.js +9 -10
- package/dist/theme/components/step-label.d.ts +36 -36
- package/dist/theme/components/switch.d.ts +36 -36
- package/dist/theme/components/switch.js +48 -2
- package/dist/theme/components/tab.d.ts +14 -1015
- package/dist/theme/components/tab.js +18 -17
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/tabs.d.ts +20 -1030
- package/dist/theme/components/tabs.js +14 -14
- package/dist/theme/components/toggle-button-group.d.ts +1 -1013
- package/dist/theme/components/toggle-button-group.js +3 -1
- package/dist/theme/components/toggle-button.d.ts +1135 -1014
- package/dist/theme/components/toggle-button.js +1 -1
- package/dist/theme/components/year-calendar.d.ts +1051 -6
- package/dist/theme/components/year-calendar.js +37 -28
- package/dist/theme/optional-component-augmentations/s-carousel.d.ts +14 -0
- package/dist/theme/optional-component-augmentations/s-carousel.js +0 -0
- package/dist/theme/optional-component-augmentations/s-code-block.d.ts +14 -0
- package/dist/theme/optional-component-augmentations/s-code-block.js +0 -0
- package/dist/theme/optional-component-augmentations/s-date-picker.d.ts +14 -0
- package/dist/theme/optional-component-augmentations/s-date-picker.js +0 -0
- package/dist/theme/optional-component-augmentations/s-datetime-picker.d.ts +14 -0
- package/dist/theme/optional-component-augmentations/s-datetime-picker.js +0 -0
- package/dist/theme/optional-component-augmentations/s-file-dropzone.d.ts +14 -0
- package/dist/theme/optional-component-augmentations/s-file-dropzone.js +0 -0
- package/dist/theme/optional-component-augmentations/s-overlay-scrollbar.d.ts +14 -0
- package/dist/theme/optional-component-augmentations/s-overlay-scrollbar.js +0 -0
- package/dist/theme/optional-component-augmentations/s-scroll-reveal.d.ts +14 -0
- package/dist/theme/optional-component-augmentations/s-scroll-reveal.js +0 -0
- package/dist/theme/optional-component-augmentations/s-stripe.d.ts +14 -0
- package/dist/theme/optional-component-augmentations/s-stripe.js +0 -0
- package/dist/theme/optional-component-augmentations/s-text-editor.d.ts +18 -0
- package/dist/theme/optional-component-augmentations/s-text-editor.js +0 -0
- package/dist/theme/optional-component-augmentations/s-two-pane-layout.d.ts +14 -0
- package/dist/theme/optional-component-augmentations/s-two-pane-layout.js +0 -0
- package/dist/theme/theme-primitives.d.ts +51 -8
- package/dist/theme/theme-primitives.js +3 -2
- package/dist/theme-demo-components-section-gtIYRngY.js +267 -0
- package/dist/theme-primitives-Dt_DT9b5.js +255 -0
- package/dist/toggle-button-Cxi5CfXC.js +104 -0
- package/dist/{tool-bar-action-buttons-CSXNDen6.js → tool-bar-action-buttons-Dt-pV3GA.js} +7 -3
- package/dist/tool-bar-image-input-BXlll_hV.js +148 -0
- package/dist/{typographyClasses-CiDYRanL.js → typographyClasses-BLM3NmYd.js} +2 -2
- package/dist/{useControlled-BtZNCHV0.js → useControlled-BeB0W_Ui.js} +1 -1
- package/dist/useEnhancedEffect-Bc3gBClC.js +5 -0
- package/dist/useEventCallback-CVqMfiG_.js +14 -0
- package/dist/{useMobilePicker-CQA6fYLQ.js → useMobilePicker-C4UQFvkj.js} +3366 -5650
- package/dist/useSlot-iIu8ek6E.js +83 -0
- package/dist/useTheme-BIWMbX3i.js +9 -0
- package/dist/{useThemeProps-D4jtjo2I.js → useThemeProps-BI9yq95N.js} +2 -2
- package/dist/useThemeProps-Cr28OQu3.js +13 -0
- package/dist/utils/canvas-color.d.ts +7 -0
- package/dist/utils/canvas-color.js +62 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.js +6 -3
- package/dist/utils/slots.d.ts +12 -0
- package/dist/utils/slots.js +6 -0
- package/dist/utils/sx.d.ts +11 -0
- package/dist/utils/sx.js +4 -0
- package/dist/{utils-CU6O7jrX.js → utils-oJyTAkZY.js} +6 -6
- package/dist/warning-CNkSZkq6.js +98 -0
- package/dist/{yearCalendarClasses-DypEe_Vn.js → yearCalendarClasses-CuAQumpz.js} +2 -2
- package/package.json +1 -1
- package/dist/Box-BlmynALm.js +0 -45
- package/dist/Collapse-JUd84Z9O.js +0 -261
- package/dist/FormControl-DsRIRfTs.js +0 -686
- package/dist/Modal-CLdC2-Th.js +0 -1027
- package/dist/Paper-CPC6sMxx.js +0 -133
- package/dist/Popover-ZneFWo2r.js +0 -333
- package/dist/checkbox-DC-OoGvh.js +0 -74
- package/dist/clsx-Bv8WXdlr.js +0 -34
- package/dist/createTheme-Bnw5w28O.js +0 -2506
- package/dist/defaultTheme-Bi3OTfLN.js +0 -5
- package/dist/hooks/use-is-passed-position.d.ts +0 -1
- package/dist/hooks/use-is-passed-position.js +0 -21
- package/dist/memoTheme-QMocAblm.js +0 -150
- package/dist/objectWithoutPropertiesLoose-kj3TmhoA.js +0 -12
- package/dist/outlinedInputClasses-DPwt_pSZ.js +0 -38
- package/dist/s-accordion-xPDelTvP.js +0 -453
- package/dist/s-chat-message-C-d9amiC.js +0 -270
- package/dist/s-chips-CAC_vVd0.js +0 -99
- package/dist/s-comment-message-Dum0P6de.js +0 -169
- package/dist/s-data-table-DfGYIIvn.js +0 -951
- package/dist/s-date-picker-C06rlE6_.js +0 -640
- package/dist/s-error/index.d.ts +0 -1
- package/dist/s-error/index.js +0 -2
- package/dist/s-error/s-error.d.ts +0 -6
- package/dist/s-error/s-error.js +0 -33
- package/dist/s-error-layout/index.d.ts +0 -2
- package/dist/s-error-layout/index.js +0 -2
- package/dist/s-error-layout/s-error-layout.d.ts +0 -58
- package/dist/s-error-layout/s-error-layout.js +0 -81
- package/dist/s-file-dropzone-C4_hCsN8.js +0 -139
- package/dist/s-image-modal/default-media-item.js +0 -34
- package/dist/s-image-modal/image-modal-thumbnail-dock.d.ts +0 -11
- package/dist/s-image-modal/image-modal-thumbnail-dock.js +0 -102
- package/dist/s-image-modal/index.d.ts +0 -3
- package/dist/s-image-modal/index.js +0 -3
- package/dist/s-image-modal/s-image-modal.d.ts +0 -4
- package/dist/s-image-modal/s-image-modal.js +0 -2
- package/dist/s-image-modal/use-image-modal-navigation.d.ts +0 -29
- package/dist/s-image-modal/use-image-modal-navigation.js +0 -57
- package/dist/s-image-modal-D-Jh-5b3.js +0 -243
- package/dist/s-item-not-found/index.d.ts +0 -2
- package/dist/s-item-not-found/index.js +0 -2
- package/dist/s-item-not-found/s-item-not-found.d.ts +0 -20
- package/dist/s-item-not-found/s-item-not-found.js +0 -243
- package/dist/s-language-switcher-B96dUknj.js +0 -192
- package/dist/s-review-CvTVBxTZ.js +0 -223
- package/dist/s-select-HMWY7frm.js +0 -149
- package/dist/s-text-editor-toolbar-ChtNCg2A.js +0 -2253
- package/dist/s-text-field-DD6nnwwU.js +0 -42
- package/dist/s-theme-demo-Bnv7lPIh.js +0 -867
- package/dist/s-theme-switch-DzXoVmQH.js +0 -37
- package/dist/s-tip-BOGEH1v8.js +0 -34
- package/dist/switch-BSg1TGWH.js +0 -62
- package/dist/tabClasses-CmFw6sbs.js +0 -20
- package/dist/theme-primitives-CiQYd9Cc.js +0 -431
- package/dist/toggle-button-TmtJ4nSp.js +0 -26
- package/dist/toggle-button-group-BCkdd3Jj.js +0 -26
- package/dist/tool-bar-image-input-IdA6l71Y.js +0 -138
- package/dist/useSlot-IwEDsR9t.js +0 -171
- package/dist/warning-CFMmJJnf.js +0 -111
- /package/dist/{createSimplePaletteValueFilter-5v48HHyU.js → createSimplePaletteValueFilter-C1gWywW_.js} +0 -0
- /package/dist/{generateUtilityClass-tRYNDrlH.js → generateUtilityClass-PAIOm1jC.js} +0 -0
- /package/dist/{s-image-modal → s-image-viewer}/types.js +0 -0
- /package/dist/{useControlled-DuSwFVhD.js → useControlled-C4QJnpiR.js} +0 -0
- /package/dist/{useEnhancedEffect-Dsu5K7-Z.js → useEnhancedEffect-DFq_FMGX.js} +0 -0
- /package/dist/{useForkRef-yOYCJHzF.js → useForkRef-CKneCEtr.js} +0 -0
- /package/dist/{useFormControl-CUs308br.js → useFormControl-iWLrn7Ek.js} +0 -0
- /package/dist/{utils-B5Rl6Zwv.js → utils-DaSrTYUS.js} +0 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { n as e } from "./chunk-C_CI6nMA.js";
|
|
2
|
+
import { t } from "./colorManipulator-DmUjcif3.js";
|
|
3
|
+
import { t as n } from "./prop-types-BzYPyWN7.js";
|
|
4
|
+
import { r, t as i } from "./DefaultPropsProvider-ebWx4_5E.js";
|
|
5
|
+
import { c as a } from "./createTheme-xB2Em0Na.js";
|
|
6
|
+
import { t as o } from "./generateUtilityClass-PAIOm1jC.js";
|
|
7
|
+
import { t as s } from "./clsx-DGZSe4Nt.js";
|
|
8
|
+
import { t as c } from "./generateUtilityClasses-DvX505Gy.js";
|
|
9
|
+
import { t as l } from "./styled-Bog8QCl3.js";
|
|
10
|
+
import { t as u } from "./memoTheme-qFyKAk7y.js";
|
|
11
|
+
import { t as d } from "./useTheme-BIWMbX3i.js";
|
|
12
|
+
import { n as f, t as p } from "./isFocusVisible-Y7157FQS.js";
|
|
13
|
+
import { t as m } from "./capitalize-CccCFNpQ.js";
|
|
14
|
+
import { t as h } from "./createSimplePaletteValueFilter-C1gWywW_.js";
|
|
15
|
+
import { t as g } from "./Typography-yXjc7kVP.js";
|
|
16
|
+
import * as _ from "react";
|
|
17
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
18
|
+
//#region ../../node_modules/@mui/material/Link/linkClasses.mjs
|
|
19
|
+
var y = /* @__PURE__ */ e(n(), 1);
|
|
20
|
+
function b(e) {
|
|
21
|
+
return o("MuiLink", e);
|
|
22
|
+
}
|
|
23
|
+
var x = c("MuiLink", [
|
|
24
|
+
"root",
|
|
25
|
+
"underlineNone",
|
|
26
|
+
"underlineHover",
|
|
27
|
+
"underlineAlways",
|
|
28
|
+
"button",
|
|
29
|
+
"focusVisible"
|
|
30
|
+
]), S = ({ theme: e, ownerState: n }) => {
|
|
31
|
+
let r = n.color;
|
|
32
|
+
if ("colorSpace" in e && e.colorSpace) {
|
|
33
|
+
let t = a(e, `palette.${r}.main`) || a(e, `palette.${r}`) || n.color;
|
|
34
|
+
return e.alpha(t, .4);
|
|
35
|
+
}
|
|
36
|
+
let i = a(e, `palette.${r}.main`, !1) || a(e, `palette.${r}`, !1) || n.color, o = a(e, `palette.${r}.mainChannel`) || a(e, `palette.${r}Channel`);
|
|
37
|
+
return "vars" in e && o ? `rgba(${o} / 0.4)` : t(i, .4);
|
|
38
|
+
}, C = {
|
|
39
|
+
primary: !0,
|
|
40
|
+
secondary: !0,
|
|
41
|
+
error: !0,
|
|
42
|
+
info: !0,
|
|
43
|
+
success: !0,
|
|
44
|
+
warning: !0,
|
|
45
|
+
textPrimary: !0,
|
|
46
|
+
textSecondary: !0,
|
|
47
|
+
textDisabled: !0
|
|
48
|
+
}, w = (e) => {
|
|
49
|
+
let { classes: t, component: n, focusVisible: i, underline: a } = e;
|
|
50
|
+
return r({ root: [
|
|
51
|
+
"root",
|
|
52
|
+
`underline${m(a)}`,
|
|
53
|
+
n === "button" && "button",
|
|
54
|
+
i && "focusVisible"
|
|
55
|
+
] }, b, t);
|
|
56
|
+
}, T = l(g, {
|
|
57
|
+
name: "MuiLink",
|
|
58
|
+
slot: "Root",
|
|
59
|
+
overridesResolver: (e, t) => {
|
|
60
|
+
let { ownerState: n } = e;
|
|
61
|
+
return [
|
|
62
|
+
t.root,
|
|
63
|
+
t[`underline${m(n.underline)}`],
|
|
64
|
+
n.component === "button" && t.button
|
|
65
|
+
];
|
|
66
|
+
}
|
|
67
|
+
})(u(({ theme: e }) => ({ variants: [
|
|
68
|
+
{
|
|
69
|
+
props: { underline: "none" },
|
|
70
|
+
style: { textDecoration: "none" }
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
props: { underline: "hover" },
|
|
74
|
+
style: {
|
|
75
|
+
textDecoration: "none",
|
|
76
|
+
"&:hover": { textDecoration: "underline" }
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
props: { underline: "always" },
|
|
81
|
+
style: {
|
|
82
|
+
textDecoration: "underline",
|
|
83
|
+
"&:hover": { textDecorationColor: "inherit" }
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
props: ({ underline: e, ownerState: t }) => e === "always" && t.color !== "inherit",
|
|
88
|
+
style: { textDecorationColor: "var(--Link-underlineColor)" }
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
props: ({ underline: e, ownerState: t }) => e === "always" && t.color === "inherit",
|
|
92
|
+
style: e.colorSpace ? { textDecorationColor: e.alpha("currentColor", .4) } : null
|
|
93
|
+
},
|
|
94
|
+
...Object.entries(e.palette).filter(h()).map(([t]) => ({
|
|
95
|
+
props: {
|
|
96
|
+
underline: "always",
|
|
97
|
+
color: t
|
|
98
|
+
},
|
|
99
|
+
style: { "--Link-underlineColor": e.alpha((e.vars || e).palette[t].main, .4) }
|
|
100
|
+
})),
|
|
101
|
+
{
|
|
102
|
+
props: {
|
|
103
|
+
underline: "always",
|
|
104
|
+
color: "textPrimary"
|
|
105
|
+
},
|
|
106
|
+
style: { "--Link-underlineColor": e.alpha((e.vars || e).palette.text.primary, .4) }
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
props: {
|
|
110
|
+
underline: "always",
|
|
111
|
+
color: "textSecondary"
|
|
112
|
+
},
|
|
113
|
+
style: { "--Link-underlineColor": e.alpha((e.vars || e).palette.text.secondary, .4) }
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
props: {
|
|
117
|
+
underline: "always",
|
|
118
|
+
color: "textDisabled"
|
|
119
|
+
},
|
|
120
|
+
style: { "--Link-underlineColor": (e.vars || e).palette.text.disabled }
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
props: { component: "button" },
|
|
124
|
+
style: {
|
|
125
|
+
position: "relative",
|
|
126
|
+
WebkitTapHighlightColor: "transparent",
|
|
127
|
+
backgroundColor: "transparent",
|
|
128
|
+
outline: 0,
|
|
129
|
+
border: 0,
|
|
130
|
+
margin: 0,
|
|
131
|
+
borderRadius: 0,
|
|
132
|
+
padding: 0,
|
|
133
|
+
cursor: "pointer",
|
|
134
|
+
userSelect: "none",
|
|
135
|
+
verticalAlign: "middle",
|
|
136
|
+
MozAppearance: "none",
|
|
137
|
+
WebkitAppearance: "none",
|
|
138
|
+
"&::-moz-focus-inner": { borderStyle: "none" },
|
|
139
|
+
[`&.${x.focusVisible}`]: { outline: "auto" }
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
] }))), E = /* @__PURE__ */ _.forwardRef(function(e, t) {
|
|
143
|
+
let n = i({
|
|
144
|
+
props: e,
|
|
145
|
+
name: "MuiLink"
|
|
146
|
+
}), r = d(), { className: a, color: o = "primary", component: c = "a", onBlur: l, onFocus: u, TypographyClasses: f, underline: m = "always", variant: h = "inherit", sx: g, ...y } = n, [b, x] = _.useState(!1), E = (e) => {
|
|
147
|
+
p(e.target) || x(!1), l && l(e);
|
|
148
|
+
}, D = (e) => {
|
|
149
|
+
p(e.target) && x(!0), u && u(e);
|
|
150
|
+
}, O = {
|
|
151
|
+
...n,
|
|
152
|
+
color: o,
|
|
153
|
+
component: c,
|
|
154
|
+
focusVisible: b,
|
|
155
|
+
underline: m,
|
|
156
|
+
variant: h
|
|
157
|
+
};
|
|
158
|
+
return /* @__PURE__ */ v(T, {
|
|
159
|
+
color: o,
|
|
160
|
+
className: s(w(O).root, a),
|
|
161
|
+
classes: f,
|
|
162
|
+
component: c,
|
|
163
|
+
onBlur: E,
|
|
164
|
+
onFocus: D,
|
|
165
|
+
ref: t,
|
|
166
|
+
ownerState: O,
|
|
167
|
+
variant: h,
|
|
168
|
+
...y,
|
|
169
|
+
sx: [...C[o] === void 0 ? [{ color: o }] : [], ...Array.isArray(g) ? g : [g]],
|
|
170
|
+
style: {
|
|
171
|
+
...y.style,
|
|
172
|
+
...m === "always" && o !== "inherit" && !C[o] && { "--Link-underlineColor": S({
|
|
173
|
+
theme: r,
|
|
174
|
+
ownerState: O
|
|
175
|
+
}) }
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
process.env.NODE_ENV !== "production" && (E.propTypes = {
|
|
180
|
+
children: y.default.node,
|
|
181
|
+
classes: y.default.object,
|
|
182
|
+
className: y.default.string,
|
|
183
|
+
color: y.default.oneOfType([y.default.oneOf([
|
|
184
|
+
"primary",
|
|
185
|
+
"secondary",
|
|
186
|
+
"success",
|
|
187
|
+
"error",
|
|
188
|
+
"info",
|
|
189
|
+
"warning",
|
|
190
|
+
"textPrimary",
|
|
191
|
+
"textSecondary",
|
|
192
|
+
"textDisabled"
|
|
193
|
+
]), y.default.string]),
|
|
194
|
+
component: f,
|
|
195
|
+
onBlur: y.default.func,
|
|
196
|
+
onFocus: y.default.func,
|
|
197
|
+
style: y.default.object,
|
|
198
|
+
sx: y.default.oneOfType([
|
|
199
|
+
y.default.arrayOf(y.default.oneOfType([
|
|
200
|
+
y.default.func,
|
|
201
|
+
y.default.object,
|
|
202
|
+
y.default.bool
|
|
203
|
+
])),
|
|
204
|
+
y.default.func,
|
|
205
|
+
y.default.object
|
|
206
|
+
]),
|
|
207
|
+
TypographyClasses: y.default.object,
|
|
208
|
+
underline: y.default.oneOf([
|
|
209
|
+
"always",
|
|
210
|
+
"hover",
|
|
211
|
+
"none"
|
|
212
|
+
]),
|
|
213
|
+
variant: y.default.oneOfType([y.default.oneOf([
|
|
214
|
+
"body1",
|
|
215
|
+
"body2",
|
|
216
|
+
"button",
|
|
217
|
+
"caption",
|
|
218
|
+
"h1",
|
|
219
|
+
"h2",
|
|
220
|
+
"h3",
|
|
221
|
+
"h4",
|
|
222
|
+
"h5",
|
|
223
|
+
"h6",
|
|
224
|
+
"inherit",
|
|
225
|
+
"overline",
|
|
226
|
+
"subtitle1",
|
|
227
|
+
"subtitle2"
|
|
228
|
+
]), y.default.string])
|
|
229
|
+
});
|
|
230
|
+
//#endregion
|
|
231
|
+
//#region lib/s-link/s-link.tsx
|
|
232
|
+
var D = E;
|
|
233
|
+
//#endregion
|
|
234
|
+
export { D as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-localization-provider-
|
|
1
|
+
import { t as e } from "../s-localization-provider-Xw3NO2uP.js";
|
|
2
2
|
export { e as SLocalizationProvider, e as default };
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { LocalizationProviderProps } from '@mui/x-date-pickers/LocalizationProvider';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
/**
|
|
3
4
|
* Props for the SLocalizationProvider component
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
/** Child components that will have access to date localization */
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
}
|
|
6
|
+
export type SLocalizationProviderProps = Omit<LocalizationProviderProps<string>, 'dateAdapter'>;
|
|
9
7
|
export declare const SLocalizationProvider: {
|
|
10
|
-
(
|
|
8
|
+
(props: SLocalizationProviderProps): React.JSX.Element;
|
|
11
9
|
displayName: string;
|
|
12
10
|
};
|
|
13
11
|
export default SLocalizationProvider;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../s-localization-provider-
|
|
1
|
+
import { t as e } from "../s-localization-provider-Xw3NO2uP.js";
|
|
2
2
|
export { e as SLocalizationProvider, e as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as e, t } from "./chunk-C_CI6nMA.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as a } from "./
|
|
4
|
-
import o from "dayjs";
|
|
2
|
+
import { n } from "./objectWithoutPropertiesLoose-Cpds-4w8.js";
|
|
3
|
+
import { i as r, n as i, t as a } from "./warning-CNkSZkq6.js";
|
|
5
4
|
import "react";
|
|
6
|
-
import { jsx as
|
|
5
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
6
|
+
import s from "dayjs";
|
|
7
7
|
//#region ../../node_modules/dayjs/plugin/weekOfYear.js
|
|
8
8
|
var c = /* @__PURE__ */ t(((e, t) => {
|
|
9
9
|
(function(n, r) {
|
|
@@ -255,7 +255,7 @@ var c = /* @__PURE__ */ t(((e, t) => {
|
|
|
255
255
|
};
|
|
256
256
|
}));
|
|
257
257
|
})), p = /* @__PURE__ */ e(c(), 1), m = /* @__PURE__ */ e(l(), 1), h = /* @__PURE__ */ e(u(), 1), g = /* @__PURE__ */ e(d(), 1), _ = /* @__PURE__ */ e(f(), 1);
|
|
258
|
-
|
|
258
|
+
s.extend(h.default), s.extend(p.default), s.extend(g.default), s.extend(_.default);
|
|
259
259
|
var v = {
|
|
260
260
|
YY: "year",
|
|
261
261
|
YYYY: {
|
|
@@ -354,10 +354,10 @@ var v = {
|
|
|
354
354
|
keyboardDateTime24h: "L HH:mm"
|
|
355
355
|
};
|
|
356
356
|
function b() {
|
|
357
|
-
throw Error(process.env.NODE_ENV === "production" ?
|
|
357
|
+
throw Error(process.env.NODE_ENV === "production" ? r(138) : "MUI X Date Pickers: Missing dayjs UTC plugin. UTC and timezone support requires the dayjs UTC plugin to be enabled. See https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc for setup instructions.");
|
|
358
358
|
}
|
|
359
359
|
function x() {
|
|
360
|
-
throw Error(process.env.NODE_ENV === "production" ?
|
|
360
|
+
throw Error(process.env.NODE_ENV === "production" ? r(139) : "MUI X Date Pickers: Missing dayjs timezone plugin. Timezone support requires both the dayjs UTC and timezone plugins to be enabled. See https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone for setup instructions.");
|
|
361
361
|
}
|
|
362
362
|
var S = class {
|
|
363
363
|
isMUIAdapter = !0;
|
|
@@ -369,14 +369,14 @@ var S = class {
|
|
|
369
369
|
};
|
|
370
370
|
formatTokenMap = v;
|
|
371
371
|
constructor({ locale: e, formats: t } = {}) {
|
|
372
|
-
this.locale = e, this.formats =
|
|
372
|
+
this.locale = e, this.formats = n({}, y, t), s.extend(m.default);
|
|
373
373
|
}
|
|
374
374
|
setLocaleToValue = (e) => {
|
|
375
375
|
let t = this.getCurrentLocaleCode();
|
|
376
376
|
return t === e.locale() ? e : e.locale(t);
|
|
377
377
|
};
|
|
378
|
-
hasUTCPlugin = () =>
|
|
379
|
-
hasTimezonePlugin = () =>
|
|
378
|
+
hasUTCPlugin = () => s.utc !== void 0;
|
|
379
|
+
hasTimezonePlugin = () => s.tz !== void 0;
|
|
380
380
|
isSame = (e, t, n) => {
|
|
381
381
|
let r = this.setTimezone(t, this.getTimezone(e));
|
|
382
382
|
return e.format(n) === r.format(n);
|
|
@@ -384,21 +384,21 @@ var S = class {
|
|
|
384
384
|
cleanTimezone = (e) => {
|
|
385
385
|
switch (e) {
|
|
386
386
|
case "default": return;
|
|
387
|
-
case "system": return
|
|
387
|
+
case "system": return s.tz.guess();
|
|
388
388
|
default: return e;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
|
-
createSystemDate = (e) => this.setLocaleToValue(
|
|
392
|
-
createUTCDate = (e) => (this.hasUTCPlugin() || b(), this.setLocaleToValue(
|
|
391
|
+
createSystemDate = (e) => this.setLocaleToValue(s(e));
|
|
392
|
+
createUTCDate = (e) => (this.hasUTCPlugin() || b(), this.setLocaleToValue(s.utc(e)));
|
|
393
393
|
createTZDate = (e, t) => {
|
|
394
394
|
/* v8 ignore next 3 */
|
|
395
395
|
this.hasUTCPlugin() || b(), this.hasTimezonePlugin() || x();
|
|
396
396
|
let n = e !== void 0 && !e.endsWith("Z");
|
|
397
|
-
return this.setLocaleToValue(
|
|
397
|
+
return this.setLocaleToValue(s(e).tz(this.cleanTimezone(t), n));
|
|
398
398
|
};
|
|
399
399
|
getLocaleFormats = () => {
|
|
400
|
-
let e =
|
|
401
|
-
return t === void 0 && (process.env.NODE_ENV !== "production" &&
|
|
400
|
+
let e = s.Ls, t = e[this.locale || "en"];
|
|
401
|
+
return t === void 0 && (process.env.NODE_ENV !== "production" && a([
|
|
402
402
|
"MUI X: Your locale has not been found.",
|
|
403
403
|
"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.",
|
|
404
404
|
"Or you forget to import the locale from 'dayjs/locale/{localeUsed}'",
|
|
@@ -417,7 +417,7 @@ var S = class {
|
|
|
417
417
|
return e;
|
|
418
418
|
};
|
|
419
419
|
date = (e, t = "default") => e === null ? null : t === "UTC" ? this.createUTCDate(e) : t === "system" || t === "default" && !this.hasTimezonePlugin() ? this.createSystemDate(e) : this.createTZDate(e, t);
|
|
420
|
-
getInvalidDate = () =>
|
|
420
|
+
getInvalidDate = () => s(/* @__PURE__ */ new Date("Invalid date"));
|
|
421
421
|
getTimezone = (e) => {
|
|
422
422
|
if (this.hasTimezonePlugin()) {
|
|
423
423
|
let t = e.$x?.$timezone;
|
|
@@ -434,10 +434,10 @@ var S = class {
|
|
|
434
434
|
/* v8 ignore next */
|
|
435
435
|
x();
|
|
436
436
|
}
|
|
437
|
-
return this.setLocaleToValue(
|
|
437
|
+
return this.setLocaleToValue(s.tz(e, this.cleanTimezone(t)));
|
|
438
438
|
};
|
|
439
439
|
toJsDate = (e) => e.toDate();
|
|
440
|
-
parse = (e, t) => e === "" ? null :
|
|
440
|
+
parse = (e, t) => e === "" ? null : s(e, t, this.locale, !0);
|
|
441
441
|
getCurrentLocaleCode = () => this.locale || "en";
|
|
442
442
|
is12HourCycleInCurrentLocale = () => /A|a/.test(this.getLocaleFormats().LT || "");
|
|
443
443
|
expandFormat = (e) => {
|
|
@@ -510,9 +510,9 @@ var S = class {
|
|
|
510
510
|
for (; this.isBefore(a, r);) i.push(a), a = this.addYears(a, 1);
|
|
511
511
|
return i;
|
|
512
512
|
};
|
|
513
|
-
}, C = (
|
|
514
|
-
|
|
515
|
-
|
|
513
|
+
}, C = (e) => /* @__PURE__ */ o(i, {
|
|
514
|
+
...e,
|
|
515
|
+
dateAdapter: S
|
|
516
516
|
});
|
|
517
517
|
C.displayName = "SLocalizationProvider";
|
|
518
518
|
//#endregion
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { default, default as SMovingBorder } from './s-moving-border';
|
|
2
|
-
export type { SMovingBorderProps } from './s-moving-border';
|
|
2
|
+
export type { SMovingBorderOwnerState, SMovingBorderProps } from './s-moving-border';
|
|
3
|
+
export type {} from '../theme/component-augmentation';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { BoxProps } from '@mui/material';
|
|
3
|
-
export interface SMovingBorderProps extends BoxProps {
|
|
3
|
+
export interface SMovingBorderProps extends Omit<BoxProps, 'component'> {
|
|
4
4
|
/** Container border radius. */
|
|
5
5
|
readonly borderRadius?: React.CSSProperties['borderRadius'];
|
|
6
6
|
/** Cycle duration in milliseconds (default: 6000). */
|
|
@@ -20,5 +20,11 @@ export interface SMovingBorderProps extends BoxProps {
|
|
|
20
20
|
/** Content. */
|
|
21
21
|
readonly children: React.ReactNode;
|
|
22
22
|
}
|
|
23
|
-
export
|
|
23
|
+
export interface SMovingBorderOwnerState extends SMovingBorderProps {
|
|
24
|
+
borderRadius?: React.CSSProperties['borderRadius'];
|
|
25
|
+
duration: number;
|
|
26
|
+
glowColor: string;
|
|
27
|
+
glowSize: number;
|
|
28
|
+
}
|
|
29
|
+
export declare const SMovingBorder: React.ForwardRefExoticComponent<Omit<SMovingBorderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
30
|
export default SMovingBorder;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
+
import t, { useRef as n } from "react";
|
|
3
|
+
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import { Box as o, styled as s, useThemeProps as c } from "@mui/material";
|
|
5
|
+
import { motion as l, useAnimationFrame as u, useMotionTemplate as d, useMotionValue as f, useReducedMotion as p, useTransform as m } from "framer-motion";
|
|
5
6
|
//#region lib/s-moving-border/s-moving-border.tsx
|
|
6
|
-
var
|
|
7
|
-
let n = t / (
|
|
7
|
+
var h = 250, g = 24, _ = Array.from({ length: g }, (e, t) => {
|
|
8
|
+
let n = t / (g - 1);
|
|
8
9
|
return {
|
|
9
10
|
scale: 1 - n * .76,
|
|
10
11
|
opacity: .006 + n * .044
|
|
11
12
|
};
|
|
12
|
-
}),
|
|
13
|
+
}), v = ({ color: e, size: t }) => /* @__PURE__ */ i(o, {
|
|
13
14
|
sx: {
|
|
14
15
|
position: "absolute",
|
|
15
16
|
left: "50%",
|
|
@@ -19,31 +20,40 @@ var u = 250, d = 24, f = Array.from({ length: d }, (e, t) => {
|
|
|
19
20
|
transform: "translate(-50%, -50%)",
|
|
20
21
|
pointerEvents: "none"
|
|
21
22
|
},
|
|
22
|
-
children:
|
|
23
|
-
let
|
|
24
|
-
return /* @__PURE__ */
|
|
23
|
+
children: _.map(({ scale: n, opacity: r }) => {
|
|
24
|
+
let a = t * n, s = (t - a) / 2;
|
|
25
|
+
return /* @__PURE__ */ i(o, { sx: {
|
|
25
26
|
position: "absolute",
|
|
26
27
|
backgroundColor: e,
|
|
27
28
|
borderRadius: "50%",
|
|
28
|
-
height:
|
|
29
|
+
height: a,
|
|
29
30
|
left: s,
|
|
30
|
-
opacity:
|
|
31
|
+
opacity: r,
|
|
31
32
|
top: s,
|
|
32
|
-
width:
|
|
33
|
-
} },
|
|
33
|
+
width: a
|
|
34
|
+
} }, n);
|
|
34
35
|
})
|
|
35
36
|
});
|
|
36
|
-
function
|
|
37
|
-
let
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
function y({ children: e, duration: o, rx: s, ry: c, phase: h = 0 }) {
|
|
38
|
+
let g = n(null), _ = f(0), v = p();
|
|
39
|
+
t.useLayoutEffect(() => {
|
|
40
|
+
if (!v) return;
|
|
41
|
+
let e = g.current?.getTotalLength();
|
|
42
|
+
e && _.set(e * h);
|
|
43
|
+
}, [
|
|
44
|
+
h,
|
|
45
|
+
v,
|
|
46
|
+
_
|
|
47
|
+
]), u((e) => {
|
|
48
|
+
if (v) return;
|
|
49
|
+
let t = g.current?.getTotalLength();
|
|
40
50
|
if (t) {
|
|
41
|
-
let n = t /
|
|
42
|
-
|
|
51
|
+
let n = t / o;
|
|
52
|
+
_.set((e * n + t * h) % t);
|
|
43
53
|
}
|
|
44
54
|
});
|
|
45
|
-
let
|
|
46
|
-
return /* @__PURE__ */ r
|
|
55
|
+
let y = d`translateX(${m(_, (e) => g.current?.getPointAtLength(e)?.x)}px) translateY(${m(_, (e) => g.current?.getPointAtLength(e)?.y)}px) translateX(-50%) translateY(-50%)`;
|
|
56
|
+
return /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("svg", {
|
|
47
57
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48
58
|
preserveAspectRatio: "none",
|
|
49
59
|
width: "100%",
|
|
@@ -52,66 +62,85 @@ function m({ children: i, duration: u, rx: d, ry: f, phase: p = 0 }) {
|
|
|
52
62
|
position: "absolute",
|
|
53
63
|
inset: 0
|
|
54
64
|
},
|
|
55
|
-
children: /* @__PURE__ */
|
|
65
|
+
children: /* @__PURE__ */ i("rect", {
|
|
56
66
|
fill: "none",
|
|
57
67
|
width: "100%",
|
|
58
68
|
height: "100%",
|
|
59
|
-
rx:
|
|
60
|
-
ry:
|
|
61
|
-
ref:
|
|
69
|
+
rx: s,
|
|
70
|
+
ry: c,
|
|
71
|
+
ref: g
|
|
62
72
|
})
|
|
63
|
-
}), /* @__PURE__ */
|
|
73
|
+
}), /* @__PURE__ */ i(l.div, {
|
|
64
74
|
style: {
|
|
65
75
|
position: "absolute",
|
|
66
76
|
top: 0,
|
|
67
77
|
left: 0,
|
|
68
78
|
display: "inline-block",
|
|
69
|
-
transform:
|
|
79
|
+
transform: y
|
|
70
80
|
},
|
|
71
|
-
children:
|
|
81
|
+
children: e
|
|
72
82
|
})] });
|
|
73
83
|
}
|
|
74
|
-
var
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
borderRadius:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
84
|
+
var b = s(o, {
|
|
85
|
+
name: "SMovingBorder",
|
|
86
|
+
slot: "Root"
|
|
87
|
+
})({}), x = t.forwardRef(function(t, n) {
|
|
88
|
+
let r = c({
|
|
89
|
+
props: t,
|
|
90
|
+
name: "SMovingBorder"
|
|
91
|
+
}), { borderRadius: s, duration: l = 6e3, children: u, glowColor: d = "var(--s-palette-primary-main)", glowSize: f = h, height: p, padding: m, sx: g, width: _, ...x } = r, S = {
|
|
92
|
+
...r,
|
|
93
|
+
borderRadius: s,
|
|
94
|
+
duration: l,
|
|
95
|
+
glowColor: d,
|
|
96
|
+
glowSize: f,
|
|
97
|
+
height: p,
|
|
98
|
+
padding: m,
|
|
99
|
+
width: _
|
|
100
|
+
};
|
|
101
|
+
return /* @__PURE__ */ a(b, {
|
|
102
|
+
...x,
|
|
103
|
+
ref: n,
|
|
104
|
+
ownerState: S,
|
|
105
|
+
sx: [{
|
|
106
|
+
position: "relative",
|
|
107
|
+
overflow: "hidden",
|
|
108
|
+
height: p ?? "100%",
|
|
109
|
+
width: _ ?? "100%",
|
|
110
|
+
padding: m ?? .125,
|
|
111
|
+
borderRadius: s,
|
|
112
|
+
backgroundColor: "transparent"
|
|
113
|
+
}, ...e(g)],
|
|
114
|
+
children: [/* @__PURE__ */ a(o, {
|
|
115
|
+
sx: {
|
|
116
|
+
position: "absolute",
|
|
117
|
+
top: 0,
|
|
118
|
+
left: 0,
|
|
119
|
+
right: 0,
|
|
120
|
+
bottom: 0
|
|
121
|
+
},
|
|
122
|
+
children: [/* @__PURE__ */ i(y, {
|
|
123
|
+
duration: l,
|
|
124
|
+
rx: "100%",
|
|
125
|
+
ry: "100%",
|
|
126
|
+
phase: 0,
|
|
127
|
+
children: /* @__PURE__ */ i(v, {
|
|
128
|
+
color: d,
|
|
129
|
+
size: f
|
|
130
|
+
})
|
|
131
|
+
}), /* @__PURE__ */ i(y, {
|
|
132
|
+
duration: l,
|
|
133
|
+
rx: "100%",
|
|
134
|
+
ry: "100%",
|
|
135
|
+
phase: .5,
|
|
136
|
+
children: /* @__PURE__ */ i(v, {
|
|
137
|
+
color: d,
|
|
138
|
+
size: f
|
|
139
|
+
})
|
|
140
|
+
})]
|
|
141
|
+
}), u]
|
|
142
|
+
});
|
|
114
143
|
});
|
|
115
|
-
|
|
144
|
+
x.displayName = "SMovingBorder";
|
|
116
145
|
//#endregion
|
|
117
|
-
export {
|
|
146
|
+
export { x as SMovingBorder, x as default };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { SNavItem, type SNavItemProps } from './s-nav-item';
|
|
1
|
+
export { SNavItem, type SNavItemOwnerState, type SNavItemButtonProps, type SNavItemProps, type SNavItemSlotProps, type SNavItemSlots, } from './s-nav-item';
|
|
2
2
|
export { default } from './s-nav-item';
|
|
3
|
+
export type {} from '../theme/component-augmentation';
|