@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/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js
DELETED
@@ -1,628 +0,0 @@
|
|
1
|
-
import _objectWithoutPropertiesLoose from '../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js';
|
2
|
-
import _inheritsLoose from '../../@babel/runtime/helpers/esm/inheritsLoose.js';
|
3
|
-
import PropTypes from '../../prop-types/index.js';
|
4
|
-
import React__default from 'react';
|
5
|
-
import ReactDOM__default__default from 'react-dom';
|
6
|
-
import config from './config.js';
|
7
|
-
import { timeoutsShape } from './utils/PropTypes.js';
|
8
|
-
import TransitionGroupContext from './TransitionGroupContext.js';
|
9
|
-
import { forceReflow } from './utils/reflow.js';
|
10
|
-
|
11
|
-
var UNMOUNTED = 'unmounted';
|
12
|
-
var EXITED = 'exited';
|
13
|
-
var ENTERING = 'entering';
|
14
|
-
var ENTERED = 'entered';
|
15
|
-
var EXITING = 'exiting';
|
16
|
-
/**
|
17
|
-
* The Transition component lets you describe a transition from one component
|
18
|
-
* state to another _over time_ with a simple declarative API. Most commonly
|
19
|
-
* it's used to animate the mounting and unmounting of a component, but can also
|
20
|
-
* be used to describe in-place transition states as well.
|
21
|
-
*
|
22
|
-
* ---
|
23
|
-
*
|
24
|
-
* **Note**: `Transition` is a platform-agnostic base component. If you're using
|
25
|
-
* transitions in CSS, you'll probably want to use
|
26
|
-
* [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)
|
27
|
-
* instead. It inherits all the features of `Transition`, but contains
|
28
|
-
* additional features necessary to play nice with CSS transitions (hence the
|
29
|
-
* name of the component).
|
30
|
-
*
|
31
|
-
* ---
|
32
|
-
*
|
33
|
-
* By default the `Transition` component does not alter the behavior of the
|
34
|
-
* component it renders, it only tracks "enter" and "exit" states for the
|
35
|
-
* components. It's up to you to give meaning and effect to those states. For
|
36
|
-
* example we can add styles to a component when it enters or exits:
|
37
|
-
*
|
38
|
-
* ```jsx
|
39
|
-
* import { Transition } from 'react-transition-group';
|
40
|
-
*
|
41
|
-
* const duration = 300;
|
42
|
-
*
|
43
|
-
* const defaultStyle = {
|
44
|
-
* transition: `opacity ${duration}ms ease-in-out`,
|
45
|
-
* opacity: 0,
|
46
|
-
* }
|
47
|
-
*
|
48
|
-
* const transitionStyles = {
|
49
|
-
* entering: { opacity: 1 },
|
50
|
-
* entered: { opacity: 1 },
|
51
|
-
* exiting: { opacity: 0 },
|
52
|
-
* exited: { opacity: 0 },
|
53
|
-
* };
|
54
|
-
*
|
55
|
-
* const Fade = ({ in: inProp }) => (
|
56
|
-
* <Transition in={inProp} timeout={duration}>
|
57
|
-
* {state => (
|
58
|
-
* <div style={{
|
59
|
-
* ...defaultStyle,
|
60
|
-
* ...transitionStyles[state]
|
61
|
-
* }}>
|
62
|
-
* I'm a fade Transition!
|
63
|
-
* </div>
|
64
|
-
* )}
|
65
|
-
* </Transition>
|
66
|
-
* );
|
67
|
-
* ```
|
68
|
-
*
|
69
|
-
* There are 4 main states a Transition can be in:
|
70
|
-
* - `'entering'`
|
71
|
-
* - `'entered'`
|
72
|
-
* - `'exiting'`
|
73
|
-
* - `'exited'`
|
74
|
-
*
|
75
|
-
* Transition state is toggled via the `in` prop. When `true` the component
|
76
|
-
* begins the "Enter" stage. During this stage, the component will shift from
|
77
|
-
* its current transition state, to `'entering'` for the duration of the
|
78
|
-
* transition and then to the `'entered'` stage once it's complete. Let's take
|
79
|
-
* the following example (we'll use the
|
80
|
-
* [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):
|
81
|
-
*
|
82
|
-
* ```jsx
|
83
|
-
* function App() {
|
84
|
-
* const [inProp, setInProp] = useState(false);
|
85
|
-
* return (
|
86
|
-
* <div>
|
87
|
-
* <Transition in={inProp} timeout={500}>
|
88
|
-
* {state => (
|
89
|
-
* // ...
|
90
|
-
* )}
|
91
|
-
* </Transition>
|
92
|
-
* <button onClick={() => setInProp(true)}>
|
93
|
-
* Click to Enter
|
94
|
-
* </button>
|
95
|
-
* </div>
|
96
|
-
* );
|
97
|
-
* }
|
98
|
-
* ```
|
99
|
-
*
|
100
|
-
* When the button is clicked the component will shift to the `'entering'` state
|
101
|
-
* and stay there for 500ms (the value of `timeout`) before it finally switches
|
102
|
-
* to `'entered'`.
|
103
|
-
*
|
104
|
-
* When `in` is `false` the same thing happens except the state moves from
|
105
|
-
* `'exiting'` to `'exited'`.
|
106
|
-
*/
|
107
|
-
|
108
|
-
var Transition = /*#__PURE__*/function (_React$Component) {
|
109
|
-
_inheritsLoose(Transition, _React$Component);
|
110
|
-
|
111
|
-
function Transition(props, context) {
|
112
|
-
var _this;
|
113
|
-
|
114
|
-
_this = _React$Component.call(this, props, context) || this;
|
115
|
-
var parentGroup = context; // In the context of a TransitionGroup all enters are really appears
|
116
|
-
|
117
|
-
var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
|
118
|
-
var initialStatus;
|
119
|
-
_this.appearStatus = null;
|
120
|
-
|
121
|
-
if (props.in) {
|
122
|
-
if (appear) {
|
123
|
-
initialStatus = EXITED;
|
124
|
-
_this.appearStatus = ENTERING;
|
125
|
-
} else {
|
126
|
-
initialStatus = ENTERED;
|
127
|
-
}
|
128
|
-
} else {
|
129
|
-
if (props.unmountOnExit || props.mountOnEnter) {
|
130
|
-
initialStatus = UNMOUNTED;
|
131
|
-
} else {
|
132
|
-
initialStatus = EXITED;
|
133
|
-
}
|
134
|
-
}
|
135
|
-
|
136
|
-
_this.state = {
|
137
|
-
status: initialStatus
|
138
|
-
};
|
139
|
-
_this.nextCallback = null;
|
140
|
-
return _this;
|
141
|
-
}
|
142
|
-
|
143
|
-
Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
|
144
|
-
var nextIn = _ref.in;
|
145
|
-
|
146
|
-
if (nextIn && prevState.status === UNMOUNTED) {
|
147
|
-
return {
|
148
|
-
status: EXITED
|
149
|
-
};
|
150
|
-
}
|
151
|
-
|
152
|
-
return null;
|
153
|
-
} // getSnapshotBeforeUpdate(prevProps) {
|
154
|
-
// let nextStatus = null
|
155
|
-
// if (prevProps !== this.props) {
|
156
|
-
// const { status } = this.state
|
157
|
-
// if (this.props.in) {
|
158
|
-
// if (status !== ENTERING && status !== ENTERED) {
|
159
|
-
// nextStatus = ENTERING
|
160
|
-
// }
|
161
|
-
// } else {
|
162
|
-
// if (status === ENTERING || status === ENTERED) {
|
163
|
-
// nextStatus = EXITING
|
164
|
-
// }
|
165
|
-
// }
|
166
|
-
// }
|
167
|
-
// return { nextStatus }
|
168
|
-
// }
|
169
|
-
;
|
170
|
-
|
171
|
-
var _proto = Transition.prototype;
|
172
|
-
|
173
|
-
_proto.componentDidMount = function componentDidMount() {
|
174
|
-
this.updateStatus(true, this.appearStatus);
|
175
|
-
};
|
176
|
-
|
177
|
-
_proto.componentDidUpdate = function componentDidUpdate(prevProps) {
|
178
|
-
var nextStatus = null;
|
179
|
-
|
180
|
-
if (prevProps !== this.props) {
|
181
|
-
var status = this.state.status;
|
182
|
-
|
183
|
-
if (this.props.in) {
|
184
|
-
if (status !== ENTERING && status !== ENTERED) {
|
185
|
-
nextStatus = ENTERING;
|
186
|
-
}
|
187
|
-
} else {
|
188
|
-
if (status === ENTERING || status === ENTERED) {
|
189
|
-
nextStatus = EXITING;
|
190
|
-
}
|
191
|
-
}
|
192
|
-
}
|
193
|
-
|
194
|
-
this.updateStatus(false, nextStatus);
|
195
|
-
};
|
196
|
-
|
197
|
-
_proto.componentWillUnmount = function componentWillUnmount() {
|
198
|
-
this.cancelNextCallback();
|
199
|
-
};
|
200
|
-
|
201
|
-
_proto.getTimeouts = function getTimeouts() {
|
202
|
-
var timeout = this.props.timeout;
|
203
|
-
var exit, enter, appear;
|
204
|
-
exit = enter = appear = timeout;
|
205
|
-
|
206
|
-
if (timeout != null && typeof timeout !== 'number') {
|
207
|
-
exit = timeout.exit;
|
208
|
-
enter = timeout.enter; // TODO: remove fallback for next major
|
209
|
-
|
210
|
-
appear = timeout.appear !== undefined ? timeout.appear : enter;
|
211
|
-
}
|
212
|
-
|
213
|
-
return {
|
214
|
-
exit: exit,
|
215
|
-
enter: enter,
|
216
|
-
appear: appear
|
217
|
-
};
|
218
|
-
};
|
219
|
-
|
220
|
-
_proto.updateStatus = function updateStatus(mounting, nextStatus) {
|
221
|
-
if (mounting === void 0) {
|
222
|
-
mounting = false;
|
223
|
-
}
|
224
|
-
|
225
|
-
if (nextStatus !== null) {
|
226
|
-
// nextStatus will always be ENTERING or EXITING.
|
227
|
-
this.cancelNextCallback();
|
228
|
-
|
229
|
-
if (nextStatus === ENTERING) {
|
230
|
-
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
231
|
-
var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM__default__default.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749
|
232
|
-
// With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.
|
233
|
-
// To make the animation happen, we have to separate each rendering and avoid being processed as batched.
|
234
|
-
|
235
|
-
if (node) forceReflow(node);
|
236
|
-
}
|
237
|
-
|
238
|
-
this.performEnter(mounting);
|
239
|
-
} else {
|
240
|
-
this.performExit();
|
241
|
-
}
|
242
|
-
} else if (this.props.unmountOnExit && this.state.status === EXITED) {
|
243
|
-
this.setState({
|
244
|
-
status: UNMOUNTED
|
245
|
-
});
|
246
|
-
}
|
247
|
-
};
|
248
|
-
|
249
|
-
_proto.performEnter = function performEnter(mounting) {
|
250
|
-
var _this2 = this;
|
251
|
-
|
252
|
-
var enter = this.props.enter;
|
253
|
-
var appearing = this.context ? this.context.isMounting : mounting;
|
254
|
-
|
255
|
-
var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM__default__default.findDOMNode(this), appearing],
|
256
|
-
maybeNode = _ref2[0],
|
257
|
-
maybeAppearing = _ref2[1];
|
258
|
-
|
259
|
-
var timeouts = this.getTimeouts();
|
260
|
-
var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED
|
261
|
-
// if we are mounting and running this it means appear _must_ be set
|
262
|
-
|
263
|
-
if (!mounting && !enter || config.disabled) {
|
264
|
-
this.safeSetState({
|
265
|
-
status: ENTERED
|
266
|
-
}, function () {
|
267
|
-
_this2.props.onEntered(maybeNode);
|
268
|
-
});
|
269
|
-
return;
|
270
|
-
}
|
271
|
-
|
272
|
-
this.props.onEnter(maybeNode, maybeAppearing);
|
273
|
-
this.safeSetState({
|
274
|
-
status: ENTERING
|
275
|
-
}, function () {
|
276
|
-
_this2.props.onEntering(maybeNode, maybeAppearing);
|
277
|
-
|
278
|
-
_this2.onTransitionEnd(enterTimeout, function () {
|
279
|
-
_this2.safeSetState({
|
280
|
-
status: ENTERED
|
281
|
-
}, function () {
|
282
|
-
_this2.props.onEntered(maybeNode, maybeAppearing);
|
283
|
-
});
|
284
|
-
});
|
285
|
-
});
|
286
|
-
};
|
287
|
-
|
288
|
-
_proto.performExit = function performExit() {
|
289
|
-
var _this3 = this;
|
290
|
-
|
291
|
-
var exit = this.props.exit;
|
292
|
-
var timeouts = this.getTimeouts();
|
293
|
-
var maybeNode = this.props.nodeRef ? undefined : ReactDOM__default__default.findDOMNode(this); // no exit animation skip right to EXITED
|
294
|
-
|
295
|
-
if (!exit || config.disabled) {
|
296
|
-
this.safeSetState({
|
297
|
-
status: EXITED
|
298
|
-
}, function () {
|
299
|
-
_this3.props.onExited(maybeNode);
|
300
|
-
});
|
301
|
-
return;
|
302
|
-
}
|
303
|
-
|
304
|
-
this.props.onExit(maybeNode);
|
305
|
-
this.safeSetState({
|
306
|
-
status: EXITING
|
307
|
-
}, function () {
|
308
|
-
_this3.props.onExiting(maybeNode);
|
309
|
-
|
310
|
-
_this3.onTransitionEnd(timeouts.exit, function () {
|
311
|
-
_this3.safeSetState({
|
312
|
-
status: EXITED
|
313
|
-
}, function () {
|
314
|
-
_this3.props.onExited(maybeNode);
|
315
|
-
});
|
316
|
-
});
|
317
|
-
});
|
318
|
-
};
|
319
|
-
|
320
|
-
_proto.cancelNextCallback = function cancelNextCallback() {
|
321
|
-
if (this.nextCallback !== null) {
|
322
|
-
this.nextCallback.cancel();
|
323
|
-
this.nextCallback = null;
|
324
|
-
}
|
325
|
-
};
|
326
|
-
|
327
|
-
_proto.safeSetState = function safeSetState(nextState, callback) {
|
328
|
-
// This shouldn't be necessary, but there are weird race conditions with
|
329
|
-
// setState callbacks and unmounting in testing, so always make sure that
|
330
|
-
// we can cancel any pending setState callbacks after we unmount.
|
331
|
-
callback = this.setNextCallback(callback);
|
332
|
-
this.setState(nextState, callback);
|
333
|
-
};
|
334
|
-
|
335
|
-
_proto.setNextCallback = function setNextCallback(callback) {
|
336
|
-
var _this4 = this;
|
337
|
-
|
338
|
-
var active = true;
|
339
|
-
|
340
|
-
this.nextCallback = function (event) {
|
341
|
-
if (active) {
|
342
|
-
active = false;
|
343
|
-
_this4.nextCallback = null;
|
344
|
-
callback(event);
|
345
|
-
}
|
346
|
-
};
|
347
|
-
|
348
|
-
this.nextCallback.cancel = function () {
|
349
|
-
active = false;
|
350
|
-
};
|
351
|
-
|
352
|
-
return this.nextCallback;
|
353
|
-
};
|
354
|
-
|
355
|
-
_proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {
|
356
|
-
this.setNextCallback(handler);
|
357
|
-
var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM__default__default.findDOMNode(this);
|
358
|
-
var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;
|
359
|
-
|
360
|
-
if (!node || doesNotHaveTimeoutOrListener) {
|
361
|
-
setTimeout(this.nextCallback, 0);
|
362
|
-
return;
|
363
|
-
}
|
364
|
-
|
365
|
-
if (this.props.addEndListener) {
|
366
|
-
var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],
|
367
|
-
maybeNode = _ref3[0],
|
368
|
-
maybeNextCallback = _ref3[1];
|
369
|
-
|
370
|
-
this.props.addEndListener(maybeNode, maybeNextCallback);
|
371
|
-
}
|
372
|
-
|
373
|
-
if (timeout != null) {
|
374
|
-
setTimeout(this.nextCallback, timeout);
|
375
|
-
}
|
376
|
-
};
|
377
|
-
|
378
|
-
_proto.render = function render() {
|
379
|
-
var status = this.state.status;
|
380
|
-
|
381
|
-
if (status === UNMOUNTED) {
|
382
|
-
return null;
|
383
|
-
}
|
384
|
-
|
385
|
-
var _this$props = this.props,
|
386
|
-
children = _this$props.children;
|
387
|
-
_this$props.in;
|
388
|
-
_this$props.mountOnEnter;
|
389
|
-
_this$props.unmountOnExit;
|
390
|
-
_this$props.appear;
|
391
|
-
_this$props.enter;
|
392
|
-
_this$props.exit;
|
393
|
-
_this$props.timeout;
|
394
|
-
_this$props.addEndListener;
|
395
|
-
_this$props.onEnter;
|
396
|
-
_this$props.onEntering;
|
397
|
-
_this$props.onEntered;
|
398
|
-
_this$props.onExit;
|
399
|
-
_this$props.onExiting;
|
400
|
-
_this$props.onExited;
|
401
|
-
_this$props.nodeRef;
|
402
|
-
var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
403
|
-
|
404
|
-
return (
|
405
|
-
/*#__PURE__*/
|
406
|
-
// allows for nested Transitions
|
407
|
-
React__default.createElement(TransitionGroupContext.Provider, {
|
408
|
-
value: null
|
409
|
-
}, typeof children === 'function' ? children(status, childProps) : React__default.cloneElement(React__default.Children.only(children), childProps))
|
410
|
-
);
|
411
|
-
};
|
412
|
-
|
413
|
-
return Transition;
|
414
|
-
}(React__default.Component);
|
415
|
-
|
416
|
-
Transition.contextType = TransitionGroupContext;
|
417
|
-
Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
418
|
-
/**
|
419
|
-
* A React reference to DOM element that need to transition:
|
420
|
-
* https://stackoverflow.com/a/51127130/4671932
|
421
|
-
*
|
422
|
-
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
423
|
-
* (e.g. `onEnter`) because user already has direct access to the node.
|
424
|
-
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
425
|
-
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
426
|
-
* (see
|
427
|
-
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
428
|
-
*/
|
429
|
-
nodeRef: PropTypes.shape({
|
430
|
-
current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {
|
431
|
-
var value = propValue[key];
|
432
|
-
return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
|
433
|
-
}
|
434
|
-
}),
|
435
|
-
|
436
|
-
/**
|
437
|
-
* A `function` child can be used instead of a React element. This function is
|
438
|
-
* called with the current transition status (`'entering'`, `'entered'`,
|
439
|
-
* `'exiting'`, `'exited'`), which can be used to apply context
|
440
|
-
* specific props to a component.
|
441
|
-
*
|
442
|
-
* ```jsx
|
443
|
-
* <Transition in={this.state.in} timeout={150}>
|
444
|
-
* {state => (
|
445
|
-
* <MyComponent className={`fade fade-${state}`} />
|
446
|
-
* )}
|
447
|
-
* </Transition>
|
448
|
-
* ```
|
449
|
-
*/
|
450
|
-
children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,
|
451
|
-
|
452
|
-
/**
|
453
|
-
* Show the component; triggers the enter or exit states
|
454
|
-
*/
|
455
|
-
in: PropTypes.bool,
|
456
|
-
|
457
|
-
/**
|
458
|
-
* By default the child component is mounted immediately along with
|
459
|
-
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
460
|
-
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
461
|
-
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
462
|
-
*/
|
463
|
-
mountOnEnter: PropTypes.bool,
|
464
|
-
|
465
|
-
/**
|
466
|
-
* By default the child component stays mounted after it reaches the `'exited'` state.
|
467
|
-
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
468
|
-
*/
|
469
|
-
unmountOnExit: PropTypes.bool,
|
470
|
-
|
471
|
-
/**
|
472
|
-
* By default the child component does not perform the enter transition when
|
473
|
-
* it first mounts, regardless of the value of `in`. If you want this
|
474
|
-
* behavior, set both `appear` and `in` to `true`.
|
475
|
-
*
|
476
|
-
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
477
|
-
* > only adds an additional enter transition. However, in the
|
478
|
-
* > `<CSSTransition>` component that first enter transition does result in
|
479
|
-
* > additional `.appear-*` classes, that way you can choose to style it
|
480
|
-
* > differently.
|
481
|
-
*/
|
482
|
-
appear: PropTypes.bool,
|
483
|
-
|
484
|
-
/**
|
485
|
-
* Enable or disable enter transitions.
|
486
|
-
*/
|
487
|
-
enter: PropTypes.bool,
|
488
|
-
|
489
|
-
/**
|
490
|
-
* Enable or disable exit transitions.
|
491
|
-
*/
|
492
|
-
exit: PropTypes.bool,
|
493
|
-
|
494
|
-
/**
|
495
|
-
* The duration of the transition, in milliseconds.
|
496
|
-
* Required unless `addEndListener` is provided.
|
497
|
-
*
|
498
|
-
* You may specify a single timeout for all transitions:
|
499
|
-
*
|
500
|
-
* ```jsx
|
501
|
-
* timeout={500}
|
502
|
-
* ```
|
503
|
-
*
|
504
|
-
* or individually:
|
505
|
-
*
|
506
|
-
* ```jsx
|
507
|
-
* timeout={{
|
508
|
-
* appear: 500,
|
509
|
-
* enter: 300,
|
510
|
-
* exit: 500,
|
511
|
-
* }}
|
512
|
-
* ```
|
513
|
-
*
|
514
|
-
* - `appear` defaults to the value of `enter`
|
515
|
-
* - `enter` defaults to `0`
|
516
|
-
* - `exit` defaults to `0`
|
517
|
-
*
|
518
|
-
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
519
|
-
*/
|
520
|
-
timeout: function timeout(props) {
|
521
|
-
var pt = timeoutsShape;
|
522
|
-
if (!props.addEndListener) pt = pt.isRequired;
|
523
|
-
|
524
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
525
|
-
args[_key - 1] = arguments[_key];
|
526
|
-
}
|
527
|
-
|
528
|
-
return pt.apply(void 0, [props].concat(args));
|
529
|
-
},
|
530
|
-
|
531
|
-
/**
|
532
|
-
* Add a custom transition end trigger. Called with the transitioning
|
533
|
-
* DOM node and a `done` callback. Allows for more fine grained transition end
|
534
|
-
* logic. Timeouts are still used as a fallback if provided.
|
535
|
-
*
|
536
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
537
|
-
*
|
538
|
-
* ```jsx
|
539
|
-
* addEndListener={(node, done) => {
|
540
|
-
* // use the css transitionend event to mark the finish of a transition
|
541
|
-
* node.addEventListener('transitionend', done, false);
|
542
|
-
* }}
|
543
|
-
* ```
|
544
|
-
*/
|
545
|
-
addEndListener: PropTypes.func,
|
546
|
-
|
547
|
-
/**
|
548
|
-
* Callback fired before the "entering" status is applied. An extra parameter
|
549
|
-
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
550
|
-
*
|
551
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
552
|
-
*
|
553
|
-
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
554
|
-
*/
|
555
|
-
onEnter: PropTypes.func,
|
556
|
-
|
557
|
-
/**
|
558
|
-
* Callback fired after the "entering" status is applied. An extra parameter
|
559
|
-
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
560
|
-
*
|
561
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
562
|
-
*
|
563
|
-
* @type Function(node: HtmlElement, isAppearing: bool)
|
564
|
-
*/
|
565
|
-
onEntering: PropTypes.func,
|
566
|
-
|
567
|
-
/**
|
568
|
-
* Callback fired after the "entered" status is applied. An extra parameter
|
569
|
-
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
570
|
-
*
|
571
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
572
|
-
*
|
573
|
-
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
574
|
-
*/
|
575
|
-
onEntered: PropTypes.func,
|
576
|
-
|
577
|
-
/**
|
578
|
-
* Callback fired before the "exiting" status is applied.
|
579
|
-
*
|
580
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
581
|
-
*
|
582
|
-
* @type Function(node: HtmlElement) -> void
|
583
|
-
*/
|
584
|
-
onExit: PropTypes.func,
|
585
|
-
|
586
|
-
/**
|
587
|
-
* Callback fired after the "exiting" status is applied.
|
588
|
-
*
|
589
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
590
|
-
*
|
591
|
-
* @type Function(node: HtmlElement) -> void
|
592
|
-
*/
|
593
|
-
onExiting: PropTypes.func,
|
594
|
-
|
595
|
-
/**
|
596
|
-
* Callback fired after the "exited" status is applied.
|
597
|
-
*
|
598
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
599
|
-
*
|
600
|
-
* @type Function(node: HtmlElement) -> void
|
601
|
-
*/
|
602
|
-
onExited: PropTypes.func
|
603
|
-
} : {}; // Name the function so it is clearer in the documentation
|
604
|
-
|
605
|
-
function noop() {}
|
606
|
-
|
607
|
-
Transition.defaultProps = {
|
608
|
-
in: false,
|
609
|
-
mountOnEnter: false,
|
610
|
-
unmountOnExit: false,
|
611
|
-
appear: false,
|
612
|
-
enter: true,
|
613
|
-
exit: true,
|
614
|
-
onEnter: noop,
|
615
|
-
onEntering: noop,
|
616
|
-
onEntered: noop,
|
617
|
-
onExit: noop,
|
618
|
-
onExiting: noop,
|
619
|
-
onExited: noop
|
620
|
-
};
|
621
|
-
Transition.UNMOUNTED = UNMOUNTED;
|
622
|
-
Transition.EXITED = EXITED;
|
623
|
-
Transition.ENTERING = ENTERING;
|
624
|
-
Transition.ENTERED = ENTERED;
|
625
|
-
Transition.EXITING = EXITING;
|
626
|
-
|
627
|
-
export { ENTERED, ENTERING, EXITED, EXITING, UNMOUNTED, Transition as default };
|
628
|
-
//# sourceMappingURL=Transition.js.map
|