@g4rcez/components 4.1.3 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/docs/AnimatedList.md +1 -1
- package/ai/docs/Autocomplete.md +2 -2
- package/ai/docs/Button.md +1 -1
- package/ai/docs/Card.md +7 -7
- package/ai/docs/DatePicker.md +2 -2
- package/ai/docs/Dropdown.md +7 -7
- package/ai/docs/Expand.md +5 -5
- package/ai/docs/Input.md +3 -3
- package/ai/docs/InputField.md +24 -14
- package/ai/docs/List.md +1 -1
- package/ai/docs/Modal.md +4 -4
- package/ai/docs/MultiSelect.md +2 -2
- package/ai/docs/PageCalendar.md +2 -2
- package/ai/docs/Polymorph.md +1 -1
- package/ai/docs/Resizable.md +3 -3
- package/ai/docs/Select.md +2 -2
- package/ai/docs/Skeleton.md +1 -1
- package/ai/docs/Slot.md +3 -3
- package/ai/docs/Spinner.md +1 -1
- package/ai/docs/Stats.md +1 -1
- package/ai/docs/Step.md +1 -1
- package/ai/docs/Tabs.md +1 -1
- package/ai/docs/Tag.md +1 -1
- package/ai/docs/TaskList.md +3 -3
- package/ai/docs/Textarea.md +2 -2
- package/ai/docs/Tooltip.md +13 -9
- package/ai/docs/Typography.md +1 -1
- package/ai/docs/index.md +17 -17
- package/dist/CaretDown.es-BXl0Ixp3.js +23 -0
- package/dist/CaretDown.es-BXl0Ixp3.js.map +1 -0
- package/dist/CaretRight.es-B2mpMfqU.js +23 -0
- package/dist/CaretRight.es-B2mpMfqU.js.map +1 -0
- package/dist/CheckCircle.es-BB91gLT-.js +23 -0
- package/dist/CheckCircle.es-BB91gLT-.js.map +1 -0
- package/dist/File.es-CjNVQ00B.js +23 -0
- package/dist/File.es-CjNVQ00B.js.map +1 -0
- package/dist/IconBase.es-BlJQ9IXo.js +27 -0
- package/dist/IconBase.es-BlJQ9IXo.js.map +1 -0
- package/dist/Info.es-Dvln8pws.js +23 -0
- package/dist/Info.es-Dvln8pws.js.map +1 -0
- package/dist/MotionConfig-DKKYqBH2.js +27 -0
- package/dist/MotionConfig-DKKYqBH2.js.map +1 -0
- package/dist/MotionConfigContext-BORpSKe8.js +2571 -0
- package/dist/MotionConfigContext-BORpSKe8.js.map +1 -0
- package/dist/Warning.es-B_xCn-P5.js +23 -0
- package/dist/Warning.es-B_xCn-P5.js.map +1 -0
- package/dist/X.es-Cjq2a_OA.js +23 -0
- package/dist/X.es-Cjq2a_OA.js.map +1 -0
- package/dist/animate-BNYgkk_j.js +387 -0
- package/dist/animate-BNYgkk_j.js.map +1 -0
- package/dist/autocomplete-D3VOTihi.js +415 -0
- package/dist/autocomplete-D3VOTihi.js.map +1 -0
- package/dist/calendar-PCCZDUIL.js +1678 -0
- package/dist/calendar-PCCZDUIL.js.map +1 -0
- package/dist/components/core/button.js +75 -75
- package/dist/components/core/button.js.map +1 -1
- package/dist/components/core/tag.js +66 -66
- package/dist/components/core/tag.js.map +1 -1
- package/dist/components/display/alert.js +133 -95
- package/dist/components/display/alert.js.map +1 -1
- package/dist/components/display/calendar.js +3 -15
- package/dist/components/display/card.js +73 -82
- package/dist/components/display/card.js.map +1 -1
- package/dist/components/display/list.js +153 -93
- package/dist/components/display/list.js.map +1 -1
- package/dist/components/display/notifications.js +3 -15
- package/dist/components/display/stats.js +30 -16
- package/dist/components/display/stats.js.map +1 -1
- package/dist/components/display/tabs.js +3 -12
- package/dist/components/display/timeline.js +47 -28
- package/dist/components/display/timeline.js.map +1 -1
- package/dist/components/floating/dropdown.js +76 -65
- package/dist/components/floating/dropdown.js.map +1 -1
- package/dist/components/floating/expand.js +62 -40
- package/dist/components/floating/expand.js.map +1 -1
- package/dist/components/floating/menu.js +195 -177
- package/dist/components/floating/menu.js.map +1 -1
- package/dist/components/floating/modal.js +3 -301
- package/dist/components/floating/tooltip.js +63 -73
- package/dist/components/floating/tooltip.js.map +1 -1
- package/dist/components/form/autocomplete.js +3 -16
- package/dist/components/form/checkbox.js +34 -44
- package/dist/components/form/checkbox.js.map +1 -1
- package/dist/components/form/date-picker.js +3 -12
- package/dist/components/form/file-upload.js +3 -11
- package/dist/components/form/form.js +16 -7
- package/dist/components/form/form.js.map +1 -1
- package/dist/components/form/input.js +3 -5
- package/dist/components/form/radiobox.js +19 -30
- package/dist/components/form/radiobox.js.map +1 -1
- package/dist/components/form/select.js +77 -106
- package/dist/components/form/select.js.map +1 -1
- package/dist/components/form/switch.js +73 -64
- package/dist/components/form/switch.js.map +1 -1
- package/dist/components/form/task-list.js +3 -68
- package/dist/components/table/table.js +3 -10
- package/dist/date-picker-BhKEFZew.js +1498 -0
- package/dist/date-picker-BhKEFZew.js.map +1 -0
- package/dist/dist-BHFtgf5x.js +2593 -0
- package/dist/dist-BHFtgf5x.js.map +1 -0
- package/dist/dist-BrGpYRaj.js +178 -0
- package/dist/dist-BrGpYRaj.js.map +1 -0
- package/dist/dist-NmFtbuK4.js +35 -0
- package/dist/dist-NmFtbuK4.js.map +1 -0
- package/dist/dom-Bn4wY_Zx.js +2168 -0
- package/dist/dom-Bn4wY_Zx.js.map +1 -0
- package/dist/file-upload-DWbZfeG5.js +2966 -0
- package/dist/file-upload-DWbZfeG5.js.map +1 -0
- package/dist/floating-ui.react-CwXtBJ_y.js +3381 -0
- package/dist/floating-ui.react-CwXtBJ_y.js.map +1 -0
- package/dist/floating-ui.utils-CUrVRSbA.js +204 -0
- package/dist/floating-ui.utils-CUrVRSbA.js.map +1 -0
- package/dist/fns-KbsWlOTG.js +29 -0
- package/dist/fns-KbsWlOTG.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +7932 -20
- package/dist/index.js.map +1 -1
- package/dist/input-B7jqwPG4.js +473 -0
- package/dist/input-B7jqwPG4.js.map +1 -0
- package/dist/input-field-B_whI66Q.js +137 -0
- package/dist/input-field-B_whI66Q.js.map +1 -0
- package/dist/modal-Bz-61ays.js +373 -0
- package/dist/modal-Bz-61ays.js.map +1 -0
- package/dist/notifications-MT4XkLov.js +2203 -0
- package/dist/notifications-MT4XkLov.js.map +1 -0
- package/dist/polymorph-BLXhrn9n.js +14 -0
- package/dist/polymorph-BLXhrn9n.js.map +1 -0
- package/dist/preset/preset.tailwind.d.ts.map +1 -1
- package/dist/preset/preset.tailwind.js +40 -4
- package/dist/preset/src/styles/common.d.ts +0 -2
- package/dist/preset/src/styles/common.d.ts.map +1 -1
- package/dist/preset/src/styles/common.js +0 -9
- package/dist/preset/src/styles/components.d.ts +3 -0
- package/dist/preset/src/styles/components.d.ts.map +1 -0
- package/dist/preset/src/styles/components.js +400 -0
- package/dist/preset/src/styles/dark.d.ts.map +1 -1
- package/dist/preset/src/styles/dark.js +5 -3
- package/dist/preset/src/styles/default-tokens.d.ts +74 -0
- package/dist/preset/src/styles/default-tokens.d.ts.map +1 -0
- package/dist/preset/src/styles/default-tokens.js +44 -0
- package/dist/preset/src/styles/design-tokens.d.ts +1 -1
- package/dist/preset/src/styles/design-tokens.d.ts.map +1 -1
- package/dist/preset/src/styles/design-tokens.js +6 -2
- package/dist/preset/src/styles/light.d.ts.map +1 -1
- package/dist/preset/src/styles/light.js +22 -20
- package/dist/preset/src/styles/theme.types.d.ts +433 -8
- package/dist/preset/src/styles/theme.types.d.ts.map +1 -1
- package/dist/proxy-BcJ_5Dwq.js +2530 -0
- package/dist/proxy-BcJ_5Dwq.js.map +1 -0
- package/dist/skeleton-CBYEq3lM.js +26 -0
- package/dist/skeleton-CBYEq3lM.js.map +1 -0
- package/dist/slot-pC8kH9De.js +96 -0
- package/dist/slot-pC8kH9De.js.map +1 -0
- package/dist/styles/common.d.ts +0 -2
- package/dist/styles/common.d.ts.map +1 -1
- package/dist/styles/common.js +0 -9
- package/dist/styles/components.d.ts +3 -0
- package/dist/styles/components.d.ts.map +1 -0
- package/dist/styles/components.js +400 -0
- package/dist/styles/dark.d.ts.map +1 -1
- package/dist/styles/dark.js +5 -3
- package/dist/styles/default-tokens.d.ts +74 -0
- package/dist/styles/default-tokens.d.ts.map +1 -0
- package/dist/styles/default-tokens.js +44 -0
- package/dist/styles/design-tokens.d.ts +1 -1
- package/dist/styles/design-tokens.d.ts.map +1 -1
- package/dist/styles/design-tokens.js +6 -2
- package/dist/styles/light.d.ts.map +1 -1
- package/dist/styles/light.js +22 -20
- package/dist/styles/theme.types.d.ts +433 -8
- package/dist/styles/theme.types.d.ts.map +1 -1
- package/dist/table-CUFbAI2k.js +1914 -0
- package/dist/table-CUFbAI2k.js.map +1 -0
- package/dist/tabs-Ciy0l9OF.js +122 -0
- package/dist/tabs-Ciy0l9OF.js.map +1 -0
- package/dist/task-list-tKumO4WH.js +96 -0
- package/dist/task-list-tKumO4WH.js.map +1 -0
- package/dist/use-motion-value-BqPF1j90.js +15 -0
- package/dist/use-motion-value-BqPF1j90.js.map +1 -0
- package/dist/use-stable-ref-D5LFCx0u.js +12 -0
- package/dist/use-stable-ref-D5LFCx0u.js.map +1 -0
- package/dist/use-translations-DTLfPE3_.js +177 -0
- package/dist/use-translations-DTLfPE3_.js.map +1 -0
- package/package.json +17 -17
- package/dist/CaretDown.es-Cj7klWI3.js +0 -33
- package/dist/CaretDown.es-Cj7klWI3.js.map +0 -1
- package/dist/CaretRight.es-0-M8D9y8.js +0 -33
- package/dist/CaretRight.es-0-M8D9y8.js.map +0 -1
- package/dist/CheckCircle.es-C6QWLfk_.js +0 -33
- package/dist/CheckCircle.es-C6QWLfk_.js.map +0 -1
- package/dist/File.es-CA-vuPED.js +0 -33
- package/dist/File.es-CA-vuPED.js.map +0 -1
- package/dist/IconBase.es-DJ1oCtpo.js +0 -50
- package/dist/IconBase.es-DJ1oCtpo.js.map +0 -1
- package/dist/Info.es-CrZKs4q4.js +0 -33
- package/dist/Info.es-CrZKs4q4.js.map +0 -1
- package/dist/MotionConfigContext-C7MqlSdv.js +0 -2713
- package/dist/MotionConfigContext-C7MqlSdv.js.map +0 -1
- package/dist/Warning.es-D_eI6tLe.js +0 -39
- package/dist/Warning.es-D_eI6tLe.js.map +0 -1
- package/dist/X.es-BJ1O93El.js +0 -39
- package/dist/X.es-BJ1O93El.js.map +0 -1
- package/dist/autocomplete-DcTNOwyg.js +0 -393
- package/dist/autocomplete-DcTNOwyg.js.map +0 -1
- package/dist/calendar-BJMHRoy2.js +0 -1746
- package/dist/calendar-BJMHRoy2.js.map +0 -1
- package/dist/components/core/button.d.ts +0 -77
- package/dist/components/core/button.d.ts.map +0 -1
- package/dist/components/core/button.jsx +0 -79
- package/dist/components/core/heading.d.ts +0 -3
- package/dist/components/core/heading.d.ts.map +0 -1
- package/dist/components/core/heading.jsx +0 -4
- package/dist/components/core/polymorph.d.ts +0 -10
- package/dist/components/core/polymorph.d.ts.map +0 -1
- package/dist/components/core/polymorph.jsx +0 -5
- package/dist/components/core/render-on-view.d.ts +0 -7
- package/dist/components/core/render-on-view.d.ts.map +0 -1
- package/dist/components/core/render-on-view.jsx +0 -31
- package/dist/components/core/resizable.d.ts +0 -3
- package/dist/components/core/resizable.d.ts.map +0 -1
- package/dist/components/core/resizable.jsx +0 -51
- package/dist/components/core/slot.d.ts +0 -16
- package/dist/components/core/slot.d.ts.map +0 -1
- package/dist/components/core/slot.jsx +0 -156
- package/dist/components/core/tag.d.ts +0 -35
- package/dist/components/core/tag.d.ts.map +0 -1
- package/dist/components/core/tag.jsx +0 -51
- package/dist/components/core/typography.d.ts +0 -25
- package/dist/components/core/typography.d.ts.map +0 -1
- package/dist/components/core/typography.jsx +0 -18
- package/dist/components/display/alert.d.ts +0 -28
- package/dist/components/display/alert.d.ts.map +0 -1
- package/dist/components/display/alert.jsx +0 -61
- package/dist/components/display/calendar.d.ts +0 -42
- package/dist/components/display/calendar.d.ts.map +0 -1
- package/dist/components/display/calendar.js.map +0 -1
- package/dist/components/display/calendar.jsx +0 -299
- package/dist/components/display/card.d.ts +0 -29
- package/dist/components/display/card.d.ts.map +0 -1
- package/dist/components/display/card.jsx +0 -43
- package/dist/components/display/empty.d.ts +0 -8
- package/dist/components/display/empty.d.ts.map +0 -1
- package/dist/components/display/empty.jsx +0 -11
- package/dist/components/display/list.d.ts +0 -16
- package/dist/components/display/list.d.ts.map +0 -1
- package/dist/components/display/list.jsx +0 -81
- package/dist/components/display/notifications.d.ts +0 -27
- package/dist/components/display/notifications.d.ts.map +0 -1
- package/dist/components/display/notifications.js.map +0 -1
- package/dist/components/display/notifications.jsx +0 -126
- package/dist/components/display/progress.d.ts +0 -13
- package/dist/components/display/progress.d.ts.map +0 -1
- package/dist/components/display/progress.jsx +0 -11
- package/dist/components/display/shortcut.d.ts +0 -4
- package/dist/components/display/shortcut.d.ts.map +0 -1
- package/dist/components/display/shortcut.jsx +0 -23
- package/dist/components/display/skeleton.d.ts +0 -12
- package/dist/components/display/skeleton.d.ts.map +0 -1
- package/dist/components/display/skeleton.jsx +0 -19
- package/dist/components/display/spinner.d.ts +0 -5
- package/dist/components/display/spinner.d.ts.map +0 -1
- package/dist/components/display/spinner.jsx +0 -11
- package/dist/components/display/stats.d.ts +0 -12
- package/dist/components/display/stats.d.ts.map +0 -1
- package/dist/components/display/stats.jsx +0 -20
- package/dist/components/display/step.d.ts +0 -24
- package/dist/components/display/step.d.ts.map +0 -1
- package/dist/components/display/step.jsx +0 -131
- package/dist/components/display/tabs.d.ts +0 -24
- package/dist/components/display/tabs.d.ts.map +0 -1
- package/dist/components/display/tabs.js.map +0 -1
- package/dist/components/display/tabs.jsx +0 -125
- package/dist/components/display/timeline.d.ts +0 -10
- package/dist/components/display/timeline.d.ts.map +0 -1
- package/dist/components/display/timeline.jsx +0 -25
- package/dist/components/floating/command-palette.d.ts +0 -49
- package/dist/components/floating/command-palette.d.ts.map +0 -1
- package/dist/components/floating/command-palette.jsx +0 -197
- package/dist/components/floating/dropdown.d.ts +0 -15
- package/dist/components/floating/dropdown.d.ts.map +0 -1
- package/dist/components/floating/dropdown.jsx +0 -56
- package/dist/components/floating/expand.d.ts +0 -11
- package/dist/components/floating/expand.d.ts.map +0 -1
- package/dist/components/floating/expand.jsx +0 -44
- package/dist/components/floating/menu.d.ts +0 -52
- package/dist/components/floating/menu.d.ts.map +0 -1
- package/dist/components/floating/menu.jsx +0 -147
- package/dist/components/floating/modal.d.ts +0 -60
- package/dist/components/floating/modal.d.ts.map +0 -1
- package/dist/components/floating/modal.js.map +0 -1
- package/dist/components/floating/modal.jsx +0 -301
- package/dist/components/floating/toolbar.d.ts +0 -6
- package/dist/components/floating/toolbar.d.ts.map +0 -1
- package/dist/components/floating/toolbar.jsx +0 -5
- package/dist/components/floating/tooltip.d.ts +0 -17
- package/dist/components/floating/tooltip.d.ts.map +0 -1
- package/dist/components/floating/tooltip.jsx +0 -58
- package/dist/components/floating/wizard.d.ts +0 -26
- package/dist/components/floating/wizard.d.ts.map +0 -1
- package/dist/components/floating/wizard.jsx +0 -161
- package/dist/components/form/autocomplete.d.ts +0 -16
- package/dist/components/form/autocomplete.d.ts.map +0 -1
- package/dist/components/form/autocomplete.js.map +0 -1
- package/dist/components/form/autocomplete.jsx +0 -278
- package/dist/components/form/checkbox.d.ts +0 -12
- package/dist/components/form/checkbox.d.ts.map +0 -1
- package/dist/components/form/checkbox.jsx +0 -12
- package/dist/components/form/date-picker.d.ts +0 -10
- package/dist/components/form/date-picker.d.ts.map +0 -1
- package/dist/components/form/date-picker.js.map +0 -1
- package/dist/components/form/date-picker.jsx +0 -115
- package/dist/components/form/file-upload.d.ts +0 -15
- package/dist/components/form/file-upload.d.ts.map +0 -1
- package/dist/components/form/file-upload.js.map +0 -1
- package/dist/components/form/file-upload.jsx +0 -134
- package/dist/components/form/form.d.ts +0 -3
- package/dist/components/form/form.d.ts.map +0 -1
- package/dist/components/form/form.jsx +0 -10
- package/dist/components/form/formReset.d.ts +0 -2
- package/dist/components/form/formReset.d.ts.map +0 -1
- package/dist/components/form/formReset.jsx +0 -17
- package/dist/components/form/free-text.d.ts +0 -11
- package/dist/components/form/free-text.d.ts.map +0 -1
- package/dist/components/form/free-text.jsx +0 -41
- package/dist/components/form/input-field.d.ts +0 -34
- package/dist/components/form/input-field.d.ts.map +0 -1
- package/dist/components/form/input-field.jsx +0 -58
- package/dist/components/form/input.d.ts +0 -52
- package/dist/components/form/input.d.ts.map +0 -1
- package/dist/components/form/input.js.map +0 -1
- package/dist/components/form/input.jsx +0 -36
- package/dist/components/form/multi-select.d.ts +0 -19
- package/dist/components/form/multi-select.d.ts.map +0 -1
- package/dist/components/form/multi-select.jsx +0 -336
- package/dist/components/form/radiobox.d.ts +0 -7
- package/dist/components/form/radiobox.d.ts.map +0 -1
- package/dist/components/form/radiobox.jsx +0 -6
- package/dist/components/form/select.d.ts +0 -13
- package/dist/components/form/select.d.ts.map +0 -1
- package/dist/components/form/select.jsx +0 -42
- package/dist/components/form/slider.d.ts +0 -7
- package/dist/components/form/slider.d.ts.map +0 -1
- package/dist/components/form/slider.jsx +0 -45
- package/dist/components/form/switch.d.ts +0 -9
- package/dist/components/form/switch.d.ts.map +0 -1
- package/dist/components/form/switch.jsx +0 -46
- package/dist/components/form/task-list.d.ts +0 -3
- package/dist/components/form/task-list.d.ts.map +0 -1
- package/dist/components/form/task-list.js.map +0 -1
- package/dist/components/form/task-list.jsx +0 -26
- package/dist/components/form/textarea.d.ts +0 -6
- package/dist/components/form/textarea.d.ts.map +0 -1
- package/dist/components/form/textarea.jsx +0 -12
- package/dist/components/index.d.ts +0 -45
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js +0 -44
- package/dist/components/page-calendar/calendar-header.d.ts +0 -16
- package/dist/components/page-calendar/calendar-header.d.ts.map +0 -1
- package/dist/components/page-calendar/calendar-header.jsx +0 -83
- package/dist/components/page-calendar/day-view.d.ts +0 -12
- package/dist/components/page-calendar/day-view.d.ts.map +0 -1
- package/dist/components/page-calendar/day-view.jsx +0 -94
- package/dist/components/page-calendar/event-pill.d.ts +0 -9
- package/dist/components/page-calendar/event-pill.d.ts.map +0 -1
- package/dist/components/page-calendar/event-pill.jsx +0 -25
- package/dist/components/page-calendar/index.d.ts +0 -4
- package/dist/components/page-calendar/index.d.ts.map +0 -1
- package/dist/components/page-calendar/index.js +0 -2
- package/dist/components/page-calendar/month-view.d.ts +0 -11
- package/dist/components/page-calendar/month-view.d.ts.map +0 -1
- package/dist/components/page-calendar/month-view.jsx +0 -46
- package/dist/components/page-calendar/page-calendar.d.ts +0 -18
- package/dist/components/page-calendar/page-calendar.d.ts.map +0 -1
- package/dist/components/page-calendar/page-calendar.jsx +0 -41
- package/dist/components/page-calendar/page-calendar.types.d.ts +0 -18
- package/dist/components/page-calendar/page-calendar.types.d.ts.map +0 -1
- package/dist/components/page-calendar/page-calendar.types.js +0 -1
- package/dist/components/page-calendar/page-calendar.utils.d.ts +0 -24
- package/dist/components/page-calendar/page-calendar.utils.d.ts.map +0 -1
- package/dist/components/page-calendar/page-calendar.utils.js +0 -93
- package/dist/components/page-calendar/week-view.d.ts +0 -11
- package/dist/components/page-calendar/week-view.d.ts.map +0 -1
- package/dist/components/page-calendar/week-view.jsx +0 -71
- package/dist/components/table/filter.d.ts +0 -42
- package/dist/components/table/filter.d.ts.map +0 -1
- package/dist/components/table/filter.jsx +0 -141
- package/dist/components/table/group.d.ts +0 -17
- package/dist/components/table/group.d.ts.map +0 -1
- package/dist/components/table/group.jsx +0 -68
- package/dist/components/table/index.d.ts +0 -19
- package/dist/components/table/index.d.ts.map +0 -1
- package/dist/components/table/index.jsx +0 -60
- package/dist/components/table/inner-table.d.ts +0 -29
- package/dist/components/table/inner-table.d.ts.map +0 -1
- package/dist/components/table/inner-table.jsx +0 -102
- package/dist/components/table/metadata.d.ts +0 -4
- package/dist/components/table/metadata.d.ts.map +0 -1
- package/dist/components/table/metadata.jsx +0 -36
- package/dist/components/table/pagination.d.ts +0 -5
- package/dist/components/table/pagination.d.ts.map +0 -1
- package/dist/components/table/pagination.jsx +0 -74
- package/dist/components/table/row.d.ts +0 -11
- package/dist/components/table/row.d.ts.map +0 -1
- package/dist/components/table/row.jsx +0 -49
- package/dist/components/table/sort.d.ts +0 -28
- package/dist/components/table/sort.d.ts.map +0 -1
- package/dist/components/table/sort.jsx +0 -109
- package/dist/components/table/table-lib.d.ts +0 -135
- package/dist/components/table/table-lib.d.ts.map +0 -1
- package/dist/components/table/table-lib.js +0 -83
- package/dist/components/table/table.context.d.ts +0 -10
- package/dist/components/table/table.context.d.ts.map +0 -1
- package/dist/components/table/table.context.jsx +0 -4
- package/dist/components/table/table.js.map +0 -1
- package/dist/components/table/thead.d.ts +0 -9
- package/dist/components/table/thead.d.ts.map +0 -1
- package/dist/components/table/thead.jsx +0 -103
- package/dist/config/context.d.ts +0 -21
- package/dist/config/context.d.ts.map +0 -1
- package/dist/config/context.js +0 -12
- package/dist/config/default-translations.d.ts +0 -94
- package/dist/config/default-translations.d.ts.map +0 -1
- package/dist/config/default-translations.jsx +0 -87
- package/dist/config/default-tweaks.d.ts +0 -13
- package/dist/config/default-tweaks.d.ts.map +0 -1
- package/dist/config/default-tweaks.js +0 -4
- package/dist/constants-r-AHn273.js +0 -6
- package/dist/constants-r-AHn273.js.map +0 -1
- package/dist/constants.d.ts +0 -3
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -2
- package/dist/date-picker-Bnl07nd8.js +0 -1628
- package/dist/date-picker-Bnl07nd8.js.map +0 -1
- package/dist/dom-CyQHY7ID.js +0 -2838
- package/dist/dom-CyQHY7ID.js.map +0 -1
- package/dist/file-upload-93d5DR4q.js +0 -3255
- package/dist/file-upload-93d5DR4q.js.map +0 -1
- package/dist/floating-ui.react-M2PGXLDp.js +0 -3706
- package/dist/floating-ui.react-M2PGXLDp.js.map +0 -1
- package/dist/fns-C7Dt27Qd.js +0 -33
- package/dist/fns-C7Dt27Qd.js.map +0 -1
- package/dist/hooks/use-click-outside.d.ts +0 -3
- package/dist/hooks/use-click-outside.d.ts.map +0 -1
- package/dist/hooks/use-click-outside.js +0 -17
- package/dist/hooks/use-color-parser.d.ts +0 -2
- package/dist/hooks/use-color-parser.d.ts.map +0 -1
- package/dist/hooks/use-color-parser.js +0 -9
- package/dist/hooks/use-components-provider.d.ts +0 -15
- package/dist/hooks/use-components-provider.d.ts.map +0 -1
- package/dist/hooks/use-components-provider.jsx +0 -22
- package/dist/hooks/use-debounce.d.ts +0 -5
- package/dist/hooks/use-debounce.d.ts.map +0 -1
- package/dist/hooks/use-debounce.js +0 -12
- package/dist/hooks/use-floating-ref.d.ts +0 -2
- package/dist/hooks/use-floating-ref.d.ts.map +0 -1
- package/dist/hooks/use-floating-ref.js +0 -6
- package/dist/hooks/use-form.d.ts +0 -394
- package/dist/hooks/use-form.d.ts.map +0 -1
- package/dist/hooks/use-form.js +0 -563
- package/dist/hooks/use-hover.d.ts +0 -3
- package/dist/hooks/use-hover.d.ts.map +0 -1
- package/dist/hooks/use-hover.js +0 -18
- package/dist/hooks/use-input-id.d.ts +0 -4
- package/dist/hooks/use-input-id.d.ts.map +0 -1
- package/dist/hooks/use-input-id.js +0 -5
- package/dist/hooks/use-is-coarse-device.d.ts +0 -2
- package/dist/hooks/use-is-coarse-device.d.ts.map +0 -1
- package/dist/hooks/use-is-coarse-device.js +0 -12
- package/dist/hooks/use-locale.d.ts +0 -3
- package/dist/hooks/use-locale.d.ts.map +0 -1
- package/dist/hooks/use-locale.js +0 -10
- package/dist/hooks/use-media-query.d.ts +0 -2
- package/dist/hooks/use-media-query.d.ts.map +0 -1
- package/dist/hooks/use-media-query.js +0 -25
- package/dist/hooks/use-on-event.d.ts +0 -4
- package/dist/hooks/use-on-event.d.ts.map +0 -1
- package/dist/hooks/use-on-event.js +0 -7
- package/dist/hooks/use-parent.d.ts +0 -3
- package/dist/hooks/use-parent.d.ts.map +0 -1
- package/dist/hooks/use-parent.js +0 -21
- package/dist/hooks/use-preferences.d.ts +0 -2
- package/dist/hooks/use-preferences.d.ts.map +0 -1
- package/dist/hooks/use-preferences.js +0 -23
- package/dist/hooks/use-previous.d.ts +0 -2
- package/dist/hooks/use-previous.d.ts.map +0 -1
- package/dist/hooks/use-previous.js +0 -9
- package/dist/hooks/use-reactive.d.ts +0 -2
- package/dist/hooks/use-reactive.d.ts.map +0 -1
- package/dist/hooks/use-reactive.js +0 -9
- package/dist/hooks/use-remove-scroll.d.ts +0 -4
- package/dist/hooks/use-remove-scroll.d.ts.map +0 -1
- package/dist/hooks/use-remove-scroll.js +0 -48
- package/dist/hooks/use-resize-observer.d.ts +0 -2
- package/dist/hooks/use-resize-observer.d.ts.map +0 -1
- package/dist/hooks/use-resize-observer.js +0 -17
- package/dist/hooks/use-stable-ref.d.ts +0 -2
- package/dist/hooks/use-stable-ref.d.ts.map +0 -1
- package/dist/hooks/use-stable-ref.js +0 -9
- package/dist/hooks/use-swipe.d.ts +0 -8
- package/dist/hooks/use-swipe.d.ts.map +0 -1
- package/dist/hooks/use-swipe.js +0 -17
- package/dist/hooks/use-translations.d.ts +0 -92
- package/dist/hooks/use-translations.d.ts.map +0 -1
- package/dist/hooks/use-translations.js +0 -9
- package/dist/hooks/use-tweaks.d.ts +0 -3
- package/dist/hooks/use-tweaks.d.ts.map +0 -1
- package/dist/hooks/use-tweaks.js +0 -9
- package/dist/hooks/use-window-size.d.ts +0 -5
- package/dist/hooks/use-window-size.d.ts.map +0 -1
- package/dist/hooks/use-window-size.js +0 -14
- package/dist/index-0YMC-_Lt.js +0 -20
- package/dist/index-0YMC-_Lt.js.map +0 -1
- package/dist/index-BJ1ayTam.js +0 -126
- package/dist/index-BJ1ayTam.js.map +0 -1
- package/dist/index-C-PuFUZi.js +0 -3416
- package/dist/index-C-PuFUZi.js.map +0 -1
- package/dist/index-DDeQW0JW.js +0 -1816
- package/dist/index-DDeQW0JW.js.map +0 -1
- package/dist/index-DE4shK8D.js +0 -215
- package/dist/index-DE4shK8D.js.map +0 -1
- package/dist/index-DlJ_2RBL.js +0 -35
- package/dist/index-DlJ_2RBL.js.map +0 -1
- package/dist/index-t1qLJTt5.js +0 -351
- package/dist/index-t1qLJTt5.js.map +0 -1
- package/dist/index.d.ts +0 -22
- package/dist/index.d.ts.map +0 -1
- package/dist/index.esm-BaIwleSE.js +0 -343
- package/dist/index.esm-BaIwleSE.js.map +0 -1
- package/dist/input-_MVxmIpu.js +0 -443
- package/dist/input-_MVxmIpu.js.map +0 -1
- package/dist/input-field-CDCOODOl.js +0 -182
- package/dist/input-field-CDCOODOl.js.map +0 -1
- package/dist/lib/combi-keys.d.ts +0 -15
- package/dist/lib/combi-keys.d.ts.map +0 -1
- package/dist/lib/combi-keys.js +0 -60
- package/dist/lib/dict.d.ts +0 -9
- package/dist/lib/dict.d.ts.map +0 -1
- package/dist/lib/dict.js +0 -28
- package/dist/lib/dom.d.ts +0 -20
- package/dist/lib/dom.d.ts.map +0 -1
- package/dist/lib/dom.js +0 -66
- package/dist/lib/fns.d.ts +0 -11
- package/dist/lib/fns.d.ts.map +0 -1
- package/dist/lib/fns.js +0 -46
- package/dist/lib/fzf.d.ts +0 -16
- package/dist/lib/fzf.d.ts.map +0 -1
- package/dist/lib/fzf.js +0 -115
- package/dist/lib/keyboard-area.d.ts +0 -16
- package/dist/lib/keyboard-area.d.ts.map +0 -1
- package/dist/lib/keyboard-area.js +0 -14
- package/dist/notifications-Dp0ydKJS.js +0 -2576
- package/dist/notifications-Dp0ydKJS.js.map +0 -1
- package/dist/polymorph-B5n9fs_K.js +0 -10
- package/dist/polymorph-B5n9fs_K.js.map +0 -1
- package/dist/proxy-BZcQiBrp.js +0 -2495
- package/dist/proxy-BZcQiBrp.js.map +0 -1
- package/dist/skeleton-BjJobYYf.js +0 -24
- package/dist/skeleton-BjJobYYf.js.map +0 -1
- package/dist/slot-CRyweuj0.js +0 -79
- package/dist/slot-CRyweuj0.js.map +0 -1
- package/dist/tabs-B0g7YtQv.js +0 -123
- package/dist/tabs-B0g7YtQv.js.map +0 -1
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
- package/dist/types.d.ts +0 -26
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -1
- package/dist/use-motion-value-eGwNuWuw.js +0 -14
- package/dist/use-motion-value-eGwNuWuw.js.map +0 -1
- package/dist/use-stable-ref-CYh-YkID.js +0 -11
- package/dist/use-stable-ref-CYh-YkID.js.map +0 -1
- package/dist/use-translations-DSltA7H_.js +0 -169
- package/dist/use-translations-DSltA7H_.js.map +0 -1
package/dist/index-DE4shK8D.js
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import D from "react";
|
|
2
|
-
var V = { exports: {} }, w = {}, A = { exports: {} }, b = {};
|
|
3
|
-
var I;
|
|
4
|
-
function W() {
|
|
5
|
-
if (I) return b;
|
|
6
|
-
I = 1;
|
|
7
|
-
var c = D;
|
|
8
|
-
function d(n, u) {
|
|
9
|
-
return n === u && (n !== 0 || 1 / n === 1 / u) || n !== n && u !== u;
|
|
10
|
-
}
|
|
11
|
-
var v = typeof Object.is == "function" ? Object.is : d, L = c.useState, l = c.useEffect, m = c.useLayoutEffect, h = c.useDebugValue;
|
|
12
|
-
function y(n, u) {
|
|
13
|
-
var e = u(), r = L({ inst: { value: e, getSnapshot: u } }), t = r[0].inst, a = r[1];
|
|
14
|
-
return m(
|
|
15
|
-
function() {
|
|
16
|
-
t.value = e, t.getSnapshot = u, O(t) && a({ inst: t });
|
|
17
|
-
},
|
|
18
|
-
[n, e, u]
|
|
19
|
-
), l(
|
|
20
|
-
function() {
|
|
21
|
-
return O(t) && a({ inst: t }), n(function() {
|
|
22
|
-
O(t) && a({ inst: t });
|
|
23
|
-
});
|
|
24
|
-
},
|
|
25
|
-
[n]
|
|
26
|
-
), h(e), e;
|
|
27
|
-
}
|
|
28
|
-
function O(n) {
|
|
29
|
-
var u = n.getSnapshot;
|
|
30
|
-
n = n.value;
|
|
31
|
-
try {
|
|
32
|
-
var e = u();
|
|
33
|
-
return !v(n, e);
|
|
34
|
-
} catch {
|
|
35
|
-
return !0;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
function i(n, u) {
|
|
39
|
-
return u();
|
|
40
|
-
}
|
|
41
|
-
var o = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : y;
|
|
42
|
-
return b.useSyncExternalStore = c.useSyncExternalStore !== void 0 ? c.useSyncExternalStore : o, b;
|
|
43
|
-
}
|
|
44
|
-
var G = {};
|
|
45
|
-
var M;
|
|
46
|
-
function N() {
|
|
47
|
-
return M || (M = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
48
|
-
function c(e, r) {
|
|
49
|
-
return e === r && (e !== 0 || 1 / e === 1 / r) || e !== e && r !== r;
|
|
50
|
-
}
|
|
51
|
-
function d(e, r) {
|
|
52
|
-
o || l.startTransition === void 0 || (o = !0, console.error(
|
|
53
|
-
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
54
|
-
));
|
|
55
|
-
var t = r();
|
|
56
|
-
if (!n) {
|
|
57
|
-
var a = r();
|
|
58
|
-
m(t, a) || (console.error(
|
|
59
|
-
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
60
|
-
), n = !0);
|
|
61
|
-
}
|
|
62
|
-
a = h({
|
|
63
|
-
inst: { value: t, getSnapshot: r }
|
|
64
|
-
});
|
|
65
|
-
var s = a[0].inst, S = a[1];
|
|
66
|
-
return O(
|
|
67
|
-
function() {
|
|
68
|
-
s.value = t, s.getSnapshot = r, v(s) && S({ inst: s });
|
|
69
|
-
},
|
|
70
|
-
[e, t, r]
|
|
71
|
-
), y(
|
|
72
|
-
function() {
|
|
73
|
-
return v(s) && S({ inst: s }), e(function() {
|
|
74
|
-
v(s) && S({ inst: s });
|
|
75
|
-
});
|
|
76
|
-
},
|
|
77
|
-
[e]
|
|
78
|
-
), i(t), t;
|
|
79
|
-
}
|
|
80
|
-
function v(e) {
|
|
81
|
-
var r = e.getSnapshot;
|
|
82
|
-
e = e.value;
|
|
83
|
-
try {
|
|
84
|
-
var t = r();
|
|
85
|
-
return !m(e, t);
|
|
86
|
-
} catch {
|
|
87
|
-
return !0;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
function L(e, r) {
|
|
91
|
-
return r();
|
|
92
|
-
}
|
|
93
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
94
|
-
var l = D, m = typeof Object.is == "function" ? Object.is : c, h = l.useState, y = l.useEffect, O = l.useLayoutEffect, i = l.useDebugValue, o = !1, n = !1, u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? L : d;
|
|
95
|
-
G.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
96
|
-
})()), G;
|
|
97
|
-
}
|
|
98
|
-
var j;
|
|
99
|
-
function C() {
|
|
100
|
-
return j || (j = 1, process.env.NODE_ENV === "production" ? A.exports = W() : A.exports = N()), A.exports;
|
|
101
|
-
}
|
|
102
|
-
var B;
|
|
103
|
-
function U() {
|
|
104
|
-
if (B) return w;
|
|
105
|
-
B = 1;
|
|
106
|
-
var c = D, d = C();
|
|
107
|
-
function v(i, o) {
|
|
108
|
-
return i === o && (i !== 0 || 1 / i === 1 / o) || i !== i && o !== o;
|
|
109
|
-
}
|
|
110
|
-
var L = typeof Object.is == "function" ? Object.is : v, l = d.useSyncExternalStore, m = c.useRef, h = c.useEffect, y = c.useMemo, O = c.useDebugValue;
|
|
111
|
-
return w.useSyncExternalStoreWithSelector = function(i, o, n, u, e) {
|
|
112
|
-
var r = m(null);
|
|
113
|
-
if (r.current === null) {
|
|
114
|
-
var t = { hasValue: !1, value: null };
|
|
115
|
-
r.current = t;
|
|
116
|
-
} else t = r.current;
|
|
117
|
-
r = y(
|
|
118
|
-
function() {
|
|
119
|
-
function s(f) {
|
|
120
|
-
if (!S) {
|
|
121
|
-
if (S = !0, E = f, f = u(f), e !== void 0 && t.hasValue) {
|
|
122
|
-
var _ = t.value;
|
|
123
|
-
if (e(_, f))
|
|
124
|
-
return p = _;
|
|
125
|
-
}
|
|
126
|
-
return p = f;
|
|
127
|
-
}
|
|
128
|
-
if (_ = p, L(E, f)) return _;
|
|
129
|
-
var T = u(f);
|
|
130
|
-
return e !== void 0 && e(_, T) ? (E = f, _) : (E = f, p = T);
|
|
131
|
-
}
|
|
132
|
-
var S = !1, E, p, R = n === void 0 ? null : n;
|
|
133
|
-
return [
|
|
134
|
-
function() {
|
|
135
|
-
return s(o());
|
|
136
|
-
},
|
|
137
|
-
R === null ? void 0 : function() {
|
|
138
|
-
return s(R());
|
|
139
|
-
}
|
|
140
|
-
];
|
|
141
|
-
},
|
|
142
|
-
[o, n, u, e]
|
|
143
|
-
);
|
|
144
|
-
var a = l(i, r[0], r[1]);
|
|
145
|
-
return h(
|
|
146
|
-
function() {
|
|
147
|
-
t.hasValue = !0, t.value = a;
|
|
148
|
-
},
|
|
149
|
-
[a]
|
|
150
|
-
), O(a), a;
|
|
151
|
-
}, w;
|
|
152
|
-
}
|
|
153
|
-
var g = {};
|
|
154
|
-
var H;
|
|
155
|
-
function x() {
|
|
156
|
-
return H || (H = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
157
|
-
function c(i, o) {
|
|
158
|
-
return i === o && (i !== 0 || 1 / i === 1 / o) || i !== i && o !== o;
|
|
159
|
-
}
|
|
160
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
161
|
-
var d = D, v = C(), L = typeof Object.is == "function" ? Object.is : c, l = v.useSyncExternalStore, m = d.useRef, h = d.useEffect, y = d.useMemo, O = d.useDebugValue;
|
|
162
|
-
g.useSyncExternalStoreWithSelector = function(i, o, n, u, e) {
|
|
163
|
-
var r = m(null);
|
|
164
|
-
if (r.current === null) {
|
|
165
|
-
var t = { hasValue: !1, value: null };
|
|
166
|
-
r.current = t;
|
|
167
|
-
} else t = r.current;
|
|
168
|
-
r = y(
|
|
169
|
-
function() {
|
|
170
|
-
function s(f) {
|
|
171
|
-
if (!S) {
|
|
172
|
-
if (S = !0, E = f, f = u(f), e !== void 0 && t.hasValue) {
|
|
173
|
-
var _ = t.value;
|
|
174
|
-
if (e(_, f))
|
|
175
|
-
return p = _;
|
|
176
|
-
}
|
|
177
|
-
return p = f;
|
|
178
|
-
}
|
|
179
|
-
if (_ = p, L(E, f))
|
|
180
|
-
return _;
|
|
181
|
-
var T = u(f);
|
|
182
|
-
return e !== void 0 && e(_, T) ? (E = f, _) : (E = f, p = T);
|
|
183
|
-
}
|
|
184
|
-
var S = !1, E, p, R = n === void 0 ? null : n;
|
|
185
|
-
return [
|
|
186
|
-
function() {
|
|
187
|
-
return s(o());
|
|
188
|
-
},
|
|
189
|
-
R === null ? void 0 : function() {
|
|
190
|
-
return s(R());
|
|
191
|
-
}
|
|
192
|
-
];
|
|
193
|
-
},
|
|
194
|
-
[o, n, u, e]
|
|
195
|
-
);
|
|
196
|
-
var a = l(i, r[0], r[1]);
|
|
197
|
-
return h(
|
|
198
|
-
function() {
|
|
199
|
-
t.hasValue = !0, t.value = a;
|
|
200
|
-
},
|
|
201
|
-
[a]
|
|
202
|
-
), O(a), a;
|
|
203
|
-
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
204
|
-
})()), g;
|
|
205
|
-
}
|
|
206
|
-
var K;
|
|
207
|
-
function z() {
|
|
208
|
-
return K || (K = 1, process.env.NODE_ENV === "production" ? V.exports = U() : V.exports = x()), V.exports;
|
|
209
|
-
}
|
|
210
|
-
var $ = z(), k = C();
|
|
211
|
-
export {
|
|
212
|
-
k as s,
|
|
213
|
-
$ as w
|
|
214
|
-
};
|
|
215
|
-
//# sourceMappingURL=index-DE4shK8D.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-DE4shK8D.js","sources":["../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js","../../../node_modules/use-sync-external-store/shim/index.js","../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js","../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js","../../../node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.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 = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n","/**\n * @license React\n * use-sync-external-store-shim.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 is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n","/**\n * @license React\n * use-sync-external-store-shim/with-selector.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 = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n};\n","/**\n * @license React\n * use-sync-external-store-shim/with-selector.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 is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\n exports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n ) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot))\n return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"names":["React","require$$0","is","x","y","objectIs","useState","useEffect","useLayoutEffect","useDebugValue","useSyncExternalStore$2","subscribe","getSnapshot","value","_useState","inst","forceUpdate","checkIfSnapshotChanged","latestGetSnapshot","nextValue","useSyncExternalStore$1","shim","useSyncExternalStoreShim_production","didWarnOld18Alpha","didWarnUncachedGetSnapshot","cachedValue","useSyncExternalStoreShim_development","shimModule","require$$1","useSyncExternalStore","useRef","useMemo","withSelector_production","getServerSnapshot","selector","isEqual","instRef","memoizedSelector","nextSnapshot","hasMemo","memoizedSnapshot","currentSelection","memoizedSelection","nextSelection","maybeGetServerSnapshot","withSelector_development","withSelectorModule"],"mappings":";;;;;;AAWA,MAAIA,IAAQC;AACZ,WAASC,EAAGC,GAAGC,GAAG;AAChB,WAAQD,MAAMC,MAAYD,MAAN,KAAW,IAAIA,MAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;AAAA,EACxE;AACA,MAAIC,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAKH,GAC3DI,IAAWN,EAAM,UACjBO,IAAYP,EAAM,WAClBQ,IAAkBR,EAAM,iBACxBS,IAAgBT,EAAM;AACxB,WAAS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UC,CAAO;AAAA;AAEpD,UAAItB,IAAQgB,EAAqBlB,GAAWyB,EAAQ,CAAC,GAAGA,EAAQ,CAAC,CAAC;AAClE,aAAA7B;AAAA,QACE,WAAY;AACV,UAAAQ,EAAK,WAAW,IAChBA,EAAK,QAAQF;AAAA;QAEf,CAACA,CAAK;AAAA,SAERJ,EAAcI,CAAK,GACZA;AAAA,OAEO,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,8BADxC,cAEA,+BAA+B,2BAA2B,OAAO;AAAA,EACvE,GAAG;;;;sBC9FC,QAAQ,IAAI,aAAa,eAC3BiC,EAAA,UAAiB7C,EAAA,IAEjB6C,EAAA,UAAiBlB,EAAA;;;","x_google_ignoreList":[0,1,2,3,4,5]}
|
package/dist/index-DlJ_2RBL.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { l as O } from "./dom-CyQHY7ID.js";
|
|
2
|
-
const m = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = O, j = (e, l) => (n) => {
|
|
3
|
-
var u;
|
|
4
|
-
if (l?.variants == null) return y(e, n?.class, n?.className);
|
|
5
|
-
const { variants: r, defaultVariants: d } = l, V = Object.keys(r).map((t) => {
|
|
6
|
-
const a = n?.[t], s = d?.[t];
|
|
7
|
-
if (a === null) return null;
|
|
8
|
-
const i = m(a) || m(s);
|
|
9
|
-
return r[t][i];
|
|
10
|
-
}), v = n && Object.entries(n).reduce((t, a) => {
|
|
11
|
-
let [s, i] = a;
|
|
12
|
-
return i === void 0 || (t[s] = i), t;
|
|
13
|
-
}, {}), N = l == null || (u = l.compoundVariants) === null || u === void 0 ? void 0 : u.reduce((t, a) => {
|
|
14
|
-
let { class: s, className: i, ...f } = a;
|
|
15
|
-
return Object.entries(f).every((C) => {
|
|
16
|
-
let [c, o] = C;
|
|
17
|
-
return Array.isArray(o) ? o.includes({
|
|
18
|
-
...d,
|
|
19
|
-
...v
|
|
20
|
-
}[c]) : {
|
|
21
|
-
...d,
|
|
22
|
-
...v
|
|
23
|
-
}[c] === o;
|
|
24
|
-
}) ? [
|
|
25
|
-
...t,
|
|
26
|
-
s,
|
|
27
|
-
i
|
|
28
|
-
] : t;
|
|
29
|
-
}, []);
|
|
30
|
-
return y(e, V, N, n?.class, n?.className);
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
j as c
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=index-DlJ_2RBL.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-DlJ_2RBL.js","sources":["../../../node_modules/class-variance-authority/dist/index.mjs"],"sourcesContent":["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n"],"names":["falsyToString","value","cx","clsx","cva","base","config","props","_config_compoundVariants","variants","defaultVariants","getVariantClassNames","variant","variantProp","defaultVariantProp","variantKey","propsWithoutUndefined","acc","param","key","getCompoundVariantClassNames","cvClass","cvClassName","compoundVariantOptions"],"mappings":";AAeA,MAAMA,IAAgB,CAACC,MAAQ,OAAOA,KAAU,YAAY,GAAGA,CAAK,KAAKA,MAAU,IAAI,MAAMA,GAChFC,IAAKC,GACLC,IAAM,CAACC,GAAMC,MAAS,CAACC,MAAQ;AACpC,MAAIC;AACJ,MAAqDF,GAAO,YAAa,KAAM,QAAOJ,EAAGG,GAAoDE,GAAM,OAAqDA,GAAM,SAAS;AACvN,QAAM,EAAE,UAAAE,GAAU,iBAAAC,EAAe,IAAKJ,GAChCK,IAAuB,OAAO,KAAKF,CAAQ,EAAE,IAAI,CAACG,MAAU;AAC9D,UAAMC,IAA4DN,IAAMK,CAAO,GACzEE,IAAuFJ,IAAgBE,CAAO;AACpH,QAAIC,MAAgB,KAAM,QAAO;AACjC,UAAME,IAAaf,EAAca,CAAW,KAAKb,EAAcc,CAAkB;AACjF,WAAOL,EAASG,CAAO,EAAEG,CAAU;AAAA,EAC/C,CAAS,GACKC,IAAwBT,KAAS,OAAO,QAAQA,CAAK,EAAE,OAAO,CAACU,GAAKC,MAAQ;AAC9E,QAAI,CAACC,GAAKlB,CAAK,IAAIiB;AACnB,WAAIjB,MAAU,WAGdgB,EAAIE,CAAG,IAAIlB,IACJgB;AAAA,EACnB,GAAW,EAAE,GACCG,IAA+Bd,KAAW,SAAsCE,IAA2BF,EAAO,sBAAsB,QAAQE,MAA6B,SAAvG,SAAyHA,EAAyB,OAAO,CAACS,GAAKC,MAAQ;AAC/O,QAAI,EAAE,OAAOG,GAAS,WAAWC,GAAa,GAAGC,EAAsB,IAAKL;AAC5E,WAAO,OAAO,QAAQK,CAAsB,EAAE,MAAM,CAACL,MAAQ;AACzD,UAAI,CAACC,GAAKlB,CAAK,IAAIiB;AACnB,aAAO,MAAM,QAAQjB,CAAK,IAAIA,EAAM,SAAS;AAAA,QACzC,GAAGS;AAAA,QACH,GAAGM;AAAA,MACvB,EAAkBG,CAAG,CAAC,IAAK;AAAA,QACP,GAAGT;AAAA,QACH,GAAGM;AAAA,MACvB,EAAmBG,CAAG,MAAMlB;AAAA,IAC5B,CAAa,IAAI;AAAA,MACD,GAAGgB;AAAA,MACHI;AAAA,MACAC;AAAA,IAChB,IAAgBL;AAAA,EAChB,GAAW,EAAE;AACL,SAAOf,EAAGG,GAAMM,GAAsBS,GAA4Eb,GAAM,OAAqDA,GAAM,SAAS;AACpM;","x_google_ignoreList":[0]}
|
package/dist/index-t1qLJTt5.js
DELETED
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
import { a as nt, V as it, c as st, r as at, m as rt, b as Q, d as U, f as ot, g as lt, j as ut, k as ct, s as ft, l as Y, n as mt, o as ht, q as pt, S as gt, H as dt, v as j, t as yt, x as At, y as St, z as Et } from "./MotionConfigContext-C7MqlSdv.js";
|
|
2
|
-
const vt = (e, t, n) => {
|
|
3
|
-
const i = t - e;
|
|
4
|
-
return ((n - e) % i + i) % i + e;
|
|
5
|
-
};
|
|
6
|
-
function Z(e, t) {
|
|
7
|
-
return nt(e) ? e[vt(0, e.length, t)] : e;
|
|
8
|
-
}
|
|
9
|
-
class Vt {
|
|
10
|
-
constructor(t) {
|
|
11
|
-
this.stop = () => this.runAll("stop"), this.animations = t.filter(Boolean);
|
|
12
|
-
}
|
|
13
|
-
get finished() {
|
|
14
|
-
return Promise.all(this.animations.map((t) => t.finished));
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* TODO: Filter out cancelled or stopped animations before returning
|
|
18
|
-
*/
|
|
19
|
-
getAll(t) {
|
|
20
|
-
return this.animations[0][t];
|
|
21
|
-
}
|
|
22
|
-
setAll(t, n) {
|
|
23
|
-
for (let i = 0; i < this.animations.length; i++)
|
|
24
|
-
this.animations[i][t] = n;
|
|
25
|
-
}
|
|
26
|
-
attachTimeline(t) {
|
|
27
|
-
const n = this.animations.map((i) => i.attachTimeline(t));
|
|
28
|
-
return () => {
|
|
29
|
-
n.forEach((i, a) => {
|
|
30
|
-
i && i(), this.animations[a].stop();
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
get time() {
|
|
35
|
-
return this.getAll("time");
|
|
36
|
-
}
|
|
37
|
-
set time(t) {
|
|
38
|
-
this.setAll("time", t);
|
|
39
|
-
}
|
|
40
|
-
get speed() {
|
|
41
|
-
return this.getAll("speed");
|
|
42
|
-
}
|
|
43
|
-
set speed(t) {
|
|
44
|
-
this.setAll("speed", t);
|
|
45
|
-
}
|
|
46
|
-
get state() {
|
|
47
|
-
return this.getAll("state");
|
|
48
|
-
}
|
|
49
|
-
get startTime() {
|
|
50
|
-
return this.getAll("startTime");
|
|
51
|
-
}
|
|
52
|
-
get duration() {
|
|
53
|
-
return k(this.animations, "duration");
|
|
54
|
-
}
|
|
55
|
-
get iterationDuration() {
|
|
56
|
-
return k(this.animations, "iterationDuration");
|
|
57
|
-
}
|
|
58
|
-
runAll(t) {
|
|
59
|
-
this.animations.forEach((n) => n[t]());
|
|
60
|
-
}
|
|
61
|
-
play() {
|
|
62
|
-
this.runAll("play");
|
|
63
|
-
}
|
|
64
|
-
pause() {
|
|
65
|
-
this.runAll("pause");
|
|
66
|
-
}
|
|
67
|
-
cancel() {
|
|
68
|
-
this.runAll("cancel");
|
|
69
|
-
}
|
|
70
|
-
complete() {
|
|
71
|
-
this.runAll("complete");
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
function k(e, t) {
|
|
75
|
-
let n = 0;
|
|
76
|
-
for (let i = 0; i < e.length; i++) {
|
|
77
|
-
const a = e[i][t];
|
|
78
|
-
a !== null && a > n && (n = a);
|
|
79
|
-
}
|
|
80
|
-
return n;
|
|
81
|
-
}
|
|
82
|
-
class bt extends Vt {
|
|
83
|
-
then(t, n) {
|
|
84
|
-
return this.finished.finally(t).then(() => {
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
function Dt(e, t) {
|
|
89
|
-
return e in t;
|
|
90
|
-
}
|
|
91
|
-
class Mt extends it {
|
|
92
|
-
constructor() {
|
|
93
|
-
super(...arguments), this.type = "object";
|
|
94
|
-
}
|
|
95
|
-
readValueFromInstance(t, n) {
|
|
96
|
-
if (Dt(n, t)) {
|
|
97
|
-
const i = t[n];
|
|
98
|
-
if (typeof i == "string" || typeof i == "number")
|
|
99
|
-
return i;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
getBaseTargetFromProps() {
|
|
103
|
-
}
|
|
104
|
-
removeValueFromRenderState(t, n) {
|
|
105
|
-
delete n.output[t];
|
|
106
|
-
}
|
|
107
|
-
measureInstanceViewportBox() {
|
|
108
|
-
return st();
|
|
109
|
-
}
|
|
110
|
-
build(t, n) {
|
|
111
|
-
Object.assign(t.output, n);
|
|
112
|
-
}
|
|
113
|
-
renderInstance(t, { output: n }) {
|
|
114
|
-
Object.assign(t, n);
|
|
115
|
-
}
|
|
116
|
-
sortInstanceNodePosition() {
|
|
117
|
-
return 0;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
function L(e) {
|
|
121
|
-
return typeof e == "object" && !Array.isArray(e);
|
|
122
|
-
}
|
|
123
|
-
function $(e, t, n, i) {
|
|
124
|
-
return e == null ? [] : typeof e == "string" && L(t) ? at(e, n, i) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((a) => a != null) : [e];
|
|
125
|
-
}
|
|
126
|
-
function Tt(e, t, n) {
|
|
127
|
-
return e * (t + 1);
|
|
128
|
-
}
|
|
129
|
-
function q(e, t, n, i) {
|
|
130
|
-
return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : i.get(t) ?? e;
|
|
131
|
-
}
|
|
132
|
-
function xt(e, t, n) {
|
|
133
|
-
for (let i = 0; i < e.length; i++) {
|
|
134
|
-
const a = e[i];
|
|
135
|
-
a.at > t && a.at < n && (Q(e, a), i--);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
function Ot(e, t, n, i, a, c) {
|
|
139
|
-
xt(e, a, c);
|
|
140
|
-
for (let s = 0; s < t.length; s++)
|
|
141
|
-
e.push({
|
|
142
|
-
value: t[s],
|
|
143
|
-
at: rt(a, c, i[s]),
|
|
144
|
-
easing: Z(n, s)
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
function wt(e, t) {
|
|
148
|
-
for (let n = 0; n < e.length; n++)
|
|
149
|
-
e[n] = e[n] / (t + 1);
|
|
150
|
-
}
|
|
151
|
-
function Gt(e, t) {
|
|
152
|
-
return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
|
|
153
|
-
}
|
|
154
|
-
const It = "easeInOut", Ft = 20;
|
|
155
|
-
function Nt(e, { defaultTransition: t = {}, ...n } = {}, i, a) {
|
|
156
|
-
const c = t.duration || 0.3, s = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), r = {}, f = /* @__PURE__ */ new Map();
|
|
157
|
-
let S = 0, u = 0, N = 0;
|
|
158
|
-
for (let D = 0; D < e.length; D++) {
|
|
159
|
-
const p = e[D];
|
|
160
|
-
if (typeof p == "string") {
|
|
161
|
-
f.set(p, u);
|
|
162
|
-
continue;
|
|
163
|
-
} else if (!Array.isArray(p)) {
|
|
164
|
-
f.set(p.name, q(u, p.at, S, f));
|
|
165
|
-
continue;
|
|
166
|
-
}
|
|
167
|
-
let [V, g, m = {}] = p;
|
|
168
|
-
m.at !== void 0 && (u = q(u, m.at, S, f));
|
|
169
|
-
let h = 0;
|
|
170
|
-
const M = (d, T, E, b = 0, x = 0) => {
|
|
171
|
-
const o = Bt(d), { delay: O = 0, times: y = ot(o), type: C = t.type || "keyframes", repeat: w, repeatType: Ht, repeatDelay: kt = 0, ...et } = T;
|
|
172
|
-
let { ease: v = t.ease || "easeOut", duration: A } = T;
|
|
173
|
-
const R = typeof O == "function" ? O(b, x) : O, P = o.length, W = ct(C) ? C : a?.[C || "keyframes"];
|
|
174
|
-
if (P <= 2 && W) {
|
|
175
|
-
let G = 100;
|
|
176
|
-
if (P === 2 && Ct(o)) {
|
|
177
|
-
const I = o[1] - o[0];
|
|
178
|
-
G = Math.abs(I);
|
|
179
|
-
}
|
|
180
|
-
const B = {
|
|
181
|
-
...t,
|
|
182
|
-
...et
|
|
183
|
-
};
|
|
184
|
-
A !== void 0 && (B.duration = ft(A));
|
|
185
|
-
const K = lt(B, G, W);
|
|
186
|
-
v = K.ease, A = K.duration;
|
|
187
|
-
}
|
|
188
|
-
A ?? (A = c);
|
|
189
|
-
const _ = u + R;
|
|
190
|
-
y.length === 1 && y[0] === 0 && (y[1] = 1);
|
|
191
|
-
const z = y.length - o.length;
|
|
192
|
-
if (z > 0 && ut(y, z), o.length === 1 && o.unshift(null), w) {
|
|
193
|
-
Y(w < Ft, "Repeat count too high, must be less than 20", "repeat-count-high"), A = Tt(A, w);
|
|
194
|
-
const G = [...o], B = [...y];
|
|
195
|
-
v = Array.isArray(v) ? [...v] : [v];
|
|
196
|
-
const K = [...v];
|
|
197
|
-
for (let I = 0; I < w; I++) {
|
|
198
|
-
o.push(...G);
|
|
199
|
-
for (let F = 0; F < G.length; F++)
|
|
200
|
-
y.push(B[F] + (I + 1)), v.push(F === 0 ? "linear" : Z(K, F - 1));
|
|
201
|
-
}
|
|
202
|
-
wt(y, w);
|
|
203
|
-
}
|
|
204
|
-
const H = _ + A;
|
|
205
|
-
Ot(E, o, v, y, _, H), h = Math.max(R + A, h), N = Math.max(H, N);
|
|
206
|
-
};
|
|
207
|
-
if (U(V)) {
|
|
208
|
-
const d = X(V, l);
|
|
209
|
-
M(g, m, J("default", d));
|
|
210
|
-
} else {
|
|
211
|
-
const d = $(V, g, i, r), T = d.length;
|
|
212
|
-
for (let E = 0; E < T; E++) {
|
|
213
|
-
g = g, m = m;
|
|
214
|
-
const b = d[E], x = X(b, l);
|
|
215
|
-
for (const o in g)
|
|
216
|
-
M(g[o], Kt(m, o), J(o, x), E, T);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
S = u, u += h;
|
|
220
|
-
}
|
|
221
|
-
return l.forEach((D, p) => {
|
|
222
|
-
for (const V in D) {
|
|
223
|
-
const g = D[V];
|
|
224
|
-
g.sort(Gt);
|
|
225
|
-
const m = [], h = [], M = [];
|
|
226
|
-
for (let b = 0; b < g.length; b++) {
|
|
227
|
-
const { at: x, value: o, easing: O } = g[b];
|
|
228
|
-
m.push(o), h.push(mt(0, N, x)), M.push(O || "easeOut");
|
|
229
|
-
}
|
|
230
|
-
h[0] !== 0 && (h.unshift(0), m.unshift(m[0]), M.unshift(It)), h[h.length - 1] !== 1 && (h.push(1), m.push(null)), s.has(p) || s.set(p, {
|
|
231
|
-
keyframes: {},
|
|
232
|
-
transition: {}
|
|
233
|
-
});
|
|
234
|
-
const d = s.get(p);
|
|
235
|
-
d.keyframes[V] = m;
|
|
236
|
-
const { type: T, ...E } = t;
|
|
237
|
-
d.transition[V] = {
|
|
238
|
-
...E,
|
|
239
|
-
duration: N,
|
|
240
|
-
ease: M,
|
|
241
|
-
times: h,
|
|
242
|
-
...n
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
}), s;
|
|
246
|
-
}
|
|
247
|
-
function X(e, t) {
|
|
248
|
-
return !t.has(e) && t.set(e, {}), t.get(e);
|
|
249
|
-
}
|
|
250
|
-
function J(e, t) {
|
|
251
|
-
return t[e] || (t[e] = []), t[e];
|
|
252
|
-
}
|
|
253
|
-
function Bt(e) {
|
|
254
|
-
return Array.isArray(e) ? e : [e];
|
|
255
|
-
}
|
|
256
|
-
function Kt(e, t) {
|
|
257
|
-
return e && e[t] ? {
|
|
258
|
-
...e,
|
|
259
|
-
...e[t]
|
|
260
|
-
} : { ...e };
|
|
261
|
-
}
|
|
262
|
-
const jt = (e) => typeof e == "number", Ct = (e) => e.every(jt);
|
|
263
|
-
function Lt(e) {
|
|
264
|
-
const t = {
|
|
265
|
-
presenceContext: null,
|
|
266
|
-
props: {},
|
|
267
|
-
visualState: {
|
|
268
|
-
renderState: {
|
|
269
|
-
transform: {},
|
|
270
|
-
transformOrigin: {},
|
|
271
|
-
style: {},
|
|
272
|
-
vars: {},
|
|
273
|
-
attrs: {}
|
|
274
|
-
},
|
|
275
|
-
latestValues: {}
|
|
276
|
-
}
|
|
277
|
-
}, n = ht(e) && !pt(e) ? new gt(t) : new dt(t);
|
|
278
|
-
n.mount(e), j.set(e, n);
|
|
279
|
-
}
|
|
280
|
-
function Rt(e) {
|
|
281
|
-
const t = {
|
|
282
|
-
presenceContext: null,
|
|
283
|
-
props: {},
|
|
284
|
-
visualState: {
|
|
285
|
-
renderState: {
|
|
286
|
-
output: {}
|
|
287
|
-
},
|
|
288
|
-
latestValues: {}
|
|
289
|
-
}
|
|
290
|
-
}, n = new Mt(t);
|
|
291
|
-
n.mount(e), j.set(e, n);
|
|
292
|
-
}
|
|
293
|
-
function Pt(e, t) {
|
|
294
|
-
return U(e) || typeof e == "number" || typeof e == "string" && !L(t);
|
|
295
|
-
}
|
|
296
|
-
function tt(e, t, n, i) {
|
|
297
|
-
const a = [];
|
|
298
|
-
if (Pt(e, t))
|
|
299
|
-
a.push(yt(e, L(t) && t.default || t, n && (n.default || n)));
|
|
300
|
-
else {
|
|
301
|
-
if (e == null)
|
|
302
|
-
return a;
|
|
303
|
-
const c = $(e, t, i), s = c.length;
|
|
304
|
-
Y(!!s, "No valid elements provided.", "no-valid-elements");
|
|
305
|
-
for (let l = 0; l < s; l++) {
|
|
306
|
-
const r = c[l], f = r instanceof Element ? Lt : Rt;
|
|
307
|
-
j.has(r) || f(r);
|
|
308
|
-
const S = j.get(r), u = { ...n };
|
|
309
|
-
"delay" in u && typeof u.delay == "function" && (u.delay = u.delay(l, s)), a.push(...At(S, { ...t, transition: u }, {}));
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
return a;
|
|
313
|
-
}
|
|
314
|
-
function Wt(e, t, n) {
|
|
315
|
-
const i = [], a = e.map((s) => {
|
|
316
|
-
if (Array.isArray(s) && typeof s[0] == "function") {
|
|
317
|
-
const l = s[0], r = St(0);
|
|
318
|
-
return r.on("change", l), s.length === 1 ? [r, [0, 1]] : s.length === 2 ? [r, [0, 1], s[1]] : [r, s[1], s[2]];
|
|
319
|
-
}
|
|
320
|
-
return s;
|
|
321
|
-
});
|
|
322
|
-
return Nt(a, t, n, { spring: Et }).forEach(({ keyframes: s, transition: l }, r) => {
|
|
323
|
-
i.push(...tt(r, s, l));
|
|
324
|
-
}), i;
|
|
325
|
-
}
|
|
326
|
-
function _t(e) {
|
|
327
|
-
return Array.isArray(e) && e.some(Array.isArray);
|
|
328
|
-
}
|
|
329
|
-
function zt(e = {}) {
|
|
330
|
-
const { scope: t, reduceMotion: n } = e;
|
|
331
|
-
function i(a, c, s) {
|
|
332
|
-
let l = [], r;
|
|
333
|
-
if (_t(a))
|
|
334
|
-
l = Wt(a, n !== void 0 ? { reduceMotion: n, ...c } : c, t);
|
|
335
|
-
else {
|
|
336
|
-
const { onComplete: S, ...u } = s || {};
|
|
337
|
-
typeof S == "function" && (r = S), l = tt(a, c, n !== void 0 ? { reduceMotion: n, ...u } : u, t);
|
|
338
|
-
}
|
|
339
|
-
const f = new bt(l);
|
|
340
|
-
return r && f.finished.then(r), t && (t.animations.push(f), f.finished.then(() => {
|
|
341
|
-
Q(t.animations, f);
|
|
342
|
-
})), f;
|
|
343
|
-
}
|
|
344
|
-
return i;
|
|
345
|
-
}
|
|
346
|
-
const Xt = zt();
|
|
347
|
-
export {
|
|
348
|
-
Xt as a,
|
|
349
|
-
zt as c
|
|
350
|
-
};
|
|
351
|
-
//# sourceMappingURL=index-t1qLJTt5.js.map
|