@jenesei-software/jenesei-kit-react 1.3.40 → 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/README.md +0 -37
- package/build/AnimatePresence-BByJ67dn.js +134 -0
- package/build/AnimatePresence-BByJ67dn.js.map +1 -0
- package/build/AnimatePresence-BtUPiqYm.cjs +11 -0
- package/build/AnimatePresence-BtUPiqYm.cjs.map +1 -0
- package/build/area-outside.cjs.js +1 -2
- package/build/area-outside.d.ts +2 -28
- package/build/area-outside.es.js +2 -3
- package/build/area-preview.cjs.js +1 -2
- package/build/area-preview.d.ts +2 -48
- package/build/area-preview.es.js +3 -5
- package/build/area-skeleton.cjs.js +1 -2
- package/build/area-skeleton.d.ts +2 -68
- package/build/area-skeleton.es.js +2 -4
- package/build/areas/outside/area.d.ts +7 -0
- package/build/areas/outside/index.d.ts +1 -0
- package/build/areas/preview/area.d.ts +3 -0
- package/build/areas/preview/area.hooks.d.ts +1 -0
- package/build/areas/preview/area.types.d.ts +19 -0
- package/build/areas/preview/index.d.ts +3 -0
- package/build/areas/skeleton/area.d.ts +3 -0
- package/build/areas/skeleton/area.types.d.ts +21 -0
- package/build/areas/skeleton/index.d.ts +2 -0
- package/build/build-info.txt +3 -3
- package/build/button-C5PgNYns.cjs +3 -0
- package/build/button-C5PgNYns.cjs.map +1 -0
- package/build/button-D8zdhI-0.js +102 -0
- package/build/button-D8zdhI-0.js.map +1 -0
- package/build/checkbox-Ba0-4wxk.js +98 -0
- package/build/checkbox-Ba0-4wxk.js.map +1 -0
- package/build/checkbox-BtkbSjHq.cjs +3 -0
- package/build/checkbox-BtkbSjHq.cjs.map +1 -0
- package/build/chunk-CW3en5xf.cjs +1 -0
- package/build/chunk-D1xtDmiO.js +31 -0
- package/build/component-6HgOL-7c.js +71 -0
- package/build/component-6HgOL-7c.js.map +1 -0
- package/build/component-BjdeqpEq.cjs +3 -0
- package/build/component-BjdeqpEq.cjs.map +1 -0
- package/build/component-button.cjs.js +1 -2
- package/build/component-button.d.ts +2 -208
- package/build/component-button.es.js +2 -5
- package/build/component-checkbox.cjs.js +1 -2
- package/build/component-checkbox.d.ts +2 -208
- package/build/component-checkbox.es.js +2 -8
- package/build/component-date-picker.cjs.js +1 -2
- package/build/component-date-picker.d.ts +2 -582
- package/build/component-date-picker.es.js +2 -19
- package/build/component-icon.cjs.js +1 -2
- package/build/component-icon.d.ts +2 -136
- package/build/component-icon.es.js +4 -8
- package/build/component-input-otp.cjs.js +1 -2
- package/build/component-input-otp.d.ts +2 -211
- package/build/component-input-otp.es.js +2 -7
- package/build/component-input.cjs.js +1 -2
- package/build/component-input.d.ts +2 -286
- package/build/component-input.es.js +2 -18
- package/build/component-pagination.cjs.js +1 -2
- package/build/component-pagination.d.ts +2 -196
- package/build/component-pagination.es.js +2 -4
- package/build/component-popover.cjs.js +1 -0
- package/build/component-popover.d.ts +2 -0
- package/build/component-popover.es.js +5 -0
- package/build/component-select.cjs.js +1 -2
- package/build/component-select.d.ts +2 -411
- package/build/component-select.es.js +6 -18
- package/build/component-separator.cjs.js +1 -2
- package/build/component-separator.d.ts +2 -49
- package/build/component-separator.es.js +2 -5
- package/build/component-stack.cjs.js +1 -2
- package/build/component-stack.d.ts +2 -72
- package/build/component-stack.es.js +3 -6
- package/build/component-textarea.cjs.js +1 -2
- package/build/component-textarea.d.ts +2 -202
- package/build/component-textarea.es.js +2 -6
- package/build/component-toggle.cjs.js +1 -2
- package/build/component-toggle.d.ts +2 -150
- package/build/component-toggle.es.js +2 -6
- package/build/component-tooltip.cjs.js +1 -2
- package/build/component-tooltip.d.ts +2 -360
- package/build/component-tooltip.es.js +2 -10
- package/build/component-typography.cjs.js +1 -2
- package/build/component-typography.d.ts +2 -316
- package/build/component-typography.es.js +3 -9
- package/build/components/button/component.d.ts +3 -0
- package/build/components/button/component.types.d.ts +41 -0
- package/build/components/button/index.d.ts +2 -0
- package/build/components/checkbox/component.d.ts +3 -0
- package/build/components/checkbox/component.types.d.ts +51 -0
- package/build/components/checkbox/index.d.ts +2 -0
- package/build/components/date-picker/component.d.ts +2 -0
- package/build/components/date-picker/component.types.d.ts +86 -0
- package/build/components/date-picker/index.d.ts +2 -0
- package/build/components/error/component.d.ts +3 -0
- package/build/components/error/component.types.d.ts +11 -0
- package/build/components/error/index.d.ts +2 -0
- package/build/components/icon/component.consts.d.ts +6 -0
- package/build/components/icon/component.d.ts +9 -0
- package/build/components/icon/component.functions.d.ts +2 -0
- package/build/components/icon/component.hooks.d.ts +5 -0
- package/build/components/icon/component.types.d.ts +47 -0
- package/build/components/icon/index.d.ts +4 -0
- package/build/components/input/component.d.ts +6 -0
- package/build/components/input/component.types.d.ts +78 -0
- package/build/components/input/index.d.ts +2 -0
- package/build/components/input-otp/component.d.ts +2 -0
- package/build/components/input-otp/component.types.d.ts +8 -0
- package/build/components/input-otp/index.d.ts +2 -0
- package/build/components/pagination/component.constants.d.ts +1 -0
- package/build/components/pagination/component.d.ts +3 -0
- package/build/components/pagination/component.types.d.ts +22 -0
- package/build/components/pagination/index.d.ts +2 -0
- package/build/components/popover/component.constants.d.ts +3 -0
- package/build/components/popover/component.d.ts +34 -0
- package/build/components/popover/component.types.d.ts +113 -0
- package/build/components/popover/index.d.ts +2 -0
- package/build/components/select/component.d.ts +4 -0
- package/build/components/select/component.examples.d.ts +6 -0
- package/build/components/select/component.types.d.ts +109 -0
- package/build/components/select/index.d.ts +3 -0
- package/build/components/separator/component.d.ts +3 -0
- package/build/components/separator/component.types.d.ts +10 -0
- package/build/components/separator/index.d.ts +2 -0
- package/build/components/stack/component.d.ts +4 -0
- package/build/components/stack/component.types.d.ts +20 -0
- package/build/components/stack/index.d.ts +2 -0
- package/build/components/textarea/component.d.ts +2 -0
- package/build/components/textarea/component.types.d.ts +67 -0
- package/build/components/textarea/index.d.ts +2 -0
- package/build/components/toggle/component.d.ts +2 -0
- package/build/components/toggle/component.types.d.ts +25 -0
- package/build/components/toggle/index.d.ts +2 -0
- package/build/components/tooltip/component.constants.d.ts +3 -0
- package/build/components/tooltip/component.d.ts +4 -0
- package/build/components/tooltip/component.types.d.ts +12 -0
- package/build/components/tooltip/index.d.ts +2 -0
- package/build/components/typography/component.d.ts +3 -0
- package/build/components/typography/component.types.d.ts +18 -0
- package/build/components/typography/index.d.ts +2 -0
- package/build/components-error.cjs.js +1 -0
- package/build/components-error.d.ts +2 -0
- package/build/components-error.es.js +4 -0
- package/build/context-app-4_kY3Qcd.js +417 -0
- package/build/context-app-4_kY3Qcd.js.map +1 -0
- package/build/context-app-DKsS6_WR.cjs +9 -0
- package/build/context-app-DKsS6_WR.cjs.map +1 -0
- package/build/context-app.cjs.js +1 -2
- package/build/context-app.d.ts +2 -224
- package/build/context-app.es.js +3 -19
- package/build/context-browser-theme-CPhqqRUP.js +35 -0
- package/build/context-browser-theme-CPhqqRUP.js.map +1 -0
- package/build/context-browser-theme-o9geUlSH.cjs +3 -0
- package/build/context-browser-theme-o9geUlSH.cjs.map +1 -0
- package/build/context-browser-theme.cjs.js +1 -0
- package/build/context-browser-theme.d.ts +2 -0
- package/build/context-browser-theme.es.js +5 -0
- package/build/context-cookie-5CBhf-gb.js +138 -0
- package/build/context-cookie-5CBhf-gb.js.map +1 -0
- package/build/context-cookie-CvTU44MD.cjs +3 -0
- package/build/context-cookie-CvTU44MD.cjs.map +1 -0
- package/build/context-cookie.cjs.js +1 -2
- package/build/context-cookie.d.ts +2 -67
- package/build/context-cookie.es.js +3 -8
- package/build/context-dialog-CCnhd1EY.cjs +3 -0
- package/build/context-dialog-CCnhd1EY.cjs.map +1 -0
- package/build/context-dialog-HLeQ5WNn.js +176 -0
- package/build/context-dialog-HLeQ5WNn.js.map +1 -0
- package/build/context-dialog.cjs.js +1 -2
- package/build/context-dialog.d.ts +2 -106
- package/build/context-dialog.es.js +4 -17
- package/build/context-geolocation-C7PYGQ2g.js +42 -0
- package/build/context-geolocation-C7PYGQ2g.js.map +1 -0
- package/build/context-geolocation-ffFFV4kn.cjs +3 -0
- package/build/context-geolocation-ffFFV4kn.cjs.map +1 -0
- package/build/context-geolocation.cjs.js +1 -2
- package/build/context-geolocation.d.ts +2 -22
- package/build/context-geolocation.es.js +3 -6
- package/build/context-local-storage-Bb_vktd8.js +83 -0
- package/build/context-local-storage-Bb_vktd8.js.map +1 -0
- package/build/context-local-storage-kmxWNK_4.cjs +3 -0
- package/build/context-local-storage-kmxWNK_4.cjs.map +1 -0
- package/build/context-local-storage.cjs.js +1 -2
- package/build/context-local-storage.d.ts +2 -54
- package/build/context-local-storage.es.js +3 -8
- package/build/context-permission-Co4BKDOu.js +77 -0
- package/build/context-permission-Co4BKDOu.js.map +1 -0
- package/build/context-permission-K3tWOiAx.cjs +3 -0
- package/build/context-permission-K3tWOiAx.cjs.map +1 -0
- package/build/context-permission.cjs.js +1 -2
- package/build/context-permission.d.ts +2 -28
- package/build/context-permission.es.js +3 -7
- package/build/context-screen-width-CEsyIyg6.js +53 -0
- package/build/context-screen-width-CEsyIyg6.js.map +1 -0
- package/build/context-screen-width-ind6z7Ny.cjs +3 -0
- package/build/context-screen-width-ind6z7Ny.cjs.map +1 -0
- package/build/context-screen-width.cjs.js +1 -2
- package/build/context-screen-width.d.ts +2 -34
- package/build/context-screen-width.es.js +3 -5
- package/build/context-sonner-Bniiz914.js +218 -0
- package/build/context-sonner-Bniiz914.js.map +1 -0
- package/build/context-sonner-L0OMEvZE.cjs +3 -0
- package/build/context-sonner-L0OMEvZE.cjs.map +1 -0
- package/build/context-sonner.cjs.js +1 -2
- package/build/context-sonner.d.ts +2 -457
- package/build/context-sonner.es.js +3 -20
- package/build/contexts/context-app/context.d.ts +33 -0
- package/build/contexts/context-app/context.hooks.d.ts +2 -0
- package/build/contexts/context-app/context.styles.d.ts +14 -0
- package/build/contexts/context-app/context.types.d.ts +87 -0
- package/build/contexts/context-app/index.d.ts +2 -0
- package/build/contexts/context-browser-theme/context.d.ts +4 -0
- package/build/contexts/context-browser-theme/context.hooks.d.ts +2 -0
- package/build/contexts/context-browser-theme/context.types.d.ts +12 -0
- package/build/contexts/context-browser-theme/index.d.ts +2 -0
- package/build/contexts/context-cookie/context.d.ts +27 -0
- package/build/contexts/context-cookie/context.functions.d.ts +3 -0
- package/build/contexts/context-cookie/context.hooks.d.ts +9 -0
- package/build/contexts/context-cookie/context.types.d.ts +18 -0
- package/build/contexts/context-cookie/index.d.ts +3 -0
- package/build/contexts/context-dialog/context.constants.d.ts +8 -0
- package/build/contexts/context-dialog/context.d.ts +4 -0
- package/build/contexts/context-dialog/context.hooks.d.ts +3 -0
- package/build/contexts/context-dialog/context.styles.d.ts +9 -0
- package/build/contexts/context-dialog/context.types.d.ts +47 -0
- package/build/contexts/context-dialog/index.d.ts +3 -0
- package/build/contexts/context-geolocation/context.d.ts +4 -0
- package/build/contexts/context-geolocation/context.hooks.d.ts +2 -0
- package/build/contexts/context-geolocation/context.types.d.ts +10 -0
- package/build/contexts/context-geolocation/index.d.ts +2 -0
- package/build/contexts/context-local-storage/context.d.ts +21 -0
- package/build/contexts/context-local-storage/context.functions.d.ts +2 -0
- package/build/contexts/context-local-storage/context.hooks.d.ts +5 -0
- package/build/contexts/context-local-storage/context.types.d.ts +16 -0
- package/build/contexts/context-local-storage/index.d.ts +3 -0
- package/build/contexts/context-permission/context.d.ts +3 -0
- package/build/contexts/context-permission/context.functions.d.ts +1 -0
- package/build/contexts/context-permission/context.hooks.d.ts +5 -0
- package/build/contexts/context-permission/context.types.d.ts +11 -0
- package/build/contexts/context-permission/index.d.ts +2 -0
- package/build/contexts/context-screen-width/context.d.ts +4 -0
- package/build/contexts/context-screen-width/context.hooks.d.ts +2 -0
- package/build/contexts/context-screen-width/context.types.d.ts +11 -0
- package/build/contexts/context-screen-width/index.d.ts +3 -0
- package/build/contexts/context-sonner/context.constants.d.ts +9 -0
- package/build/contexts/context-sonner/context.d.ts +4 -0
- package/build/contexts/context-sonner/context.hooks.d.ts +2 -0
- package/build/contexts/context-sonner/context.styles.d.ts +30 -0
- package/build/contexts/context-sonner/context.types.d.ts +59 -0
- package/build/contexts/context-sonner/index.d.ts +3 -0
- package/build/cores/consts.d.ts +30 -0
- package/build/{functions.d.ts → cores/functions.d.ts} +18 -22
- package/build/cores/logger.d.ts +1 -0
- package/build/cores/types.d.ts +18 -0
- package/build/date-picker-CQUe3ZXt.cjs +3 -0
- package/build/date-picker-CQUe3ZXt.cjs.map +1 -0
- package/build/date-picker-z3LcE7Ab.js +689 -0
- package/build/date-picker-z3LcE7Ab.js.map +1 -0
- package/build/dist-C8r_OdG1.cjs +3 -0
- package/build/dist-C8r_OdG1.cjs.map +1 -0
- package/build/dist-Dq_YJa2q.js +483 -0
- package/build/dist-Dq_YJa2q.js.map +1 -0
- package/build/error--kiPVmoi.cjs +3 -0
- package/build/error--kiPVmoi.cjs.map +1 -0
- package/build/error-D1UNY-0f.js +50 -0
- package/build/error-D1UNY-0f.js.map +1 -0
- package/build/functions-CLGf7hqw.js +20 -0
- package/build/functions-CLGf7hqw.js.map +1 -0
- package/build/functions-Dwo54amB.cjs +3 -0
- package/build/functions-Dwo54amB.cjs.map +1 -0
- package/build/hooks/use-debounced-callback/index.d.ts +1 -0
- package/build/hooks/use-debounced-callback/use.d.ts +1 -0
- package/build/hooks/use-deep-compare-memoize/index.d.ts +1 -0
- package/build/hooks/use-deep-compare-memoize/use.d.ts +1 -0
- package/build/hooks/use-deep-memo/index.d.ts +1 -0
- package/build/hooks/use-deep-memo/use.d.ts +1 -0
- package/build/hooks/use-merge-refs/index.d.ts +1 -0
- package/build/hooks/use-merge-refs/use.d.ts +2 -0
- package/build/hooks/use-overflowing/index.d.ts +2 -0
- package/build/hooks/use-overflowing/use.d.ts +12 -0
- package/build/hooks/use-overflowing/use.types.d.ts +6 -0
- package/build/hooks/use-overflowing-advanced/index.d.ts +2 -0
- package/build/hooks/use-overflowing-advanced/use.d.ts +7 -0
- package/build/hooks/use-overflowing-advanced/use.types.d.ts +5 -0
- package/build/hooks/use-overflowing-in-container/index.d.ts +2 -0
- package/build/hooks/use-overflowing-in-container/use.d.ts +7 -0
- package/build/hooks/use-overflowing-in-container/use.types.d.ts +7 -0
- package/build/hooks/use-responsive-layout/index.d.ts +1 -0
- package/build/hooks/use-responsive-layout/use.d.ts +2 -0
- package/build/hooks/use-typography-styles/index.d.ts +2 -0
- package/build/hooks/use-typography-styles/use.d.ts +2 -0
- package/build/hooks/use-typography-styles/use.types.d.ts +11 -0
- package/build/hooks-use-debounced-callback.cjs.js +3 -2
- package/build/hooks-use-debounced-callback.cjs.js.map +1 -1
- package/build/hooks-use-debounced-callback.d.ts +2 -3
- package/build/hooks-use-debounced-callback.es.js +12 -3
- package/build/hooks-use-debounced-callback.es.js.map +1 -1
- package/build/hooks-use-deep-compare-memoize.cjs.js +3 -2
- package/build/hooks-use-deep-compare-memoize.cjs.js.map +1 -1
- package/build/hooks-use-deep-compare-memoize.d.ts +2 -3
- package/build/hooks-use-deep-compare-memoize.es.js +10 -3
- package/build/hooks-use-deep-compare-memoize.es.js.map +1 -1
- package/build/hooks-use-deep-memo.cjs.js +3 -0
- package/build/hooks-use-deep-memo.cjs.js.map +1 -0
- package/build/hooks-use-deep-memo.d.ts +2 -0
- package/build/hooks-use-deep-memo.es.js +13 -0
- package/build/hooks-use-deep-memo.es.js.map +1 -0
- package/build/hooks-use-merge-refs.cjs.js +3 -0
- package/build/hooks-use-merge-refs.cjs.js.map +1 -0
- package/build/hooks-use-merge-refs.d.ts +2 -0
- package/build/hooks-use-merge-refs.es.js +13 -0
- package/build/hooks-use-merge-refs.es.js.map +1 -0
- package/build/hooks-use-overflowing-advanced.cjs.js +3 -0
- package/build/hooks-use-overflowing-advanced.cjs.js.map +1 -0
- package/build/hooks-use-overflowing-advanced.d.ts +2 -0
- package/build/hooks-use-overflowing-advanced.es.js +24 -0
- package/build/hooks-use-overflowing-advanced.es.js.map +1 -0
- package/build/hooks-use-overflowing-in-container.cjs.js +3 -0
- package/build/hooks-use-overflowing-in-container.cjs.js.map +1 -0
- package/build/hooks-use-overflowing-in-container.d.ts +2 -0
- package/build/hooks-use-overflowing-in-container.es.js +20 -0
- package/build/hooks-use-overflowing-in-container.es.js.map +1 -0
- package/build/hooks-use-overflowing.cjs.js +3 -0
- package/build/hooks-use-overflowing.cjs.js.map +1 -0
- package/build/hooks-use-overflowing.d.ts +2 -0
- package/build/hooks-use-overflowing.es.js +28 -0
- package/build/hooks-use-overflowing.es.js.map +1 -0
- package/build/hooks-use-responsive-layout.cjs.js +3 -0
- package/build/hooks-use-responsive-layout.cjs.js.map +1 -0
- package/build/hooks-use-responsive-layout.d.ts +2 -0
- package/build/hooks-use-responsive-layout.es.js +22 -0
- package/build/hooks-use-responsive-layout.es.js.map +1 -0
- package/build/hooks-use-typography-styles.cjs.js +3 -0
- package/build/hooks-use-typography-styles.cjs.js.map +1 -0
- package/build/hooks-use-typography-styles.d.ts +2 -0
- package/build/hooks-use-typography-styles.es.js +37 -0
- package/build/hooks-use-typography-styles.es.js.map +1 -0
- package/build/icon-BG6R5Lfa.js +277 -0
- package/build/icon-BG6R5Lfa.js.map +1 -0
- package/build/icon-CreblPsB.cjs +3 -0
- package/build/icon-CreblPsB.cjs.map +1 -0
- package/build/index.cjs.js +1 -2
- package/build/index.d.ts +39 -2494
- package/build/index.es.js +104 -309
- package/build/input-CWcWWMCp.cjs +11 -0
- package/build/input-CWcWWMCp.cjs.map +1 -0
- package/build/input-DqMLnOz5.js +917 -0
- package/build/input-DqMLnOz5.js.map +1 -0
- package/build/input-otp-DPp3qmvI.js +106 -0
- package/build/input-otp-DPp3qmvI.js.map +1 -0
- package/build/input-otp-Z_wz6o6L.cjs +3 -0
- package/build/input-otp-Z_wz6o6L.cjs.map +1 -0
- package/build/isEqual-VCZu3vai.js +675 -0
- package/build/isEqual-VCZu3vai.js.map +1 -0
- package/build/isEqual-wc3RBuBi.cjs +3 -0
- package/build/isEqual-wc3RBuBi.cjs.map +1 -0
- package/build/logger-BRWLzI5S.js +174 -0
- package/build/logger-BRWLzI5S.js.map +1 -0
- package/build/logger-DZFY33QY.cjs +5 -0
- package/build/logger-DZFY33QY.cjs.map +1 -0
- package/build/motion-BeQRGZxW.cjs +3 -0
- package/build/motion-BeQRGZxW.cjs.map +1 -0
- package/build/motion-Ot_yGWVJ.js +128 -0
- package/build/motion-Ot_yGWVJ.js.map +1 -0
- package/build/outside-BtjOuCPD.js +24 -0
- package/build/outside-BtjOuCPD.js.map +1 -0
- package/build/outside-DJ1B9sBT.cjs +3 -0
- package/build/outside-DJ1B9sBT.cjs.map +1 -0
- package/build/pagination-BnvQ1aha.cjs +3 -0
- package/build/pagination-BnvQ1aha.cjs.map +1 -0
- package/build/pagination-CpaP3Svg.js +110 -0
- package/build/pagination-CpaP3Svg.js.map +1 -0
- package/build/popover-1k1MNFwv.js +1948 -0
- package/build/popover-1k1MNFwv.js.map +1 -0
- package/build/popover-fte_EMYr.cjs +3 -0
- package/build/popover-fte_EMYr.cjs.map +1 -0
- package/build/preview-BvJN6QoV.js +65 -0
- package/build/preview-BvJN6QoV.js.map +1 -0
- package/build/preview-CG76AiC9.cjs +3 -0
- package/build/preview-CG76AiC9.cjs.map +1 -0
- package/build/proxy-D2Z8K6jr.cjs +3 -0
- package/build/proxy-D2Z8K6jr.cjs.map +1 -0
- package/build/proxy-DTLy-pV-.js +4354 -0
- package/build/proxy-DTLy-pV-.js.map +1 -0
- package/build/select-B4JeEvIF.js +3443 -0
- package/build/select-B4JeEvIF.js.map +1 -0
- package/build/select-BQtWzaxE.cjs +9 -0
- package/build/select-BQtWzaxE.cjs.map +1 -0
- package/build/separator-BXoT44nC.cjs +3 -0
- package/build/separator-BXoT44nC.cjs.map +1 -0
- package/build/separator-hWp-s54-.js +29 -0
- package/build/separator-hWp-s54-.js.map +1 -0
- package/build/skeleton-BOfnrUaI.cjs +3 -0
- package/build/skeleton-BOfnrUaI.cjs.map +1 -0
- package/build/skeleton-Bzr92XmL.js +39 -0
- package/build/skeleton-Bzr92XmL.js.map +1 -0
- package/build/style-motion.cjs.js +1 -2
- package/build/style-motion.d.ts +2 -20
- package/build/style-motion.es.js +5 -6
- package/build/style-utils.cjs.js +1 -0
- package/build/style-utils.d.ts +2 -0
- package/build/style-utils.es.js +7 -0
- package/build/styles/motion/index.d.ts +1 -0
- package/build/styles/motion/motion.d.ts +13 -0
- package/build/styles/utils/constants.d.ts +1797 -0
- package/build/styles/utils/functions.d.ts +3 -0
- package/build/styles/utils/index.d.ts +3 -0
- package/build/styles/utils/types.d.ts +68 -0
- package/build/textarea-BRzorAFw.cjs +3 -0
- package/build/textarea-BRzorAFw.cjs.map +1 -0
- package/build/textarea-BssfjUe3.js +132 -0
- package/build/textarea-BssfjUe3.js.map +1 -0
- package/build/toggle-BFp9Nmas.cjs +3 -0
- package/build/toggle-BFp9Nmas.cjs.map +1 -0
- package/build/toggle-CCfZoBpW.js +86 -0
- package/build/toggle-CCfZoBpW.js.map +1 -0
- package/build/typography-B2KioMfq.js +116 -0
- package/build/typography-B2KioMfq.js.map +1 -0
- package/build/typography-whjfut7N.cjs +3 -0
- package/build/typography-whjfut7N.cjs.map +1 -0
- package/build/utils-Cona48dZ.js +925 -0
- package/build/utils-Cona48dZ.js.map +1 -0
- package/build/utils-DtinAjAU.cjs +3 -0
- package/build/utils-DtinAjAU.cjs.map +1 -0
- package/build/v4-BDi_Luux.cjs +3 -0
- package/build/v4-BDi_Luux.cjs.map +1 -0
- package/build/v4-CYaPyb-W.js +31 -0
- package/build/v4-CYaPyb-W.js.map +1 -0
- package/package.json +189 -194
- package/build/area-0BNtBqG8.cjs +0 -2
- package/build/area-0BNtBqG8.cjs.map +0 -1
- package/build/area-B6xxVQ87.js +0 -35
- package/build/area-B6xxVQ87.js.map +0 -1
- package/build/area-B7-4IFQB.js +0 -19
- package/build/area-B7-4IFQB.js.map +0 -1
- package/build/area-DxKLtDFZ.cjs +0 -2
- package/build/area-DxKLtDFZ.cjs.map +0 -1
- package/build/area-outside.cjs.js.map +0 -1
- package/build/area-outside.es.js.map +0 -1
- package/build/area-preview.cjs.js.map +0 -1
- package/build/area-preview.es.js.map +0 -1
- package/build/area-scroll.cjs.js +0 -2
- package/build/area-scroll.cjs.js.map +0 -1
- package/build/area-scroll.d.ts +0 -57
- package/build/area-scroll.es.js +0 -7
- package/build/area-scroll.es.js.map +0 -1
- package/build/area-skeleton.cjs.js.map +0 -1
- package/build/area-skeleton.es.js.map +0 -1
- package/build/area-smooth.cjs.js +0 -2
- package/build/area-smooth.cjs.js.map +0 -1
- package/build/area-smooth.d.ts +0 -37
- package/build/area-smooth.es.js +0 -5
- package/build/area-smooth.es.js.map +0 -1
- package/build/area.hooks-Bk04M7mk.js +0 -26
- package/build/area.hooks-Bk04M7mk.js.map +0 -1
- package/build/area.hooks-C_UKZzcb.cjs +0 -2
- package/build/area.hooks-C_UKZzcb.cjs.map +0 -1
- package/build/area.styles-Cpx4H0gc.cjs +0 -27
- package/build/area.styles-Cpx4H0gc.cjs.map +0 -1
- package/build/area.styles-DhCCEhuq.js +0 -32
- package/build/area.styles-DhCCEhuq.js.map +0 -1
- package/build/component-B72M2Tpw.js +0 -84
- package/build/component-B72M2Tpw.js.map +0 -1
- package/build/component-BIxOOifU.cjs +0 -2
- package/build/component-BIxOOifU.cjs.map +0 -1
- package/build/component-BMIqhbpK.js +0 -23
- package/build/component-BMIqhbpK.js.map +0 -1
- package/build/component-BQru5uoj.js +0 -10
- package/build/component-BQru5uoj.js.map +0 -1
- package/build/component-BRCDQbb-.js +0 -50
- package/build/component-BRCDQbb-.js.map +0 -1
- package/build/component-BUkf5TLO.js +0 -170
- package/build/component-BUkf5TLO.js.map +0 -1
- package/build/component-BmccRQ_Y.cjs +0 -2
- package/build/component-BmccRQ_Y.cjs.map +0 -1
- package/build/component-Bvq-fgCN.cjs +0 -2
- package/build/component-Bvq-fgCN.cjs.map +0 -1
- package/build/component-C448kBTA.js +0 -443
- package/build/component-C448kBTA.js.map +0 -1
- package/build/component-C6I01Mel.cjs +0 -2
- package/build/component-C6I01Mel.cjs.map +0 -1
- package/build/component-C8mTuBua.js +0 -74
- package/build/component-C8mTuBua.js.map +0 -1
- package/build/component-CVWsmIlg.cjs +0 -2
- package/build/component-CVWsmIlg.cjs.map +0 -1
- package/build/component-C_6x7Mk8.js +0 -88
- package/build/component-C_6x7Mk8.js.map +0 -1
- package/build/component-CbWtsuhz.js +0 -60
- package/build/component-CbWtsuhz.js.map +0 -1
- package/build/component-Cfs39n8Q.js +0 -21
- package/build/component-Cfs39n8Q.js.map +0 -1
- package/build/component-CoOTSdM5.cjs +0 -28
- package/build/component-CoOTSdM5.cjs.map +0 -1
- package/build/component-Cu2i_-RT.cjs +0 -2
- package/build/component-Cu2i_-RT.cjs.map +0 -1
- package/build/component-CyZbUCkT.js +0 -39
- package/build/component-CyZbUCkT.js.map +0 -1
- package/build/component-D-HMYzXU.js +0 -65
- package/build/component-D-HMYzXU.js.map +0 -1
- package/build/component-D2vDwS60.cjs +0 -2
- package/build/component-D2vDwS60.cjs.map +0 -1
- package/build/component-D3KCIC-G.js +0 -64
- package/build/component-D3KCIC-G.js.map +0 -1
- package/build/component-DJAq34yj.cjs +0 -2
- package/build/component-DJAq34yj.cjs.map +0 -1
- package/build/component-DRMRXUJA.cjs +0 -2
- package/build/component-DRMRXUJA.cjs.map +0 -1
- package/build/component-DfSTPgfj.js +0 -248
- package/build/component-DfSTPgfj.js.map +0 -1
- package/build/component-DqV_-YxZ.cjs +0 -2
- package/build/component-DqV_-YxZ.cjs.map +0 -1
- package/build/component-DrmSI_ni.cjs +0 -2
- package/build/component-DrmSI_ni.cjs.map +0 -1
- package/build/component-Qxjnm7yi.cjs +0 -2
- package/build/component-Qxjnm7yi.cjs.map +0 -1
- package/build/component-WmDPzhcW.cjs +0 -2
- package/build/component-WmDPzhcW.cjs.map +0 -1
- package/build/component-accordion.cjs.js +0 -2
- package/build/component-accordion.cjs.js.map +0 -1
- package/build/component-accordion.d.ts +0 -100
- package/build/component-accordion.es.js +0 -11
- package/build/component-accordion.es.js.map +0 -1
- package/build/component-button-group.cjs.js +0 -2
- package/build/component-button-group.cjs.js.map +0 -1
- package/build/component-button-group.d.ts +0 -195
- package/build/component-button-group.es.js +0 -7
- package/build/component-button-group.es.js.map +0 -1
- package/build/component-button.cjs.js.map +0 -1
- package/build/component-button.es.js.map +0 -1
- package/build/component-checkbox-group.cjs.js +0 -2
- package/build/component-checkbox-group.cjs.js.map +0 -1
- package/build/component-checkbox-group.d.ts +0 -224
- package/build/component-checkbox-group.es.js +0 -12
- package/build/component-checkbox-group.es.js.map +0 -1
- package/build/component-checkbox.cjs.js.map +0 -1
- package/build/component-checkbox.es.js.map +0 -1
- package/build/component-date-picker.cjs.js.map +0 -1
- package/build/component-date-picker.es.js.map +0 -1
- package/build/component-gcvwlILJ.js +0 -76
- package/build/component-gcvwlILJ.js.map +0 -1
- package/build/component-icon.cjs.js.map +0 -1
- package/build/component-icon.es.js.map +0 -1
- package/build/component-image-button.cjs.js +0 -2
- package/build/component-image-button.cjs.js.map +0 -1
- package/build/component-image-button.d.ts +0 -215
- package/build/component-image-button.es.js +0 -5
- package/build/component-image-button.es.js.map +0 -1
- package/build/component-image-select.cjs.js +0 -2
- package/build/component-image-select.cjs.js.map +0 -1
- package/build/component-image-select.d.ts +0 -313
- package/build/component-image-select.es.js +0 -12
- package/build/component-image-select.es.js.map +0 -1
- package/build/component-image-slider.cjs.js +0 -2
- package/build/component-image-slider.cjs.js.map +0 -1
- package/build/component-image-slider.d.ts +0 -108
- package/build/component-image-slider.es.js +0 -9
- package/build/component-image-slider.es.js.map +0 -1
- package/build/component-image.cjs.js +0 -2
- package/build/component-image.cjs.js.map +0 -1
- package/build/component-image.d.ts +0 -51
- package/build/component-image.es.js +0 -7
- package/build/component-image.es.js.map +0 -1
- package/build/component-input-otp.cjs.js.map +0 -1
- package/build/component-input-otp.es.js.map +0 -1
- package/build/component-input.cjs.js.map +0 -1
- package/build/component-input.es.js.map +0 -1
- package/build/component-mFXKTq1K.cjs +0 -2
- package/build/component-mFXKTq1K.cjs.map +0 -1
- package/build/component-pagination.cjs.js.map +0 -1
- package/build/component-pagination.es.js.map +0 -1
- package/build/component-range.cjs.js +0 -2
- package/build/component-range.cjs.js.map +0 -1
- package/build/component-range.d.ts +0 -212
- package/build/component-range.es.js +0 -9
- package/build/component-range.es.js.map +0 -1
- package/build/component-ripple.cjs.js +0 -2
- package/build/component-ripple.cjs.js.map +0 -1
- package/build/component-ripple.d.ts +0 -47
- package/build/component-ripple.es.js +0 -12
- package/build/component-ripple.es.js.map +0 -1
- package/build/component-select.cjs.js.map +0 -1
- package/build/component-select.es.js.map +0 -1
- package/build/component-separator.cjs.js.map +0 -1
- package/build/component-separator.es.js.map +0 -1
- package/build/component-stack.cjs.js.map +0 -1
- package/build/component-stack.es.js.map +0 -1
- package/build/component-textarea.cjs.js.map +0 -1
- package/build/component-textarea.es.js.map +0 -1
- package/build/component-toggle.cjs.js.map +0 -1
- package/build/component-toggle.es.js.map +0 -1
- package/build/component-tooltip.cjs.js.map +0 -1
- package/build/component-tooltip.es.js.map +0 -1
- package/build/component-typography.cjs.js.map +0 -1
- package/build/component-typography.es.js.map +0 -1
- package/build/component.constants-BQOzGr0l.js +0 -757
- package/build/component.constants-BQOzGr0l.js.map +0 -1
- package/build/component.constants-CFLrPu5_.cjs +0 -2
- package/build/component.constants-CFLrPu5_.cjs.map +0 -1
- package/build/component.constants-DI22AYyi.js +0 -142
- package/build/component.constants-DI22AYyi.js.map +0 -1
- package/build/component.constants-DnHO8qFb.cjs +0 -2
- package/build/component.constants-DnHO8qFb.cjs.map +0 -1
- package/build/component.functions-D9ffjEok.cjs +0 -8
- package/build/component.functions-D9ffjEok.cjs.map +0 -1
- package/build/component.functions-DNW6h8kk.js +0 -12
- package/build/component.functions-DNW6h8kk.js.map +0 -1
- package/build/component.styles-BX2Aiqp_.cjs +0 -43
- package/build/component.styles-BX2Aiqp_.cjs.map +0 -1
- package/build/component.styles-C0oU5oX_.js +0 -59
- package/build/component.styles-C0oU5oX_.js.map +0 -1
- package/build/component.styles-CD6ZzRrk.cjs +0 -14
- package/build/component.styles-CD6ZzRrk.cjs.map +0 -1
- package/build/component.styles-SZ5VuhNG.js +0 -20
- package/build/component.styles-SZ5VuhNG.js.map +0 -1
- package/build/component.types-6hyRS9ZB.cjs +0 -2
- package/build/component.types-6hyRS9ZB.cjs.map +0 -1
- package/build/component.types-e2YpVj0l.js +0 -907
- package/build/component.types-e2YpVj0l.js.map +0 -1
- package/build/consts.cjs.js +0 -2
- package/build/consts.cjs.js.map +0 -1
- package/build/consts.d.ts +0 -77
- package/build/consts.es.js +0 -151
- package/build/consts.es.js.map +0 -1
- package/build/context-BK9a46O1.cjs +0 -4
- package/build/context-BK9a46O1.cjs.map +0 -1
- package/build/context-CPZf131N.cjs +0 -2
- package/build/context-CPZf131N.cjs.map +0 -1
- package/build/context-Cr80KOpF.js +0 -122
- package/build/context-Cr80KOpF.js.map +0 -1
- package/build/context-DssNKJ_n.cjs +0 -2
- package/build/context-DssNKJ_n.cjs.map +0 -1
- package/build/context-PFdUnKga.js +0 -44
- package/build/context-PFdUnKga.js.map +0 -1
- package/build/context-app.cjs.js.map +0 -1
- package/build/context-app.es.js.map +0 -1
- package/build/context-cookie.cjs.js.map +0 -1
- package/build/context-cookie.es.js.map +0 -1
- package/build/context-dialog.cjs.js.map +0 -1
- package/build/context-dialog.es.js.map +0 -1
- package/build/context-geolocation.cjs.js.map +0 -1
- package/build/context-geolocation.es.js.map +0 -1
- package/build/context-local-storage.cjs.js.map +0 -1
- package/build/context-local-storage.es.js.map +0 -1
- package/build/context-permission.cjs.js.map +0 -1
- package/build/context-permission.es.js.map +0 -1
- package/build/context-screen-width.cjs.js.map +0 -1
- package/build/context-screen-width.es.js.map +0 -1
- package/build/context-sonner.cjs.js.map +0 -1
- package/build/context-sonner.es.js.map +0 -1
- package/build/context-w9weDPCZ.js +0 -200
- package/build/context-w9weDPCZ.js.map +0 -1
- package/build/context.constants-B14bB8O1.js +0 -254
- package/build/context.constants-B14bB8O1.js.map +0 -1
- package/build/context.constants-BA1u2p1r.cjs +0 -32
- package/build/context.constants-BA1u2p1r.cjs.map +0 -1
- package/build/context.constants-BWLe7YHv.js +0 -12598
- package/build/context.constants-BWLe7YHv.js.map +0 -1
- package/build/context.constants-baqYH-_k.cjs +0 -1742
- package/build/context.constants-baqYH-_k.cjs.map +0 -1
- package/build/context.functions--v7FClEV.cjs +0 -2
- package/build/context.functions--v7FClEV.cjs.map +0 -1
- package/build/context.functions-B8FDl7nJ.js +0 -14
- package/build/context.functions-B8FDl7nJ.js.map +0 -1
- package/build/context.functions-CB6--UcR.js +0 -35
- package/build/context.functions-CB6--UcR.js.map +0 -1
- package/build/context.functions-CHaPcuVS.cjs +0 -2
- package/build/context.functions-CHaPcuVS.cjs.map +0 -1
- package/build/context.functions-CPP8X6so.js +0 -35
- package/build/context.functions-CPP8X6so.js.map +0 -1
- package/build/context.functions-ar41xFVo.cjs +0 -2
- package/build/context.functions-ar41xFVo.cjs.map +0 -1
- package/build/context.hooks-B-YcyJ5E.cjs +0 -2
- package/build/context.hooks-B-YcyJ5E.cjs.map +0 -1
- package/build/context.hooks-B9dsW2kz.js +0 -117
- package/build/context.hooks-B9dsW2kz.js.map +0 -1
- package/build/context.hooks-Bi7spFak.cjs +0 -2
- package/build/context.hooks-Bi7spFak.cjs.map +0 -1
- package/build/context.hooks-BnHnPV_i.js +0 -49
- package/build/context.hooks-BnHnPV_i.js.map +0 -1
- package/build/context.hooks-CDnjxy35.cjs +0 -2
- package/build/context.hooks-CDnjxy35.cjs.map +0 -1
- package/build/context.hooks-DDD8ffJI.cjs +0 -2
- package/build/context.hooks-DDD8ffJI.cjs.map +0 -1
- package/build/context.hooks-Df0m0Voe.js +0 -13
- package/build/context.hooks-Df0m0Voe.js.map +0 -1
- package/build/context.hooks-DjafkFMD.cjs +0 -2
- package/build/context.hooks-DjafkFMD.cjs.map +0 -1
- package/build/context.hooks-DpwnIiRj.cjs +0 -2
- package/build/context.hooks-DpwnIiRj.cjs.map +0 -1
- package/build/context.hooks-HEeFGka7.js +0 -13
- package/build/context.hooks-HEeFGka7.js.map +0 -1
- package/build/context.hooks-NDk5ehgk.js +0 -13
- package/build/context.hooks-NDk5ehgk.js.map +0 -1
- package/build/context.hooks-oclt34zD.js +0 -68
- package/build/context.hooks-oclt34zD.js.map +0 -1
- package/build/functions.cjs.js +0 -2
- package/build/functions.cjs.js.map +0 -1
- package/build/functions.es.js +0 -50
- package/build/functions.es.js.map +0 -1
- package/build/index.cjs.js.map +0 -1
- package/build/index.es.js.map +0 -1
- package/build/jsx-runtime-C6yv_9g1.cjs +0 -11
- package/build/jsx-runtime-C6yv_9g1.cjs.map +0 -1
- package/build/jsx-runtime-DZS36FSE.js +0 -316
- package/build/jsx-runtime-DZS36FSE.js.map +0 -1
- package/build/motion-DrSN18V7.cjs +0 -2
- package/build/motion-DrSN18V7.cjs.map +0 -1
- package/build/motion-K7hUU4gL.js +0 -85
- package/build/motion-K7hUU4gL.js.map +0 -1
- package/build/style-BfuEu91g.js +0 -176
- package/build/style-BfuEu91g.js.map +0 -1
- package/build/style-Drq-Q1Im.cjs +0 -136
- package/build/style-Drq-Q1Im.cjs.map +0 -1
- package/build/style-add.cjs.js +0 -2
- package/build/style-add.cjs.js.map +0 -1
- package/build/style-add.d.ts +0 -88
- package/build/style-add.es.js +0 -17
- package/build/style-add.es.js.map +0 -1
- package/build/style-error.cjs.js +0 -2
- package/build/style-error.cjs.js.map +0 -1
- package/build/style-error.d.ts +0 -99
- package/build/style-error.es.js +0 -7
- package/build/style-error.es.js.map +0 -1
- package/build/style-fRZ6xrVp.cjs +0 -10
- package/build/style-fRZ6xrVp.cjs.map +0 -1
- package/build/style-motion.cjs.js.map +0 -1
- package/build/style-motion.es.js.map +0 -1
- package/build/style-plT9Ah7t.js +0 -33
- package/build/style-plT9Ah7t.js.map +0 -1
- package/build/style-sx.cjs.js +0 -2
- package/build/style-sx.cjs.js.map +0 -1
- package/build/style-sx.d.ts +0 -33
- package/build/style-sx.es.js +0 -5
- package/build/style-sx.es.js.map +0 -1
- package/build/style-theme.cjs.js +0 -2
- package/build/style-theme.cjs.js.map +0 -1
- package/build/style-theme.d.ts +0 -293
- package/build/style-theme.es.js +0 -16
- package/build/style-theme.es.js.map +0 -1
- package/build/types.cjs.js +0 -2
- package/build/types.cjs.js.map +0 -1
- package/build/types.d.ts +0 -27
- package/build/types.es.js +0 -2
- package/build/types.es.js.map +0 -1
- package/build/use-BF8VW4MA.cjs +0 -16
- package/build/use-BF8VW4MA.cjs.map +0 -1
- package/build/use-Bp8UVw4Y.js +0 -16
- package/build/use-Bp8UVw4Y.js.map +0 -1
- package/build/use-C7vngeRk.js +0 -882
- package/build/use-C7vngeRk.js.map +0 -1
- package/build/use-DdGWsOBo.js +0 -1577
- package/build/use-DdGWsOBo.js.map +0 -1
- package/build/use-IhzeVumv.cjs +0 -2
- package/build/use-IhzeVumv.cjs.map +0 -1
- package/build/use-zW3LuRc_.cjs +0 -2
- package/build/use-zW3LuRc_.cjs.map +0 -1
package/build/functions.es.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
function transformEnumToOptions(enumObj) {
|
|
2
|
-
return Object.entries(enumObj).map(([key, value]) => ({
|
|
3
|
-
value: key,
|
|
4
|
-
label: value,
|
|
5
|
-
placeholder: value,
|
|
6
|
-
search: `${value}, ${key}`
|
|
7
|
-
}));
|
|
8
|
-
}
|
|
9
|
-
function transformObjectToArray(obj) {
|
|
10
|
-
return Object.entries(obj).map(([, value]) => ({
|
|
11
|
-
...value
|
|
12
|
-
}));
|
|
13
|
-
}
|
|
14
|
-
function transformObjectValuesToKeys(obj) {
|
|
15
|
-
return Object.keys(obj).reduce(
|
|
16
|
-
(acc, key) => {
|
|
17
|
-
acc[key] = key;
|
|
18
|
-
return acc;
|
|
19
|
-
},
|
|
20
|
-
{}
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
function getContrastYIQ(hexcolor) {
|
|
24
|
-
hexcolor = hexcolor.replace("#", "");
|
|
25
|
-
const r = parseInt(hexcolor.substr(0, 2), 16);
|
|
26
|
-
const g = parseInt(hexcolor.substr(2, 2), 16);
|
|
27
|
-
const b = parseInt(hexcolor.substr(4, 2), 16);
|
|
28
|
-
const yiq = (r * 299 + g * 587 + b * 114) / 1e3;
|
|
29
|
-
return yiq >= 128 ? "#000000" : "#FFFFFF";
|
|
30
|
-
}
|
|
31
|
-
function getScrollbarWidth() {
|
|
32
|
-
const div = document.createElement("div");
|
|
33
|
-
div.style.visibility = "hidden";
|
|
34
|
-
div.style.overflow = "scroll";
|
|
35
|
-
div.style.width = "100px";
|
|
36
|
-
div.style.position = "absolute";
|
|
37
|
-
div.style.top = "-9999px";
|
|
38
|
-
document.body.appendChild(div);
|
|
39
|
-
const scrollBarWidth = div.offsetWidth - div.clientWidth;
|
|
40
|
-
document.body.removeChild(div);
|
|
41
|
-
return scrollBarWidth;
|
|
42
|
-
}
|
|
43
|
-
export {
|
|
44
|
-
getContrastYIQ,
|
|
45
|
-
getScrollbarWidth,
|
|
46
|
-
transformEnumToOptions,
|
|
47
|
-
transformObjectToArray,
|
|
48
|
-
transformObjectValuesToKeys
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=functions.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"functions.es.js","sources":["../src/functions.ts"],"sourcesContent":["type EnumOption = {\n value: string;\n label: string;\n placeholder: string;\n search: string;\n};\n\nexport function transformEnumToOptions<T extends Record<string, string>>(enumObj: T): EnumOption[] {\n return Object.entries(enumObj).map(([key, value]) => ({\n value: key,\n label: value,\n placeholder: value,\n search: `${value}, ${key}`,\n }));\n}\n\ntype GenericObject<T> = {\n [key: string]: T;\n};\n\nexport function transformObjectToArray<T>(obj: GenericObject<T>): Array<T> {\n return Object.entries(obj).map(([, value]) => ({\n ...value,\n }));\n}\n\nexport function transformObjectValuesToKeys<T>(obj: GenericObject<T>): GenericObject<string> {\n return Object.keys(obj).reduce(\n (acc, key) => {\n acc[key] = key;\n return acc;\n },\n {} as GenericObject<string>,\n );\n}\n\nexport function getContrastYIQ(hexcolor: string) {\n hexcolor = hexcolor.replace('#', '');\n const r = parseInt(hexcolor.substr(0, 2), 16);\n const g = parseInt(hexcolor.substr(2, 2), 16);\n const b = parseInt(hexcolor.substr(4, 2), 16);\n const yiq = (r * 299 + g * 587 + b * 114) / 1000;\n return yiq >= 128 ? '#000000' : '#FFFFFF';\n}\n\nexport function getScrollbarWidth() {\n const div = document.createElement('div');\n div.style.visibility = 'hidden';\n div.style.overflow = 'scroll';\n div.style.width = '100px';\n div.style.position = 'absolute';\n div.style.top = '-9999px';\n document.body.appendChild(div);\n const scrollBarWidth = div.offsetWidth - div.clientWidth;\n document.body.removeChild(div);\n return scrollBarWidth;\n}\n"],"names":[],"mappings":"AAOO,SAAS,uBAAyD,SAA0B;AACjG,SAAO,OAAO,QAAQ,OAAO,EAAE,IAAI,CAAC,CAAC,KAAK,KAAK,OAAO;AAAA,IACpD,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa;AAAA,IACb,QAAQ,GAAG,KAAK,KAAK,GAAG;AAAA,EAAA,EACxB;AACJ;AAMO,SAAS,uBAA0B,KAAiC;AACzE,SAAO,OAAO,QAAQ,GAAG,EAAE,IAAI,CAAC,CAAA,EAAG,KAAK,OAAO;AAAA,IAC7C,GAAG;AAAA,EAAA,EACH;AACJ;AAEO,SAAS,4BAA+B,KAA8C;AAC3F,SAAO,OAAO,KAAK,GAAG,EAAE;AAAA,IACtB,CAAC,KAAK,QAAQ;AACZ,UAAI,GAAG,IAAI;AACX,aAAO;AAAA,IACT;AAAA,IACA,CAAA;AAAA,EAAC;AAEL;AAEO,SAAS,eAAe,UAAkB;AAC/C,aAAW,SAAS,QAAQ,KAAK,EAAE;AACnC,QAAM,IAAI,SAAS,SAAS,OAAO,GAAG,CAAC,GAAG,EAAE;AAC5C,QAAM,IAAI,SAAS,SAAS,OAAO,GAAG,CAAC,GAAG,EAAE;AAC5C,QAAM,IAAI,SAAS,SAAS,OAAO,GAAG,CAAC,GAAG,EAAE;AAC5C,QAAM,OAAO,IAAI,MAAM,IAAI,MAAM,IAAI,OAAO;AAC5C,SAAO,OAAO,MAAM,YAAY;AAClC;AAEO,SAAS,oBAAoB;AAClC,QAAM,MAAM,SAAS,cAAc,KAAK;AACxC,MAAI,MAAM,aAAa;AACvB,MAAI,MAAM,WAAW;AACrB,MAAI,MAAM,QAAQ;AAClB,MAAI,MAAM,WAAW;AACrB,MAAI,MAAM,MAAM;AAChB,WAAS,KAAK,YAAY,GAAG;AAC7B,QAAM,iBAAiB,IAAI,cAAc,IAAI;AAC7C,WAAS,KAAK,YAAY,GAAG;AAC7B,SAAO;AACT;"}
|
package/build/index.cjs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/build/index.es.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react");var r,t={exports:{}},n={};var o,a={};
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react-jsx-runtime.development.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/"production"===process.env.NODE_ENV?t.exports=function(){if(r)return n;r=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function o(r,t,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in n={},t)"key"!==a&&(n[a]=t[a]);else n=t;return t=n.ref,{$$typeof:e,type:r,key:o,ref:void 0!==t?t:null,props:n}}return n.Fragment=t,n.jsx=o,n.jsxs=o,n}():t.exports=(o||(o=1,"production"!==process.env.NODE_ENV&&function(){function r(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===x?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case m:return"Fragment";case v:return"Profiler";case b:return"StrictMode";case S:return"Suspense";case j:return"SuspenseList";case w:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case d:return"Portal";case g:return e.displayName||"Context";case _:return(e._context.displayName||"Context")+".Consumer";case k:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case h:return null!==(t=e.displayName||null)?t:r(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return r(e(t))}catch(n){}}return null}function t(e){return""+e}function n(e){try{t(e);var r=!1}catch(a){r=!0}if(r){var n=(r=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),t(e)}}function o(e){if(e===m)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===O)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch(n){return"<...>"}}function l(){return Error("react-stack-top-frame")}function i(){var e=r(this.type);return $[e]||($[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,t,o,a,l,s){var u,y=t.children;if(void 0!==y)if(a)if(E(y)){for(a=0;a<y.length;a++)c(y[a]);Object.freeze&&Object.freeze(y)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(y);if(R.call(t,"key")){y=r(e);var d=Object.keys(t).filter(function(e){return"key"!==e});a=0<d.length?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}",C[y+a]||(d=0<d.length?"{"+d.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',a,y,d,y),C[y+a]=!0)}if(y=null,void 0!==o&&(n(o),y=""+o),function(e){if(R.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(t)&&(n(t.key),y=""+t.key),"key"in t)for(var m in o={},t)"key"!==m&&(o[m]=t[m]);else o=t;return y&&function(e,r){function t(){f||(f=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,r,t,n,o,a){var l=t.ref;return e={$$typeof:p,type:e,key:r,props:t,_owner:n},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,y,o,null===(u=N.A)?null:u.getOwner(),l,s)}function c(e){u(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===O&&("fulfilled"===e._payload.status?u(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function u(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var f,y=e,p=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),_=Symbol.for("react.consumer"),g=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),w=Symbol.for("react.activity"),x=Symbol.for("react.client.reference"),N=y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=Object.prototype.hasOwnProperty,E=Array.isArray,T=console.createTask?console.createTask:function(){return null},$={},P=(y={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(y,l)(),A=T(o(l)),C={};a.Fragment=m,a.jsx=function(e,r,t){var n=1e4>N.recentlyCreatedOwnerStacks++;return s(e,r,t,!1,n?Error("react-stack-top-frame"):P,n?T(o(e)):A)},a.jsxs=function(e,r,t){var n=1e4>N.recentlyCreatedOwnerStacks++;return s(e,r,t,!0,n?Error("react-stack-top-frame"):P,n?T(o(e)):A)}}()),a);var l=t.exports;exports.jsxRuntimeExports=l;
|
|
11
|
-
//# sourceMappingURL=jsx-runtime-C6yv_9g1.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime-C6yv_9g1.cjs","sources":["../node_modules/react/jsx-runtime.js","../node_modules/react/cjs/react-jsx-runtime.production.js","../node_modules/react/cjs/react-jsx-runtime.development.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n"],"names":["process","env","NODE_ENV","jsxRuntimeModule","exports","REACT_ELEMENT_TYPE","Symbol","for","REACT_FRAGMENT_TYPE","jsxProd","type","config","maybeKey","key","propName","ref","$$typeof","props","reactJsxRuntime_production","Fragment","jsx","jsxs","require$$0","getComponentNameFromType","REACT_CLIENT_REFERENCE","displayName","name","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","tag","console","error","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","x","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","e","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","toStringTag","constructor","call","getTaskName","UnknownOwner","Error","elementRefGetterWithDeprecationWarning","componentName","this","didWarnAboutElementRef","jsxDEVImpl","isStaticChildren","debugStack","debugTask","dispatcher","children","isArrayImpl","length","validateChildKeys","Object","freeze","hasOwnProperty","keys","filter","k","join","didWarnAboutKeySpread","getter","getOwnPropertyDescriptor","get","isReactWarning","hasValidKey","warnAboutAccessingKey","specialPropKeyWarningShown","defineProperty","configurable","defineKeyPropWarningGetter","owner","refProp","_owner","enumerable","_store","writable","ReactElement","ReactSharedInternals","A","getOwner","node","isValidElement","validated","status","object","React","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","prototype","Array","isArray","createTask","unknownOwnerDebugStack","react_stack_bottom_frame","callStackForError","bind","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner","recentlyCreatedOwnerStacks"],"mappings":";;;;;;;;;GAE6B,eAAzBA,QAAQC,IAAIC,SACdC,EAAAC,qCCQF,IAAIC,EAAqBC,OAAOC,IAAI,8BAClCC,EAAsBF,OAAOC,IAAI,kBACnC,SAASE,EAAQC,EAAMC,EAAQC,GAC7B,IAAIC,EAAM,KAGV,QAFA,IAAWD,IAAaC,EAAM,GAAKD,QACnC,IAAWD,EAAOE,MAAQA,EAAM,GAAKF,EAAOE,KACxC,QAASF,EAEX,IAAA,IAASG,KADTF,EAAW,CAAA,EACUD,EACnB,QAAUG,IAAaF,EAASE,GAAYH,EAAOG,SAChDF,EAAWD,EAElB,OADAA,EAASC,EAASG,IACX,CACLC,SAAUX,EACVK,OACAG,MACAE,SAAK,IAAWJ,EAASA,EAAS,KAClCM,MAAOL,EAEX,QACAM,EAAAC,SAAmBX,EACnBU,EAAAE,IAAcX,EACdS,EAAAG,KAAeZ,ID9BIa,GAEjBnB,EAAAC,iBEMF,eAAiBJ,QAAQC,IAAIC,UAC1B,WACC,SAASqB,EAAyBb,GAChC,GAAI,MAAQA,EAAM,OAAO,KACzB,GAAI,mBAAsBA,EACxB,OAAOA,EAAKM,WAAaQ,EACrB,KACAd,EAAKe,aAAef,EAAKgB,MAAQ,KACvC,GAAI,iBAAoBhB,EAAM,OAAOA,EACrC,OAAQA,GACN,KAAKF,EACH,MAAO,WACT,KAAKmB,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,eACT,KAAKC,EACH,MAAO,WAEX,GAAI,iBAAoBrB,EACtB,OACG,iBAAoBA,EAAKsB,KACxBC,QAAQC,MACN,qHAEJxB,EAAKM,UAE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6BAC7B,OAAOvD,EACLtD,EACAC,EACAC,GACA,EACA0G,EACI3D,MAAM,yBACNqD,EACJM,EAAmBP,EAAWtD,EAAY/C,IAAS0G,EAE3D,EACIC,EAAAhG,KAAe,SAAUX,EAAMC,EAAQC,GACrC,IAAI0G,EACF,IAAMpB,EAAqBqB,6BAC7B,OAAOvD,EACLtD,EACAC,EACAC,GACA,EACA0G,EACI3D,MAAM,yBACNqD,EACJM,EAAmBP,EAAWtD,EAAY/C,IAAS0G,EAE3D,CACA,CAnVG","x_google_ignoreList":[0,1,2]}
|
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
import React__default from "react";
|
|
2
|
-
var jsxRuntime = { exports: {} };
|
|
3
|
-
var reactJsxRuntime_production = {};
|
|
4
|
-
/**
|
|
5
|
-
* @license React
|
|
6
|
-
* react-jsx-runtime.production.js
|
|
7
|
-
*
|
|
8
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the MIT license found in the
|
|
11
|
-
* LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/
|
|
13
|
-
var hasRequiredReactJsxRuntime_production;
|
|
14
|
-
function requireReactJsxRuntime_production() {
|
|
15
|
-
if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
|
|
16
|
-
hasRequiredReactJsxRuntime_production = 1;
|
|
17
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
18
|
-
function jsxProd(type, config, maybeKey) {
|
|
19
|
-
var key = null;
|
|
20
|
-
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
21
|
-
void 0 !== config.key && (key = "" + config.key);
|
|
22
|
-
if ("key" in config) {
|
|
23
|
-
maybeKey = {};
|
|
24
|
-
for (var propName in config)
|
|
25
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
26
|
-
} else maybeKey = config;
|
|
27
|
-
config = maybeKey.ref;
|
|
28
|
-
return {
|
|
29
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
30
|
-
type,
|
|
31
|
-
key,
|
|
32
|
-
ref: void 0 !== config ? config : null,
|
|
33
|
-
props: maybeKey
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
37
|
-
reactJsxRuntime_production.jsx = jsxProd;
|
|
38
|
-
reactJsxRuntime_production.jsxs = jsxProd;
|
|
39
|
-
return reactJsxRuntime_production;
|
|
40
|
-
}
|
|
41
|
-
var reactJsxRuntime_development = {};
|
|
42
|
-
/**
|
|
43
|
-
* @license React
|
|
44
|
-
* react-jsx-runtime.development.js
|
|
45
|
-
*
|
|
46
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
47
|
-
*
|
|
48
|
-
* This source code is licensed under the MIT license found in the
|
|
49
|
-
* LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/
|
|
51
|
-
var hasRequiredReactJsxRuntime_development;
|
|
52
|
-
function requireReactJsxRuntime_development() {
|
|
53
|
-
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
54
|
-
hasRequiredReactJsxRuntime_development = 1;
|
|
55
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
56
|
-
function getComponentNameFromType(type) {
|
|
57
|
-
if (null == type) return null;
|
|
58
|
-
if ("function" === typeof type)
|
|
59
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
60
|
-
if ("string" === typeof type) return type;
|
|
61
|
-
switch (type) {
|
|
62
|
-
case REACT_FRAGMENT_TYPE:
|
|
63
|
-
return "Fragment";
|
|
64
|
-
case REACT_PROFILER_TYPE:
|
|
65
|
-
return "Profiler";
|
|
66
|
-
case REACT_STRICT_MODE_TYPE:
|
|
67
|
-
return "StrictMode";
|
|
68
|
-
case REACT_SUSPENSE_TYPE:
|
|
69
|
-
return "Suspense";
|
|
70
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
71
|
-
return "SuspenseList";
|
|
72
|
-
case REACT_ACTIVITY_TYPE:
|
|
73
|
-
return "Activity";
|
|
74
|
-
}
|
|
75
|
-
if ("object" === typeof type)
|
|
76
|
-
switch ("number" === typeof type.tag && console.error(
|
|
77
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
78
|
-
), type.$$typeof) {
|
|
79
|
-
case REACT_PORTAL_TYPE:
|
|
80
|
-
return "Portal";
|
|
81
|
-
case REACT_CONTEXT_TYPE:
|
|
82
|
-
return type.displayName || "Context";
|
|
83
|
-
case REACT_CONSUMER_TYPE:
|
|
84
|
-
return (type._context.displayName || "Context") + ".Consumer";
|
|
85
|
-
case REACT_FORWARD_REF_TYPE:
|
|
86
|
-
var innerType = type.render;
|
|
87
|
-
type = type.displayName;
|
|
88
|
-
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
|
89
|
-
return type;
|
|
90
|
-
case REACT_MEMO_TYPE:
|
|
91
|
-
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
|
92
|
-
case REACT_LAZY_TYPE:
|
|
93
|
-
innerType = type._payload;
|
|
94
|
-
type = type._init;
|
|
95
|
-
try {
|
|
96
|
-
return getComponentNameFromType(type(innerType));
|
|
97
|
-
} catch (x) {
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
return null;
|
|
101
|
-
}
|
|
102
|
-
function testStringCoercion(value) {
|
|
103
|
-
return "" + value;
|
|
104
|
-
}
|
|
105
|
-
function checkKeyStringCoercion(value) {
|
|
106
|
-
try {
|
|
107
|
-
testStringCoercion(value);
|
|
108
|
-
var JSCompiler_inline_result = false;
|
|
109
|
-
} catch (e) {
|
|
110
|
-
JSCompiler_inline_result = true;
|
|
111
|
-
}
|
|
112
|
-
if (JSCompiler_inline_result) {
|
|
113
|
-
JSCompiler_inline_result = console;
|
|
114
|
-
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
115
|
-
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
116
|
-
JSCompiler_temp_const.call(
|
|
117
|
-
JSCompiler_inline_result,
|
|
118
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
119
|
-
JSCompiler_inline_result$jscomp$0
|
|
120
|
-
);
|
|
121
|
-
return testStringCoercion(value);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function getTaskName(type) {
|
|
125
|
-
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
126
|
-
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
|
|
127
|
-
return "<...>";
|
|
128
|
-
try {
|
|
129
|
-
var name = getComponentNameFromType(type);
|
|
130
|
-
return name ? "<" + name + ">" : "<...>";
|
|
131
|
-
} catch (x) {
|
|
132
|
-
return "<...>";
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
function getOwner() {
|
|
136
|
-
var dispatcher = ReactSharedInternals.A;
|
|
137
|
-
return null === dispatcher ? null : dispatcher.getOwner();
|
|
138
|
-
}
|
|
139
|
-
function UnknownOwner() {
|
|
140
|
-
return Error("react-stack-top-frame");
|
|
141
|
-
}
|
|
142
|
-
function hasValidKey(config) {
|
|
143
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
144
|
-
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
145
|
-
if (getter && getter.isReactWarning) return false;
|
|
146
|
-
}
|
|
147
|
-
return void 0 !== config.key;
|
|
148
|
-
}
|
|
149
|
-
function defineKeyPropWarningGetter(props, displayName) {
|
|
150
|
-
function warnAboutAccessingKey() {
|
|
151
|
-
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
|
|
152
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
153
|
-
displayName
|
|
154
|
-
));
|
|
155
|
-
}
|
|
156
|
-
warnAboutAccessingKey.isReactWarning = true;
|
|
157
|
-
Object.defineProperty(props, "key", {
|
|
158
|
-
get: warnAboutAccessingKey,
|
|
159
|
-
configurable: true
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
function elementRefGetterWithDeprecationWarning() {
|
|
163
|
-
var componentName = getComponentNameFromType(this.type);
|
|
164
|
-
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
|
|
165
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
166
|
-
));
|
|
167
|
-
componentName = this.props.ref;
|
|
168
|
-
return void 0 !== componentName ? componentName : null;
|
|
169
|
-
}
|
|
170
|
-
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
171
|
-
var refProp = props.ref;
|
|
172
|
-
type = {
|
|
173
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
174
|
-
type,
|
|
175
|
-
key,
|
|
176
|
-
props,
|
|
177
|
-
_owner: owner
|
|
178
|
-
};
|
|
179
|
-
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
180
|
-
enumerable: false,
|
|
181
|
-
get: elementRefGetterWithDeprecationWarning
|
|
182
|
-
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
183
|
-
type._store = {};
|
|
184
|
-
Object.defineProperty(type._store, "validated", {
|
|
185
|
-
configurable: false,
|
|
186
|
-
enumerable: false,
|
|
187
|
-
writable: true,
|
|
188
|
-
value: 0
|
|
189
|
-
});
|
|
190
|
-
Object.defineProperty(type, "_debugInfo", {
|
|
191
|
-
configurable: false,
|
|
192
|
-
enumerable: false,
|
|
193
|
-
writable: true,
|
|
194
|
-
value: null
|
|
195
|
-
});
|
|
196
|
-
Object.defineProperty(type, "_debugStack", {
|
|
197
|
-
configurable: false,
|
|
198
|
-
enumerable: false,
|
|
199
|
-
writable: true,
|
|
200
|
-
value: debugStack
|
|
201
|
-
});
|
|
202
|
-
Object.defineProperty(type, "_debugTask", {
|
|
203
|
-
configurable: false,
|
|
204
|
-
enumerable: false,
|
|
205
|
-
writable: true,
|
|
206
|
-
value: debugTask
|
|
207
|
-
});
|
|
208
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
209
|
-
return type;
|
|
210
|
-
}
|
|
211
|
-
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
|
|
212
|
-
var children = config.children;
|
|
213
|
-
if (void 0 !== children)
|
|
214
|
-
if (isStaticChildren)
|
|
215
|
-
if (isArrayImpl(children)) {
|
|
216
|
-
for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
|
|
217
|
-
validateChildKeys(children[isStaticChildren]);
|
|
218
|
-
Object.freeze && Object.freeze(children);
|
|
219
|
-
} else
|
|
220
|
-
console.error(
|
|
221
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
222
|
-
);
|
|
223
|
-
else validateChildKeys(children);
|
|
224
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
225
|
-
children = getComponentNameFromType(type);
|
|
226
|
-
var keys = Object.keys(config).filter(function(k) {
|
|
227
|
-
return "key" !== k;
|
|
228
|
-
});
|
|
229
|
-
isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
230
|
-
didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
231
|
-
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
|
232
|
-
isStaticChildren,
|
|
233
|
-
children,
|
|
234
|
-
keys,
|
|
235
|
-
children
|
|
236
|
-
), didWarnAboutKeySpread[children + isStaticChildren] = true);
|
|
237
|
-
}
|
|
238
|
-
children = null;
|
|
239
|
-
void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
|
|
240
|
-
hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
|
|
241
|
-
if ("key" in config) {
|
|
242
|
-
maybeKey = {};
|
|
243
|
-
for (var propName in config)
|
|
244
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
245
|
-
} else maybeKey = config;
|
|
246
|
-
children && defineKeyPropWarningGetter(
|
|
247
|
-
maybeKey,
|
|
248
|
-
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
249
|
-
);
|
|
250
|
-
return ReactElement(
|
|
251
|
-
type,
|
|
252
|
-
children,
|
|
253
|
-
maybeKey,
|
|
254
|
-
getOwner(),
|
|
255
|
-
debugStack,
|
|
256
|
-
debugTask
|
|
257
|
-
);
|
|
258
|
-
}
|
|
259
|
-
function validateChildKeys(node) {
|
|
260
|
-
isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
|
261
|
-
}
|
|
262
|
-
function isValidElement(object) {
|
|
263
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
264
|
-
}
|
|
265
|
-
var React = React__default, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
266
|
-
return null;
|
|
267
|
-
};
|
|
268
|
-
React = {
|
|
269
|
-
react_stack_bottom_frame: function(callStackForError) {
|
|
270
|
-
return callStackForError();
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
var specialPropKeyWarningShown;
|
|
274
|
-
var didWarnAboutElementRef = {};
|
|
275
|
-
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
|
|
276
|
-
React,
|
|
277
|
-
UnknownOwner
|
|
278
|
-
)();
|
|
279
|
-
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
280
|
-
var didWarnAboutKeySpread = {};
|
|
281
|
-
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
|
|
282
|
-
reactJsxRuntime_development.jsx = function(type, config, maybeKey) {
|
|
283
|
-
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
284
|
-
return jsxDEVImpl(
|
|
285
|
-
type,
|
|
286
|
-
config,
|
|
287
|
-
maybeKey,
|
|
288
|
-
false,
|
|
289
|
-
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
290
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
291
|
-
);
|
|
292
|
-
};
|
|
293
|
-
reactJsxRuntime_development.jsxs = function(type, config, maybeKey) {
|
|
294
|
-
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
295
|
-
return jsxDEVImpl(
|
|
296
|
-
type,
|
|
297
|
-
config,
|
|
298
|
-
maybeKey,
|
|
299
|
-
true,
|
|
300
|
-
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
301
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
302
|
-
);
|
|
303
|
-
};
|
|
304
|
-
}();
|
|
305
|
-
return reactJsxRuntime_development;
|
|
306
|
-
}
|
|
307
|
-
if (process.env.NODE_ENV === "production") {
|
|
308
|
-
jsxRuntime.exports = requireReactJsxRuntime_production();
|
|
309
|
-
} else {
|
|
310
|
-
jsxRuntime.exports = requireReactJsxRuntime_development();
|
|
311
|
-
}
|
|
312
|
-
var jsxRuntimeExports = jsxRuntime.exports;
|
|
313
|
-
export {
|
|
314
|
-
jsxRuntimeExports as j
|
|
315
|
-
};
|
|
316
|
-
//# sourceMappingURL=jsx-runtime-DZS36FSE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime-DZS36FSE.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["require$$0","jsxRuntimeModule","require$$1"],"mappings":";;;;;;;;;;;;;;;;AAWA,MAAI,qBAAqB,OAAO,IAAI,4BAA4B,GAC9D,sBAAsB,OAAO,IAAI,gBAAgB;AACnD,WAAS,QAAQ,MAAM,QAAQ,UAAU;AACvC,QAAI,MAAM;AACV,eAAW,aAAa,MAAM,KAAK;AACnC,eAAW,OAAO,QAAQ,MAAM,KAAK,OAAO;AAC5C,QAAI,SAAS,QAAQ;AACnB,iBAAW,CAAA;AACX,eAAS,YAAY;AACnB,kBAAU,aAAa,SAAS,QAAQ,IAAI,OAAO,QAAQ;AAAA,IACjE,MAAS,YAAW;AAClB,aAAS,SAAS;AAClB,WAAO;AAAA,MACL,UAAU;AAAA,MACV;AAAA,MACA;AAAA,MACA,KAAK,WAAW,SAAS,SAAS;AAAA,MAClC,OAAO;AAAA,IACX;AAAA,EACA;AACA,6BAAA,WAAmB;AACnB,6BAAA,MAAc;AACd,6BAAA,OAAe;;;;;;;;;;;;;;;;;ACtBf,mBAAiB,QAAQ,IAAI,YAC1B,WAAY;AACX,aAAS,yBAAyB,MAAM;AACtC,UAAI,QAAQ,KAAM,QAAO;AACzB,UAAI,eAAe,OAAO;AACxB,eAAO,KAAK,aAAa,yBACrB,OACA,KAAK,eAAe,KAAK,QAAQ;AACvC,UAAI,aAAa,OAAO,KAAM,QAAO;AACrC,cAAQ,MAAI;AAAA,QACV,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAA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AAA,MAC3D;AAAA,IACA;AAAA,EACA,EAAG;;;AC7VH,IAAI,QAAQ,IAAI,aAAa,cAAc;AACzCC,aAAA,UAAiBD,kCAAA;AACnB,OAAO;AACLC,aAAA,UAAiBC,mCAAA;AACnB;;","x_google_ignoreList":[0,1,2]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./jsx-runtime-C6yv_9g1.cjs"),i=require("framer-motion"),n=require("react");exports.BlurIn=function({children:e}){const s=n.useRef(null),r=i.useInView(s,{once:!0});return t.jsxRuntimeExports.jsx(i.motion.div,{ref:s,initial:{filter:"blur(20px)",opacity:0},animate:r?{filter:"blur(0px)",opacity:1}:{},transition:{duration:1.2},style:{display:"flex",flexGrow:1},children:e})},exports.GradualSpacing=function({text:e}){const s=n.useRef(null),r=i.useInView(s,{once:!0});return t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:t.jsxRuntimeExports.jsx(i.AnimatePresence,{children:e.split("").map((n,e)=>t.jsxRuntimeExports.jsx(i.motion.p,{ref:s,initial:{opacity:0,x:-18},animate:r?{opacity:1,x:0}:{},exit:"hidden",transition:{duration:.5,delay:.1*e},children:" "===n?t.jsxRuntimeExports.jsx("span",{children:" "}):n},e))})})},exports.TypingEffect=function({text:e}){const s=n.useRef(null),r=i.useInView(s,{once:!0});return t.jsxRuntimeExports.jsx("span",{ref:s,style:{display:"inline-block"},children:e.split("").map((n,e)=>t.jsxRuntimeExports.jsx(i.motion.span,{initial:{opacity:0},animate:r?{opacity:1}:{},transition:{duration:.2,delay:.05*e},children:" "===n?t.jsxRuntimeExports.jsx("span",{children:" "}):n},e))})},exports.WordsPullUp=function({text:e}){const s=e.split(" "),r={initial:{y:20,opacity:0},animate:t=>({y:0,opacity:1,transition:{delay:.1*t}})},o=n.useRef(null),a=i.useInView(o,{once:!0});return t.jsxRuntimeExports.jsx(t.jsxRuntimeExports.Fragment,{children:s.map((n,e)=>t.jsxRuntimeExports.jsxs(i.motion.div,{ref:o,variants:r,initial:"initial",animate:a?"animate":"",custom:e,children:[""===n?t.jsxRuntimeExports.jsx("span",{children:" "}):n,e!==s.length-1&&t.jsxRuntimeExports.jsx("span",{children:" "})]},e))})};
|
|
2
|
-
//# sourceMappingURL=motion-DrSN18V7.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"motion-DrSN18V7.cjs","sources":["../src/styles/motion/motion.tsx"],"sourcesContent":["import { AnimatePresence, motion, useInView } from 'framer-motion';\nimport { ReactNode, useRef } from 'react';\n\nexport function WordsPullUp({ text }: { text: string }) {\n const splittedText = text.split(' ');\n\n const pullupVariant = {\n initial: { y: 20, opacity: 0 },\n animate: (i: number) => ({\n y: 0,\n opacity: 1,\n transition: {\n delay: i * 0.1,\n },\n }),\n };\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true });\n return (\n <>\n {splittedText.map((current, i) => (\n <motion.div\n key={i}\n ref={ref}\n variants={pullupVariant}\n initial='initial'\n animate={isInView ? 'animate' : ''}\n custom={i}\n >\n {current === '' ? <span> </span> : current}\n {i !== splittedText.length - 1 && <span> </span>}\n </motion.div>\n ))}\n </>\n );\n}\n\nexport function TypingEffect({ text }: { text: string }) {\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true });\n return (\n <span ref={ref} style={{ display: 'inline-block' }}>\n {text.split('').map((letter, index) => (\n <motion.span\n key={index}\n initial={{ opacity: 0 }}\n animate={isInView ? { opacity: 1 } : {}}\n transition={{ duration: 0.2, delay: index * 0.05 }}\n >\n {letter === ' ' ? <span> </span> : letter}\n </motion.span>\n ))}\n </span>\n );\n}\n\nexport function GradualSpacing({ text }: { text: string }) {\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true });\n return (\n <>\n <AnimatePresence>\n {text.split('').map((char, i) => (\n <motion.p\n ref={ref}\n key={i}\n initial={{ opacity: 0, x: -18 }}\n animate={isInView ? { opacity: 1, x: 0 } : {}}\n exit='hidden'\n transition={{ duration: 0.5, delay: i * 0.1 }}\n >\n {char === ' ' ? <span> </span> : char}\n </motion.p>\n ))}\n </AnimatePresence>\n </>\n );\n}\n\nexport function BlurIn({ children }: { children: ReactNode }) {\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true });\n return (\n <motion.div\n ref={ref}\n initial={{ filter: 'blur(20px)', opacity: 0 }}\n animate={isInView ? { filter: 'blur(0px)', opacity: 1 } : {}}\n transition={{ duration: 1.2 }}\n style={{ display: 'flex', flexGrow: 1 }}\n >\n {children}\n </motion.div>\n );\n}\n"],"names":["children","ref","useRef","isInView","useInView","once","jsx","motion","div","initial","filter","opacity","animate","transition","duration","style","display","flexGrow","text","Fragment","AnimatePresence","split","map","char","i","p","x","exit","delay","letter","index","span","splittedText","pullupVariant","y","current","jsxs","variants","custom","length"],"mappings":"wHA+EO,UAAgBA,SAAEA,IACvB,MAAMC,EAAMC,EAAAA,OAAO,MACbC,EAAWC,EAAAA,UAAUH,EAAK,CAAEI,MAAM,IACxC,SACEC,kBAAAA,IAACC,EAAAA,OAAOC,IAAP,CACCP,MACAQ,QAAS,CAAEC,OAAQ,aAAcC,QAAS,GAC1CC,QAAST,EAAW,CAAEO,OAAQ,YAAaC,QAAS,GAAM,CAAA,EAC1DE,WAAY,CAAEC,SAAU,KACxBC,MAAO,CAAEC,QAAS,OAAQC,SAAU,GAEnCjB,YAGP,yBArCO,UAAwBkB,KAAEA,IAC/B,MAAMjB,EAAMC,EAAAA,OAAO,MACbC,EAAWC,EAAAA,UAAUH,EAAK,CAAEI,MAAM,IACxC,OACEC,EAAAA,kBAAAA,IAAAa,EAAAA,kBAAAA,SAAA,CACEnB,SAAAM,EAAAA,kBAAAA,IAACc,EAAAA,gBAAA,CACEpB,SAAAkB,EAAKG,MAAM,IAAIC,IAAI,CAACC,EAAMC,IACzBlB,EAAAA,kBAAAA,IAACC,EAAAA,OAAOkB,EAAP,CACCxB,MAEAQ,QAAS,CAAEE,QAAS,EAAGe,GAAG,IAC1Bd,QAAST,EAAW,CAAEQ,QAA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AAA,MAAgBmC,EACvCX,IAAMQ,EAAaO,OAAS,GAAKjC,EAAAA,kBAAAA,IAAC,QAAKN,SAAA,QARnCwB,KAaf"}
|
package/build/motion-K7hUU4gL.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./jsx-runtime-DZS36FSE.js";
|
|
2
|
-
import { useInView, motion, AnimatePresence } from "framer-motion";
|
|
3
|
-
import { useRef } from "react";
|
|
4
|
-
function WordsPullUp({ text }) {
|
|
5
|
-
const splittedText = text.split(" ");
|
|
6
|
-
const pullupVariant = {
|
|
7
|
-
initial: { y: 20, opacity: 0 },
|
|
8
|
-
animate: (i) => ({
|
|
9
|
-
y: 0,
|
|
10
|
-
opacity: 1,
|
|
11
|
-
transition: {
|
|
12
|
-
delay: i * 0.1
|
|
13
|
-
}
|
|
14
|
-
})
|
|
15
|
-
};
|
|
16
|
-
const ref = useRef(null);
|
|
17
|
-
const isInView = useInView(ref, { once: true });
|
|
18
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: splittedText.map((current, i) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
19
|
-
motion.div,
|
|
20
|
-
{
|
|
21
|
-
ref,
|
|
22
|
-
variants: pullupVariant,
|
|
23
|
-
initial: "initial",
|
|
24
|
-
animate: isInView ? "animate" : "",
|
|
25
|
-
custom: i,
|
|
26
|
-
children: [
|
|
27
|
-
current === "" ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: " " }) : current,
|
|
28
|
-
i !== splittedText.length - 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: " " })
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
i
|
|
32
|
-
)) });
|
|
33
|
-
}
|
|
34
|
-
function TypingEffect({ text }) {
|
|
35
|
-
const ref = useRef(null);
|
|
36
|
-
const isInView = useInView(ref, { once: true });
|
|
37
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { ref, style: { display: "inline-block" }, children: text.split("").map((letter, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
38
|
-
motion.span,
|
|
39
|
-
{
|
|
40
|
-
initial: { opacity: 0 },
|
|
41
|
-
animate: isInView ? { opacity: 1 } : {},
|
|
42
|
-
transition: { duration: 0.2, delay: index * 0.05 },
|
|
43
|
-
children: letter === " " ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: " " }) : letter
|
|
44
|
-
},
|
|
45
|
-
index
|
|
46
|
-
)) });
|
|
47
|
-
}
|
|
48
|
-
function GradualSpacing({ text }) {
|
|
49
|
-
const ref = useRef(null);
|
|
50
|
-
const isInView = useInView(ref, { once: true });
|
|
51
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(AnimatePresence, { children: text.split("").map((char, i) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
52
|
-
motion.p,
|
|
53
|
-
{
|
|
54
|
-
ref,
|
|
55
|
-
initial: { opacity: 0, x: -18 },
|
|
56
|
-
animate: isInView ? { opacity: 1, x: 0 } : {},
|
|
57
|
-
exit: "hidden",
|
|
58
|
-
transition: { duration: 0.5, delay: i * 0.1 },
|
|
59
|
-
children: char === " " ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: " " }) : char
|
|
60
|
-
},
|
|
61
|
-
i
|
|
62
|
-
)) }) });
|
|
63
|
-
}
|
|
64
|
-
function BlurIn({ children }) {
|
|
65
|
-
const ref = useRef(null);
|
|
66
|
-
const isInView = useInView(ref, { once: true });
|
|
67
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
68
|
-
motion.div,
|
|
69
|
-
{
|
|
70
|
-
ref,
|
|
71
|
-
initial: { filter: "blur(20px)", opacity: 0 },
|
|
72
|
-
animate: isInView ? { filter: "blur(0px)", opacity: 1 } : {},
|
|
73
|
-
transition: { duration: 1.2 },
|
|
74
|
-
style: { display: "flex", flexGrow: 1 },
|
|
75
|
-
children
|
|
76
|
-
}
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
export {
|
|
80
|
-
BlurIn as B,
|
|
81
|
-
GradualSpacing as G,
|
|
82
|
-
TypingEffect as T,
|
|
83
|
-
WordsPullUp as W
|
|
84
|
-
};
|
|
85
|
-
//# sourceMappingURL=motion-K7hUU4gL.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"motion-K7hUU4gL.js","sources":["../src/styles/motion/motion.tsx"],"sourcesContent":["import { AnimatePresence, motion, useInView } from 'framer-motion';\nimport { ReactNode, useRef } from 'react';\n\nexport function WordsPullUp({ text }: { text: string }) {\n const splittedText = text.split(' ');\n\n const pullupVariant = {\n initial: { y: 20, opacity: 0 },\n animate: (i: number) => ({\n y: 0,\n opacity: 1,\n transition: {\n delay: i * 0.1,\n },\n }),\n };\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true });\n return (\n <>\n {splittedText.map((current, i) => (\n <motion.div\n key={i}\n ref={ref}\n variants={pullupVariant}\n initial='initial'\n animate={isInView ? 'animate' : ''}\n custom={i}\n >\n {current === '' ? <span> </span> : current}\n {i !== splittedText.length - 1 && <span> </span>}\n </motion.div>\n ))}\n </>\n );\n}\n\nexport function TypingEffect({ text }: { text: string }) {\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true });\n return (\n <span ref={ref} style={{ display: 'inline-block' }}>\n {text.split('').map((letter, index) => (\n <motion.span\n key={index}\n initial={{ opacity: 0 }}\n animate={isInView ? { opacity: 1 } : {}}\n transition={{ duration: 0.2, delay: index * 0.05 }}\n >\n {letter === ' ' ? <span> </span> : letter}\n </motion.span>\n ))}\n </span>\n );\n}\n\nexport function GradualSpacing({ text }: { text: string }) {\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true });\n return (\n <>\n <AnimatePresence>\n {text.split('').map((char, i) => (\n <motion.p\n ref={ref}\n key={i}\n initial={{ opacity: 0, x: -18 }}\n animate={isInView ? { opacity: 1, x: 0 } : {}}\n exit='hidden'\n transition={{ duration: 0.5, delay: i * 0.1 }}\n >\n {char === ' ' ? <span> </span> : char}\n </motion.p>\n ))}\n </AnimatePresence>\n </>\n );\n}\n\nexport function BlurIn({ children }: { children: ReactNode }) {\n const ref = useRef(null);\n const isInView = useInView(ref, { once: true });\n return (\n <motion.div\n ref={ref}\n initial={{ filter: 'blur(20px)', opacity: 0 }}\n animate={isInView ? { filter: 'blur(0px)', opacity: 1 } : {}}\n transition={{ duration: 1.2 }}\n style={{ display: 'flex', flexGrow: 1 }}\n >\n {children}\n </motion.div>\n );\n}\n"],"names":["jsx","Fragment","jsxs"],"mappings":";;;AAGO,SAAS,YAAY,EAAE,QAA0B;AACtD,QAAM,eAAe,KAAK,MAAM,GAAG;AAEnC,QAAM,gBAAgB;AAAA,IACpB,SAAS,EAAE,GAAG,IAAI,SAAS,EAAA;AAAA,IAC3B,SAAS,CAAC,OAAe;AAAA,MACvB,GAAG;AAAA,MACH,SAAS;AAAA,MACT,YAAY;AAAA,QACV,OAAO,IAAI;AAAA,MAAA;AAAA,IACb;AAAA,EACF;AAEF,QAAM,MAAM,OAAO,IAAI;AACvB,QAAM,WAAW,UAAU,KAAK,EAAE,MAAM,MAAM;AAC9C,SACEA,kCAAAA,IAAAC,kBAAAA,UAAA,EACG,UAAA,aAAa,IAAI,CAAC,SAAS,MAC1BC,kCAAAA;AAAAA,IAAC,OAAO;AAAA,IAAP;AAAA,MAEC;AAAA,MACA,UAAU;AAAA,MACV,SAAQ;AAAA,MACR,SAAS,WAAW,YAAY;AAAA,MAChC,QAAQ;AAAA,MAEP,UAAA;AAAA,QAAA,YAAY,KAAKF,sCAAC,QAAA,EAAK,UAAA,IAAA,CAAM,IAAU;AAAA,QACvC,MAAM,aAAa,SAAS,KAAKA,kCAAAA,IAAC,UAAK,UAAA,IAAA,CAAM;AAAA,MAAA;AAAA,IAAA;AAAA,IARzC;AAAA,EAAA,CAUR,GACH;AAEJ;A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