@solostylist/ui-kit 1.0.230 → 2.0.1
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/colors-CNjL5fhq.js +180 -0
- package/dist/gradients-DSnBONEQ.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/main.d.ts +7 -2
- package/dist/main.js +2 -0
- package/dist/palettes/index.d.ts +11 -0
- package/dist/palettes/index.js +2 -0
- package/dist/palettes-CJLuEy1m.js +1765 -0
- 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 +70 -2
- 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-CErW9Slg.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 +71 -36
- 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 +184 -2
- 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 +398 -2
- 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 +314 -2
- 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 +44 -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 +174 -2
- 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 +103 -2
- 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 +189 -2
- 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 +213 -2
- 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 +106 -2
- 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 +108 -2
- package/dist/s-dialog/index.d.ts +2 -1
- package/dist/s-dialog/s-dialog.d.ts +44 -22
- package/dist/s-dialog/s-dialog.js +76 -39
- 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 +89 -71
- 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 +74 -67
- 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 +27 -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 +219 -2
- 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 +118 -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 +19 -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 +46 -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 +47 -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 +195 -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 +266 -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-label/index.d.ts +2 -1
- package/dist/s-label/s-label.d.ts +35 -18
- package/dist/s-label/s-label.js +64 -23
- package/dist/s-language-switcher/index.d.ts +2 -1
- package/dist/s-language-switcher/index.js +2 -2
- package/dist/s-language-switcher/s-language-switcher.d.ts +25 -18
- package/dist/s-language-switcher/s-language-switcher.js +150 -2
- 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 +77 -40
- package/dist/s-link/s-link.d.ts +4 -33
- package/dist/s-link/s-link.js +3 -35
- 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 +12 -2
- 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 +65 -66
- package/dist/s-nav-items/index.d.ts +2 -1
- package/dist/s-nav-items/s-nav-items.d.ts +13 -10
- package/dist/s-nav-items/s-nav-items.js +95 -79
- package/dist/s-no-ssr/s-no-ssr.d.ts +4 -16
- package/dist/s-no-ssr/s-no-ssr.js +3 -13
- 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/s-pagination.d.ts +14 -49
- package/dist/s-pagination/s-pagination.js +70 -35
- package/dist/s-pagination/types.d.ts +23 -1
- package/dist/s-pagination/types.js +8 -4
- 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 +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 +272 -2
- 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 +78 -60
- 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 +55 -28
- 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 +81 -67
- 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 +201 -2
- 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 +156 -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 +40 -39
- package/dist/s-snackbar-message/index.d.ts +2 -1
- package/dist/s-snackbar-message/s-snackbar-message.d.ts +40 -51
- package/dist/s-snackbar-message/s-snackbar-message.js +81 -44
- 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 +53 -27
- package/dist/s-stripe/stripe-input.js +48 -20
- package/dist/s-switch/index.d.ts +2 -1
- package/dist/s-switch/s-switch.d.ts +33 -11
- package/dist/s-switch/s-switch.js +44 -34
- 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 +76 -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 +216 -2
- package/dist/s-text-editor/s-text-editor.d.ts +7 -2
- package/dist/s-text-editor/s-text-editor.js +62 -39
- 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 +52 -2
- 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 +48 -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 +265 -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 +60 -2
- 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 +61 -2
- 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 +101 -72
- package/dist/s-tool-bar/tool-bar-action-buttons.d.ts +3 -3
- package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
- package/dist/s-tool-bar/tool-bar-image-input.d.ts +2 -2
- package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
- package/dist/s-tool-bar/tool-bar-inputs.js +139 -112
- 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 +154 -85
- 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 +65 -44
- 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 +43 -2
- package/dist/theme/components/avatar.js +9 -2
- 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 +90 -2
- package/dist/theme/components/chip.d.ts +1 -7
- package/dist/theme/components/chip.js +91 -67
- package/dist/theme/components/components.js +22 -22
- package/dist/theme/components/date-calendar.js +1 -0
- package/dist/theme/components/day-calendar.js +1 -0
- 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 +19 -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 +7 -7
- 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 +25 -15
- package/dist/theme/components/multi-section-digital-clock-section.d.ts +2 -0
- package/dist/theme/components/multi-section-digital-clock-section.js +16 -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 +12 -13
- package/dist/theme/components/pickers-arrow-switcher.js +1 -0
- package/dist/theme/components/pickers-calendar-header.d.ts +51 -19
- package/dist/theme/components/pickers-calendar-header.js +49 -25
- package/dist/theme/components/rating.d.ts +12 -0
- package/dist/theme/components/rating.js +4 -1
- package/dist/theme/components/select.js +6 -6
- 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 +93 -2
- package/dist/theme/components/year-calendar.d.ts +1051 -6
- package/dist/theme/components/year-calendar.js +39 -29
- 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-primitives-CRfnMsNy.js +254 -0
- package/dist/utils/canvas-color.d.ts +7 -0
- package/dist/utils/canvas-color.js +62 -0
- package/dist/utils/dayjs.js +9 -146
- 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/package.json +1 -1
- package/dist/ArrowUpward-CNiENJp2.js +0 -6
- package/dist/Box-BlmynALm.js +0 -45
- package/dist/ButtonBase-BDefit5I.js +0 -720
- package/dist/ChevronRight-gZJ3kc6N.js +0 -6
- package/dist/Close-CJu3iF1p.js +0 -6
- package/dist/Collapse-JUd84Z9O.js +0 -261
- package/dist/ContentCopy-BMQ2JTA0.js +0 -6
- package/dist/Download-SNal6U7j.js +0 -6
- package/dist/ExpandMore-DIsT5FOp.js +0 -6
- package/dist/Favorite-CbvuQfe4.js +0 -6
- package/dist/FormControl-DsRIRfTs.js +0 -686
- package/dist/InfoOutlined-BCzG-5py.js +0 -6
- package/dist/MenuItem-IOMcBScJ.js +0 -220
- package/dist/MenuList-vtqACjea.js +0 -403
- package/dist/Modal-CLdC2-Th.js +0 -1027
- package/dist/Paper-CPC6sMxx.js +0 -133
- package/dist/Popover-ZneFWo2r.js +0 -333
- package/dist/Stack-BQkLmLFp.js +0 -157
- package/dist/Typography-CZ_MYa-E.js +0 -166
- package/dist/UnfoldMoreRounded-tvqQS6eb.js +0 -6
- package/dist/assets/stripe-input.css +0 -1
- package/dist/autocomplete-Dd4zjpaF.js +0 -43
- package/dist/avatar-DFQ5F7pY.js +0 -10
- package/dist/buttonBaseClasses-BVDyR-hz.js +0 -13
- package/dist/checkbox-DC-OoGvh.js +0 -74
- package/dist/checkboxClasses-DANc9lnq.js +0 -18
- package/dist/chunk-C_CI6nMA.js +0 -13
- package/dist/clsx-Bv8WXdlr.js +0 -34
- package/dist/createSimplePaletteValueFilter-5v48HHyU.js +0 -14
- package/dist/createSvgIcon-HW-tbFcL.js +0 -153
- package/dist/createTheme-Bnw5w28O.js +0 -2506
- package/dist/defaultTheme-Bi3OTfLN.js +0 -5
- package/dist/extends-DM-C9PwL.js +0 -12
- package/dist/formLabelClasses-LXZqWZfM.js +0 -18
- package/dist/generateUtilityClass-tRYNDrlH.js +0 -34
- package/dist/generateUtilityClasses-XrPHiTcM.js +0 -10
- package/dist/hooks/use-is-passed-position.d.ts +0 -1
- package/dist/hooks/use-is-passed-position.js +0 -21
- package/dist/iconButtonClasses-LyjwljJq.js +0 -27
- package/dist/inputAdornmentClasses-ZoGTcUz5.js +0 -19
- package/dist/memoTheme-QMocAblm.js +0 -150
- package/dist/mergeSlotProps-slENzJO5.js +0 -45
- package/dist/monthCalendarClasses-BLfBep-t.js +0 -14
- package/dist/objectWithoutPropertiesLoose-kj3TmhoA.js +0 -12
- package/dist/outlinedInputClasses-DPwt_pSZ.js +0 -38
- package/dist/resolveProps-DrnBChYC.js +0 -30
- package/dist/s-accordion-xPDelTvP.js +0 -453
- package/dist/s-carousel-CvmWl6Sc.js +0 -1324
- package/dist/s-chat-input-BHMymKij.js +0 -352
- package/dist/s-chat-message-C-d9amiC.js +0 -270
- package/dist/s-chips-CAC_vVd0.js +0 -99
- package/dist/s-code-block-DEojINTt.js +0 -630
- 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-datetime-picker-DnIK-QnQ.js +0 -3837
- 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-localization-provider-l5J7myJJ.js +0 -519
- 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/selectClasses-C-QpiLPi.js +0 -22
- package/dist/styled-BTDmdi4c.js +0 -164
- package/dist/styled-engine-DOxAQ3qw.js +0 -190
- package/dist/svgIconClasses-BtHvkhy5.js +0 -20
- 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-action-buttons-CSXNDen6.js +0 -50
- package/dist/tool-bar-image-input-IdA6l71Y.js +0 -138
- package/dist/typographyClasses-CiDYRanL.js +0 -31
- package/dist/useControlled-BtZNCHV0.js +0 -5
- package/dist/useControlled-DuSwFVhD.js +0 -29
- package/dist/useEnhancedEffect-Dsu5K7-Z.js +0 -5
- package/dist/useForkRef-yOYCJHzF.js +0 -29
- package/dist/useFormControl-CUs308br.js +0 -18
- package/dist/useMobilePicker-CQA6fYLQ.js +0 -9864
- package/dist/useSlot-IwEDsR9t.js +0 -171
- package/dist/useThemeProps-D4jtjo2I.js +0 -19
- package/dist/utils-CU6O7jrX.js +0 -214
- package/dist/warning-CFMmJJnf.js +0 -111
- package/dist/yearCalendarClasses-DypEe_Vn.js +0 -14
- /package/dist/{s-image-modal → s-image-viewer}/types.js +0 -0
- /package/dist/{utils-B5Rl6Zwv.js → utils-CMeAWSRO.js} +0 -0
|
@@ -1,40 +1,63 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { Box as
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
import { Box as r, Typography as i, styled as a, useMediaQuery as o, useThemeProps as s } from "@mui/material";
|
|
4
4
|
//#region lib/s-typewriter-text/s-typewriter-text.tsx
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
var c = a(i, {
|
|
6
|
+
name: "STypewriterText",
|
|
7
|
+
slot: "Root",
|
|
8
|
+
shouldForwardProp: (e) => e !== "ownerState"
|
|
9
|
+
})({});
|
|
10
|
+
function l(i, a) {
|
|
11
|
+
let l = s({
|
|
12
|
+
props: i,
|
|
13
|
+
name: "STypewriterText"
|
|
14
|
+
}), { cursor: u = "|", cursorBlinking: d = !0, delay: f = 1500, deleteSpeed: p = 50, loop: m = !1, speed: h = 100, text: g, ..._ } = l, [v, y] = e.useState(""), [b, x] = e.useState(0), [S, C] = e.useState(!1), [w, T] = e.useState(0), E = o("(prefers-reduced-motion: reduce)"), D = Array.isArray(g) ? g : [g], O = D[w] || "", k = JSON.stringify(g);
|
|
15
|
+
e.useEffect(() => {
|
|
16
|
+
y(""), x(0), C(!1), T(0);
|
|
17
|
+
}, [k]), e.useEffect(() => {
|
|
18
|
+
if (E || !O) return;
|
|
19
|
+
let e = !S && b >= O.length;
|
|
20
|
+
if (e && !m) return;
|
|
21
|
+
let t = setTimeout(() => {
|
|
22
|
+
S ? v.length > 0 ? y((e) => e.slice(0, -1)) : (C(!1), x(0), T((e) => (e + 1) % D.length)) : b < O.length ? (y((e) => e + O[b]), x((e) => e + 1)) : m && C(!0);
|
|
23
|
+
}, e ? f : S ? p : h);
|
|
24
|
+
return () => clearTimeout(t);
|
|
13
25
|
}, [
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
u,
|
|
18
|
-
s,
|
|
19
|
-
d,
|
|
20
|
-
f,
|
|
26
|
+
b,
|
|
27
|
+
S,
|
|
28
|
+
O,
|
|
21
29
|
m,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
30
|
+
h,
|
|
31
|
+
p,
|
|
32
|
+
f,
|
|
33
|
+
v,
|
|
34
|
+
E,
|
|
35
|
+
D.length
|
|
36
|
+
]);
|
|
37
|
+
let A = {
|
|
38
|
+
...l,
|
|
39
|
+
cursorBlinking: d,
|
|
40
|
+
deleting: S,
|
|
41
|
+
loop: m
|
|
42
|
+
};
|
|
43
|
+
return /* @__PURE__ */ n(c, {
|
|
44
|
+
..._,
|
|
45
|
+
ownerState: A,
|
|
46
|
+
ref: a,
|
|
47
|
+
children: [E ? D[0] ?? "" : v, E ? null : /* @__PURE__ */ t(r, {
|
|
26
48
|
component: "span",
|
|
27
49
|
sx: {
|
|
28
|
-
animation:
|
|
50
|
+
animation: d ? "blink 1s infinite" : "none",
|
|
29
51
|
"@keyframes blink": {
|
|
30
52
|
"0%, 50%": { opacity: 1 },
|
|
31
53
|
"51%, 100%": { opacity: 0 }
|
|
32
54
|
}
|
|
33
55
|
},
|
|
34
|
-
children:
|
|
56
|
+
children: u
|
|
35
57
|
})]
|
|
36
58
|
});
|
|
37
|
-
}
|
|
38
|
-
|
|
59
|
+
}
|
|
60
|
+
var u = e.forwardRef(l);
|
|
61
|
+
u.displayName = "STypewriterText";
|
|
39
62
|
//#endregion
|
|
40
|
-
export {
|
|
63
|
+
export { u as STypewriterText, u as default };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { BoxProps, SkeletonProps } from '@mui/material';
|
|
3
|
+
import { SLazyImageProps } from '../s-lazy-image';
|
|
3
4
|
/**
|
|
4
5
|
* Props interface for SZoomImage component
|
|
5
6
|
*/
|
|
6
|
-
export interface SZoomImageProps extends Omit<BoxProps, 'component'> {
|
|
7
|
+
export interface SZoomImageProps extends Omit<BoxProps, 'children' | 'component'> {
|
|
7
8
|
/** Image source URL */
|
|
8
9
|
src: string;
|
|
9
10
|
/** Alternative text for accessibility */
|
|
@@ -14,10 +15,10 @@ export interface SZoomImageProps extends Omit<BoxProps, 'component'> {
|
|
|
14
15
|
transitionDuration?: number;
|
|
15
16
|
/** Border radius (number uses theme spacing, string accepts any CSS unit) */
|
|
16
17
|
borderRadius?: number | string;
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
|
|
18
|
+
/** Components used for the image and skeleton slots. */
|
|
19
|
+
slots?: SLazyImageProps['slots'];
|
|
20
|
+
/** Props for the image and skeleton slots. */
|
|
21
|
+
slotProps?: SLazyImageProps['slotProps'];
|
|
21
22
|
/** Skeleton variant while loading */
|
|
22
23
|
skeletonVariant?: SkeletonProps['variant'];
|
|
23
24
|
/** Image height for lazy loading skeleton */
|
|
@@ -25,5 +26,13 @@ export interface SZoomImageProps extends Omit<BoxProps, 'component'> {
|
|
|
25
26
|
/** Image width for lazy loading skeleton */
|
|
26
27
|
width?: number | string;
|
|
27
28
|
}
|
|
29
|
+
export type SZoomImageOwnerState = SZoomImageProps & {
|
|
30
|
+
borderRadius: number | string;
|
|
31
|
+
height: number | string;
|
|
32
|
+
skeletonVariant: NonNullable<SkeletonProps['variant']>;
|
|
33
|
+
transitionDuration: number;
|
|
34
|
+
width: number | string;
|
|
35
|
+
zoomScale: number;
|
|
36
|
+
};
|
|
28
37
|
export declare const SZoomImage: React.ForwardRefExoticComponent<Omit<SZoomImageProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
29
38
|
export default SZoomImage;
|
|
@@ -1,62 +1,83 @@
|
|
|
1
|
-
import e from "../
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { toSxArray as e } from "../utils/sx.js";
|
|
2
|
+
import { SLazyImage as t } from "../s-lazy-image/s-lazy-image.js";
|
|
3
|
+
import { styled as n, useThemeProps as r } from "@mui/material/styles";
|
|
4
|
+
import i, { useState as a } from "react";
|
|
5
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
6
|
+
import { Box as s } from "@mui/material";
|
|
7
|
+
import { mergeSlotProps as c } from "@mui/material/utils";
|
|
8
|
+
import { motion as l, useMotionValue as u, useReducedMotion as d, useSpring as f, useTransform as p } from "framer-motion";
|
|
6
9
|
//#region lib/s-zoom-image/s-zoom-image.tsx
|
|
7
|
-
var
|
|
8
|
-
|
|
10
|
+
var m = n(s, {
|
|
11
|
+
name: "SZoomImage",
|
|
12
|
+
slot: "Root"
|
|
13
|
+
})({}), h = i.forwardRef((n, i) => {
|
|
14
|
+
let h = r({
|
|
15
|
+
props: n,
|
|
16
|
+
name: "SZoomImage"
|
|
17
|
+
}), { src: g, alt: _, zoomScale: v = 1.2, transitionDuration: y = .3, borderRadius: b = 1, skeletonVariant: x = "rounded", height: S = "100%", width: C = "100%", slots: w, slotProps: T, onMouseLeave: E, onMouseMove: D, sx: O, ...k } = h, [A, j] = a(null), M = A === g, N = d(), P = u(50), F = u(50), I = {
|
|
9
18
|
damping: 20,
|
|
10
19
|
stiffness: 150,
|
|
11
20
|
mass: .5
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
}, L = p([f(P, I), f(F, I)], ([e, t]) => `${e}% ${t}%`), R = (e) => {
|
|
22
|
+
if (D?.(e), e.defaultPrevented || !M || N) return;
|
|
23
|
+
let { left: t, top: n, width: r, height: i } = e.currentTarget.getBoundingClientRect();
|
|
24
|
+
P.set((e.clientX - t) / r * 100), F.set((e.clientY - n) / i * 100);
|
|
25
|
+
}, z = (e) => {
|
|
26
|
+
E?.(e), !e.defaultPrevented && (N || (P.set(50), F.set(50)));
|
|
27
|
+
}, B = {
|
|
28
|
+
...h,
|
|
29
|
+
borderRadius: b,
|
|
30
|
+
height: S,
|
|
31
|
+
skeletonVariant: x,
|
|
32
|
+
transitionDuration: y,
|
|
33
|
+
width: C,
|
|
34
|
+
zoomScale: v
|
|
35
|
+
}, V = c(T?.image, {
|
|
36
|
+
onLoad: () => j(g),
|
|
23
37
|
sx: {
|
|
38
|
+
borderRadius: "inherit",
|
|
39
|
+
display: "block",
|
|
40
|
+
objectFit: "cover"
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
return /* @__PURE__ */ o(m, {
|
|
44
|
+
ref: i,
|
|
45
|
+
ownerState: B,
|
|
46
|
+
onMouseMove: R,
|
|
47
|
+
onMouseLeave: z,
|
|
48
|
+
sx: [{
|
|
24
49
|
position: "relative",
|
|
25
50
|
width: "100%",
|
|
26
51
|
height: "auto",
|
|
27
52
|
overflow: "hidden",
|
|
28
|
-
borderRadius:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
style: { transformOrigin: E },
|
|
53
|
+
borderRadius: b
|
|
54
|
+
}, ...e(O)],
|
|
55
|
+
...k,
|
|
56
|
+
children: /* @__PURE__ */ o(s, {
|
|
57
|
+
component: l.div,
|
|
58
|
+
style: { transformOrigin: N ? "50% 50%" : L },
|
|
35
59
|
animate: { scale: 1 },
|
|
36
|
-
whileHover:
|
|
37
|
-
transition: {
|
|
60
|
+
whileHover: !N && M ? { scale: v } : { scale: 1 },
|
|
61
|
+
transition: N ? { duration: 0 } : {
|
|
38
62
|
type: "spring",
|
|
39
|
-
duration:
|
|
63
|
+
duration: y,
|
|
40
64
|
bounce: 0
|
|
41
65
|
},
|
|
42
|
-
children: /* @__PURE__ */
|
|
43
|
-
src:
|
|
44
|
-
alt:
|
|
45
|
-
variant:
|
|
46
|
-
height:
|
|
47
|
-
width:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
...p
|
|
54
|
-
},
|
|
55
|
-
onLoad: () => S(!0)
|
|
66
|
+
children: /* @__PURE__ */ o(t, {
|
|
67
|
+
src: g,
|
|
68
|
+
alt: _,
|
|
69
|
+
variant: x,
|
|
70
|
+
height: S,
|
|
71
|
+
width: C,
|
|
72
|
+
slots: w,
|
|
73
|
+
slotProps: {
|
|
74
|
+
...T,
|
|
75
|
+
image: V
|
|
76
|
+
}
|
|
56
77
|
})
|
|
57
78
|
})
|
|
58
79
|
});
|
|
59
80
|
});
|
|
60
|
-
|
|
81
|
+
h.displayName = "SZoomImage";
|
|
61
82
|
//#endregion
|
|
62
|
-
export {
|
|
83
|
+
export { h as SZoomImage, h as default };
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { ComponentsOverrides, ComponentsVariants } from '@mui/material/styles';
|
|
2
|
+
import { SAccordionProps } from '../s-accordion/s-accordion';
|
|
3
|
+
import { SActionOverlayProps } from '../s-action-overlay/s-action-overlay';
|
|
4
|
+
import { SAutocompleteProps } from '../s-autocomplete/s-autocomplete';
|
|
5
|
+
import { SAvatarProps } from '../s-avatar/s-avatar';
|
|
6
|
+
import { SBlurTextProps } from '../s-blur-text/s-blur-text';
|
|
7
|
+
import { SBrandLogoProps } from '../s-brand-logo/s-brand-logo';
|
|
8
|
+
import { SBreadcrumbsProps } from '../s-breadcrumbs/s-breadcrumbs';
|
|
9
|
+
import { SCategoryCardProps } from '../s-category-card/s-category-card';
|
|
10
|
+
import { SChatInputProps } from '../s-chat-input/s-chat-input';
|
|
11
|
+
import { SChatMessageProps } from '../s-chat-message/s-chat-message';
|
|
12
|
+
import { SCheckboxProps } from '../s-checkbox/s-checkbox';
|
|
13
|
+
import { SChipsProps } from '../s-chips/s-chips';
|
|
14
|
+
import { SCommentMessageProps } from '../s-comment-message/s-comment-message';
|
|
15
|
+
import { SCopyableTextProps } from '../s-copyable-text/s-copyable-text';
|
|
16
|
+
import { SCountBoxProps } from '../s-countdown/s-count-box';
|
|
17
|
+
import { SCountdownProps } from '../s-countdown/s-countdown';
|
|
18
|
+
import { SDataTableProps } from '../s-data-table/s-data-table';
|
|
19
|
+
import { SDialogConfirmProps } from '../s-dialog-confirm/s-dialog-confirm';
|
|
20
|
+
import { SDialogMessageProps } from '../s-dialog-message/s-dialog-message';
|
|
21
|
+
import { SDialogProps } from '../s-dialog/s-dialog';
|
|
22
|
+
import { SEmptyProps } from '../s-empty/s-empty';
|
|
23
|
+
import { SFileIconProps } from '../s-file-icon/s-file-icon';
|
|
24
|
+
import { SFlexBoxProps } from '../s-flex-box/s-flex-box';
|
|
25
|
+
import { SFormProps } from '../s-form/s-form';
|
|
26
|
+
import { SGalleryProps } from '../s-gallery/s-gallery';
|
|
27
|
+
import { SGlowButtonProps } from '../s-glow-button/s-glow-button';
|
|
28
|
+
import { SGradientIconProps } from '../s-gradient-icon/s-gradient-icon';
|
|
29
|
+
import { SIconButtonProps } from '../s-icon-button/s-icon-button';
|
|
30
|
+
import { SImageComparisonProps } from '../s-image-comparison/s-image-comparison';
|
|
31
|
+
import { SImageViewerProps } from '../s-image-viewer/types';
|
|
32
|
+
import { SLabelProps } from '../s-label/s-label';
|
|
33
|
+
import { SLanguagePopoverProps, SLanguageSwitcherProps } from '../s-language-switcher/s-language-switcher';
|
|
34
|
+
import { SLazyImageProps } from '../s-lazy-image/s-lazy-image';
|
|
35
|
+
import { SMovingBorderProps } from '../s-moving-border/s-moving-border';
|
|
36
|
+
import { SNavItemProps } from '../s-nav-item/s-nav-item';
|
|
37
|
+
import { SNavItemsProps } from '../s-nav-items/s-nav-items';
|
|
38
|
+
import { SPaginationProps } from '../s-pagination/s-pagination';
|
|
39
|
+
import { SPixelRevealProps } from '../s-pixel-reveal/s-pixel-reveal';
|
|
40
|
+
import { SQuantityInputProps } from '../s-quantity-input/s-quantity-input';
|
|
41
|
+
import { SRadialPulseAnimateProps } from '../s-radial-pulse-animate/s-radial-pulse-animate';
|
|
42
|
+
import { SReviewProps } from '../s-review/s-review';
|
|
43
|
+
import { SScrollToTopProps } from '../s-scroll-to-top/s-scroll-to-top';
|
|
44
|
+
import { SScrollVelocityProps } from '../s-scroll-velocity/s-scroll-velocity';
|
|
45
|
+
import { SSelectListProps } from '../s-select-list/s-select-list';
|
|
46
|
+
import { SSelectProps } from '../s-select/s-select';
|
|
47
|
+
import { SSkeletonProps } from '../s-skeleton/s-skeleton';
|
|
48
|
+
import { SSnackbarMessageProps } from '../s-snackbar-message/s-snackbar-message';
|
|
49
|
+
import { SSpotlightCursorProps } from '../s-spotlight-cursor/s-spotlight-cursor';
|
|
50
|
+
import { SStatusIllustrationProps } from '../s-status-illustration/s-status-illustration';
|
|
51
|
+
import { SSwitchProps } from '../s-switch/s-switch';
|
|
52
|
+
import { STabPanelProps } from '../s-tabs/s-tab-panel';
|
|
53
|
+
import { STabsProps } from '../s-tabs/s-tabs';
|
|
54
|
+
import { STextFieldProps } from '../s-text-field/s-text-field';
|
|
55
|
+
import { STextShimmerProps } from '../s-text-shimmer/s-text-shimmer';
|
|
56
|
+
import { STextTruncationProps } from '../s-text-truncation/s-text-truncation';
|
|
57
|
+
import { SThemeDemoProps } from '../s-theme-demo/types';
|
|
58
|
+
import { SThemeSwitchProps } from '../s-theme-switch/s-theme-switch';
|
|
59
|
+
import { STipProps } from '../s-tip/s-tip';
|
|
60
|
+
import { SToolBarProps } from '../s-tool-bar/types';
|
|
61
|
+
import { SToolItemProps } from '../s-tool-item/s-tool-item';
|
|
62
|
+
import { STypewriterTextProps } from '../s-typewriter-text/s-typewriter-text';
|
|
63
|
+
import { SZoomImageProps } from '../s-zoom-image/s-zoom-image';
|
|
64
|
+
declare module '@mui/material/styles' {
|
|
65
|
+
interface ComponentsPropsList {
|
|
66
|
+
SAccordion: SAccordionProps;
|
|
67
|
+
SActionOverlay: SActionOverlayProps;
|
|
68
|
+
SAutocomplete: SAutocompleteProps<unknown, boolean | undefined, boolean | undefined, boolean | undefined>;
|
|
69
|
+
SAvatar: SAvatarProps;
|
|
70
|
+
SBlurText: SBlurTextProps;
|
|
71
|
+
SBrandLogo: SBrandLogoProps;
|
|
72
|
+
SBreadcrumbs: SBreadcrumbsProps;
|
|
73
|
+
SCategoryCard: SCategoryCardProps;
|
|
74
|
+
SChatInput: SChatInputProps;
|
|
75
|
+
SChatMessage: SChatMessageProps;
|
|
76
|
+
SCommentMessage: SCommentMessageProps;
|
|
77
|
+
SCheckbox: SCheckboxProps;
|
|
78
|
+
SChips: SChipsProps;
|
|
79
|
+
SCopyableText: SCopyableTextProps;
|
|
80
|
+
SCountBox: SCountBoxProps;
|
|
81
|
+
SCountdown: SCountdownProps;
|
|
82
|
+
SDialog: SDialogProps;
|
|
83
|
+
SDataTable: SDataTableProps<unknown>;
|
|
84
|
+
SDialogConfirm: SDialogConfirmProps;
|
|
85
|
+
SDialogMessage: SDialogMessageProps;
|
|
86
|
+
SEmpty: SEmptyProps;
|
|
87
|
+
SFileIcon: SFileIconProps;
|
|
88
|
+
SForm: SFormProps;
|
|
89
|
+
SFlexBox: SFlexBoxProps;
|
|
90
|
+
SGallery: SGalleryProps;
|
|
91
|
+
SGlowButton: SGlowButtonProps;
|
|
92
|
+
SGradientIcon: SGradientIconProps;
|
|
93
|
+
SIconButton: SIconButtonProps;
|
|
94
|
+
SImageViewer: SImageViewerProps;
|
|
95
|
+
SImageComparison: SImageComparisonProps;
|
|
96
|
+
SLabel: SLabelProps;
|
|
97
|
+
SLanguagePopover: SLanguagePopoverProps;
|
|
98
|
+
SLanguageSwitcher: SLanguageSwitcherProps;
|
|
99
|
+
SLazyImage: SLazyImageProps;
|
|
100
|
+
SMovingBorder: SMovingBorderProps;
|
|
101
|
+
SNavItem: SNavItemProps;
|
|
102
|
+
SNavItems: SNavItemsProps;
|
|
103
|
+
SPagination: SPaginationProps;
|
|
104
|
+
SPixelReveal: SPixelRevealProps;
|
|
105
|
+
SQuantityInput: SQuantityInputProps;
|
|
106
|
+
SRadialPulseAnimate: SRadialPulseAnimateProps;
|
|
107
|
+
SReview: SReviewProps;
|
|
108
|
+
SScrollToTop: SScrollToTopProps;
|
|
109
|
+
SScrollVelocity: SScrollVelocityProps;
|
|
110
|
+
SSelect: SSelectProps;
|
|
111
|
+
SSelectList: SSelectListProps<unknown>;
|
|
112
|
+
SSkeleton: SSkeletonProps;
|
|
113
|
+
SSnackbarMessage: SSnackbarMessageProps;
|
|
114
|
+
SSpotlightCursor: SSpotlightCursorProps;
|
|
115
|
+
SStatusIllustration: SStatusIllustrationProps;
|
|
116
|
+
SSwitch: SSwitchProps;
|
|
117
|
+
STabPanel: STabPanelProps;
|
|
118
|
+
STabs: STabsProps;
|
|
119
|
+
STextField: STextFieldProps;
|
|
120
|
+
STextShimmer: STextShimmerProps;
|
|
121
|
+
STextTruncation: STextTruncationProps;
|
|
122
|
+
SThemeDemo: SThemeDemoProps;
|
|
123
|
+
SThemeSwitch: SThemeSwitchProps;
|
|
124
|
+
STip: STipProps;
|
|
125
|
+
SToolBar: SToolBarProps;
|
|
126
|
+
SToolItem: SToolItemProps;
|
|
127
|
+
STypewriterText: STypewriterTextProps;
|
|
128
|
+
SZoomImage: SZoomImageProps;
|
|
129
|
+
}
|
|
130
|
+
interface ComponentNameToClassKey {
|
|
131
|
+
SAccordion: 'root';
|
|
132
|
+
SActionOverlay: 'root';
|
|
133
|
+
SAutocomplete: 'root';
|
|
134
|
+
SAvatar: 'root';
|
|
135
|
+
SBlurText: 'root';
|
|
136
|
+
SBrandLogo: 'root';
|
|
137
|
+
SBreadcrumbs: 'root';
|
|
138
|
+
SCategoryCard: 'root' | 'title';
|
|
139
|
+
SChatInput: 'root';
|
|
140
|
+
SChatMessage: 'root';
|
|
141
|
+
SCommentMessage: 'root';
|
|
142
|
+
SCheckbox: 'root';
|
|
143
|
+
SChips: 'root';
|
|
144
|
+
SCopyableText: 'root';
|
|
145
|
+
SCountBox: 'root';
|
|
146
|
+
SCountdown: 'root';
|
|
147
|
+
SDialog: 'root';
|
|
148
|
+
SDataTable: 'root';
|
|
149
|
+
SDialogConfirm: 'root';
|
|
150
|
+
SDialogMessage: 'root';
|
|
151
|
+
SEmpty: 'root';
|
|
152
|
+
SFileIcon: 'root';
|
|
153
|
+
SForm: 'root';
|
|
154
|
+
SFlexBox: 'root';
|
|
155
|
+
SGallery: 'root';
|
|
156
|
+
SGlowButton: 'root';
|
|
157
|
+
SGradientIcon: 'root';
|
|
158
|
+
SIconButton: 'root';
|
|
159
|
+
SImageViewer: 'root';
|
|
160
|
+
SImageComparison: 'root';
|
|
161
|
+
SLabel: 'root';
|
|
162
|
+
SLanguagePopover: 'root';
|
|
163
|
+
SLanguageSwitcher: 'root';
|
|
164
|
+
SLazyImage: 'image' | 'root' | 'skeleton';
|
|
165
|
+
SMovingBorder: 'root';
|
|
166
|
+
SNavItem: 'root';
|
|
167
|
+
SNavItems: 'root';
|
|
168
|
+
SPagination: 'root';
|
|
169
|
+
SPixelReveal: 'root';
|
|
170
|
+
SQuantityInput: 'root';
|
|
171
|
+
SRadialPulseAnimate: 'label' | 'root';
|
|
172
|
+
SReview: 'root';
|
|
173
|
+
SScrollToTop: 'root';
|
|
174
|
+
SScrollVelocity: 'root';
|
|
175
|
+
SSelect: 'root';
|
|
176
|
+
SSelectList: 'details' | 'item' | 'label' | 'option' | 'radio' | 'root' | 'transition';
|
|
177
|
+
SSkeleton: 'root';
|
|
178
|
+
SSnackbarMessage: 'root';
|
|
179
|
+
SSpotlightCursor: 'root';
|
|
180
|
+
SStatusIllustration: 'root';
|
|
181
|
+
SSwitch: 'root';
|
|
182
|
+
STabPanel: 'root';
|
|
183
|
+
STabs: 'root';
|
|
184
|
+
STextField: 'root';
|
|
185
|
+
STextShimmer: 'root';
|
|
186
|
+
STextTruncation: 'root';
|
|
187
|
+
SThemeDemo: 'root';
|
|
188
|
+
SThemeSwitch: 'root';
|
|
189
|
+
STip: 'root';
|
|
190
|
+
SToolBar: 'root' | 'toolbar';
|
|
191
|
+
SToolItem: 'root';
|
|
192
|
+
STypewriterText: 'root';
|
|
193
|
+
SZoomImage: 'root';
|
|
194
|
+
}
|
|
195
|
+
interface Components<Theme = unknown> {
|
|
196
|
+
SAccordion?: CustomComponent<'SAccordion', Theme>;
|
|
197
|
+
SActionOverlay?: CustomComponent<'SActionOverlay', Theme>;
|
|
198
|
+
SAutocomplete?: CustomComponent<'SAutocomplete', Theme>;
|
|
199
|
+
SAvatar?: CustomComponent<'SAvatar', Theme>;
|
|
200
|
+
SBlurText?: CustomComponent<'SBlurText', Theme>;
|
|
201
|
+
SBrandLogo?: CustomComponent<'SBrandLogo', Theme>;
|
|
202
|
+
SBreadcrumbs?: CustomComponent<'SBreadcrumbs', Theme>;
|
|
203
|
+
SCategoryCard?: CustomComponent<'SCategoryCard', Theme>;
|
|
204
|
+
SChatInput?: CustomComponent<'SChatInput', Theme>;
|
|
205
|
+
SChatMessage?: CustomComponent<'SChatMessage', Theme>;
|
|
206
|
+
SCommentMessage?: CustomComponent<'SCommentMessage', Theme>;
|
|
207
|
+
SCheckbox?: CustomComponent<'SCheckbox', Theme>;
|
|
208
|
+
SChips?: CustomComponent<'SChips', Theme>;
|
|
209
|
+
SCopyableText?: CustomComponent<'SCopyableText', Theme>;
|
|
210
|
+
SCountBox?: CustomComponent<'SCountBox', Theme>;
|
|
211
|
+
SCountdown?: CustomComponent<'SCountdown', Theme>;
|
|
212
|
+
SDialog?: CustomComponent<'SDialog', Theme>;
|
|
213
|
+
SDataTable?: CustomComponent<'SDataTable', Theme>;
|
|
214
|
+
SDialogConfirm?: CustomComponent<'SDialogConfirm', Theme>;
|
|
215
|
+
SDialogMessage?: CustomComponent<'SDialogMessage', Theme>;
|
|
216
|
+
SEmpty?: CustomComponent<'SEmpty', Theme>;
|
|
217
|
+
SFileIcon?: CustomComponent<'SFileIcon', Theme>;
|
|
218
|
+
SForm?: CustomComponent<'SForm', Theme>;
|
|
219
|
+
SFlexBox?: CustomComponent<'SFlexBox', Theme>;
|
|
220
|
+
SGallery?: CustomComponent<'SGallery', Theme>;
|
|
221
|
+
SGlowButton?: CustomComponent<'SGlowButton', Theme>;
|
|
222
|
+
SGradientIcon?: CustomComponent<'SGradientIcon', Theme>;
|
|
223
|
+
SIconButton?: CustomComponent<'SIconButton', Theme>;
|
|
224
|
+
SImageViewer?: CustomComponent<'SImageViewer', Theme>;
|
|
225
|
+
SImageComparison?: CustomComponent<'SImageComparison', Theme>;
|
|
226
|
+
SLabel?: CustomComponent<'SLabel', Theme>;
|
|
227
|
+
SLanguagePopover?: CustomComponent<'SLanguagePopover', Theme>;
|
|
228
|
+
SLanguageSwitcher?: CustomComponent<'SLanguageSwitcher', Theme>;
|
|
229
|
+
SLazyImage?: CustomComponent<'SLazyImage', Theme>;
|
|
230
|
+
SMovingBorder?: CustomComponent<'SMovingBorder', Theme>;
|
|
231
|
+
SNavItem?: CustomComponent<'SNavItem', Theme>;
|
|
232
|
+
SNavItems?: CustomComponent<'SNavItems', Theme>;
|
|
233
|
+
SPagination?: CustomComponent<'SPagination', Theme>;
|
|
234
|
+
SPixelReveal?: CustomComponent<'SPixelReveal', Theme>;
|
|
235
|
+
SQuantityInput?: CustomComponent<'SQuantityInput', Theme>;
|
|
236
|
+
SRadialPulseAnimate?: CustomComponent<'SRadialPulseAnimate', Theme>;
|
|
237
|
+
SReview?: CustomComponent<'SReview', Theme>;
|
|
238
|
+
SScrollToTop?: CustomComponent<'SScrollToTop', Theme>;
|
|
239
|
+
SScrollVelocity?: CustomComponent<'SScrollVelocity', Theme>;
|
|
240
|
+
SSelect?: CustomComponent<'SSelect', Theme>;
|
|
241
|
+
SSelectList?: CustomComponent<'SSelectList', Theme>;
|
|
242
|
+
SSkeleton?: CustomComponent<'SSkeleton', Theme>;
|
|
243
|
+
SSnackbarMessage?: CustomComponent<'SSnackbarMessage', Theme>;
|
|
244
|
+
SSpotlightCursor?: CustomComponent<'SSpotlightCursor', Theme>;
|
|
245
|
+
SStatusIllustration?: CustomComponent<'SStatusIllustration', Theme>;
|
|
246
|
+
SSwitch?: CustomComponent<'SSwitch', Theme>;
|
|
247
|
+
STabPanel?: CustomComponent<'STabPanel', Theme>;
|
|
248
|
+
STabs?: CustomComponent<'STabs', Theme>;
|
|
249
|
+
STextField?: CustomComponent<'STextField', Theme>;
|
|
250
|
+
STextShimmer?: CustomComponent<'STextShimmer', Theme>;
|
|
251
|
+
STextTruncation?: CustomComponent<'STextTruncation', Theme>;
|
|
252
|
+
SThemeDemo?: CustomComponent<'SThemeDemo', Theme>;
|
|
253
|
+
SThemeSwitch?: CustomComponent<'SThemeSwitch', Theme>;
|
|
254
|
+
STip?: CustomComponent<'STip', Theme>;
|
|
255
|
+
SToolBar?: CustomComponent<'SToolBar', Theme>;
|
|
256
|
+
SToolItem?: CustomComponent<'SToolItem', Theme>;
|
|
257
|
+
STypewriterText?: CustomComponent<'STypewriterText', Theme>;
|
|
258
|
+
SZoomImage?: CustomComponent<'SZoomImage', Theme>;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
export type CustomComponent<Name extends keyof import('@mui/material/styles').ComponentsPropsList & keyof import('@mui/material/styles').ComponentNameToClassKey, Theme> = {
|
|
262
|
+
defaultProps?: Partial<import('@mui/material/styles').ComponentsPropsList[Name]>;
|
|
263
|
+
styleOverrides?: ComponentsOverrides<Theme>[Name];
|
|
264
|
+
variants?: ComponentsVariants<Theme>[Name];
|
|
265
|
+
};
|
|
File without changes
|