@sparrowengg/twigs-editor-react 0.0.1 → 0.0.2
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/cjs/_virtual/isURL.js +1 -1
- package/dist/cjs/components/base-dropdown/index.js +13 -15
- package/dist/cjs/components/base-dropdown/index.js.map +1 -1
- package/dist/cjs/components/dialog-link-editor/index.js +16 -16
- package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js +21 -28
- package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js.map +1 -1
- package/dist/cjs/components/dialog-link-editor/link-tooltip.js +13 -17
- package/dist/cjs/components/dialog-link-editor/link-tooltip.js.map +1 -1
- package/dist/cjs/components/floating-toolbar/floating-toolbar.js +18 -18
- package/dist/cjs/components/floating-toolbar/floating-toolbar.js.map +1 -1
- package/dist/cjs/components/rich-editor/index.js +7 -7
- package/dist/cjs/components/rich-editor/index.js.map +1 -1
- package/dist/cjs/components/toolbar/toolbar.js +5 -5
- package/dist/cjs/components/toolbar/toolbar.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/bold.js +5 -5
- package/dist/cjs/components/toolbar/tools/bold.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/code-block.js +5 -5
- package/dist/cjs/components/toolbar/tools/code-block.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/code.js +5 -5
- package/dist/cjs/components/toolbar/tools/code.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/format.js +9 -10
- package/dist/cjs/components/toolbar/tools/format.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/italic.js +5 -5
- package/dist/cjs/components/toolbar/tools/italic.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/link.js +5 -5
- package/dist/cjs/components/toolbar/tools/link.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/ordered-list.js +5 -5
- package/dist/cjs/components/toolbar/tools/ordered-list.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/text-align.js +8 -11
- package/dist/cjs/components/toolbar/tools/text-align.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/underline.js +5 -5
- package/dist/cjs/components/toolbar/tools/underline.js.map +1 -1
- package/dist/cjs/components/toolbar/tools/unordered-list.js +5 -5
- package/dist/cjs/components/toolbar/tools/unordered-list.js.map +1 -1
- package/dist/cjs/components/toolbar-context/context.js +3 -3
- package/dist/cjs/components/toolbar-context/store.js +9 -9
- package/dist/cjs/editor.js +5 -3
- package/dist/cjs/editor.js.map +1 -1
- package/dist/cjs/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/cjs/node_modules/validator/es/lib/isFQDN.js.map +1 -0
- package/dist/cjs/node_modules/validator/es/lib/isIP.js.map +1 -0
- package/dist/cjs/node_modules/validator/es/lib/isURL.js.map +1 -0
- package/dist/cjs/node_modules/validator/es/lib/util/assertString.js.map +1 -0
- package/dist/cjs/node_modules/validator/es/lib/util/merge.js.map +1 -0
- package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/isFQDN.js +1 -1
- package/dist/cjs/node_modules/validator/lib/isFQDN.js.map +1 -0
- package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/isIP.js +1 -1
- package/dist/cjs/node_modules/validator/lib/isIP.js.map +1 -0
- package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/isURL.js +1 -1
- package/dist/cjs/node_modules/validator/lib/isURL.js.map +1 -0
- package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/util/assertString.js +1 -1
- package/dist/cjs/node_modules/validator/lib/util/assertString.js.map +1 -0
- package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/util/merge.js +1 -1
- package/dist/cjs/node_modules/validator/lib/util/merge.js.map +1 -0
- package/dist/cjs/nodes/image.js +4 -4
- package/dist/cjs/nodes/image.js.map +1 -1
- package/dist/cjs/plugins/data-management-plugin/index.js +3 -3
- package/dist/cjs/plugins/emoji/index.js +5 -3
- package/dist/cjs/plugins/emoji/index.js.map +1 -1
- package/dist/cjs/plugins/hashtag/index.js +2 -0
- package/dist/cjs/plugins/hashtag/index.js.map +1 -1
- package/dist/cjs/plugins/images/index.js +2 -2
- package/dist/cjs/plugins/link/convert-selection-on-paste.js +2 -2
- package/dist/cjs/plugins/link/link.js +2 -2
- package/dist/cjs/plugins/mentions/index.js +2 -0
- package/dist/cjs/plugins/mentions/index.js.map +1 -1
- package/dist/cjs/plugins/tab-focus/index.js +3 -3
- package/dist/cjs/utils/prefix-class-name.js +2 -2
- package/dist/cjs/utils/prefix-class-name.js.map +1 -1
- package/dist/cjs/utils/use-node-focus.js +2 -2
- package/dist/es/_virtual/isURL.js +1 -1
- package/dist/es/components/base-dropdown/index.js +1 -3
- package/dist/es/components/base-dropdown/index.js.map +1 -1
- package/dist/es/components/dialog-link-editor/index.js +1 -1
- package/dist/es/components/dialog-link-editor/link-editor-dialog.js +2 -9
- package/dist/es/components/dialog-link-editor/link-editor-dialog.js.map +1 -1
- package/dist/es/components/dialog-link-editor/link-tooltip.js +2 -6
- package/dist/es/components/dialog-link-editor/link-tooltip.js.map +1 -1
- package/dist/es/components/floating-toolbar/floating-toolbar.js +2 -2
- package/dist/es/components/rich-editor/index.js +1 -1
- package/dist/es/components/toolbar/toolbar.js +1 -1
- package/dist/es/components/toolbar/tools/bold.js +3 -3
- package/dist/es/components/toolbar/tools/code-block.js +3 -3
- package/dist/es/components/toolbar/tools/code.js +3 -3
- package/dist/es/components/toolbar/tools/format.js +2 -3
- package/dist/es/components/toolbar/tools/format.js.map +1 -1
- package/dist/es/components/toolbar/tools/italic.js +3 -3
- package/dist/es/components/toolbar/tools/link.js +3 -3
- package/dist/es/components/toolbar/tools/ordered-list.js +3 -3
- package/dist/es/components/toolbar/tools/text-align.js +3 -6
- package/dist/es/components/toolbar/tools/text-align.js.map +1 -1
- package/dist/es/components/toolbar/tools/underline.js +3 -3
- package/dist/es/components/toolbar/tools/unordered-list.js +3 -3
- package/dist/es/editor.js +2 -0
- package/dist/es/editor.js.map +1 -1
- package/dist/es/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/es/node_modules/validator/es/lib/isFQDN.js.map +1 -0
- package/dist/es/node_modules/validator/es/lib/isIP.js.map +1 -0
- package/dist/es/node_modules/validator/es/lib/isURL.js.map +1 -0
- package/dist/es/node_modules/validator/es/lib/util/assertString.js.map +1 -0
- package/dist/es/node_modules/validator/es/lib/util/merge.js.map +1 -0
- package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/isFQDN.js +1 -1
- package/dist/es/node_modules/validator/lib/isFQDN.js.map +1 -0
- package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/isIP.js +1 -1
- package/dist/es/node_modules/validator/lib/isIP.js.map +1 -0
- package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/isURL.js +1 -1
- package/dist/es/node_modules/validator/lib/isURL.js.map +1 -0
- package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/util/assertString.js +1 -1
- package/dist/es/node_modules/validator/lib/util/assertString.js.map +1 -0
- package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/util/merge.js +1 -1
- package/dist/es/node_modules/validator/lib/util/merge.js.map +1 -0
- package/dist/es/nodes/image.js +1 -1
- package/dist/es/plugins/emoji/index.js +2 -0
- package/dist/es/plugins/emoji/index.js.map +1 -1
- package/dist/es/plugins/hashtag/index.js +2 -0
- package/dist/es/plugins/hashtag/index.js.map +1 -1
- package/dist/es/plugins/mentions/index.js +2 -0
- package/dist/es/plugins/mentions/index.js.map +1 -1
- package/dist/es/utils/prefix-class-name.js +1 -1
- package/package.json +3 -1
- package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js +0 -8
- package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/cjs/react-components/dist/es/_virtual/index.js +0 -6
- package/dist/cjs/react-components/dist/es/_virtual/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/_virtual/index2.js +0 -6
- package/dist/cjs/react-components/dist/es/_virtual/index2.js.map +0 -1
- package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js +0 -6
- package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js.map +0 -1
- package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js +0 -6
- package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js.map +0 -1
- package/dist/cjs/react-components/dist/es/box/box.js +0 -47
- package/dist/cjs/react-components/dist/es/box/box.js.map +0 -1
- package/dist/cjs/react-components/dist/es/button/button.js +0 -774
- package/dist/cjs/react-components/dist/es/button/button.js.map +0 -1
- package/dist/cjs/react-components/dist/es/button/icon-button.js +0 -77
- package/dist/cjs/react-components/dist/es/button/icon-button.js.map +0 -1
- package/dist/cjs/react-components/dist/es/button/side-element.js +0 -199
- package/dist/cjs/react-components/dist/es/button/side-element.js.map +0 -1
- package/dist/cjs/react-components/dist/es/button/utils.js +0 -105
- package/dist/cjs/react-components/dist/es/button/utils.js.map +0 -1
- package/dist/cjs/react-components/dist/es/dialog/dialog.js +0 -197
- package/dist/cjs/react-components/dist/es/dialog/dialog.js.map +0 -1
- package/dist/cjs/react-components/dist/es/dropdown/dropdown.js +0 -195
- package/dist/cjs/react-components/dist/es/dropdown/dropdown.js.map +0 -1
- package/dist/cjs/react-components/dist/es/flex/flex.js +0 -98
- package/dist/cjs/react-components/dist/es/flex/flex.js.map +0 -1
- package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js +0 -76
- package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js.map +0 -1
- package/dist/cjs/react-components/dist/es/form-label/form-label.js +0 -176
- package/dist/cjs/react-components/dist/es/form-label/form-label.js.map +0 -1
- package/dist/cjs/react-components/dist/es/input/form-input.js +0 -159
- package/dist/cjs/react-components/dist/es/input/form-input.js.map +0 -1
- package/dist/cjs/react-components/dist/es/input/input.js +0 -377
- package/dist/cjs/react-components/dist/es/input/input.js.map +0 -1
- package/dist/cjs/react-components/dist/es/link/link.js +0 -58
- package/dist/cjs/react-components/dist/es/link/link.js.map +0 -1
- package/dist/cjs/react-components/dist/es/loader/circle.js +0 -204
- package/dist/cjs/react-components/dist/es/loader/circle.js.map +0 -1
- package/dist/cjs/react-components/dist/es/loader/line.js +0 -130
- package/dist/cjs/react-components/dist/es/loader/line.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +0 -21
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -14
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -19
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -14
- package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -788
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -612
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -299
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -146
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +0 -148
- package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +0 -14
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +0 -48
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +0 -71
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -41
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +0 -102
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +0 -354
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +0 -33
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -234
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -303
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -48
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -229
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +0 -37
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +0 -47
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +0 -847
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +0 -309
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +0 -39
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +0 -142
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +0 -65
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -246
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +0 -104
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -509
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -34
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -68
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -40
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -29
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +0 -62
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -58
- package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js +0 -9
- package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +0 -134
- package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +0 -19
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +0 -17
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +0 -27
- package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +0 -11
- package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js +0 -102
- package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +0 -118
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +0 -77
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +0 -628
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js +0 -35
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -24
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js +0 -14
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -193
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -29
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +0 -22
- package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -34
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -184
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -60
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -24
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -110
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -8
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -12
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -80
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -16
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -35
- package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +0 -22
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +0 -47
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -54
- package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +0 -419
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +0 -637
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -10
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js +0 -10
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -25
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +0 -8
- package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js +0 -55
- package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -27
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -25
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -45
- package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +0 -43
- package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
- package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +0 -80
- package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- package/dist/cjs/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +0 -97
- package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +0 -1
- package/dist/cjs/react-components/dist/es/stitches.config.js +0 -392
- package/dist/cjs/react-components/dist/es/stitches.config.js.map +0 -1
- package/dist/cjs/react-components/dist/es/text/text.js +0 -117
- package/dist/cjs/react-components/dist/es/text/text.js.map +0 -1
- package/dist/cjs/react-components/dist/es/tooltip/tooltip.js +0 -156
- package/dist/cjs/react-components/dist/es/tooltip/tooltip.js.map +0 -1
- package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js +0 -10
- package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js +0 -9
- package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/es/lib/isFQDN.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/es/lib/isIP.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/es/lib/isURL.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/es/lib/util/assertString.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/es/lib/util/merge.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/lib/isFQDN.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/lib/isIP.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/lib/isURL.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/lib/util/assertString.js.map +0 -1
- package/dist/cjs/react-editor/node_modules/validator/lib/util/merge.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/bold.js +0 -86
- package/dist/cjs/react-icons/dist/es/icons/bold.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/close.js +0 -86
- package/dist/cjs/react-icons/dist/es/icons/close.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/code-block.js +0 -78
- package/dist/cjs/react-icons/dist/es/icons/code-block.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/code.js +0 -96
- package/dist/cjs/react-icons/dist/es/icons/code.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/delete.js +0 -116
- package/dist/cjs/react-icons/dist/es/icons/delete.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/italics.js +0 -96
- package/dist/cjs/react-icons/dist/es/icons/italics.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/link.js +0 -86
- package/dist/cjs/react-icons/dist/es/icons/link.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/ordered-list.js +0 -86
- package/dist/cjs/react-icons/dist/es/icons/ordered-list.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/pencil.js +0 -86
- package/dist/cjs/react-icons/dist/es/icons/pencil.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/text-align-center.js +0 -74
- package/dist/cjs/react-icons/dist/es/icons/text-align-center.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js +0 -74
- package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/text-align-left.js +0 -74
- package/dist/cjs/react-icons/dist/es/icons/text-align-left.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/text-align-right.js +0 -74
- package/dist/cjs/react-icons/dist/es/icons/text-align-right.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/text-format.js +0 -78
- package/dist/cjs/react-icons/dist/es/icons/text-format.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/underline.js +0 -77
- package/dist/cjs/react-icons/dist/es/icons/underline.js.map +0 -1
- package/dist/cjs/react-icons/dist/es/icons/unordered-list.js +0 -126
- package/dist/cjs/react-icons/dist/es/icons/unordered-list.js.map +0 -1
- package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js +0 -6
- package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/es/react-components/dist/es/_virtual/index.js +0 -4
- package/dist/es/react-components/dist/es/_virtual/index.js.map +0 -1
- package/dist/es/react-components/dist/es/_virtual/index2.js +0 -4
- package/dist/es/react-components/dist/es/_virtual/index2.js.map +0 -1
- package/dist/es/react-components/dist/es/_virtual/react-is.development.js +0 -4
- package/dist/es/react-components/dist/es/_virtual/react-is.development.js.map +0 -1
- package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js +0 -4
- package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js.map +0 -1
- package/dist/es/react-components/dist/es/box/box.js +0 -45
- package/dist/es/react-components/dist/es/box/box.js.map +0 -1
- package/dist/es/react-components/dist/es/button/button.js +0 -772
- package/dist/es/react-components/dist/es/button/button.js.map +0 -1
- package/dist/es/react-components/dist/es/button/icon-button.js +0 -75
- package/dist/es/react-components/dist/es/button/icon-button.js.map +0 -1
- package/dist/es/react-components/dist/es/button/side-element.js +0 -197
- package/dist/es/react-components/dist/es/button/side-element.js.map +0 -1
- package/dist/es/react-components/dist/es/button/utils.js +0 -100
- package/dist/es/react-components/dist/es/button/utils.js.map +0 -1
- package/dist/es/react-components/dist/es/dialog/dialog.js +0 -193
- package/dist/es/react-components/dist/es/dialog/dialog.js.map +0 -1
- package/dist/es/react-components/dist/es/dropdown/dropdown.js +0 -190
- package/dist/es/react-components/dist/es/dropdown/dropdown.js.map +0 -1
- package/dist/es/react-components/dist/es/flex/flex.js +0 -96
- package/dist/es/react-components/dist/es/flex/flex.js.map +0 -1
- package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js +0 -74
- package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js.map +0 -1
- package/dist/es/react-components/dist/es/form-label/form-label.js +0 -174
- package/dist/es/react-components/dist/es/form-label/form-label.js.map +0 -1
- package/dist/es/react-components/dist/es/input/form-input.js +0 -157
- package/dist/es/react-components/dist/es/input/form-input.js.map +0 -1
- package/dist/es/react-components/dist/es/input/input.js +0 -374
- package/dist/es/react-components/dist/es/input/input.js.map +0 -1
- package/dist/es/react-components/dist/es/link/link.js +0 -56
- package/dist/es/react-components/dist/es/link/link.js.map +0 -1
- package/dist/es/react-components/dist/es/loader/circle.js +0 -202
- package/dist/es/react-components/dist/es/loader/circle.js.map +0 -1
- package/dist/es/react-components/dist/es/loader/line.js +0 -128
- package/dist/es/react-components/dist/es/loader/line.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +0 -17
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -10
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -10
- package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -777
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -600
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -269
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -123
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +0 -129
- package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +0 -12
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +0 -26
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +0 -69
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -19
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +0 -80
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +0 -318
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +0 -12
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -212
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -254
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -27
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -208
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +0 -16
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +0 -25
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +0 -796
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +0 -280
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +0 -18
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +0 -120
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +0 -42
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -221
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +0 -82
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -476
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -13
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -47
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -19
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -8
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +0 -41
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -36
- package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js +0 -6
- package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +0 -132
- package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +0 -15
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +0 -13
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +0 -23
- package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +0 -9
- package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/object-assign/index.js +0 -100
- package/dist/es/react-components/dist/es/node_modules/object-assign/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +0 -116
- package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +0 -75
- package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +0 -626
- package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/prop-types/index.js +0 -31
- package/dist/es/react-components/dist/es/node_modules/prop-types/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -22
- package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js +0 -12
- package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -191
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -27
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +0 -20
- package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -161
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -39
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -22
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -107
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -6
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -8
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -57
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -11
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -32
- package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +0 -20
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +0 -26
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -52
- package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +0 -415
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +0 -628
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -6
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js +0 -6
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -22
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +0 -6
- package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js +0 -52
- package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -25
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -23
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -43
- package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +0 -22
- package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
- package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +0 -78
- package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
- package/dist/es/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +0 -95
- package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +0 -1
- package/dist/es/react-components/dist/es/stitches.config.js +0 -379
- package/dist/es/react-components/dist/es/stitches.config.js.map +0 -1
- package/dist/es/react-components/dist/es/text/text.js +0 -115
- package/dist/es/react-components/dist/es/text/text.js.map +0 -1
- package/dist/es/react-components/dist/es/tooltip/tooltip.js +0 -153
- package/dist/es/react-components/dist/es/tooltip/tooltip.js.map +0 -1
- package/dist/es/react-components/dist/es/utils/prefix-class-name.js +0 -8
- package/dist/es/react-components/dist/es/utils/prefix-class-name.js.map +0 -1
- package/dist/es/react-editor/node_modules/clsx/dist/clsx.js +0 -4
- package/dist/es/react-editor/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/es/lib/isFQDN.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/es/lib/isIP.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/es/lib/isURL.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/es/lib/util/assertString.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/es/lib/util/merge.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/lib/isFQDN.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/lib/isIP.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/lib/isURL.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/lib/util/assertString.js.map +0 -1
- package/dist/es/react-editor/node_modules/validator/lib/util/merge.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/bold.js +0 -84
- package/dist/es/react-icons/dist/es/icons/bold.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/close.js +0 -84
- package/dist/es/react-icons/dist/es/icons/close.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/code-block.js +0 -76
- package/dist/es/react-icons/dist/es/icons/code-block.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/code.js +0 -94
- package/dist/es/react-icons/dist/es/icons/code.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/delete.js +0 -114
- package/dist/es/react-icons/dist/es/icons/delete.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/italics.js +0 -94
- package/dist/es/react-icons/dist/es/icons/italics.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/link.js +0 -84
- package/dist/es/react-icons/dist/es/icons/link.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/ordered-list.js +0 -84
- package/dist/es/react-icons/dist/es/icons/ordered-list.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/pencil.js +0 -84
- package/dist/es/react-icons/dist/es/icons/pencil.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/text-align-center.js +0 -72
- package/dist/es/react-icons/dist/es/icons/text-align-center.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/text-align-justify.js +0 -72
- package/dist/es/react-icons/dist/es/icons/text-align-justify.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/text-align-left.js +0 -72
- package/dist/es/react-icons/dist/es/icons/text-align-left.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/text-align-right.js +0 -72
- package/dist/es/react-icons/dist/es/icons/text-align-right.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/text-format.js +0 -76
- package/dist/es/react-icons/dist/es/icons/text-format.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/underline.js +0 -75
- package/dist/es/react-icons/dist/es/icons/underline.js.map +0 -1
- package/dist/es/react-icons/dist/es/icons/unordered-list.js +0 -124
- package/dist/es/react-icons/dist/es/icons/unordered-list.js.map +0 -1
- /package/dist/cjs/{react-components/dist/es/packages/react-components/node_modules → node_modules}/clsx/dist/clsx.js +0 -0
- /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/isFQDN.js +0 -0
- /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/isIP.js +0 -0
- /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/isURL.js +0 -0
- /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/util/assertString.js +0 -0
- /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/util/merge.js +0 -0
- /package/dist/es/{react-components/dist/es/packages/react-components/node_modules → node_modules}/clsx/dist/clsx.js +0 -0
- /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/isFQDN.js +0 -0
- /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/isIP.js +0 -0
- /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/isURL.js +0 -0
- /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/util/assertString.js +0 -0
- /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/util/merge.js +0 -0
package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"floating-ui.dom.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js"],"sourcesContent":["import { computePosition as computePosition$1 } from '../../core/dist/floating-ui.core.js';\nexport { arrow, detectOverflow, flip, hide, limitShift, offset, shift, size } from '../../core/dist/floating-ui.core.js';\nimport { createCoords, rectToClientRect, round, floor, max, min } from '../../utils/dist/floating-ui.utils.js';\nimport { getOverflowAncestors, isElement, getWindow, getComputedStyle, getDocumentElement, isHTMLElement, isWebKit, getNodeName, isOverflowElement, getNodeScroll, isTableElement, isContainingBlock, getContainingBlock, getParentNode, isLastTraversableNode } from '../../utils/dom/dist/floating-ui.utils.dom.js';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentIFrame = win.frameElement;\n while (currentIFrame && offsetParent && offsetWin !== win) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentIFrame = getWindow(currentIFrame).frameElement;\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n if (offsetParent === documentElement) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\nfunction getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n ...clippingAncestor,\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n return getCssDimensions(element);\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n return element.offsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const window = getWindow(element);\n if (!isHTMLElement(element)) {\n return window;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {\n return window;\n }\n return offsetParent || getContainingBlock(element) || window;\n}\n\nconst getElementRects = async function (_ref) {\n let {\n reference,\n floating,\n strategy\n } = _ref;\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n return {\n reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),\n floating: {\n x: 0,\n y: 0,\n ...(await getDimensionsFn(floating))\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n clearTimeout(timeoutId);\n io && io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const {\n left,\n top,\n width,\n height\n } = element.getBoundingClientRect();\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 100);\n } else {\n refresh(false, ratio);\n }\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n resizeObserver && resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo && cleanupIo();\n resizeObserver && resizeObserver.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a reference element when it is given a certain CSS positioning\n * strategy.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { autoUpdate, computePosition, getOverflowAncestors, platform };\n//# sourceMappingURL=floating-ui.dom.js.map\n"],"names":["getComputedStyle","isHTMLElement","round","isElement","createCoords","getWindow","isWebKit","rectToClientRect","getDocumentElement","getNodeName","isOverflowElement","getNodeScroll","max","getParentNode","isLastTraversableNode","getOverflowAncestors","isContainingBlock","min","isTableElement","getContainingBlock","floor","computePosition$1"],"mappings":";;;;;;AAKA,SAAS,gBAAgB,CAAC,OAAO,EAAE;AACnC,EAAE,MAAM,GAAG,GAAGA,qCAAgB,CAAC,OAAO,CAAC;AACvC;AACA;AACA,EAAE,IAAI,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC;AACxC,EAAE,IAAI,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC;AAC1C,EAAE,MAAM,SAAS,GAAGC,kCAAa,CAAC,OAAO,CAAC;AAC1C,EAAE,MAAM,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC,WAAW,GAAG,KAAK;AAC7D,EAAE,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC,YAAY,GAAG,MAAM;AAChE,EAAE,MAAM,cAAc,GAAGC,sBAAK,CAAC,KAAK,CAAC,KAAK,WAAW,IAAIA,sBAAK,CAAC,MAAM,CAAC,KAAK,Y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AAI,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC;AACtE,MAAM,cAAc,IAAI,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC;AACtE,KAAK,CAAC;AACN,IAAI,SAAS,IAAI,SAAS,EAAE;AAC5B,IAAI,cAAc,IAAI,cAAc,CAAC,UAAU,EAAE;AACjD,IAAI,cAAc,GAAG,IAAI;AACzB,IAAI,IAAI,cAAc,EAAE;AACxB,MAAM,oBAAoB,CAAC,OAAO,CAAC;AACnC;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACK,MAAC,eAAe,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,KAAK;AAC1D;AACA;AACA;AACA,EAAE,MAAM,KAAK,GAAG,IAAI,GAAG,EAAE;AACzB,EAAE,MAAM,aAAa,GAAG;AACxB,IAAI,QAAQ;AACZ,IAAI,GAAG;AACP,GAAG;AACH,EAAE,MAAM,iBAAiB,GAAG;AAC5B,IAAI,GAAG,aAAa,CAAC,QAAQ;AAC7B,IAAI,EAAE,EAAE;AACR,GAAG;AACH,EAAE,OAAOM,+BAAiB,CAAC,SAAS,EAAE,QAAQ,EAAE;AAChD,IAAI,GAAG,aAAa;AACpB,IAAI,QAAQ,EAAE;AACd,GAAG,CAAC;AACJ;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
@@ -1,299 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var floatingUi_dom = require('../../dom/dist/floating-ui.dom.js');
|
4
|
-
var React = require('react');
|
5
|
-
var ReactDOM__default = require('react-dom');
|
6
|
-
var floatingUi_core = require('../../core/dist/floating-ui.core.js');
|
7
|
-
|
8
|
-
function _interopNamespaceDefault(e) {
|
9
|
-
var n = Object.create(null);
|
10
|
-
if (e) {
|
11
|
-
Object.keys(e).forEach(function (k) {
|
12
|
-
if (k !== 'default') {
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
15
|
-
enumerable: true,
|
16
|
-
get: function () { return e[k]; }
|
17
|
-
});
|
18
|
-
}
|
19
|
-
});
|
20
|
-
}
|
21
|
-
n.default = e;
|
22
|
-
return Object.freeze(n);
|
23
|
-
}
|
24
|
-
|
25
|
-
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
26
|
-
var ReactDOM__default__namespace = /*#__PURE__*/_interopNamespaceDefault(ReactDOM__default);
|
27
|
-
|
28
|
-
/**
|
29
|
-
* Provides data to position an inner element of the floating element so that it
|
30
|
-
* appears centered to the reference element.
|
31
|
-
* This wraps the core `arrow` middleware to allow React refs as the element.
|
32
|
-
* @see https://floating-ui.com/docs/arrow
|
33
|
-
*/
|
34
|
-
const arrow = options => {
|
35
|
-
function isRef(value) {
|
36
|
-
return {}.hasOwnProperty.call(value, 'current');
|
37
|
-
}
|
38
|
-
return {
|
39
|
-
name: 'arrow',
|
40
|
-
options,
|
41
|
-
fn(state) {
|
42
|
-
const {
|
43
|
-
element,
|
44
|
-
padding
|
45
|
-
} = typeof options === 'function' ? options(state) : options;
|
46
|
-
if (element && isRef(element)) {
|
47
|
-
if (element.current != null) {
|
48
|
-
return floatingUi_core.arrow({
|
49
|
-
element: element.current,
|
50
|
-
padding
|
51
|
-
}).fn(state);
|
52
|
-
}
|
53
|
-
return {};
|
54
|
-
} else if (element) {
|
55
|
-
return floatingUi_core.arrow({
|
56
|
-
element,
|
57
|
-
padding
|
58
|
-
}).fn(state);
|
59
|
-
}
|
60
|
-
return {};
|
61
|
-
}
|
62
|
-
};
|
63
|
-
};
|
64
|
-
|
65
|
-
var index = typeof document !== 'undefined' ? React.useLayoutEffect : React.useEffect;
|
66
|
-
|
67
|
-
// Fork of `fast-deep-equal` that only does the comparisons we need and compares
|
68
|
-
// functions
|
69
|
-
function deepEqual(a, b) {
|
70
|
-
if (a === b) {
|
71
|
-
return true;
|
72
|
-
}
|
73
|
-
if (typeof a !== typeof b) {
|
74
|
-
return false;
|
75
|
-
}
|
76
|
-
if (typeof a === 'function' && a.toString() === b.toString()) {
|
77
|
-
return true;
|
78
|
-
}
|
79
|
-
let length, i, keys;
|
80
|
-
if (a && b && typeof a == 'object') {
|
81
|
-
if (Array.isArray(a)) {
|
82
|
-
length = a.length;
|
83
|
-
if (length != b.length) return false;
|
84
|
-
for (i = length; i-- !== 0;) {
|
85
|
-
if (!deepEqual(a[i], b[i])) {
|
86
|
-
return false;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
return true;
|
90
|
-
}
|
91
|
-
keys = Object.keys(a);
|
92
|
-
length = keys.length;
|
93
|
-
if (length !== Object.keys(b).length) {
|
94
|
-
return false;
|
95
|
-
}
|
96
|
-
for (i = length; i-- !== 0;) {
|
97
|
-
if (!{}.hasOwnProperty.call(b, keys[i])) {
|
98
|
-
return false;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
for (i = length; i-- !== 0;) {
|
102
|
-
const key = keys[i];
|
103
|
-
if (key === '_owner' && a.$$typeof) {
|
104
|
-
continue;
|
105
|
-
}
|
106
|
-
if (!deepEqual(a[key], b[key])) {
|
107
|
-
return false;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
return true;
|
111
|
-
}
|
112
|
-
return a !== a && b !== b;
|
113
|
-
}
|
114
|
-
|
115
|
-
function getDPR(element) {
|
116
|
-
if (typeof window === 'undefined') {
|
117
|
-
return 1;
|
118
|
-
}
|
119
|
-
const win = element.ownerDocument.defaultView || window;
|
120
|
-
return win.devicePixelRatio || 1;
|
121
|
-
}
|
122
|
-
|
123
|
-
function roundByDPR(element, value) {
|
124
|
-
const dpr = getDPR(element);
|
125
|
-
return Math.round(value * dpr) / dpr;
|
126
|
-
}
|
127
|
-
|
128
|
-
function useLatestRef(value) {
|
129
|
-
const ref = React__namespace.useRef(value);
|
130
|
-
index(() => {
|
131
|
-
ref.current = value;
|
132
|
-
});
|
133
|
-
return ref;
|
134
|
-
}
|
135
|
-
|
136
|
-
/**
|
137
|
-
* Provides data to position a floating element.
|
138
|
-
* @see https://floating-ui.com/docs/react
|
139
|
-
*/
|
140
|
-
function useFloating(options) {
|
141
|
-
if (options === void 0) {
|
142
|
-
options = {};
|
143
|
-
}
|
144
|
-
const {
|
145
|
-
placement = 'bottom',
|
146
|
-
strategy = 'absolute',
|
147
|
-
middleware = [],
|
148
|
-
platform,
|
149
|
-
elements: {
|
150
|
-
reference: externalReference,
|
151
|
-
floating: externalFloating
|
152
|
-
} = {},
|
153
|
-
transform = true,
|
154
|
-
whileElementsMounted,
|
155
|
-
open
|
156
|
-
} = options;
|
157
|
-
const [data, setData] = React__namespace.useState({
|
158
|
-
x: 0,
|
159
|
-
y: 0,
|
160
|
-
strategy,
|
161
|
-
placement,
|
162
|
-
middlewareData: {},
|
163
|
-
isPositioned: false
|
164
|
-
});
|
165
|
-
const [latestMiddleware, setLatestMiddleware] = React__namespace.useState(middleware);
|
166
|
-
if (!deepEqual(latestMiddleware, middleware)) {
|
167
|
-
setLatestMiddleware(middleware);
|
168
|
-
}
|
169
|
-
const [_reference, _setReference] = React__namespace.useState(null);
|
170
|
-
const [_floating, _setFloating] = React__namespace.useState(null);
|
171
|
-
const setReference = React__namespace.useCallback(node => {
|
172
|
-
if (node != referenceRef.current) {
|
173
|
-
referenceRef.current = node;
|
174
|
-
_setReference(node);
|
175
|
-
}
|
176
|
-
}, [_setReference]);
|
177
|
-
const setFloating = React__namespace.useCallback(node => {
|
178
|
-
if (node !== floatingRef.current) {
|
179
|
-
floatingRef.current = node;
|
180
|
-
_setFloating(node);
|
181
|
-
}
|
182
|
-
}, [_setFloating]);
|
183
|
-
const referenceEl = externalReference || _reference;
|
184
|
-
const floatingEl = externalFloating || _floating;
|
185
|
-
const referenceRef = React__namespace.useRef(null);
|
186
|
-
const floatingRef = React__namespace.useRef(null);
|
187
|
-
const dataRef = React__namespace.useRef(data);
|
188
|
-
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
189
|
-
const platformRef = useLatestRef(platform);
|
190
|
-
const update = React__namespace.useCallback(() => {
|
191
|
-
if (!referenceRef.current || !floatingRef.current) {
|
192
|
-
return;
|
193
|
-
}
|
194
|
-
const config = {
|
195
|
-
placement,
|
196
|
-
strategy,
|
197
|
-
middleware: latestMiddleware
|
198
|
-
};
|
199
|
-
if (platformRef.current) {
|
200
|
-
config.platform = platformRef.current;
|
201
|
-
}
|
202
|
-
floatingUi_dom.computePosition(referenceRef.current, floatingRef.current, config).then(data => {
|
203
|
-
const fullData = {
|
204
|
-
...data,
|
205
|
-
isPositioned: true
|
206
|
-
};
|
207
|
-
if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
|
208
|
-
dataRef.current = fullData;
|
209
|
-
ReactDOM__default__namespace.flushSync(() => {
|
210
|
-
setData(fullData);
|
211
|
-
});
|
212
|
-
}
|
213
|
-
});
|
214
|
-
}, [latestMiddleware, placement, strategy, platformRef]);
|
215
|
-
index(() => {
|
216
|
-
if (open === false && dataRef.current.isPositioned) {
|
217
|
-
dataRef.current.isPositioned = false;
|
218
|
-
setData(data => ({
|
219
|
-
...data,
|
220
|
-
isPositioned: false
|
221
|
-
}));
|
222
|
-
}
|
223
|
-
}, [open]);
|
224
|
-
const isMountedRef = React__namespace.useRef(false);
|
225
|
-
index(() => {
|
226
|
-
isMountedRef.current = true;
|
227
|
-
return () => {
|
228
|
-
isMountedRef.current = false;
|
229
|
-
};
|
230
|
-
}, []);
|
231
|
-
index(() => {
|
232
|
-
if (referenceEl) referenceRef.current = referenceEl;
|
233
|
-
if (floatingEl) floatingRef.current = floatingEl;
|
234
|
-
if (referenceEl && floatingEl) {
|
235
|
-
if (whileElementsMountedRef.current) {
|
236
|
-
return whileElementsMountedRef.current(referenceEl, floatingEl, update);
|
237
|
-
} else {
|
238
|
-
update();
|
239
|
-
}
|
240
|
-
}
|
241
|
-
}, [referenceEl, floatingEl, update, whileElementsMountedRef]);
|
242
|
-
const refs = React__namespace.useMemo(() => ({
|
243
|
-
reference: referenceRef,
|
244
|
-
floating: floatingRef,
|
245
|
-
setReference,
|
246
|
-
setFloating
|
247
|
-
}), [setReference, setFloating]);
|
248
|
-
const elements = React__namespace.useMemo(() => ({
|
249
|
-
reference: referenceEl,
|
250
|
-
floating: floatingEl
|
251
|
-
}), [referenceEl, floatingEl]);
|
252
|
-
const floatingStyles = React__namespace.useMemo(() => {
|
253
|
-
const initialStyles = {
|
254
|
-
position: strategy,
|
255
|
-
left: 0,
|
256
|
-
top: 0
|
257
|
-
};
|
258
|
-
if (!elements.floating) {
|
259
|
-
return initialStyles;
|
260
|
-
}
|
261
|
-
const x = roundByDPR(elements.floating, data.x);
|
262
|
-
const y = roundByDPR(elements.floating, data.y);
|
263
|
-
if (transform) {
|
264
|
-
return {
|
265
|
-
...initialStyles,
|
266
|
-
transform: "translate(" + x + "px, " + y + "px)",
|
267
|
-
...(getDPR(elements.floating) >= 1.5 && {
|
268
|
-
willChange: 'transform'
|
269
|
-
})
|
270
|
-
};
|
271
|
-
}
|
272
|
-
return {
|
273
|
-
position: strategy,
|
274
|
-
left: x,
|
275
|
-
top: y
|
276
|
-
};
|
277
|
-
}, [strategy, transform, elements.floating, data.x, data.y]);
|
278
|
-
return React__namespace.useMemo(() => ({
|
279
|
-
...data,
|
280
|
-
update,
|
281
|
-
refs,
|
282
|
-
elements,
|
283
|
-
floatingStyles
|
284
|
-
}), [data, update, refs, elements, floatingStyles]);
|
285
|
-
}
|
286
|
-
|
287
|
-
exports.autoUpdate = floatingUi_dom.autoUpdate;
|
288
|
-
exports.computePosition = floatingUi_dom.computePosition;
|
289
|
-
exports.platform = floatingUi_dom.platform;
|
290
|
-
exports.detectOverflow = floatingUi_core.detectOverflow;
|
291
|
-
exports.flip = floatingUi_core.flip;
|
292
|
-
exports.hide = floatingUi_core.hide;
|
293
|
-
exports.limitShift = floatingUi_core.limitShift;
|
294
|
-
exports.offset = floatingUi_core.offset;
|
295
|
-
exports.shift = floatingUi_core.shift;
|
296
|
-
exports.size = floatingUi_core.size;
|
297
|
-
exports.arrow = arrow;
|
298
|
-
exports.useFloating = useFloating;
|
299
|
-
//# sourceMappingURL=floating-ui.react-dom.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"floating-ui.react-dom.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js"],"sourcesContent":["import { computePosition } from '../../dom/dist/floating-ui.dom.js';\nexport { autoUpdate, platform } from '../../dom/dist/floating-ui.dom.js';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { arrow as arrow$1 } from '../../core/dist/floating-ui.core.js';\nexport { detectOverflow, flip, hide, limitShift, offset, shift, size } from '../../core/dist/floating-ui.core.js';\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$1({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n } else if (element) {\n return arrow$1({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length, i, keys;\n if (a && b && typeof a == 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/react\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node != referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, [_setReference]);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, [_setFloating]);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n isPositioned: true\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n } else {\n update();\n }\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\nexport { arrow, computePosition, useFloating };\n//# sourceMappingURL=floating-ui.react-dom.js.map\n"],"names":["arrow$1","useLayoutEffect","useEffect","React","computePosition","ReactDOM"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACK,MAAC,KAAK,GAAG,OAAO,IAAI;AACzB,EAAE,SAAS,KAAK,CAAC,KAAK,EAAE;AACxB,IAAI,OAAO,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC;AACnD;AACA,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO;AACX,IAAI,EAAE,CAAC,KAAK,EAAE;AACd,MAAM,MAAM;AACZ,QAAQ,OAAO;AACf,QAAQ;AACR,OAAO,GAAG,OAAO,OAAO,KAAK,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO;AAClE,MAAM,IAAI,OAAO,IAAI,KAAK,CAAC,OAAO,CAAC,EAAE;AACrC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE;AACrC,UAAU,OAAOA,qBAAO,CAAC;AACzB,YAAY,OAAO,EAAE,OAAO,CAAC,OAAO;AACpC,YAAY;AACZ,WAAW,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;AACtB;AACA,QAAQ,OAAO,EAAE;AACjB,OAAO,MAAM,IAAI,OAAO,EAAE;AAC1B,QAAQ,OAAOA,qBAAO,CAAC;AACvB,UAAU,OAAO;AACjB,UAAU;AACV,SAAS,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;AACpB;AACA,MAAM,OAAO,EAAE;AACf;AACA,GAAG;AACH;;AAEA,IAAI,KAAK,GAAG,OAAO,QAAQ,KAAK,WAAW,GAAGC,qBAAe,GAAGC,eAAS;;AAEzE;AACA;AACA,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;AACzB,EAAE,IAAI,CAAC,KAAK,CAAC,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,SAAS;AACT,OAAO;AACP;AACA,IAAI,OAAO;AACX,MAAM,QAAQ,EAAE,QAAQ;AACxB,MAAM,IAAI,EAAE,CAAC;AACb,MAAM,GAAG,EAAE;AACX,KAAK;AACL,GAAG,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAC9D,EAAE,OAAOA,gBAAK,CAAC,OAAO,CAAC,OAAO;AAC9B,IAAI,GAAG,IAAI;AACX,IAAI,MAAM;AACV,IAAI,IAAI;AACR,IAAI,QAAQ;AACZ,IAAI;AACJ,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC;AACrD;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js
DELETED
@@ -1,146 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
4
|
-
const min = Math.min;
|
5
|
-
const max = Math.max;
|
6
|
-
const round = Math.round;
|
7
|
-
const floor = Math.floor;
|
8
|
-
const createCoords = v => ({
|
9
|
-
x: v,
|
10
|
-
y: v
|
11
|
-
});
|
12
|
-
const oppositeSideMap = {
|
13
|
-
left: 'right',
|
14
|
-
right: 'left',
|
15
|
-
bottom: 'top',
|
16
|
-
top: 'bottom'
|
17
|
-
};
|
18
|
-
const oppositeAlignmentMap = {
|
19
|
-
start: 'end',
|
20
|
-
end: 'start'
|
21
|
-
};
|
22
|
-
function clamp(start, value, end) {
|
23
|
-
return max(start, min(value, end));
|
24
|
-
}
|
25
|
-
function evaluate(value, param) {
|
26
|
-
return typeof value === 'function' ? value(param) : value;
|
27
|
-
}
|
28
|
-
function getSide(placement) {
|
29
|
-
return placement.split('-')[0];
|
30
|
-
}
|
31
|
-
function getAlignment(placement) {
|
32
|
-
return placement.split('-')[1];
|
33
|
-
}
|
34
|
-
function getOppositeAxis(axis) {
|
35
|
-
return axis === 'x' ? 'y' : 'x';
|
36
|
-
}
|
37
|
-
function getAxisLength(axis) {
|
38
|
-
return axis === 'y' ? 'height' : 'width';
|
39
|
-
}
|
40
|
-
function getSideAxis(placement) {
|
41
|
-
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
42
|
-
}
|
43
|
-
function getAlignmentAxis(placement) {
|
44
|
-
return getOppositeAxis(getSideAxis(placement));
|
45
|
-
}
|
46
|
-
function getAlignmentSides(placement, rects, rtl) {
|
47
|
-
if (rtl === void 0) {
|
48
|
-
rtl = false;
|
49
|
-
}
|
50
|
-
const alignment = getAlignment(placement);
|
51
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
52
|
-
const length = getAxisLength(alignmentAxis);
|
53
|
-
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
54
|
-
if (rects.reference[length] > rects.floating[length]) {
|
55
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
56
|
-
}
|
57
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
58
|
-
}
|
59
|
-
function getExpandedPlacements(placement) {
|
60
|
-
const oppositePlacement = getOppositePlacement(placement);
|
61
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
62
|
-
}
|
63
|
-
function getOppositeAlignmentPlacement(placement) {
|
64
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
65
|
-
}
|
66
|
-
function getSideList(side, isStart, rtl) {
|
67
|
-
const lr = ['left', 'right'];
|
68
|
-
const rl = ['right', 'left'];
|
69
|
-
const tb = ['top', 'bottom'];
|
70
|
-
const bt = ['bottom', 'top'];
|
71
|
-
switch (side) {
|
72
|
-
case 'top':
|
73
|
-
case 'bottom':
|
74
|
-
if (rtl) return isStart ? rl : lr;
|
75
|
-
return isStart ? lr : rl;
|
76
|
-
case 'left':
|
77
|
-
case 'right':
|
78
|
-
return isStart ? tb : bt;
|
79
|
-
default:
|
80
|
-
return [];
|
81
|
-
}
|
82
|
-
}
|
83
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
84
|
-
const alignment = getAlignment(placement);
|
85
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
86
|
-
if (alignment) {
|
87
|
-
list = list.map(side => side + "-" + alignment);
|
88
|
-
if (flipAlignment) {
|
89
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
90
|
-
}
|
91
|
-
}
|
92
|
-
return list;
|
93
|
-
}
|
94
|
-
function getOppositePlacement(placement) {
|
95
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
96
|
-
}
|
97
|
-
function expandPaddingObject(padding) {
|
98
|
-
return {
|
99
|
-
top: 0,
|
100
|
-
right: 0,
|
101
|
-
bottom: 0,
|
102
|
-
left: 0,
|
103
|
-
...padding
|
104
|
-
};
|
105
|
-
}
|
106
|
-
function getPaddingObject(padding) {
|
107
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
108
|
-
top: padding,
|
109
|
-
right: padding,
|
110
|
-
bottom: padding,
|
111
|
-
left: padding
|
112
|
-
};
|
113
|
-
}
|
114
|
-
function rectToClientRect(rect) {
|
115
|
-
return {
|
116
|
-
...rect,
|
117
|
-
top: rect.y,
|
118
|
-
left: rect.x,
|
119
|
-
right: rect.x + rect.width,
|
120
|
-
bottom: rect.y + rect.height
|
121
|
-
};
|
122
|
-
}
|
123
|
-
|
124
|
-
exports.clamp = clamp;
|
125
|
-
exports.createCoords = createCoords;
|
126
|
-
exports.evaluate = evaluate;
|
127
|
-
exports.expandPaddingObject = expandPaddingObject;
|
128
|
-
exports.floor = floor;
|
129
|
-
exports.getAlignment = getAlignment;
|
130
|
-
exports.getAlignmentAxis = getAlignmentAxis;
|
131
|
-
exports.getAlignmentSides = getAlignmentSides;
|
132
|
-
exports.getAxisLength = getAxisLength;
|
133
|
-
exports.getExpandedPlacements = getExpandedPlacements;
|
134
|
-
exports.getOppositeAlignmentPlacement = getOppositeAlignmentPlacement;
|
135
|
-
exports.getOppositeAxis = getOppositeAxis;
|
136
|
-
exports.getOppositeAxisPlacements = getOppositeAxisPlacements;
|
137
|
-
exports.getOppositePlacement = getOppositePlacement;
|
138
|
-
exports.getPaddingObject = getPaddingObject;
|
139
|
-
exports.getSide = getSide;
|
140
|
-
exports.getSideAxis = getSideAxis;
|
141
|
-
exports.max = max;
|
142
|
-
exports.min = min;
|
143
|
-
exports.rectToClientRect = rectToClientRect;
|
144
|
-
exports.round = round;
|
145
|
-
exports.sides = sides;
|
146
|
-
//# sourceMappingURL=floating-ui.utils.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"floating-ui.utils.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js"],"sourcesContent":["const sides = ['top', 'right', 'bottom', 'left'];\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n return {\n ...rect,\n top: rect.y,\n left: rect.x,\n right: rect.x + rect.width,\n bottom: rect.y + rect.height\n };\n}\n\nexport { clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, rectToClientRect, round, sides };\n//# sourceMappingURL=floating-ui.utils.js.map\n"],"names":[],"mappings":";;AAAK,MAAC,KAAK,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM;AAC1C,MAAC,GAAG,GAAG,IAAI,CAAC;AACZ,MAAC,GAAG,GAAG,IAAI,CAAC;AACZ,MAAC,KAAK,GAAG,IAAI,CAAC;AACd,MAAC,KAAK,GAAG,IAAI,CAAC;AACd,MAAC,YAAY,GAAG,CAAC,KAAK;AAC3B,EAAE,CAAC,EAAE,CAAC;AACN,EAAE,CAAC,EAAE;AACL,CAAC;AACD,MAAM,eAAe,GAAG;AACxB,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,MAAM,EAAE,KAAK;AACf,EAAE,GAAG,EAAE;AACP,CAAC;AACD,MAAM,oBAAoB,GAAG;AAC7B,EAAE,KAAK,EAAE,KAAK;AACd,EAAE,GAAG,EAAE;AACP,CAAC;AACD,SAAS,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE;AAClC,EAAE,OAAO,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AACpC;AACA,SAAS,QAAQ,CAAC,KAAK,EAAE,KAAK,EAAE;AAChC,EAAE,OAAO,OAAO,KAAK,KAAK,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,KAAK;AAC3D;AACA,SAAS,OAAO,CAAC,SAAS,EAAE;AAC5B,EA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