@fluidattacks/design 8.0.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/index.stories.d.ts +3 -1
- package/dist/components/tabs/styles.js +64 -0
- package/dist/components/tabs/tab/index.js +42 -4
- package/dist/components/tabs/types.d.ts +2 -2
- 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-BgqdC3aZ.mjs +0 -18009
- package/dist/vendor-i-lggy4V.mjs +0 -48982
- /package/dist/assets/{index.css → styles/global.css} +0 -0
|
@@ -0,0 +1,696 @@
|
|
|
1
|
+
import { createLazyMeasurementsView as R } from "./lazy-measurements.js";
|
|
2
|
+
import { memo as E, notUndefined as T, approxEqual as F, debounce as W } from "./utils.js";
|
|
3
|
+
let _;
|
|
4
|
+
const y = () => {
|
|
5
|
+
if (_ !== void 0) return _;
|
|
6
|
+
if (typeof navigator > "u") return _ = !1;
|
|
7
|
+
if (/iP(hone|od|ad)/.test(navigator.userAgent)) return _ = !0;
|
|
8
|
+
const l = navigator.maxTouchPoints;
|
|
9
|
+
return _ = navigator.platform === "MacIntel" && l !== void 0 && l > 0;
|
|
10
|
+
}, C = (l) => {
|
|
11
|
+
const { offsetWidth: h, offsetHeight: e } = l;
|
|
12
|
+
return { width: h, height: e };
|
|
13
|
+
}, k = (l) => l, D = (l) => {
|
|
14
|
+
const h = Math.max(l.startIndex - l.overscan, 0), s = Math.min(l.endIndex + l.overscan, l.count - 1) - h + 1, t = new Array(s);
|
|
15
|
+
for (let i = 0; i < s; i++)
|
|
16
|
+
t[i] = h + i;
|
|
17
|
+
return t;
|
|
18
|
+
}, J = (l, h) => {
|
|
19
|
+
const e = l.scrollElement;
|
|
20
|
+
if (!e)
|
|
21
|
+
return;
|
|
22
|
+
const s = l.targetWindow;
|
|
23
|
+
if (!s)
|
|
24
|
+
return;
|
|
25
|
+
const t = (n) => {
|
|
26
|
+
const { width: o, height: r } = n;
|
|
27
|
+
h({ width: Math.round(o), height: Math.round(r) });
|
|
28
|
+
};
|
|
29
|
+
if (t(C(e)), !s.ResizeObserver)
|
|
30
|
+
return () => {
|
|
31
|
+
};
|
|
32
|
+
const i = new s.ResizeObserver((n) => {
|
|
33
|
+
const o = () => {
|
|
34
|
+
const r = n[0];
|
|
35
|
+
if (r?.borderBoxSize) {
|
|
36
|
+
const a = r.borderBoxSize[0];
|
|
37
|
+
if (a) {
|
|
38
|
+
t({ width: a.inlineSize, height: a.blockSize });
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
t(C(e));
|
|
43
|
+
};
|
|
44
|
+
l.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(o) : o();
|
|
45
|
+
});
|
|
46
|
+
return i.observe(e, { box: "border-box" }), () => {
|
|
47
|
+
i.unobserve(e);
|
|
48
|
+
};
|
|
49
|
+
}, z = {
|
|
50
|
+
passive: !0
|
|
51
|
+
}, L = typeof window > "u" ? !0 : "onscrollend" in window, N = (l, h, e) => {
|
|
52
|
+
const s = l.scrollElement;
|
|
53
|
+
if (!s)
|
|
54
|
+
return;
|
|
55
|
+
const t = l.targetWindow;
|
|
56
|
+
if (!t)
|
|
57
|
+
return;
|
|
58
|
+
const i = l.options.useScrollendEvent && L;
|
|
59
|
+
let n = 0;
|
|
60
|
+
const o = i ? null : W(
|
|
61
|
+
t,
|
|
62
|
+
() => h(n, !1),
|
|
63
|
+
l.options.isScrollingResetDelay
|
|
64
|
+
), r = (d) => () => {
|
|
65
|
+
n = e(s), o?.(), h(n, d);
|
|
66
|
+
}, a = r(!0), c = r(!1);
|
|
67
|
+
return s.addEventListener("scroll", a, z), i && s.addEventListener("scrollend", c, z), () => {
|
|
68
|
+
s.removeEventListener("scroll", a), i && s.removeEventListener("scrollend", c);
|
|
69
|
+
};
|
|
70
|
+
}, K = (l, h) => N(l, h, (e) => {
|
|
71
|
+
const { horizontal: s, isRtl: t } = l.options;
|
|
72
|
+
return s ? e.scrollLeft * (t && -1 || 1) : e.scrollTop;
|
|
73
|
+
}), V = (l, h, e) => {
|
|
74
|
+
if (h?.borderBoxSize) {
|
|
75
|
+
const s = h.borderBoxSize[0];
|
|
76
|
+
if (s)
|
|
77
|
+
return Math.round(
|
|
78
|
+
s[e.options.horizontal ? "inlineSize" : "blockSize"]
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
return l[e.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
82
|
+
}, j = (l, {
|
|
83
|
+
adjustments: h = 0,
|
|
84
|
+
behavior: e
|
|
85
|
+
}, s) => {
|
|
86
|
+
var t, i;
|
|
87
|
+
(i = (t = s.scrollElement) == null ? void 0 : t.scrollTo) == null || i.call(t, {
|
|
88
|
+
[s.options.horizontal ? "left" : "top"]: l + h,
|
|
89
|
+
behavior: e
|
|
90
|
+
});
|
|
91
|
+
}, q = j;
|
|
92
|
+
class U {
|
|
93
|
+
constructor(h) {
|
|
94
|
+
this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollState = null, this.measurementsCache = [], this._flatMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = !1, this.lanesSettling = !1, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this._iosDeferredAdjustment = 0, this._iosTouching = !1, this._iosJustTouchEnded = !1, this._iosTouchEndTimerId = null, this._intendedScrollOffset = null, this.elementsCache = /* @__PURE__ */ new Map(), this.now = () => {
|
|
95
|
+
var e, s, t;
|
|
96
|
+
return ((t = (s = (e = this.targetWindow) == null ? void 0 : e.performance) == null ? void 0 : s.now) == null ? void 0 : t.call(s)) ?? Date.now();
|
|
97
|
+
}, this.observer = /* @__PURE__ */ (() => {
|
|
98
|
+
let e = null;
|
|
99
|
+
const s = () => e || (!this.targetWindow || !this.targetWindow.ResizeObserver ? null : e = new this.targetWindow.ResizeObserver((t) => {
|
|
100
|
+
t.forEach((i) => {
|
|
101
|
+
const n = () => {
|
|
102
|
+
const o = i.target, r = this.indexFromElement(o);
|
|
103
|
+
if (!o.isConnected) {
|
|
104
|
+
this.observer.unobserve(o);
|
|
105
|
+
for (const [a, c] of this.elementsCache)
|
|
106
|
+
if (c === o) {
|
|
107
|
+
this.elementsCache.delete(a);
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
this.shouldMeasureDuringScroll(r) && this.resizeItem(
|
|
113
|
+
r,
|
|
114
|
+
this.options.measureElement(o, i, this)
|
|
115
|
+
);
|
|
116
|
+
};
|
|
117
|
+
this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(n) : n();
|
|
118
|
+
});
|
|
119
|
+
}));
|
|
120
|
+
return {
|
|
121
|
+
disconnect: () => {
|
|
122
|
+
var t;
|
|
123
|
+
(t = s()) == null || t.disconnect(), e = null;
|
|
124
|
+
},
|
|
125
|
+
observe: (t) => {
|
|
126
|
+
var i;
|
|
127
|
+
return (i = s()) == null ? void 0 : i.observe(t, { box: "border-box" });
|
|
128
|
+
},
|
|
129
|
+
unobserve: (t) => {
|
|
130
|
+
var i;
|
|
131
|
+
return (i = s()) == null ? void 0 : i.unobserve(t);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
})(), this.range = null, this.setOptions = (e) => {
|
|
135
|
+
const s = {
|
|
136
|
+
debug: !1,
|
|
137
|
+
initialOffset: 0,
|
|
138
|
+
overscan: 1,
|
|
139
|
+
paddingStart: 0,
|
|
140
|
+
paddingEnd: 0,
|
|
141
|
+
scrollPaddingStart: 0,
|
|
142
|
+
scrollPaddingEnd: 0,
|
|
143
|
+
horizontal: !1,
|
|
144
|
+
getItemKey: k,
|
|
145
|
+
rangeExtractor: D,
|
|
146
|
+
onChange: () => {
|
|
147
|
+
},
|
|
148
|
+
measureElement: V,
|
|
149
|
+
initialRect: { width: 0, height: 0 },
|
|
150
|
+
scrollMargin: 0,
|
|
151
|
+
gap: 0,
|
|
152
|
+
indexAttribute: "data-index",
|
|
153
|
+
initialMeasurementsCache: [],
|
|
154
|
+
lanes: 1,
|
|
155
|
+
isScrollingResetDelay: 150,
|
|
156
|
+
enabled: !0,
|
|
157
|
+
isRtl: !1,
|
|
158
|
+
useScrollendEvent: !1,
|
|
159
|
+
useAnimationFrameWithResizeObserver: !1,
|
|
160
|
+
laneAssignmentMode: "estimate"
|
|
161
|
+
};
|
|
162
|
+
for (const t in e) {
|
|
163
|
+
const i = e[t];
|
|
164
|
+
i !== void 0 && (s[t] = i);
|
|
165
|
+
}
|
|
166
|
+
this.options = s;
|
|
167
|
+
}, this.notify = (e) => {
|
|
168
|
+
var s, t;
|
|
169
|
+
(t = (s = this.options).onChange) == null || t.call(s, this, e);
|
|
170
|
+
}, this.maybeNotify = E(
|
|
171
|
+
() => (this.calculateRange(), [
|
|
172
|
+
this.isScrolling,
|
|
173
|
+
this.range ? this.range.startIndex : null,
|
|
174
|
+
this.range ? this.range.endIndex : null
|
|
175
|
+
]),
|
|
176
|
+
(e) => {
|
|
177
|
+
this.notify(e);
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
key: process.env.NODE_ENV !== "production" && "maybeNotify",
|
|
181
|
+
debug: () => this.options.debug,
|
|
182
|
+
initialDeps: [
|
|
183
|
+
this.isScrolling,
|
|
184
|
+
this.range ? this.range.startIndex : null,
|
|
185
|
+
this.range ? this.range.endIndex : null
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
), this.cleanup = () => {
|
|
189
|
+
this.unsubs.filter(Boolean).forEach((e) => e()), this.unsubs = [], this.observer.disconnect(), this.rafId != null && this.targetWindow && (this.targetWindow.cancelAnimationFrame(this.rafId), this.rafId = null), this.scrollState = null, this.scrollElement = null, this.targetWindow = null;
|
|
190
|
+
}, this._didMount = () => () => {
|
|
191
|
+
this.cleanup();
|
|
192
|
+
}, this._willUpdate = () => {
|
|
193
|
+
var e;
|
|
194
|
+
const s = this.options.enabled ? this.options.getScrollElement() : null;
|
|
195
|
+
if (this.scrollElement !== s) {
|
|
196
|
+
if (this.cleanup(), !s) {
|
|
197
|
+
this.maybeNotify();
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
if (this.scrollElement = s, this.scrollElement && "ownerDocument" in this.scrollElement ? this.targetWindow = this.scrollElement.ownerDocument.defaultView : this.targetWindow = ((e = this.scrollElement) == null ? void 0 : e.window) ?? null, this.elementsCache.forEach((t) => {
|
|
201
|
+
this.observer.observe(t);
|
|
202
|
+
}), this.unsubs.push(
|
|
203
|
+
this.options.observeElementRect(this, (t) => {
|
|
204
|
+
this.scrollRect = t, this.maybeNotify();
|
|
205
|
+
})
|
|
206
|
+
), this.unsubs.push(
|
|
207
|
+
this.options.observeElementOffset(this, (t, i) => {
|
|
208
|
+
this._intendedScrollOffset !== null && Math.abs(t - this._intendedScrollOffset) < 1.5 && (t = this._intendedScrollOffset), this._intendedScrollOffset = null, this.scrollAdjustments = 0, this.scrollDirection = i ? this.getScrollOffset() < t ? "forward" : "backward" : null, this.scrollOffset = t, this.isScrolling = i, this._flushIosDeferredIfReady(), this.scrollState && this.scheduleScrollReconcile(), this.maybeNotify();
|
|
209
|
+
})
|
|
210
|
+
), "addEventListener" in this.scrollElement) {
|
|
211
|
+
const t = this.scrollElement, i = () => {
|
|
212
|
+
this._iosTouching = !0, this._iosJustTouchEnded = !1, this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
213
|
+
}, n = () => {
|
|
214
|
+
this._iosTouching = !1, !(!y() || this.targetWindow == null) && (this._iosJustTouchEnded = !0, this._iosTouchEndTimerId = this.targetWindow.setTimeout(() => {
|
|
215
|
+
this._iosJustTouchEnded = !1, this._iosTouchEndTimerId = null, this._flushIosDeferredIfReady();
|
|
216
|
+
}, 150));
|
|
217
|
+
};
|
|
218
|
+
t.addEventListener(
|
|
219
|
+
"touchstart",
|
|
220
|
+
i,
|
|
221
|
+
z
|
|
222
|
+
), t.addEventListener(
|
|
223
|
+
"touchend",
|
|
224
|
+
n,
|
|
225
|
+
z
|
|
226
|
+
), this.unsubs.push(() => {
|
|
227
|
+
t.removeEventListener("touchstart", i), t.removeEventListener("touchend", n), this._iosTouchEndTimerId !== null && this.targetWindow != null && (this.targetWindow.clearTimeout(this._iosTouchEndTimerId), this._iosTouchEndTimerId = null);
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
this._scrollToOffset(this.getScrollOffset(), {
|
|
231
|
+
adjustments: void 0,
|
|
232
|
+
behavior: void 0
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
}, this._flushIosDeferredIfReady = () => {
|
|
236
|
+
if (this._iosDeferredAdjustment === 0 || this.isScrolling || this._iosTouching || this._iosJustTouchEnded) return;
|
|
237
|
+
const e = this.getScrollOffset(), s = this.getMaxScrollOffset();
|
|
238
|
+
if (e < 0 || e > s) return;
|
|
239
|
+
const t = this._iosDeferredAdjustment;
|
|
240
|
+
this._iosDeferredAdjustment = 0, this._scrollToOffset(e, {
|
|
241
|
+
adjustments: this.scrollAdjustments += t,
|
|
242
|
+
behavior: void 0
|
|
243
|
+
});
|
|
244
|
+
}, this.rafId = null, this.getSize = () => this.options.enabled ? (this.scrollRect = this.scrollRect ?? this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0), this.getScrollOffset = () => this.options.enabled ? (this.scrollOffset = this.scrollOffset ?? (typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset), this.scrollOffset) : (this.scrollOffset = null, 0), this.getFurthestMeasurement = (e, s) => {
|
|
245
|
+
const t = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
246
|
+
for (let n = s - 1; n >= 0; n--) {
|
|
247
|
+
const o = e[n];
|
|
248
|
+
if (t.has(o.lane))
|
|
249
|
+
continue;
|
|
250
|
+
const r = i.get(
|
|
251
|
+
o.lane
|
|
252
|
+
);
|
|
253
|
+
if (r == null || o.end > r.end ? i.set(o.lane, o) : o.end < r.end && t.set(o.lane, !0), t.size === this.options.lanes)
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
return i.size === this.options.lanes ? Array.from(i.values()).sort((n, o) => n.end === o.end ? n.index - o.index : n.end - o.end)[0] : void 0;
|
|
257
|
+
}, this.getMeasurementOptions = E(
|
|
258
|
+
() => [
|
|
259
|
+
this.options.count,
|
|
260
|
+
this.options.paddingStart,
|
|
261
|
+
this.options.scrollMargin,
|
|
262
|
+
this.options.getItemKey,
|
|
263
|
+
this.options.enabled,
|
|
264
|
+
this.options.lanes,
|
|
265
|
+
this.options.laneAssignmentMode
|
|
266
|
+
],
|
|
267
|
+
(e, s, t, i, n, o, r) => (this.prevLanes !== void 0 && this.prevLanes !== o && (this.lanesChangedFlag = !0), this.prevLanes = o, this.pendingMin = null, {
|
|
268
|
+
count: e,
|
|
269
|
+
paddingStart: s,
|
|
270
|
+
scrollMargin: t,
|
|
271
|
+
getItemKey: i,
|
|
272
|
+
enabled: n,
|
|
273
|
+
lanes: o,
|
|
274
|
+
laneAssignmentMode: r
|
|
275
|
+
}),
|
|
276
|
+
{
|
|
277
|
+
key: !1
|
|
278
|
+
}
|
|
279
|
+
), this.getMeasurements = E(
|
|
280
|
+
() => [this.getMeasurementOptions(), this.itemSizeCacheVersion],
|
|
281
|
+
({
|
|
282
|
+
count: e,
|
|
283
|
+
paddingStart: s,
|
|
284
|
+
scrollMargin: t,
|
|
285
|
+
getItemKey: i,
|
|
286
|
+
enabled: n,
|
|
287
|
+
lanes: o,
|
|
288
|
+
laneAssignmentMode: r
|
|
289
|
+
}, a) => {
|
|
290
|
+
const c = this.itemSizeCache;
|
|
291
|
+
if (!n)
|
|
292
|
+
return this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), [];
|
|
293
|
+
if (this.laneAssignments.size > e)
|
|
294
|
+
for (const u of this.laneAssignments.keys())
|
|
295
|
+
u >= e && this.laneAssignments.delete(u);
|
|
296
|
+
this.lanesChangedFlag && (this.lanesChangedFlag = !1, this.lanesSettling = !0, this.measurementsCache = [], this.itemSizeCache.clear(), this.laneAssignments.clear(), this.pendingMin = null), this.measurementsCache.length === 0 && !this.lanesSettling && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((u) => {
|
|
297
|
+
this.itemSizeCache.set(u.key, u.size);
|
|
298
|
+
}));
|
|
299
|
+
const d = this.lanesSettling ? 0 : this.pendingMin ?? 0;
|
|
300
|
+
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === e && (this.lanesSettling = !1), o === 1) {
|
|
301
|
+
const u = this.options.gap, S = e * 2;
|
|
302
|
+
let m = this._flatMeasurements;
|
|
303
|
+
if (!m || m.length < S) {
|
|
304
|
+
const g = new Float64Array(S);
|
|
305
|
+
m && d > 0 && g.set(m.subarray(0, d * 2)), m = g, this._flatMeasurements = m;
|
|
306
|
+
}
|
|
307
|
+
let p;
|
|
308
|
+
if (d === 0)
|
|
309
|
+
p = s + t;
|
|
310
|
+
else {
|
|
311
|
+
const g = d - 1;
|
|
312
|
+
p = m[g * 2] + m[g * 2 + 1] + u;
|
|
313
|
+
}
|
|
314
|
+
for (let g = d; g < e; g++) {
|
|
315
|
+
const M = i(g), O = c.get(M), I = typeof O == "number" ? O : this.options.estimateSize(g);
|
|
316
|
+
m[g * 2] = p, m[g * 2 + 1] = I, p += I + u;
|
|
317
|
+
}
|
|
318
|
+
const v = R(e, m, i);
|
|
319
|
+
return this.measurementsCache = v, v;
|
|
320
|
+
}
|
|
321
|
+
const f = this.measurementsCache.slice(0, d), x = new Array(o).fill(
|
|
322
|
+
void 0
|
|
323
|
+
);
|
|
324
|
+
for (let u = 0; u < d; u++) {
|
|
325
|
+
const S = f[u];
|
|
326
|
+
S && (x[S.lane] = u);
|
|
327
|
+
}
|
|
328
|
+
for (let u = d; u < e; u++) {
|
|
329
|
+
const S = i(u), m = this.laneAssignments.get(u);
|
|
330
|
+
let p, v;
|
|
331
|
+
const g = r === "estimate" || c.has(S);
|
|
332
|
+
if (m !== void 0 && this.options.lanes > 1) {
|
|
333
|
+
p = m;
|
|
334
|
+
const b = x[p], w = b !== void 0 ? f[b] : void 0;
|
|
335
|
+
v = w ? w.end + this.options.gap : s + t;
|
|
336
|
+
} else {
|
|
337
|
+
const b = this.options.lanes === 1 ? f[u - 1] : this.getFurthestMeasurement(f, u);
|
|
338
|
+
v = b ? b.end + this.options.gap : s + t, p = b ? b.lane : u % this.options.lanes, this.options.lanes > 1 && g && this.laneAssignments.set(u, p);
|
|
339
|
+
}
|
|
340
|
+
const M = c.get(S), O = typeof M == "number" ? M : this.options.estimateSize(u), I = v + O;
|
|
341
|
+
f[u] = {
|
|
342
|
+
index: u,
|
|
343
|
+
start: v,
|
|
344
|
+
size: O,
|
|
345
|
+
end: I,
|
|
346
|
+
key: S,
|
|
347
|
+
lane: p
|
|
348
|
+
}, x[p] = u;
|
|
349
|
+
}
|
|
350
|
+
return this.measurementsCache = f, f;
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
key: process.env.NODE_ENV !== "production" && "getMeasurements",
|
|
354
|
+
debug: () => this.options.debug
|
|
355
|
+
}
|
|
356
|
+
), this.calculateRange = E(
|
|
357
|
+
() => [
|
|
358
|
+
this.getMeasurements(),
|
|
359
|
+
this.getSize(),
|
|
360
|
+
this.getScrollOffset(),
|
|
361
|
+
this.options.lanes
|
|
362
|
+
],
|
|
363
|
+
(e, s, t, i) => this.range = e.length > 0 && s > 0 ? P({
|
|
364
|
+
measurements: e,
|
|
365
|
+
outerSize: s,
|
|
366
|
+
scrollOffset: t,
|
|
367
|
+
lanes: i,
|
|
368
|
+
// Pass the typed array so binary search + forward-walk can
|
|
369
|
+
// read start/end directly from Float64Array, skipping the
|
|
370
|
+
// Proxy traps that materialize a full VirtualItem per probe.
|
|
371
|
+
flat: i === 1 && this._flatMeasurements != null ? this._flatMeasurements : null
|
|
372
|
+
}) : null,
|
|
373
|
+
{
|
|
374
|
+
key: process.env.NODE_ENV !== "production" && "calculateRange",
|
|
375
|
+
debug: () => this.options.debug
|
|
376
|
+
}
|
|
377
|
+
), this.getVirtualIndexes = E(
|
|
378
|
+
() => {
|
|
379
|
+
let e = null, s = null;
|
|
380
|
+
const t = this.calculateRange();
|
|
381
|
+
return t && (e = t.startIndex, s = t.endIndex), this.maybeNotify.updateDeps([this.isScrolling, e, s]), [
|
|
382
|
+
this.options.rangeExtractor,
|
|
383
|
+
this.options.overscan,
|
|
384
|
+
this.options.count,
|
|
385
|
+
e,
|
|
386
|
+
s
|
|
387
|
+
];
|
|
388
|
+
},
|
|
389
|
+
(e, s, t, i, n) => i === null || n === null ? [] : e({
|
|
390
|
+
startIndex: i,
|
|
391
|
+
endIndex: n,
|
|
392
|
+
overscan: s,
|
|
393
|
+
count: t
|
|
394
|
+
}),
|
|
395
|
+
{
|
|
396
|
+
key: process.env.NODE_ENV !== "production" && "getVirtualIndexes",
|
|
397
|
+
debug: () => this.options.debug
|
|
398
|
+
}
|
|
399
|
+
), this.indexFromElement = (e) => {
|
|
400
|
+
const s = this.options.indexAttribute, t = e.getAttribute(s);
|
|
401
|
+
return t ? parseInt(t, 10) : (console.warn(
|
|
402
|
+
`Missing attribute name '${s}={index}' on measured element.`
|
|
403
|
+
), -1);
|
|
404
|
+
}, this.shouldMeasureDuringScroll = (e) => {
|
|
405
|
+
var s;
|
|
406
|
+
if (!this.scrollState || this.scrollState.behavior !== "smooth")
|
|
407
|
+
return !0;
|
|
408
|
+
const t = this.scrollState.index ?? ((s = this.getVirtualItemForOffset(this.scrollState.lastTargetOffset)) == null ? void 0 : s.index);
|
|
409
|
+
if (t !== void 0 && this.range) {
|
|
410
|
+
const i = Math.max(
|
|
411
|
+
this.options.overscan,
|
|
412
|
+
Math.ceil((this.range.endIndex - this.range.startIndex) / 2)
|
|
413
|
+
), n = Math.max(0, t - i), o = Math.min(
|
|
414
|
+
this.options.count - 1,
|
|
415
|
+
t + i
|
|
416
|
+
);
|
|
417
|
+
return e >= n && e <= o;
|
|
418
|
+
}
|
|
419
|
+
return !0;
|
|
420
|
+
}, this.measureElement = (e) => {
|
|
421
|
+
if (!e) {
|
|
422
|
+
this.elementsCache.forEach((n, o) => {
|
|
423
|
+
n.isConnected || (this.observer.unobserve(n), this.elementsCache.delete(o));
|
|
424
|
+
});
|
|
425
|
+
return;
|
|
426
|
+
}
|
|
427
|
+
const s = this.indexFromElement(e), t = this.options.getItemKey(s), i = this.elementsCache.get(t);
|
|
428
|
+
i !== e && (i && this.observer.unobserve(i), this.observer.observe(e), this.elementsCache.set(t, e)), (!this.isScrolling || this.scrollState) && this.shouldMeasureDuringScroll(s) && this.resizeItem(s, this.options.measureElement(e, void 0, this));
|
|
429
|
+
}, this.resizeItem = (e, s) => {
|
|
430
|
+
var t;
|
|
431
|
+
if (e < 0 || e >= this.options.count) return;
|
|
432
|
+
let i, n, o;
|
|
433
|
+
const r = this._flatMeasurements;
|
|
434
|
+
if (this.options.lanes === 1 && r !== null)
|
|
435
|
+
o = this.options.getItemKey(e), n = r[e * 2], i = r[e * 2 + 1];
|
|
436
|
+
else {
|
|
437
|
+
const d = this.measurementsCache[e];
|
|
438
|
+
if (!d) return;
|
|
439
|
+
o = d.key, n = d.start, i = d.size;
|
|
440
|
+
}
|
|
441
|
+
const a = this.itemSizeCache.get(o) ?? i, c = s - a;
|
|
442
|
+
c !== 0 && (((t = this.scrollState) == null ? void 0 : t.behavior) !== "smooth" && (this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(
|
|
443
|
+
// The callback expects a VirtualItem; build one lazily only
|
|
444
|
+
// when the consumer actually supplied a custom predicate.
|
|
445
|
+
this.measurementsCache[e] ?? {
|
|
446
|
+
index: e,
|
|
447
|
+
key: o,
|
|
448
|
+
start: n,
|
|
449
|
+
size: i,
|
|
450
|
+
end: n + i,
|
|
451
|
+
lane: 0
|
|
452
|
+
},
|
|
453
|
+
c,
|
|
454
|
+
this
|
|
455
|
+
) : (
|
|
456
|
+
// Default: adjust scrollTop only when the resize is an above-
|
|
457
|
+
// viewport item AND we're not actively scrolling backward.
|
|
458
|
+
// Adjusting during backward scroll fights the user's scroll
|
|
459
|
+
// direction and produces the "items jump while scrolling up"
|
|
460
|
+
// jank reported across many issues. Users who want the old
|
|
461
|
+
// behavior can pass shouldAdjustScrollPositionOnItemSizeChange.
|
|
462
|
+
n < this.getScrollOffset() + this.scrollAdjustments && this.scrollDirection !== "backward"
|
|
463
|
+
)) && (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", c), y() && (this.isScrolling || this._iosTouching || this._iosJustTouchEnded) ? this._iosDeferredAdjustment += c : this._scrollToOffset(this.getScrollOffset(), {
|
|
464
|
+
adjustments: this.scrollAdjustments += c,
|
|
465
|
+
behavior: void 0
|
|
466
|
+
})), (this.pendingMin === null || e < this.pendingMin) && (this.pendingMin = e), this.itemSizeCache.set(o, s), this.itemSizeCacheVersion++, this.notify(!1));
|
|
467
|
+
}, this.getVirtualItems = E(
|
|
468
|
+
() => [this.getVirtualIndexes(), this.getMeasurements()],
|
|
469
|
+
(e, s) => {
|
|
470
|
+
const t = [];
|
|
471
|
+
for (let i = 0, n = e.length; i < n; i++) {
|
|
472
|
+
const o = e[i], r = s[o];
|
|
473
|
+
t.push(r);
|
|
474
|
+
}
|
|
475
|
+
return t;
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
key: process.env.NODE_ENV !== "production" && "getVirtualItems",
|
|
479
|
+
debug: () => this.options.debug
|
|
480
|
+
}
|
|
481
|
+
), this.getVirtualItemForOffset = (e) => {
|
|
482
|
+
const s = this.getMeasurements();
|
|
483
|
+
if (s.length === 0)
|
|
484
|
+
return;
|
|
485
|
+
const t = this._flatMeasurements, i = this.options.lanes === 1 && t != null, n = A(
|
|
486
|
+
0,
|
|
487
|
+
s.length - 1,
|
|
488
|
+
i ? (o) => t[o * 2] : (o) => T(s[o]).start,
|
|
489
|
+
e
|
|
490
|
+
);
|
|
491
|
+
return T(s[n]);
|
|
492
|
+
}, this.getMaxScrollOffset = () => {
|
|
493
|
+
if (!this.scrollElement) return 0;
|
|
494
|
+
if ("scrollHeight" in this.scrollElement)
|
|
495
|
+
return this.options.horizontal ? this.scrollElement.scrollWidth - this.scrollElement.clientWidth : this.scrollElement.scrollHeight - this.scrollElement.clientHeight;
|
|
496
|
+
{
|
|
497
|
+
const e = this.scrollElement.document.documentElement;
|
|
498
|
+
return this.options.horizontal ? e.scrollWidth - this.scrollElement.innerWidth : e.scrollHeight - this.scrollElement.innerHeight;
|
|
499
|
+
}
|
|
500
|
+
}, this.getOffsetForAlignment = (e, s, t = 0) => {
|
|
501
|
+
if (!this.scrollElement) return 0;
|
|
502
|
+
const i = this.getSize(), n = this.getScrollOffset();
|
|
503
|
+
s === "auto" && (s = e >= n + i ? "end" : "start"), s === "center" ? e += (t - i) / 2 : s === "end" && (e -= i);
|
|
504
|
+
const o = this.getMaxScrollOffset();
|
|
505
|
+
return Math.max(Math.min(o, e), 0);
|
|
506
|
+
}, this.getOffsetForIndex = (e, s = "auto") => {
|
|
507
|
+
e = Math.max(0, Math.min(e, this.options.count - 1));
|
|
508
|
+
const t = this.getSize(), i = this.getScrollOffset(), n = this.measurementsCache[e];
|
|
509
|
+
if (!n) return;
|
|
510
|
+
if (s === "auto")
|
|
511
|
+
if (n.end >= i + t - this.options.scrollPaddingEnd)
|
|
512
|
+
s = "end";
|
|
513
|
+
else if (n.start <= i + this.options.scrollPaddingStart)
|
|
514
|
+
s = "start";
|
|
515
|
+
else
|
|
516
|
+
return [i, s];
|
|
517
|
+
if (s === "end" && e === this.options.count - 1)
|
|
518
|
+
return [this.getMaxScrollOffset(), s];
|
|
519
|
+
const o = s === "end" ? n.end + this.options.scrollPaddingEnd : n.start - this.options.scrollPaddingStart;
|
|
520
|
+
return [
|
|
521
|
+
this.getOffsetForAlignment(o, s, n.size),
|
|
522
|
+
s
|
|
523
|
+
];
|
|
524
|
+
}, this.scrollToOffset = (e, { align: s = "start", behavior: t = "auto" } = {}) => {
|
|
525
|
+
const i = this.getOffsetForAlignment(e, s), n = this.now();
|
|
526
|
+
this.scrollState = {
|
|
527
|
+
index: null,
|
|
528
|
+
align: s,
|
|
529
|
+
behavior: t,
|
|
530
|
+
startedAt: n,
|
|
531
|
+
lastTargetOffset: i,
|
|
532
|
+
stableFrames: 0
|
|
533
|
+
}, this._scrollToOffset(i, { adjustments: void 0, behavior: t }), this.scheduleScrollReconcile();
|
|
534
|
+
}, this.scrollToIndex = (e, {
|
|
535
|
+
align: s = "auto",
|
|
536
|
+
behavior: t = "auto"
|
|
537
|
+
} = {}) => {
|
|
538
|
+
e = Math.max(0, Math.min(e, this.options.count - 1));
|
|
539
|
+
const i = this.getOffsetForIndex(e, s);
|
|
540
|
+
if (!i)
|
|
541
|
+
return;
|
|
542
|
+
const [n, o] = i, r = this.now();
|
|
543
|
+
this.scrollState = {
|
|
544
|
+
index: e,
|
|
545
|
+
align: o,
|
|
546
|
+
behavior: t,
|
|
547
|
+
startedAt: r,
|
|
548
|
+
lastTargetOffset: n,
|
|
549
|
+
stableFrames: 0
|
|
550
|
+
}, this._scrollToOffset(n, { adjustments: void 0, behavior: t }), this.scheduleScrollReconcile();
|
|
551
|
+
}, this.scrollBy = (e, { behavior: s = "auto" } = {}) => {
|
|
552
|
+
const t = this.getScrollOffset() + e, i = this.now();
|
|
553
|
+
this.scrollState = {
|
|
554
|
+
index: null,
|
|
555
|
+
align: "start",
|
|
556
|
+
behavior: s,
|
|
557
|
+
startedAt: i,
|
|
558
|
+
lastTargetOffset: t,
|
|
559
|
+
stableFrames: 0
|
|
560
|
+
}, this._scrollToOffset(t, { adjustments: void 0, behavior: s }), this.scheduleScrollReconcile();
|
|
561
|
+
}, this.getTotalSize = () => {
|
|
562
|
+
var e;
|
|
563
|
+
const s = this.getMeasurements();
|
|
564
|
+
let t;
|
|
565
|
+
if (s.length === 0)
|
|
566
|
+
t = this.options.paddingStart;
|
|
567
|
+
else if (this.options.lanes === 1) {
|
|
568
|
+
const i = s.length - 1, n = this._flatMeasurements;
|
|
569
|
+
n != null ? t = n[i * 2] + n[i * 2 + 1] : t = ((e = s[i]) == null ? void 0 : e.end) ?? 0;
|
|
570
|
+
} else {
|
|
571
|
+
const i = Array(this.options.lanes).fill(null);
|
|
572
|
+
let n = s.length - 1;
|
|
573
|
+
for (; n >= 0 && i.some((o) => o === null); ) {
|
|
574
|
+
const o = s[n];
|
|
575
|
+
i[o.lane] === null && (i[o.lane] = o.end), n--;
|
|
576
|
+
}
|
|
577
|
+
t = Math.max(...i.filter((o) => o !== null));
|
|
578
|
+
}
|
|
579
|
+
return Math.max(
|
|
580
|
+
t - this.options.scrollMargin + this.options.paddingEnd,
|
|
581
|
+
0
|
|
582
|
+
);
|
|
583
|
+
}, this.takeSnapshot = () => {
|
|
584
|
+
const e = [];
|
|
585
|
+
if (this.itemSizeCache.size === 0) return e;
|
|
586
|
+
const s = this.getMeasurements();
|
|
587
|
+
for (const t of s)
|
|
588
|
+
t && this.itemSizeCache.has(t.key) && e.push({
|
|
589
|
+
index: t.index,
|
|
590
|
+
key: t.key,
|
|
591
|
+
start: t.start,
|
|
592
|
+
size: t.size,
|
|
593
|
+
end: t.end,
|
|
594
|
+
lane: t.lane
|
|
595
|
+
});
|
|
596
|
+
return e;
|
|
597
|
+
}, this._scrollToOffset = (e, {
|
|
598
|
+
adjustments: s,
|
|
599
|
+
behavior: t
|
|
600
|
+
}) => {
|
|
601
|
+
this._intendedScrollOffset = e + (s ?? 0), this.options.scrollToFn(e, { behavior: t, adjustments: s }, this);
|
|
602
|
+
}, this.measure = () => {
|
|
603
|
+
this.pendingMin = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), this.itemSizeCacheVersion++, this.notify(!1);
|
|
604
|
+
}, this.setOptions(h);
|
|
605
|
+
}
|
|
606
|
+
scheduleScrollReconcile() {
|
|
607
|
+
if (!this.targetWindow) {
|
|
608
|
+
this.scrollState = null;
|
|
609
|
+
return;
|
|
610
|
+
}
|
|
611
|
+
this.rafId == null && (this.rafId = this.targetWindow.requestAnimationFrame(() => {
|
|
612
|
+
this.rafId = null, this.reconcileScroll();
|
|
613
|
+
}));
|
|
614
|
+
}
|
|
615
|
+
reconcileScroll() {
|
|
616
|
+
if (!this.scrollState || !this.scrollElement) return;
|
|
617
|
+
if (this.now() - this.scrollState.startedAt > 5e3) {
|
|
618
|
+
this.scrollState = null;
|
|
619
|
+
return;
|
|
620
|
+
}
|
|
621
|
+
const s = this.scrollState.index != null ? this.getOffsetForIndex(this.scrollState.index, this.scrollState.align) : void 0, t = s ? s[0] : this.scrollState.lastTargetOffset, i = 1, n = t !== this.scrollState.lastTargetOffset;
|
|
622
|
+
if (!n && F(t, this.getScrollOffset())) {
|
|
623
|
+
if (this.scrollState.stableFrames++, this.scrollState.stableFrames >= i) {
|
|
624
|
+
this.getScrollOffset() !== t && this._scrollToOffset(t, {
|
|
625
|
+
adjustments: void 0,
|
|
626
|
+
behavior: "auto"
|
|
627
|
+
}), this.scrollState = null;
|
|
628
|
+
return;
|
|
629
|
+
}
|
|
630
|
+
} else if (this.scrollState.stableFrames = 0, n) {
|
|
631
|
+
const o = this.getSize() || 600, r = Math.abs(t - this.getScrollOffset()), a = this.scrollState.behavior === "smooth" && r > o;
|
|
632
|
+
this.scrollState.lastTargetOffset = t, a || (this.scrollState.behavior = "auto"), this._scrollToOffset(t, {
|
|
633
|
+
adjustments: void 0,
|
|
634
|
+
behavior: a ? "smooth" : "auto"
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
this.scheduleScrollReconcile();
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
const A = (l, h, e, s) => {
|
|
641
|
+
for (; l <= h; ) {
|
|
642
|
+
const t = (l + h) / 2 | 0, i = e(t);
|
|
643
|
+
if (i < s)
|
|
644
|
+
l = t + 1;
|
|
645
|
+
else if (i > s)
|
|
646
|
+
h = t - 1;
|
|
647
|
+
else
|
|
648
|
+
return t;
|
|
649
|
+
}
|
|
650
|
+
return l > 0 ? l - 1 : 0;
|
|
651
|
+
};
|
|
652
|
+
function P({
|
|
653
|
+
measurements: l,
|
|
654
|
+
outerSize: h,
|
|
655
|
+
scrollOffset: e,
|
|
656
|
+
lanes: s,
|
|
657
|
+
flat: t
|
|
658
|
+
}) {
|
|
659
|
+
const i = l.length - 1, n = t ? (c) => t[c * 2] : (c) => l[c].start, o = t ? (c) => t[c * 2] + t[c * 2 + 1] : (c) => l[c].end;
|
|
660
|
+
if (l.length <= s)
|
|
661
|
+
return {
|
|
662
|
+
startIndex: 0,
|
|
663
|
+
endIndex: i
|
|
664
|
+
};
|
|
665
|
+
let r = A(0, i, n, e), a = r;
|
|
666
|
+
if (s === 1)
|
|
667
|
+
for (; a < i && o(a) < e + h; )
|
|
668
|
+
a++;
|
|
669
|
+
else if (s > 1) {
|
|
670
|
+
const c = Array(s).fill(0);
|
|
671
|
+
for (; a < i && c.some((f) => f < e + h); ) {
|
|
672
|
+
const f = l[a];
|
|
673
|
+
c[f.lane] = f.end, a++;
|
|
674
|
+
}
|
|
675
|
+
const d = Array(s).fill(e + h);
|
|
676
|
+
for (; r >= 0 && d.some((f) => f >= e); ) {
|
|
677
|
+
const f = l[r];
|
|
678
|
+
d[f.lane] = f.start, r--;
|
|
679
|
+
}
|
|
680
|
+
r = Math.max(0, r - r % s), a = Math.min(i, a + (s - 1 - a % s));
|
|
681
|
+
}
|
|
682
|
+
return { startIndex: r, endIndex: a };
|
|
683
|
+
}
|
|
684
|
+
export {
|
|
685
|
+
U as Virtualizer,
|
|
686
|
+
F as approxEqual,
|
|
687
|
+
W as debounce,
|
|
688
|
+
k as defaultKeyExtractor,
|
|
689
|
+
D as defaultRangeExtractor,
|
|
690
|
+
q as elementScroll,
|
|
691
|
+
V as measureElement,
|
|
692
|
+
E as memo,
|
|
693
|
+
T as notUndefined,
|
|
694
|
+
K as observeElementOffset,
|
|
695
|
+
J as observeElementRect
|
|
696
|
+
};
|