@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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/plugins/emoji/index.tsx"],"sourcesContent":["import { MenuTextMatch } from '@lexical/react/LexicalTypeaheadMenuPlugin';\nimport { $createEmojiNode, EmojiNode } from '@src/nodes';\nimport { useEffect, useState } from 'react';\nimport { useNodeFocusListener } from '@src/utils/use-node-focus';\nimport {\n EditorLookupDropdownBase,\n EditorLookupDropdownBaseProps,\n TypeaheadMenuData\n} from '../../components';\n\ntype Emoji = {\n emoji: string;\n description: string;\n category: string;\n aliases: string[];\n tags: string[];\n unicode_version: string;\n ios_version: string;\n skin_tones?: boolean;\n};\n\nconst PUNCTUATION = '\\\\.,\\\\+\\\\*\\\\?\\\\$\\\\@\\\\|#{}\\\\(\\\\)\\\\^\\\\-\\\\[\\\\]\\\\\\\\/!%\\'\"~=<>:;';\n\nconst TRIGGERS = [':'].join('');\n\nconst VALID_CHARS = `[^${TRIGGERS}${PUNCTUATION}\\\\s]`;\n\nconst LENGTH_LIMIT = 75;\n\n// eslint-disable-next-line no-useless-concat\nconst emojiRegex = new RegExp(\n '(^|\\\\s|\\\\()('\n + `[${TRIGGERS}]`\n + `((?:${VALID_CHARS}){0,${LENGTH_LIMIT}})`\n + ')$'\n);\n\nfunction checkForHashTags(\n text: string,\n minMatchLength: number\n): MenuTextMatch | null {\n const match = emojiRegex.exec(text);\n\n if (match !== null) {\n const maybeLeadingWhitespace = match[1];\n\n const matchingString = match[3];\n if (matchingString.length >= minMatchLength) {\n return {\n leadOffset: match.index + maybeLeadingWhitespace.length,\n matchingString,\n replaceableString: match[2]\n };\n }\n }\n return null;\n}\n\nfunction getPossibleQueryMatch(text: string, len = 0): MenuTextMatch | null {\n return checkForHashTags(text, len);\n}\n\nconst snakeCaseToTitleCase = (str: string) => {\n return str\n .split('_')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n};\n\nexport const EmojiPlugin = ({\n getResults,\n triggerStringLength,\n suggestionsListLength = 10,\n ...props\n}: Partial<EditorLookupDropdownBaseProps> & {\n getResults?: (\n text: string | null,\n defaultEmojis?: Emoji[]\n ) => TypeaheadMenuData[] | Promise<TypeaheadMenuData[]>;\n triggerStringLength?: number;\n}) => {\n const [emojis, setEmojis] = useState<Emoji[]>([]);\n\n useEffect(() => {\n import('./emoji-list').then((file) => setEmojis(file.default));\n }, []);\n\n useNodeFocusListener(EmojiNode);\n\n return (\n <EditorLookupDropdownBase\n $createNode={({ data }) => $createEmojiNode('emoji', data.value)}\n getResults={(text) => {\n if (getResults) {\n return getResults(text, emojis);\n }\n if (text === null) return [];\n\n if (!text) {\n return emojis.slice(0, suggestionsListLength).map((item) => ({\n label: `${item.emoji} ${snakeCaseToTitleCase(item.aliases[0])}`,\n value: item.emoji\n }));\n }\n const results = emojis\n .filter((emoji) => {\n return emoji.aliases.join(' ').includes(text);\n })\n .sort((a, b) => {\n return a.aliases.join(' ').length - b.aliases.join(' ').length;\n });\n\n return results.map((item) => ({\n label: `${item.emoji} ${snakeCaseToTitleCase(item.aliases[0])}`,\n value: item.emoji\n }));\n }}\n triggerFunction={(text) => getPossibleQueryMatch(text, triggerStringLength)}\n suggestionsListLength={suggestionsListLength}\n {...props}\n />\n );\n};\n"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/plugins/emoji/index.tsx"],"sourcesContent":["import { MenuTextMatch } from '@lexical/react/LexicalTypeaheadMenuPlugin';\nimport { $createEmojiNode, EmojiNode } from '@src/nodes';\nimport { useEffect, useState } from 'react';\nimport { useNodeFocusListener } from '@src/utils/use-node-focus';\nimport {\n EditorLookupDropdownBase,\n EditorLookupDropdownBaseProps,\n TypeaheadMenuData\n} from '../../components';\n\ntype Emoji = {\n emoji: string;\n description: string;\n category: string;\n aliases: string[];\n tags: string[];\n unicode_version: string;\n ios_version: string;\n skin_tones?: boolean;\n};\n\nconst PUNCTUATION = '\\\\.,\\\\+\\\\*\\\\?\\\\$\\\\@\\\\|#{}\\\\(\\\\)\\\\^\\\\-\\\\[\\\\]\\\\\\\\/!%\\'\"~=<>:;';\n\nconst TRIGGERS = [':'].join('');\n\nconst VALID_CHARS = `[^${TRIGGERS}${PUNCTUATION}\\\\s]`;\n\nconst LENGTH_LIMIT = 75;\n\n// eslint-disable-next-line no-useless-concat\nconst emojiRegex = new RegExp(\n '(^|\\\\s|\\\\()('\n + `[${TRIGGERS}]`\n + `((?:${VALID_CHARS}){0,${LENGTH_LIMIT}})`\n + ')$'\n);\n\nfunction checkForHashTags(\n text: string,\n minMatchLength: number\n): MenuTextMatch | null {\n const match = emojiRegex.exec(text);\n\n if (match !== null) {\n const maybeLeadingWhitespace = match[1];\n\n const matchingString = match[3];\n if (matchingString.length >= minMatchLength) {\n return {\n leadOffset: match.index + maybeLeadingWhitespace.length,\n matchingString,\n replaceableString: match[2]\n };\n }\n }\n return null;\n}\n\nfunction getPossibleQueryMatch(text: string, len = 0): MenuTextMatch | null {\n return checkForHashTags(text, len);\n}\n\nconst snakeCaseToTitleCase = (str: string) => {\n return str\n .split('_')\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n};\n\nexport const EmojiPlugin = ({\n getResults,\n triggerStringLength,\n suggestionsListLength = 10,\n ...props\n}: Partial<EditorLookupDropdownBaseProps> & {\n getResults?: (\n text: string | null,\n defaultEmojis?: Emoji[]\n ) => TypeaheadMenuData[] | Promise<TypeaheadMenuData[]>;\n triggerStringLength?: number;\n}) => {\n const [emojis, setEmojis] = useState<Emoji[]>([]);\n\n useEffect(() => {\n import('./emoji-list').then((file) => setEmojis(file.default));\n }, []);\n\n useNodeFocusListener(EmojiNode);\n\n return (\n <EditorLookupDropdownBase\n $createNode={({ data }) => $createEmojiNode('emoji', data.value)}\n getResults={(text) => {\n if (getResults) {\n return getResults(text, emojis);\n }\n if (text === null) return [];\n\n if (!text) {\n return emojis.slice(0, suggestionsListLength).map((item) => ({\n label: `${item.emoji} ${snakeCaseToTitleCase(item.aliases[0])}`,\n value: item.emoji\n }));\n }\n const results = emojis\n .filter((emoji) => {\n return emoji.aliases.join(' ').includes(text);\n })\n .sort((a, b) => {\n return a.aliases.join(' ').length - b.aliases.join(' ').length;\n });\n\n return results.map((item) => ({\n label: `${item.emoji} ${snakeCaseToTitleCase(item.aliases[0])}`,\n value: item.emoji\n }));\n }}\n triggerFunction={(text) => getPossibleQueryMatch(text, triggerStringLength)}\n suggestionsListLength={suggestionsListLength}\n {...props}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,WAAc,GAAA,CAAA,0DAAA,CAAA;AAEpB,MAAM,QAAW,GAAA,CAAC,GAAG,CAAA,CAAE,KAAK,EAAE,CAAA;AAE9B,MAAM,WAAc,GAAA,CAAA,EAAA,EAAK,QAAQ,CAAA,EAAG,WAAW,CAAA,IAAA,CAAA;AAE/C,MAAM,YAAe,GAAA,EAAA;AAGrB,MAAM,aAAa,IAAI,MAAA;AAAA,EACrB,CACQ,aAAA,EAAA,QAAQ,CACL,KAAA,EAAA,WAAW,OAAO,YAAY,CAAA,IAAA;AAE3C,CAAA;AAEA,SAAS,gBAAA,CACP,MACA,cACsB,EAAA;AACtB,EAAM,MAAA,KAAA,GAAQ,UAAW,CAAA,IAAA,CAAK,IAAI,CAAA;AAElC,EAAA,IAAI,UAAU,IAAM,EAAA;AAClB,IAAM,MAAA,sBAAA,GAAyB,MAAM,CAAC,CAAA;AAEtC,IAAM,MAAA,cAAA,GAAiB,MAAM,CAAC,CAAA;AAC9B,IAAI,IAAA,cAAA,CAAe,UAAU,cAAgB,EAAA;AAC3C,MAAO,OAAA;AAAA,QACL,UAAA,EAAY,KAAM,CAAA,KAAA,GAAQ,sBAAuB,CAAA,MAAA;AAAA,QACjD,cAAA;AAAA,QACA,iBAAA,EAAmB,MAAM,CAAC;AAAA,OAC5B;AAAA;AACF;AAEF,EAAO,OAAA,IAAA;AACT;AAEA,SAAS,qBAAA,CAAsB,IAAc,EAAA,GAAA,GAAM,CAAyB,EAAA;AAC1E,EAAO,OAAA,gBAAA,CAAiB,MAAM,GAAG,CAAA;AACnC;AAEA,MAAM,oBAAA,GAAuB,CAAC,GAAgB,KAAA;AAC5C,EAAA,OAAO,IACJ,KAAM,CAAA,GAAG,EACT,GAAI,CAAA,CAAC,SAAS,IAAK,CAAA,MAAA,CAAO,CAAC,CAAE,CAAA,WAAA,KAAgB,IAAK,CAAA,KAAA,CAAM,CAAC,CAAC,CAAA,CAC1D,KAAK,GAAG,CAAA;AACb,CAAA;AAEa,MAAA,WAAA,GAAc,CAAC,EAWtB,KAAA;AAXsB,EAC1B,IAAA,EAAA,GAAA,EAAA,EAAA;AAAA,IAAA,UAAA;AAAA,IACA,mBAAA;AAAA,IACA,qBAAwB,GAAA;AAAA,GAxE1B,GAqE4B,EAIvB,EAAA,KAAA,GAAA,SAAA,CAJuB,EAIvB,EAAA;AAAA,IAHH,YAAA;AAAA,IACA,qBAAA;AAAA,IACA;AAAA,GAAA,CAAA;AASA,EAAA,MAAM,CAAC,MAAQ,EAAA,SAAS,CAAI,GAAA,QAAA,CAAkB,EAAE,CAAA;AAEhD,EAAA,SAAA,CAAU,MAAM;AACd,IAAO,OAAA,iBAAc,EAAE,IAAK,CAAA,CAAC,SAAS,SAAU,CAAA,IAAA,CAAK,OAAO,CAAC,CAAA;AAAA,GAC/D,EAAG,EAAE,CAAA;AAEL,EAAA,oBAAA,CAAqB,SAAS,CAAA;AAE9B,EACE,uBAAA,GAAA;AAAA,IAAC,wBAAA;AAAA,IAAA,cAAA,CAAA;AAAA,MACC,WAAA,EAAa,CAAC,EAAE,IAAA,OAAW,gBAAiB,CAAA,OAAA,EAAS,KAAK,KAAK,CAAA;AAAA,MAC/D,UAAA,EAAY,CAAC,IAAS,KAAA;AACpB,QAAA,IAAI,UAAY,EAAA;AACd,UAAO,OAAA,UAAA,CAAW,MAAM,MAAM,CAAA;AAAA;AAEhC,QAAI,IAAA,IAAA,KAAS,IAAM,EAAA,OAAO,EAAC;AAE3B,QAAA,IAAI,CAAC,IAAM,EAAA;AACT,UAAA,OAAO,OAAO,KAAM,CAAA,CAAA,EAAG,qBAAqB,CAAE,CAAA,GAAA,CAAI,CAAC,IAAU,MAAA;AAAA,YAC3D,KAAA,EAAO,CAAG,EAAA,IAAA,CAAK,KAAK,CAAA,EAAA,EAAK,qBAAqB,IAAK,CAAA,OAAA,CAAQ,CAAC,CAAC,CAAC,CAAA,CAAA;AAAA,YAC9D,OAAO,IAAK,CAAA;AAAA,WACZ,CAAA,CAAA;AAAA;AAEJ,QAAA,MAAM,OAAU,GAAA,MAAA,CACb,MAAO,CAAA,CAAC,KAAU,KAAA;AACjB,UAAA,OAAO,MAAM,OAAQ,CAAA,IAAA,CAAK,GAAG,CAAA,CAAE,SAAS,IAAI,CAAA;AAAA,SAC7C,CAAA,CACA,IAAK,CAAA,CAAC,GAAG,CAAM,KAAA;AACd,UAAO,OAAA,CAAA,CAAE,OAAQ,CAAA,IAAA,CAAK,GAAG,CAAA,CAAE,SAAS,CAAE,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,CAAE,CAAA,MAAA;AAAA,SACzD,CAAA;AAEH,QAAO,OAAA,OAAA,CAAQ,GAAI,CAAA,CAAC,IAAU,MAAA;AAAA,UAC5B,KAAA,EAAO,CAAG,EAAA,IAAA,CAAK,KAAK,CAAA,EAAA,EAAK,qBAAqB,IAAK,CAAA,OAAA,CAAQ,CAAC,CAAC,CAAC,CAAA,CAAA;AAAA,UAC9D,OAAO,IAAK,CAAA;AAAA,SACZ,CAAA,CAAA;AAAA,OACJ;AAAA,MACA,eAAiB,EAAA,CAAC,IAAS,KAAA,qBAAA,CAAsB,MAAM,mBAAmB,CAAA;AAAA,MAC1E;AAAA,KACI,EAAA,KAAA;AAAA,GACN;AAEJ;;;;"}
|
@@ -3,10 +3,12 @@ import { useNodeFocusListener } from '../../utils/use-node-focus.js';
|
|
3
3
|
import { EditorLookupDropdownBase } from '../../components/base-dropdown/index.js';
|
4
4
|
import '@lexical/react/LexicalComposerContext';
|
5
5
|
import '@lexical/utils';
|
6
|
+
import '@sparrowengg/twigs-react';
|
6
7
|
import 'lexical';
|
7
8
|
import 'react';
|
8
9
|
import 'react-dom';
|
9
10
|
import '@lexical/selection';
|
11
|
+
import '@sparrowengg/twigs-react-icons';
|
10
12
|
import '../../components/toolbar-context/store.js';
|
11
13
|
import '@lexical/code';
|
12
14
|
import '@lexical/link';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/plugins/hashtag/index.tsx"],"sourcesContent":["import { MenuTextMatch } from '@lexical/react/LexicalTypeaheadMenuPlugin';\nimport { useNodeFocusListener } from '@src/utils/use-node-focus';\nimport {\n EditorLookupDropdownBase,\n EditorLookupDropdownBaseProps,\n TypeaheadMenuData\n} from '../../components';\nimport { $createHashTagNode, HashTagNode } from '../../nodes/hashtag';\n\nconst PUNCTUATION = '\\\\.,\\\\+\\\\*\\\\?\\\\$\\\\@\\\\|#{}\\\\(\\\\)\\\\^\\\\-\\\\[\\\\]\\\\\\\\/!%\\'\"~=<>_:;';\nconst NAME = `\\\\b[A-Z][^\\\\s${PUNCTUATION}]`;\n\nconst DocumentHashTagRegex = {\n NAME,\n PUNCTUATION\n};\n\nconst PUNC = DocumentHashTagRegex.PUNCTUATION;\n\nconst TRIGGERS = ['#'].join('');\n\n// Chars we expect to see in a mention (non-space, non-punctuation).\nconst VALID_CHARS = `[^${TRIGGERS}${PUNC}\\\\s]`;\n\nconst LENGTH_LIMIT = 75;\n\n// eslint-disable-next-line no-useless-concat\nconst HashTagRegex = new RegExp(\n '(^|\\\\s|\\\\()('\n + `[${TRIGGERS}]`\n + `((?:${VALID_CHARS}){0,${LENGTH_LIMIT}})`\n + ')$'\n);\n\nfunction checkForHashTags(\n text: string,\n minMatchLength: number\n): MenuTextMatch | null {\n const match = HashTagRegex.exec(text);\n\n if (match !== null) {\n // The strategy ignores leading whitespace but we need to know it's\n // length to add it to the leadOffset\n const maybeLeadingWhitespace = match[1];\n\n const matchingString = match[3];\n if (matchingString.length >= minMatchLength) {\n return {\n leadOffset: match.index + maybeLeadingWhitespace.length,\n matchingString,\n replaceableString: match[2]\n };\n }\n }\n return null;\n}\n\nfunction getPossibleQueryMatch(\n text: string,\n len: number = 1\n): MenuTextMatch | null {\n return checkForHashTags(text, len);\n}\n\nexport const HashTagPlugin = ({\n getResults,\n triggerStringLength,\n ...props\n}: Partial<EditorLookupDropdownBaseProps> & {\n getResults: (\n text: string | null\n ) => TypeaheadMenuData[] | Promise<TypeaheadMenuData[]>;\n triggerStringLength?: number;\n}) => {\n useNodeFocusListener(HashTagNode);\n\n return (\n <EditorLookupDropdownBase\n $createNode={({ data }) => $createHashTagNode(`#${data.value}`)}\n getResults={getResults}\n triggerFunction={(text) => getPossibleQueryMatch(text, triggerStringLength)}\n {...props}\n />\n );\n};\n"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/plugins/hashtag/index.tsx"],"sourcesContent":["import { MenuTextMatch } from '@lexical/react/LexicalTypeaheadMenuPlugin';\nimport { useNodeFocusListener } from '@src/utils/use-node-focus';\nimport {\n EditorLookupDropdownBase,\n EditorLookupDropdownBaseProps,\n TypeaheadMenuData\n} from '../../components';\nimport { $createHashTagNode, HashTagNode } from '../../nodes/hashtag';\n\nconst PUNCTUATION = '\\\\.,\\\\+\\\\*\\\\?\\\\$\\\\@\\\\|#{}\\\\(\\\\)\\\\^\\\\-\\\\[\\\\]\\\\\\\\/!%\\'\"~=<>_:;';\nconst NAME = `\\\\b[A-Z][^\\\\s${PUNCTUATION}]`;\n\nconst DocumentHashTagRegex = {\n NAME,\n PUNCTUATION\n};\n\nconst PUNC = DocumentHashTagRegex.PUNCTUATION;\n\nconst TRIGGERS = ['#'].join('');\n\n// Chars we expect to see in a mention (non-space, non-punctuation).\nconst VALID_CHARS = `[^${TRIGGERS}${PUNC}\\\\s]`;\n\nconst LENGTH_LIMIT = 75;\n\n// eslint-disable-next-line no-useless-concat\nconst HashTagRegex = new RegExp(\n '(^|\\\\s|\\\\()('\n + `[${TRIGGERS}]`\n + `((?:${VALID_CHARS}){0,${LENGTH_LIMIT}})`\n + ')$'\n);\n\nfunction checkForHashTags(\n text: string,\n minMatchLength: number\n): MenuTextMatch | null {\n const match = HashTagRegex.exec(text);\n\n if (match !== null) {\n // The strategy ignores leading whitespace but we need to know it's\n // length to add it to the leadOffset\n const maybeLeadingWhitespace = match[1];\n\n const matchingString = match[3];\n if (matchingString.length >= minMatchLength) {\n return {\n leadOffset: match.index + maybeLeadingWhitespace.length,\n matchingString,\n replaceableString: match[2]\n };\n }\n }\n return null;\n}\n\nfunction getPossibleQueryMatch(\n text: string,\n len: number = 1\n): MenuTextMatch | null {\n return checkForHashTags(text, len);\n}\n\nexport const HashTagPlugin = ({\n getResults,\n triggerStringLength,\n ...props\n}: Partial<EditorLookupDropdownBaseProps> & {\n getResults: (\n text: string | null\n ) => TypeaheadMenuData[] | Promise<TypeaheadMenuData[]>;\n triggerStringLength?: number;\n}) => {\n useNodeFocusListener(HashTagNode);\n\n return (\n <EditorLookupDropdownBase\n $createNode={({ data }) => $createHashTagNode(`#${data.value}`)}\n getResults={getResults}\n triggerFunction={(text) => getPossibleQueryMatch(text, triggerStringLength)}\n {...props}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,MAAM,WAAc,GAAA,CAAA,2DAAA,CAAA;AAGpB,MAAM,oBAAuB,GAAA;AAAA,EAE3B;AACF,CAAA;AAEA,MAAM,OAAO,oBAAqB,CAAA,WAAA;AAElC,MAAM,QAAW,GAAA,CAAC,GAAG,CAAA,CAAE,KAAK,EAAE,CAAA;AAG9B,MAAM,WAAc,GAAA,CAAA,EAAA,EAAK,QAAQ,CAAA,EAAG,IAAI,CAAA,IAAA,CAAA;AAExC,MAAM,YAAe,GAAA,EAAA;AAGrB,MAAM,eAAe,IAAI,MAAA;AAAA,EACvB,CACQ,aAAA,EAAA,QAAQ,CACL,KAAA,EAAA,WAAW,OAAO,YAAY,CAAA,IAAA;AAE3C,CAAA;AAEA,SAAS,gBAAA,CACP,MACA,cACsB,EAAA;AACtB,EAAM,MAAA,KAAA,GAAQ,YAAa,CAAA,IAAA,CAAK,IAAI,CAAA;AAEpC,EAAA,IAAI,UAAU,IAAM,EAAA;AAGlB,IAAM,MAAA,sBAAA,GAAyB,MAAM,CAAC,CAAA;AAEtC,IAAM,MAAA,cAAA,GAAiB,MAAM,CAAC,CAAA;AAC9B,IAAI,IAAA,cAAA,CAAe,UAAU,cAAgB,EAAA;AAC3C,MAAO,OAAA;AAAA,QACL,UAAA,EAAY,KAAM,CAAA,KAAA,GAAQ,sBAAuB,CAAA,MAAA;AAAA,QACjD,cAAA;AAAA,QACA,iBAAA,EAAmB,MAAM,CAAC;AAAA,OAC5B;AAAA;AACF;AAEF,EAAO,OAAA,IAAA;AACT;AAEA,SAAS,qBAAA,CACP,IACA,EAAA,GAAA,GAAc,CACQ,EAAA;AACtB,EAAO,OAAA,gBAAA,CAAiB,MAAM,GAAG,CAAA;AACnC;AAEa,MAAA,aAAA,GAAgB,CAAC,EASxB,KAAA;AATwB,EAC5B,IAAA,EAAA,GAAA,EAAA,EAAA;AAAA,IAAA,UAAA;AAAA,IACA;AAAA,GAlEF,GAgE8B,EAGzB,EAAA,KAAA,GAAA,SAAA,CAHyB,EAGzB,EAAA;AAAA,IAFH,YAAA;AAAA,IACA;AAAA,GAAA,CAAA;AAQA,EAAA,oBAAA,CAAqB,WAAW,CAAA;AAEhC,EACE,uBAAA,GAAA;AAAA,IAAC,wBAAA;AAAA,IAAA,cAAA,CAAA;AAAA,MACC,WAAA,EAAa,CAAC,EAAE,IAAA,OAAW,kBAAmB,CAAA,CAAA,CAAA,EAAI,IAAK,CAAA,KAAK,CAAE,CAAA,CAAA;AAAA,MAC9D,UAAA;AAAA,MACA,eAAiB,EAAA,CAAC,IAAS,KAAA,qBAAA,CAAsB,MAAM,mBAAmB;AAAA,KACtE,EAAA,KAAA;AAAA,GACN;AAEJ;;;;"}
|
@@ -3,10 +3,12 @@ import { useNodeFocusListener } from '../../utils/use-node-focus.js';
|
|
3
3
|
import { EditorLookupDropdownBase } from '../../components/base-dropdown/index.js';
|
4
4
|
import '@lexical/react/LexicalComposerContext';
|
5
5
|
import '@lexical/utils';
|
6
|
+
import '@sparrowengg/twigs-react';
|
6
7
|
import 'lexical';
|
7
8
|
import 'react';
|
8
9
|
import 'react-dom';
|
9
10
|
import '@lexical/selection';
|
11
|
+
import '@sparrowengg/twigs-react-icons';
|
10
12
|
import '../../components/toolbar-context/store.js';
|
11
13
|
import '@lexical/code';
|
12
14
|
import '@lexical/link';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/plugins/mentions/index.tsx"],"sourcesContent":["import { MenuTextMatch } from '@lexical/react/LexicalTypeaheadMenuPlugin';\n\nimport { useNodeFocusListener } from '@src/utils/use-node-focus';\nimport {\n EditorLookupDropdownBase,\n EditorLookupDropdownBaseProps,\n TypeaheadMenuData\n} from '../../components';\nimport { $createMentionNode, MentionNode } from '../../nodes/mention';\n\nconst PUNCTUATION = '\\\\.,\\\\+\\\\*\\\\?\\\\$\\\\@\\\\|#{}\\\\(\\\\)\\\\^\\\\-\\\\[\\\\]\\\\\\\\/!%\\'\"~=<>_:;';\nconst NAME = `\\\\b[A-Z][^\\\\s${PUNCTUATION}]`;\n\nconst DocumentMentionsRegex = {\n NAME,\n PUNCTUATION\n};\n\nconst PUNC = DocumentMentionsRegex.PUNCTUATION;\n\nconst TRIGGERS = ['@'].join('');\n\n// Chars we expect to see in a mention (non-space, non-punctuation).\nconst VALID_CHARS = `[^${TRIGGERS}${PUNC}\\\\s]`;\n\n// Non-standard series of chars. Each series must be preceded and followed by\n// a valid char.\nconst VALID_JOINS = '(?:'\n + '\\\\.[ |$]|' // E.g. \"r. \" in \"Mr. Smith\"\n + ' |' // E.g. \" \" in \"Josh Duck\"\n + `[${PUNC}]|` // E.g. \"-' in \"Salier-Hellendag\"\n + ')';\n\nconst LENGTH_LIMIT = 75;\n\nconst AtSignMentionsRegex = new RegExp(\n '(^|\\\\s|\\\\()('\n + `[${TRIGGERS}]`\n + `((?:${VALID_CHARS}${VALID_JOINS}){0,${LENGTH_LIMIT}})`\n + ')$'\n);\n\n// 50 is the longest alias length limit.\nconst ALIAS_LENGTH_LIMIT = 50;\n\n// Regex used to match alias.\nconst AtSignMentionsRegexAliasRegex = new RegExp(\n '(^|\\\\s|\\\\()('\n + `[${TRIGGERS}]`\n + `((?:${VALID_CHARS}){0,${ALIAS_LENGTH_LIMIT}})`\n + ')$'\n);\n\nfunction checkForAtSignMentions(\n text: string,\n minMatchLength: number\n): MenuTextMatch | null {\n let match = AtSignMentionsRegex.exec(text);\n\n if (match === null) {\n match = AtSignMentionsRegexAliasRegex.exec(text);\n }\n if (match !== null) {\n // The strategy ignores leading whitespace but we need to know it's\n // length to add it to the leadOffset\n const maybeLeadingWhitespace = match[1];\n\n const matchingString = match[3];\n if (matchingString.length >= minMatchLength) {\n return {\n leadOffset: match.index + maybeLeadingWhitespace.length,\n matchingString,\n replaceableString: match[2]\n };\n }\n }\n return null;\n}\n\nfunction getPossibleQueryMatch(\n text: string,\n len: number = 1\n): MenuTextMatch | null {\n return checkForAtSignMentions(text, len);\n}\n\nexport const MentionsPlugin = ({\n getResults,\n triggerStringLength,\n ...props\n}: Partial<EditorLookupDropdownBaseProps> & {\n getResults: (\n text: string | null\n ) => TypeaheadMenuData[] | Promise<TypeaheadMenuData[]>;\n triggerStringLength?: number;\n}) => {\n useNodeFocusListener(MentionNode);\n\n return (\n <EditorLookupDropdownBase\n $createNode={({ data }) => $createMentionNode(`@${data.value}`)}\n getResults={getResults}\n triggerFunction={(text) => getPossibleQueryMatch(text, triggerStringLength)}\n {...props}\n />\n );\n};\n"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/plugins/mentions/index.tsx"],"sourcesContent":["import { MenuTextMatch } from '@lexical/react/LexicalTypeaheadMenuPlugin';\n\nimport { useNodeFocusListener } from '@src/utils/use-node-focus';\nimport {\n EditorLookupDropdownBase,\n EditorLookupDropdownBaseProps,\n TypeaheadMenuData\n} from '../../components';\nimport { $createMentionNode, MentionNode } from '../../nodes/mention';\n\nconst PUNCTUATION = '\\\\.,\\\\+\\\\*\\\\?\\\\$\\\\@\\\\|#{}\\\\(\\\\)\\\\^\\\\-\\\\[\\\\]\\\\\\\\/!%\\'\"~=<>_:;';\nconst NAME = `\\\\b[A-Z][^\\\\s${PUNCTUATION}]`;\n\nconst DocumentMentionsRegex = {\n NAME,\n PUNCTUATION\n};\n\nconst PUNC = DocumentMentionsRegex.PUNCTUATION;\n\nconst TRIGGERS = ['@'].join('');\n\n// Chars we expect to see in a mention (non-space, non-punctuation).\nconst VALID_CHARS = `[^${TRIGGERS}${PUNC}\\\\s]`;\n\n// Non-standard series of chars. Each series must be preceded and followed by\n// a valid char.\nconst VALID_JOINS = '(?:'\n + '\\\\.[ |$]|' // E.g. \"r. \" in \"Mr. Smith\"\n + ' |' // E.g. \" \" in \"Josh Duck\"\n + `[${PUNC}]|` // E.g. \"-' in \"Salier-Hellendag\"\n + ')';\n\nconst LENGTH_LIMIT = 75;\n\nconst AtSignMentionsRegex = new RegExp(\n '(^|\\\\s|\\\\()('\n + `[${TRIGGERS}]`\n + `((?:${VALID_CHARS}${VALID_JOINS}){0,${LENGTH_LIMIT}})`\n + ')$'\n);\n\n// 50 is the longest alias length limit.\nconst ALIAS_LENGTH_LIMIT = 50;\n\n// Regex used to match alias.\nconst AtSignMentionsRegexAliasRegex = new RegExp(\n '(^|\\\\s|\\\\()('\n + `[${TRIGGERS}]`\n + `((?:${VALID_CHARS}){0,${ALIAS_LENGTH_LIMIT}})`\n + ')$'\n);\n\nfunction checkForAtSignMentions(\n text: string,\n minMatchLength: number\n): MenuTextMatch | null {\n let match = AtSignMentionsRegex.exec(text);\n\n if (match === null) {\n match = AtSignMentionsRegexAliasRegex.exec(text);\n }\n if (match !== null) {\n // The strategy ignores leading whitespace but we need to know it's\n // length to add it to the leadOffset\n const maybeLeadingWhitespace = match[1];\n\n const matchingString = match[3];\n if (matchingString.length >= minMatchLength) {\n return {\n leadOffset: match.index + maybeLeadingWhitespace.length,\n matchingString,\n replaceableString: match[2]\n };\n }\n }\n return null;\n}\n\nfunction getPossibleQueryMatch(\n text: string,\n len: number = 1\n): MenuTextMatch | null {\n return checkForAtSignMentions(text, len);\n}\n\nexport const MentionsPlugin = ({\n getResults,\n triggerStringLength,\n ...props\n}: Partial<EditorLookupDropdownBaseProps> & {\n getResults: (\n text: string | null\n ) => TypeaheadMenuData[] | Promise<TypeaheadMenuData[]>;\n triggerStringLength?: number;\n}) => {\n useNodeFocusListener(MentionNode);\n\n return (\n <EditorLookupDropdownBase\n $createNode={({ data }) => $createMentionNode(`@${data.value}`)}\n getResults={getResults}\n triggerFunction={(text) => getPossibleQueryMatch(text, triggerStringLength)}\n {...props}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,MAAM,WAAc,GAAA,CAAA,2DAAA,CAAA;AAGpB,MAAM,qBAAwB,GAAA;AAAA,EAE5B;AACF,CAAA;AAEA,MAAM,OAAO,qBAAsB,CAAA,WAAA;AAEnC,MAAM,QAAW,GAAA,CAAC,GAAG,CAAA,CAAE,KAAK,EAAE,CAAA;AAG9B,MAAM,WAAc,GAAA,CAAA,EAAA,EAAK,QAAQ,CAAA,EAAG,IAAI,CAAA,IAAA,CAAA;AAIxC,MAAM,WAAA,GAAc,kBAGZ,IAAI,CAAA,GAAA,CAAA;AAGZ,MAAM,YAAe,GAAA,EAAA;AAErB,MAAM,sBAAsB,IAAI,MAAA;AAAA,EAC9B,gBACQ,QAAQ,CAAA,KAAA,EACL,WAAW,CAAG,EAAA,WAAW,OAAO,YAAY,CAAA,IAAA;AAEzD,CAAA;AAGA,MAAM,kBAAqB,GAAA,EAAA;AAG3B,MAAM,gCAAgC,IAAI,MAAA;AAAA,EACxC,CACQ,aAAA,EAAA,QAAQ,CACL,KAAA,EAAA,WAAW,OAAO,kBAAkB,CAAA,IAAA;AAEjD,CAAA;AAEA,SAAS,sBAAA,CACP,MACA,cACsB,EAAA;AACtB,EAAI,IAAA,KAAA,GAAQ,mBAAoB,CAAA,IAAA,CAAK,IAAI,CAAA;AAEzC,EAAA,IAAI,UAAU,IAAM,EAAA;AAClB,IAAQ,KAAA,GAAA,6BAAA,CAA8B,KAAK,IAAI,CAAA;AAAA;AAEjD,EAAA,IAAI,UAAU,IAAM,EAAA;AAGlB,IAAM,MAAA,sBAAA,GAAyB,MAAM,CAAC,CAAA;AAEtC,IAAM,MAAA,cAAA,GAAiB,MAAM,CAAC,CAAA;AAC9B,IAAI,IAAA,cAAA,CAAe,UAAU,cAAgB,EAAA;AAC3C,MAAO,OAAA;AAAA,QACL,UAAA,EAAY,KAAM,CAAA,KAAA,GAAQ,sBAAuB,CAAA,MAAA;AAAA,QACjD,cAAA;AAAA,QACA,iBAAA,EAAmB,MAAM,CAAC;AAAA,OAC5B;AAAA;AACF;AAEF,EAAO,OAAA,IAAA;AACT;AAEA,SAAS,qBAAA,CACP,IACA,EAAA,GAAA,GAAc,CACQ,EAAA;AACtB,EAAO,OAAA,sBAAA,CAAuB,MAAM,GAAG,CAAA;AACzC;AAEa,MAAA,cAAA,GAAiB,CAAC,EASzB,KAAA;AATyB,EAC7B,IAAA,EAAA,GAAA,EAAA,EAAA;AAAA,IAAA,UAAA;AAAA,IACA;AAAA,GAxFF,GAsF+B,EAG1B,EAAA,KAAA,GAAA,SAAA,CAH0B,EAG1B,EAAA;AAAA,IAFH,YAAA;AAAA,IACA;AAAA,GAAA,CAAA;AAQA,EAAA,oBAAA,CAAqB,WAAW,CAAA;AAEhC,EACE,uBAAA,GAAA;AAAA,IAAC,wBAAA;AAAA,IAAA,cAAA,CAAA;AAAA,MACC,WAAA,EAAa,CAAC,EAAE,IAAA,OAAW,kBAAmB,CAAA,CAAA,CAAA,EAAI,IAAK,CAAA,KAAK,CAAE,CAAA,CAAA;AAAA,MAC9D,UAAA;AAAA,MACA,eAAiB,EAAA,CAAC,IAAS,KAAA,qBAAA,CAAsB,MAAM,mBAAmB;AAAA,KACtE,EAAA,KAAA;AAAA,GACN;AAEJ;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sparrowengg/twigs-editor-react",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.2",
|
4
4
|
"description": "Rich text editor built on top of Lexical",
|
5
5
|
"module": "dist/es/index.js",
|
6
6
|
"main": "dist/cjs/index.js",
|
@@ -49,6 +49,8 @@
|
|
49
49
|
"@lexical/rich-text": ">=0.27.2",
|
50
50
|
"@lexical/selection": ">=0.27.2",
|
51
51
|
"@lexical/utils": ">=0.27.2",
|
52
|
+
"@sparrowengg/twigs-react": ">=0.36.0",
|
53
|
+
"@sparrowengg/twigs-react-icons": ">=0.3.5",
|
52
54
|
"lexical": ">=0.27.2",
|
53
55
|
"react": ">=18.2.0",
|
54
56
|
"react-dom": ">=18.2.0"
|
@@ -1,8 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
function getDefaultExportFromCjs(x) {
|
4
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
5
|
-
}
|
6
|
-
|
7
|
-
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
8
|
-
//# sourceMappingURL=_commonjsHelpers.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_commonjsHelpers.js","sources":["../../../../../../../react-components/dist/es/_virtual/_commonjsHelpers.js"],"sourcesContent":["function getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nexport { getDefaultExportFromCjs };\n//# sourceMappingURL=_commonjsHelpers.js.map\n"],"names":[],"mappings":";;AAAA,SAAS,wBAAyB,CAAG,EAAA;AACpC,EAAA,OAAO,CAAK,IAAA,CAAA,CAAE,UAAc,IAAA,MAAA,CAAO,SAAU,CAAA,cAAA,CAAe,IAAK,CAAA,CAAA,EAAG,SAAS,CAAA,GAAI,CAAE,CAAA,SAAS,CAAI,GAAA,CAAA;AACjG;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../react-components/dist/es/_virtual/index.js"],"sourcesContent":["var propTypes = {exports: {}};\n\nexport { propTypes as __module };\n//# sourceMappingURL=index.js.map\n"],"names":[],"mappings":";;AAAA,IAAI,SAAY,GAAA,EAAC,OAAS,EAAA,EAAE;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index2.js","sources":["../../../../../../../react-components/dist/es/_virtual/index2.js"],"sourcesContent":["var reactIs = {exports: {}};\n\nexport { reactIs as __module };\n//# sourceMappingURL=index2.js.map\n"],"names":[],"mappings":";;AAAA,IAAI,OAAU,GAAA,EAAC,OAAS,EAAA,EAAE;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"react-is.development.js","sources":["../../../../../../../react-components/dist/es/_virtual/react-is.development.js"],"sourcesContent":["var reactIs_development = {};\n\nexport { reactIs_development as __exports };\n//# sourceMappingURL=react-is.development.js.map\n"],"names":[],"mappings":";;AAAA,IAAI,sBAAsB;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"react-is.production.min.js","sources":["../../../../../../../react-components/dist/es/_virtual/react-is.production.min.js"],"sourcesContent":["var reactIs_production_min = {};\n\nexport { reactIs_production_min as __exports };\n//# sourceMappingURL=react-is.production.min.js.map\n"],"names":[],"mappings":";;AAAA,IAAI,yBAAyB;;;;"}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
4
|
-
var React = require('react');
|
5
|
-
var stitches_config = require('../stitches.config.js');
|
6
|
-
|
7
|
-
var __defProp = Object.defineProperty;
|
8
|
-
var __defProps = Object.defineProperties;
|
9
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
10
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
11
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
12
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
13
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
14
|
-
var __spreadValues = (a, b) => {
|
15
|
-
for (var prop in b || (b = {}))
|
16
|
-
if (__hasOwnProp.call(b, prop))
|
17
|
-
__defNormalProp(a, prop, b[prop]);
|
18
|
-
if (__getOwnPropSymbols)
|
19
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
20
|
-
if (__propIsEnum.call(b, prop))
|
21
|
-
__defNormalProp(a, prop, b[prop]);
|
22
|
-
}
|
23
|
-
return a;
|
24
|
-
};
|
25
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
26
|
-
var __objRest = (source, exclude) => {
|
27
|
-
var target = {};
|
28
|
-
for (var prop in source)
|
29
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
30
|
-
target[prop] = source[prop];
|
31
|
-
if (source != null && __getOwnPropSymbols)
|
32
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
33
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
34
|
-
target[prop] = source[prop];
|
35
|
-
}
|
36
|
-
return target;
|
37
|
-
};
|
38
|
-
const StyledBox = stitches_config.styled("div", {});
|
39
|
-
const Box = React.forwardRef(
|
40
|
-
(_a, ref) => {
|
41
|
-
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
42
|
-
return /* @__PURE__ */ jsxRuntime.jsx(StyledBox, __spreadProps(__spreadValues({ "data-testid": "box", ref }, rest), { children }));
|
43
|
-
}
|
44
|
-
);
|
45
|
-
|
46
|
-
exports.Box = Box;
|
47
|
-
//# sourceMappingURL=box.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"box.js","sources":["../../../../../../../react-components/dist/es/box/box.js"],"sourcesContent":["import { jsx } from 'react/jsx-runtime';\nimport React__default from 'react';\nimport { styled } from '../stitches.config.js';\n\nvar __defProp = Object.defineProperty;\nvar __defProps = Object.defineProperties;\nvar __getOwnPropDescs = Object.getOwnPropertyDescriptors;\nvar __getOwnPropSymbols = Object.getOwnPropertySymbols;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __propIsEnum = Object.prototype.propertyIsEnumerable;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n};\nvar __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\nvar __objRest = (source, exclude) => {\n var target = {};\n for (var prop in source)\n if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)\n target[prop] = source[prop];\n if (source != null && __getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(source)) {\n if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))\n target[prop] = source[prop];\n }\n return target;\n};\nconst StyledBox = styled(\"div\", {});\nconst Box = React__default.forwardRef(\n (_a, ref) => {\n var _b = _a, { children } = _b, rest = __objRest(_b, [\"children\"]);\n return /* @__PURE__ */ jsx(StyledBox, __spreadProps(__spreadValues({ \"data-testid\": \"box\", ref }, rest), { children }));\n }\n);\n\nexport { Box };\n//# sourceMappingURL=box.js.map\n"],"names":["styled","React__default","jsx"],"mappings":";;;;;;AAIA,IAAI,YAAY,MAAO,CAAA,cAAA;AACvB,IAAI,aAAa,MAAO,CAAA,gBAAA;AACxB,IAAI,oBAAoB,MAAO,CAAA,yBAAA;AAC/B,IAAI,sBAAsB,MAAO,CAAA,qBAAA;AACjC,IAAI,YAAA,GAAe,OAAO,SAAU,CAAA,cAAA;AACpC,IAAI,YAAA,GAAe,OAAO,SAAU,CAAA,oBAAA;AACpC,IAAI,eAAA,GAAkB,CAAC,GAAK,EAAA,GAAA,EAAK,UAAU,GAAO,IAAA,GAAA,GAAM,SAAU,CAAA,GAAA,EAAK,GAAK,EAAA,EAAE,YAAY,IAAM,EAAA,YAAA,EAAc,MAAM,QAAU,EAAA,IAAA,EAAM,OAAO,CAAA,GAAI,GAAI,CAAA,GAAG,CAAI,GAAA,KAAA;AAC1J,IAAI,cAAA,GAAiB,CAAC,CAAA,EAAG,CAAM,KAAA;AAC7B,EAAS,KAAA,IAAA,IAAA,IAAQ,CAAM,KAAA,CAAA,GAAI,EAAC,CAAA;AAC1B,IAAI,IAAA,YAAA,CAAa,IAAK,CAAA,CAAA,EAAG,IAAI,CAAA;AAC3B,MAAA,eAAA,CAAgB,CAAG,EAAA,IAAA,EAAM,CAAE,CAAA,IAAI,CAAC,CAAA;AACpC,EAAI,IAAA,mBAAA;AACF,IAAS,KAAA,IAAA,IAAA,IAAQ,mBAAoB,CAAA,CAAC,CAAG,EAAA;AACvC,MAAI,IAAA,YAAA,CAAa,IAAK,CAAA,CAAA,EAAG,IAAI,CAAA;AAC3B,QAAA,eAAA,CAAgB,CAAG,EAAA,IAAA,EAAM,CAAE,CAAA,IAAI,CAAC,CAAA;AAAA;AAEtC,EAAO,OAAA,CAAA;AACT,CAAA;AACA,IAAI,aAAA,GAAgB,CAAC,CAAG,EAAA,CAAA,KAAM,WAAW,CAAG,EAAA,iBAAA,CAAkB,CAAC,CAAC,CAAA;AAChE,IAAI,SAAA,GAAY,CAAC,MAAA,EAAQ,OAAY,KAAA;AACnC,EAAA,IAAI,SAAS,EAAC;AACd,EAAA,KAAA,IAAS,IAAQ,IAAA,MAAA;AACf,IAAI,IAAA,YAAA,CAAa,KAAK,MAAQ,EAAA,IAAI,KAAK,OAAQ,CAAA,OAAA,CAAQ,IAAI,CAAI,GAAA,CAAA;AAC7D,MAAO,MAAA,CAAA,IAAI,CAAI,GAAA,MAAA,CAAO,IAAI,CAAA;AAC9B,EAAA,IAAI,UAAU,IAAQ,IAAA,mBAAA;AACpB,IAAS,KAAA,IAAA,IAAA,IAAQ,mBAAoB,CAAA,MAAM,CAAG,EAAA;AAC5C,MAAI,IAAA,OAAA,CAAQ,QAAQ,IAAI,CAAA,GAAI,KAAK,YAAa,CAAA,IAAA,CAAK,QAAQ,IAAI,CAAA;AAC7D,QAAO,MAAA,CAAA,IAAI,CAAI,GAAA,MAAA,CAAO,IAAI,CAAA;AAAA;AAEhC,EAAO,OAAA,MAAA;AACT,CAAA;AACA,MAAM,SAAY,GAAAA,sBAAA,CAAO,KAAO,EAAA,EAAE,CAAA;AAClC,MAAM,MAAMC,KAAe,CAAA,UAAA;AAAA,EACzB,CAAC,IAAI,GAAQ,KAAA;AACX,IAAI,IAAA,EAAA,GAAK,EAAI,EAAA,EAAE,QAAS,EAAA,GAAI,EAAI,EAAA,IAAA,GAAO,SAAU,CAAA,EAAA,EAAI,CAAC,UAAU,CAAC,CAAA;AACjE,IAAA,uBAA2BC,cAAA,CAAA,SAAA,EAAW,aAAc,CAAA,cAAA,CAAe,EAAE,aAAe,EAAA,KAAA,EAAO,GAAI,EAAA,EAAG,IAAI,CAAA,EAAG,EAAE,QAAA,EAAU,CAAC,CAAA;AAAA;AAE1H;;;;"}
|