@blockbite/ui 2.0.1 → 2.0.4
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/AutocompleteDropdown.js +22 -22
- package/dist/Badge.js +1 -1
- package/dist/BitePreview.js +1 -1
- package/dist/Button.d.ts +3 -3
- package/dist/Button.js +5 -5
- package/dist/ButtonToggle.d.ts +6 -6
- package/dist/ButtonToggle.js +10 -10
- package/dist/Chapter.js +7 -7
- package/dist/ChapterDivider.js +1 -1
- package/dist/Checkbox.js +8 -8
- package/dist/DisappearingMessage.js +1 -1
- package/dist/DropdownPicker.js +3 -3
- package/dist/EmptyState.js +1 -1
- package/dist/FloatingPanel.js +1 -1
- package/dist/FocalPointControl.js +7 -7
- package/dist/Icon.js +1 -1
- package/dist/LinkPicker.js +20 -22
- package/dist/MediaPicker.js +14 -19
- package/dist/MetricsControl.d.ts +1 -1
- package/dist/MetricsControl.js +40 -41
- package/dist/Modal.js +1 -1
- package/dist/Notice.d.ts +1 -1
- package/dist/Notice.js +9 -9
- package/dist/PasswordInput.js +2 -2
- package/dist/Popover.js +2 -2
- package/dist/RangeSlider.js +5 -5
- package/dist/ResponsiveImage.js +1 -1
- package/dist/ResponsiveVideo.js +1 -1
- package/dist/ScrollList.d.ts +1 -1
- package/dist/ScrollList.js +5 -5
- package/dist/SectionList.js +25 -25
- package/dist/SelectControlWrapper.js +1 -1
- package/dist/SingleBlockTypeAppender.js +7 -8
- package/dist/SlideIn.js +8 -8
- package/dist/Spinner.js +1 -1
- package/dist/Tabs.js +6 -6
- package/dist/Tag.js +1 -1
- package/dist/TextControl.js +5 -5
- package/dist/TextControlLabel.js +6 -6
- package/dist/ToggleGroup.d.ts +3 -3
- package/dist/ToggleGroup.js +7 -7
- package/dist/ToggleSwitch.js +9 -9
- package/dist/Wrap.js +1 -1
- package/dist/node_modules/{react → .pnpm/react@18.2.0/node_modules/react}/cjs/react-jsx-runtime.development.js +204 -219
- package/dist/node_modules/{react → .pnpm/react@18.2.0/node_modules/react}/cjs/react-jsx-runtime.production.min.js +8 -8
- package/dist/node_modules/{react → .pnpm/react@18.2.0/node_modules/react}/jsx-runtime.js +1 -1
- package/dist/packages/icons/jsx/ChevronDown.js +23 -0
- package/dist/packages/icons/jsx/ColumnSpacing.js +25 -0
- package/dist/packages/icons/jsx/Cross2.js +23 -0
- package/dist/packages/icons/jsx/Desktop.js +25 -0
- package/dist/packages/icons/jsx/Grid.js +25 -0
- package/dist/packages/icons/jsx/Pencil1.js +25 -0
- package/dist/packages/icons/jsx/Percentage.js +28 -0
- package/dist/packages/icons/jsx/Plus.js +23 -0
- package/dist/packages/icons/jsx/Slider.js +25 -0
- package/dist/packages/icons/jsx/Tailwind.js +23 -0
- package/dist/packages/icons/jsx/Trash.js +25 -0
- package/package.json +24 -26
- package/dist/_virtual/ChevronDown.js +0 -4
- package/dist/_virtual/ColumnSpacing.js +0 -4
- package/dist/_virtual/Cross2.js +0 -4
- package/dist/_virtual/Desktop.js +0 -4
- package/dist/_virtual/Grid.js +0 -4
- package/dist/_virtual/Pencil1.js +0 -4
- package/dist/_virtual/Percentage.js +0 -4
- package/dist/_virtual/Plus.js +0 -4
- package/dist/_virtual/Slider.js +0 -4
- package/dist/_virtual/Tailwind.js +0 -4
- package/dist/_virtual/TextareaAutosize.js +0 -4
- package/dist/_virtual/Trash.js +0 -4
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -28
- package/dist/_virtual/async.js +0 -4
- package/dist/_virtual/autosize.js +0 -4
- package/dist/_virtual/base.js +0 -4
- package/dist/_virtual/builtin.js +0 -4
- package/dist/_virtual/character.js +0 -4
- package/dist/_virtual/clipboard.js +0 -4
- package/dist/_virtual/create.js +0 -4
- package/dist/_virtual/dispatcher.js +0 -4
- package/dist/_virtual/helpers.js +0 -4
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -4
- package/dist/_virtual/index5.js +0 -4
- package/dist/_virtual/index6.js +0 -4
- package/dist/_virtual/index7.js +0 -4
- package/dist/_virtual/index8.js +0 -4
- package/dist/_virtual/is.js +0 -4
- package/dist/_virtual/keys.js +0 -4
- package/dist/_virtual/picocolors.browser.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.development2.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-is.production.min2.js +0 -4
- package/dist/_virtual/showdown.js +0 -4
- package/dist/_virtual/sprintf.js +0 -4
- package/dist/_virtual/symbols.js +0 -4
- package/dist/_virtual/wrap.js +0 -4
- package/dist/node_modules/@blockbite/icons/dist/ChevronDown.js +0 -63
- package/dist/node_modules/@blockbite/icons/dist/ColumnSpacing.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Cross2.js +0 -63
- package/dist/node_modules/@blockbite/icons/dist/Desktop.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Grid.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Pencil1.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Percentage.js +0 -74
- package/dist/node_modules/@blockbite/icons/dist/Plus.js +0 -63
- package/dist/node_modules/@blockbite/icons/dist/Slider.js +0 -65
- package/dist/node_modules/@blockbite/icons/dist/Tailwind.js +0 -63
- package/dist/node_modules/@blockbite/icons/dist/Trash.js +0 -65
- package/dist/node_modules/@react-spring/animated/dist/react-spring_animated.modern.js +0 -197
- package/dist/node_modules/@react-spring/core/dist/react-spring_core.modern.js +0 -960
- package/dist/node_modules/@react-spring/rafz/dist/react-spring_rafz.modern.js +0 -103
- package/dist/node_modules/@react-spring/shared/dist/react-spring_shared.modern.js +0 -568
- package/dist/node_modules/@react-spring/web/dist/react-spring_web.modern.js +0 -309
- package/dist/node_modules/@tannin/compile/index.js +0 -11
- package/dist/node_modules/@tannin/evaluate/index.js +0 -68
- package/dist/node_modules/@tannin/plural-forms/index.js +0 -10
- package/dist/node_modules/@tannin/postfix/index.js +0 -47
- package/dist/node_modules/@wordpress/a11y/build-module/index.js +0 -11
- package/dist/node_modules/@wordpress/a11y/build-module/script/add-container.js +0 -11
- package/dist/node_modules/@wordpress/a11y/build-module/script/add-intro-text.js +0 -14
- package/dist/node_modules/@wordpress/a11y/build-module/shared/clear.js +0 -9
- package/dist/node_modules/@wordpress/a11y/build-module/shared/filter-message.js +0 -7
- package/dist/node_modules/@wordpress/a11y/build-module/shared/index.js +0 -10
- package/dist/node_modules/@wordpress/api-fetch/build-module/index.js +0 -78
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js +0 -60
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/http-v1.js +0 -17
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/media-upload.js +0 -37
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/namespace-endpoint.js +0 -10
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/nonce.js +0 -21
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/preloading.js +0 -40
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/root-url.js +0 -11
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/theme-preview.js +0 -21
- package/dist/node_modules/@wordpress/api-fetch/build-module/middlewares/user-locale.js +0 -10
- package/dist/node_modules/@wordpress/api-fetch/build-module/utils/response.js +0 -29
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createAddHook.js +0 -39
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createCurrentHook.js +0 -10
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createDidHook.js +0 -11
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createDoingHook.js +0 -9
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createHasHook.js +0 -9
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createHooks.js +0 -19
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createRemoveHook.js +0 -28
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/createRunHook.js +0 -25
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/index.js +0 -43
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/validateHookName.js +0 -6
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/hooks/build-module/validateNamespace.js +0 -6
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/create-i18n.js +0 -95
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/default-i18n.js +0 -17
- package/dist/node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n/build-module/sprintf.js +0 -3
- package/dist/node_modules/@wordpress/autop/build-module/index.js +0 -76
- package/dist/node_modules/@wordpress/blob/build-module/index.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/alignment-control/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/alignment-control/ui.js +0 -67
- package/dist/node_modules/@wordpress/block-editor/build-module/components/background-image-control/index.js +0 -416
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/constants.js +0 -39
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/ui.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-alignment-control/use-available-alignments.js +0 -31
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-card/index.js +0 -85
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-compare/block-view.js +0 -43
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-compare/index.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-context/index.js +0 -20
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/fill.js +0 -35
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/groups.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/hook.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/index.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-controls/slot.js +0 -38
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-draggable/draggable-chip.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/context.js +0 -20
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/edit.js +0 -135
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/index.js +0 -63
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-edit/multiple-usage-warning.js +0 -38
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-editing-mode/index.js +0 -21
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-icon/index.js +0 -33
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-boundary.js +0 -19
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-crash-warning.js +0 -12
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-html.js +0 -43
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block-invalid-warning.js +0 -99
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/block.js +0 -474
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/index.js +0 -188
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/layout.js +0 -13
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/private-block-context.js +0 -5
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/index.js +0 -117
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-block-refs.js +0 -33
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-firefox-draggable-compatibility.js +0 -37
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-first-element.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-focus-handler.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-intersection-observer.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-is-hovered.js +0 -22
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-scroll-into-view.js +0 -29
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-block-props/use-selected-block-event-handlers.js +0 -94
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/use-in-between-inserter.js +0 -78
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list/zoom-out-separator.js +0 -99
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-list-appender/index.js +0 -50
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-patterns-list/index.js +0 -159
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-patterns-paging/index.js +0 -94
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/cover.js +0 -57
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/index.js +0 -82
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-popover/use-popover-scroll.js +0 -25
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/async.js +0 -22
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/auto.js +0 -93
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-preview/index.js +0 -51
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-selection-clearer/index.js +0 -29
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-tools/insertion-point.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-types-list/index.js +0 -42
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/block-vertical-alignment-control/ui.js +0 -60
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/all-input-control.js +0 -41
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/index.js +0 -83
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/input-controls.js +0 -62
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/linked-button.js +0 -24
- package/dist/node_modules/@wordpress/block-editor/build-module/components/border-radius-control/utils.js +0 -34
- package/dist/node_modules/@wordpress/block-editor/build-module/components/button-block-appender/index.js +0 -65
- package/dist/node_modules/@wordpress/block-editor/build-module/components/child-layout-control/index.js +0 -249
- package/dist/node_modules/@wordpress/block-editor/build-module/components/colors/utils.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/colors-gradients/control.js +0 -124
- package/dist/node_modules/@wordpress/block-editor/build-module/components/colors-gradients/use-multiple-origin-colors-and-gradients.js +0 -45
- package/dist/node_modules/@wordpress/block-editor/build-module/components/contrast-checker/index.js +0 -73
- package/dist/node_modules/@wordpress/block-editor/build-module/components/default-block-appender/index.js +0 -74
- package/dist/node_modules/@wordpress/block-editor/build-module/components/dimensions-tool/aspect-ratio-tool.js +0 -56
- package/dist/node_modules/@wordpress/block-editor/build-module/components/duotone/utils.js +0 -58
- package/dist/node_modules/@wordpress/block-editor/build-module/components/duotone-control/index.js +0 -69
- package/dist/node_modules/@wordpress/block-editor/build-module/components/editor-styles/index.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-appearance-control/index.js +0 -100
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-family/index.js +0 -64
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-sizes/fluid-utils.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/font-sizes/utils.js +0 -24
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/background-panel.js +0 -82
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/border-panel.js +0 -203
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/color-panel.js +0 -448
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/context.js +0 -12
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/dimensions-panel.js +0 -400
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/filters-panel.js +0 -168
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/get-block-css-selector.js +0 -29
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/hooks.js +0 -116
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/shadow-panel-components.js +0 -189
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/typography-panel.js +0 -308
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/typography-utils.js +0 -81
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/use-global-styles-output.js +0 -418
- package/dist/node_modules/@wordpress/block-editor/build-module/components/global-styles/utils.js +0 -190
- package/dist/node_modules/@wordpress/block-editor/build-module/components/gradients/use-gradient.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-item-movers.js +0 -113
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-item-resizer.js +0 -114
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/grid-visualizer.js +0 -264
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/use-get-number-of-blocks-before-cell.js +0 -24
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/use-grid-layout-sync.js +0 -161
- package/dist/node_modules/@wordpress/block-editor/build-module/components/grid/utils.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/height-control/index.js +0 -178
- package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/get-compatibility-styles.js +0 -38
- package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/index.js +0 -206
- package/dist/node_modules/@wordpress/block-editor/build-module/components/iframe/use-scale-canvas.js +0 -139
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/button-block-appender.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/default-block-appender.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/index.js +0 -179
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-block-context.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-inner-block-template-sync.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inner-blocks/use-nested-settings-update.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/index.js +0 -49
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +0 -65
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-explorer/pattern-list.js +0 -92
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/index.js +0 -57
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/pattern-category-previews.js +0 -81
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/patterns-filter.js +0 -100
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/use-pattern-categories.js +0 -31
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-patterns-tab/utils.js +0 -32
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/block-types-tab.js +0 -123
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/category-tabs/index.js +0 -64
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-block-types-state.js +0 -58
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-insertion-point.js +0 -92
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-paging.js +0 -23
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/hooks/use-patterns-state.js +0 -66
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/index.js +0 -281
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/hooks.js +0 -67
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-list.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-panel.js +0 -45
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-preview.js +0 -207
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/media-tab.js +0 -72
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/media-tab/utils.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/menu.js +0 -203
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/mobile-tab-navigation.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/no-results.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/panel.js +0 -25
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/preview-panel.js +0 -67
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/quick-inserter.js +0 -92
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/search-items.js +0 -66
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/search-results.js +0 -127
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter/tips.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-draggable-blocks/index.js +0 -70
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-list-item/index.js +0 -84
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/group.js +0 -28
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/index.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/item.js +0 -34
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-listbox/row.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inserter-menu-extension/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-slot-container.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/block-support-tools-panel.js +0 -56
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/fill.js +0 -64
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/groups.js +0 -21
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/index.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/build-module/components/inspector-controls/slot.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/components/justify-content-control/index.js +0 -9
- package/dist/node_modules/@wordpress/block-editor/build-module/components/justify-content-control/ui.js +0 -71
- package/dist/node_modules/@wordpress/block-editor/build-module/components/keyboard-shortcuts/index.js +0 -160
- package/dist/node_modules/@wordpress/block-editor/build-module/components/letter-spacing-control/index.js +0 -40
- package/dist/node_modules/@wordpress/block-editor/build-module/components/line-height-control/index.js +0 -74
- package/dist/node_modules/@wordpress/block-editor/build-module/components/line-height-control/utils.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/constants.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/index.js +0 -204
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/is-url-like.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/link-preview.js +0 -130
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-create-button.js +0 -35
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-input.js +0 -96
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-item.js +0 -82
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/search-results.js +0 -63
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/settings-drawer.js +0 -57
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/settings.js +0 -37
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-create-page.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-internal-value.js +0 -25
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-rich-url-data.js +0 -66
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/use-search-handler.js +0 -58
- package/dist/node_modules/@wordpress/block-editor/build-module/components/link-control/viewer-slot.js +0 -10
- package/dist/node_modules/@wordpress/block-editor/build-module/components/media-replace-flow/index.js +0 -181
- package/dist/node_modules/@wordpress/block-editor/build-module/components/media-upload/check.js +0 -17
- package/dist/node_modules/@wordpress/block-editor/build-module/components/media-upload/index.js +0 -5
- package/dist/node_modules/@wordpress/block-editor/build-module/components/observe-typing/index.js +0 -95
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/block-refs-provider.js +0 -21
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/index.js +0 -74
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/use-block-sync.js +0 -85
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/use-media-upload-settings.js +0 -12
- package/dist/node_modules/@wordpress/block-editor/build-module/components/provider/with-registry-provider.js +0 -33
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/hooks/use-spacing-sizes.js +0 -29
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/index.js +0 -79
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/axial.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/separated.js +0 -38
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/single.js +0 -37
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/input-controls/spacing-input-control.js +0 -286
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/linked-button.js +0 -23
- package/dist/node_modules/@wordpress/block-editor/build-module/components/spacing-sizes-control/utils.js +0 -121
- package/dist/node_modules/@wordpress/block-editor/build-module/components/tabbed-sidebar/index.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/components/text-alignment-control/index.js +0 -55
- package/dist/node_modules/@wordpress/block-editor/build-module/components/text-decoration-control/index.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/components/text-transform-control/index.js +0 -52
- package/dist/node_modules/@wordpress/block-editor/build-module/components/url-input/index.js +0 -322
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-block-display-information/index.js +0 -50
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-block-drop-zone/index.js +0 -199
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-flash-editable-blocks/index.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-moving-animation/index.js +0 -91
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-on-block-drop/index.js +0 -132
- package/dist/node_modules/@wordpress/block-editor/build-module/components/use-settings/index.js +0 -16
- package/dist/node_modules/@wordpress/block-editor/build-module/components/warning/index.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/index.js +0 -45
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-arrow-nav.js +0 -114
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-click-selection.js +0 -28
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-clipboard-handler.js +0 -128
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-drag-selection.js +0 -59
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-input.js +0 -75
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-multi-selection.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-select-all.js +0 -42
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-selection-observer.js +0 -125
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/use-tab-nav.js +0 -104
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-flow/utils.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/components/writing-mode-control/index.js +0 -42
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/align.js +0 -83
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/anchor.js +0 -75
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/aria-label.js +0 -27
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/background.js +0 -126
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-bindings.js +0 -231
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-hooks.js +0 -142
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-renaming.js +0 -23
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/block-style-variation.js +0 -138
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/border.js +0 -237
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/color.js +0 -221
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/compat.js +0 -10
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/content-lock-ui.js +0 -51
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/contrast-checker.js +0 -44
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/custom-class-name.js +0 -75
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/dimensions.js +0 -112
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/duotone.js +0 -186
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/font-family.js +0 -47
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/font-size.js +0 -77
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/gap.js +0 -21
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/generated-class-name.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/grid-visualizer.js +0 -43
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/index.js +0 -42
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/layout-child.js +0 -163
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/layout.js +0 -245
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/line-height.js +0 -7
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/lock.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/metadata.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/position.js +0 -168
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/settings.js +0 -13
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/spacing-visualizer.js +0 -91
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/style.js +0 -174
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/text-align.js +0 -99
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/typography.js +0 -103
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/use-typography-props.js +0 -6
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/use-zoom-out.js +0 -30
- package/dist/node_modules/@wordpress/block-editor/build-module/hooks/utils.js +0 -300
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/constrained.js +0 -237
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/definitions.js +0 -147
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/flex.js +0 -255
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/flow.js +0 -67
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/grid.js +0 -291
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/index.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/layouts/utils.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/lock-unlock.js +0 -7
- package/dist/node_modules/@wordpress/block-editor/build-module/store/actions.js +0 -909
- package/dist/node_modules/@wordpress/block-editor/build-module/store/array.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/store/constants.js +0 -4
- package/dist/node_modules/@wordpress/block-editor/build-module/store/defaults.js +0 -219
- package/dist/node_modules/@wordpress/block-editor/build-module/store/get-block-settings.js +0 -80
- package/dist/node_modules/@wordpress/block-editor/build-module/store/index.js +0 -27
- package/dist/node_modules/@wordpress/block-editor/build-module/store/private-actions.js +0 -232
- package/dist/node_modules/@wordpress/block-editor/build-module/store/private-keys.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/build-module/store/private-selectors.js +0 -244
- package/dist/node_modules/@wordpress/block-editor/build-module/store/reducer.js +0 -1437
- package/dist/node_modules/@wordpress/block-editor/build-module/store/selectors.js +0 -979
- package/dist/node_modules/@wordpress/block-editor/build-module/store/utils.js +0 -56
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/block-bindings.js +0 -95
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/dom.js +0 -70
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/format-font-style.js +0 -31
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/format-font-weight.js +0 -54
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/get-font-styles-and-weights.js +0 -98
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/math.js +0 -27
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/object.js +0 -26
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/order-inserter-block-items.js +0 -11
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/pasting.js +0 -48
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/selection.js +0 -22
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/sorting.js +0 -15
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/transform-styles/index.js +0 -80
- package/dist/node_modules/@wordpress/block-editor/build-module/utils/use-notify-copy.js +0 -49
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/filter-url-for-display.js +0 -18
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-filename.js +0 -14
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-path.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/get-protocol.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-email.js +0 -7
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-url.js +0 -10
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-valid-fragment.js +0 -6
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/is-valid-protocol.js +0 -6
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/prepend-http.js +0 -8
- package/dist/node_modules/@wordpress/block-editor/node_modules/@wordpress/url/build-module/safe-decode-uri.js +0 -10
- package/dist/node_modules/@wordpress/block-serialization-default-parser/build-module/index.js +0 -98
- package/dist/node_modules/@wordpress/blocks/build-module/api/children.js +0 -33
- package/dist/node_modules/@wordpress/blocks/build-module/api/constants.js +0 -282
- package/dist/node_modules/@wordpress/blocks/build-module/api/factory.js +0 -139
- package/dist/node_modules/@wordpress/blocks/build-module/api/index.js +0 -16
- package/dist/node_modules/@wordpress/blocks/build-module/api/matchers.js +0 -29
- package/dist/node_modules/@wordpress/blocks/build-module/api/node.js +0 -52
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/apply-block-deprecated-versions.js +0 -51
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/apply-built-in-validation-fixes.js +0 -16
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/convert-legacy-block.js +0 -60
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/fix-aria-label.js +0 -23
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/fix-custom-classname.js +0 -28
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/get-block-attributes.js +0 -111
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/index.js +0 -100
- package/dist/node_modules/@wordpress/blocks/build-module/api/parser/serialize-raw-block.js +0 -22
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/blockquote-normaliser.js +0 -9
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/br-remover.js +0 -7
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/comment-remover.js +0 -7
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/div-normaliser.js +0 -7
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/empty-paragraph-remover.js +0 -6
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/figure-content-reducer.js +0 -26
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/get-raw-transforms.js +0 -12
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/google-docs-uid-remover.js +0 -7
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/head-remover.js +0 -6
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/html-formatting-remover.js +0 -26
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/html-to-blocks.js +0 -31
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/iframe-remover.js +0 -9
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/image-corrector.js +0 -30
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/index.js +0 -42
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/is-inline-content.js +0 -24
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/list-reducer.js +0 -31
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js +0 -23
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-converter.js +0 -28
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/ms-list-ignore.js +0 -14
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/normalise-blocks.js +0 -13
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/paste-handler.js +0 -78
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/phrasing-content-reducer.js +0 -17
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js +0 -41
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/slack-paragraph-corrector.js +0 -11
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/special-comment-converter.js +0 -36
- package/dist/node_modules/@wordpress/blocks/build-module/api/raw-handling/utils.js +0 -87
- package/dist/node_modules/@wordpress/blocks/build-module/api/registration.js +0 -58
- package/dist/node_modules/@wordpress/blocks/build-module/api/serializer.js +0 -138
- package/dist/node_modules/@wordpress/blocks/build-module/api/templates.js +0 -36
- package/dist/node_modules/@wordpress/blocks/build-module/api/utils.js +0 -101
- package/dist/node_modules/@wordpress/blocks/build-module/api/validation/index.js +0 -173
- package/dist/node_modules/@wordpress/blocks/build-module/api/validation/logger.js +0 -39
- package/dist/node_modules/@wordpress/blocks/build-module/lock-unlock.js +0 -9
- package/dist/node_modules/@wordpress/blocks/build-module/store/actions.js +0 -130
- package/dist/node_modules/@wordpress/blocks/build-module/store/constants.js +0 -4
- package/dist/node_modules/@wordpress/blocks/build-module/store/index.js +0 -20
- package/dist/node_modules/@wordpress/blocks/build-module/store/private-actions.js +0 -45
- package/dist/node_modules/@wordpress/blocks/build-module/store/private-selectors.js +0 -58
- package/dist/node_modules/@wordpress/blocks/build-module/store/process-block-type.js +0 -99
- package/dist/node_modules/@wordpress/blocks/build-module/store/reducer.js +0 -251
- package/dist/node_modules/@wordpress/blocks/build-module/store/selectors.js +0 -109
- package/dist/node_modules/@wordpress/blocks/build-module/store/utils.js +0 -18
- package/dist/node_modules/@wordpress/blocks/node_modules/react-is/cjs/react-is.development.js +0 -103
- package/dist/node_modules/@wordpress/blocks/node_modules/react-is/cjs/react-is.production.min.js +0 -81
- package/dist/node_modules/@wordpress/blocks/node_modules/react-is/index.js +0 -8
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/compose.js +0 -5
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/if-condition/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/pipe.js +0 -8
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/pure/index.js +0 -23
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/with-instance-id/index.js +0 -13
- package/dist/node_modules/@wordpress/compose/build-module/higher-order/with-safe-timeout/index.js +0 -33
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-async-list/index.js +0 -34
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-copy-to-clipboard/index.js +0 -29
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-debounce/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-debounced-input/index.js +0 -11
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-disabled/index.js +0 -32
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-drop-zone/index.js +0 -67
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-event/index.js +0 -12
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-instance-id/index.js +0 -17
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-isomorphic-layout-effect/index.js +0 -5
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-media-query/index.js +0 -30
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-merge-refs/index.js +0 -23
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-previous/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-reduced-motion/index.js +0 -5
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-ref-effect/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/index.js +0 -7
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/legacy/index.js +0 -61
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-resize-observer/use-resize-observer.js +0 -18
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-throttle/index.js +0 -10
- package/dist/node_modules/@wordpress/compose/build-module/hooks/use-viewport-match/index.js +0 -28
- package/dist/node_modules/@wordpress/compose/build-module/utils/create-higher-order-component/index.js +0 -14
- package/dist/node_modules/@wordpress/compose/build-module/utils/debounce/index.js +0 -63
- package/dist/node_modules/@wordpress/compose/build-module/utils/observable-map/index.js +0 -29
- package/dist/node_modules/@wordpress/compose/build-module/utils/throttle/index.js +0 -9
- package/dist/node_modules/@wordpress/data/build-module/components/async-mode-provider/context.js +0 -9
- package/dist/node_modules/@wordpress/data/build-module/components/async-mode-provider/use-async-mode.js +0 -8
- package/dist/node_modules/@wordpress/data/build-module/components/registry-provider/context.js +0 -10
- package/dist/node_modules/@wordpress/data/build-module/components/registry-provider/use-registry.js +0 -8
- package/dist/node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch-with-map.js +0 -15
- package/dist/node_modules/@wordpress/data/build-module/components/use-dispatch/use-dispatch.js +0 -10
- package/dist/node_modules/@wordpress/data/build-module/components/use-select/index.js +0 -112
- package/dist/node_modules/@wordpress/data/build-module/components/with-dispatch/index.js +0 -13
- package/dist/node_modules/@wordpress/data/build-module/components/with-select/index.js +0 -14
- package/dist/node_modules/@wordpress/data/build-module/controls.js +0 -24
- package/dist/node_modules/@wordpress/data/build-module/default-registry.js +0 -5
- package/dist/node_modules/@wordpress/data/build-module/factory.js +0 -14
- package/dist/node_modules/@wordpress/data/build-module/index.js +0 -15
- package/dist/node_modules/@wordpress/data/build-module/lock-unlock.js +0 -9
- package/dist/node_modules/@wordpress/data/build-module/promise-middleware.js +0 -8
- package/dist/node_modules/@wordpress/data/build-module/redux-store/combine-reducers.js +0 -15
- package/dist/node_modules/@wordpress/data/build-module/redux-store/index.js +0 -250
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/actions.js +0 -73
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/reducer.js +0 -83
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/selectors.js +0 -78
- package/dist/node_modules/@wordpress/data/build-module/redux-store/metadata/utils.js +0 -23
- package/dist/node_modules/@wordpress/data/build-module/redux-store/thunk-middleware.js +0 -6
- package/dist/node_modules/@wordpress/data/build-module/registry.js +0 -159
- package/dist/node_modules/@wordpress/data/build-module/resolvers-cache-middleware.js +0 -12
- package/dist/node_modules/@wordpress/data/build-module/select.js +0 -7
- package/dist/node_modules/@wordpress/data/build-module/store/index.js +0 -21
- package/dist/node_modules/@wordpress/data/build-module/utils/emitter.js +0 -33
- package/dist/node_modules/@wordpress/deprecated/build-module/index.js +0 -17
- package/dist/node_modules/@wordpress/dom/build-module/data-transfer.js +0 -14
- package/dist/node_modules/@wordpress/dom/build-module/dom/caret-range-from-point.js +0 -14
- package/dist/node_modules/@wordpress/dom/build-module/dom/clean-node-list.js +0 -51
- package/dist/node_modules/@wordpress/dom/build-module/dom/compute-caret-rect.js +0 -11
- package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-selection.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-text-selection.js +0 -11
- package/dist/node_modules/@wordpress/dom/build-module/dom/document-has-uncollapsed-selection.js +0 -8
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-computed-style.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-range-height.js +0 -14
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-rectangle-from-range.js +0 -58
- package/dist/node_modules/@wordpress/dom/build-module/dom/get-scroll-container.js +0 -27
- package/dist/node_modules/@wordpress/dom/build-module/dom/hidden-caret-range-from-point.js +0 -13
- package/dist/node_modules/@wordpress/dom/build-module/dom/input-field-has-uncollapsed-selection.js +0 -27
- package/dist/node_modules/@wordpress/dom/build-module/dom/insert-after.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-edge.js +0 -42
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-element.js +0 -6
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-empty.js +0 -16
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-entirely-selected.js +0 -46
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-form-element.js +0 -12
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-horizontal-edge.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-html-input-element.js +0 -6
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-input-or-text-area.js +0 -6
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-rtl.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-selection-forward.js +0 -15
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-text-field.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/dom/is-vertical-edge.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-edge.js +0 -39
- package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-horizontal-edge.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/place-caret-at-vertical-edge.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/remove-invalid-html.js +0 -8
- package/dist/node_modules/@wordpress/dom/build-module/dom/remove.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/replace-tag.js +0 -10
- package/dist/node_modules/@wordpress/dom/build-module/dom/replace.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/dom/safe-html.js +0 -27
- package/dist/node_modules/@wordpress/dom/build-module/dom/scroll-if-no-range.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/dom/strip-html.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/dom/unwrap.js +0 -10
- package/dist/node_modules/@wordpress/dom/build-module/dom/wrap.js +0 -7
- package/dist/node_modules/@wordpress/dom/build-module/focusable.js +0 -32
- package/dist/node_modules/@wordpress/dom/build-module/index.js +0 -9
- package/dist/node_modules/@wordpress/dom/build-module/phrasing-content.js +0 -125
- package/dist/node_modules/@wordpress/dom/build-module/tabbable.js +0 -66
- package/dist/node_modules/@wordpress/dom/build-module/utils/assert-is-defined.js +0 -7
- package/dist/node_modules/@wordpress/dom-ready/build-module/index.js +0 -11
- package/dist/node_modules/@wordpress/escape-html/build-module/escape-greater.js +0 -6
- package/dist/node_modules/@wordpress/escape-html/build-module/index.js +0 -28
- package/dist/node_modules/@wordpress/hooks/build-module/createAddHook.js +0 -39
- package/dist/node_modules/@wordpress/hooks/build-module/createCurrentHook.js +0 -10
- package/dist/node_modules/@wordpress/hooks/build-module/createDidHook.js +0 -11
- package/dist/node_modules/@wordpress/hooks/build-module/createDoingHook.js +0 -9
- package/dist/node_modules/@wordpress/hooks/build-module/createHasHook.js +0 -9
- package/dist/node_modules/@wordpress/hooks/build-module/createHooks.js +0 -19
- package/dist/node_modules/@wordpress/hooks/build-module/createRemoveHook.js +0 -28
- package/dist/node_modules/@wordpress/hooks/build-module/createRunHook.js +0 -42
- package/dist/node_modules/@wordpress/hooks/build-module/index.js +0 -47
- package/dist/node_modules/@wordpress/hooks/build-module/validateHookName.js +0 -6
- package/dist/node_modules/@wordpress/hooks/build-module/validateNamespace.js +0 -6
- package/dist/node_modules/@wordpress/html-entities/build-module/index.js +0 -12
- package/dist/node_modules/@wordpress/i18n/build-module/create-i18n.js +0 -95
- package/dist/node_modules/@wordpress/i18n/build-module/default-i18n.js +0 -18
- package/dist/node_modules/@wordpress/i18n/build-module/sprintf.js +0 -15
- package/dist/node_modules/@wordpress/icons/build-module/icon/index.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/align-center.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/align-justify.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/align-left.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/align-none.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/align-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/arrow-down.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/arrow-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/block-default.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/category.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/check.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-down.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-left-small.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-left.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-right-small.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/chevron-up.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/close-small.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/copy-small.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/drag-handle.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/edit.js +0 -4
- package/dist/node_modules/@wordpress/icons/build-module/library/external.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/file.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/filter.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-capitalize.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-lowercase.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-strikethrough.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-underline.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/format-uppercase.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/globe.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/home.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/info.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-bottom.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-center-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-center.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-left.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-space-between-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-space-between.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-stretch-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-stretch.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/justify-top.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/keyboard-return.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/link-off.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/link.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/media.js +0 -16
- package/dist/node_modules/@wordpress/icons/build-module/library/more-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/page.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/pencil.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/plus.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/position-center.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/position-left.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/position-right.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/post-featured-image.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/post-list.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/reset.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/settings.js +0 -14
- package/dist/node_modules/@wordpress/icons/build-module/library/shadow.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-all.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-bottom.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-horizontal.js +0 -19
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-left.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-right.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-top.js +0 -17
- package/dist/node_modules/@wordpress/icons/build-module/library/sides-vertical.js +0 -19
- package/dist/node_modules/@wordpress/icons/build-module/library/stretch-full-width.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/stretch-wide.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/symbol.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/tag.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/text-horizontal.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/text-vertical.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/upload.js +0 -12
- package/dist/node_modules/@wordpress/icons/build-module/library/verse.js +0 -12
- package/dist/node_modules/@wordpress/is-shallow-equal/build-module/arrays.js +0 -13
- package/dist/node_modules/@wordpress/is-shallow-equal/build-module/index.js +0 -16
- package/dist/node_modules/@wordpress/is-shallow-equal/build-module/objects.js +0 -25
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/components/shortcut-provider.js +0 -6
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/context.js +0 -15
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut-event-match.js +0 -18
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js +0 -26
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/index.js +0 -14
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/reducer.js +0 -24
- package/dist/node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js +0 -33
- package/dist/node_modules/@wordpress/keycodes/build-module/index.js +0 -123
- package/dist/node_modules/@wordpress/keycodes/build-module/platform.js +0 -14
- package/dist/node_modules/@wordpress/notices/build-module/store/actions.js +0 -76
- package/dist/node_modules/@wordpress/notices/build-module/store/constants.js +0 -5
- package/dist/node_modules/@wordpress/notices/build-module/store/index.js +0 -14
- package/dist/node_modules/@wordpress/notices/build-module/store/reducer.js +0 -25
- package/dist/node_modules/@wordpress/notices/build-module/store/selectors.js +0 -8
- package/dist/node_modules/@wordpress/notices/build-module/store/utils/on-sub-key.js +0 -14
- package/dist/node_modules/@wordpress/preferences/build-module/store/actions.js +0 -38
- package/dist/node_modules/@wordpress/preferences/build-module/store/constants.js +0 -4
- package/dist/node_modules/@wordpress/preferences/build-module/store/index.js +0 -15
- package/dist/node_modules/@wordpress/preferences/build-module/store/reducer.js +0 -56
- package/dist/node_modules/@wordpress/preferences/build-module/store/selectors.js +0 -11
- package/dist/node_modules/@wordpress/primitives/build-module/svg/index.js +0 -35
- package/dist/node_modules/@wordpress/priority-queue/build-module/index.js +0 -31
- package/dist/node_modules/@wordpress/priority-queue/build-module/request-idle-callback.js +0 -11
- package/dist/node_modules/@wordpress/private-apis/build-module/implementation.js +0 -28
- package/dist/node_modules/@wordpress/redux-routine/build-module/index.js +0 -11
- package/dist/node_modules/@wordpress/redux-routine/build-module/is-action.js +0 -11
- package/dist/node_modules/@wordpress/redux-routine/build-module/is-generator.js +0 -6
- package/dist/node_modules/@wordpress/redux-routine/build-module/runtime.js +0 -20
- package/dist/node_modules/@wordpress/rich-text/build-module/concat.js +0 -6
- package/dist/node_modules/@wordpress/rich-text/build-module/create-element.js +0 -8
- package/dist/node_modules/@wordpress/rich-text/build-module/create.js +0 -330
- package/dist/node_modules/@wordpress/rich-text/build-module/get-active-formats.js +0 -37
- package/dist/node_modules/@wordpress/rich-text/build-module/get-format-type.js +0 -8
- package/dist/node_modules/@wordpress/rich-text/build-module/get-text-content.js +0 -9
- package/dist/node_modules/@wordpress/rich-text/build-module/insert.js +0 -23
- package/dist/node_modules/@wordpress/rich-text/build-module/is-format-equal.js +0 -24
- package/dist/node_modules/@wordpress/rich-text/build-module/normalise-formats.js +0 -20
- package/dist/node_modules/@wordpress/rich-text/build-module/remove.js +0 -8
- package/dist/node_modules/@wordpress/rich-text/build-module/special-characters.js +0 -5
- package/dist/node_modules/@wordpress/rich-text/build-module/store/actions.js +0 -16
- package/dist/node_modules/@wordpress/rich-text/build-module/store/index.js +0 -14
- package/dist/node_modules/@wordpress/rich-text/build-module/store/reducer.js +0 -24
- package/dist/node_modules/@wordpress/rich-text/build-module/store/selectors.js +0 -26
- package/dist/node_modules/@wordpress/rich-text/build-module/to-html-string.js +0 -74
- package/dist/node_modules/@wordpress/rich-text/build-module/to-tree.js +0 -162
- package/dist/node_modules/@wordpress/shortcode/build-module/index.js +0 -129
- package/dist/node_modules/@wordpress/style-engine/build-module/index.js +0 -29
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/background/index.js +0 -28
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/border/index.js +0 -38
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/background.js +0 -8
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/gradient.js +0 -8
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/index.js +0 -7
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/color/text.js +0 -8
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/constants.js +0 -6
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/dimensions/index.js +0 -11
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/index.js +0 -12
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/outline/index.js +0 -17
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/shadow/index.js +0 -8
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/index.js +0 -6
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/margin.js +0 -11
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/spacing/padding.js +0 -11
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/typography/index.js +0 -35
- package/dist/node_modules/@wordpress/style-engine/build-module/styles/utils.js +0 -78
- package/dist/node_modules/@wordpress/token-list/build-module/index.js +0 -166
- package/dist/node_modules/@wordpress/upload-media/build-module/components/provider/index.js +0 -22
- package/dist/node_modules/@wordpress/upload-media/build-module/components/provider/with-registry-provider.js +0 -33
- package/dist/node_modules/@wordpress/upload-media/build-module/get-mime-types-array.js +0 -9
- package/dist/node_modules/@wordpress/upload-media/build-module/lock-unlock.js +0 -7
- package/dist/node_modules/@wordpress/upload-media/build-module/store/actions.js +0 -69
- package/dist/node_modules/@wordpress/upload-media/build-module/store/constants.js +0 -4
- package/dist/node_modules/@wordpress/upload-media/build-module/store/index.js +0 -25
- package/dist/node_modules/@wordpress/upload-media/build-module/store/private-actions.js +0 -196
- package/dist/node_modules/@wordpress/upload-media/build-module/store/private-selectors.js +0 -31
- package/dist/node_modules/@wordpress/upload-media/build-module/store/reducer.js +0 -114
- package/dist/node_modules/@wordpress/upload-media/build-module/store/selectors.js +0 -22
- package/dist/node_modules/@wordpress/upload-media/build-module/store/types.js +0 -12
- package/dist/node_modules/@wordpress/upload-media/build-module/stub-file.js +0 -8
- package/dist/node_modules/@wordpress/upload-media/build-module/upload-error.js +0 -15
- package/dist/node_modules/@wordpress/upload-media/build-module/utils.js +0 -25
- package/dist/node_modules/@wordpress/upload-media/build-module/validate-file-size.js +0 -29
- package/dist/node_modules/@wordpress/upload-media/build-module/validate-mime-type-for-user.js +0 -24
- package/dist/node_modules/@wordpress/upload-media/build-module/validate-mime-type.js +0 -22
- package/dist/node_modules/@wordpress/url/build-module/add-query-args.js +0 -12
- package/dist/node_modules/@wordpress/url/build-module/build-query-string.js +0 -17
- package/dist/node_modules/@wordpress/url/build-module/get-query-arg.js +0 -7
- package/dist/node_modules/@wordpress/url/build-module/get-query-args.js +0 -33
- package/dist/node_modules/@wordpress/url/build-module/get-query-string.js +0 -12
- package/dist/node_modules/@wordpress/url/build-module/has-query-arg.js +0 -7
- package/dist/node_modules/@wordpress/url/build-module/normalize-path.js +0 -7
- package/dist/node_modules/@wordpress/url/build-module/remove-query-args.js +0 -14
- package/dist/node_modules/@wordpress/url/build-module/safe-decode-uri-component.js +0 -10
- package/dist/node_modules/@wordpress/warning/build-module/index.js +0 -17
- package/dist/node_modules/@wordpress/warning/build-module/utils.js +0 -4
- package/dist/node_modules/autosize/dist/autosize.js +0 -129
- package/dist/node_modules/camel-case/dist.es2015/index.js +0 -12
- package/dist/node_modules/clipboard/dist/clipboard.js +0 -496
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/colord/index.js +0 -139
- package/dist/node_modules/colord/plugins/a11y.js +0 -22
- package/dist/node_modules/colord/plugins/names.js +0 -25
- package/dist/node_modules/computed-style/dist/computedStyle.commonjs.js +0 -22
- package/dist/node_modules/diff/lib/diff/base.js +0 -142
- package/dist/node_modules/diff/lib/diff/character.js +0 -22
- package/dist/node_modules/dot-case/dist.es2015/index.js +0 -8
- package/dist/node_modules/equivalent-key-map/equivalent-key-map.js +0 -149
- package/dist/node_modules/fast-deep-equal/es6/index.js +0 -50
- package/dist/node_modules/fast-deep-equal/index.js +0 -30
- package/dist/node_modules/hpq/es/get-path.js +0 -11
- package/dist/node_modules/hpq/es/index.js +0 -56
- package/dist/node_modules/is-plain-object/dist/is-plain-object.js +0 -16
- package/dist/node_modules/is-promise/index.js +0 -6
- package/dist/node_modules/line-height/lib/line-height.js +0 -24
- package/dist/node_modules/lodash/_Hash.js +0 -22
- package/dist/node_modules/lodash/_ListCache.js +0 -22
- package/dist/node_modules/lodash/_Map.js +0 -6
- package/dist/node_modules/lodash/_MapCache.js +0 -22
- package/dist/node_modules/lodash/_Symbol.js +0 -5
- package/dist/node_modules/lodash/_arrayMap.js +0 -9
- package/dist/node_modules/lodash/_assocIndexOf.js +0 -12
- package/dist/node_modules/lodash/_baseGetTag.js +0 -11
- package/dist/node_modules/lodash/_baseHas.js +0 -8
- package/dist/node_modules/lodash/_baseIsArguments.js +0 -10
- package/dist/node_modules/lodash/_baseIsNative.js +0 -17
- package/dist/node_modules/lodash/_baseToString.js +0 -19
- package/dist/node_modules/lodash/_castPath.js +0 -12
- package/dist/node_modules/lodash/_coreJsData.js +0 -5
- package/dist/node_modules/lodash/_freeGlobal.js +0 -5
- package/dist/node_modules/lodash/_getMapData.js +0 -10
- package/dist/node_modules/lodash/_getNative.js +0 -11
- package/dist/node_modules/lodash/_getRawTag.js +0 -16
- package/dist/node_modules/lodash/_getValue.js +0 -7
- package/dist/node_modules/lodash/_hasPath.js +0 -21
- package/dist/node_modules/lodash/_hashClear.js +0 -9
- package/dist/node_modules/lodash/_hashDelete.js +0 -8
- package/dist/node_modules/lodash/_hashGet.js +0 -14
- package/dist/node_modules/lodash/_hashHas.js +0 -10
- package/dist/node_modules/lodash/_hashSet.js +0 -10
- package/dist/node_modules/lodash/_isIndex.js +0 -9
- package/dist/node_modules/lodash/_isKey.js +0 -13
- package/dist/node_modules/lodash/_isKeyable.js +0 -8
- package/dist/node_modules/lodash/_isMasked.js +0 -12
- package/dist/node_modules/lodash/_listCacheClear.js +0 -7
- package/dist/node_modules/lodash/_listCacheDelete.js +0 -13
- package/dist/node_modules/lodash/_listCacheGet.js +0 -10
- package/dist/node_modules/lodash/_listCacheHas.js +0 -9
- package/dist/node_modules/lodash/_listCacheSet.js +0 -10
- package/dist/node_modules/lodash/_mapCacheClear.js +0 -15
- package/dist/node_modules/lodash/_mapCacheDelete.js +0 -10
- package/dist/node_modules/lodash/_mapCacheGet.js +0 -9
- package/dist/node_modules/lodash/_mapCacheHas.js +0 -9
- package/dist/node_modules/lodash/_mapCacheSet.js +0 -10
- package/dist/node_modules/lodash/_memoizeCapped.js +0 -12
- package/dist/node_modules/lodash/_nativeCreate.js +0 -5
- package/dist/node_modules/lodash/_objectToString.js +0 -8
- package/dist/node_modules/lodash/_root.js +0 -5
- package/dist/node_modules/lodash/_stringToPath.js +0 -10
- package/dist/node_modules/lodash/_toKey.js +0 -12
- package/dist/node_modules/lodash/_toSource.js +0 -18
- package/dist/node_modules/lodash/eq.js +0 -7
- package/dist/node_modules/lodash/has.js +0 -12
- package/dist/node_modules/lodash/isArguments.js +0 -10
- package/dist/node_modules/lodash/isArray.js +0 -4
- package/dist/node_modules/lodash/isFunction.js +0 -13
- package/dist/node_modules/lodash/isLength.js +0 -8
- package/dist/node_modules/lodash/isObject.js +0 -8
- package/dist/node_modules/lodash/isObjectLike.js +0 -7
- package/dist/node_modules/lodash/isSymbol.js +0 -10
- package/dist/node_modules/lodash/memoize.js +0 -19
- package/dist/node_modules/lodash/toString.js +0 -9
- package/dist/node_modules/lower-case/dist.es2015/index.js +0 -6
- package/dist/node_modules/memize/dist/index.js +0 -34
- package/dist/node_modules/nanoid/non-secure/index.js +0 -10
- package/dist/node_modules/no-case/dist.es2015/index.js +0 -18
- package/dist/node_modules/object-assign/index.js +0 -54
- package/dist/node_modules/param-case/dist.es2015/index.js +0 -8
- package/dist/node_modules/parsel-js/dist/parsel.js +0 -128
- package/dist/node_modules/pascal-case/dist.es2015/index.js +0 -13
- package/dist/node_modules/picocolors/picocolors.browser.js +0 -10
- package/dist/node_modules/postcss/lib/at-rule.js +0 -19
- package/dist/node_modules/postcss/lib/comment.js +0 -12
- package/dist/node_modules/postcss/lib/container.js +0 -225
- package/dist/node_modules/postcss/lib/css-syntax-error.js +0 -55
- package/dist/node_modules/postcss/lib/declaration.js +0 -15
- package/dist/node_modules/postcss/lib/document.js +0 -21
- package/dist/node_modules/postcss/lib/input.js +0 -133
- package/dist/node_modules/postcss/lib/lazy-result.js +0 -346
- package/dist/node_modules/postcss/lib/list.js +0 -21
- package/dist/node_modules/postcss/lib/map-generator.js +0 -166
- package/dist/node_modules/postcss/lib/no-work-result.js +0 -90
- package/dist/node_modules/postcss/lib/node.js +0 -240
- package/dist/node_modules/postcss/lib/parse.js +0 -22
- package/dist/node_modules/postcss/lib/parser.js +0 -317
- package/dist/node_modules/postcss/lib/previous-map.js +0 -88
- package/dist/node_modules/postcss/lib/processor.js +0 -43
- package/dist/node_modules/postcss/lib/result.js +0 -26
- package/dist/node_modules/postcss/lib/root.js +0 -37
- package/dist/node_modules/postcss/lib/rule.js +0 -21
- package/dist/node_modules/postcss/lib/stringifier.js +0 -192
- package/dist/node_modules/postcss/lib/stringify.js +0 -10
- package/dist/node_modules/postcss/lib/symbols.js +0 -6
- package/dist/node_modules/postcss/lib/tokenize.js +0 -109
- package/dist/node_modules/postcss/lib/warn-once.js +0 -7
- package/dist/node_modules/postcss/lib/warning.js +0 -21
- package/dist/node_modules/postcss-prefix-selector/index.js +0 -32
- package/dist/node_modules/postcss-urlrebase/index.js +0 -28
- package/dist/node_modules/postcss-value-parser/lib/index.js +0 -21
- package/dist/node_modules/postcss-value-parser/lib/parse.js +0 -114
- package/dist/node_modules/postcss-value-parser/lib/stringify.js +0 -17
- package/dist/node_modules/postcss-value-parser/lib/unit.js +0 -36
- package/dist/node_modules/postcss-value-parser/lib/walk.js +0 -8
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/node_modules/prop-types/index.js +0 -13
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/react-autosize-textarea/lib/TextareaAutosize.js +0 -90
- package/dist/node_modules/react-autosize-textarea/lib/index.js +0 -13
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/redux/dist/redux.js +0 -185
- package/dist/node_modules/rememo/rememo.js +0 -63
- package/dist/node_modules/remove-accents/index.js +0 -479
- package/dist/node_modules/requestidlecallback/index.js +0 -87
- package/dist/node_modules/rungen/dist/controls/async.js +0 -73
- package/dist/node_modules/rungen/dist/controls/builtin.js +0 -47
- package/dist/node_modules/rungen/dist/controls/wrap.js +0 -34
- package/dist/node_modules/rungen/dist/create.js +0 -60
- package/dist/node_modules/rungen/dist/index.js +0 -28
- package/dist/node_modules/rungen/dist/utils/dispatcher.js +0 -22
- package/dist/node_modules/rungen/dist/utils/helpers.js +0 -111
- package/dist/node_modules/rungen/dist/utils/is.js +0 -57
- package/dist/node_modules/rungen/dist/utils/keys.js +0 -15
- package/dist/node_modules/showdown/dist/showdown.js +0 -2673
- package/dist/node_modules/simple-html-tokenizer/dist/es6/index.js +0 -600
- package/dist/node_modules/sprintf-js/src/sprintf.js +0 -145
- package/dist/node_modules/tannin/index.js +0 -36
- package/dist/node_modules/tslib/tslib.es6.js +0 -12
- package/dist/node_modules/use-memo-one/dist/use-memo-one.esm.js +0 -26
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -10
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -9
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -13
|
@@ -1,960 +0,0 @@
|
|
|
1
|
-
import { is as o, toArray as V, each as I, eachProp as K, flush as W, flushCalls as L, Globals as j, noop as mt, createStringInterpolator as Gt, useMemoOne as Lt, createInterpolator as $t, isEqual as x, getFluidValue as T, frameLoop as ut, hasFluidValue as O, addFluidObserver as ht, removeFluidObserver as wt, FluidValue as Ht, deprecateInterpolate as Jt, callFluidObservers as X, isAnimatedString as Vt, getFluidObservers as _t, easings as Kt } from "../../shared/dist/react-spring_shared.modern.js";
|
|
2
|
-
import { useIsomorphicLayoutEffect as Ie } from "../../shared/dist/react-spring_shared.modern.js";
|
|
3
|
-
import * as Rt from "react";
|
|
4
|
-
import { useContext as Yt } from "react";
|
|
5
|
-
import { getAnimatedType as st, setAnimated as Tt, getAnimated as E, getPayload as ct, AnimatedValue as Wt, AnimatedString as gt } from "../../animated/dist/react-spring_animated.modern.js";
|
|
6
|
-
import { raf as w } from "../../rafz/dist/react-spring_rafz.modern.js";
|
|
7
|
-
function q(t, ...e) {
|
|
8
|
-
return o.fun(t) ? t(...e) : t;
|
|
9
|
-
}
|
|
10
|
-
var $ = (t, e) => t === !0 || !!(e && t && (o.fun(t) ? t(e) : V(t).includes(e))), Ft = (t, e) => o.obj(t) ? e && t[e] : t, xt = (t, e) => t.default === !0 ? t[e] : t.default ? t.default[e] : void 0, Xt = (t) => t, Et = (t, e = Xt) => {
|
|
11
|
-
let i = Zt;
|
|
12
|
-
t.default && t.default !== !0 && (t = t.default, i = Object.keys(t));
|
|
13
|
-
const s = {};
|
|
14
|
-
for (const n of i) {
|
|
15
|
-
const a = e(t[n], n);
|
|
16
|
-
o.und(a) || (s[n] = a);
|
|
17
|
-
}
|
|
18
|
-
return s;
|
|
19
|
-
}, Zt = [
|
|
20
|
-
"config",
|
|
21
|
-
"onProps",
|
|
22
|
-
"onStart",
|
|
23
|
-
"onChange",
|
|
24
|
-
"onPause",
|
|
25
|
-
"onResume",
|
|
26
|
-
"onRest"
|
|
27
|
-
], te = {
|
|
28
|
-
config: 1,
|
|
29
|
-
from: 1,
|
|
30
|
-
to: 1,
|
|
31
|
-
ref: 1,
|
|
32
|
-
loop: 1,
|
|
33
|
-
reset: 1,
|
|
34
|
-
pause: 1,
|
|
35
|
-
cancel: 1,
|
|
36
|
-
reverse: 1,
|
|
37
|
-
immediate: 1,
|
|
38
|
-
default: 1,
|
|
39
|
-
delay: 1,
|
|
40
|
-
onProps: 1,
|
|
41
|
-
onStart: 1,
|
|
42
|
-
onChange: 1,
|
|
43
|
-
onPause: 1,
|
|
44
|
-
onResume: 1,
|
|
45
|
-
onRest: 1,
|
|
46
|
-
onResolve: 1,
|
|
47
|
-
// Transition props
|
|
48
|
-
items: 1,
|
|
49
|
-
trail: 1,
|
|
50
|
-
sort: 1,
|
|
51
|
-
expires: 1,
|
|
52
|
-
initial: 1,
|
|
53
|
-
enter: 1,
|
|
54
|
-
update: 1,
|
|
55
|
-
leave: 1,
|
|
56
|
-
children: 1,
|
|
57
|
-
onDestroyed: 1,
|
|
58
|
-
// Internal props
|
|
59
|
-
keys: 1,
|
|
60
|
-
callId: 1,
|
|
61
|
-
parentId: 1
|
|
62
|
-
};
|
|
63
|
-
function ee(t) {
|
|
64
|
-
const e = {};
|
|
65
|
-
let i = 0;
|
|
66
|
-
if (K(t, (s, n) => {
|
|
67
|
-
te[n] || (e[n] = s, i++);
|
|
68
|
-
}), i)
|
|
69
|
-
return e;
|
|
70
|
-
}
|
|
71
|
-
function jt(t) {
|
|
72
|
-
const e = ee(t);
|
|
73
|
-
if (e) {
|
|
74
|
-
const i = { to: e };
|
|
75
|
-
return K(t, (s, n) => n in e || (i[n] = s)), i;
|
|
76
|
-
}
|
|
77
|
-
return { ...t };
|
|
78
|
-
}
|
|
79
|
-
function H(t) {
|
|
80
|
-
return t = T(t), o.arr(t) ? t.map(H) : Vt(t) ? j.createStringInterpolator({
|
|
81
|
-
range: [0, 1],
|
|
82
|
-
output: [t, t]
|
|
83
|
-
})(1) : t;
|
|
84
|
-
}
|
|
85
|
-
function nt(t) {
|
|
86
|
-
return o.fun(t) || o.arr(t) && o.obj(t[0]);
|
|
87
|
-
}
|
|
88
|
-
var ie = {
|
|
89
|
-
default: { tension: 170, friction: 26 }
|
|
90
|
-
}, at = {
|
|
91
|
-
...ie.default,
|
|
92
|
-
mass: 1,
|
|
93
|
-
damping: 1,
|
|
94
|
-
easing: Kt.linear,
|
|
95
|
-
clamp: !1
|
|
96
|
-
}, se = class {
|
|
97
|
-
constructor() {
|
|
98
|
-
this.velocity = 0, Object.assign(this, at);
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
function ne(t, e, i) {
|
|
102
|
-
i && (i = { ...i }, yt(i, e), e = { ...i, ...e }), yt(t, e), Object.assign(t, e);
|
|
103
|
-
for (const h in at)
|
|
104
|
-
t[h] == null && (t[h] = at[h]);
|
|
105
|
-
let { frequency: s, damping: n } = t;
|
|
106
|
-
const { mass: a } = t;
|
|
107
|
-
return o.und(s) || (s < 0.01 && (s = 0.01), n < 0 && (n = 0), t.tension = Math.pow(2 * Math.PI / s, 2) * a, t.friction = 4 * Math.PI * n * a / s), t;
|
|
108
|
-
}
|
|
109
|
-
function yt(t, e) {
|
|
110
|
-
if (!o.und(e.decay))
|
|
111
|
-
t.duration = void 0;
|
|
112
|
-
else {
|
|
113
|
-
const i = !o.und(e.tension) || !o.und(e.friction);
|
|
114
|
-
(i || !o.und(e.frequency) || !o.und(e.damping) || !o.und(e.mass)) && (t.duration = void 0, t.decay = void 0), i && (t.frequency = void 0);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
var vt = [], ae = class {
|
|
118
|
-
constructor() {
|
|
119
|
-
this.changed = !1, this.values = vt, this.toValues = null, this.fromValues = vt, this.config = new se(), this.immediate = !1;
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
function Mt(t, { key: e, props: i, defaultProps: s, state: n, actions: a }) {
|
|
123
|
-
return new Promise((h, l) => {
|
|
124
|
-
let f, r, _ = $(i.cancel ?? s?.cancel, e);
|
|
125
|
-
if (_)
|
|
126
|
-
m();
|
|
127
|
-
else {
|
|
128
|
-
o.und(i.pause) || (n.paused = $(i.pause, e));
|
|
129
|
-
let v = s?.pause;
|
|
130
|
-
v !== !0 && (v = n.paused || $(v, e)), f = q(i.delay || 0, e), v ? (n.resumeQueue.add(p), a.pause()) : (a.resume(), p());
|
|
131
|
-
}
|
|
132
|
-
function u() {
|
|
133
|
-
n.resumeQueue.add(p), n.timeouts.delete(r), r.cancel(), f = r.time - w.now();
|
|
134
|
-
}
|
|
135
|
-
function p() {
|
|
136
|
-
f > 0 && !j.skipAnimation ? (n.delayed = !0, r = w.setTimeout(m, f), n.pauseQueue.add(u), n.timeouts.add(r)) : m();
|
|
137
|
-
}
|
|
138
|
-
function m() {
|
|
139
|
-
n.delayed && (n.delayed = !1), n.pauseQueue.delete(u), n.timeouts.delete(r), t <= (n.cancelId || 0) && (_ = !0);
|
|
140
|
-
try {
|
|
141
|
-
a.start({ ...i, callId: t, cancel: _ }, h);
|
|
142
|
-
} catch (v) {
|
|
143
|
-
l(v);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
var lt = (t, e) => e.length == 1 ? e[0] : e.some((i) => i.cancelled) ? U(t.get()) : e.every((i) => i.noop) ? Ot(t.get()) : C(
|
|
149
|
-
t.get(),
|
|
150
|
-
e.every((i) => i.finished)
|
|
151
|
-
), Ot = (t) => ({
|
|
152
|
-
value: t,
|
|
153
|
-
noop: !0,
|
|
154
|
-
finished: !0,
|
|
155
|
-
cancelled: !1
|
|
156
|
-
}), C = (t, e, i = !1) => ({
|
|
157
|
-
value: t,
|
|
158
|
-
finished: e,
|
|
159
|
-
cancelled: i
|
|
160
|
-
}), U = (t) => ({
|
|
161
|
-
value: t,
|
|
162
|
-
cancelled: !0,
|
|
163
|
-
finished: !1
|
|
164
|
-
});
|
|
165
|
-
function Qt(t, e, i, s) {
|
|
166
|
-
const { callId: n, parentId: a, onRest: h } = e, { asyncTo: l, promise: f } = i;
|
|
167
|
-
return !a && t === l && !e.reset ? f : i.promise = (async () => {
|
|
168
|
-
i.asyncId = n, i.asyncTo = t;
|
|
169
|
-
const r = Et(
|
|
170
|
-
e,
|
|
171
|
-
(d, y) => (
|
|
172
|
-
// The `onRest` prop is only called when the `runAsync` promise is resolved.
|
|
173
|
-
y === "onRest" ? void 0 : d
|
|
174
|
-
)
|
|
175
|
-
);
|
|
176
|
-
let _, u;
|
|
177
|
-
const p = new Promise(
|
|
178
|
-
(d, y) => (_ = d, u = y)
|
|
179
|
-
), m = (d) => {
|
|
180
|
-
const y = (
|
|
181
|
-
// The `cancel` prop or `stop` method was used.
|
|
182
|
-
n <= (i.cancelId || 0) && U(s) || // The async `to` prop was replaced.
|
|
183
|
-
n !== i.asyncId && C(s, !1)
|
|
184
|
-
);
|
|
185
|
-
if (y)
|
|
186
|
-
throw d.result = y, u(d), d;
|
|
187
|
-
}, v = (d, y) => {
|
|
188
|
-
const P = new pt(), g = new Pt();
|
|
189
|
-
return (async () => {
|
|
190
|
-
if (j.skipAnimation)
|
|
191
|
-
throw J(i), g.result = C(s, !1), u(g), g;
|
|
192
|
-
m(P);
|
|
193
|
-
const b = o.obj(d) ? { ...d } : { ...y, to: d };
|
|
194
|
-
b.parentId = n, K(r, (Q, S) => {
|
|
195
|
-
o.und(b[S]) && (b[S] = Q);
|
|
196
|
-
});
|
|
197
|
-
const R = await s.start(b);
|
|
198
|
-
return m(P), i.paused && await new Promise((Q) => {
|
|
199
|
-
i.resumeQueue.add(Q);
|
|
200
|
-
}), R;
|
|
201
|
-
})();
|
|
202
|
-
};
|
|
203
|
-
let c;
|
|
204
|
-
if (j.skipAnimation)
|
|
205
|
-
return J(i), C(s, !1);
|
|
206
|
-
try {
|
|
207
|
-
let d;
|
|
208
|
-
o.arr(t) ? d = (async (y) => {
|
|
209
|
-
for (const P of y)
|
|
210
|
-
await v(P);
|
|
211
|
-
})(t) : d = Promise.resolve(t(v, s.stop.bind(s))), await Promise.all([d.then(_), p]), c = C(s.get(), !0, !1);
|
|
212
|
-
} catch (d) {
|
|
213
|
-
if (d instanceof pt)
|
|
214
|
-
c = d.result;
|
|
215
|
-
else if (d instanceof Pt)
|
|
216
|
-
c = d.result;
|
|
217
|
-
else
|
|
218
|
-
throw d;
|
|
219
|
-
} finally {
|
|
220
|
-
n == i.asyncId && (i.asyncId = a, i.asyncTo = a ? l : void 0, i.promise = a ? f : void 0);
|
|
221
|
-
}
|
|
222
|
-
return o.fun(h) && w.batchedUpdates(() => {
|
|
223
|
-
h(c, s, s.item);
|
|
224
|
-
}), c;
|
|
225
|
-
})();
|
|
226
|
-
}
|
|
227
|
-
function J(t, e) {
|
|
228
|
-
W(t.timeouts, (i) => i.cancel()), t.pauseQueue.clear(), t.resumeQueue.clear(), t.asyncId = t.asyncTo = t.promise = void 0, e && (t.cancelId = e);
|
|
229
|
-
}
|
|
230
|
-
var pt = class extends Error {
|
|
231
|
-
constructor() {
|
|
232
|
-
super(
|
|
233
|
-
"An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."
|
|
234
|
-
);
|
|
235
|
-
}
|
|
236
|
-
}, Pt = class extends Error {
|
|
237
|
-
constructor() {
|
|
238
|
-
super("SkipAnimationSignal");
|
|
239
|
-
}
|
|
240
|
-
}, ot = (t) => t instanceof dt, oe = 1, dt = class extends Ht {
|
|
241
|
-
constructor() {
|
|
242
|
-
super(...arguments), this.id = oe++, this._priority = 0;
|
|
243
|
-
}
|
|
244
|
-
get priority() {
|
|
245
|
-
return this._priority;
|
|
246
|
-
}
|
|
247
|
-
set priority(t) {
|
|
248
|
-
this._priority != t && (this._priority = t, this._onPriorityChange(t));
|
|
249
|
-
}
|
|
250
|
-
/** Get the current value */
|
|
251
|
-
get() {
|
|
252
|
-
const t = E(this);
|
|
253
|
-
return t && t.getValue();
|
|
254
|
-
}
|
|
255
|
-
/** Create a spring that maps our value to another value */
|
|
256
|
-
to(...t) {
|
|
257
|
-
return j.to(this, t);
|
|
258
|
-
}
|
|
259
|
-
/** @deprecated Use the `to` method instead. */
|
|
260
|
-
interpolate(...t) {
|
|
261
|
-
return Jt(), j.to(this, t);
|
|
262
|
-
}
|
|
263
|
-
toJSON() {
|
|
264
|
-
return this.get();
|
|
265
|
-
}
|
|
266
|
-
observerAdded(t) {
|
|
267
|
-
t == 1 && this._attach();
|
|
268
|
-
}
|
|
269
|
-
observerRemoved(t) {
|
|
270
|
-
t == 0 && this._detach();
|
|
271
|
-
}
|
|
272
|
-
/** Called when the first child is added. */
|
|
273
|
-
_attach() {
|
|
274
|
-
}
|
|
275
|
-
/** Called when the last child is removed. */
|
|
276
|
-
_detach() {
|
|
277
|
-
}
|
|
278
|
-
/** Tell our children about our new value */
|
|
279
|
-
_onChange(t, e = !1) {
|
|
280
|
-
X(this, {
|
|
281
|
-
type: "change",
|
|
282
|
-
parent: this,
|
|
283
|
-
value: t,
|
|
284
|
-
idle: e
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
/** Tell our children about our new priority */
|
|
288
|
-
_onPriorityChange(t) {
|
|
289
|
-
this.idle || ut.sort(this), X(this, {
|
|
290
|
-
type: "priority",
|
|
291
|
-
parent: this,
|
|
292
|
-
priority: t
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
}, D = Symbol.for("SpringPhase"), qt = 1, Dt = 2, Nt = 4, et = (t) => (t[D] & qt) > 0, M = (t) => (t[D] & Dt) > 0, k = (t) => (t[D] & Nt) > 0, bt = (t, e) => e ? t[D] |= Dt | qt : t[D] &= -3, St = (t, e) => e ? t[D] |= Nt : t[D] &= -5, re = class extends dt {
|
|
296
|
-
constructor(t, e) {
|
|
297
|
-
if (super(), this.animation = new ae(), this.defaultProps = {}, this._state = {
|
|
298
|
-
paused: !1,
|
|
299
|
-
delayed: !1,
|
|
300
|
-
pauseQueue: /* @__PURE__ */ new Set(),
|
|
301
|
-
resumeQueue: /* @__PURE__ */ new Set(),
|
|
302
|
-
timeouts: /* @__PURE__ */ new Set()
|
|
303
|
-
}, this._pendingCalls = /* @__PURE__ */ new Set(), this._lastCallId = 0, this._lastToId = 0, this._memoizedDuration = 0, !o.und(t) || !o.und(e)) {
|
|
304
|
-
const i = o.obj(t) ? { ...t } : { ...e, from: t };
|
|
305
|
-
o.und(i.default) && (i.default = !0), this.start(i);
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
/** Equals true when not advancing on each frame. */
|
|
309
|
-
get idle() {
|
|
310
|
-
return !(M(this) || this._state.asyncTo) || k(this);
|
|
311
|
-
}
|
|
312
|
-
get goal() {
|
|
313
|
-
return T(this.animation.to);
|
|
314
|
-
}
|
|
315
|
-
get velocity() {
|
|
316
|
-
const t = E(this);
|
|
317
|
-
return t instanceof Wt ? t.lastVelocity || 0 : t.getPayload().map((e) => e.lastVelocity || 0);
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* When true, this value has been animated at least once.
|
|
321
|
-
*/
|
|
322
|
-
get hasAnimated() {
|
|
323
|
-
return et(this);
|
|
324
|
-
}
|
|
325
|
-
/**
|
|
326
|
-
* When true, this value has an unfinished animation,
|
|
327
|
-
* which is either active or paused.
|
|
328
|
-
*/
|
|
329
|
-
get isAnimating() {
|
|
330
|
-
return M(this);
|
|
331
|
-
}
|
|
332
|
-
/**
|
|
333
|
-
* When true, all current and future animations are paused.
|
|
334
|
-
*/
|
|
335
|
-
get isPaused() {
|
|
336
|
-
return k(this);
|
|
337
|
-
}
|
|
338
|
-
/**
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
*/
|
|
342
|
-
get isDelayed() {
|
|
343
|
-
return this._state.delayed;
|
|
344
|
-
}
|
|
345
|
-
/** Advance the current animation by a number of milliseconds */
|
|
346
|
-
advance(t) {
|
|
347
|
-
let e = !0, i = !1;
|
|
348
|
-
const s = this.animation;
|
|
349
|
-
let { toValues: n } = s;
|
|
350
|
-
const { config: a } = s, h = ct(s.to);
|
|
351
|
-
!h && O(s.to) && (n = V(T(s.to))), s.values.forEach((r, _) => {
|
|
352
|
-
if (r.done)
|
|
353
|
-
return;
|
|
354
|
-
const u = (
|
|
355
|
-
// Animated strings always go from 0 to 1.
|
|
356
|
-
r.constructor == gt ? 1 : h ? h[_].lastPosition : n[_]
|
|
357
|
-
);
|
|
358
|
-
let p = s.immediate, m = u;
|
|
359
|
-
if (!p) {
|
|
360
|
-
if (m = r.lastPosition, a.tension <= 0) {
|
|
361
|
-
r.done = !0;
|
|
362
|
-
return;
|
|
363
|
-
}
|
|
364
|
-
let v = r.elapsedTime += t;
|
|
365
|
-
const c = s.fromValues[_], d = r.v0 != null ? r.v0 : r.v0 = o.arr(a.velocity) ? a.velocity[_] : a.velocity;
|
|
366
|
-
let y;
|
|
367
|
-
const P = a.precision || (c == u ? 5e-3 : Math.min(1, Math.abs(u - c) * 1e-3));
|
|
368
|
-
if (o.und(a.duration))
|
|
369
|
-
if (a.decay) {
|
|
370
|
-
const g = a.decay === !0 ? 0.998 : a.decay, b = Math.exp(-(1 - g) * v);
|
|
371
|
-
m = c + d / (1 - g) * (1 - b), p = Math.abs(r.lastPosition - m) <= P, y = d * b;
|
|
372
|
-
} else {
|
|
373
|
-
y = r.lastVelocity == null ? d : r.lastVelocity;
|
|
374
|
-
const g = a.restVelocity || P / 10, b = a.clamp ? 0 : a.bounce, R = !o.und(b), Q = c == u ? r.v0 > 0 : c < u;
|
|
375
|
-
let S, Y = !1;
|
|
376
|
-
const A = 1, z = Math.ceil(t / A);
|
|
377
|
-
for (let F = 0; F < z && (S = Math.abs(y) > g, !(!S && (p = Math.abs(u - m) <= P, p))); ++F) {
|
|
378
|
-
R && (Y = m == u || m > u == Q, Y && (y = -y * b, m = u));
|
|
379
|
-
const N = -a.tension * 1e-6 * (m - u), tt = -a.friction * 1e-3 * y, Bt = (N + tt) / a.mass;
|
|
380
|
-
y = y + Bt * A, m = m + y * A;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
else {
|
|
384
|
-
let g = 1;
|
|
385
|
-
a.duration > 0 && (this._memoizedDuration !== a.duration && (this._memoizedDuration = a.duration, r.durationProgress > 0 && (r.elapsedTime = a.duration * r.durationProgress, v = r.elapsedTime += t)), g = (a.progress || 0) + v / this._memoizedDuration, g = g > 1 ? 1 : g < 0 ? 0 : g, r.durationProgress = g), m = c + a.easing(g) * (u - c), y = (m - r.lastPosition) / t, p = g == 1;
|
|
386
|
-
}
|
|
387
|
-
r.lastVelocity = y, Number.isNaN(m) && (console.warn("Got NaN while animating:", this), p = !0);
|
|
388
|
-
}
|
|
389
|
-
h && !h[_].done && (p = !1), p ? r.done = !0 : e = !1, r.setValue(m, a.round) && (i = !0);
|
|
390
|
-
});
|
|
391
|
-
const l = E(this), f = l.getValue();
|
|
392
|
-
if (e) {
|
|
393
|
-
const r = T(s.to);
|
|
394
|
-
(f !== r || i) && !a.decay ? (l.setValue(r), this._onChange(r)) : i && a.decay && this._onChange(f), this._stop();
|
|
395
|
-
} else i && this._onChange(f);
|
|
396
|
-
}
|
|
397
|
-
/** Set the current value, while stopping the current animation */
|
|
398
|
-
set(t) {
|
|
399
|
-
return w.batchedUpdates(() => {
|
|
400
|
-
this._stop(), this._focus(t), this._set(t);
|
|
401
|
-
}), this;
|
|
402
|
-
}
|
|
403
|
-
/**
|
|
404
|
-
* Freeze the active animation in time, as well as any updates merged
|
|
405
|
-
* before `resume` is called.
|
|
406
|
-
*/
|
|
407
|
-
pause() {
|
|
408
|
-
this._update({ pause: !0 });
|
|
409
|
-
}
|
|
410
|
-
/** Resume the animation if paused. */
|
|
411
|
-
resume() {
|
|
412
|
-
this._update({ pause: !1 });
|
|
413
|
-
}
|
|
414
|
-
/** Skip to the end of the current animation. */
|
|
415
|
-
finish() {
|
|
416
|
-
if (M(this)) {
|
|
417
|
-
const { to: t, config: e } = this.animation;
|
|
418
|
-
w.batchedUpdates(() => {
|
|
419
|
-
this._onStart(), e.decay || this._set(t, !1), this._stop();
|
|
420
|
-
});
|
|
421
|
-
}
|
|
422
|
-
return this;
|
|
423
|
-
}
|
|
424
|
-
/** Push props into the pending queue. */
|
|
425
|
-
update(t) {
|
|
426
|
-
return (this.queue || (this.queue = [])).push(t), this;
|
|
427
|
-
}
|
|
428
|
-
start(t, e) {
|
|
429
|
-
let i;
|
|
430
|
-
return o.und(t) ? (i = this.queue || [], this.queue = []) : i = [o.obj(t) ? t : { ...e, to: t }], Promise.all(
|
|
431
|
-
i.map((s) => this._update(s))
|
|
432
|
-
).then((s) => lt(this, s));
|
|
433
|
-
}
|
|
434
|
-
/**
|
|
435
|
-
* Stop the current animation, and cancel any delayed updates.
|
|
436
|
-
*
|
|
437
|
-
* Pass `true` to call `onRest` with `cancelled: true`.
|
|
438
|
-
*/
|
|
439
|
-
stop(t) {
|
|
440
|
-
const { to: e } = this.animation;
|
|
441
|
-
return this._focus(this.get()), J(this._state, t && this._lastCallId), w.batchedUpdates(() => this._stop(e, t)), this;
|
|
442
|
-
}
|
|
443
|
-
/** Restart the animation. */
|
|
444
|
-
reset() {
|
|
445
|
-
this._update({ reset: !0 });
|
|
446
|
-
}
|
|
447
|
-
/** @internal */
|
|
448
|
-
eventObserved(t) {
|
|
449
|
-
t.type == "change" ? this._start() : t.type == "priority" && (this.priority = t.priority + 1);
|
|
450
|
-
}
|
|
451
|
-
/**
|
|
452
|
-
* Parse the `to` and `from` range from the given `props` object.
|
|
453
|
-
*
|
|
454
|
-
* This also ensures the initial value is available to animated components
|
|
455
|
-
* during the render phase.
|
|
456
|
-
*/
|
|
457
|
-
_prepareNode(t) {
|
|
458
|
-
const e = this.key || "";
|
|
459
|
-
let { to: i, from: s } = t;
|
|
460
|
-
i = o.obj(i) ? i[e] : i, (i == null || nt(i)) && (i = void 0), s = o.obj(s) ? s[e] : s, s == null && (s = void 0);
|
|
461
|
-
const n = { to: i, from: s };
|
|
462
|
-
return et(this) || (t.reverse && ([i, s] = [s, i]), s = T(s), o.und(s) ? E(this) || this._set(i) : this._set(s)), n;
|
|
463
|
-
}
|
|
464
|
-
/** Every update is processed by this method before merging. */
|
|
465
|
-
_update({ ...t }, e) {
|
|
466
|
-
const { key: i, defaultProps: s } = this;
|
|
467
|
-
t.default && Object.assign(
|
|
468
|
-
s,
|
|
469
|
-
Et(
|
|
470
|
-
t,
|
|
471
|
-
(h, l) => /^on/.test(l) ? Ft(h, i) : h
|
|
472
|
-
)
|
|
473
|
-
), It(this, t, "onProps"), G(this, "onProps", t, this);
|
|
474
|
-
const n = this._prepareNode(t);
|
|
475
|
-
if (Object.isFrozen(this))
|
|
476
|
-
throw Error(
|
|
477
|
-
"Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?"
|
|
478
|
-
);
|
|
479
|
-
const a = this._state;
|
|
480
|
-
return Mt(++this._lastCallId, {
|
|
481
|
-
key: i,
|
|
482
|
-
props: t,
|
|
483
|
-
defaultProps: s,
|
|
484
|
-
state: a,
|
|
485
|
-
actions: {
|
|
486
|
-
pause: () => {
|
|
487
|
-
k(this) || (St(this, !0), L(a.pauseQueue), G(
|
|
488
|
-
this,
|
|
489
|
-
"onPause",
|
|
490
|
-
C(this, B(this, this.animation.to)),
|
|
491
|
-
this
|
|
492
|
-
));
|
|
493
|
-
},
|
|
494
|
-
resume: () => {
|
|
495
|
-
k(this) && (St(this, !1), M(this) && this._resume(), L(a.resumeQueue), G(
|
|
496
|
-
this,
|
|
497
|
-
"onResume",
|
|
498
|
-
C(this, B(this, this.animation.to)),
|
|
499
|
-
this
|
|
500
|
-
));
|
|
501
|
-
},
|
|
502
|
-
start: this._merge.bind(this, n)
|
|
503
|
-
}
|
|
504
|
-
}).then((h) => {
|
|
505
|
-
if (t.loop && h.finished && !(e && h.noop)) {
|
|
506
|
-
const l = Ut(t);
|
|
507
|
-
if (l)
|
|
508
|
-
return this._update(l, !0);
|
|
509
|
-
}
|
|
510
|
-
return h;
|
|
511
|
-
});
|
|
512
|
-
}
|
|
513
|
-
/** Merge props into the current animation */
|
|
514
|
-
_merge(t, e, i) {
|
|
515
|
-
if (e.cancel)
|
|
516
|
-
return this.stop(!0), i(U(this));
|
|
517
|
-
const s = !o.und(t.to), n = !o.und(t.from);
|
|
518
|
-
if (s || n)
|
|
519
|
-
if (e.callId > this._lastToId)
|
|
520
|
-
this._lastToId = e.callId;
|
|
521
|
-
else
|
|
522
|
-
return i(U(this));
|
|
523
|
-
const { key: a, defaultProps: h, animation: l } = this, { to: f, from: r } = l;
|
|
524
|
-
let { to: _ = f, from: u = r } = t;
|
|
525
|
-
n && !s && (!e.default || o.und(_)) && (_ = u), e.reverse && ([_, u] = [u, _]);
|
|
526
|
-
const p = !x(u, r);
|
|
527
|
-
p && (l.from = u), u = T(u);
|
|
528
|
-
const m = !x(_, f);
|
|
529
|
-
m && this._focus(_);
|
|
530
|
-
const v = nt(e.to), { config: c } = l, { decay: d, velocity: y } = c;
|
|
531
|
-
(s || n) && (c.velocity = 0), e.config && !v && ne(
|
|
532
|
-
c,
|
|
533
|
-
q(e.config, a),
|
|
534
|
-
// Avoid calling the same "config" prop twice.
|
|
535
|
-
e.config !== h.config ? q(h.config, a) : void 0
|
|
536
|
-
);
|
|
537
|
-
let P = E(this);
|
|
538
|
-
if (!P || o.und(_))
|
|
539
|
-
return i(C(this, !0));
|
|
540
|
-
const g = (
|
|
541
|
-
// When `reset` is undefined, the `from` prop implies `reset: true`,
|
|
542
|
-
// except for declarative updates. When `reset` is defined, there
|
|
543
|
-
// must exist a value to animate from.
|
|
544
|
-
o.und(e.reset) ? n && !e.default : !o.und(u) && $(e.reset, a)
|
|
545
|
-
), b = g ? u : this.get(), R = H(_), Q = o.num(R) || o.arr(R) || Vt(R), S = !v && (!Q || $(h.immediate || e.immediate, a));
|
|
546
|
-
if (m) {
|
|
547
|
-
const F = st(_);
|
|
548
|
-
if (F !== P.constructor)
|
|
549
|
-
if (S)
|
|
550
|
-
P = this._set(R);
|
|
551
|
-
else
|
|
552
|
-
throw Error(
|
|
553
|
-
`Cannot animate between ${P.constructor.name} and ${F.name}, as the "to" prop suggests`
|
|
554
|
-
);
|
|
555
|
-
}
|
|
556
|
-
const Y = P.constructor;
|
|
557
|
-
let A = O(_), z = !1;
|
|
558
|
-
if (!A) {
|
|
559
|
-
const F = g || !et(this) && p;
|
|
560
|
-
(m || F) && (z = x(H(b), R), A = !z), (!x(l.immediate, S) && !S || !x(c.decay, d) || !x(c.velocity, y)) && (A = !0);
|
|
561
|
-
}
|
|
562
|
-
if (z && M(this) && (l.changed && !g ? A = !0 : A || this._stop(f)), !v && ((A || O(f)) && (l.values = P.getPayload(), l.toValues = O(_) ? null : Y == gt ? [1] : V(R)), l.immediate != S && (l.immediate = S, !S && !g && this._set(f)), A)) {
|
|
563
|
-
const { onRest: F } = l;
|
|
564
|
-
I(ue, (tt) => It(this, e, tt));
|
|
565
|
-
const N = C(this, B(this, f));
|
|
566
|
-
L(this._pendingCalls, N), this._pendingCalls.add(i), l.changed && w.batchedUpdates(() => {
|
|
567
|
-
l.changed = !g, F?.(N, this), g ? q(h.onRest, N) : l.onStart?.(N, this);
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
g && this._set(b), v ? i(Qt(e.to, e, this._state, this)) : A ? this._start() : M(this) && !m ? this._pendingCalls.add(i) : i(Ot(b));
|
|
571
|
-
}
|
|
572
|
-
/** Update the `animation.to` value, which might be a `FluidValue` */
|
|
573
|
-
_focus(t) {
|
|
574
|
-
const e = this.animation;
|
|
575
|
-
t !== e.to && (_t(this) && this._detach(), e.to = t, _t(this) && this._attach());
|
|
576
|
-
}
|
|
577
|
-
_attach() {
|
|
578
|
-
let t = 0;
|
|
579
|
-
const { to: e } = this.animation;
|
|
580
|
-
O(e) && (ht(e, this), ot(e) && (t = e.priority + 1)), this.priority = t;
|
|
581
|
-
}
|
|
582
|
-
_detach() {
|
|
583
|
-
const { to: t } = this.animation;
|
|
584
|
-
O(t) && wt(t, this);
|
|
585
|
-
}
|
|
586
|
-
/**
|
|
587
|
-
* Update the current value from outside the frameloop,
|
|
588
|
-
* and return the `Animated` node.
|
|
589
|
-
*/
|
|
590
|
-
_set(t, e = !0) {
|
|
591
|
-
const i = T(t);
|
|
592
|
-
if (!o.und(i)) {
|
|
593
|
-
const s = E(this);
|
|
594
|
-
if (!s || !x(i, s.getValue())) {
|
|
595
|
-
const n = st(i);
|
|
596
|
-
!s || s.constructor != n ? Tt(this, n.create(i)) : s.setValue(i), s && w.batchedUpdates(() => {
|
|
597
|
-
this._onChange(i, e);
|
|
598
|
-
});
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
return E(this);
|
|
602
|
-
}
|
|
603
|
-
_onStart() {
|
|
604
|
-
const t = this.animation;
|
|
605
|
-
t.changed || (t.changed = !0, G(
|
|
606
|
-
this,
|
|
607
|
-
"onStart",
|
|
608
|
-
C(this, B(this, t.to)),
|
|
609
|
-
this
|
|
610
|
-
));
|
|
611
|
-
}
|
|
612
|
-
_onChange(t, e) {
|
|
613
|
-
e || (this._onStart(), q(this.animation.onChange, t, this)), q(this.defaultProps.onChange, t, this), super._onChange(t, e);
|
|
614
|
-
}
|
|
615
|
-
// This method resets the animation state (even if already animating) to
|
|
616
|
-
// ensure the latest from/to range is used, and it also ensures this spring
|
|
617
|
-
// is added to the frameloop.
|
|
618
|
-
_start() {
|
|
619
|
-
const t = this.animation;
|
|
620
|
-
E(this).reset(T(t.to)), t.immediate || (t.fromValues = t.values.map((e) => e.lastPosition)), M(this) || (bt(this, !0), k(this) || this._resume());
|
|
621
|
-
}
|
|
622
|
-
_resume() {
|
|
623
|
-
j.skipAnimation ? this.finish() : ut.start(this);
|
|
624
|
-
}
|
|
625
|
-
/**
|
|
626
|
-
* Exit the frameloop and notify `onRest` listeners.
|
|
627
|
-
*
|
|
628
|
-
* Always wrap `_stop` calls with `batchedUpdates`.
|
|
629
|
-
*/
|
|
630
|
-
_stop(t, e) {
|
|
631
|
-
if (M(this)) {
|
|
632
|
-
bt(this, !1);
|
|
633
|
-
const i = this.animation;
|
|
634
|
-
I(i.values, (n) => {
|
|
635
|
-
n.done = !0;
|
|
636
|
-
}), i.toValues && (i.onChange = i.onPause = i.onResume = void 0), X(this, {
|
|
637
|
-
type: "idle",
|
|
638
|
-
parent: this
|
|
639
|
-
});
|
|
640
|
-
const s = e ? U(this.get()) : C(this.get(), B(this, t ?? i.to));
|
|
641
|
-
L(this._pendingCalls, s), i.changed && (i.changed = !1, G(this, "onRest", s, this));
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
|
-
function B(t, e) {
|
|
646
|
-
const i = H(e), s = H(t.get());
|
|
647
|
-
return x(s, i);
|
|
648
|
-
}
|
|
649
|
-
function Ut(t, e = t.loop, i = t.to) {
|
|
650
|
-
const s = q(e);
|
|
651
|
-
if (s) {
|
|
652
|
-
const n = s !== !0 && jt(s), a = (n || t).reverse, h = !n || n.reset;
|
|
653
|
-
return rt({
|
|
654
|
-
...t,
|
|
655
|
-
loop: e,
|
|
656
|
-
// Avoid updating default props when looping.
|
|
657
|
-
default: !1,
|
|
658
|
-
// Never loop the `pause` prop.
|
|
659
|
-
pause: void 0,
|
|
660
|
-
// For the "reverse" prop to loop as expected, the "to" prop
|
|
661
|
-
// must be undefined. The "reverse" prop is ignored when the
|
|
662
|
-
// "to" prop is an array or function.
|
|
663
|
-
to: !a || nt(i) ? i : void 0,
|
|
664
|
-
// Ignore the "from" prop except on reset.
|
|
665
|
-
from: h ? t.from : void 0,
|
|
666
|
-
reset: h,
|
|
667
|
-
// The "loop" prop can return a "useSpring" props object to
|
|
668
|
-
// override any of the original props.
|
|
669
|
-
...n
|
|
670
|
-
});
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
function rt(t) {
|
|
674
|
-
const { to: e, from: i } = t = jt(t), s = /* @__PURE__ */ new Set();
|
|
675
|
-
return o.obj(e) && At(e, s), o.obj(i) && At(i, s), t.keys = s.size ? Array.from(s) : null, t;
|
|
676
|
-
}
|
|
677
|
-
function At(t, e) {
|
|
678
|
-
K(t, (i, s) => i != null && e.add(s));
|
|
679
|
-
}
|
|
680
|
-
var ue = [
|
|
681
|
-
"onStart",
|
|
682
|
-
"onRest",
|
|
683
|
-
"onChange",
|
|
684
|
-
"onPause",
|
|
685
|
-
"onResume"
|
|
686
|
-
];
|
|
687
|
-
function It(t, e, i) {
|
|
688
|
-
t.animation[i] = e[i] !== xt(e, i) ? Ft(e[i], t.key) : void 0;
|
|
689
|
-
}
|
|
690
|
-
function G(t, e, ...i) {
|
|
691
|
-
t.animation[e]?.(...i), t.defaultProps[e]?.(...i);
|
|
692
|
-
}
|
|
693
|
-
var he = ["onStart", "onChange", "onRest"], ce = 1, be = class {
|
|
694
|
-
constructor(t, e) {
|
|
695
|
-
this.id = ce++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
|
|
696
|
-
paused: !1,
|
|
697
|
-
pauseQueue: /* @__PURE__ */ new Set(),
|
|
698
|
-
resumeQueue: /* @__PURE__ */ new Set(),
|
|
699
|
-
timeouts: /* @__PURE__ */ new Set()
|
|
700
|
-
}, this._events = {
|
|
701
|
-
onStart: /* @__PURE__ */ new Map(),
|
|
702
|
-
onChange: /* @__PURE__ */ new Map(),
|
|
703
|
-
onRest: /* @__PURE__ */ new Map()
|
|
704
|
-
}, this._onFrame = this._onFrame.bind(this), e && (this._flush = e), t && this.start({ default: !0, ...t });
|
|
705
|
-
}
|
|
706
|
-
/**
|
|
707
|
-
* Equals `true` when no spring values are in the frameloop, and
|
|
708
|
-
* no async animation is currently active.
|
|
709
|
-
*/
|
|
710
|
-
get idle() {
|
|
711
|
-
return !this._state.asyncTo && Object.values(this.springs).every((t) => t.idle && !t.isDelayed && !t.isPaused);
|
|
712
|
-
}
|
|
713
|
-
get item() {
|
|
714
|
-
return this._item;
|
|
715
|
-
}
|
|
716
|
-
set item(t) {
|
|
717
|
-
this._item = t;
|
|
718
|
-
}
|
|
719
|
-
/** Get the current values of our springs */
|
|
720
|
-
get() {
|
|
721
|
-
const t = {};
|
|
722
|
-
return this.each((e, i) => t[i] = e.get()), t;
|
|
723
|
-
}
|
|
724
|
-
/** Set the current values without animating. */
|
|
725
|
-
set(t) {
|
|
726
|
-
for (const e in t) {
|
|
727
|
-
const i = t[e];
|
|
728
|
-
o.und(i) || this.springs[e].set(i);
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
/** Push an update onto the queue of each value. */
|
|
732
|
-
update(t) {
|
|
733
|
-
return t && this.queue.push(rt(t)), this;
|
|
734
|
-
}
|
|
735
|
-
/**
|
|
736
|
-
* Start the queued animations for every spring, and resolve the returned
|
|
737
|
-
* promise once all queued animations have finished or been cancelled.
|
|
738
|
-
*
|
|
739
|
-
* When you pass a queue (instead of nothing), that queue is used instead of
|
|
740
|
-
* the queued animations added with the `update` method, which are left alone.
|
|
741
|
-
*/
|
|
742
|
-
start(t) {
|
|
743
|
-
let { queue: e } = this;
|
|
744
|
-
return t ? e = V(t).map(rt) : this.queue = [], this._flush ? this._flush(this, e) : (kt(this, e), le(this, e));
|
|
745
|
-
}
|
|
746
|
-
/** @internal */
|
|
747
|
-
stop(t, e) {
|
|
748
|
-
if (t !== !!t && (e = t), e) {
|
|
749
|
-
const i = this.springs;
|
|
750
|
-
I(V(e), (s) => i[s].stop(!!t));
|
|
751
|
-
} else
|
|
752
|
-
J(this._state, this._lastAsyncId), this.each((i) => i.stop(!!t));
|
|
753
|
-
return this;
|
|
754
|
-
}
|
|
755
|
-
/** Freeze the active animation in time */
|
|
756
|
-
pause(t) {
|
|
757
|
-
if (o.und(t))
|
|
758
|
-
this.start({ pause: !0 });
|
|
759
|
-
else {
|
|
760
|
-
const e = this.springs;
|
|
761
|
-
I(V(t), (i) => e[i].pause());
|
|
762
|
-
}
|
|
763
|
-
return this;
|
|
764
|
-
}
|
|
765
|
-
/** Resume the animation if paused. */
|
|
766
|
-
resume(t) {
|
|
767
|
-
if (o.und(t))
|
|
768
|
-
this.start({ pause: !1 });
|
|
769
|
-
else {
|
|
770
|
-
const e = this.springs;
|
|
771
|
-
I(V(t), (i) => e[i].resume());
|
|
772
|
-
}
|
|
773
|
-
return this;
|
|
774
|
-
}
|
|
775
|
-
/** Call a function once per spring value */
|
|
776
|
-
each(t) {
|
|
777
|
-
K(this.springs, t);
|
|
778
|
-
}
|
|
779
|
-
/** @internal Called at the end of every animation frame */
|
|
780
|
-
_onFrame() {
|
|
781
|
-
const { onStart: t, onChange: e, onRest: i } = this._events, s = this._active.size > 0, n = this._changed.size > 0;
|
|
782
|
-
(s && !this._started || n && !this._started) && (this._started = !0, W(t, ([l, f]) => {
|
|
783
|
-
f.value = this.get(), l(f, this, this._item);
|
|
784
|
-
}));
|
|
785
|
-
const a = !s && this._started, h = n || a && i.size ? this.get() : null;
|
|
786
|
-
n && e.size && W(e, ([l, f]) => {
|
|
787
|
-
f.value = h, l(f, this, this._item);
|
|
788
|
-
}), a && (this._started = !1, W(i, ([l, f]) => {
|
|
789
|
-
f.value = h, l(f, this, this._item);
|
|
790
|
-
}));
|
|
791
|
-
}
|
|
792
|
-
/** @internal */
|
|
793
|
-
eventObserved(t) {
|
|
794
|
-
if (t.type == "change")
|
|
795
|
-
this._changed.add(t.parent), t.idle || this._active.add(t.parent);
|
|
796
|
-
else if (t.type == "idle")
|
|
797
|
-
this._active.delete(t.parent);
|
|
798
|
-
else
|
|
799
|
-
return;
|
|
800
|
-
w.onFrame(this._onFrame);
|
|
801
|
-
}
|
|
802
|
-
};
|
|
803
|
-
function le(t, e) {
|
|
804
|
-
return Promise.all(e.map((i) => zt(t, i))).then(
|
|
805
|
-
(i) => lt(t, i)
|
|
806
|
-
);
|
|
807
|
-
}
|
|
808
|
-
async function zt(t, e, i) {
|
|
809
|
-
const { keys: s, to: n, from: a, loop: h, onRest: l, onResolve: f } = e, r = o.obj(e.default) && e.default;
|
|
810
|
-
h && (e.loop = !1), n === !1 && (e.to = null), a === !1 && (e.from = null);
|
|
811
|
-
const _ = o.arr(n) || o.fun(n) ? n : void 0;
|
|
812
|
-
_ ? (e.to = void 0, e.onRest = void 0, r && (r.onRest = void 0)) : I(he, (c) => {
|
|
813
|
-
const d = e[c];
|
|
814
|
-
if (o.fun(d)) {
|
|
815
|
-
const y = t._events[c];
|
|
816
|
-
e[c] = ({ finished: P, cancelled: g }) => {
|
|
817
|
-
const b = y.get(d);
|
|
818
|
-
b ? (P || (b.finished = !1), g && (b.cancelled = !0)) : y.set(d, {
|
|
819
|
-
value: null,
|
|
820
|
-
finished: P || !1,
|
|
821
|
-
cancelled: g || !1
|
|
822
|
-
});
|
|
823
|
-
}, r && (r[c] = e[c]);
|
|
824
|
-
}
|
|
825
|
-
});
|
|
826
|
-
const u = t._state;
|
|
827
|
-
e.pause === !u.paused ? (u.paused = e.pause, L(e.pause ? u.pauseQueue : u.resumeQueue)) : u.paused && (e.pause = !0);
|
|
828
|
-
const p = (s || Object.keys(t.springs)).map(
|
|
829
|
-
(c) => t.springs[c].start(e)
|
|
830
|
-
), m = e.cancel === !0 || xt(e, "cancel") === !0;
|
|
831
|
-
(_ || m && u.asyncId) && p.push(
|
|
832
|
-
Mt(++t._lastAsyncId, {
|
|
833
|
-
props: e,
|
|
834
|
-
state: u,
|
|
835
|
-
actions: {
|
|
836
|
-
pause: mt,
|
|
837
|
-
resume: mt,
|
|
838
|
-
start(c, d) {
|
|
839
|
-
m ? (J(u, t._lastAsyncId), d(U(t))) : (c.onRest = l, d(
|
|
840
|
-
Qt(
|
|
841
|
-
_,
|
|
842
|
-
c,
|
|
843
|
-
u,
|
|
844
|
-
t
|
|
845
|
-
)
|
|
846
|
-
));
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
})
|
|
850
|
-
), u.paused && await new Promise((c) => {
|
|
851
|
-
u.resumeQueue.add(c);
|
|
852
|
-
});
|
|
853
|
-
const v = lt(t, await Promise.all(p));
|
|
854
|
-
if (h && v.finished && !(i && v.noop)) {
|
|
855
|
-
const c = Ut(e, h, n);
|
|
856
|
-
if (c)
|
|
857
|
-
return kt(t, [c]), zt(t, c, !0);
|
|
858
|
-
}
|
|
859
|
-
return f && w.batchedUpdates(() => f(v, t, t.item)), v;
|
|
860
|
-
}
|
|
861
|
-
function de(t, e) {
|
|
862
|
-
const i = new re();
|
|
863
|
-
return i.key = t, e && ht(i, e), i;
|
|
864
|
-
}
|
|
865
|
-
function fe(t, e, i) {
|
|
866
|
-
e.keys && I(e.keys, (s) => {
|
|
867
|
-
(t[s] || (t[s] = i(s)))._prepareNode(e);
|
|
868
|
-
});
|
|
869
|
-
}
|
|
870
|
-
function kt(t, e) {
|
|
871
|
-
I(e, (i) => {
|
|
872
|
-
fe(t.springs, i, (s) => de(s, t));
|
|
873
|
-
});
|
|
874
|
-
}
|
|
875
|
-
var ft = ({
|
|
876
|
-
children: t,
|
|
877
|
-
...e
|
|
878
|
-
}) => {
|
|
879
|
-
const i = Yt(Z), s = e.pause || !!i.pause, n = e.immediate || !!i.immediate;
|
|
880
|
-
e = Lt(() => ({ pause: s, immediate: n }), [s, n]);
|
|
881
|
-
const { Provider: a } = Z;
|
|
882
|
-
return /* @__PURE__ */ Rt.createElement(a, { value: e }, t);
|
|
883
|
-
}, Z = me(ft, {});
|
|
884
|
-
ft.Provider = Z.Provider;
|
|
885
|
-
ft.Consumer = Z.Consumer;
|
|
886
|
-
function me(t, e) {
|
|
887
|
-
return Object.assign(t, Rt.createContext(e)), t.Provider._context = t, t.Consumer._context = t, t;
|
|
888
|
-
}
|
|
889
|
-
var _e = class extends dt {
|
|
890
|
-
constructor(t, e) {
|
|
891
|
-
super(), this.source = t, this.idle = !0, this._active = /* @__PURE__ */ new Set(), this.calc = $t(...e);
|
|
892
|
-
const i = this._get(), s = st(i);
|
|
893
|
-
Tt(this, s.create(i));
|
|
894
|
-
}
|
|
895
|
-
advance(t) {
|
|
896
|
-
const e = this._get(), i = this.get();
|
|
897
|
-
x(e, i) || (E(this).setValue(e), this._onChange(e, this.idle)), !this.idle && Ct(this._active) && it(this);
|
|
898
|
-
}
|
|
899
|
-
_get() {
|
|
900
|
-
const t = o.arr(this.source) ? this.source.map(T) : V(T(this.source));
|
|
901
|
-
return this.calc(...t);
|
|
902
|
-
}
|
|
903
|
-
_start() {
|
|
904
|
-
this.idle && !Ct(this._active) && (this.idle = !1, I(ct(this), (t) => {
|
|
905
|
-
t.done = !1;
|
|
906
|
-
}), j.skipAnimation ? (w.batchedUpdates(() => this.advance()), it(this)) : ut.start(this));
|
|
907
|
-
}
|
|
908
|
-
// Observe our sources only when we're observed.
|
|
909
|
-
_attach() {
|
|
910
|
-
let t = 1;
|
|
911
|
-
I(V(this.source), (e) => {
|
|
912
|
-
O(e) && ht(e, this), ot(e) && (e.idle || this._active.add(e), t = Math.max(t, e.priority + 1));
|
|
913
|
-
}), this.priority = t, this._start();
|
|
914
|
-
}
|
|
915
|
-
// Stop observing our sources once we have no observers.
|
|
916
|
-
_detach() {
|
|
917
|
-
I(V(this.source), (t) => {
|
|
918
|
-
O(t) && wt(t, this);
|
|
919
|
-
}), this._active.clear(), it(this);
|
|
920
|
-
}
|
|
921
|
-
/** @internal */
|
|
922
|
-
eventObserved(t) {
|
|
923
|
-
t.type == "change" ? t.idle ? this.advance() : (this._active.add(t.parent), this._start()) : t.type == "idle" ? this._active.delete(t.parent) : t.type == "priority" && (this.priority = V(this.source).reduce(
|
|
924
|
-
(e, i) => Math.max(e, (ot(i) ? i.priority : 0) + 1),
|
|
925
|
-
0
|
|
926
|
-
));
|
|
927
|
-
}
|
|
928
|
-
};
|
|
929
|
-
function ge(t) {
|
|
930
|
-
return t.idle !== !1;
|
|
931
|
-
}
|
|
932
|
-
function Ct(t) {
|
|
933
|
-
return !t.size || Array.from(t).every(ge);
|
|
934
|
-
}
|
|
935
|
-
function it(t) {
|
|
936
|
-
t.idle || (t.idle = !0, I(ct(t), (e) => {
|
|
937
|
-
e.done = !0;
|
|
938
|
-
}), X(t, {
|
|
939
|
-
type: "idle",
|
|
940
|
-
parent: t
|
|
941
|
-
}));
|
|
942
|
-
}
|
|
943
|
-
j.assign({
|
|
944
|
-
createStringInterpolator: Gt,
|
|
945
|
-
to: (t, e) => new _e(t, e)
|
|
946
|
-
});
|
|
947
|
-
export {
|
|
948
|
-
pt as BailSignal,
|
|
949
|
-
be as Controller,
|
|
950
|
-
dt as FrameValue,
|
|
951
|
-
j as Globals,
|
|
952
|
-
_e as Interpolation,
|
|
953
|
-
ft as SpringContext,
|
|
954
|
-
re as SpringValue,
|
|
955
|
-
ie as config,
|
|
956
|
-
$t as createInterpolator,
|
|
957
|
-
Kt as easings,
|
|
958
|
-
jt as inferTo,
|
|
959
|
-
Ie as useIsomorphicLayoutEffect
|
|
960
|
-
};
|