@solostylist/ui-kit 1.0.174 → 1.0.176
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ArrowUpward-DhTFpzoh.js → ArrowUpward-CEeqSc-C.js} +2 -2
- package/dist/{Box-Ha0cQ4KO.js → Box-CE3rycd-.js} +5 -5
- package/dist/ButtonBase-C_YYB9Ry.js +1099 -0
- package/dist/{ChevronLeft-CBuFk2Fh.js → ChevronLeft-6gdh4lRt.js} +2 -2
- package/dist/{ChevronRight-CnDWPrOm.js → ChevronRight-CC3l-wPC.js} +2 -2
- package/dist/{Close-BRlEKA2Q.js → Close-DOHlPcFK.js} +2 -2
- package/dist/{ContentCopy-7nFBtjhs.js → ContentCopy-2xxDThyB.js} +2 -2
- package/dist/DefaultPropsProvider-sk0uWcA6.js +64 -0
- package/dist/{Download-UsLvGg3y.js → Download-Chao5NQl.js} +2 -2
- package/dist/{ExpandMore-DTWX_mHf.js → ExpandMore-DIGPB4Mj.js} +2 -2
- package/dist/{Favorite-DS5Gpq2s.js → Favorite-wp65zwWq.js} +2 -2
- package/dist/{Menu-CWq-a1Wz.js → Menu-DZYzE2Mg.js} +908 -906
- package/dist/{MenuItem-DY_qFSPR.js → MenuItem-BXiIhfBS.js} +26 -25
- package/dist/Paper-DnctZB5U.js +689 -0
- package/dist/{Select-DabtQlJT.js → Select-DY7XGVsv.js} +2152 -2115
- package/dist/{Stack-Cq2r2NmC.js → Stack-BScsuyQy.js} +6 -6
- package/dist/{Typography-C8jwvSWe.js → Typography-9Kg27dDw.js} +84 -86
- package/dist/{_commonjsHelpers-B4e78b8K.js → _commonjsHelpers-ByX85dGu.js} +18 -13
- package/dist/assets/s-overlay-scrollbar.css +1 -9
- package/dist/createSvgIcon-BKymXuBG.js +242 -0
- package/dist/{createTheme-3Wd3hHrj.js → createTheme-f5g1s6ww.js} +859 -906
- package/dist/defaultTheme-LSr-S9un.js +5 -0
- package/dist/entries/carousel.d.ts +10 -0
- package/dist/entries/carousel.js +4 -0
- package/dist/entries/chat.d.ts +9 -0
- package/dist/entries/chat.js +4 -0
- package/dist/entries/code.d.ts +9 -0
- package/dist/entries/code.js +4 -0
- package/dist/entries/core.d.ts +100 -0
- package/dist/entries/core.js +122 -0
- package/dist/entries/dates.d.ts +16 -0
- package/dist/entries/dates.js +12 -0
- package/dist/entries/dropzone.d.ts +9 -0
- package/dist/entries/dropzone.js +4 -0
- package/dist/entries/editor.d.ts +12 -0
- package/dist/entries/editor.js +4 -0
- package/dist/entries/gallery.d.ts +17 -0
- package/dist/entries/gallery.js +13 -0
- package/dist/entries/i18n.d.ts +13 -0
- package/dist/entries/i18n.js +8 -0
- package/dist/entries/motion.d.ts +29 -0
- package/dist/entries/motion.js +28 -0
- package/dist/entries/scrollbar.d.ts +9 -0
- package/dist/entries/scrollbar.js +4 -0
- package/dist/entries/stripe.d.ts +10 -0
- package/dist/entries/stripe.js +10 -0
- package/dist/extendSxProp-DitxZ8We.js +36 -0
- package/dist/hooks/index.js +8 -9
- package/dist/hooks/use-is-passed-position.js +10 -10
- package/dist/{index-BGvzecIA.js → index-D3G5Rwl-.js} +0 -7
- package/dist/{index-CfKHZ86U.js → index-DtYP8YE7.js} +12 -13
- package/dist/{jsx-runtime-OVHDjVDe.js → jsx-runtime-tc70JA_2.js} +108 -128
- package/dist/main.d.ts +29 -145
- package/dist/main.js +187 -187
- package/dist/mergeSlotProps-CuzBQdlp.js +62 -0
- package/dist/resolveProps-BDH0VJjn.js +39 -0
- package/dist/s-accordion/package.json +5 -5
- package/dist/s-accordion/s-accordion.js +374 -358
- package/dist/s-action-overlay/package.json +5 -5
- package/dist/s-action-overlay/s-action-overlay.js +64 -79
- package/dist/s-ai-tool-bar/package.json +5 -5
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +260 -275
- package/dist/s-autocomplete/s-autocomplete.js +19 -25
- package/dist/s-avatar/package.json +5 -5
- package/dist/s-avatar/s-avatar.js +14 -25
- package/dist/s-blur-text/package.json +5 -5
- package/dist/s-blur-text/s-blur-text.js +55 -59
- package/dist/s-breadcrumbs/package.json +5 -5
- package/dist/s-breadcrumbs/s-breadcrumbs.js +31 -39
- package/dist/s-button/package.json +5 -5
- package/dist/s-button/s-button.js +7 -15
- package/dist/s-button-link/s-button-link.js +28 -36
- package/dist/s-carousel/package.json +4 -4
- package/dist/s-carousel/s-carousel.js +267 -280
- package/dist/s-category-card/package.json +4 -4
- package/dist/s-category-card/s-category-card.js +60 -77
- package/dist/s-chat-input/package.json +5 -5
- package/dist/s-chat-input/s-chat-input.d.ts +4 -0
- package/dist/s-chat-input/s-chat-input.js +103 -109
- package/dist/s-chat-message/s-chat-message.js +111 -120
- package/dist/s-checkbox/s-checkbox.js +12 -20
- package/dist/s-chip/package.json +5 -5
- package/dist/s-chip/s-chip.js +7 -15
- package/dist/s-chips/s-chips.js +47 -56
- package/dist/s-code-block/package.json +5 -5
- package/dist/s-code-block/s-code-block.js +35 -43
- package/dist/s-comment-message/package.json +5 -5
- package/dist/s-comment-message/s-comment-message.js +90 -94
- package/dist/s-copyable-text/s-copyable-text.js +24 -32
- package/dist/s-countdown/s-count-box.js +42 -50
- package/dist/s-countdown/s-count-down.js +79 -107
- package/dist/s-data-table/s-data-table.js +374 -384
- package/dist/s-date-picker/s-date-picker.js +164 -164
- package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
- package/dist/s-dialog/s-dialog.js +24 -32
- package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
- package/dist/s-dialog-message/s-dialog-message.js +40 -44
- package/dist/s-empty/s-empty.js +6 -14
- package/dist/s-error/s-error.js +9 -17
- package/dist/s-error-layout/s-error-layout.js +38 -47
- package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
- package/dist/s-file-icon/s-file-icon.js +9 -13
- package/dist/s-flex-box/s-flex-box.js +6 -14
- package/dist/s-form/s-form.js +11 -19
- package/dist/s-gallery/index.js +3 -33
- package/dist/s-gallery/s-gallery.js +91 -114
- package/dist/s-glow-button/s-glow-button.js +22 -26
- package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
- package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
- package/dist/s-icon-button/s-icon-button.js +6 -14
- package/dist/s-image-comparison/package.json +5 -5
- package/dist/s-image-comparison/s-image-comparison.js +48 -53
- package/dist/s-image-modal/package.json +5 -5
- package/dist/s-image-modal/s-image-modal.js +137 -150
- package/dist/s-item-not-found/s-item-not-found.js +13 -22
- package/dist/s-label/s-label.js +12 -20
- package/dist/s-language-switcher/s-language-switcher.js +119 -141
- package/dist/s-lazy-image/index.js +2 -10
- package/dist/s-lazy-image/s-lazy-image.js +33 -37
- package/dist/s-localization-provider/s-localization-provider.js +368 -380
- package/dist/s-moving-border/s-moving-border.js +52 -67
- package/dist/s-multi-select/s-multi-select.js +43 -51
- package/dist/s-no-ssr/s-no-ssr.js +13 -21
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
- package/dist/s-pagination/s-pagination.js +13 -17
- package/dist/s-pixel-reveal/package.json +5 -5
- package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
- package/dist/s-radial-pulse-animate/package.json +5 -5
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
- package/dist/s-rating/package.json +5 -5
- package/dist/s-rating/s-rating.js +7 -15
- package/dist/s-review/package.json +5 -5
- package/dist/s-review/s-review.js +101 -106
- package/dist/s-scroll-reveal/package.json +5 -5
- package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
- package/dist/s-scroll-to-top/package.json +5 -5
- package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
- package/dist/s-scroll-velocity/package.json +5 -5
- package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
- package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
- package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
- package/dist/s-select/s-select.js +67 -75
- package/dist/s-select-list/s-select-list.js +28 -32
- package/dist/s-skeleton/s-skeleton.js +20 -28
- package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
- package/dist/s-stripe/s-stripe-cvc.js +8 -12
- package/dist/s-stripe/s-stripe-expiry.js +8 -12
- package/dist/s-stripe/s-stripe-number.js +8 -12
- package/dist/s-stripe/s-stripe.d.ts +2 -2
- package/dist/s-stripe/s-stripe.js +17 -26
- package/dist/s-stripe/stripe-input.js +25 -29
- package/dist/s-tabs/package.json +3 -3
- package/dist/s-tabs/s-tab-panel.js +17 -25
- package/dist/s-tabs/s-tab.js +5 -9
- package/dist/s-tabs/s-tabs.js +19 -27
- package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
- package/dist/s-text-editor/s-text-editor.js +33 -45
- package/dist/s-text-field/s-text-field.js +31 -40
- package/dist/s-text-shimmer/package.json +4 -4
- package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
- package/dist/s-text-truncation/s-text-truncation.js +24 -32
- package/dist/s-theme-demo/package.json +5 -5
- package/dist/s-theme-demo/s-theme-demo.js +219 -234
- package/dist/s-theme-provider/s-theme-provider.js +37 -45
- package/dist/s-theme-switch/package.json +4 -4
- package/dist/s-theme-switch/s-theme-switch.js +19 -23
- package/dist/s-tip/s-tip.js +14 -22
- package/dist/s-two-pane-layout/index.js +2 -10
- package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
- package/dist/s-typewriter-text/package.json +5 -5
- package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
- package/dist/s-zoom-image/index.js +2 -10
- package/dist/s-zoom-image/package.json +5 -5
- package/dist/s-zoom-image/s-zoom-image.js +53 -62
- package/dist/styled-B0KflPi-.js +203 -0
- package/dist/theme/components/alert.d.ts +484 -264
- package/dist/theme/components/avatar.js +2 -2
- package/dist/theme/components/button.d.ts +726 -396
- package/dist/theme/components/chip.js +2 -2
- package/dist/theme/components/components.js +14 -12
- package/dist/theme/components/icon-button.d.ts +6191 -0
- package/dist/theme/components/icon-button.js +90 -0
- package/dist/theme/customizations/data-display.js +1 -1
- package/dist/theme/customizations/inputs.js +2 -2
- package/dist/theme/customizations/navigation.js +2 -2
- package/dist/theme/theme-primitives.d.ts +8 -246
- package/dist/theme/theme-primitives.js +76 -87
- package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
- package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
- package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
- package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
- package/dist/utils/dayjs.js +7 -7
- package/dist/utils/logger.js +29 -32
- package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
- package/package.json +240 -81
- package/README.md +0 -13
- package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
- package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
- package/dist/Paper-hkbPWyBT.js +0 -553
- package/dist/createSvgIcon-DxwgGAVe.js +0 -247
- package/dist/defaultTheme-fEi1x1Gb.js +0 -5
- package/dist/extendSxProp-BKWjdW12.js +0 -37
- package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
- package/dist/resolveProps-61uUKnlS.js +0 -52
- package/dist/styled-B0Z4EDy9.js +0 -206
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Carousel/Slider components
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - react-slick
|
|
7
|
+
* - slick-carousel
|
|
8
|
+
*/
|
|
9
|
+
export { default as SCarousel } from '../s-carousel/index';
|
|
10
|
+
export type { SCarouselProps } from '../s-carousel/index';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat components with emoji picker
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - emoji-picker-react
|
|
7
|
+
*/
|
|
8
|
+
export { default as SChatInput } from '../s-chat-input/index';
|
|
9
|
+
export type { SChatInputProps } from '../s-chat-input/index';
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core components - Base MUI components with no heavy dependencies
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - react, react-dom
|
|
6
|
+
* - @mui/material, @mui/icons-material, @mui/lab, @mui/utils
|
|
7
|
+
* - @emotion/cache, @emotion/react, @emotion/styled
|
|
8
|
+
* - @fontsource/outfit
|
|
9
|
+
* - uuid
|
|
10
|
+
*/
|
|
11
|
+
export { default as SAccordion } from '../s-accordion/index';
|
|
12
|
+
export type { SAccordionProps } from '../s-accordion/index';
|
|
13
|
+
export { default as SActionOverlay } from '../s-action-overlay/index';
|
|
14
|
+
export type { SActionOverlayProps, IActionOverlay } from '../s-action-overlay/index';
|
|
15
|
+
export { default as SAiToolBar, SAiToolBarInputType } from '../s-ai-tool-bar/index';
|
|
16
|
+
export type { SAiToolBarProps, SAiToolBarInput, SAiToolBarValue, SAiToolBarOption } from '../s-ai-tool-bar/index';
|
|
17
|
+
export { default as SAutocomplete } from '../s-autocomplete/index';
|
|
18
|
+
export type { SAutocompleteProps } from '../s-autocomplete/index';
|
|
19
|
+
export { default as SAvatar } from '../s-avatar/index';
|
|
20
|
+
export type { SAvatarProps } from '../s-avatar/index';
|
|
21
|
+
export { default as SBreadcrumbs } from '../s-breadcrumbs/index';
|
|
22
|
+
export type { SBreadcrumbsProps, BreadcrumbItem } from '../s-breadcrumbs/index';
|
|
23
|
+
export { default as SButton } from '../s-button/index';
|
|
24
|
+
export type { SButtonProps } from '../s-button/index';
|
|
25
|
+
export { default as SButtonLink } from '../s-button-link/index';
|
|
26
|
+
export type { SButtonLinkProps } from '../s-button-link/index';
|
|
27
|
+
export { default as SChatMessage } from '../s-chat-message/index';
|
|
28
|
+
export type { SChatMessageProps } from '../s-chat-message/index';
|
|
29
|
+
export { default as SCommentMessage } from '../s-comment-message/index';
|
|
30
|
+
export type { SCommentMessageProps } from '../s-comment-message/index';
|
|
31
|
+
export { default as SCheckbox } from '../s-checkbox/index';
|
|
32
|
+
export type { SCheckboxProps } from '../s-checkbox/index';
|
|
33
|
+
export { default as SChip } from '../s-chip/index';
|
|
34
|
+
export type { SChipProps } from '../s-chip/index';
|
|
35
|
+
export { default as SChips } from '../s-chips/index';
|
|
36
|
+
export type { SChipsProps } from '../s-chips/index';
|
|
37
|
+
export { default as SDataTable } from '../s-data-table/index';
|
|
38
|
+
export type { ColumnDef, SDataTableProps } from '../s-data-table/index';
|
|
39
|
+
export { default as SDialog } from '../s-dialog/index';
|
|
40
|
+
export type { SDialogProps } from '../s-dialog/index';
|
|
41
|
+
export { default as SDialogConfirm, DialogConfirmProvider, useDialogConfirm } from '../s-dialog-confirm/index';
|
|
42
|
+
export type { DialogConfirmContextProps, DialogConfirmOpenOptions } from '../s-dialog-confirm/index';
|
|
43
|
+
export { default as SDialogMessage, DialogMessageProvider, useDialogMessage } from '../s-dialog-message/index';
|
|
44
|
+
export type { DialogMessageContextProps, DialogMessageOpenOptions } from '../s-dialog-message/index';
|
|
45
|
+
export { default as SEmpty } from '../s-empty/index';
|
|
46
|
+
export type { SEmptyProps } from '../s-empty/index';
|
|
47
|
+
export { default as SError } from '../s-error/index';
|
|
48
|
+
export { default as SErrorLayout } from '../s-error-layout/index';
|
|
49
|
+
export type { SErrorLayoutProps } from '../s-error-layout/index';
|
|
50
|
+
export { default as SFileIcon } from '../s-file-icon/index';
|
|
51
|
+
export type { SFileIconProps } from '../s-file-icon/index';
|
|
52
|
+
export { default as SFlexBox } from '../s-flex-box/index';
|
|
53
|
+
export type { SFlexBoxProps } from '../s-flex-box/index';
|
|
54
|
+
export { default as SForm } from '../s-form/index';
|
|
55
|
+
export type { SFormProps } from '../s-form/index';
|
|
56
|
+
export { default as SGradientIcon } from '../s-gradient-icon/index';
|
|
57
|
+
export type { SGradientIconProps } from '../s-gradient-icon/index';
|
|
58
|
+
export { default as SIconButton } from '../s-icon-button/index';
|
|
59
|
+
export type { SIconButtonProps } from '../s-icon-button/index';
|
|
60
|
+
export { default as SItemNotFound } from '../s-item-not-found/index';
|
|
61
|
+
export type { SItemNotFoundProps } from '../s-item-not-found/index';
|
|
62
|
+
export { default as SLabel } from '../s-label/index';
|
|
63
|
+
export type { SLabelProps } from '../s-label/index';
|
|
64
|
+
export { default as SMultiSelect } from '../s-multi-select/index';
|
|
65
|
+
export type { SMultiSelectProps } from '../s-multi-select/index';
|
|
66
|
+
export { default as SNoSsr } from '../s-no-ssr/index';
|
|
67
|
+
export type { SNoSsrProps } from '../s-no-ssr/index';
|
|
68
|
+
export { default as SPagination } from '../s-pagination/index';
|
|
69
|
+
export type { SPaginationProps } from '../s-pagination/index';
|
|
70
|
+
export { default as SRating } from '../s-rating/index';
|
|
71
|
+
export type { SRatingProps } from '../s-rating/index';
|
|
72
|
+
export { default as SReview } from '../s-review/index';
|
|
73
|
+
export type { SReviewProps } from '../s-review/index';
|
|
74
|
+
export { default as SSelect } from '../s-select/index';
|
|
75
|
+
export type { SSelectProps } from '../s-select/index';
|
|
76
|
+
export { default as SSelectList } from '../s-select-list/index';
|
|
77
|
+
export type { SSelectListProps, SSelectListItem } from '../s-select-list/index';
|
|
78
|
+
export { default as SSkeleton } from '../s-skeleton/index';
|
|
79
|
+
export type { SSkeletonProps } from '../s-skeleton/index';
|
|
80
|
+
export { default as SSnackbarMessage, SnackbarMessageProvider, useSnackbarMessage } from '../s-snackbar-message/index';
|
|
81
|
+
export type { SnackbarMessageContextProps, SnackbarMessageOpenOptions } from '../s-snackbar-message/index';
|
|
82
|
+
export { STabs, STab, STabPanel } from '../s-tabs/index';
|
|
83
|
+
export type { STabsProps, STabItem, STabProps, STabPanelProps } from '../s-tabs/index';
|
|
84
|
+
export { default as STextField } from '../s-text-field/index';
|
|
85
|
+
export type { STextFieldProps } from '../s-text-field/index';
|
|
86
|
+
export { default as STextTruncation } from '../s-text-truncation/index';
|
|
87
|
+
export { default as STip } from '../s-tip/index';
|
|
88
|
+
export type { STipProps } from '../s-tip/index';
|
|
89
|
+
export { default as STwoPaneLayout } from '../s-two-pane-layout/index';
|
|
90
|
+
export type { STwoPaneLayoutProps } from '../s-two-pane-layout/index';
|
|
91
|
+
export { default as SCopyableText } from '../s-copyable-text/index';
|
|
92
|
+
export type { SCopyableTextProps } from '../s-copyable-text/index';
|
|
93
|
+
export { default as SCategoryCard } from '../s-category-card/index';
|
|
94
|
+
export type { SCategoryCardProps } from '../s-category-card/index';
|
|
95
|
+
export { default as SThemeProvider } from '../s-theme-provider/index';
|
|
96
|
+
export type { SThemeProviderProps } from '../s-theme-provider/index';
|
|
97
|
+
export { default as SThemeSwitch } from '../s-theme-switch/index';
|
|
98
|
+
export type { SThemeSwitchProps, SThemeMode } from '../s-theme-switch/index';
|
|
99
|
+
export * from '../hooks';
|
|
100
|
+
export * from '../utils';
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { STabs as e } from "../s-tabs/s-tabs.js";
|
|
2
|
+
import { default as m } from "../s-tabs/s-tab.js";
|
|
3
|
+
import { STabPanel as f } from "../s-tabs/s-tab-panel.js";
|
|
4
|
+
import { SAccordion as a } from "../s-accordion/s-accordion.js";
|
|
5
|
+
import { SActionOverlay as i } from "../s-action-overlay/s-action-overlay.js";
|
|
6
|
+
import { SAiToolBar as l, SAiToolBarInputType as n } from "../s-ai-tool-bar/s-ai-tool-bar.js";
|
|
7
|
+
import { SAutocomplete as u } from "../s-autocomplete/s-autocomplete.js";
|
|
8
|
+
import { SAvatar as d } from "../s-avatar/s-avatar.js";
|
|
9
|
+
import { SBreadcrumbs as b } from "../s-breadcrumbs/s-breadcrumbs.js";
|
|
10
|
+
import { SButton as P } from "../s-button/s-button.js";
|
|
11
|
+
import { SButtonLink as v } from "../s-button-link/s-button-link.js";
|
|
12
|
+
import { SChatMessage as L } from "../s-chat-message/s-chat-message.js";
|
|
13
|
+
import { SCommentMessage as h } from "../s-comment-message/s-comment-message.js";
|
|
14
|
+
import { SCheckbox as B } from "../s-checkbox/s-checkbox.js";
|
|
15
|
+
import { SChip as I } from "../s-chip/s-chip.js";
|
|
16
|
+
import { SChips as w } from "../s-chips/s-chips.js";
|
|
17
|
+
import { SDataTable as N } from "../s-data-table/s-data-table.js";
|
|
18
|
+
import { SDialog as j } from "../s-dialog/s-dialog.js";
|
|
19
|
+
import { DialogConfirmProvider as G, SDialogConfirm as O, useDialogConfirm as q } from "../s-dialog-confirm/s-dialog-confirm.js";
|
|
20
|
+
import { DialogMessageProvider as J, SDialogMessage as K, useDialogMessage as Q } from "../s-dialog-message/s-dialog-message.js";
|
|
21
|
+
import { SEmpty as V } from "../s-empty/s-empty.js";
|
|
22
|
+
import { SError as X } from "../s-error/s-error.js";
|
|
23
|
+
import { SErrorLayout as Z } from "../s-error-layout/s-error-layout.js";
|
|
24
|
+
import { SFileIcon as $ } from "../s-file-icon/s-file-icon.js";
|
|
25
|
+
import { SFlexBox as ro } from "../s-flex-box/s-flex-box.js";
|
|
26
|
+
import { SForm as to } from "../s-form/s-form.js";
|
|
27
|
+
import { SGradientIcon as po } from "../s-gradient-icon/s-gradient-icon.js";
|
|
28
|
+
import { SIconButton as xo } from "../s-icon-button/s-icon-button.js";
|
|
29
|
+
import { SItemNotFound as So } from "../s-item-not-found/s-item-not-found.js";
|
|
30
|
+
import { SLabel as so } from "../s-label/s-label.js";
|
|
31
|
+
import { SMultiSelect as no } from "../s-multi-select/s-multi-select.js";
|
|
32
|
+
import { SNoSsr as uo } from "../s-no-ssr/s-no-ssr.js";
|
|
33
|
+
import { SPagination as To } from "../s-pagination/s-pagination.js";
|
|
34
|
+
import { SRating as Co } from "../s-rating/s-rating.js";
|
|
35
|
+
import { SReview as Do } from "../s-review/s-review.js";
|
|
36
|
+
import { SSelect as yo } from "../s-select/s-select.js";
|
|
37
|
+
import { SSelectList as Mo } from "../s-select-list/s-select-list.js";
|
|
38
|
+
import { SSkeleton as Ao } from "../s-skeleton/s-skeleton.js";
|
|
39
|
+
import { SSnackbarMessage as ko, SnackbarMessageProvider as Io, useSnackbarMessage as Fo } from "../s-snackbar-message/s-snackbar-message.js";
|
|
40
|
+
import { STextField as Eo } from "../s-text-field/s-text-field.js";
|
|
41
|
+
import { STextTruncation as Ro } from "../s-text-truncation/s-text-truncation.js";
|
|
42
|
+
import { STip as zo } from "../s-tip/s-tip.js";
|
|
43
|
+
import { STwoPaneLayout as Oo } from "../s-two-pane-layout/s-two-pane-layout.js";
|
|
44
|
+
import { SCopyableText as Ho } from "../s-copyable-text/s-copyable-text.js";
|
|
45
|
+
import { SCategoryCard as Ko } from "../s-category-card/s-category-card.js";
|
|
46
|
+
import { SThemeProvider as Uo } from "../s-theme-provider/s-theme-provider.js";
|
|
47
|
+
import { default as Wo } from "../s-theme-switch/s-theme-switch.js";
|
|
48
|
+
import { useDialog as Yo } from "../hooks/use-dialog.js";
|
|
49
|
+
import { usePopover as _o } from "../hooks/use-popover.js";
|
|
50
|
+
import { useScrollAnimation as or } from "../hooks/use-scroll-animation.js";
|
|
51
|
+
import { useIsPassedPosition as er } from "../hooks/use-is-passed-position.js";
|
|
52
|
+
import { default as mr } from "dayjs";
|
|
53
|
+
import { formatDatePosted as fr } from "../utils/dayjs.js";
|
|
54
|
+
import { bytesToSize as ar } from "../utils/bytes-to-size.js";
|
|
55
|
+
import { LogLevel as ir, Logger as sr, createLogger as lr, logger as nr } from "../utils/logger.js";
|
|
56
|
+
export {
|
|
57
|
+
G as DialogConfirmProvider,
|
|
58
|
+
J as DialogMessageProvider,
|
|
59
|
+
ir as LogLevel,
|
|
60
|
+
sr as Logger,
|
|
61
|
+
a as SAccordion,
|
|
62
|
+
i as SActionOverlay,
|
|
63
|
+
l as SAiToolBar,
|
|
64
|
+
n as SAiToolBarInputType,
|
|
65
|
+
u as SAutocomplete,
|
|
66
|
+
d as SAvatar,
|
|
67
|
+
b as SBreadcrumbs,
|
|
68
|
+
P as SButton,
|
|
69
|
+
v as SButtonLink,
|
|
70
|
+
Ko as SCategoryCard,
|
|
71
|
+
L as SChatMessage,
|
|
72
|
+
B as SCheckbox,
|
|
73
|
+
I as SChip,
|
|
74
|
+
w as SChips,
|
|
75
|
+
h as SCommentMessage,
|
|
76
|
+
Ho as SCopyableText,
|
|
77
|
+
N as SDataTable,
|
|
78
|
+
j as SDialog,
|
|
79
|
+
O as SDialogConfirm,
|
|
80
|
+
K as SDialogMessage,
|
|
81
|
+
V as SEmpty,
|
|
82
|
+
X as SError,
|
|
83
|
+
Z as SErrorLayout,
|
|
84
|
+
$ as SFileIcon,
|
|
85
|
+
ro as SFlexBox,
|
|
86
|
+
to as SForm,
|
|
87
|
+
po as SGradientIcon,
|
|
88
|
+
xo as SIconButton,
|
|
89
|
+
So as SItemNotFound,
|
|
90
|
+
so as SLabel,
|
|
91
|
+
no as SMultiSelect,
|
|
92
|
+
uo as SNoSsr,
|
|
93
|
+
To as SPagination,
|
|
94
|
+
Co as SRating,
|
|
95
|
+
Do as SReview,
|
|
96
|
+
yo as SSelect,
|
|
97
|
+
Mo as SSelectList,
|
|
98
|
+
Ao as SSkeleton,
|
|
99
|
+
ko as SSnackbarMessage,
|
|
100
|
+
m as STab,
|
|
101
|
+
f as STabPanel,
|
|
102
|
+
e as STabs,
|
|
103
|
+
Eo as STextField,
|
|
104
|
+
Ro as STextTruncation,
|
|
105
|
+
Uo as SThemeProvider,
|
|
106
|
+
Wo as SThemeSwitch,
|
|
107
|
+
zo as STip,
|
|
108
|
+
Oo as STwoPaneLayout,
|
|
109
|
+
Io as SnackbarMessageProvider,
|
|
110
|
+
ar as bytesToSize,
|
|
111
|
+
lr as createLogger,
|
|
112
|
+
mr as dayjs,
|
|
113
|
+
fr as formatDatePosted,
|
|
114
|
+
nr as logger,
|
|
115
|
+
Yo as useDialog,
|
|
116
|
+
q as useDialogConfirm,
|
|
117
|
+
Q as useDialogMessage,
|
|
118
|
+
er as useIsPassedPosition,
|
|
119
|
+
_o as usePopover,
|
|
120
|
+
or as useScrollAnimation,
|
|
121
|
+
Fo as useSnackbarMessage
|
|
122
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Date/Time components
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - @mui/x-date-pickers
|
|
7
|
+
* - dayjs
|
|
8
|
+
*/
|
|
9
|
+
export { default as SDatePicker } from '../s-date-picker/index';
|
|
10
|
+
export type { SDatePickerProps } from '../s-date-picker/index';
|
|
11
|
+
export { default as SDateTimePicker } from '../s-datetime-picker/index';
|
|
12
|
+
export type { SDateTimePickerProps } from '../s-datetime-picker/index';
|
|
13
|
+
export { default as SLocalizationProvider } from '../s-localization-provider/index';
|
|
14
|
+
export type { SLocalizationProviderProps } from '../s-localization-provider/index';
|
|
15
|
+
export { SCountdown, SCountBox } from '../s-countdown/index';
|
|
16
|
+
export type { SCountDownProps, SCountBoxProps } from '../s-countdown/index';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SDatePicker as e } from "../s-date-picker/s-date-picker.js";
|
|
2
|
+
import { SDateTimePicker as i } from "../s-datetime-picker/s-datetime-picker.js";
|
|
3
|
+
import { SLocalizationProvider as x } from "../s-localization-provider/s-localization-provider.js";
|
|
4
|
+
import { SCountdown as p } from "../s-countdown/s-count-down.js";
|
|
5
|
+
import { SCountBox as a } from "../s-countdown/s-count-box.js";
|
|
6
|
+
export {
|
|
7
|
+
a as SCountBox,
|
|
8
|
+
p as SCountdown,
|
|
9
|
+
e as SDatePicker,
|
|
10
|
+
i as SDateTimePicker,
|
|
11
|
+
x as SLocalizationProvider
|
|
12
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* File upload components
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - react-dropzone
|
|
7
|
+
*/
|
|
8
|
+
export { default as SFileDropzone } from '../s-file-dropzone/index';
|
|
9
|
+
export type { CustomFile, SFileDropzoneProps } from '../s-file-dropzone/index';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rich Text Editor components
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - @tiptap/react
|
|
7
|
+
* - @tiptap/starter-kit
|
|
8
|
+
* - @tiptap/extension-link
|
|
9
|
+
* - @tiptap/extension-placeholder
|
|
10
|
+
*/
|
|
11
|
+
export { default as STextEditor } from '../s-text-editor/index';
|
|
12
|
+
export type { STextEditorProps } from '../s-text-editor/index';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gallery and Image components
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - framer-motion
|
|
7
|
+
*/
|
|
8
|
+
export { default as SGallery, MediaItem } from '../s-gallery/index';
|
|
9
|
+
export type { SGalleryProps, MediaItemProps, GalleryLayoutVariant } from '../s-gallery/index';
|
|
10
|
+
export { default as SImageComparison } from '../s-image-comparison/index';
|
|
11
|
+
export type { SImageComparisonProps } from '../s-image-comparison/index';
|
|
12
|
+
export { default as SImageModal } from '../s-image-modal/index';
|
|
13
|
+
export type { MediaItemType, SImageModalProps } from '../s-image-modal/index';
|
|
14
|
+
export { default as SLazyImage } from '../s-lazy-image/index';
|
|
15
|
+
export type { SLazyImageProps } from '../s-lazy-image/index';
|
|
16
|
+
export { default as SZoomImage } from '../s-zoom-image/index';
|
|
17
|
+
export type { SZoomImageProps } from '../s-zoom-image/index';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MediaItem as a, SGallery as m } from "../s-gallery/s-gallery.js";
|
|
2
|
+
import { default as t } from "../s-image-comparison/s-image-comparison.js";
|
|
3
|
+
import { SImageModal as p } from "../s-image-modal/s-image-modal.js";
|
|
4
|
+
import { default as x } from "../s-lazy-image/s-lazy-image.js";
|
|
5
|
+
import { SZoomImage as S } from "../s-zoom-image/s-zoom-image.js";
|
|
6
|
+
export {
|
|
7
|
+
a as MediaItem,
|
|
8
|
+
m as SGallery,
|
|
9
|
+
t as SImageComparison,
|
|
10
|
+
p as SImageModal,
|
|
11
|
+
x as SLazyImage,
|
|
12
|
+
S as SZoomImage
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internationalization components
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - i18next
|
|
7
|
+
* - i18next-http-backend
|
|
8
|
+
* - react-i18next
|
|
9
|
+
*/
|
|
10
|
+
export { default as SI18nProvider } from '../s-i18n-provider/index';
|
|
11
|
+
export type { SI18nProviderProps } from '../s-i18n-provider/index';
|
|
12
|
+
export { default as SLanguageSwitcher, SLanguagePopover, defaultLanguageOptions } from '../s-language-switcher/index';
|
|
13
|
+
export type { SLanguageSwitcherProps, SLanguagePopoverProps, SLanguageOption } from '../s-language-switcher/index';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SI18nProvider as r } from "../s-i18n-provider/s-i18n-provider.js";
|
|
2
|
+
import { SLanguagePopover as g, SLanguageSwitcher as n, defaultLanguageOptions as t } from "../s-language-switcher/s-language-switcher.js";
|
|
3
|
+
export {
|
|
4
|
+
r as SI18nProvider,
|
|
5
|
+
g as SLanguagePopover,
|
|
6
|
+
n as SLanguageSwitcher,
|
|
7
|
+
t as defaultLanguageOptions
|
|
8
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Animation components powered by Framer Motion
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - framer-motion
|
|
7
|
+
*/
|
|
8
|
+
export { default as SBlurText } from '../s-blur-text/index';
|
|
9
|
+
export type { SBlurTextProps } from '../s-blur-text/index';
|
|
10
|
+
export { default as SGlowButton } from '../s-glow-button/index';
|
|
11
|
+
export type { SGlowButtonProps } from '../s-glow-button/index';
|
|
12
|
+
export { default as SMovingBorder } from '../s-moving-border/index';
|
|
13
|
+
export type { SMovingBorderProps } from '../s-moving-border/index';
|
|
14
|
+
export { default as SPixelReveal } from '../s-pixel-reveal/index';
|
|
15
|
+
export type { SPixelRevealProps } from '../s-pixel-reveal/index';
|
|
16
|
+
export { default as SRadialPulseAnimate } from '../s-radial-pulse-animate/index';
|
|
17
|
+
export type { SRadialPulseAnimateProps } from '../s-radial-pulse-animate/index';
|
|
18
|
+
export { default as SScrollReveal } from '../s-scroll-reveal/index';
|
|
19
|
+
export type { SScrollRevealProps } from '../s-scroll-reveal/index';
|
|
20
|
+
export { default as SScrollToTop } from '../s-scroll-to-top/index';
|
|
21
|
+
export type { SScrollToTopProps } from '../s-scroll-to-top/index';
|
|
22
|
+
export { default as SScrollVelocity, ScrollVelocityContainer, ScrollVelocityRow } from '../s-scroll-velocity/index';
|
|
23
|
+
export type { SScrollVelocityProps, ScrollVelocityContainerProps, ScrollVelocityRowProps, } from '../s-scroll-velocity/index';
|
|
24
|
+
export { default as SSpotlightCursor } from '../s-spotlight-cursor/index';
|
|
25
|
+
export type { SSpotlightCursorProps, SpotlightConfig } from '../s-spotlight-cursor/index';
|
|
26
|
+
export { default as STextShimmer } from '../s-text-shimmer/index';
|
|
27
|
+
export type { STextShimmerProps } from '../s-text-shimmer/index';
|
|
28
|
+
export { default as STypewriterText } from '../s-typewriter-text/index';
|
|
29
|
+
export type { STypewriterTextProps } from '../s-typewriter-text/index';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SScrollReveal as e } from "../s-scroll-reveal/s-scroll-reveal.js";
|
|
2
|
+
import { STypewriterText as l } from "../s-typewriter-text/s-typewriter-text.js";
|
|
3
|
+
import { SBlurText as x } from "../s-blur-text/s-blur-text.js";
|
|
4
|
+
import { default as p } from "../s-glow-button/s-glow-button.js";
|
|
5
|
+
import { SMovingBorder as i } from "../s-moving-border/s-moving-border.js";
|
|
6
|
+
import { SPixelReveal as c } from "../s-pixel-reveal/s-pixel-reveal.js";
|
|
7
|
+
import { SRadialPulseAnimate as n } from "../s-radial-pulse-animate/s-radial-pulse-animate.js";
|
|
8
|
+
import { SScrollToTop as y } from "../s-scroll-to-top/s-scroll-to-top.js";
|
|
9
|
+
import { SScrollVelocity as d } from "../s-scroll-velocity/s-scroll-velocity.js";
|
|
10
|
+
import { SSpotlightCursor as v } from "../s-spotlight-cursor/s-spotlight-cursor.js";
|
|
11
|
+
import { STextShimmer as B } from "../s-text-shimmer/s-text-shimmer.js";
|
|
12
|
+
import { ScrollVelocityContainer as g } from "../s-scroll-velocity/scroll-velocity-container.js";
|
|
13
|
+
import { ScrollVelocityRow as C } from "../s-scroll-velocity/scroll-velocity-row.js";
|
|
14
|
+
export {
|
|
15
|
+
x as SBlurText,
|
|
16
|
+
p as SGlowButton,
|
|
17
|
+
i as SMovingBorder,
|
|
18
|
+
c as SPixelReveal,
|
|
19
|
+
n as SRadialPulseAnimate,
|
|
20
|
+
e as SScrollReveal,
|
|
21
|
+
y as SScrollToTop,
|
|
22
|
+
d as SScrollVelocity,
|
|
23
|
+
v as SSpotlightCursor,
|
|
24
|
+
B as STextShimmer,
|
|
25
|
+
l as STypewriterText,
|
|
26
|
+
g as ScrollVelocityContainer,
|
|
27
|
+
C as ScrollVelocityRow
|
|
28
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom scrollbar components
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - overlayscrollbars-react
|
|
7
|
+
*/
|
|
8
|
+
export { default as SOverlayScrollbar } from '../s-overlay-scrollbar/index';
|
|
9
|
+
export type { SOverlayScrollbarProps } from '../s-overlay-scrollbar/index';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stripe Payment components
|
|
3
|
+
*
|
|
4
|
+
* Required peer dependencies:
|
|
5
|
+
* - All core dependencies
|
|
6
|
+
* - @stripe/react-stripe-js
|
|
7
|
+
* - @stripe/stripe-js
|
|
8
|
+
*/
|
|
9
|
+
export { SStripeNumber, SStripeExpiry, SStripeCVC, StripeTextField } from '../s-stripe/index';
|
|
10
|
+
export type { StripeTextFieldProps, StripeElement } from '../s-stripe/index';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SStripeNumber as p } from "../s-stripe/s-stripe-number.js";
|
|
2
|
+
import { SStripeExpiry as o } from "../s-stripe/s-stripe-expiry.js";
|
|
3
|
+
import { SStripeCVC as i } from "../s-stripe/s-stripe-cvc.js";
|
|
4
|
+
import { StripeTextField as m } from "../s-stripe/s-stripe.js";
|
|
5
|
+
export {
|
|
6
|
+
i as SStripeCVC,
|
|
7
|
+
o as SStripeExpiry,
|
|
8
|
+
p as SStripeNumber,
|
|
9
|
+
m as StripeTextField
|
|
10
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { i as c, d as l } from "./createTheme-f5g1s6ww.js";
|
|
2
|
+
const a = (t) => {
|
|
3
|
+
const s = {
|
|
4
|
+
systemProps: {},
|
|
5
|
+
otherProps: {}
|
|
6
|
+
}, n = t?.theme?.unstable_sxConfig ?? l;
|
|
7
|
+
return Object.keys(t).forEach((e) => {
|
|
8
|
+
n[e] ? s.systemProps[e] = t[e] : s.otherProps[e] = t[e];
|
|
9
|
+
}), s;
|
|
10
|
+
};
|
|
11
|
+
function x(t) {
|
|
12
|
+
const {
|
|
13
|
+
sx: s,
|
|
14
|
+
...n
|
|
15
|
+
} = t, {
|
|
16
|
+
systemProps: e,
|
|
17
|
+
otherProps: i
|
|
18
|
+
} = a(n);
|
|
19
|
+
let r;
|
|
20
|
+
return Array.isArray(s) ? r = [e, ...s] : typeof s == "function" ? r = (...f) => {
|
|
21
|
+
const o = s(...f);
|
|
22
|
+
return c(o) ? {
|
|
23
|
+
...e,
|
|
24
|
+
...o
|
|
25
|
+
} : e;
|
|
26
|
+
} : r = {
|
|
27
|
+
...e,
|
|
28
|
+
...s
|
|
29
|
+
}, {
|
|
30
|
+
...i,
|
|
31
|
+
sx: r
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
x as e
|
|
36
|
+
};
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { useDialog as
|
|
2
|
-
import { usePopover as
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import { useIsPassedPosition as u } from "./use-is-passed-position.js";
|
|
1
|
+
import { useDialog as r } from "./use-dialog.js";
|
|
2
|
+
import { usePopover as t } from "./use-popover.js";
|
|
3
|
+
import { useScrollAnimation as m } from "./use-scroll-animation.js";
|
|
4
|
+
import { useIsPassedPosition as f } from "./use-is-passed-position.js";
|
|
6
5
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
r as useDialog,
|
|
7
|
+
f as useIsPassedPosition,
|
|
8
|
+
t as usePopover,
|
|
9
|
+
m as useScrollAnimation
|
|
11
10
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { useState as f, useEffect as d } from "react";
|
|
2
2
|
function a(s, r) {
|
|
3
|
-
const [
|
|
3
|
+
const [i, c] = f(!1);
|
|
4
4
|
return d(() => {
|
|
5
5
|
let e = null;
|
|
6
|
-
if (typeof s == "string" ? e = document.getElementById(s) ?? null : s instanceof Window ? e = s : s
|
|
7
|
-
const
|
|
8
|
-
let
|
|
9
|
-
e instanceof Window ?
|
|
10
|
-
const
|
|
11
|
-
return o !==
|
|
6
|
+
if (typeof s == "string" ? e = document.getElementById(s) ?? null : s instanceof Window ? e = s : s?.current && (e = s.current), !e || !("addEventListener" in e)) return;
|
|
7
|
+
const t = () => {
|
|
8
|
+
let n = 0;
|
|
9
|
+
e instanceof Window ? n = e.scrollY : e instanceof HTMLElement && (n = e.scrollTop), c((o) => {
|
|
10
|
+
const l = n > r;
|
|
11
|
+
return o !== l ? l : o;
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
|
-
return
|
|
15
|
-
e
|
|
14
|
+
return t(), e.addEventListener("scroll", t), () => {
|
|
15
|
+
e?.removeEventListener("scroll", t);
|
|
16
16
|
};
|
|
17
|
-
}, [s, r]),
|
|
17
|
+
}, [s, r]), i;
|
|
18
18
|
}
|
|
19
19
|
export {
|
|
20
20
|
a as useIsPassedPosition
|
|
@@ -189,13 +189,6 @@ function I(r, e, n) {
|
|
|
189
189
|
next: l
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
|
-
/**
|
|
193
|
-
* @mui/styled-engine v7.3.2
|
|
194
|
-
*
|
|
195
|
-
* @license MIT
|
|
196
|
-
* This source code is licensed under the MIT license found in the
|
|
197
|
-
* LICENSE file in the root directory of this source tree.
|
|
198
|
-
*/
|
|
199
192
|
function E(r, e) {
|
|
200
193
|
const n = C(r, e);
|
|
201
194
|
return process.env.NODE_ENV !== "production" ? (...t) => {
|