@fluidattacks/design 8.1.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.js +8 -0
- package/dist/_virtual/_nodeUtil.js +4 -0
- package/dist/_virtual/capitalize.js +7 -0
- package/dist/_virtual/dayjs.min.js +8 -0
- package/dist/_virtual/dayjs.min2.js +4 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index.umd.js +7 -0
- package/dist/_virtual/index.umd2.js +4 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +7 -0
- package/dist/_virtual/index4.js +7 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +5 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index9.js +4 -0
- package/dist/_virtual/isBuffer.js +4 -0
- package/dist/_virtual/isEmpty.js +7 -0
- package/dist/_virtual/isEqual.js +7 -0
- package/dist/_virtual/isNaN.js +7 -0
- package/dist/_virtual/isNil.js +7 -0
- package/dist/_virtual/isNumber.js +7 -0
- package/dist/_virtual/isUndefined.js +7 -0
- package/dist/_virtual/localizedFormat.js +7 -0
- package/dist/_virtual/localizedFormat2.js +4 -0
- package/dist/_virtual/lodash.js +8 -0
- package/dist/_virtual/lodash2.js +4 -0
- package/dist/_virtual/lowerFirst.js +7 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/scrollparent.js +7 -0
- package/dist/_virtual/scrollparent2.js +4 -0
- package/dist/_virtual/snakeCase.js +7 -0
- package/dist/_virtual/some.js +7 -0
- package/dist/_virtual/transform.js +7 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
- package/dist/components/@core/constants.js +78 -0
- package/dist/components/@core/index.js +18 -15
- package/dist/components/@core/styles.js +43 -0
- package/dist/components/@core/utils.js +115 -0
- package/dist/components/@core/variants/utils.js +6 -0
- package/dist/components/accordion/accordion-content/index.js +23 -3
- package/dist/components/accordion/index.js +93 -5
- package/dist/components/advanced-badge/index.js +75 -4
- package/dist/components/advisories-card/index.js +149 -5
- package/dist/components/alert/index.js +91 -4
- package/dist/components/alert/styles.js +116 -0
- package/dist/components/avatar/index.js +80 -5
- package/dist/components/avatar/styles.js +86 -0
- package/dist/components/button/index.js +104 -4
- package/dist/components/button/styles.js +117 -0
- package/dist/components/card/card-header/index.js +92 -4
- package/dist/components/card/card-with-image/index.js +93 -5
- package/dist/components/card/card-with-input/index.js +142 -5
- package/dist/components/card/card-with-input/styles.js +29 -0
- package/dist/components/card/card-with-options/index.js +83 -5
- package/dist/components/card/card-with-selector/index.js +134 -4
- package/dist/components/card/card-with-selector/styles.js +34 -0
- package/dist/components/card/card-with-switch/index.js +46 -4
- package/dist/components/card/index.js +13 -7
- package/dist/components/card/indicator-card/index.js +73 -5
- package/dist/components/card-container/index.js +30 -4
- package/dist/components/carousel/index.js +43 -6
- package/dist/components/carousel/styles.js +39 -0
- package/dist/components/checkbox/index.js +68 -4
- package/dist/components/checkbox/styles.js +82 -0
- package/dist/components/circular-progress/index.js +94 -4
- package/dist/components/cloud-image/index.js +25 -6
- package/dist/components/code-snippet/constants.js +72 -0
- package/dist/components/code-snippet/index.js +176 -6
- package/dist/components/colors/index.js +210 -6
- package/dist/components/conditions-dialog/index.js +88 -6
- package/dist/components/confirm-dialog/index.js +40 -6
- package/dist/components/container/index.js +31 -4
- package/dist/components/container/styles.js +23 -0
- package/dist/components/copy-button/index.js +41 -4
- package/dist/components/divider/index.js +25 -4
- package/dist/components/drawer/index.js +229 -6
- package/dist/components/drawer/styles.js +64 -0
- package/dist/components/dropdown/index.js +77 -6
- package/dist/components/dropdown/styles.js +45 -0
- package/dist/components/empty-state/empty-button/index.js +13 -3
- package/dist/components/empty-state/index.js +60 -3
- package/dist/components/empty-state/styles.js +41 -0
- package/dist/components/fa-tag/index.js +30 -3
- package/dist/components/fa-tag/styles.js +53 -0
- package/dist/components/file-preview/index.js +16 -3
- package/dist/components/file-preview/styles.js +27 -0
- package/dist/components/file-preview/utils.js +10 -0
- package/dist/components/filters/active-filters/active-filter/index.js +59 -3
- package/dist/components/filters/active-filters/index.js +49 -3
- package/dist/components/filters/active-filters/utils.js +64 -0
- package/dist/components/filters/context/index.js +17 -3
- package/dist/components/filters/filters-menu/index.js +199 -6
- package/dist/components/filters/hooks.js +25 -0
- package/dist/components/filters/index.js +219 -7
- package/dist/components/filters/options-menu/include-exclude/index.js +135 -5
- package/dist/components/filters/options-menu/include-exclude/multi-select.js +151 -0
- package/dist/components/filters/options-menu/include-exclude/styles.js +119 -0
- package/dist/components/filters/options-menu/index.js +289 -6
- package/dist/components/filters/options-menu/options/index.js +360 -6
- package/dist/components/filters/options-menu/single-select/index.js +236 -6
- package/dist/components/filters/options-menu/single-select/styles.js +33 -0
- package/dist/components/filters/options-menu/utils.js +4 -0
- package/dist/components/filters/search/no-matches/index.js +51 -4
- package/dist/components/filters/styles.js +121 -0
- package/dist/components/filters/utils.js +36 -0
- package/dist/components/form/index.js +103 -11
- package/dist/components/form/inner-form/index.js +8 -3
- package/dist/components/form/styles.js +15 -0
- package/dist/components/grid-container/index.js +33 -4
- package/dist/components/grid-container/styles.js +26 -0
- package/dist/components/group-selector/index.js +143 -6
- package/dist/components/group-selector/option-container/index.js +30 -6
- package/dist/components/group-selector/styles.js +42 -0
- package/dist/components/icon/index.js +54 -4
- package/dist/components/icon/styles.js +60 -0
- package/dist/components/icon-button/index.js +58 -4
- package/dist/components/icon-button/styles.js +29 -0
- package/dist/components/indicator-card-db/index.js +71 -5
- package/dist/components/indicator-card-db/styles.js +22 -0
- package/dist/components/inputs/fields/combobox/field/index.js +431 -6
- package/dist/components/inputs/fields/combobox/index.js +94 -4
- package/dist/components/inputs/fields/combobox/option/index.js +121 -6
- package/dist/components/inputs/fields/combobox/styles.js +132 -0
- package/dist/components/inputs/fields/date/calendar/cell/index.js +25 -5
- package/dist/components/inputs/fields/date/calendar/grid/index.js +23 -4
- package/dist/components/inputs/fields/date/calendar/header/index.js +42 -5
- package/dist/components/inputs/fields/date/calendar/index.js +29 -4
- package/dist/components/inputs/fields/date/calendar/styles.js +144 -0
- package/dist/components/inputs/fields/date/index.js +87 -5
- package/dist/components/inputs/fields/date-range/calendar/index.js +34 -5
- package/dist/components/inputs/fields/date-range/index.js +137 -5
- package/dist/components/inputs/fields/date-range/styles.js +16 -0
- package/dist/components/inputs/fields/date-time/calendar/index.js +49 -5
- package/dist/components/inputs/fields/date-time/calendar/styles.js +21 -0
- package/dist/components/inputs/fields/date-time/index.js +107 -5
- package/dist/components/inputs/fields/editable/index.js +26 -4
- package/dist/components/inputs/fields/input-array/field/index.js +69 -4
- package/dist/components/inputs/fields/input-array/index.js +65 -5
- package/dist/components/inputs/fields/input-file/default/index.js +65 -4
- package/dist/components/inputs/fields/input-file/dropzone/index.js +218 -5
- package/dist/components/inputs/fields/input-file/index.js +124 -5
- package/dist/components/inputs/fields/input-file/styles.js +137 -0
- package/dist/components/inputs/fields/input-section/index.js +29 -3
- package/dist/components/inputs/fields/input-tags/field/index.js +117 -5
- package/dist/components/inputs/fields/input-tags/index.js +64 -4
- package/dist/components/inputs/fields/input-tags/styles.js +11 -0
- package/dist/components/inputs/fields/number/compact/index.js +38 -4
- package/dist/components/inputs/fields/number/index.js +83 -3
- package/dist/components/inputs/fields/number-range/index.js +57 -3
- package/dist/components/inputs/fields/phone/index.js +181 -7
- package/dist/components/inputs/fields/phone/styles.js +110 -0
- package/dist/components/inputs/fields/text-area/index.js +94 -4
- package/dist/components/inputs/fields/text-input/index.js +133 -5
- package/dist/components/inputs/index.js +31 -16
- package/dist/components/inputs/label/index.js +51 -5
- package/dist/components/inputs/outline-container/index.js +106 -4
- package/dist/components/inputs/styles.js +264 -0
- package/dist/components/inputs/utils/action-button/index.js +29 -4
- package/dist/components/inputs/utils/calendar-button/index.js +35 -5
- package/dist/components/inputs/utils/date-selector/index.js +85 -4
- package/dist/components/inputs/utils/date-time-field/index.js +133 -7
- package/dist/components/inputs/utils/dialog/index.js +12 -5
- package/dist/components/inputs/utils/number-field/index.js +190 -6
- package/dist/components/inputs/utils/popover/index.js +61 -6
- package/dist/components/inputs/utils/styles.js +113 -0
- package/dist/components/inputs/utils.js +44 -0
- package/dist/components/item-card-db/index.js +70 -4
- package/dist/components/item-card-db/styles.js +47 -0
- package/dist/components/language-switcher/index.js +92 -7
- package/dist/components/language-switcher/language-option/index.js +35 -5
- package/dist/components/language-switcher/spinner/index.js +15 -3
- package/dist/components/language-switcher/styles.js +121 -0
- package/dist/components/layout/categories/buttons/index.js +14 -4
- package/dist/components/layout/categories/column/index.js +23 -3
- package/dist/components/layout/categories/column/styles.js +32 -0
- package/dist/components/layout/categories/gap/index.js +3 -2
- package/dist/components/layout/categories/gap/styles.js +17 -0
- package/dist/components/layout/categories/row/index.js +19 -3
- package/dist/components/layout/categories/row/styles.js +30 -0
- package/dist/components/layout/index.js +9 -6
- package/dist/components/link/index.js +61 -3
- package/dist/components/link/styles.js +57 -0
- package/dist/components/list-item/index.js +69 -6
- package/dist/components/list-item/styles.js +64 -0
- package/dist/components/little-flag/index.js +17 -3
- package/dist/components/little-flag/styles.js +18 -0
- package/dist/components/loading/index.js +22 -4
- package/dist/components/loading/styles.js +71 -0
- package/dist/components/loading/types.js +4 -0
- package/dist/components/logo/index.js +11 -3
- package/dist/components/lottie/index.js +7 -3
- package/dist/components/lottie/styles.js +16 -0
- package/dist/components/menu/index.js +57 -5
- package/dist/components/message-banner/index.js +76 -5
- package/dist/components/message-banner/styles.js +23 -0
- package/dist/components/modal/columns-modal/index.js +146 -6
- package/dist/components/modal/columns-modal/preview-panel/index.js +100 -5
- package/dist/components/modal/columns-modal/preview-panel/styles.js +29 -0
- package/dist/components/modal/columns-modal/search-panel/index.js +127 -4
- package/dist/components/modal/columns-modal/search-panel/styles.js +22 -0
- package/dist/components/modal/footer/index.js +57 -5
- package/dist/components/modal/header/index.js +65 -6
- package/dist/components/modal/index.js +112 -10
- package/dist/components/modal/modal-confirm/index.js +50 -3
- package/dist/components/modal/styles.js +156 -0
- package/dist/components/modal/utils.js +13 -0
- package/dist/components/notification/index.js +63 -5
- package/dist/components/notification/styles.js +62 -0
- package/dist/components/notification/utils.js +4 -0
- package/dist/components/notification-sign/index.js +23 -4
- package/dist/components/notification-sign/styles.js +34 -0
- package/dist/components/oauth-selector/index.js +93 -6
- package/dist/components/oauth-selector/option-container/index.js +74 -4
- package/dist/components/option-card/index.js +83 -5
- package/dist/components/package-card/index.js +105 -6
- package/dist/components/paginator-db/btn/index.js +19 -3
- package/dist/components/paginator-db/btn/styles.js +39 -0
- package/dist/components/paginator-db/dropdown/index.js +112 -6
- package/dist/components/paginator-db/index.js +123 -5
- package/dist/components/paginator-db/styles.js +31 -0
- package/dist/components/paginator-db/utils.js +21 -0
- package/dist/components/pop-up/description/index.js +58 -5
- package/dist/components/pop-up/index.js +164 -7
- package/dist/components/premium-feature/index.js +53 -4
- package/dist/components/premium-feature/styles.js +36 -0
- package/dist/components/priority-cards/card/index.js +81 -5
- package/dist/components/priority-cards/card/styles.js +18 -0
- package/dist/components/priority-cards/index.js +50 -6
- package/dist/components/priority-score/index.js +28 -4
- package/dist/components/progress-bar/index.js +61 -3
- package/dist/components/progress-bar/styles.js +95 -0
- package/dist/components/progress-indicator/in-progress-icon/index.js +51 -3
- package/dist/components/progress-indicator/index.js +29 -5
- package/dist/components/progress-indicator/step/index.js +81 -4
- package/dist/components/progress-indicator/styles.js +36 -0
- package/dist/components/radio-button/index.js +44 -4
- package/dist/components/radio-button/styles.js +85 -0
- package/dist/components/rank-position/icon/index.js +51 -3
- package/dist/components/rank-position/index.js +40 -4
- package/dist/components/rules-card/index.js +166 -6
- package/dist/components/scroll-button/index.js +49 -5
- package/dist/components/scroll-button/styles.js +13 -0
- package/dist/components/search/index.js +113 -6
- package/dist/components/search-dropdown/index.js +102 -6
- package/dist/components/search-dropdown/styles.js +79 -0
- package/dist/components/segmented-control/index.js +35 -4
- package/dist/components/segmented-control/styles.js +51 -0
- package/dist/components/segmented-progress-bar/index.js +47 -4
- package/dist/components/segmented-progress-bar/styles.js +35 -0
- package/dist/components/severity-badge/index.js +46 -4
- package/dist/components/severity-badge/utils.js +31 -0
- package/dist/components/severity-indicator/index.js +47 -4
- package/dist/components/severity-indicator/styles.js +23 -0
- package/dist/components/severity-indicator/utils.js +12 -0
- package/dist/components/severity-overview/badge/index.js +44 -4
- package/dist/components/severity-overview/index.js +15 -3
- package/dist/components/severity-overview/utils.js +29 -0
- package/dist/components/show-on-hover/index.js +11 -3
- package/dist/components/show-on-hover/styles.js +23 -0
- package/dist/components/slide-out-menu/index.js +142 -6
- package/dist/components/slide-out-menu/menu-item/index.js +65 -4
- package/dist/components/slide-out-menu/styles.js +29 -0
- package/dist/components/slider/index.js +79 -7
- package/dist/components/slider/styles.js +83 -0
- package/dist/components/slider/thumb/index.js +17 -5
- package/dist/components/slider/utils.js +4 -0
- package/dist/components/step-lapse/index.js +71 -4
- package/dist/components/step-lapse/styles.js +93 -0
- package/dist/components/summary-card/index.js +69 -4
- package/dist/components/table/context/index.js +13 -3
- package/dist/components/table/export-csv/index.js +40 -5
- package/dist/components/table/export-csv/utils.js +32 -0
- package/dist/components/table/index.js +22 -2
- package/dist/components/table/pagination/pagination-control/index.js +41 -4
- package/dist/components/table/pagination/pagination-control/styles.js +32 -0
- package/dist/components/table/pagination/pagination-dropdown/index.js +124 -6
- package/dist/components/table/pagination/pagination-size/index.js +29 -4
- package/dist/components/table/sort-icon/index.js +28 -4
- package/dist/components/table/sort-icon/styles.js +30 -0
- package/dist/components/table/styles.js +260 -0
- package/dist/components/table/table-body/index.js +108 -6
- package/dist/components/table/table-body/styles.js +10 -0
- package/dist/components/table/table-column-toggle/index.js +57 -5
- package/dist/components/table/table-content/head/index.js +149 -7
- package/dist/components/table/table-content/index.js +55 -4
- package/dist/components/table/table-footer/footer-content/index.js +4 -2
- package/dist/components/table/table-footer/index.js +16 -3
- package/dist/components/table/table-options/caption-content/index.js +6 -3
- package/dist/components/table/table-options/controls-content/index.js +6 -3
- package/dist/components/table/table-options/highlighted-content/index.js +5 -3
- package/dist/components/table/table-options/index.js +45 -4
- package/dist/components/table/table-options/styles.js +89 -0
- package/dist/components/table/wrapper/index.js +61 -6
- package/dist/components/table-button/index.js +47 -4
- package/dist/components/table-button/styles.js +59 -0
- package/dist/components/table-content/index.js +64 -5
- package/dist/components/table-content/item-content/index.js +60 -4
- package/dist/components/table-content/styles.js +17 -0
- package/dist/components/table-of-contents/index.js +42 -4
- package/dist/components/table-of-contents/styles.js +77 -0
- package/dist/components/tabs/index.js +61 -4
- package/dist/components/tabs/styles.js +64 -0
- package/dist/components/tabs/tab/index.js +42 -4
- package/dist/components/tag/index.js +102 -4
- package/dist/components/tag/styles.js +172 -0
- package/dist/components/timeline/card/index.js +50 -4
- package/dist/components/timeline/index.js +14 -4
- package/dist/components/timeline/styles.js +101 -0
- package/dist/components/toggle/index.js +96 -4
- package/dist/components/toggle/styles.js +186 -0
- package/dist/components/tooltip/index.js +133 -7
- package/dist/components/tooltip/styles.js +58 -0
- package/dist/components/tour/index.js +75 -7
- package/dist/components/tree/index.js +156 -5
- package/dist/components/truncated-list/index.js +51 -4
- package/dist/components/typography/heading/index.js +51 -4
- package/dist/components/typography/index.js +6 -4
- package/dist/components/typography/span/index.js +45 -4
- package/dist/components/typography/styles.js +141 -0
- package/dist/components/typography/text/index.js +53 -4
- package/dist/components/weaknesses-card/index.js +167 -6
- package/dist/components/weaknesses-card/styles.js +33 -0
- package/dist/globals/design-tokens-css/index.js +1 -1
- package/dist/globals/designs-provider/index.js +3 -3
- package/dist/hooks/index.js +18 -9
- package/dist/hooks/use-active-section.js +52 -0
- package/dist/hooks/use-carousel.js +19 -0
- package/dist/hooks/use-click-outside.js +20 -0
- package/dist/hooks/use-cloudinary-image.js +16 -0
- package/dist/hooks/use-columns-modal.js +54 -0
- package/dist/hooks/use-debounced-callback.js +9 -0
- package/dist/hooks/use-filters.js +188 -0
- package/dist/hooks/use-local-storage.js +36 -0
- package/dist/hooks/use-modal.js +14 -0
- package/dist/hooks/use-mount-effect.js +8 -0
- package/dist/hooks/use-query-states.js +55 -0
- package/dist/hooks/use-search.js +11 -0
- package/dist/index.js +334 -190
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
- package/dist/node_modules/@cloudinary/react/dist/index.js +2385 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/background/actions/BackgroundColor.js +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryAction.js +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction.js +36 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/Action.js +59 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/RawAction.js +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/internalConstants.js +63 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ActionModel.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IErrorObject.js +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/QualifierModel.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/actionToJson.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/qualifierToJson.js +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/Qualifier.js +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/QualifierValue.js +42 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/dataStructureUtils.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/objectFlip.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/prepareColor.js +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/unsupportedError.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag/FlagQualifier.js +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag.js +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format/FormatQualifier.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/progressive.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/ImageTransformation.js +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/Transformation.js +244 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/VideoTransformation.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryFile.js +166 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryImage.js +10 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryTransformable.js +201 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryVideo.js +26 -0
- package/dist/node_modules/@cloudinary/url-gen/config/BaseConfig.js +14 -0
- package/dist/node_modules/@cloudinary/url-gen/config/URLConfig.js +81 -0
- package/dist/node_modules/@cloudinary/url-gen/instance/Cloudinary.js +24 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/internalConstants.js +16 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/cloudinaryURL.js +23 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/isFileName.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/isUrl.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/publicIDContainsVersion.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/utils/packageVersion.js +4 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/base64Map.js +10 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/encodeOSVersion.js +8 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/encodeVersion.js +17 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/getAnalyticsOptions.js +15 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/getSDKAnalyticsSignature.js +45 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/padVersion.js +14 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/reverseVersion.js +8 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/stringPad.js +13 -0
- package/dist/node_modules/@fastify/deepmerge/index.js +102 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +507 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +686 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +161 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +228 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@gilbarbara/deep-equal/dist/index.js +78 -0
- package/dist/node_modules/@gilbarbara/hooks/dist/index.js +81 -0
- package/dist/node_modules/@hookform/resolvers/dist/resolvers.js +33 -0
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup.js +33 -0
- package/dist/node_modules/@internationalized/date/dist/private/CalendarDate.js +243 -0
- package/dist/node_modules/@internationalized/date/dist/private/DateFormatter.js +102 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/BuddhistCalendar.js +32 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/EthiopicCalendar.js +114 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +104 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/HebrewCalendar.js +88 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/IndianCalendar.js +40 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/IslamicCalendar.js +122 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/JapaneseCalendar.js +128 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/PersianCalendar.js +53 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/TaiwanCalendar.js +54 -0
- package/dist/node_modules/@internationalized/date/dist/private/conversion.js +141 -0
- package/dist/node_modules/@internationalized/date/dist/private/createCalendar.js +42 -0
- package/dist/node_modules/@internationalized/date/dist/private/manipulation.js +211 -0
- package/dist/node_modules/@internationalized/date/dist/private/queries.js +150 -0
- package/dist/node_modules/@internationalized/date/dist/private/string.js +50 -0
- package/dist/node_modules/@internationalized/date/dist/private/utils.js +6 -0
- package/dist/node_modules/@internationalized/date/dist/private/weekStartData.js +100 -0
- package/dist/node_modules/@internationalized/number/dist/private/NumberFormatter.js +121 -0
- package/dist/node_modules/@internationalized/number/dist/private/NumberParser.js +163 -0
- package/dist/node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.js +47 -0
- package/dist/node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.js +32 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js +29 -0
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +38 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +696 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +33 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +53 -0
- package/dist/node_modules/character-entities-legacy/index.js +111 -0
- package/dist/node_modules/character-reference-invalid/index.js +33 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/comma-separated-tokens/index.js +13 -0
- package/dist/node_modules/dayjs/dayjs.min.js +282 -0
- package/dist/node_modules/dayjs/plugin/localizedFormat.js +29 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/components/LazyMotion/index.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +285 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +130 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +60 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +62 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/m/proxy.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/features-animation.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +28 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +20 -0
- package/dist/node_modules/hastscript/lib/create-h.js +112 -0
- package/dist/node_modules/hastscript/lib/index.js +8 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +44 -0
- package/dist/node_modules/is-alphabetical/index.js +7 -0
- package/dist/node_modules/is-alphanumerical/index.js +8 -0
- package/dist/node_modules/is-decimal/index.js +7 -0
- package/dist/node_modules/is-hexadecimal/index.js +7 -0
- package/dist/node_modules/is-lite/dist/index.js +139 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_Hash.js +22 -0
- package/dist/node_modules/lodash/_ListCache.js +22 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_MapCache.js +22 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_arrayEach.js +14 -0
- package/dist/node_modules/lodash/_arrayFilter.js +16 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +26 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arrayReduce.js +15 -0
- package/dist/node_modules/lodash/_arraySome.js +15 -0
- package/dist/node_modules/lodash/_asciiToArray.js +12 -0
- package/dist/node_modules/lodash/_asciiWords.js +13 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseCreate.js +23 -0
- package/dist/node_modules/lodash/_baseEach.js +12 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseForOwn.js +15 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +16 -0
- package/dist/node_modules/lodash/_baseGetTag.js +16 -0
- package/dist/node_modules/lodash/_baseHasIn.js +12 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +15 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +15 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +38 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +37 -0
- package/dist/node_modules/lodash/_baseIsNative.js +22 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +17 -0
- package/dist/node_modules/lodash/_baseIteratee.js +18 -0
- package/dist/node_modules/lodash/_baseKeys.js +20 -0
- package/dist/node_modules/lodash/_baseMatches.js +19 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +23 -0
- package/dist/node_modules/lodash/_baseProperty.js +14 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/dist/node_modules/lodash/_basePropertyOf.js +14 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSome.js +17 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseToString.js +24 -0
- package/dist/node_modules/lodash/_baseUnary.js +14 -0
- package/dist/node_modules/lodash/_cacheHas.js +12 -0
- package/dist/node_modules/lodash/_castPath.js +17 -0
- package/dist/node_modules/lodash/_castSlice.js +15 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_createBaseEach.js +22 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +21 -0
- package/dist/node_modules/lodash/_createCompounder.js +18 -0
- package/dist/node_modules/lodash/_deburrLetter.js +204 -0
- package/dist/node_modules/lodash/_equalArrays.js +46 -0
- package/dist/node_modules/lodash/_equalByTag.js +51 -0
- package/dist/node_modules/lodash/_equalObjects.js +42 -0
- package/dist/node_modules/lodash/_freeGlobal.js +11 -0
- package/dist/node_modules/lodash/_getAllKeys.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js +15 -0
- package/dist/node_modules/lodash/_getMatchData.js +19 -0
- package/dist/node_modules/lodash/_getNative.js +16 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getSymbols.js +16 -0
- package/dist/node_modules/lodash/_getTag.js +33 -0
- package/dist/node_modules/lodash/_getValue.js +12 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasUnicode.js +13 -0
- package/dist/node_modules/lodash/_hasUnicodeWord.js +13 -0
- package/dist/node_modules/lodash/_hashClear.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js +13 -0
- package/dist/node_modules/lodash/_hashGet.js +19 -0
- package/dist/node_modules/lodash/_hashHas.js +15 -0
- package/dist/node_modules/lodash/_hashSet.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js +14 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKeyable.js +13 -0
- package/dist/node_modules/lodash/_isMasked.js +17 -0
- package/dist/node_modules/lodash/_isPrototype.js +14 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +14 -0
- package/dist/node_modules/lodash/_listCacheClear.js +12 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +18 -0
- package/dist/node_modules/lodash/_listCacheGet.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js +14 -0
- package/dist/node_modules/lodash/_listCacheSet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +20 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +14 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +14 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +15 -0
- package/dist/node_modules/lodash/_mapToArray.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +14 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +17 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nodeUtil.js +19 -0
- package/dist/node_modules/lodash/_objectToString.js +13 -0
- package/dist/node_modules/lodash/_overArg.js +14 -0
- package/dist/node_modules/lodash/_root.js +11 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js +12 -0
- package/dist/node_modules/lodash/_setToArray.js +15 -0
- package/dist/node_modules/lodash/_stackClear.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js +12 -0
- package/dist/node_modules/lodash/_stackHas.js +12 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_stringToArray.js +16 -0
- package/dist/node_modules/lodash/_stringToPath.js +16 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toSource.js +23 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +13 -0
- package/dist/node_modules/lodash/_unicodeWords.js +22 -0
- package/dist/node_modules/lodash/capitalize.js +15 -0
- package/dist/node_modules/lodash/deburr.js +15 -0
- package/dist/node_modules/lodash/eq.js +12 -0
- package/dist/node_modules/lodash/get.js +15 -0
- package/dist/node_modules/lodash/hasIn.js +15 -0
- package/dist/node_modules/lodash/identity.js +12 -0
- package/dist/node_modules/lodash/isArguments.js +16 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArrayLike.js +15 -0
- package/dist/node_modules/lodash/isBuffer.js +14 -0
- package/dist/node_modules/lodash/isEmpty.js +33 -0
- package/dist/node_modules/lodash/isEqual.js +14 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isLength.js +13 -0
- package/dist/node_modules/lodash/isNaN.js +14 -0
- package/dist/node_modules/lodash/isNil.js +12 -0
- package/dist/node_modules/lodash/isNumber.js +15 -0
- package/dist/node_modules/lodash/isObject.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js +12 -0
- package/dist/node_modules/lodash/isSymbol.js +15 -0
- package/dist/node_modules/lodash/isTypedArray.js +13 -0
- package/dist/node_modules/lodash/isUndefined.js +12 -0
- package/dist/node_modules/lodash/keys.js +16 -0
- package/dist/node_modules/lodash/lodash.js +3692 -0
- package/dist/node_modules/lodash/lowerFirst.js +11 -0
- package/dist/node_modules/lodash/memoize.js +23 -0
- package/dist/node_modules/lodash/property.js +17 -0
- package/dist/node_modules/lodash/snakeCase.js +13 -0
- package/dist/node_modules/lodash/some.js +19 -0
- package/dist/node_modules/lodash/stubArray.js +12 -0
- package/dist/node_modules/lodash/stubFalse.js +12 -0
- package/dist/node_modules/lodash/toString.js +14 -0
- package/dist/node_modules/lodash/transform.js +30 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/lodash/words.js +17 -0
- package/dist/node_modules/lottie-light-react/build/index.umd.js +5068 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +112 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +144 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +106 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +178 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +46 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +68 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +74 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +618 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +263 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +40 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +143 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +215 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +70 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +20 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +19 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +14 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +8 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/parse-entities/lib/index.js +135 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/property-information/lib/html.js +368 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +566 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +19 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
- package/dist/node_modules/property-information/lib/util/info.js +28 -0
- package/dist/node_modules/property-information/lib/util/merge.js +10 -0
- package/dist/node_modules/property-information/lib/util/schema.js +21 -0
- package/dist/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/react-aria/dist/private/button/useButton.js +56 -0
- package/dist/node_modules/react-aria/dist/private/calendar/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendar.js +7 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendarBase.js +76 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendarCell.js +148 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendarGrid.js +91 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useRangeCalendar.js +34 -0
- package/dist/node_modules/react-aria/dist/private/calendar/utils.js +109 -0
- package/dist/node_modules/react-aria/dist/private/combobox/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/combobox/useComboBox.js +243 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDateField.js +115 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDatePicker.js +126 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDatePickerGroup.js +73 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDateRangePicker.js +164 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDateSegment.js +249 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDisplayNames.js +33 -0
- package/dist/node_modules/react-aria/dist/private/dialog/useDialog.js +52 -0
- package/dist/node_modules/react-aria/dist/private/dnd/DragManager.js +20 -0
- package/dist/node_modules/react-aria/dist/private/dnd/constants.js +33 -0
- package/dist/node_modules/react-aria/dist/private/dnd/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/dnd/useDrop.js +173 -0
- package/dist/node_modules/react-aria/dist/private/dnd/useVirtualDrop.js +31 -0
- package/dist/node_modules/react-aria/dist/private/dnd/utils.js +114 -0
- package/dist/node_modules/react-aria/dist/private/focus/FocusScope.js +490 -0
- package/dist/node_modules/react-aria/dist/private/focus/virtualFocus.js +32 -0
- package/dist/node_modules/react-aria/dist/private/form/useFormValidation.js +71 -0
- package/dist/node_modules/react-aria/dist/private/i18n/I18nProvider.js +10 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useCollator.js +11 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useDateFormatter.js +23 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useDefaultLocale.js +37 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useFilter.js +35 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useLocalizedStringFormatter.js +23 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useNumberFormatter.js +13 -0
- package/dist/node_modules/react-aria/dist/private/i18n/utils.js +47 -0
- package/dist/node_modules/react-aria/dist/private/interactions/PressResponder.js +14 -0
- package/dist/node_modules/react-aria/dist/private/interactions/context.js +9 -0
- package/dist/node_modules/react-aria/dist/private/interactions/createEventHandler.js +28 -0
- package/dist/node_modules/react-aria/dist/private/interactions/focusSafely.js +19 -0
- package/dist/node_modules/react-aria/dist/private/interactions/textSelection.js +36 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocus.js +31 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusVisible.js +90 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusWithin.js +59 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusable.js +32 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useHover.js +87 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useInteractOutside.js +51 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useKeyboard.js +12 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useLongPress.js +53 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useMove.js +165 -0
- package/dist/node_modules/react-aria/dist/private/interactions/usePress.js +418 -0
- package/dist/node_modules/react-aria/dist/private/interactions/utils.js +93 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ar-AE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/bg-BG.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/cs-CZ.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/da-DK.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/de-DE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/el-GR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/en-US.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/es-ES.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/et-EE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/fi-FI.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/fr-FR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/he-IL.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/hr-HR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/hu-HU.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/it-IT.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ja-JP.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ko-KR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/lt-LT.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/lv-LV.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/nb-NO.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/nl-NL.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/pl-PL.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/pt-BR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/pt-PT.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ro-RO.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ru-RU.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sk-SK.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sl-SI.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sr-SP.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sv-SE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/tr-TR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/uk-UA.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/zh-CN.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/zh-TW.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ar-AE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/bg-BG.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/cs-CZ.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/da-DK.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/de-DE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/el-GR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/en-US.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/es-ES.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/et-EE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/fi-FI.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/fr-FR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/he-IL.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/hr-HR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/hu-HU.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/it-IT.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ja-JP.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ko-KR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/lt-LT.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/lv-LV.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/nb-NO.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/nl-NL.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/pl-PL.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/pt-BR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/pt-PT.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ro-RO.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ru-RU.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sk-SK.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sl-SI.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sr-SP.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sv-SE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/tr-TR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/uk-UA.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/zh-CN.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/zh-TW.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ar-AE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/bg-BG.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/cs-CZ.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/da-DK.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/de-DE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/el-GR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/en-US.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/es-ES.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/et-EE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/fi-FI.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/fr-FR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/he-IL.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/hr-HR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/hu-HU.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/it-IT.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ja-JP.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ko-KR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/lt-LT.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/lv-LV.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/nb-NO.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/nl-NL.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/pl-PL.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/pt-BR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/pt-PT.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ro-RO.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ru-RU.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sk-SK.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sl-SI.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sr-SP.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sv-SE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/tr-TR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/uk-UA.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/zh-CN.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/zh-TW.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ar-AE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/bg-BG.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/cs-CZ.js +46 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/da-DK.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/de-DE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/el-GR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/en-US.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/es-ES.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/et-EE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/fi-FI.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/fr-FR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/he-IL.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/hr-HR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/hu-HU.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/it-IT.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ja-JP.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ko-KR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/lt-LT.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/lv-LV.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/nb-NO.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/nl-NL.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/pl-PL.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/pt-BR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/pt-PT.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ro-RO.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ru-RU.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sk-SK.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sl-SI.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sr-SP.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sv-SE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/tr-TR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/uk-UA.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/zh-CN.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/zh-TW.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ar-AE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/bg-BG.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/cs-CZ.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/da-DK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/de-DE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/el-GR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/en-US.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/es-ES.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/et-EE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/fi-FI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/fr-FR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/he-IL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/hr-HR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/hu-HU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/it-IT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ja-JP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ko-KR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/lt-LT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/lv-LV.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/nb-NO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/nl-NL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/pl-PL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/pt-BR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/pt-PT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ro-RO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ru-RU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sk-SK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sl-SI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sr-SP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sv-SE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/tr-TR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/uk-UA.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/zh-CN.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/zh-TW.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ar-AE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/bg-BG.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/cs-CZ.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/da-DK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/de-DE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/el-GR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/en-US.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/es-ES.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/et-EE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/fi-FI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/fr-FR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/he-IL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/hr-HR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/hu-HU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/it-IT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ja-JP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ko-KR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/lt-LT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/lv-LV.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/nb-NO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/nl-NL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pl-PL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pt-BR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pt-PT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ro-RO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ru-RU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sk-SK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sl-SI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sr-SP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sv-SE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/tr-TR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/uk-UA.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/zh-CN.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/zh-TW.js +7 -0
- package/dist/node_modules/react-aria/dist/private/label/useField.js +36 -0
- package/dist/node_modules/react-aria/dist/private/label/useLabel.js +23 -0
- package/dist/node_modules/react-aria/dist/private/listbox/useListBox.js +56 -0
- package/dist/node_modules/react-aria/dist/private/listbox/useOption.js +69 -0
- package/dist/node_modules/react-aria/dist/private/listbox/utils.js +13 -0
- package/dist/node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.js +49 -0
- package/dist/node_modules/react-aria/dist/private/menu/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/menu/useMenuTrigger.js +65 -0
- package/dist/node_modules/react-aria/dist/private/overlays/Overlay.js +38 -0
- package/dist/node_modules/react-aria/dist/private/overlays/PortalProvider.js +9 -0
- package/dist/node_modules/react-aria/dist/private/overlays/ariaHideOutside.js +119 -0
- package/dist/node_modules/react-aria/dist/private/overlays/calculatePosition.js +208 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useCloseOnScroll.js +26 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useOverlay.js +50 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useOverlayPosition.js +136 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useOverlayTrigger.js +26 -0
- package/dist/node_modules/react-aria/dist/private/overlays/usePopover.js +46 -0
- package/dist/node_modules/react-aria/dist/private/overlays/usePreventScroll.js +112 -0
- package/dist/node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.js +38 -0
- package/dist/node_modules/react-aria/dist/private/selection/ListKeyboardDelegate.js +120 -0
- package/dist/node_modules/react-aria/dist/private/selection/useSelectableCollection.js +222 -0
- package/dist/node_modules/react-aria/dist/private/selection/useSelectableItem.js +137 -0
- package/dist/node_modules/react-aria/dist/private/selection/useSelectableList.js +38 -0
- package/dist/node_modules/react-aria/dist/private/selection/useTypeSelect.js +33 -0
- package/dist/node_modules/react-aria/dist/private/selection/utils.js +23 -0
- package/dist/node_modules/react-aria/dist/private/slider/useSlider.js +88 -0
- package/dist/node_modules/react-aria/dist/private/slider/useSliderThumb.js +142 -0
- package/dist/node_modules/react-aria/dist/private/slider/utils.js +10 -0
- package/dist/node_modules/react-aria/dist/private/spinbutton/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/spinbutton/useSpinButton.js +138 -0
- package/dist/node_modules/react-aria/dist/private/ssr/SSRProvider.js +52 -0
- package/dist/node_modules/react-aria/dist/private/textfield/useTextField.js +78 -0
- package/dist/node_modules/react-aria/dist/private/utils/chain.js +8 -0
- package/dist/node_modules/react-aria/dist/private/utils/constants.js +5 -0
- package/dist/node_modules/react-aria/dist/private/utils/domHelpers.js +12 -0
- package/dist/node_modules/react-aria/dist/private/utils/filterDOMProps.js +65 -0
- package/dist/node_modules/react-aria/dist/private/utils/focusWithoutScrolling.js +45 -0
- package/dist/node_modules/react-aria/dist/private/utils/getNonce.js +15 -0
- package/dist/node_modules/react-aria/dist/private/utils/getScrollParent.js +9 -0
- package/dist/node_modules/react-aria/dist/private/utils/getScrollParents.js +10 -0
- package/dist/node_modules/react-aria/dist/private/utils/isElementVisible.js +25 -0
- package/dist/node_modules/react-aria/dist/private/utils/isFocusable.js +37 -0
- package/dist/node_modules/react-aria/dist/private/utils/isScrollable.js +8 -0
- package/dist/node_modules/react-aria/dist/private/utils/isVirtualEvent.js +11 -0
- package/dist/node_modules/react-aria/dist/private/utils/keyboard.js +22 -0
- package/dist/node_modules/react-aria/dist/private/utils/mergeProps.js +23 -0
- package/dist/node_modules/react-aria/dist/private/utils/mergeRefs.js +21 -0
- package/dist/node_modules/react-aria/dist/private/utils/openLink.js +61 -0
- package/dist/node_modules/react-aria/dist/private/utils/platform.js +44 -0
- package/dist/node_modules/react-aria/dist/private/utils/runAfterTransition.js +38 -0
- package/dist/node_modules/react-aria/dist/private/utils/scrollIntoView.js +66 -0
- package/dist/node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.js +38 -0
- package/dist/node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.js +127 -0
- package/dist/node_modules/react-aria/dist/private/utils/useDeepMemo.js +8 -0
- package/dist/node_modules/react-aria/dist/private/utils/useDescription.js +32 -0
- package/dist/node_modules/react-aria/dist/private/utils/useEffectEvent.js +17 -0
- package/dist/node_modules/react-aria/dist/private/utils/useEvent.js +20 -0
- package/dist/node_modules/react-aria/dist/private/utils/useFormReset.js +18 -0
- package/dist/node_modules/react-aria/dist/private/utils/useGlobalListeners.js +33 -0
- package/dist/node_modules/react-aria/dist/private/utils/useId.js +59 -0
- package/dist/node_modules/react-aria/dist/private/utils/useLabels.js +17 -0
- package/dist/node_modules/react-aria/dist/private/utils/useLayoutEffect.js +6 -0
- package/dist/node_modules/react-aria/dist/private/utils/useResizeObserver.js +32 -0
- package/dist/node_modules/react-aria/dist/private/utils/useSyncRef.js +12 -0
- package/dist/node_modules/react-aria/dist/private/utils/useUpdateEffect.js +15 -0
- package/dist/node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.js +13 -0
- package/dist/node_modules/react-aria/dist/private/utils/useValueEffect.js +28 -0
- package/dist/node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.js +40 -0
- package/dist/node_modules/react-csv/src/components/Download.js +34 -0
- package/dist/node_modules/react-csv/src/components/Link.js +85 -0
- package/dist/node_modules/react-csv/src/core.js +49 -0
- package/dist/node_modules/react-csv/src/index.js +6 -0
- package/dist/node_modules/react-csv/src/metaProps.js +23 -0
- package/dist/node_modules/react-hook-form/dist/index.esm.js +1501 -0
- package/dist/node_modules/react-innertext/index.js +16 -0
- package/dist/node_modules/react-international-phone/dist/index.js +333 -0
- package/dist/node_modules/react-joyride/dist/index.js +2044 -0
- package/dist/node_modules/react-stately/dist/private/calendar/useCalendarState.js +254 -0
- package/dist/node_modules/react-stately/dist/private/calendar/useRangeCalendarState.js +140 -0
- package/dist/node_modules/react-stately/dist/private/calendar/utils.js +66 -0
- package/dist/node_modules/react-stately/dist/private/collections/CollectionBuilder.js +160 -0
- package/dist/node_modules/react-stately/dist/private/collections/Item.js +37 -0
- package/dist/node_modules/react-stately/dist/private/collections/getChildNodes.js +33 -0
- package/dist/node_modules/react-stately/dist/private/collections/getItemCount.js +14 -0
- package/dist/node_modules/react-stately/dist/private/collections/useCollection.js +23 -0
- package/dist/node_modules/react-stately/dist/private/combobox/useComboBoxState.js +206 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/IncompleteDate.js +235 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/intlStrings.js +74 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/placeholders.js +399 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useDateFieldState.js +263 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useDatePickerState.js +76 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useDateRangePickerState.js +171 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useTimeFieldState.js +57 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/utils.js +145 -0
- package/dist/node_modules/react-stately/dist/private/flags/flags.js +7 -0
- package/dist/node_modules/react-stately/dist/private/form/useFormValidationState.js +127 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ar-AE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/bg-BG.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/cs-CZ.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/da-DK.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/de-DE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/el-GR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/en-US.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/es-ES.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/et-EE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/fi-FI.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/fr-FR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/he-IL.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/hr-HR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/hu-HU.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/it-IT.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ja-JP.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ko-KR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/lt-LT.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/lv-LV.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/nb-NO.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/nl-NL.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/pl-PL.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/pt-BR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/pt-PT.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ro-RO.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ru-RU.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sk-SK.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sl-SI.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sr-SP.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sv-SE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/tr-TR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/uk-UA.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/zh-CN.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/zh-TW.js +10 -0
- package/dist/node_modules/react-stately/dist/private/list/ListCollection.js +51 -0
- package/dist/node_modules/react-stately/dist/private/list/useListState.js +60 -0
- package/dist/node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.js +29 -0
- package/dist/node_modules/react-stately/dist/private/selection/Selection.js +8 -0
- package/dist/node_modules/react-stately/dist/private/selection/SelectionManager.js +274 -0
- package/dist/node_modules/react-stately/dist/private/selection/useMultipleSelectionState.js +57 -0
- package/dist/node_modules/react-stately/dist/private/slider/useSliderState.js +151 -0
- package/dist/node_modules/react-stately/dist/private/utils/number.js +26 -0
- package/dist/node_modules/react-stately/dist/private/utils/useControlledState.js +29 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +7 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +99 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +282 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/csharp.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dart.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/docker.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/elixir.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/go.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/hcl.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/java.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javascript.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/kotlin.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/php.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/powershell.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ruby.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/scala.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/swift.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/toml.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-light.js +12 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.js +195 -0
- package/dist/node_modules/refractor/lang/bash.js +226 -0
- package/dist/node_modules/refractor/lang/clike.js +38 -0
- package/dist/node_modules/refractor/lang/csharp.js +385 -0
- package/dist/node_modules/refractor/lang/dart.js +76 -0
- package/dist/node_modules/refractor/lang/docker.js +101 -0
- package/dist/node_modules/refractor/lang/elixir.js +103 -0
- package/dist/node_modules/refractor/lang/go.js +32 -0
- package/dist/node_modules/refractor/lang/hcl.js +67 -0
- package/dist/node_modules/refractor/lang/java.js +135 -0
- package/dist/node_modules/refractor/lang/javascript.js +139 -0
- package/dist/node_modules/refractor/lang/json.js +31 -0
- package/dist/node_modules/refractor/lang/kotlin.js +83 -0
- package/dist/node_modules/refractor/lang/markup-templating.js +74 -0
- package/dist/node_modules/refractor/lang/markup.js +174 -0
- package/dist/node_modules/refractor/lang/php.js +328 -0
- package/dist/node_modules/refractor/lang/powershell.js +62 -0
- package/dist/node_modules/refractor/lang/python.js +68 -0
- package/dist/node_modules/refractor/lang/ruby.js +179 -0
- package/dist/node_modules/refractor/lang/scala.js +52 -0
- package/dist/node_modules/refractor/lang/swift.js +126 -0
- package/dist/node_modules/refractor/lang/toml.js +60 -0
- package/dist/node_modules/refractor/lang/typescript.js +53 -0
- package/dist/node_modules/refractor/lang/yaml.js +88 -0
- package/dist/node_modules/refractor/lib/core.js +107 -0
- package/dist/node_modules/refractor/lib/prism-core.js +430 -0
- package/dist/node_modules/scroll/index.js +36 -0
- package/dist/node_modules/scrollparent/scrollparent.js +28 -0
- package/dist/node_modules/space-separated-tokens/index.js +7 -0
- package/dist/node_modules/tabbable/dist/index.esm.js +200 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +55 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +10 -0
- package/dist/utils/date.js +7 -0
- package/dist/utils/filters.js +60 -0
- package/dist/utils/index.js +26 -21
- package/dist/utils/normalizers.js +16 -0
- package/dist/utils/open-url.js +12 -0
- package/dist/utils/storage.js +16 -0
- package/dist/utils/url.js +13 -0
- package/package.json +5 -1
- package/dist/components-LCJjFofC.mjs +0 -18033
- package/dist/vendor-i-lggy4V.mjs +0 -48982
- /package/dist/assets/{index.css → styles/global.css} +0 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { addPointerEvent as m } from "../../events/add-pointer-event.js";
|
|
2
|
+
import { extractEventInfo as D } from "../../events/event-info.js";
|
|
3
|
+
import { distance2D as R } from "../../utils/distance.js";
|
|
4
|
+
import { frameData as y, frame as x, cancelFrame as k } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
5
|
+
import { isPrimaryPointer as U } from "../../../../../motion-dom/dist/es/gestures/utils/is-primary-pointer.js";
|
|
6
|
+
import { pipe as X } from "../../../../../motion-utils/dist/es/pipe.js";
|
|
7
|
+
import { secondsToMilliseconds as S, millisecondsToSeconds as Y } from "../../../../../motion-utils/dist/es/time-conversion.js";
|
|
8
|
+
const M = /* @__PURE__ */ new Set(["auto", "scroll"]);
|
|
9
|
+
class z {
|
|
10
|
+
constructor(t, s, { transformPagePoint: i, contextWindow: r = window, dragSnapToOrigin: o = !1, distanceThreshold: l = 3, element: u } = {}) {
|
|
11
|
+
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
|
|
12
|
+
this.handleScroll(e.target);
|
|
13
|
+
}, this.onWindowScroll = () => {
|
|
14
|
+
this.handleScroll(window);
|
|
15
|
+
}, this.updatePoint = () => {
|
|
16
|
+
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
17
|
+
return;
|
|
18
|
+
this.lastRawMoveEventInfo && (this.lastMoveEventInfo = v(this.lastRawMoveEventInfo, this.transformPagePoint));
|
|
19
|
+
const e = p(this.lastMoveEventInfo, this.history), a = this.startEvent !== null, c = R(e.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
|
|
20
|
+
if (!a && !c)
|
|
21
|
+
return;
|
|
22
|
+
const { point: f } = e, { timestamp: d } = y;
|
|
23
|
+
this.history.push({ ...f, timestamp: d });
|
|
24
|
+
const { onStart: h, onMove: P } = this.handlers;
|
|
25
|
+
a || (h && h(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), P && P(this.lastMoveEvent, e);
|
|
26
|
+
}, this.handlePointerMove = (e, a) => {
|
|
27
|
+
this.lastMoveEvent = e, this.lastRawMoveEventInfo = a, this.lastMoveEventInfo = v(a, this.transformPagePoint), x.update(this.updatePoint, !0);
|
|
28
|
+
}, this.handlePointerUp = (e, a) => {
|
|
29
|
+
this.end();
|
|
30
|
+
const { onEnd: c, onSessionEnd: f, resumeAnimation: d } = this.handlers;
|
|
31
|
+
if ((this.dragSnapToOrigin || !this.startEvent) && d && d(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
32
|
+
return;
|
|
33
|
+
const h = p(e.type === "pointercancel" ? this.lastMoveEventInfo : v(a, this.transformPagePoint), this.history);
|
|
34
|
+
this.startEvent && c && c(e, h), f && f(e, h);
|
|
35
|
+
}, !U(t))
|
|
36
|
+
return;
|
|
37
|
+
this.dragSnapToOrigin = o, this.handlers = s, this.transformPagePoint = i, this.distanceThreshold = l, this.contextWindow = r || window;
|
|
38
|
+
const L = D(t), w = v(L, this.transformPagePoint), { point: T } = w, { timestamp: W } = y;
|
|
39
|
+
this.history = [{ ...T, timestamp: W }];
|
|
40
|
+
const { onSessionStart: E } = s;
|
|
41
|
+
E && E(t, p(w, this.history)), this.removeListeners = X(m(this.contextWindow, "pointermove", this.handlePointerMove), m(this.contextWindow, "pointerup", this.handlePointerUp), m(this.contextWindow, "pointercancel", this.handlePointerUp)), u && this.startScrollTracking(u);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Start tracking scroll on ancestors and window.
|
|
45
|
+
*/
|
|
46
|
+
startScrollTracking(t) {
|
|
47
|
+
let s = t.parentElement;
|
|
48
|
+
for (; s; ) {
|
|
49
|
+
const i = getComputedStyle(s);
|
|
50
|
+
(M.has(i.overflowX) || M.has(i.overflowY)) && this.scrollPositions.set(s, {
|
|
51
|
+
x: s.scrollLeft,
|
|
52
|
+
y: s.scrollTop
|
|
53
|
+
}), s = s.parentElement;
|
|
54
|
+
}
|
|
55
|
+
this.scrollPositions.set(window, {
|
|
56
|
+
x: window.scrollX,
|
|
57
|
+
y: window.scrollY
|
|
58
|
+
}), window.addEventListener("scroll", this.onElementScroll, {
|
|
59
|
+
capture: !0
|
|
60
|
+
}), window.addEventListener("scroll", this.onWindowScroll), this.removeScrollListeners = () => {
|
|
61
|
+
window.removeEventListener("scroll", this.onElementScroll, {
|
|
62
|
+
capture: !0
|
|
63
|
+
}), window.removeEventListener("scroll", this.onWindowScroll);
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Handle scroll compensation during drag.
|
|
68
|
+
*
|
|
69
|
+
* For element scroll: adjusts history origin since pageX/pageY doesn't change.
|
|
70
|
+
* For window scroll: adjusts lastMoveEventInfo since pageX/pageY would change.
|
|
71
|
+
*/
|
|
72
|
+
handleScroll(t) {
|
|
73
|
+
const s = this.scrollPositions.get(t);
|
|
74
|
+
if (!s)
|
|
75
|
+
return;
|
|
76
|
+
const i = t === window, r = i ? { x: window.scrollX, y: window.scrollY } : {
|
|
77
|
+
x: t.scrollLeft,
|
|
78
|
+
y: t.scrollTop
|
|
79
|
+
}, o = { x: r.x - s.x, y: r.y - s.y };
|
|
80
|
+
o.x === 0 && o.y === 0 || (i ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += o.x, this.lastMoveEventInfo.point.y += o.y) : this.history.length > 0 && (this.history[0].x -= o.x, this.history[0].y -= o.y), this.scrollPositions.set(t, r), x.update(this.updatePoint, !0));
|
|
81
|
+
}
|
|
82
|
+
updateHandlers(t) {
|
|
83
|
+
this.handlers = t;
|
|
84
|
+
}
|
|
85
|
+
end() {
|
|
86
|
+
this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), k(this.updatePoint);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function v(n, t) {
|
|
90
|
+
return t ? { point: t(n.point) } : n;
|
|
91
|
+
}
|
|
92
|
+
function I(n, t) {
|
|
93
|
+
return { x: n.x - t.x, y: n.y - t.y };
|
|
94
|
+
}
|
|
95
|
+
function p({ point: n }, t) {
|
|
96
|
+
return {
|
|
97
|
+
point: n,
|
|
98
|
+
delta: I(n, g(t)),
|
|
99
|
+
offset: I(n, O(t)),
|
|
100
|
+
velocity: V(t, 0.1)
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function O(n) {
|
|
104
|
+
return n[0];
|
|
105
|
+
}
|
|
106
|
+
function g(n) {
|
|
107
|
+
return n[n.length - 1];
|
|
108
|
+
}
|
|
109
|
+
function V(n, t) {
|
|
110
|
+
if (n.length < 2)
|
|
111
|
+
return { x: 0, y: 0 };
|
|
112
|
+
let s = n.length - 1, i = null;
|
|
113
|
+
const r = g(n);
|
|
114
|
+
for (; s >= 0 && (i = n[s], !(r.timestamp - i.timestamp > S(t))); )
|
|
115
|
+
s--;
|
|
116
|
+
if (!i)
|
|
117
|
+
return { x: 0, y: 0 };
|
|
118
|
+
i === n[0] && n.length > 2 && r.timestamp - i.timestamp > S(t) * 2 && (i = n[1]);
|
|
119
|
+
const o = Y(r.timestamp - i.timestamp);
|
|
120
|
+
if (o === 0)
|
|
121
|
+
return { x: 0, y: 0 };
|
|
122
|
+
const l = {
|
|
123
|
+
x: (r.x - i.x) / o,
|
|
124
|
+
y: (r.y - i.y) / o
|
|
125
|
+
};
|
|
126
|
+
return l.x === 1 / 0 && (l.x = 0), l.y === 1 / 0 && (l.y = 0), l;
|
|
127
|
+
}
|
|
128
|
+
export {
|
|
129
|
+
z as PanSession
|
|
130
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { addPointerEvent as m } from "../../events/add-pointer-event.js";
|
|
2
|
+
import { getContextWindow as P } from "../../utils/get-context-window.js";
|
|
3
|
+
import { PanSession as h } from "./PanSession.js";
|
|
4
|
+
import { Feature as p } from "../../../../../motion-dom/dist/es/render/Feature.js";
|
|
5
|
+
import { noop as u } from "../../../../../motion-utils/dist/es/noop.js";
|
|
6
|
+
import { frame as r } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
7
|
+
const o = (e) => (n, t) => {
|
|
8
|
+
e && r.update(() => e(n, t), !1, !0);
|
|
9
|
+
};
|
|
10
|
+
class v extends p {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments), this.removePointerDownListener = u;
|
|
13
|
+
}
|
|
14
|
+
onPointerDown(n) {
|
|
15
|
+
this.session = new h(n, this.createPanHandlers(), {
|
|
16
|
+
transformPagePoint: this.node.getTransformPagePoint(),
|
|
17
|
+
contextWindow: P(this.node)
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
createPanHandlers() {
|
|
21
|
+
const { onPanSessionStart: n, onPanStart: t, onPan: i, onPanEnd: s } = this.node.getProps();
|
|
22
|
+
return {
|
|
23
|
+
onSessionStart: o(n),
|
|
24
|
+
onStart: o(t),
|
|
25
|
+
onMove: o(i),
|
|
26
|
+
onEnd: (a, d) => {
|
|
27
|
+
delete this.session, s && r.postRender(() => s(a, d));
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
mount() {
|
|
32
|
+
this.removePointerDownListener = m(this.node.current, "pointerdown", (n) => this.onPointerDown(n));
|
|
33
|
+
}
|
|
34
|
+
update() {
|
|
35
|
+
this.session && this.session.updateHandlers(this.createPanHandlers());
|
|
36
|
+
}
|
|
37
|
+
unmount() {
|
|
38
|
+
this.removePointerDownListener(), this.session && this.session.end();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
v as PanGesture
|
|
43
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { extractEventInfo as m } from "../events/event-info.js";
|
|
2
|
+
import { Feature as u } from "../../../../motion-dom/dist/es/render/Feature.js";
|
|
3
|
+
import { press as c } from "../../../../motion-dom/dist/es/gestures/press/index.js";
|
|
4
|
+
import { frame as f } from "../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
5
|
+
function s(t, e, n) {
|
|
6
|
+
const { props: r } = t;
|
|
7
|
+
if (t.current instanceof HTMLButtonElement && t.current.disabled)
|
|
8
|
+
return;
|
|
9
|
+
t.animationState && r.whileTap && t.animationState.setActive("whileTap", n === "Start");
|
|
10
|
+
const o = "onTap" + (n === "End" ? "" : n), a = r[o];
|
|
11
|
+
a && f.postRender(() => a(e, m(e)));
|
|
12
|
+
}
|
|
13
|
+
class g extends u {
|
|
14
|
+
mount() {
|
|
15
|
+
const { current: e } = this.node;
|
|
16
|
+
if (!e)
|
|
17
|
+
return;
|
|
18
|
+
const { globalTapTarget: n, propagate: r } = this.node.props;
|
|
19
|
+
this.unmount = c(e, (o, a) => (s(this.node, a, "Start"), (i, { success: p }) => s(this.node, i, p ? "End" : "Cancel")), {
|
|
20
|
+
useGlobalTarget: n,
|
|
21
|
+
stopPropagation: r?.tap === !1
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
unmount() {
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
g as PressGesture
|
|
29
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Feature as h } from "../../../../../../motion-dom/dist/es/render/Feature.js";
|
|
2
|
+
import { resolveVariant as d } from "../../../../../../motion-dom/dist/es/render/utils/resolve-dynamic-variants.js";
|
|
3
|
+
let p = 0;
|
|
4
|
+
class C extends h {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(...arguments), this.id = p++, this.isExitComplete = !1;
|
|
7
|
+
}
|
|
8
|
+
update() {
|
|
9
|
+
if (!this.node.presenceContext)
|
|
10
|
+
return;
|
|
11
|
+
const { isPresent: t, onExitComplete: e } = this.node.presenceContext, { isPresent: n } = this.node.prevPresenceContext || {};
|
|
12
|
+
if (!this.node.animationState || t === n)
|
|
13
|
+
return;
|
|
14
|
+
if (t && n === !1) {
|
|
15
|
+
if (this.isExitComplete) {
|
|
16
|
+
const { initial: i, custom: m } = this.node.getProps();
|
|
17
|
+
if (typeof i == "string" || typeof i == "object" && i !== null && !Array.isArray(i)) {
|
|
18
|
+
const s = d(this.node, i, m);
|
|
19
|
+
if (s) {
|
|
20
|
+
const { transition: l, transitionEnd: u, ...o } = s;
|
|
21
|
+
for (const r in o)
|
|
22
|
+
this.node.getValue(r)?.jump(o[r]);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
this.node.animationState.reset(), this.node.animationState.animateChanges();
|
|
26
|
+
} else
|
|
27
|
+
this.node.animationState.setActive("exit", !1);
|
|
28
|
+
this.isExitComplete = !1;
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const a = this.node.animationState.setActive("exit", !t);
|
|
32
|
+
e && !t && a.then(() => {
|
|
33
|
+
this.isExitComplete = !0, e(this.id);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
mount() {
|
|
37
|
+
const { register: t, onExitComplete: e } = this.node.presenceContext || {};
|
|
38
|
+
e && e(this.id), t && (this.unmount = t(this.id));
|
|
39
|
+
}
|
|
40
|
+
unmount() {
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
C as ExitAnimationFeature
|
|
45
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Feature as o } from "../../../../../../motion-dom/dist/es/render/Feature.js";
|
|
2
|
+
import { createAnimationState as i } from "../../../../../../motion-dom/dist/es/render/utils/animation-state.js";
|
|
3
|
+
import { isAnimationControls as s } from "../../../../../../motion-dom/dist/es/render/utils/is-animation-controls.js";
|
|
4
|
+
class u extends o {
|
|
5
|
+
/**
|
|
6
|
+
* We dynamically generate the AnimationState manager as it contains a reference
|
|
7
|
+
* to the underlying animation library. We only want to load that if we load this,
|
|
8
|
+
* so people can optionally code split it out using the `m` component.
|
|
9
|
+
*/
|
|
10
|
+
constructor(t) {
|
|
11
|
+
super(t), t.animationState || (t.animationState = i(t));
|
|
12
|
+
}
|
|
13
|
+
updateAnimationControlsSubscription() {
|
|
14
|
+
const { animate: t } = this.node.getProps();
|
|
15
|
+
s(t) && (this.unmountControls = t.subscribe(this.node));
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Subscribe any provided AnimationControls to the component's VisualElement
|
|
19
|
+
*/
|
|
20
|
+
mount() {
|
|
21
|
+
this.updateAnimationControlsSubscription();
|
|
22
|
+
}
|
|
23
|
+
update() {
|
|
24
|
+
const { animate: t } = this.node.getProps(), { animate: n } = this.node.prevProps || {};
|
|
25
|
+
t !== n && this.updateAnimationControlsSubscription();
|
|
26
|
+
}
|
|
27
|
+
unmount() {
|
|
28
|
+
this.node.animationState.reset(), this.unmountControls?.();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
u as AnimationFeature
|
|
33
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { getFeatureDefinitions as r, setFeatureDefinitions as s } from "../../../../../motion-dom/dist/es/render/VisualElement.js";
|
|
2
|
+
const n = {
|
|
3
|
+
animation: [
|
|
4
|
+
"animate",
|
|
5
|
+
"variants",
|
|
6
|
+
"whileHover",
|
|
7
|
+
"whileTap",
|
|
8
|
+
"exit",
|
|
9
|
+
"whileInView",
|
|
10
|
+
"whileFocus",
|
|
11
|
+
"whileDrag"
|
|
12
|
+
],
|
|
13
|
+
exit: ["exit"],
|
|
14
|
+
drag: ["drag", "dragControls"],
|
|
15
|
+
focus: ["whileFocus"],
|
|
16
|
+
hover: ["whileHover", "onHoverStart", "onHoverEnd"],
|
|
17
|
+
tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
|
|
18
|
+
pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
|
|
19
|
+
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
|
20
|
+
layout: ["layout", "layoutId"]
|
|
21
|
+
};
|
|
22
|
+
let t = !1;
|
|
23
|
+
function l() {
|
|
24
|
+
if (t)
|
|
25
|
+
return;
|
|
26
|
+
const e = {};
|
|
27
|
+
for (const i in n)
|
|
28
|
+
e[i] = {
|
|
29
|
+
isEnabled: (o) => n[i].some((a) => !!o[a])
|
|
30
|
+
};
|
|
31
|
+
s(e), t = !0;
|
|
32
|
+
}
|
|
33
|
+
function w() {
|
|
34
|
+
return l(), r();
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
w as getInitializedFeatureDefinitions,
|
|
38
|
+
l as initFeatureDefinitions
|
|
39
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DragGesture as r } from "../../gestures/drag/index.js";
|
|
2
|
+
import { PanGesture as o } from "../../gestures/pan/index.js";
|
|
3
|
+
import { MeasureLayout as e } from "./layout/MeasureLayout.js";
|
|
4
|
+
import { HTMLProjectionNode as t } from "../../../../../motion-dom/dist/es/projection/node/HTMLProjectionNode.js";
|
|
5
|
+
const u = {
|
|
6
|
+
pan: {
|
|
7
|
+
Feature: o
|
|
8
|
+
},
|
|
9
|
+
drag: {
|
|
10
|
+
Feature: r,
|
|
11
|
+
ProjectionNode: t,
|
|
12
|
+
MeasureLayout: e
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
u as drag
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HoverGesture as e } from "../../gestures/hover.js";
|
|
2
|
+
import { FocusGesture as r } from "../../gestures/focus.js";
|
|
3
|
+
import { PressGesture as t } from "../../gestures/press.js";
|
|
4
|
+
import { InViewFeature as o } from "./viewport/index.js";
|
|
5
|
+
const a = {
|
|
6
|
+
inView: {
|
|
7
|
+
Feature: o
|
|
8
|
+
},
|
|
9
|
+
tap: {
|
|
10
|
+
Feature: t
|
|
11
|
+
},
|
|
12
|
+
focus: {
|
|
13
|
+
Feature: r
|
|
14
|
+
},
|
|
15
|
+
hover: {
|
|
16
|
+
Feature: e
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
a as gestureAnimations
|
|
21
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as u, Component as l } from "react";
|
|
3
|
+
import { usePresence as c } from "../../../components/AnimatePresence/use-presence.js";
|
|
4
|
+
import { LayoutGroupContext as f } from "../../../context/LayoutGroupContext.js";
|
|
5
|
+
import { SwitchLayoutGroupContext as d } from "../../../context/SwitchLayoutGroupContext.js";
|
|
6
|
+
import { frame as h } from "../../../../../../motion-dom/dist/es/frameloop/frame.js";
|
|
7
|
+
import { microtask as y } from "../../../../../../motion-dom/dist/es/frameloop/microtask.js";
|
|
8
|
+
import { globalProjectionState as g } from "../../../../../../motion-dom/dist/es/projection/node/state.js";
|
|
9
|
+
let i = !1;
|
|
10
|
+
class v extends l {
|
|
11
|
+
/**
|
|
12
|
+
* This only mounts projection nodes for components that
|
|
13
|
+
* need measuring, we might want to do it for all components
|
|
14
|
+
* in order to incorporate transforms
|
|
15
|
+
*/
|
|
16
|
+
componentDidMount() {
|
|
17
|
+
const { visualElement: t, layoutGroup: o, switchLayoutGroup: e, layoutId: s } = this.props, { projection: n } = t;
|
|
18
|
+
n && (o.group && o.group.add(n), e && e.register && s && e.register(n), i && n.root.didUpdate(), n.addEventListener("animationComplete", () => {
|
|
19
|
+
this.safeToRemove();
|
|
20
|
+
}), n.setOptions({
|
|
21
|
+
...n.options,
|
|
22
|
+
layoutDependency: this.props.layoutDependency,
|
|
23
|
+
onExitComplete: () => this.safeToRemove()
|
|
24
|
+
})), g.hasEverUpdated = !0;
|
|
25
|
+
}
|
|
26
|
+
getSnapshotBeforeUpdate(t) {
|
|
27
|
+
const { layoutDependency: o, visualElement: e, drag: s, isPresent: n } = this.props, { projection: r } = e;
|
|
28
|
+
return r && (r.isPresent = n, t.layoutDependency !== o && r.setOptions({
|
|
29
|
+
...r.options,
|
|
30
|
+
layoutDependency: o
|
|
31
|
+
}), i = !0, s || t.layoutDependency !== o || o === void 0 || t.isPresent !== n ? r.willUpdate() : this.safeToRemove(), t.isPresent !== n && (n ? r.promote() : r.relegate() || h.postRender(() => {
|
|
32
|
+
const p = r.getStack();
|
|
33
|
+
(!p || !p.members.length) && this.safeToRemove();
|
|
34
|
+
}))), null;
|
|
35
|
+
}
|
|
36
|
+
componentDidUpdate() {
|
|
37
|
+
const { visualElement: t, layoutAnchor: o } = this.props, { projection: e } = t;
|
|
38
|
+
e && (e.options.layoutAnchor = o, e.root.didUpdate(), y.postRender(() => {
|
|
39
|
+
!e.currentAnimation && e.isLead() && this.safeToRemove();
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
componentWillUnmount() {
|
|
43
|
+
const { visualElement: t, layoutGroup: o, switchLayoutGroup: e } = this.props, { projection: s } = t;
|
|
44
|
+
i = !0, s && (s.scheduleCheckAfterUnmount(), o && o.group && o.group.remove(s), e && e.deregister && e.deregister(s));
|
|
45
|
+
}
|
|
46
|
+
safeToRemove() {
|
|
47
|
+
const { safeToRemove: t } = this.props;
|
|
48
|
+
t && t();
|
|
49
|
+
}
|
|
50
|
+
render() {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function E(a) {
|
|
55
|
+
const [t, o] = c(), e = u(f);
|
|
56
|
+
return m(v, { ...a, layoutGroup: e, switchLayoutGroup: u(d), isPresent: t, safeToRemove: o });
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
E as MeasureLayout
|
|
60
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MeasureLayout as o } from "./layout/MeasureLayout.js";
|
|
2
|
+
import { HTMLProjectionNode as t } from "../../../../../motion-dom/dist/es/projection/node/HTMLProjectionNode.js";
|
|
3
|
+
const a = {
|
|
4
|
+
layout: {
|
|
5
|
+
ProjectionNode: t,
|
|
6
|
+
MeasureLayout: o
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
a as layout
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { getInitializedFeatureDefinitions as o } from "./definitions.js";
|
|
2
|
+
import { setFeatureDefinitions as n } from "../../../../../motion-dom/dist/es/render/VisualElement.js";
|
|
3
|
+
function s(e) {
|
|
4
|
+
const i = o();
|
|
5
|
+
for (const t in e)
|
|
6
|
+
i[t] = {
|
|
7
|
+
...i[t],
|
|
8
|
+
...e[t]
|
|
9
|
+
};
|
|
10
|
+
n(i);
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
s as loadFeatures
|
|
14
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { observeIntersection as f } from "./observers.js";
|
|
2
|
+
import { Feature as m } from "../../../../../../motion-dom/dist/es/render/Feature.js";
|
|
3
|
+
const w = {
|
|
4
|
+
some: 0,
|
|
5
|
+
all: 1
|
|
6
|
+
};
|
|
7
|
+
class b extends m {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
|
|
10
|
+
}
|
|
11
|
+
startObserver() {
|
|
12
|
+
this.stopObserver?.();
|
|
13
|
+
const { viewport: s = {} } = this.node.getProps(), { root: e, margin: r, amount: n = "some", once: h } = s, p = {
|
|
14
|
+
root: e ? e.current : void 0,
|
|
15
|
+
rootMargin: r,
|
|
16
|
+
threshold: typeof n == "number" ? n : w[n]
|
|
17
|
+
}, c = (i) => {
|
|
18
|
+
const { isIntersecting: t } = i;
|
|
19
|
+
if (this.isInView === t || (this.isInView = t, h && !t && this.hasEnteredView))
|
|
20
|
+
return;
|
|
21
|
+
t && (this.hasEnteredView = !0), this.node.animationState && this.node.animationState.setActive("whileInView", t);
|
|
22
|
+
const { onViewportEnter: d, onViewportLeave: u } = this.node.getProps(), a = t ? d : u;
|
|
23
|
+
a && a(i);
|
|
24
|
+
};
|
|
25
|
+
this.stopObserver = f(this.node.current, p, c);
|
|
26
|
+
}
|
|
27
|
+
mount() {
|
|
28
|
+
this.startObserver();
|
|
29
|
+
}
|
|
30
|
+
update() {
|
|
31
|
+
if (typeof IntersectionObserver > "u")
|
|
32
|
+
return;
|
|
33
|
+
const { props: s, prevProps: e } = this.node;
|
|
34
|
+
["amount", "margin", "root"].some(l(s, e)) && this.startObserver();
|
|
35
|
+
}
|
|
36
|
+
unmount() {
|
|
37
|
+
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function l({ viewport: o = {} }, { viewport: s = {} } = {}) {
|
|
41
|
+
return (e) => o[e] !== s[e];
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
b as InViewFeature
|
|
45
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const c = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), a = (e) => {
|
|
2
|
+
const r = c.get(e.target);
|
|
3
|
+
r && r(e);
|
|
4
|
+
}, b = (e) => {
|
|
5
|
+
e.forEach(a);
|
|
6
|
+
};
|
|
7
|
+
function i({ root: e, ...r }) {
|
|
8
|
+
const t = e || document;
|
|
9
|
+
n.has(t) || n.set(t, {});
|
|
10
|
+
const s = n.get(t), o = JSON.stringify(r);
|
|
11
|
+
return s[o] || (s[o] = new IntersectionObserver(b, { root: e, ...r })), s[o];
|
|
12
|
+
}
|
|
13
|
+
function v(e, r, t) {
|
|
14
|
+
const s = i(r);
|
|
15
|
+
return c.set(e, t), s.observe(e), () => {
|
|
16
|
+
c.delete(e), s.unobserve(e);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
v as observeIntersection
|
|
21
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { jsxs as S, jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as x, useContext as l } from "react";
|
|
3
|
+
import { LayoutGroupContext as E } from "../context/LayoutGroupContext.js";
|
|
4
|
+
import { LazyContext as L } from "../context/LazyContext.js";
|
|
5
|
+
import { MotionConfigContext as V } from "../context/MotionConfigContext.js";
|
|
6
|
+
import { MotionContext as j } from "../context/MotionContext/index.js";
|
|
7
|
+
import { useCreateMotionContext as w } from "../context/MotionContext/create.js";
|
|
8
|
+
import { useRender as N } from "../render/dom/use-render.js";
|
|
9
|
+
import { isSVGComponent as P } from "../render/dom/utils/is-svg-component.js";
|
|
10
|
+
import { useHTMLVisualState as C } from "../render/html/use-html-visual-state.js";
|
|
11
|
+
import { useSVGVisualState as b } from "../render/svg/use-svg-visual-state.js";
|
|
12
|
+
import { getInitializedFeatureDefinitions as h } from "./features/definitions.js";
|
|
13
|
+
import { loadFeatures as z } from "./features/load-features.js";
|
|
14
|
+
import { motionComponentSymbol as G } from "./utils/symbol.js";
|
|
15
|
+
import { useMotionRef as D } from "./utils/use-motion-ref.js";
|
|
16
|
+
import { useVisualElement as R } from "./utils/use-visual-element.js";
|
|
17
|
+
import { warning as I, invariant as k } from "../../../../motion-utils/dist/es/errors.js";
|
|
18
|
+
function it(t, { forwardMotionProps: e = !1, type: i } = {}, o, s) {
|
|
19
|
+
o && z(o);
|
|
20
|
+
const m = i ? i === "svg" : P(t), M = m ? b : C;
|
|
21
|
+
function d(n, v) {
|
|
22
|
+
let u;
|
|
23
|
+
const r = {
|
|
24
|
+
...l(V),
|
|
25
|
+
...n,
|
|
26
|
+
layoutId: F(n)
|
|
27
|
+
}, { isStatic: c } = r, a = w(n), f = M(n, c);
|
|
28
|
+
if (!c && typeof window < "u") {
|
|
29
|
+
O(r, o);
|
|
30
|
+
const p = T(r);
|
|
31
|
+
u = p.MeasureLayout, a.visualElement = R(t, f, r, s, p.ProjectionNode, m);
|
|
32
|
+
}
|
|
33
|
+
return S(j.Provider, { value: a, children: [u && a.visualElement ? g(u, { visualElement: a.visualElement, ...r }) : null, N(t, n, D(f, a.visualElement, v), f, c, e, m)] });
|
|
34
|
+
}
|
|
35
|
+
d.displayName = `motion.${typeof t == "string" ? t : `create(${t.displayName ?? t.name ?? ""})`}`;
|
|
36
|
+
const y = x(d);
|
|
37
|
+
return y[G] = t, y;
|
|
38
|
+
}
|
|
39
|
+
function F({ layoutId: t }) {
|
|
40
|
+
const e = l(E).id;
|
|
41
|
+
return e && t !== void 0 ? e + "-" + t : t;
|
|
42
|
+
}
|
|
43
|
+
function O(t, e) {
|
|
44
|
+
const i = l(L).strict;
|
|
45
|
+
if (process.env.NODE_ENV !== "production" && e && i) {
|
|
46
|
+
const o = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
47
|
+
t.ignoreStrict ? I(!1, o, "lazy-strict-mode") : k(!1, o, "lazy-strict-mode");
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function T(t) {
|
|
51
|
+
const e = h(), { drag: i, layout: o } = e;
|
|
52
|
+
if (!i && !o)
|
|
53
|
+
return {};
|
|
54
|
+
const s = { ...i, ...o };
|
|
55
|
+
return {
|
|
56
|
+
MeasureLayout: i?.isEnabled(t) || o?.isEnabled(t) ? s.MeasureLayout : void 0,
|
|
57
|
+
ProjectionNode: s.ProjectionNode
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
it as createMotionComponent
|
|
62
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useRef as c, useInsertionEffect as l, useCallback as i } from "react";
|
|
2
|
+
function s(p, u, e) {
|
|
3
|
+
const t = c(e);
|
|
4
|
+
l(() => {
|
|
5
|
+
t.current = e;
|
|
6
|
+
});
|
|
7
|
+
const f = c(null);
|
|
8
|
+
return i((r) => {
|
|
9
|
+
r && p.onMount?.(r), u && (r ? u.mount(r) : u.unmount());
|
|
10
|
+
const o = t.current;
|
|
11
|
+
if (typeof o == "function")
|
|
12
|
+
if (r) {
|
|
13
|
+
const n = o(r);
|
|
14
|
+
typeof n == "function" && (f.current = n);
|
|
15
|
+
} else f.current ? (f.current(), f.current = null) : o(r);
|
|
16
|
+
else o && (o.current = r);
|
|
17
|
+
}, [u]);
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
s as useMotionRef
|
|
21
|
+
};
|