@fluidattacks/design 8.1.0 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.js +8 -0
- package/dist/_virtual/_nodeUtil.js +4 -0
- package/dist/_virtual/capitalize.js +7 -0
- package/dist/_virtual/dayjs.min.js +8 -0
- package/dist/_virtual/dayjs.min2.js +4 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index.umd.js +7 -0
- package/dist/_virtual/index.umd2.js +4 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +7 -0
- package/dist/_virtual/index4.js +7 -0
- package/dist/_virtual/index5.js +4 -0
- package/dist/_virtual/index6.js +4 -0
- package/dist/_virtual/index7.js +5 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index9.js +4 -0
- package/dist/_virtual/isBuffer.js +4 -0
- package/dist/_virtual/isEmpty.js +7 -0
- package/dist/_virtual/isEqual.js +7 -0
- package/dist/_virtual/isNaN.js +7 -0
- package/dist/_virtual/isNil.js +7 -0
- package/dist/_virtual/isNumber.js +7 -0
- package/dist/_virtual/isUndefined.js +7 -0
- package/dist/_virtual/localizedFormat.js +7 -0
- package/dist/_virtual/localizedFormat2.js +4 -0
- package/dist/_virtual/lodash.js +8 -0
- package/dist/_virtual/lodash2.js +4 -0
- package/dist/_virtual/lowerFirst.js +7 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/scrollparent.js +7 -0
- package/dist/_virtual/scrollparent2.js +4 -0
- package/dist/_virtual/snakeCase.js +7 -0
- package/dist/_virtual/some.js +7 -0
- package/dist/_virtual/transform.js +7 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +4 -0
- package/dist/_virtual/use-sync-external-store-shim.production.js +4 -0
- package/dist/components/@core/constants.js +78 -0
- package/dist/components/@core/index.js +18 -15
- package/dist/components/@core/styles.js +43 -0
- package/dist/components/@core/utils.js +115 -0
- package/dist/components/@core/variants/utils.js +6 -0
- package/dist/components/accordion/accordion-content/index.js +23 -3
- package/dist/components/accordion/index.js +93 -5
- package/dist/components/advanced-badge/index.js +75 -4
- package/dist/components/advisories-card/index.js +149 -5
- package/dist/components/alert/index.js +91 -4
- package/dist/components/alert/styles.js +116 -0
- package/dist/components/avatar/index.js +80 -5
- package/dist/components/avatar/styles.js +86 -0
- package/dist/components/button/index.js +104 -4
- package/dist/components/button/styles.js +117 -0
- package/dist/components/card/card-header/index.js +92 -4
- package/dist/components/card/card-with-image/index.js +93 -5
- package/dist/components/card/card-with-input/index.js +142 -5
- package/dist/components/card/card-with-input/styles.js +29 -0
- package/dist/components/card/card-with-options/index.js +83 -5
- package/dist/components/card/card-with-selector/index.js +134 -4
- package/dist/components/card/card-with-selector/styles.js +34 -0
- package/dist/components/card/card-with-switch/index.js +46 -4
- package/dist/components/card/index.js +13 -7
- package/dist/components/card/indicator-card/index.js +73 -5
- package/dist/components/card-container/index.js +30 -4
- package/dist/components/carousel/index.js +43 -6
- package/dist/components/carousel/styles.js +39 -0
- package/dist/components/checkbox/index.js +68 -4
- package/dist/components/checkbox/styles.js +82 -0
- package/dist/components/circular-progress/index.js +94 -4
- package/dist/components/cloud-image/index.js +25 -6
- package/dist/components/code-snippet/constants.js +72 -0
- package/dist/components/code-snippet/index.js +176 -6
- package/dist/components/colors/index.js +210 -6
- package/dist/components/conditions-dialog/index.js +88 -6
- package/dist/components/confirm-dialog/index.js +40 -6
- package/dist/components/container/index.js +31 -4
- package/dist/components/container/styles.js +23 -0
- package/dist/components/copy-button/index.js +41 -4
- package/dist/components/divider/index.js +25 -4
- package/dist/components/drawer/index.js +229 -6
- package/dist/components/drawer/styles.js +64 -0
- package/dist/components/dropdown/index.js +77 -6
- package/dist/components/dropdown/styles.js +45 -0
- package/dist/components/empty-state/empty-button/index.js +13 -3
- package/dist/components/empty-state/index.js +60 -3
- package/dist/components/empty-state/styles.js +41 -0
- package/dist/components/fa-tag/index.js +30 -3
- package/dist/components/fa-tag/styles.js +53 -0
- package/dist/components/file-preview/index.js +16 -3
- package/dist/components/file-preview/styles.js +27 -0
- package/dist/components/file-preview/utils.js +10 -0
- package/dist/components/filters/active-filters/active-filter/index.js +59 -3
- package/dist/components/filters/active-filters/index.js +49 -3
- package/dist/components/filters/active-filters/utils.js +64 -0
- package/dist/components/filters/context/index.js +17 -3
- package/dist/components/filters/filters-menu/index.js +199 -6
- package/dist/components/filters/hooks.js +25 -0
- package/dist/components/filters/index.js +219 -7
- package/dist/components/filters/options-menu/include-exclude/index.js +135 -5
- package/dist/components/filters/options-menu/include-exclude/multi-select.js +151 -0
- package/dist/components/filters/options-menu/include-exclude/styles.js +119 -0
- package/dist/components/filters/options-menu/index.js +289 -6
- package/dist/components/filters/options-menu/options/index.js +360 -6
- package/dist/components/filters/options-menu/single-select/index.js +236 -6
- package/dist/components/filters/options-menu/single-select/styles.js +33 -0
- package/dist/components/filters/options-menu/utils.js +4 -0
- package/dist/components/filters/search/no-matches/index.js +51 -4
- package/dist/components/filters/styles.js +121 -0
- package/dist/components/filters/utils.js +36 -0
- package/dist/components/form/index.js +103 -11
- package/dist/components/form/inner-form/index.js +8 -3
- package/dist/components/form/styles.js +15 -0
- package/dist/components/grid-container/index.js +33 -4
- package/dist/components/grid-container/styles.js +26 -0
- package/dist/components/group-selector/index.js +143 -6
- package/dist/components/group-selector/option-container/index.js +30 -6
- package/dist/components/group-selector/styles.js +42 -0
- package/dist/components/icon/index.js +54 -4
- package/dist/components/icon/styles.js +60 -0
- package/dist/components/icon-button/index.js +58 -4
- package/dist/components/icon-button/styles.js +29 -0
- package/dist/components/indicator-card-db/index.js +71 -5
- package/dist/components/indicator-card-db/styles.js +22 -0
- package/dist/components/inputs/fields/combobox/field/index.js +431 -6
- package/dist/components/inputs/fields/combobox/index.js +94 -4
- package/dist/components/inputs/fields/combobox/option/index.js +121 -6
- package/dist/components/inputs/fields/combobox/styles.js +132 -0
- package/dist/components/inputs/fields/date/calendar/cell/index.js +25 -5
- package/dist/components/inputs/fields/date/calendar/grid/index.js +23 -4
- package/dist/components/inputs/fields/date/calendar/header/index.js +42 -5
- package/dist/components/inputs/fields/date/calendar/index.js +29 -4
- package/dist/components/inputs/fields/date/calendar/styles.js +144 -0
- package/dist/components/inputs/fields/date/index.js +87 -5
- package/dist/components/inputs/fields/date-range/calendar/index.js +34 -5
- package/dist/components/inputs/fields/date-range/index.js +137 -5
- package/dist/components/inputs/fields/date-range/styles.js +16 -0
- package/dist/components/inputs/fields/date-time/calendar/index.js +49 -5
- package/dist/components/inputs/fields/date-time/calendar/styles.js +21 -0
- package/dist/components/inputs/fields/date-time/index.js +107 -5
- package/dist/components/inputs/fields/editable/index.js +26 -4
- package/dist/components/inputs/fields/input-array/field/index.js +69 -4
- package/dist/components/inputs/fields/input-array/index.js +65 -5
- package/dist/components/inputs/fields/input-file/default/index.js +65 -4
- package/dist/components/inputs/fields/input-file/dropzone/index.js +218 -5
- package/dist/components/inputs/fields/input-file/index.js +124 -5
- package/dist/components/inputs/fields/input-file/styles.js +137 -0
- package/dist/components/inputs/fields/input-section/index.js +29 -3
- package/dist/components/inputs/fields/input-tags/field/index.js +117 -5
- package/dist/components/inputs/fields/input-tags/index.js +64 -4
- package/dist/components/inputs/fields/input-tags/styles.js +11 -0
- package/dist/components/inputs/fields/number/compact/index.js +38 -4
- package/dist/components/inputs/fields/number/index.js +83 -3
- package/dist/components/inputs/fields/number-range/index.js +57 -3
- package/dist/components/inputs/fields/phone/index.js +181 -7
- package/dist/components/inputs/fields/phone/styles.js +110 -0
- package/dist/components/inputs/fields/text-area/index.js +94 -4
- package/dist/components/inputs/fields/text-input/index.js +133 -5
- package/dist/components/inputs/index.js +31 -16
- package/dist/components/inputs/label/index.js +51 -5
- package/dist/components/inputs/outline-container/index.js +106 -4
- package/dist/components/inputs/styles.js +264 -0
- package/dist/components/inputs/utils/action-button/index.js +29 -4
- package/dist/components/inputs/utils/calendar-button/index.js +35 -5
- package/dist/components/inputs/utils/date-selector/index.js +85 -4
- package/dist/components/inputs/utils/date-time-field/index.js +133 -7
- package/dist/components/inputs/utils/dialog/index.js +12 -5
- package/dist/components/inputs/utils/number-field/index.js +190 -6
- package/dist/components/inputs/utils/popover/index.js +61 -6
- package/dist/components/inputs/utils/styles.js +113 -0
- package/dist/components/inputs/utils.js +44 -0
- package/dist/components/item-card-db/index.js +70 -4
- package/dist/components/item-card-db/styles.js +47 -0
- package/dist/components/language-switcher/index.js +92 -7
- package/dist/components/language-switcher/language-option/index.js +35 -5
- package/dist/components/language-switcher/spinner/index.js +15 -3
- package/dist/components/language-switcher/styles.js +121 -0
- package/dist/components/layout/categories/buttons/index.js +14 -4
- package/dist/components/layout/categories/column/index.js +23 -3
- package/dist/components/layout/categories/column/styles.js +32 -0
- package/dist/components/layout/categories/gap/index.js +3 -2
- package/dist/components/layout/categories/gap/styles.js +17 -0
- package/dist/components/layout/categories/row/index.js +19 -3
- package/dist/components/layout/categories/row/styles.js +30 -0
- package/dist/components/layout/index.js +9 -6
- package/dist/components/link/index.js +61 -3
- package/dist/components/link/styles.js +57 -0
- package/dist/components/list-item/index.js +69 -6
- package/dist/components/list-item/styles.js +64 -0
- package/dist/components/little-flag/index.js +17 -3
- package/dist/components/little-flag/styles.js +18 -0
- package/dist/components/loading/index.js +22 -4
- package/dist/components/loading/styles.js +71 -0
- package/dist/components/loading/types.js +4 -0
- package/dist/components/logo/index.js +11 -3
- package/dist/components/lottie/index.js +7 -3
- package/dist/components/lottie/styles.js +16 -0
- package/dist/components/menu/index.js +57 -5
- package/dist/components/message-banner/index.js +76 -5
- package/dist/components/message-banner/styles.js +23 -0
- package/dist/components/modal/columns-modal/index.js +146 -6
- package/dist/components/modal/columns-modal/preview-panel/index.js +100 -5
- package/dist/components/modal/columns-modal/preview-panel/styles.js +29 -0
- package/dist/components/modal/columns-modal/search-panel/index.js +127 -4
- package/dist/components/modal/columns-modal/search-panel/styles.js +22 -0
- package/dist/components/modal/footer/index.js +57 -5
- package/dist/components/modal/header/index.js +65 -6
- package/dist/components/modal/index.js +112 -10
- package/dist/components/modal/modal-confirm/index.js +50 -3
- package/dist/components/modal/styles.js +156 -0
- package/dist/components/modal/utils.js +13 -0
- package/dist/components/notification/index.js +63 -5
- package/dist/components/notification/styles.js +62 -0
- package/dist/components/notification/utils.js +4 -0
- package/dist/components/notification-sign/index.js +23 -4
- package/dist/components/notification-sign/styles.js +34 -0
- package/dist/components/oauth-selector/index.js +93 -6
- package/dist/components/oauth-selector/option-container/index.js +74 -4
- package/dist/components/option-card/index.js +83 -5
- package/dist/components/package-card/index.js +105 -6
- package/dist/components/paginator-db/btn/index.js +19 -3
- package/dist/components/paginator-db/btn/styles.js +39 -0
- package/dist/components/paginator-db/dropdown/index.js +112 -6
- package/dist/components/paginator-db/index.js +123 -5
- package/dist/components/paginator-db/styles.js +31 -0
- package/dist/components/paginator-db/utils.js +21 -0
- package/dist/components/pop-up/description/index.js +58 -5
- package/dist/components/pop-up/index.js +164 -7
- package/dist/components/premium-feature/index.js +53 -4
- package/dist/components/premium-feature/styles.js +36 -0
- package/dist/components/priority-cards/card/index.js +81 -5
- package/dist/components/priority-cards/card/styles.js +18 -0
- package/dist/components/priority-cards/index.js +50 -6
- package/dist/components/priority-score/index.js +28 -4
- package/dist/components/progress-bar/index.js +61 -3
- package/dist/components/progress-bar/styles.js +95 -0
- package/dist/components/progress-indicator/in-progress-icon/index.js +51 -3
- package/dist/components/progress-indicator/index.js +29 -5
- package/dist/components/progress-indicator/step/index.js +81 -4
- package/dist/components/progress-indicator/styles.js +36 -0
- package/dist/components/radio-button/index.js +44 -4
- package/dist/components/radio-button/styles.js +85 -0
- package/dist/components/rank-position/icon/index.js +51 -3
- package/dist/components/rank-position/index.js +40 -4
- package/dist/components/rules-card/index.js +166 -6
- package/dist/components/scroll-button/index.js +49 -5
- package/dist/components/scroll-button/styles.js +13 -0
- package/dist/components/search/index.js +113 -6
- package/dist/components/search-dropdown/index.js +102 -6
- package/dist/components/search-dropdown/styles.js +79 -0
- package/dist/components/segmented-control/index.js +35 -4
- package/dist/components/segmented-control/styles.js +51 -0
- package/dist/components/segmented-progress-bar/index.js +47 -4
- package/dist/components/segmented-progress-bar/styles.js +35 -0
- package/dist/components/severity-badge/index.js +46 -4
- package/dist/components/severity-badge/utils.js +31 -0
- package/dist/components/severity-indicator/index.js +47 -4
- package/dist/components/severity-indicator/styles.js +23 -0
- package/dist/components/severity-indicator/utils.js +12 -0
- package/dist/components/severity-overview/badge/index.js +44 -4
- package/dist/components/severity-overview/index.js +15 -3
- package/dist/components/severity-overview/utils.js +29 -0
- package/dist/components/show-on-hover/index.js +11 -3
- package/dist/components/show-on-hover/styles.js +23 -0
- package/dist/components/slide-out-menu/index.js +142 -6
- package/dist/components/slide-out-menu/menu-item/index.js +65 -4
- package/dist/components/slide-out-menu/styles.js +29 -0
- package/dist/components/slider/index.js +79 -7
- package/dist/components/slider/styles.js +83 -0
- package/dist/components/slider/thumb/index.js +17 -5
- package/dist/components/slider/utils.js +4 -0
- package/dist/components/step-lapse/index.js +71 -4
- package/dist/components/step-lapse/styles.js +93 -0
- package/dist/components/summary-card/index.js +69 -4
- package/dist/components/table/context/index.js +13 -3
- package/dist/components/table/export-csv/index.js +40 -5
- package/dist/components/table/export-csv/utils.js +32 -0
- package/dist/components/table/index.js +22 -2
- package/dist/components/table/pagination/pagination-control/index.js +41 -4
- package/dist/components/table/pagination/pagination-control/styles.js +32 -0
- package/dist/components/table/pagination/pagination-dropdown/index.js +124 -6
- package/dist/components/table/pagination/pagination-size/index.js +29 -4
- package/dist/components/table/sort-icon/index.js +28 -4
- package/dist/components/table/sort-icon/styles.js +30 -0
- package/dist/components/table/styles.js +260 -0
- package/dist/components/table/table-body/index.js +108 -6
- package/dist/components/table/table-body/styles.js +10 -0
- package/dist/components/table/table-column-toggle/index.js +57 -5
- package/dist/components/table/table-content/head/index.js +149 -7
- package/dist/components/table/table-content/index.js +55 -4
- package/dist/components/table/table-footer/footer-content/index.js +4 -2
- package/dist/components/table/table-footer/index.js +16 -3
- package/dist/components/table/table-options/caption-content/index.js +6 -3
- package/dist/components/table/table-options/controls-content/index.js +6 -3
- package/dist/components/table/table-options/highlighted-content/index.js +5 -3
- package/dist/components/table/table-options/index.js +45 -4
- package/dist/components/table/table-options/styles.js +89 -0
- package/dist/components/table/wrapper/index.js +61 -6
- package/dist/components/table-button/index.js +47 -4
- package/dist/components/table-button/styles.js +59 -0
- package/dist/components/table-content/index.js +64 -5
- package/dist/components/table-content/item-content/index.js +60 -4
- package/dist/components/table-content/styles.js +17 -0
- package/dist/components/table-of-contents/index.js +42 -4
- package/dist/components/table-of-contents/styles.js +77 -0
- package/dist/components/tabs/index.js +61 -4
- package/dist/components/tabs/styles.js +64 -0
- package/dist/components/tabs/tab/index.js +42 -4
- package/dist/components/tag/index.js +102 -4
- package/dist/components/tag/styles.js +172 -0
- package/dist/components/timeline/card/index.js +50 -4
- package/dist/components/timeline/index.js +14 -4
- package/dist/components/timeline/styles.js +101 -0
- package/dist/components/toggle/index.js +96 -4
- package/dist/components/toggle/styles.js +186 -0
- package/dist/components/tooltip/index.js +133 -7
- package/dist/components/tooltip/styles.js +58 -0
- package/dist/components/tour/index.js +75 -7
- package/dist/components/tree/index.js +156 -5
- package/dist/components/truncated-list/index.js +51 -4
- package/dist/components/typography/heading/index.js +51 -4
- package/dist/components/typography/index.js +6 -4
- package/dist/components/typography/span/index.js +45 -4
- package/dist/components/typography/styles.js +141 -0
- package/dist/components/typography/text/index.js +53 -4
- package/dist/components/weaknesses-card/index.js +167 -6
- package/dist/components/weaknesses-card/styles.js +33 -0
- package/dist/globals/design-tokens-css/index.js +1 -1
- package/dist/globals/designs-provider/index.js +3 -3
- package/dist/hooks/index.js +18 -9
- package/dist/hooks/use-active-section.js +52 -0
- package/dist/hooks/use-carousel.js +19 -0
- package/dist/hooks/use-click-outside.js +20 -0
- package/dist/hooks/use-cloudinary-image.js +16 -0
- package/dist/hooks/use-columns-modal.js +54 -0
- package/dist/hooks/use-debounced-callback.js +9 -0
- package/dist/hooks/use-filters.js +188 -0
- package/dist/hooks/use-local-storage.js +36 -0
- package/dist/hooks/use-modal.js +14 -0
- package/dist/hooks/use-mount-effect.js +8 -0
- package/dist/hooks/use-query-states.js +55 -0
- package/dist/hooks/use-search.js +11 -0
- package/dist/index.js +334 -190
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
- package/dist/node_modules/@cloudinary/react/dist/index.js +2385 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/background/actions/BackgroundColor.js +16 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryAction.js +20 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction.js +36 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/Action.js +59 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/RawAction.js +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/internalConstants.js +63 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/ActionModel.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/IErrorObject.js +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/QualifierModel.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/actionToJson.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/models/qualifierToJson.js +7 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/Qualifier.js +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/qualifier/QualifierValue.js +42 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/dataStructureUtils.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/objectFlip.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/prepareColor.js +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/internal/utils/unsupportedError.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag/FlagQualifier.js +17 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/flag.js +15 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/format/FormatQualifier.js +12 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/qualifiers/progressive.js +9 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/ImageTransformation.js +6 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/Transformation.js +244 -0
- package/dist/node_modules/@cloudinary/transformation-builder-sdk/transformation/VideoTransformation.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryFile.js +166 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryImage.js +10 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryTransformable.js +201 -0
- package/dist/node_modules/@cloudinary/url-gen/assets/CloudinaryVideo.js +26 -0
- package/dist/node_modules/@cloudinary/url-gen/config/BaseConfig.js +14 -0
- package/dist/node_modules/@cloudinary/url-gen/config/URLConfig.js +81 -0
- package/dist/node_modules/@cloudinary/url-gen/instance/Cloudinary.js +24 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/internalConstants.js +16 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/cloudinaryURL.js +23 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/isFileName.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/isUrl.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/url/urlUtils/publicIDContainsVersion.js +6 -0
- package/dist/node_modules/@cloudinary/url-gen/internal/utils/packageVersion.js +4 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/base64Map.js +10 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/encodeOSVersion.js +8 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/encodeVersion.js +17 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/getAnalyticsOptions.js +15 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/getSDKAnalyticsSignature.js +45 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/padVersion.js +14 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/reverseVersion.js +8 -0
- package/dist/node_modules/@cloudinary/url-gen/sdkAnalytics/stringPad.js +13 -0
- package/dist/node_modules/@fastify/deepmerge/index.js +102 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +507 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +402 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +686 -0
- package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +161 -0
- package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +228 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +136 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +130 -0
- package/dist/node_modules/@gilbarbara/deep-equal/dist/index.js +78 -0
- package/dist/node_modules/@gilbarbara/hooks/dist/index.js +81 -0
- package/dist/node_modules/@hookform/resolvers/dist/resolvers.js +33 -0
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup.js +33 -0
- package/dist/node_modules/@internationalized/date/dist/private/CalendarDate.js +243 -0
- package/dist/node_modules/@internationalized/date/dist/private/DateFormatter.js +102 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/BuddhistCalendar.js +32 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/EthiopicCalendar.js +114 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +104 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/HebrewCalendar.js +88 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/IndianCalendar.js +40 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/IslamicCalendar.js +122 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/JapaneseCalendar.js +128 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/PersianCalendar.js +53 -0
- package/dist/node_modules/@internationalized/date/dist/private/calendars/TaiwanCalendar.js +54 -0
- package/dist/node_modules/@internationalized/date/dist/private/conversion.js +141 -0
- package/dist/node_modules/@internationalized/date/dist/private/createCalendar.js +42 -0
- package/dist/node_modules/@internationalized/date/dist/private/manipulation.js +211 -0
- package/dist/node_modules/@internationalized/date/dist/private/queries.js +150 -0
- package/dist/node_modules/@internationalized/date/dist/private/string.js +50 -0
- package/dist/node_modules/@internationalized/date/dist/private/utils.js +6 -0
- package/dist/node_modules/@internationalized/date/dist/private/weekStartData.js +100 -0
- package/dist/node_modules/@internationalized/number/dist/private/NumberFormatter.js +121 -0
- package/dist/node_modules/@internationalized/number/dist/private/NumberParser.js +163 -0
- package/dist/node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.js +47 -0
- package/dist/node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.js +32 -0
- package/dist/node_modules/@tanstack/react-table/build/lib/index.js +29 -0
- package/dist/node_modules/@tanstack/react-virtual/dist/esm/index.js +38 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +696 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js +33 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +53 -0
- package/dist/node_modules/character-entities-legacy/index.js +111 -0
- package/dist/node_modules/character-reference-invalid/index.js +33 -0
- package/dist/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/comma-separated-tokens/index.js +13 -0
- package/dist/node_modules/dayjs/dayjs.min.js +282 -0
- package/dist/node_modules/dayjs/plugin/localizedFormat.js +29 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/components/LazyMotion/index.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Group.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/Item.js +34 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/auto-scroll.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/components/Reorder/utils/check-reorder.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/ReorderContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +285 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +67 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +130 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +43 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +33 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +60 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +14 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +45 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +62 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +65 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +39 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +18 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/m/proxy.js +5 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +7 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/features-animation.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +16 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +30 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +4 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-combine-values.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-computed.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-motion-value.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/value/use-transform.js +28 -0
- package/dist/node_modules/hast-util-parse-selector/lib/index.js +20 -0
- package/dist/node_modules/hastscript/lib/create-h.js +112 -0
- package/dist/node_modules/hastscript/lib/index.js +8 -0
- package/dist/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +44 -0
- package/dist/node_modules/is-alphabetical/index.js +7 -0
- package/dist/node_modules/is-alphanumerical/index.js +8 -0
- package/dist/node_modules/is-decimal/index.js +7 -0
- package/dist/node_modules/is-hexadecimal/index.js +7 -0
- package/dist/node_modules/is-lite/dist/index.js +139 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_Hash.js +22 -0
- package/dist/node_modules/lodash/_ListCache.js +22 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_MapCache.js +22 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_arrayEach.js +14 -0
- package/dist/node_modules/lodash/_arrayFilter.js +16 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +26 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arrayReduce.js +15 -0
- package/dist/node_modules/lodash/_arraySome.js +15 -0
- package/dist/node_modules/lodash/_asciiToArray.js +12 -0
- package/dist/node_modules/lodash/_asciiWords.js +13 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseCreate.js +23 -0
- package/dist/node_modules/lodash/_baseEach.js +12 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseForOwn.js +15 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +16 -0
- package/dist/node_modules/lodash/_baseGetTag.js +16 -0
- package/dist/node_modules/lodash/_baseHasIn.js +12 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +15 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +15 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +38 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +37 -0
- package/dist/node_modules/lodash/_baseIsNative.js +22 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +17 -0
- package/dist/node_modules/lodash/_baseIteratee.js +18 -0
- package/dist/node_modules/lodash/_baseKeys.js +20 -0
- package/dist/node_modules/lodash/_baseMatches.js +19 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +23 -0
- package/dist/node_modules/lodash/_baseProperty.js +14 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/dist/node_modules/lodash/_basePropertyOf.js +14 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSome.js +17 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseToString.js +24 -0
- package/dist/node_modules/lodash/_baseUnary.js +14 -0
- package/dist/node_modules/lodash/_cacheHas.js +12 -0
- package/dist/node_modules/lodash/_castPath.js +17 -0
- package/dist/node_modules/lodash/_castSlice.js +15 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_createBaseEach.js +22 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +21 -0
- package/dist/node_modules/lodash/_createCompounder.js +18 -0
- package/dist/node_modules/lodash/_deburrLetter.js +204 -0
- package/dist/node_modules/lodash/_equalArrays.js +46 -0
- package/dist/node_modules/lodash/_equalByTag.js +51 -0
- package/dist/node_modules/lodash/_equalObjects.js +42 -0
- package/dist/node_modules/lodash/_freeGlobal.js +11 -0
- package/dist/node_modules/lodash/_getAllKeys.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js +15 -0
- package/dist/node_modules/lodash/_getMatchData.js +19 -0
- package/dist/node_modules/lodash/_getNative.js +16 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getSymbols.js +16 -0
- package/dist/node_modules/lodash/_getTag.js +33 -0
- package/dist/node_modules/lodash/_getValue.js +12 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasUnicode.js +13 -0
- package/dist/node_modules/lodash/_hasUnicodeWord.js +13 -0
- package/dist/node_modules/lodash/_hashClear.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js +13 -0
- package/dist/node_modules/lodash/_hashGet.js +19 -0
- package/dist/node_modules/lodash/_hashHas.js +15 -0
- package/dist/node_modules/lodash/_hashSet.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js +14 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKeyable.js +13 -0
- package/dist/node_modules/lodash/_isMasked.js +17 -0
- package/dist/node_modules/lodash/_isPrototype.js +14 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +14 -0
- package/dist/node_modules/lodash/_listCacheClear.js +12 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +18 -0
- package/dist/node_modules/lodash/_listCacheGet.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js +14 -0
- package/dist/node_modules/lodash/_listCacheSet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +20 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +14 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +14 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +15 -0
- package/dist/node_modules/lodash/_mapToArray.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +14 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +17 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nodeUtil.js +19 -0
- package/dist/node_modules/lodash/_objectToString.js +13 -0
- package/dist/node_modules/lodash/_overArg.js +14 -0
- package/dist/node_modules/lodash/_root.js +11 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js +12 -0
- package/dist/node_modules/lodash/_setToArray.js +15 -0
- package/dist/node_modules/lodash/_stackClear.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js +12 -0
- package/dist/node_modules/lodash/_stackHas.js +12 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_stringToArray.js +16 -0
- package/dist/node_modules/lodash/_stringToPath.js +16 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toSource.js +23 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +13 -0
- package/dist/node_modules/lodash/_unicodeWords.js +22 -0
- package/dist/node_modules/lodash/capitalize.js +15 -0
- package/dist/node_modules/lodash/deburr.js +15 -0
- package/dist/node_modules/lodash/eq.js +12 -0
- package/dist/node_modules/lodash/get.js +15 -0
- package/dist/node_modules/lodash/hasIn.js +15 -0
- package/dist/node_modules/lodash/identity.js +12 -0
- package/dist/node_modules/lodash/isArguments.js +16 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArrayLike.js +15 -0
- package/dist/node_modules/lodash/isBuffer.js +14 -0
- package/dist/node_modules/lodash/isEmpty.js +33 -0
- package/dist/node_modules/lodash/isEqual.js +14 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isLength.js +13 -0
- package/dist/node_modules/lodash/isNaN.js +14 -0
- package/dist/node_modules/lodash/isNil.js +12 -0
- package/dist/node_modules/lodash/isNumber.js +15 -0
- package/dist/node_modules/lodash/isObject.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js +12 -0
- package/dist/node_modules/lodash/isSymbol.js +15 -0
- package/dist/node_modules/lodash/isTypedArray.js +13 -0
- package/dist/node_modules/lodash/isUndefined.js +12 -0
- package/dist/node_modules/lodash/keys.js +16 -0
- package/dist/node_modules/lodash/lodash.js +3692 -0
- package/dist/node_modules/lodash/lowerFirst.js +11 -0
- package/dist/node_modules/lodash/memoize.js +23 -0
- package/dist/node_modules/lodash/property.js +17 -0
- package/dist/node_modules/lodash/snakeCase.js +13 -0
- package/dist/node_modules/lodash/some.js +19 -0
- package/dist/node_modules/lodash/stubArray.js +12 -0
- package/dist/node_modules/lodash/stubFalse.js +12 -0
- package/dist/node_modules/lodash/toString.js +14 -0
- package/dist/node_modules/lodash/transform.js +30 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/lodash/words.js +17 -0
- package/dist/node_modules/lottie-light-react/build/index.umd.js +5068 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +112 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +144 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +106 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +178 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +46 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +68 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +74 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +33 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +43 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +618 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +263 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +65 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +40 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +143 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +25 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +5 -0
- package/dist/node_modules/motion-dom/dist/es/utils/transform.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +215 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +51 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +70 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +4 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +20 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +19 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +32 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +14 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +29 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +5 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +4 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +8 -0
- package/dist/node_modules/object-assign/index.js +54 -0
- package/dist/node_modules/parse-entities/lib/index.js +135 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +54 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +52 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +329 -0
- package/dist/node_modules/prop-types/index.js +17 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js +7 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +95 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +78 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/property-information/lib/html.js +368 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +566 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +19 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
- package/dist/node_modules/property-information/lib/util/info.js +28 -0
- package/dist/node_modules/property-information/lib/util/merge.js +10 -0
- package/dist/node_modules/property-information/lib/util/schema.js +21 -0
- package/dist/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/react-aria/dist/private/button/useButton.js +56 -0
- package/dist/node_modules/react-aria/dist/private/calendar/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendar.js +7 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendarBase.js +76 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendarCell.js +148 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useCalendarGrid.js +91 -0
- package/dist/node_modules/react-aria/dist/private/calendar/useRangeCalendar.js +34 -0
- package/dist/node_modules/react-aria/dist/private/calendar/utils.js +109 -0
- package/dist/node_modules/react-aria/dist/private/combobox/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/combobox/useComboBox.js +243 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDateField.js +115 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDatePicker.js +126 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDatePickerGroup.js +73 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDateRangePicker.js +164 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDateSegment.js +249 -0
- package/dist/node_modules/react-aria/dist/private/datepicker/useDisplayNames.js +33 -0
- package/dist/node_modules/react-aria/dist/private/dialog/useDialog.js +52 -0
- package/dist/node_modules/react-aria/dist/private/dnd/DragManager.js +20 -0
- package/dist/node_modules/react-aria/dist/private/dnd/constants.js +33 -0
- package/dist/node_modules/react-aria/dist/private/dnd/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/dnd/useDrop.js +173 -0
- package/dist/node_modules/react-aria/dist/private/dnd/useVirtualDrop.js +31 -0
- package/dist/node_modules/react-aria/dist/private/dnd/utils.js +114 -0
- package/dist/node_modules/react-aria/dist/private/focus/FocusScope.js +490 -0
- package/dist/node_modules/react-aria/dist/private/focus/virtualFocus.js +32 -0
- package/dist/node_modules/react-aria/dist/private/form/useFormValidation.js +71 -0
- package/dist/node_modules/react-aria/dist/private/i18n/I18nProvider.js +10 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useCollator.js +11 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useDateFormatter.js +23 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useDefaultLocale.js +37 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useFilter.js +35 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useLocalizedStringFormatter.js +23 -0
- package/dist/node_modules/react-aria/dist/private/i18n/useNumberFormatter.js +13 -0
- package/dist/node_modules/react-aria/dist/private/i18n/utils.js +47 -0
- package/dist/node_modules/react-aria/dist/private/interactions/PressResponder.js +14 -0
- package/dist/node_modules/react-aria/dist/private/interactions/context.js +9 -0
- package/dist/node_modules/react-aria/dist/private/interactions/createEventHandler.js +28 -0
- package/dist/node_modules/react-aria/dist/private/interactions/focusSafely.js +19 -0
- package/dist/node_modules/react-aria/dist/private/interactions/textSelection.js +36 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocus.js +31 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusVisible.js +90 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusWithin.js +59 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useFocusable.js +32 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useHover.js +87 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useInteractOutside.js +51 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useKeyboard.js +12 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useLongPress.js +53 -0
- package/dist/node_modules/react-aria/dist/private/interactions/useMove.js +165 -0
- package/dist/node_modules/react-aria/dist/private/interactions/usePress.js +418 -0
- package/dist/node_modules/react-aria/dist/private/interactions/utils.js +93 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ar-AE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/bg-BG.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/cs-CZ.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/da-DK.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/de-DE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/el-GR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/en-US.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/es-ES.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/et-EE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/fi-FI.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/fr-FR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/he-IL.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/hr-HR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/hu-HU.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/it-IT.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ja-JP.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ko-KR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/lt-LT.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/lv-LV.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/nb-NO.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/nl-NL.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/pl-PL.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/pt-BR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/pt-PT.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ro-RO.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/ru-RU.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sk-SK.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sl-SI.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sr-SP.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/sv-SE.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/tr-TR.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/uk-UA.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/zh-CN.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/calendar/zh-TW.js +18 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ar-AE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/bg-BG.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/cs-CZ.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/da-DK.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/de-DE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/el-GR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/en-US.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/es-ES.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/et-EE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/fi-FI.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/fr-FR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/he-IL.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/hr-HR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/hu-HU.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/it-IT.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ja-JP.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ko-KR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/lt-LT.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/lv-LV.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/nb-NO.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/nl-NL.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/pl-PL.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/pt-BR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/pt-PT.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ro-RO.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/ru-RU.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sk-SK.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sl-SI.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sr-SP.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/sv-SE.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/tr-TR.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/uk-UA.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/zh-CN.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/combobox/zh-TW.js +23 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ar-AE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/bg-BG.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/cs-CZ.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/da-DK.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/de-DE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/el-GR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/en-US.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/es-ES.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/et-EE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/fi-FI.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/fr-FR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/he-IL.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/hr-HR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/hu-HU.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/it-IT.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ja-JP.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ko-KR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/lt-LT.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/lv-LV.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/nb-NO.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/nl-NL.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/pl-PL.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/pt-BR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/pt-PT.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ro-RO.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/ru-RU.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sk-SK.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sl-SI.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sr-SP.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/sv-SE.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/tr-TR.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/uk-UA.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/zh-CN.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/datepicker/zh-TW.js +22 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ar-AE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/bg-BG.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/cs-CZ.js +46 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/da-DK.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/de-DE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/el-GR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/en-US.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/es-ES.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/et-EE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/fi-FI.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/fr-FR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/he-IL.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/hr-HR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/hu-HU.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/it-IT.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ja-JP.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ko-KR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/lt-LT.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/lv-LV.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/nb-NO.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/nl-NL.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/pl-PL.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/pt-BR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/pt-PT.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ro-RO.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/ru-RU.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sk-SK.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sl-SI.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sr-SP.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/sv-SE.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/tr-TR.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/uk-UA.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/zh-CN.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/dnd/zh-TW.js +45 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ar-AE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/bg-BG.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/cs-CZ.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/da-DK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/de-DE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/el-GR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/en-US.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/es-ES.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/et-EE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/fi-FI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/fr-FR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/he-IL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/hr-HR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/hu-HU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/it-IT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ja-JP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ko-KR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/lt-LT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/lv-LV.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/nb-NO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/nl-NL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/pl-PL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/pt-BR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/pt-PT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ro-RO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/ru-RU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sk-SK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sl-SI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sr-SP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/sv-SE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/tr-TR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/uk-UA.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/zh-CN.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/menu/zh-TW.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ar-AE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/bg-BG.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/cs-CZ.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/da-DK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/de-DE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/el-GR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/en-US.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/es-ES.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/et-EE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/fi-FI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/fr-FR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/he-IL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/hr-HR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/hu-HU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/it-IT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ja-JP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ko-KR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/lt-LT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/lv-LV.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/nb-NO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/nl-NL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pl-PL.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pt-BR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/pt-PT.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ro-RO.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/ru-RU.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sk-SK.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sl-SI.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sr-SP.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/sv-SE.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/tr-TR.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/uk-UA.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/zh-CN.js +7 -0
- package/dist/node_modules/react-aria/dist/private/intl/spinbutton/zh-TW.js +7 -0
- package/dist/node_modules/react-aria/dist/private/label/useField.js +36 -0
- package/dist/node_modules/react-aria/dist/private/label/useLabel.js +23 -0
- package/dist/node_modules/react-aria/dist/private/listbox/useListBox.js +56 -0
- package/dist/node_modules/react-aria/dist/private/listbox/useOption.js +69 -0
- package/dist/node_modules/react-aria/dist/private/listbox/utils.js +13 -0
- package/dist/node_modules/react-aria/dist/private/live-announcer/LiveAnnouncer.js +49 -0
- package/dist/node_modules/react-aria/dist/private/menu/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/menu/useMenuTrigger.js +65 -0
- package/dist/node_modules/react-aria/dist/private/overlays/Overlay.js +38 -0
- package/dist/node_modules/react-aria/dist/private/overlays/PortalProvider.js +9 -0
- package/dist/node_modules/react-aria/dist/private/overlays/ariaHideOutside.js +119 -0
- package/dist/node_modules/react-aria/dist/private/overlays/calculatePosition.js +208 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useCloseOnScroll.js +26 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useOverlay.js +50 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useOverlayPosition.js +136 -0
- package/dist/node_modules/react-aria/dist/private/overlays/useOverlayTrigger.js +26 -0
- package/dist/node_modules/react-aria/dist/private/overlays/usePopover.js +46 -0
- package/dist/node_modules/react-aria/dist/private/overlays/usePreventScroll.js +112 -0
- package/dist/node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.js +38 -0
- package/dist/node_modules/react-aria/dist/private/selection/ListKeyboardDelegate.js +120 -0
- package/dist/node_modules/react-aria/dist/private/selection/useSelectableCollection.js +222 -0
- package/dist/node_modules/react-aria/dist/private/selection/useSelectableItem.js +137 -0
- package/dist/node_modules/react-aria/dist/private/selection/useSelectableList.js +38 -0
- package/dist/node_modules/react-aria/dist/private/selection/useTypeSelect.js +33 -0
- package/dist/node_modules/react-aria/dist/private/selection/utils.js +23 -0
- package/dist/node_modules/react-aria/dist/private/slider/useSlider.js +88 -0
- package/dist/node_modules/react-aria/dist/private/slider/useSliderThumb.js +142 -0
- package/dist/node_modules/react-aria/dist/private/slider/utils.js +10 -0
- package/dist/node_modules/react-aria/dist/private/spinbutton/intlStrings.js +74 -0
- package/dist/node_modules/react-aria/dist/private/spinbutton/useSpinButton.js +138 -0
- package/dist/node_modules/react-aria/dist/private/ssr/SSRProvider.js +52 -0
- package/dist/node_modules/react-aria/dist/private/textfield/useTextField.js +78 -0
- package/dist/node_modules/react-aria/dist/private/utils/chain.js +8 -0
- package/dist/node_modules/react-aria/dist/private/utils/constants.js +5 -0
- package/dist/node_modules/react-aria/dist/private/utils/domHelpers.js +12 -0
- package/dist/node_modules/react-aria/dist/private/utils/filterDOMProps.js +65 -0
- package/dist/node_modules/react-aria/dist/private/utils/focusWithoutScrolling.js +45 -0
- package/dist/node_modules/react-aria/dist/private/utils/getNonce.js +15 -0
- package/dist/node_modules/react-aria/dist/private/utils/getScrollParent.js +9 -0
- package/dist/node_modules/react-aria/dist/private/utils/getScrollParents.js +10 -0
- package/dist/node_modules/react-aria/dist/private/utils/isElementVisible.js +25 -0
- package/dist/node_modules/react-aria/dist/private/utils/isFocusable.js +37 -0
- package/dist/node_modules/react-aria/dist/private/utils/isScrollable.js +8 -0
- package/dist/node_modules/react-aria/dist/private/utils/isVirtualEvent.js +11 -0
- package/dist/node_modules/react-aria/dist/private/utils/keyboard.js +22 -0
- package/dist/node_modules/react-aria/dist/private/utils/mergeProps.js +23 -0
- package/dist/node_modules/react-aria/dist/private/utils/mergeRefs.js +21 -0
- package/dist/node_modules/react-aria/dist/private/utils/openLink.js +61 -0
- package/dist/node_modules/react-aria/dist/private/utils/platform.js +44 -0
- package/dist/node_modules/react-aria/dist/private/utils/runAfterTransition.js +38 -0
- package/dist/node_modules/react-aria/dist/private/utils/scrollIntoView.js +66 -0
- package/dist/node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.js +38 -0
- package/dist/node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.js +127 -0
- package/dist/node_modules/react-aria/dist/private/utils/useDeepMemo.js +8 -0
- package/dist/node_modules/react-aria/dist/private/utils/useDescription.js +32 -0
- package/dist/node_modules/react-aria/dist/private/utils/useEffectEvent.js +17 -0
- package/dist/node_modules/react-aria/dist/private/utils/useEvent.js +20 -0
- package/dist/node_modules/react-aria/dist/private/utils/useFormReset.js +18 -0
- package/dist/node_modules/react-aria/dist/private/utils/useGlobalListeners.js +33 -0
- package/dist/node_modules/react-aria/dist/private/utils/useId.js +59 -0
- package/dist/node_modules/react-aria/dist/private/utils/useLabels.js +17 -0
- package/dist/node_modules/react-aria/dist/private/utils/useLayoutEffect.js +6 -0
- package/dist/node_modules/react-aria/dist/private/utils/useResizeObserver.js +32 -0
- package/dist/node_modules/react-aria/dist/private/utils/useSyncRef.js +12 -0
- package/dist/node_modules/react-aria/dist/private/utils/useUpdateEffect.js +15 -0
- package/dist/node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.js +13 -0
- package/dist/node_modules/react-aria/dist/private/utils/useValueEffect.js +28 -0
- package/dist/node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.js +40 -0
- package/dist/node_modules/react-csv/src/components/Download.js +34 -0
- package/dist/node_modules/react-csv/src/components/Link.js +85 -0
- package/dist/node_modules/react-csv/src/core.js +49 -0
- package/dist/node_modules/react-csv/src/index.js +6 -0
- package/dist/node_modules/react-csv/src/metaProps.js +23 -0
- package/dist/node_modules/react-hook-form/dist/index.esm.js +1501 -0
- package/dist/node_modules/react-innertext/index.js +16 -0
- package/dist/node_modules/react-international-phone/dist/index.js +333 -0
- package/dist/node_modules/react-joyride/dist/index.js +2044 -0
- package/dist/node_modules/react-stately/dist/private/calendar/useCalendarState.js +254 -0
- package/dist/node_modules/react-stately/dist/private/calendar/useRangeCalendarState.js +140 -0
- package/dist/node_modules/react-stately/dist/private/calendar/utils.js +66 -0
- package/dist/node_modules/react-stately/dist/private/collections/CollectionBuilder.js +160 -0
- package/dist/node_modules/react-stately/dist/private/collections/Item.js +37 -0
- package/dist/node_modules/react-stately/dist/private/collections/getChildNodes.js +33 -0
- package/dist/node_modules/react-stately/dist/private/collections/getItemCount.js +14 -0
- package/dist/node_modules/react-stately/dist/private/collections/useCollection.js +23 -0
- package/dist/node_modules/react-stately/dist/private/combobox/useComboBoxState.js +206 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/IncompleteDate.js +235 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/intlStrings.js +74 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/placeholders.js +399 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useDateFieldState.js +263 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useDatePickerState.js +76 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useDateRangePickerState.js +171 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/useTimeFieldState.js +57 -0
- package/dist/node_modules/react-stately/dist/private/datepicker/utils.js +145 -0
- package/dist/node_modules/react-stately/dist/private/flags/flags.js +7 -0
- package/dist/node_modules/react-stately/dist/private/form/useFormValidationState.js +127 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ar-AE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/bg-BG.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/cs-CZ.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/da-DK.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/de-DE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/el-GR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/en-US.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/es-ES.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/et-EE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/fi-FI.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/fr-FR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/he-IL.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/hr-HR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/hu-HU.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/it-IT.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ja-JP.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ko-KR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/lt-LT.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/lv-LV.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/nb-NO.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/nl-NL.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/pl-PL.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/pt-BR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/pt-PT.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ro-RO.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/ru-RU.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sk-SK.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sl-SI.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sr-SP.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/sv-SE.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/tr-TR.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/uk-UA.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/zh-CN.js +10 -0
- package/dist/node_modules/react-stately/dist/private/intl/datepicker/zh-TW.js +10 -0
- package/dist/node_modules/react-stately/dist/private/list/ListCollection.js +51 -0
- package/dist/node_modules/react-stately/dist/private/list/useListState.js +60 -0
- package/dist/node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.js +29 -0
- package/dist/node_modules/react-stately/dist/private/selection/Selection.js +8 -0
- package/dist/node_modules/react-stately/dist/private/selection/SelectionManager.js +274 -0
- package/dist/node_modules/react-stately/dist/private/selection/useMultipleSelectionState.js +57 -0
- package/dist/node_modules/react-stately/dist/private/slider/useSliderState.js +151 -0
- package/dist/node_modules/react-stately/dist/private/utils/number.js +26 -0
- package/dist/node_modules/react-stately/dist/private/utils/useControlledState.js +29 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +7 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +99 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +282 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/csharp.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dart.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/docker.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/elixir.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/go.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/hcl.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/java.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javascript.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/kotlin.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/php.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/powershell.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ruby.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/scala.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/swift.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/toml.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js +4 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/prism-light.js +12 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.js +195 -0
- package/dist/node_modules/refractor/lang/bash.js +226 -0
- package/dist/node_modules/refractor/lang/clike.js +38 -0
- package/dist/node_modules/refractor/lang/csharp.js +385 -0
- package/dist/node_modules/refractor/lang/dart.js +76 -0
- package/dist/node_modules/refractor/lang/docker.js +101 -0
- package/dist/node_modules/refractor/lang/elixir.js +103 -0
- package/dist/node_modules/refractor/lang/go.js +32 -0
- package/dist/node_modules/refractor/lang/hcl.js +67 -0
- package/dist/node_modules/refractor/lang/java.js +135 -0
- package/dist/node_modules/refractor/lang/javascript.js +139 -0
- package/dist/node_modules/refractor/lang/json.js +31 -0
- package/dist/node_modules/refractor/lang/kotlin.js +83 -0
- package/dist/node_modules/refractor/lang/markup-templating.js +74 -0
- package/dist/node_modules/refractor/lang/markup.js +174 -0
- package/dist/node_modules/refractor/lang/php.js +328 -0
- package/dist/node_modules/refractor/lang/powershell.js +62 -0
- package/dist/node_modules/refractor/lang/python.js +68 -0
- package/dist/node_modules/refractor/lang/ruby.js +179 -0
- package/dist/node_modules/refractor/lang/scala.js +52 -0
- package/dist/node_modules/refractor/lang/swift.js +126 -0
- package/dist/node_modules/refractor/lang/toml.js +60 -0
- package/dist/node_modules/refractor/lang/typescript.js +53 -0
- package/dist/node_modules/refractor/lang/yaml.js +88 -0
- package/dist/node_modules/refractor/lib/core.js +107 -0
- package/dist/node_modules/refractor/lib/prism-core.js +430 -0
- package/dist/node_modules/scroll/index.js +36 -0
- package/dist/node_modules/scrollparent/scrollparent.js +28 -0
- package/dist/node_modules/space-separated-tokens/index.js +7 -0
- package/dist/node_modules/tabbable/dist/index.esm.js +200 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +67 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +55 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +10 -0
- package/dist/utils/date.js +7 -0
- package/dist/utils/filters.js +60 -0
- package/dist/utils/index.js +26 -21
- package/dist/utils/normalizers.js +16 -0
- package/dist/utils/open-url.js +12 -0
- package/dist/utils/storage.js +16 -0
- package/dist/utils/url.js +13 -0
- package/package.json +5 -1
- package/dist/components-LCJjFofC.mjs +0 -18033
- package/dist/vendor-i-lggy4V.mjs +0 -48982
- /package/dist/assets/{index.css → styles/global.css} +0 -0
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import { createShadowTreeWalker as B } from "../utils/shadowdom/ShadowTreeWalker.js";
|
|
2
|
+
import { focusSafely as G } from "../interactions/focusSafely.js";
|
|
3
|
+
import { getActiveElement as T, nodeContains as C, getEventTarget as y } from "../utils/shadowdom/DOMFunctions.js";
|
|
4
|
+
import { getInteractionModality as V } from "../interactions/useFocusVisible.js";
|
|
5
|
+
import { getOwnerDocument as v, getOwnerWindow as H } from "../utils/domHelpers.js";
|
|
6
|
+
import { isAndroid as j, isChrome as Q } from "../utils/platform.js";
|
|
7
|
+
import { isTabbable as X, isFocusable as Y } from "../utils/isFocusable.js";
|
|
8
|
+
import { useLayoutEffect as g } from "../utils/useLayoutEffect.js";
|
|
9
|
+
import S, { useRef as F, useContext as Z, useMemo as M, useEffect as q } from "react";
|
|
10
|
+
const _ = /* @__PURE__ */ S.createContext(null), A = "react-aria-focus-scope-restore";
|
|
11
|
+
let s = null;
|
|
12
|
+
function $e(e) {
|
|
13
|
+
let { children: t, contain: r, restoreFocus: o, autoFocus: c } = e, a = F(null), f = F(null), n = F([]), { parentNode: b } = Z(_) || {}, l = M(() => new D({
|
|
14
|
+
scopeRef: n
|
|
15
|
+
}), [
|
|
16
|
+
n
|
|
17
|
+
]);
|
|
18
|
+
g(() => {
|
|
19
|
+
let d = b || $.root;
|
|
20
|
+
if ($.getTreeNode(d.scopeRef) && s && !R(s, d.scopeRef)) {
|
|
21
|
+
let p = $.getTreeNode(s);
|
|
22
|
+
p && (d = p);
|
|
23
|
+
}
|
|
24
|
+
d.addChild(l), $.addNode(l);
|
|
25
|
+
}, [
|
|
26
|
+
l,
|
|
27
|
+
b
|
|
28
|
+
]), g(() => {
|
|
29
|
+
let d = $.getTreeNode(n);
|
|
30
|
+
d && (d.contain = !!r);
|
|
31
|
+
}, [
|
|
32
|
+
r
|
|
33
|
+
]), g(() => {
|
|
34
|
+
let d = a.current?.nextSibling, p = [], m = (k) => k.stopPropagation();
|
|
35
|
+
for (; d && d !== f.current; )
|
|
36
|
+
p.push(d), d.addEventListener(A, m), d = d.nextSibling;
|
|
37
|
+
return n.current = p, () => {
|
|
38
|
+
for (let k of p) k.removeEventListener(A, m);
|
|
39
|
+
};
|
|
40
|
+
}, [
|
|
41
|
+
t
|
|
42
|
+
]), oe(n, o, r), re(n, r), ae(n, o, r), ne(n, c), q(() => {
|
|
43
|
+
const d = T(v(n.current ? n.current[0] : void 0));
|
|
44
|
+
let p = null;
|
|
45
|
+
if (h(d, n.current)) {
|
|
46
|
+
for (let m of $.traverse()) m.scopeRef && h(d, m.scopeRef.current) && (p = m);
|
|
47
|
+
p === $.getTreeNode(n) && (s = p.scopeRef);
|
|
48
|
+
}
|
|
49
|
+
}, [
|
|
50
|
+
n
|
|
51
|
+
]), g(() => () => {
|
|
52
|
+
let d = $.getTreeNode(n)?.parent?.scopeRef ?? null;
|
|
53
|
+
(n === s || R(n, s)) && (!d || $.getTreeNode(d)) && (s = d), $.removeTreeNode(n);
|
|
54
|
+
}, [
|
|
55
|
+
n
|
|
56
|
+
]);
|
|
57
|
+
let u = M(() => O(n), []), i = M(() => ({
|
|
58
|
+
focusManager: u,
|
|
59
|
+
parentNode: l
|
|
60
|
+
}), [
|
|
61
|
+
l,
|
|
62
|
+
u
|
|
63
|
+
]);
|
|
64
|
+
return /* @__PURE__ */ S.createElement(_.Provider, {
|
|
65
|
+
value: i
|
|
66
|
+
}, /* @__PURE__ */ S.createElement("span", {
|
|
67
|
+
"data-focus-scope-start": !0,
|
|
68
|
+
hidden: !0,
|
|
69
|
+
ref: a
|
|
70
|
+
}), t, /* @__PURE__ */ S.createElement("span", {
|
|
71
|
+
"data-focus-scope-end": !0,
|
|
72
|
+
hidden: !0,
|
|
73
|
+
ref: f
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
function O(e) {
|
|
77
|
+
return {
|
|
78
|
+
focusNext(t = {}) {
|
|
79
|
+
let r = e.current, { from: o, tabbable: c, wrap: a, accept: f } = t, n = o || T(v(r[0] ?? void 0)), b = r[0].previousElementSibling, l = x(r), u = E(l, {
|
|
80
|
+
tabbable: c,
|
|
81
|
+
accept: f
|
|
82
|
+
}, r);
|
|
83
|
+
u.currentNode = h(n, r) ? n : b;
|
|
84
|
+
let i = u.nextNode();
|
|
85
|
+
return !i && a && (u.currentNode = b, i = u.nextNode()), i && N(i, !0), i;
|
|
86
|
+
},
|
|
87
|
+
focusPrevious(t = {}) {
|
|
88
|
+
let r = e.current, { from: o, tabbable: c, wrap: a, accept: f } = t, n = o || T(v(r[0] ?? void 0)), b = r[r.length - 1].nextElementSibling, l = x(r), u = E(l, {
|
|
89
|
+
tabbable: c,
|
|
90
|
+
accept: f
|
|
91
|
+
}, r);
|
|
92
|
+
u.currentNode = h(n, r) ? n : b;
|
|
93
|
+
let i = u.previousNode();
|
|
94
|
+
return !i && a && (u.currentNode = b, i = u.previousNode()), i && N(i, !0), i;
|
|
95
|
+
},
|
|
96
|
+
focusFirst(t = {}) {
|
|
97
|
+
let r = e.current, { tabbable: o, accept: c } = t, a = x(r), f = E(a, {
|
|
98
|
+
tabbable: o,
|
|
99
|
+
accept: c
|
|
100
|
+
}, r);
|
|
101
|
+
f.currentNode = r[0].previousElementSibling;
|
|
102
|
+
let n = f.nextNode();
|
|
103
|
+
return n && N(n, !0), n;
|
|
104
|
+
},
|
|
105
|
+
focusLast(t = {}) {
|
|
106
|
+
let r = e.current, { tabbable: o, accept: c } = t, a = x(r), f = E(a, {
|
|
107
|
+
tabbable: o,
|
|
108
|
+
accept: c
|
|
109
|
+
}, r);
|
|
110
|
+
f.currentNode = r[r.length - 1].nextElementSibling;
|
|
111
|
+
let n = f.previousNode();
|
|
112
|
+
return n && N(n, !0), n;
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function x(e) {
|
|
117
|
+
return e[0].parentElement;
|
|
118
|
+
}
|
|
119
|
+
function L(e) {
|
|
120
|
+
let t = $.getTreeNode(s);
|
|
121
|
+
for (; t && t.scopeRef !== e; ) {
|
|
122
|
+
if (t.contain) return !1;
|
|
123
|
+
t = t.parent;
|
|
124
|
+
}
|
|
125
|
+
return !0;
|
|
126
|
+
}
|
|
127
|
+
function ee(e) {
|
|
128
|
+
if (!e.form)
|
|
129
|
+
return Array.from(v(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((o) => !o.form);
|
|
130
|
+
const t = e.form.elements.namedItem(e.name);
|
|
131
|
+
let r = H(e);
|
|
132
|
+
return t instanceof r.RadioNodeList ? Array.from(t).filter((o) => o instanceof r.HTMLInputElement) : t instanceof r.HTMLInputElement ? [
|
|
133
|
+
t
|
|
134
|
+
] : [];
|
|
135
|
+
}
|
|
136
|
+
function te(e) {
|
|
137
|
+
if (e.checked) return !0;
|
|
138
|
+
const t = ee(e);
|
|
139
|
+
return t.length > 0 && !t.some((r) => r.checked);
|
|
140
|
+
}
|
|
141
|
+
function re(e, t) {
|
|
142
|
+
let r = F(void 0), o = F(void 0);
|
|
143
|
+
g(() => {
|
|
144
|
+
let c = e.current;
|
|
145
|
+
if (!t) {
|
|
146
|
+
o.current && (cancelAnimationFrame(o.current), o.current = void 0);
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
const a = v(c ? c[0] : void 0);
|
|
150
|
+
let f = (l) => {
|
|
151
|
+
if (l.key !== "Tab" || l.altKey || l.ctrlKey || l.metaKey || !L(e) || l.isComposing) return;
|
|
152
|
+
let u = T(a), i = e.current;
|
|
153
|
+
if (!i || !h(u, i)) return;
|
|
154
|
+
let d = x(i), p = E(d, {
|
|
155
|
+
tabbable: !0
|
|
156
|
+
}, i);
|
|
157
|
+
if (!u) return;
|
|
158
|
+
p.currentNode = u;
|
|
159
|
+
let m = l.shiftKey ? p.previousNode() : p.nextNode();
|
|
160
|
+
m || (p.currentNode = l.shiftKey ? i[i.length - 1].nextElementSibling : i[0].previousElementSibling, m = l.shiftKey ? p.previousNode() : p.nextNode()), l.preventDefault(), m && (N(m, !0), m instanceof H(m).HTMLInputElement && m.select());
|
|
161
|
+
}, n = (l) => {
|
|
162
|
+
(!s || R(s, e)) && h(y(l), e.current) ? (s = e, r.current = y(l)) : L(e) && !w(y(l), e) ? r.current ? r.current.focus() : s && s.current && K(s.current) : L(e) && (r.current = y(l));
|
|
163
|
+
}, b = (l) => {
|
|
164
|
+
o.current && cancelAnimationFrame(o.current), o.current = requestAnimationFrame(() => {
|
|
165
|
+
let u = V(), i = (u === "virtual" || u === null) && j() && Q(), d = T(a);
|
|
166
|
+
if (!i && d && L(e) && !w(d, e)) {
|
|
167
|
+
s = e;
|
|
168
|
+
let p = y(l);
|
|
169
|
+
p && p.isConnected ? (r.current = p, r.current?.focus()) : s.current && K(s.current);
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
};
|
|
173
|
+
return a.addEventListener("keydown", f, !1), a.addEventListener("focusin", n, !1), c?.forEach((l) => l.addEventListener("focusin", n, !1)), c?.forEach((l) => l.addEventListener("focusout", b, !1)), () => {
|
|
174
|
+
a.removeEventListener("keydown", f, !1), a.removeEventListener("focusin", n, !1), c?.forEach((l) => l.removeEventListener("focusin", n, !1)), c?.forEach((l) => l.removeEventListener("focusout", b, !1));
|
|
175
|
+
};
|
|
176
|
+
}, [
|
|
177
|
+
e,
|
|
178
|
+
t
|
|
179
|
+
]), g(() => () => {
|
|
180
|
+
o.current && cancelAnimationFrame(o.current);
|
|
181
|
+
}, [
|
|
182
|
+
o
|
|
183
|
+
]);
|
|
184
|
+
}
|
|
185
|
+
function J(e) {
|
|
186
|
+
return w(e);
|
|
187
|
+
}
|
|
188
|
+
function h(e, t) {
|
|
189
|
+
return !e || !t ? !1 : t.some((r) => C(r, e));
|
|
190
|
+
}
|
|
191
|
+
function w(e, t = null) {
|
|
192
|
+
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
|
|
193
|
+
for (let { scopeRef: r } of $.traverse($.getTreeNode(t)))
|
|
194
|
+
if (r && h(e, r.current)) return !0;
|
|
195
|
+
return !1;
|
|
196
|
+
}
|
|
197
|
+
function me(e) {
|
|
198
|
+
return w(e, s);
|
|
199
|
+
}
|
|
200
|
+
function R(e, t) {
|
|
201
|
+
let r = $.getTreeNode(t)?.parent;
|
|
202
|
+
for (; r; ) {
|
|
203
|
+
if (r.scopeRef === e) return !0;
|
|
204
|
+
r = r.parent;
|
|
205
|
+
}
|
|
206
|
+
return !1;
|
|
207
|
+
}
|
|
208
|
+
function N(e, t = !1) {
|
|
209
|
+
if (e != null && !t) try {
|
|
210
|
+
G(e);
|
|
211
|
+
} catch {
|
|
212
|
+
}
|
|
213
|
+
else if (e != null) try {
|
|
214
|
+
e.focus();
|
|
215
|
+
} catch {
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
function U(e, t = !0) {
|
|
219
|
+
let r = e[0].previousElementSibling, o = x(e), c = E(o, {
|
|
220
|
+
tabbable: t
|
|
221
|
+
}, e);
|
|
222
|
+
c.currentNode = r;
|
|
223
|
+
let a = c.nextNode();
|
|
224
|
+
return t && !a && (o = x(e), c = E(o, {
|
|
225
|
+
tabbable: !1
|
|
226
|
+
}, e), c.currentNode = r, a = c.nextNode()), a;
|
|
227
|
+
}
|
|
228
|
+
function K(e, t = !0) {
|
|
229
|
+
N(U(e, t));
|
|
230
|
+
}
|
|
231
|
+
function ne(e, t) {
|
|
232
|
+
const r = S.useRef(t);
|
|
233
|
+
q(() => {
|
|
234
|
+
if (r.current) {
|
|
235
|
+
s = e;
|
|
236
|
+
const o = v(e.current ? e.current[0] : void 0);
|
|
237
|
+
!h(T(o), s.current) && e.current && K(e.current);
|
|
238
|
+
}
|
|
239
|
+
r.current = !1;
|
|
240
|
+
}, [
|
|
241
|
+
e
|
|
242
|
+
]);
|
|
243
|
+
}
|
|
244
|
+
function oe(e, t, r) {
|
|
245
|
+
g(() => {
|
|
246
|
+
if (t || r) return;
|
|
247
|
+
let o = e.current;
|
|
248
|
+
const c = v(o ? o[0] : void 0);
|
|
249
|
+
let a = (f) => {
|
|
250
|
+
let n = y(f);
|
|
251
|
+
h(n, e.current) ? s = e : J(n) || (s = null);
|
|
252
|
+
};
|
|
253
|
+
return c.addEventListener("focusin", a, !1), o?.forEach((f) => f.addEventListener("focusin", a, !1)), () => {
|
|
254
|
+
c.removeEventListener("focusin", a, !1), o?.forEach((f) => f.removeEventListener("focusin", a, !1));
|
|
255
|
+
};
|
|
256
|
+
}, [
|
|
257
|
+
e,
|
|
258
|
+
t,
|
|
259
|
+
r
|
|
260
|
+
]);
|
|
261
|
+
}
|
|
262
|
+
function W(e) {
|
|
263
|
+
let t = $.getTreeNode(s);
|
|
264
|
+
for (; t && t.scopeRef !== e; ) {
|
|
265
|
+
if (t.nodeToRestore) return !1;
|
|
266
|
+
t = t.parent;
|
|
267
|
+
}
|
|
268
|
+
return t?.scopeRef === e;
|
|
269
|
+
}
|
|
270
|
+
function ae(e, t, r) {
|
|
271
|
+
const o = F(typeof document < "u" ? T(v(e.current ? e.current[0] : void 0)) : null);
|
|
272
|
+
g(() => {
|
|
273
|
+
let c = e.current;
|
|
274
|
+
const a = v(c ? c[0] : void 0);
|
|
275
|
+
if (!t || r) return;
|
|
276
|
+
let f = () => {
|
|
277
|
+
(!s || R(s, e)) && h(T(a), e.current) && (s = e);
|
|
278
|
+
};
|
|
279
|
+
return a.addEventListener("focusin", f, !1), c?.forEach((n) => n.addEventListener("focusin", f, !1)), () => {
|
|
280
|
+
a.removeEventListener("focusin", f, !1), c?.forEach((n) => n.removeEventListener("focusin", f, !1));
|
|
281
|
+
};
|
|
282
|
+
}, [
|
|
283
|
+
e,
|
|
284
|
+
r
|
|
285
|
+
]), g(() => {
|
|
286
|
+
const c = v(e.current ? e.current[0] : void 0);
|
|
287
|
+
if (!t) return;
|
|
288
|
+
let a = (f) => {
|
|
289
|
+
if (f.key !== "Tab" || f.altKey || f.ctrlKey || f.metaKey || !L(e) || f.isComposing) return;
|
|
290
|
+
let n = c.activeElement;
|
|
291
|
+
if (!w(n, e) || !W(e)) return;
|
|
292
|
+
let b = $.getTreeNode(e);
|
|
293
|
+
if (!b) return;
|
|
294
|
+
let l = b.nodeToRestore, u = E(c.body, {
|
|
295
|
+
tabbable: !0
|
|
296
|
+
});
|
|
297
|
+
u.currentNode = n;
|
|
298
|
+
let i = f.shiftKey ? u.previousNode() : u.nextNode();
|
|
299
|
+
if ((!l || !l.isConnected || l === c.body) && (l = void 0, b.nodeToRestore = void 0), (!i || !w(i, e)) && l) {
|
|
300
|
+
u.currentNode = l;
|
|
301
|
+
do
|
|
302
|
+
i = f.shiftKey ? u.previousNode() : u.nextNode();
|
|
303
|
+
while (w(i, e));
|
|
304
|
+
f.preventDefault(), f.stopPropagation(), i ? N(i, !0) : J(l) ? N(l, !0) : n.blur();
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
return r || c.addEventListener("keydown", a, !0), () => {
|
|
308
|
+
r || c.removeEventListener("keydown", a, !0);
|
|
309
|
+
};
|
|
310
|
+
}, [
|
|
311
|
+
e,
|
|
312
|
+
t,
|
|
313
|
+
r
|
|
314
|
+
]), g(() => {
|
|
315
|
+
const c = v(e.current ? e.current[0] : void 0);
|
|
316
|
+
if (!t) return;
|
|
317
|
+
let a = $.getTreeNode(e);
|
|
318
|
+
if (a)
|
|
319
|
+
return a.nodeToRestore = o.current ?? void 0, () => {
|
|
320
|
+
let f = $.getTreeNode(e);
|
|
321
|
+
if (!f) return;
|
|
322
|
+
let n = f.nodeToRestore, b = T(c);
|
|
323
|
+
if (t && n && (b && w(b, e) || b === c.body && W(e))) {
|
|
324
|
+
let l = $.clone();
|
|
325
|
+
requestAnimationFrame(() => {
|
|
326
|
+
if (c.activeElement === c.body) {
|
|
327
|
+
let u = l.getTreeNode(e);
|
|
328
|
+
for (; u; ) {
|
|
329
|
+
if (u.nodeToRestore && u.nodeToRestore.isConnected) {
|
|
330
|
+
z(u.nodeToRestore);
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
u = u.parent;
|
|
334
|
+
}
|
|
335
|
+
for (u = l.getTreeNode(e); u; ) {
|
|
336
|
+
if (u.scopeRef && // TODO: this is probably a false positive based on naming, it's not a real ref, rename.
|
|
337
|
+
// oxlint-disable-next-line react-hooks/exhaustive-deps
|
|
338
|
+
u.scopeRef.current && $.getTreeNode(u.scopeRef)) {
|
|
339
|
+
let i = U(u.scopeRef.current, !0);
|
|
340
|
+
z(i);
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
u = u.parent;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
}, [
|
|
350
|
+
e,
|
|
351
|
+
t
|
|
352
|
+
]);
|
|
353
|
+
}
|
|
354
|
+
function z(e) {
|
|
355
|
+
e.dispatchEvent(new CustomEvent(A, {
|
|
356
|
+
bubbles: !0,
|
|
357
|
+
cancelable: !0
|
|
358
|
+
})) && N(e);
|
|
359
|
+
}
|
|
360
|
+
function E(e, t, r) {
|
|
361
|
+
let o = t?.tabbable ? X : Y, c = e?.nodeType === Node.ELEMENT_NODE ? e : null, a = v(c), f = B(a, e || a, NodeFilter.SHOW_ELEMENT, {
|
|
362
|
+
acceptNode(n) {
|
|
363
|
+
return C(t?.from, n) || t?.tabbable && n.tagName === "INPUT" && n.getAttribute("type") === "radio" && (!te(n) || f.currentNode.tagName === "INPUT" && f.currentNode.type === "radio" && f.currentNode.name === n.name) ? NodeFilter.FILTER_REJECT : o(n) && (!r || h(n, r)) && (!t?.accept || t.accept(n)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
return t?.from && (f.currentNode = t.from), f;
|
|
367
|
+
}
|
|
368
|
+
function Ne(e, t = {}) {
|
|
369
|
+
return {
|
|
370
|
+
focusNext(r = {}) {
|
|
371
|
+
let o = e.current;
|
|
372
|
+
if (!o) return null;
|
|
373
|
+
let { from: c, tabbable: a = t.tabbable, wrap: f = t.wrap, accept: n = t.accept } = r, b = c || T(v(o)), l = E(o, {
|
|
374
|
+
tabbable: a,
|
|
375
|
+
accept: n
|
|
376
|
+
});
|
|
377
|
+
C(o, b) && (l.currentNode = b);
|
|
378
|
+
let u = l.nextNode();
|
|
379
|
+
return !u && f && (l.currentNode = o, u = l.nextNode()), u && N(u, !0), u;
|
|
380
|
+
},
|
|
381
|
+
focusPrevious(r = t) {
|
|
382
|
+
let o = e.current;
|
|
383
|
+
if (!o) return null;
|
|
384
|
+
let { from: c, tabbable: a = t.tabbable, wrap: f = t.wrap, accept: n = t.accept } = r, b = c || T(v(o)), l = E(o, {
|
|
385
|
+
tabbable: a,
|
|
386
|
+
accept: n
|
|
387
|
+
});
|
|
388
|
+
if (C(o, b)) l.currentNode = b;
|
|
389
|
+
else {
|
|
390
|
+
let i = I(l);
|
|
391
|
+
return i && N(i, !0), i ?? null;
|
|
392
|
+
}
|
|
393
|
+
let u = l.previousNode();
|
|
394
|
+
if (!u && f) {
|
|
395
|
+
l.currentNode = o;
|
|
396
|
+
let i = I(l);
|
|
397
|
+
if (!i)
|
|
398
|
+
return null;
|
|
399
|
+
u = i;
|
|
400
|
+
}
|
|
401
|
+
return u && N(u, !0), u ?? null;
|
|
402
|
+
},
|
|
403
|
+
focusFirst(r = t) {
|
|
404
|
+
let o = e.current;
|
|
405
|
+
if (!o) return null;
|
|
406
|
+
let { tabbable: c = t.tabbable, accept: a = t.accept } = r, n = E(o, {
|
|
407
|
+
tabbable: c,
|
|
408
|
+
accept: a
|
|
409
|
+
}).nextNode();
|
|
410
|
+
return n && N(n, !0), n;
|
|
411
|
+
},
|
|
412
|
+
focusLast(r = t) {
|
|
413
|
+
let o = e.current;
|
|
414
|
+
if (!o) return null;
|
|
415
|
+
let { tabbable: c = t.tabbable, accept: a = t.accept } = r, f = E(o, {
|
|
416
|
+
tabbable: c,
|
|
417
|
+
accept: a
|
|
418
|
+
}), n = I(f);
|
|
419
|
+
return n && N(n, !0), n ?? null;
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
function I(e) {
|
|
424
|
+
let t, r;
|
|
425
|
+
do
|
|
426
|
+
r = e.lastChild(), r && (t = r);
|
|
427
|
+
while (r);
|
|
428
|
+
return t;
|
|
429
|
+
}
|
|
430
|
+
class P {
|
|
431
|
+
constructor() {
|
|
432
|
+
this.fastMap = /* @__PURE__ */ new Map(), this.root = new D({
|
|
433
|
+
scopeRef: null
|
|
434
|
+
}), this.fastMap.set(null, this.root);
|
|
435
|
+
}
|
|
436
|
+
get size() {
|
|
437
|
+
return this.fastMap.size;
|
|
438
|
+
}
|
|
439
|
+
getTreeNode(t) {
|
|
440
|
+
return this.fastMap.get(t);
|
|
441
|
+
}
|
|
442
|
+
addTreeNode(t, r, o) {
|
|
443
|
+
let c = this.fastMap.get(r ?? null);
|
|
444
|
+
if (!c) return;
|
|
445
|
+
let a = new D({
|
|
446
|
+
scopeRef: t
|
|
447
|
+
});
|
|
448
|
+
c.addChild(a), a.parent = c, this.fastMap.set(t, a), o && (a.nodeToRestore = o);
|
|
449
|
+
}
|
|
450
|
+
addNode(t) {
|
|
451
|
+
this.fastMap.set(t.scopeRef, t);
|
|
452
|
+
}
|
|
453
|
+
removeTreeNode(t) {
|
|
454
|
+
if (t === null) return;
|
|
455
|
+
let r = this.fastMap.get(t);
|
|
456
|
+
if (!r) return;
|
|
457
|
+
let o = r.parent;
|
|
458
|
+
for (let a of this.traverse()) a !== r && r.nodeToRestore && a.nodeToRestore && r.scopeRef && r.scopeRef.current && h(a.nodeToRestore, r.scopeRef.current) && (a.nodeToRestore = r.nodeToRestore);
|
|
459
|
+
let c = r.children;
|
|
460
|
+
o && (o.removeChild(r), c.size > 0 && c.forEach((a) => o && o.addChild(a))), this.fastMap.delete(r.scopeRef);
|
|
461
|
+
}
|
|
462
|
+
// Pre Order Depth First
|
|
463
|
+
*traverse(t = this.root) {
|
|
464
|
+
if (t.scopeRef != null && (yield t), t.children.size > 0) for (let r of t.children) yield* this.traverse(r);
|
|
465
|
+
}
|
|
466
|
+
clone() {
|
|
467
|
+
let t = new P();
|
|
468
|
+
for (let r of this.traverse()) t.addTreeNode(r.scopeRef, r.parent?.scopeRef ?? null, r.nodeToRestore);
|
|
469
|
+
return t;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
class D {
|
|
473
|
+
constructor(t) {
|
|
474
|
+
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = t.scopeRef;
|
|
475
|
+
}
|
|
476
|
+
addChild(t) {
|
|
477
|
+
this.children.add(t), t.parent = this;
|
|
478
|
+
}
|
|
479
|
+
removeChild(t) {
|
|
480
|
+
this.children.delete(t), t.parent = void 0;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
let $ = new P();
|
|
484
|
+
export {
|
|
485
|
+
$e as FocusScope,
|
|
486
|
+
Ne as createFocusManager,
|
|
487
|
+
$ as focusScopeTree,
|
|
488
|
+
E as getFocusableTreeWalker,
|
|
489
|
+
me as isElementInChildOfActiveScope
|
|
490
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getActiveElement as c } from "../utils/shadowdom/DOMFunctions.js";
|
|
2
|
+
import { getOwnerDocument as r } from "../utils/domHelpers.js";
|
|
3
|
+
function s(e) {
|
|
4
|
+
let t = b(r(e));
|
|
5
|
+
t !== e && (t && n(t, e), e && f(e, t));
|
|
6
|
+
}
|
|
7
|
+
function n(e, t) {
|
|
8
|
+
e.dispatchEvent(new FocusEvent("blur", {
|
|
9
|
+
relatedTarget: t
|
|
10
|
+
})), e.dispatchEvent(new FocusEvent("focusout", {
|
|
11
|
+
bubbles: !0,
|
|
12
|
+
relatedTarget: t
|
|
13
|
+
}));
|
|
14
|
+
}
|
|
15
|
+
function f(e, t) {
|
|
16
|
+
e.dispatchEvent(new FocusEvent("focus", {
|
|
17
|
+
relatedTarget: t
|
|
18
|
+
})), e.dispatchEvent(new FocusEvent("focusin", {
|
|
19
|
+
bubbles: !0,
|
|
20
|
+
relatedTarget: t
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
function b(e) {
|
|
24
|
+
let t = c(e), a = t?.getAttribute("aria-activedescendant");
|
|
25
|
+
return a && e.getElementById(a) || t;
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
n as dispatchVirtualBlur,
|
|
29
|
+
f as dispatchVirtualFocus,
|
|
30
|
+
b as getVirtuallyFocusedElement,
|
|
31
|
+
s as moveVirtualFocus
|
|
32
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { getEventTarget as u } from "../utils/shadowdom/DOMFunctions.js";
|
|
2
|
+
import { setInteractionModality as m } from "../interactions/useFocusVisible.js";
|
|
3
|
+
import { useEffectEvent as o } from "../utils/useEffectEvent.js";
|
|
4
|
+
import { useLayoutEffect as $ } from "../utils/useLayoutEffect.js";
|
|
5
|
+
import { useRef as g, useEffect as p } from "react";
|
|
6
|
+
function L(i, e, t) {
|
|
7
|
+
let { validationBehavior: l, focus: d } = i;
|
|
8
|
+
$(() => {
|
|
9
|
+
if (l === "native" && t?.current && !t.current.disabled) {
|
|
10
|
+
let a = e.realtimeValidation.isInvalid ? e.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
|
|
11
|
+
t.current.setCustomValidity(a), t.current.hasAttribute("title") || (t.current.title = ""), e.realtimeValidation.isInvalid || e.updateValidation(h(t.current));
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
let n = g(!1), s = o(() => {
|
|
15
|
+
n.current || e.resetValidation();
|
|
16
|
+
}), f = o((a) => {
|
|
17
|
+
e.displayValidation.isInvalid || e.commitValidation();
|
|
18
|
+
let r = t?.current?.form;
|
|
19
|
+
!a.defaultPrevented && t && r && E(r) === t.current && (d ? d() : t.current?.focus(), m("keyboard")), a.preventDefault();
|
|
20
|
+
}), v = o(() => {
|
|
21
|
+
e.commitValidation();
|
|
22
|
+
});
|
|
23
|
+
p(() => {
|
|
24
|
+
let a = t?.current;
|
|
25
|
+
if (!a) return;
|
|
26
|
+
let r = a.form, c = r?.reset;
|
|
27
|
+
return r && (r.reset = () => {
|
|
28
|
+
n.current = !window.event || window.event.type === "message" && u(window.event) instanceof MessagePort, c?.call(r), n.current = !1;
|
|
29
|
+
}), a.addEventListener("invalid", f), a.addEventListener("change", v), r?.addEventListener("reset", s), () => {
|
|
30
|
+
a.removeEventListener("invalid", f), a.removeEventListener("change", v), r?.removeEventListener("reset", s), r && (r.reset = c);
|
|
31
|
+
};
|
|
32
|
+
}, [
|
|
33
|
+
t,
|
|
34
|
+
l
|
|
35
|
+
]);
|
|
36
|
+
}
|
|
37
|
+
function b(i) {
|
|
38
|
+
let e = i.validity;
|
|
39
|
+
return {
|
|
40
|
+
badInput: e.badInput,
|
|
41
|
+
customError: e.customError,
|
|
42
|
+
patternMismatch: e.patternMismatch,
|
|
43
|
+
rangeOverflow: e.rangeOverflow,
|
|
44
|
+
rangeUnderflow: e.rangeUnderflow,
|
|
45
|
+
stepMismatch: e.stepMismatch,
|
|
46
|
+
tooLong: e.tooLong,
|
|
47
|
+
tooShort: e.tooShort,
|
|
48
|
+
typeMismatch: e.typeMismatch,
|
|
49
|
+
valueMissing: e.valueMissing,
|
|
50
|
+
valid: e.valid
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function h(i) {
|
|
54
|
+
return {
|
|
55
|
+
isInvalid: !i.validity.valid,
|
|
56
|
+
validationDetails: b(i),
|
|
57
|
+
validationErrors: i.validationMessage ? [
|
|
58
|
+
i.validationMessage
|
|
59
|
+
] : []
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function E(i) {
|
|
63
|
+
for (let e = 0; e < i.elements.length; e++) {
|
|
64
|
+
let t = i.elements[e];
|
|
65
|
+
if (t.validity?.valid === !1) return t;
|
|
66
|
+
}
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
export {
|
|
70
|
+
L as useFormValidation
|
|
71
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useLocale as f } from "./I18nProvider.js";
|
|
2
|
+
let a = /* @__PURE__ */ new Map();
|
|
3
|
+
function d(e) {
|
|
4
|
+
let { locale: r } = f(), t = r + (e ? Object.entries(e).sort((l, o) => l[0] < o[0] ? -1 : 1).join() : "");
|
|
5
|
+
if (a.has(t)) return a.get(t);
|
|
6
|
+
let c = new Intl.Collator(r, e);
|
|
7
|
+
return a.set(t, c), c;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
d as useCollator
|
|
11
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useDeepMemo as o } from "../utils/useDeepMemo.js";
|
|
2
|
+
import { useLocale as c } from "./I18nProvider.js";
|
|
3
|
+
import { DateFormatter as $ } from "../../../../@internationalized/date/dist/private/DateFormatter.js";
|
|
4
|
+
import { useMemo as l } from "react";
|
|
5
|
+
function n(e) {
|
|
6
|
+
e = o(e ?? {}, u);
|
|
7
|
+
let { locale: r } = c();
|
|
8
|
+
return l(() => new $(r, e), [
|
|
9
|
+
r,
|
|
10
|
+
e
|
|
11
|
+
]);
|
|
12
|
+
}
|
|
13
|
+
function u(e, r) {
|
|
14
|
+
if (e === r) return !0;
|
|
15
|
+
let t = Object.keys(e), a = Object.keys(r);
|
|
16
|
+
if (t.length !== a.length) return !1;
|
|
17
|
+
for (let f of t)
|
|
18
|
+
if (r[f] !== e[f]) return !1;
|
|
19
|
+
return !0;
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
n as useDateFormatter
|
|
23
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { isRTL as c } from "./utils.js";
|
|
2
|
+
import { useIsSSR as i } from "../ssr/SSRProvider.js";
|
|
3
|
+
import { useState as f, useEffect as u } from "react";
|
|
4
|
+
const r = /* @__PURE__ */ Symbol.for("react-aria.i18n.locale");
|
|
5
|
+
function d() {
|
|
6
|
+
let e = typeof window < "u" && window[r] || // @ts-ignore
|
|
7
|
+
typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
|
|
8
|
+
try {
|
|
9
|
+
Intl.DateTimeFormat.supportedLocalesOf([
|
|
10
|
+
e
|
|
11
|
+
]);
|
|
12
|
+
} catch {
|
|
13
|
+
e = "en-US";
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
locale: e,
|
|
17
|
+
direction: c(e) ? "rtl" : "ltr"
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
let t = d(), a = /* @__PURE__ */ new Set();
|
|
21
|
+
function n() {
|
|
22
|
+
t = d();
|
|
23
|
+
for (let e of a) e(t);
|
|
24
|
+
}
|
|
25
|
+
function p() {
|
|
26
|
+
let e = i(), [l, o] = f(t);
|
|
27
|
+
return u(() => (a.size === 0 && window.addEventListener("languagechange", n), a.add(o), () => {
|
|
28
|
+
a.delete(o), a.size === 0 && window.removeEventListener("languagechange", n);
|
|
29
|
+
}), []), e ? {
|
|
30
|
+
locale: typeof window < "u" && window[r] || "en-US",
|
|
31
|
+
direction: "ltr"
|
|
32
|
+
} : l;
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
d as getDefaultLocale,
|
|
36
|
+
p as useDefaultLocale
|
|
37
|
+
};
|