@orangelogic/design-system 2.92.0 → 2.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/asset.Duzr3O3z.js +370 -0
- package/library/chunks/{endpoints.BpAhLyZw.js → asset.types.6DCzTOQm.js} +517 -515
- package/library/chunks/{button.BrIJPc2a.js → button.BZjbVq8t.js} +3 -3
- package/library/chunks/button.styles.Cz4EELcL.js +5 -0
- package/library/chunks/{color-swatch-group.CpuPC0u3.js → color-swatch-group.DRKpTlyp.js} +5 -5
- package/library/chunks/{color-swatch.hsIcIXE-.js → color-swatch.CbL_TpRZ.js} +1 -1
- package/library/chunks/{confirm-popover.Bk0_yxOs.js → confirm-popover.bBo9aPlX.js} +3 -3
- package/library/chunks/{cropper.DTokTzP9.js → cropper.BRKVzJDb.js} +2 -2
- package/library/chunks/{dialog.CPAszptn.js → dialog.DRW8iwh-.js} +20 -13
- package/library/chunks/{dom.Dd4Wh-Mt.js → dom.DURaLV1d.js} +1 -1
- package/library/chunks/{dot-pagination.CWKKpM7m.js → dot-pagination.CvUr6R4S.js} +1 -1
- package/library/chunks/{file-on-demand.CTJQ6P_F.js → file-on-demand.Z7nx9v2R.js} +10 -10
- package/library/chunks/{folder-select.D6NkbExX.js → folder-select.DxBOSyvo.js} +48 -49
- package/library/chunks/{form.Bi8x0jbW.js → form.nRqYei4e.js} +1 -1
- package/library/chunks/header.ClxEkQPZ.js +700 -0
- package/library/chunks/{i18n.CgwQHLcP.js → i18n.W6czbRms.js} +87 -7
- package/library/chunks/icon-button.MqA-pNw8.js +149 -0
- package/library/chunks/{iframe.DnAs6e8f.js → iframe.PcSPtm_O.js} +1 -1
- package/library/chunks/{image.DbfpMKMc.js → image.C3LupRuN.js} +118 -115
- package/library/chunks/image.ocYnNdYK.js +150 -0
- package/library/chunks/{index.zCSI4caC.js → index.B7slZiaV.js} +173 -148
- package/library/chunks/{list-editor.T0Lrm0Yo.js → list-editor.BnIOuHUQ.js} +12 -13
- package/library/chunks/number.DE78rV_g.js +104 -0
- package/library/chunks/{option.T4KSh5qy.js → option.Cx54zrJq.js} +1 -1
- package/library/chunks/{pagination.DC9JIt4s.js → pagination.CG5odPWi.js} +4 -4
- package/library/chunks/{responsive.DL-wBD4P.js → responsive.D9TUCX5p.js} +1 -1
- package/library/chunks/{string.B_mXTq0K.js → string.DfV21HEI.js} +12 -8
- package/library/chunks/{tab-group.B6olTWpV.js → tab-group.BLZ-qEpp.js} +4 -4
- package/library/chunks/{table.Da1P5WrI.js → table.1GgUDoqR.js} +1068 -951
- package/library/chunks/template.ClovJacp.js +31 -0
- package/library/chunks/{time.D_uFZqqe.js → time.wo2iH5iw.js} +1 -1
- package/library/chunks/toast.Bc4wpYJ1.js +150 -0
- package/library/chunks/{tree.D5Fv7i1r.js → tree.CKi63r95.js} +89 -89
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +8 -8
- package/library/components/atoms.js +12 -12
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +4 -4
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +6 -6
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/cropper.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +11 -11
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +2 -2
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +6 -6
- package/library/components/markdown.js +2 -2
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +56 -53
- package/library/components/menu.js +10 -7
- package/library/components/molecules.js +5 -5
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +5 -5
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/range.js +2 -2
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +3 -3
- package/library/components/share-option-list.js +2 -2
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +2 -2
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +5 -5
- package/library/components/tab.js +2 -2
- package/library/components/table.js +57 -55
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +28464 -28907
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/button/button.d.ts +5 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +1 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +1 -0
- package/library/packages/atoms/src/components/markdown/parser.d.ts +1 -1
- package/library/packages/atoms/src/components/menu/menu.d.ts +6 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +6 -0
- package/library/packages/atoms/src/components/table/styles/table-clickable-cell.styles.d.ts +10 -0
- package/library/packages/atoms/src/components/table/table.d.ts +1 -0
- package/library/packages/base/src/resizable-element.d.ts +1 -0
- package/library/packages/events/src/cx-code-block-language-change.d.ts +8 -0
- package/library/packages/events/src/cx-find-and-replace.d.ts +32 -0
- package/library/packages/events/src/cx-link-request.d.ts +12 -0
- package/library/packages/events/src/cx-rich-text-anchor-apply-request.d.ts +9 -0
- package/library/packages/events/src/cx-rich-text-blur.d.ts +6 -0
- package/library/packages/events/src/cx-rich-text-change.d.ts +8 -0
- package/library/packages/events/src/cx-rich-text-click.d.ts +6 -0
- package/library/packages/events/src/cx-rich-text-focus.d.ts +6 -0
- package/library/packages/events/src/cx-rich-text-image-drop.d.ts +8 -0
- package/library/packages/events/src/cx-rich-text-image-save.d.ts +23 -0
- package/library/packages/events/src/cx-rich-text-link-save.d.ts +19 -0
- package/library/packages/events/src/cx-rich-text-native-spellcheck-change.d.ts +12 -0
- package/library/packages/events/src/cx-rich-text-review-layout-refresh.d.ts +8 -0
- package/library/packages/events/src/cx-rich-text-review-node-created.d.ts +13 -0
- package/library/packages/events/src/cx-rich-text-review-selection-changed.d.ts +11 -0
- package/library/packages/events/src/cx-rich-text-suggestion-hover.d.ts +12 -0
- package/library/packages/events/src/cx-rich-text-table-cell-save.d.ts +15 -0
- package/library/packages/events/src/cx-rich-text-table-save.d.ts +16 -0
- package/library/packages/events/src/cx-rich-text-video-save.d.ts +28 -0
- package/library/packages/events/src/cx-special-characters-insert.d.ts +13 -0
- package/library/packages/events/src/cx-tiptap-code-block-doc-request.d.ts +19 -0
- package/library/packages/events/src/cx-tiptap-image-doc-request.d.ts +24 -0
- package/library/packages/events/src/cx-tiptap-image-host-feedback.d.ts +13 -0
- package/library/packages/events/src/cx-tiptap-video-doc-request.d.ts +24 -0
- package/library/packages/events/src/cx-tiptap-video-host-feedback.d.ts +13 -0
- package/library/packages/events/src/events.d.ts +25 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/core/modules/optional.d.ts +2 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ClickableCell/ClickableCell.d.ts +44 -0
- package/library/packages/{atoms/src/components/table/modules → hybrid/table-core/src/tabulator-tables/modules/HoverMenu}/HoverMenu.d.ts +7 -5
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/mentions/mentions.d.ts +53 -0
- package/library/packages/organisms/src/comment/comment.d.ts +3 -3
- package/library/packages/organisms/src/comment/extensions/index.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +5 -10
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/constant.d.ts +12 -13
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +1 -1
- package/library/packages/organisms/src/find-and-replace/find-and-replace.d.ts +84 -0
- package/library/packages/organisms/src/index.d.ts +2 -0
- package/library/packages/organisms/src/{content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.d.ts → special-characters-dialog/special-characters-dialog.d.ts} +11 -12
- package/library/packages/services/src/api/asset/asset.d.ts +17 -15
- package/library/packages/services/src/api/asset/asset.types.d.ts +97 -32
- package/library/packages/services/src/api/asset/asset.utils.d.ts +9 -0
- package/library/packages/services/src/api/endpoints.d.ts +2 -4
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +7 -0
- package/library/packages/tools/src/tiptap/constants/constants.d.ts +41 -0
- package/library/packages/tools/src/tiptap/constants/index.d.ts +1 -0
- package/library/packages/tools/src/tiptap/extensions/blockquote/index.d.ts +2 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/bubble-menu.d.ts → tools/src/tiptap/extensions/bubble-menu/index.d.ts} +11 -27
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/bullet-list/index.d.ts +3 -0
- package/library/packages/tools/src/tiptap/extensions/code-block/code-block-doc-bridge.d.ts +13 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlock.d.ts → tools/src/tiptap/extensions/code-block/code-block.d.ts} +2 -1
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlockPrism.d.ts → tools/src/tiptap/extensions/code-block/index.d.ts} +2 -1
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/PrismPlugin.d.ts → tools/src/tiptap/extensions/code-block/prism-plugin.d.ts} +1 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/document/commands.d.ts +2 -2
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/link/helpers/autolink.d.ts +1 -1
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/clickHandler.d.ts → tools/src/tiptap/extensions/link/helpers/click-handler.d.ts} +1 -1
- package/library/packages/tools/src/tiptap/extensions/link/helpers/is-valid-url.d.ts +1 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/pasteHandler.d.ts → tools/src/tiptap/extensions/link/helpers/paste-handler.d.ts} +1 -1
- package/library/packages/tools/src/tiptap/extensions/link/index.d.ts +6 -0
- package/library/packages/tools/src/tiptap/extensions/list-item/index.d.ts +2 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/ordered-list/index.d.ts +2 -0
- package/library/packages/tools/src/tiptap/extensions/text-style/index.d.ts +7 -0
- package/library/packages/tools/src/tiptap/utils/anchor-links.d.ts +2 -0
- package/library/packages/tools/src/tiptap/utils/extend-class-style.d.ts +4 -0
- package/library/packages/tools/src/tiptap/utils/is-only-code-block-selection.d.ts +4 -0
- package/library/packages/tools/src/tiptap/utils/parse-tracks.d.ts +1 -0
- package/library/packages/tools/src/tiptap/utils/rich-text-inline-viewer-doc-bridge.d.ts +38 -0
- package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/utils/getStyles.d.ts → tools/src/tiptap/utils/styles.d.ts} +4 -4
- package/library/packages/tools/src/tiptap/utils/text-block-type-input-rule-no-delete.d.ts +3 -0
- package/library/packages/types/src/menu-item.d.ts +2 -0
- package/library/packages/types/src/special-characters-dialog.d.ts +19 -0
- package/library/packages/types/src/table.d.ts +13 -0
- package/library/packages/types/src/tiptap.d.ts +52 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +80 -0
- package/library/packages/utils/src/image/image.d.ts +14 -1
- package/library/packages/utils/src/index.d.ts +1 -0
- package/library/packages/utils/src/keyboard/index.d.ts +1 -0
- package/library/packages/utils/src/keyboard/keyboard.d.ts +9 -0
- package/library/packages/utils/src/number/number.d.ts +4 -0
- package/library/packages/utils/src/object/object.d.ts +2 -0
- package/library/packages/utils/src/string/string.d.ts +1 -0
- package/library/packages/utils/src/template/template.d.ts +1 -0
- package/library/react-web-component.d.ts +154 -13
- package/library/utils.js +187 -177
- package/package.json +1 -1
- package/library/chunks/asset.CVuNAhz3.js +0 -287
- package/library/chunks/button.styles.CKqn956w.js +0 -5
- package/library/chunks/content-builder.B4Tqoc6M.js +0 -127
- package/library/chunks/header.DPVuEZN-.js +0 -177
- package/library/chunks/icon-button.BpwPU4Vg.js +0 -149
- package/library/chunks/image.mbpyiQpQ.js +0 -82
- package/library/chunks/number.CjNxU7Xs.js +0 -93
- package/library/chunks/template.CsJd8Pb_.js +0 -20
- package/library/chunks/toast.BXNbwZV8.js +0 -25
- package/library/packages/organisms/src/comment/components/comment-mention/comment-mention.d.ts +0 -44
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/index.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.d.ts +0 -28
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/index.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.d.ts +0 -68
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.styles.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/blockquote/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/convertSrcToBlob.d.ts +0 -6
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/index.d.ts +0 -4
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/isValidUrl.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/list-item/index.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/text-style/index.d.ts +0 -17
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/extendClassStyle.d.ts +0 -6
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getImageNaturalWidthHeight.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isAbsolute.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isValidImageUrl.d.ts +0 -3
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/parseBooleanString.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/processAnchorLink.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/textblockTypeInputRuleNoDelete.d.ts +0 -3
- /package/library/packages/{organisms/src/comment/components/comment-mention/comment-mention.styles.d.ts → molecules/src/mentions/mentions.styles.d.ts} +0 -0
- /package/library/packages/organisms/src/{content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.styles.d.ts → find-and-replace/find-and-replace.styles.d.ts} +0 -0
- /package/library/packages/organisms/src/{content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.styles.d.ts → special-characters-dialog/special-characters-dialog.styles.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/anchor/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/aside-block → tools/src/tiptap/extensions/aside}/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/div/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/document/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/font-size/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/heading/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/highlight/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/inline-class/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/line-height/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/list-item/commands.d.ts +0 -0
- /package/library/packages/{organisms/src/comment/extensions/mention.d.ts → tools/src/tiptap/extensions/mention/index.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/other-elements → tools/src/tiptap/extensions/other-element}/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/other-styles/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/paragraph/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/placeholder/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/cellselection.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/columnResizing.d.ts → tools/src/tiptap/extensions/table/column-resizing.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/commands.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/copyPaste.d.ts → tools/src/tiptap/extensions/table/copy-paste.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createCell.d.ts → tools/src/tiptap/extensions/table/create-cell.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createTable.d.ts → tools/src/tiptap/extensions/table/create-table.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/fixTables.d.ts → tools/src/tiptap/extensions/table/fix-tables.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/getTableNodeTypes.d.ts → tools/src/tiptap/extensions/table/get-table-node-types.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/index.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/input.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/rowResizing.d.ts → tools/src/tiptap/extensions/table/row-resizing.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor/extensions/table/tableEditing.d.ts → tools/src/tiptap/extensions/table/table-editing.d.ts} +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/table/utils.d.ts +0 -0
- /package/library/packages/{organisms/src/content-builder/plugins/rich-text-editor → tools/src/tiptap}/extensions/text-align/index.d.ts +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as ps, a as kn } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
|
|
2
2
|
import { r as wb } from "../chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js";
|
|
3
|
-
import { r as Sb, C as Cb, R as Mb } from "../chunks/image.
|
|
3
|
+
import { r as Sb, C as Cb, R as Mb } from "../chunks/image.C3LupRuN.js";
|
|
4
4
|
import Db from "./resize-observer.js";
|
|
5
5
|
import { c as Pb } from "../chunks/component.styles.CRO4Odto.js";
|
|
6
6
|
import { b as Lb } from "../chunks/browser.BHOCIF_A.js";
|
|
7
7
|
import { c as Rb } from "../chunks/custom-element.L4WJXn1j.js";
|
|
8
|
-
import { L as Ib } from "../chunks/i18n.
|
|
8
|
+
import { L as Ib } from "../chunks/i18n.W6czbRms.js";
|
|
9
9
|
import { w as Bn } from "../chunks/watch.BCJD77bD.js";
|
|
10
10
|
import { i as Ob, x as Zc } from "../chunks/lit-element.jLBm65_O.js";
|
|
11
11
|
import { n as ki } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
package/library/package.json
CHANGED
|
@@ -21,6 +21,11 @@ import { default as CxSpinner } from '../spinner/spinner';
|
|
|
21
21
|
* @csspart suffix - The container that wraps the suffix.
|
|
22
22
|
* @csspart caret - The button's caret icon, an `<cx-icon>` element.
|
|
23
23
|
* @csspart spinner - The spinner that shows when the button is in the loading state.
|
|
24
|
+
*
|
|
25
|
+
* @cssproperty [--font-weight] - Overrides the label font weight (defaults to regular).
|
|
26
|
+
* @cssproperty [--min-height] - Sets `min-height` on the inner button (defaults to `auto`).
|
|
27
|
+
* @cssproperty [--justify-content] - Flex alignment along the main axis (defaults to `center`).
|
|
28
|
+
* @cssproperty [--gap] - Gap between flex items in the button (defaults to `0`).
|
|
24
29
|
*/
|
|
25
30
|
export default class CxButton extends CortexElement implements CortexFormControl {
|
|
26
31
|
static readonly styles: CSSResultGroup;
|
|
@@ -62,6 +62,7 @@ import { default as CxVisuallyHidden } from '../visually-hidden/visually-hidden'
|
|
|
62
62
|
* @cssproperty --format-button-width - The width of the format button.
|
|
63
63
|
* @cssproperty --eye-dropper-button-width - The width of the eye dropper button.
|
|
64
64
|
* @cssproperty --control-border-color - The border color of button variant's control.
|
|
65
|
+
* @cssproperty [--inline-border] - Border for `inline` pickers (defaults to the panel border token); set to `none` to remove the frame.
|
|
65
66
|
* @cssproperty --control-button-color - The background color of button variant's control.
|
|
66
67
|
* @cssproperty --control-caret-color - The color of button variant's control's caret.
|
|
67
68
|
*/
|
|
@@ -28,6 +28,7 @@ import { default as CxPopup } from '../popup/popup';
|
|
|
28
28
|
* @animation dropdown.hide - The animation to use when hiding the dropdown.
|
|
29
29
|
*
|
|
30
30
|
* @cssproperty [--max-height=var(--auto-size-available-height)] - The max height of the dropdown panel. If it is larger than the available height, the available height will take precedence.
|
|
31
|
+
* @cssproperty [--trigger-display=block] - `display` value for the trigger slot wrapper (e.g. `flex` for stretched triggers).
|
|
31
32
|
*/
|
|
32
33
|
export default class CxDropdown extends CortexElement {
|
|
33
34
|
static readonly styles: CSSResultGroup;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Marked } from 'marked';
|
|
2
2
|
|
|
3
3
|
export declare const baseRenderer: {
|
|
4
|
-
code(text: string,
|
|
4
|
+
code(text: string, value: string | undefined): string;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* https://marked.js.org/using_advanced in Marked instance section.
|
|
@@ -16,6 +16,8 @@ export interface MenuSelectEventDetail {
|
|
|
16
16
|
* @slot (default) - The menu's content, including menu items, menu labels, and dividers.
|
|
17
17
|
* @slot back-button - A slot for a custom back button, used in 'multiple' variant menus.
|
|
18
18
|
*
|
|
19
|
+
* @attr {boolean} no-uncheck - When true, checkbox items do not toggle off when activated while already checked; applies to all checkbox items in this menu and combines with each item's own `no-uncheck`.
|
|
20
|
+
*
|
|
19
21
|
* @event {{ item: CxMenuItem }} cx-select - Emitted when a menu item is selected.
|
|
20
22
|
*/
|
|
21
23
|
export default class CxMenu extends CortexElement {
|
|
@@ -40,6 +42,10 @@ export default class CxMenu extends CortexElement {
|
|
|
40
42
|
*/
|
|
41
43
|
ignoredKeys: string[];
|
|
42
44
|
disabledTabLoop: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* When true, checkbox items in this menu do not toggle off when already activated while checked—the same behavior as setting `no-uncheck` on each checkbox item.
|
|
47
|
+
*/
|
|
48
|
+
noUncheck: boolean;
|
|
43
49
|
resizeObserver: ResizeObserver | null;
|
|
44
50
|
private slotMutationObserver;
|
|
45
51
|
connectedCallback(): void;
|
|
@@ -16,6 +16,7 @@ import { default as CxSpinner } from '../spinner/spinner';
|
|
|
16
16
|
* @slot submenu - Used to denote a nested menu.
|
|
17
17
|
* @slot submenu-icon - The icon shown when the menu item has a submenu. Defaults to a chevron icon.
|
|
18
18
|
*
|
|
19
|
+
* @attr {boolean} no-uncheck - When `type` is `checkbox`, activating the item does not clear `checked` when it is already checked. Parent `cx-menu` may set `no-uncheck` to apply the same behavior to every checkbox item in that menu.
|
|
19
20
|
* @attr {string} submenu-placement - The placement of the submenu relative to the menu item. When not set, uses RTL-aware positioning ('left-start' in RTL, 'right-start' in LTR).
|
|
20
21
|
* @attr {'prefix' | 'suffix'} check-placement - Placement of the built-in checked icon relative to the label. Defaults to `suffix`. When set to `suffix` on an item that also has a submenu, the check icon renders after the submenu chevron.
|
|
21
22
|
*
|
|
@@ -48,6 +49,11 @@ export default class CxMenuItem extends CortexElement {
|
|
|
48
49
|
submenuTrigger: 'hover' | 'click' | 'both';
|
|
49
50
|
/** Draws the item in a checked state. */
|
|
50
51
|
checked: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* For `type="checkbox"`, the parent menu toggles `checked` on activate. When the item is already checked, it stays
|
|
54
|
+
* checked instead of toggling off if this item has `no-uncheck`, or if the hosting `cx-menu` has `no-uncheck`.
|
|
55
|
+
*/
|
|
56
|
+
noUncheck: boolean;
|
|
51
57
|
/** A unique value to store in the menu item. This can be used as a way to identify menu items when selected. */
|
|
52
58
|
value: string;
|
|
53
59
|
/** When set, the underlying menu item will be rendered as an `<a>` with this `href`. */
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styles for cells in columns with `clickable: true`. Renders text with a
|
|
3
|
+
* link-like appearance (primary color, underline on hover) without using a
|
|
4
|
+
* real anchor element. Consumers can override the text color via the
|
|
5
|
+
* `--clickable-cell-color` CSS custom property. For more involved styling
|
|
6
|
+
* (font, padding, background) configure the column directly via `cssClass`,
|
|
7
|
+
* `textFormatParams`, or a custom `formatter`.
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: import('lit').CSSResult;
|
|
10
|
+
export default _default;
|
|
@@ -51,6 +51,7 @@ import { CxTableRowActions, CxTableToolbar } from './components';
|
|
|
51
51
|
* @cssproperty [--placeholder-font-weight=var(--cx-font-weight-regular)] - The font weight of the table placeholder.
|
|
52
52
|
* @cssproperty [--placeholder-font-size=var(--cx-font-size-medium-large)] - The font size of the table placeholder.
|
|
53
53
|
* @cssproperty [--hover-menu-background-color=var(--cx-color-neutral-50)] - The background color of the table hover menu.
|
|
54
|
+
* @cssproperty [--clickable-cell-color=var(--cx-color-primary-600)] - Text color for cells in columns with `clickable: true`.
|
|
54
55
|
* @cssproperty [--table-selected-only-cell-background-color=transparent] - The background color of a single selected cell.
|
|
55
56
|
* @cssproperty [--table-selected-range-cell-background-color=var(--cx-color-neutral-100)] - The background color of selected cells within a range.
|
|
56
57
|
* @cssproperty [--table-active-cell-border-color=var(--cx-color-neutral-200)] - The border color of the active/hover range overlay cell outline.
|
|
@@ -13,6 +13,7 @@ export default class ResizableElement extends HighlightableElement {
|
|
|
13
13
|
heightMode: HeightMode;
|
|
14
14
|
/** Whether the image should be resized without a limit */
|
|
15
15
|
noLimit: boolean;
|
|
16
|
+
parentContainer: HTMLElement | null;
|
|
16
17
|
protected isResizeActive: boolean;
|
|
17
18
|
protected isResizing: boolean;
|
|
18
19
|
protected resizeSize: {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type CxFindAndReplaceActionDetail = {
|
|
2
|
+
findInSelection: boolean;
|
|
3
|
+
findText: string;
|
|
4
|
+
matchCase: boolean;
|
|
5
|
+
replaceText: string;
|
|
6
|
+
wholeWord: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type CxFindAndReplaceNavigateDetail = {
|
|
9
|
+
findInSelection: boolean;
|
|
10
|
+
findText: string;
|
|
11
|
+
matchCase: boolean;
|
|
12
|
+
wholeWord: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type CxFindAndReplaceFindEvent = CustomEvent<CxFindAndReplaceActionDetail>;
|
|
15
|
+
export type CxFindAndReplaceReplaceEvent = CustomEvent<CxFindAndReplaceActionDetail>;
|
|
16
|
+
export type CxFindAndReplaceReplaceAllEvent = CustomEvent<CxFindAndReplaceActionDetail>;
|
|
17
|
+
export type CxFindAndReplacePreviousEvent = CustomEvent<CxFindAndReplaceNavigateDetail>;
|
|
18
|
+
export type CxFindAndReplaceNextEvent = CustomEvent<CxFindAndReplaceNavigateDetail>;
|
|
19
|
+
export type CxFindAndReplaceFindInSelectionChangeDetail = {
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
};
|
|
22
|
+
export type CxFindAndReplaceFindInSelectionChangeEvent = CustomEvent<CxFindAndReplaceFindInSelectionChangeDetail>;
|
|
23
|
+
declare global {
|
|
24
|
+
interface GlobalEventHandlersEventMap {
|
|
25
|
+
'cx-find-and-replace-find': CxFindAndReplaceFindEvent;
|
|
26
|
+
'cx-find-and-replace-find-in-selection-change': CxFindAndReplaceFindInSelectionChangeEvent;
|
|
27
|
+
'cx-find-and-replace-next': CxFindAndReplaceNextEvent;
|
|
28
|
+
'cx-find-and-replace-previous': CxFindAndReplacePreviousEvent;
|
|
29
|
+
'cx-find-and-replace-replace': CxFindAndReplaceReplaceEvent;
|
|
30
|
+
'cx-find-and-replace-replace-all': CxFindAndReplaceReplaceAllEvent;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fired before the toolbar opens its link dialog so hosts can run custom UI instead.
|
|
3
|
+
* `detail.editor` is the Tiptap `Editor` instance from `@tiptap/core`.
|
|
4
|
+
*/
|
|
5
|
+
export type CxLinkRequestEvent = CustomEvent<{
|
|
6
|
+
editor: unknown;
|
|
7
|
+
}>;
|
|
8
|
+
declare global {
|
|
9
|
+
interface GlobalEventHandlersEventMap {
|
|
10
|
+
'cx-link-request': CxLinkRequestEvent;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type CxRichTextAnchorApplyRequestDetail = {
|
|
2
|
+
anchorId: string;
|
|
3
|
+
};
|
|
4
|
+
export type CxRichTextAnchorApplyRequestEvent = CustomEvent<CxRichTextAnchorApplyRequestDetail>;
|
|
5
|
+
declare global {
|
|
6
|
+
interface GlobalEventHandlersEventMap {
|
|
7
|
+
'cx-rich-text-anchor-apply-request': CxRichTextAnchorApplyRequestEvent;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text-image-dialog` when the user confirms save. The host applies `attrs` to the document
|
|
3
|
+
* (insert at selection when `editPos` is `null`, otherwise `setNodeMarkup` at `editPos`).
|
|
4
|
+
*/
|
|
5
|
+
export type CxRichTextImageSaveDetail = {
|
|
6
|
+
attrs: {
|
|
7
|
+
alt: string | null;
|
|
8
|
+
enableCaption: boolean;
|
|
9
|
+
height: string | null;
|
|
10
|
+
imgStyle: string | null;
|
|
11
|
+
keepAspRt: boolean;
|
|
12
|
+
src: string;
|
|
13
|
+
title: string | null;
|
|
14
|
+
width: string | null;
|
|
15
|
+
};
|
|
16
|
+
editPos: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type CxRichTextImageSaveEvent = CustomEvent<CxRichTextImageSaveDetail>;
|
|
19
|
+
declare global {
|
|
20
|
+
interface GlobalEventHandlersEventMap {
|
|
21
|
+
'cx-rich-text-image-save': CxRichTextImageSaveEvent;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text-link-dialog` when the user saves. The host runs TipTap link commands for the current
|
|
3
|
+
* selection (`extendMarkRange`, `unsetLink`, or `insertContentAt` with link mark).
|
|
4
|
+
*/
|
|
5
|
+
export type CxRichTextLinkSaveDetail = {
|
|
6
|
+
displayText: string;
|
|
7
|
+
href: string;
|
|
8
|
+
kind: 'apply';
|
|
9
|
+
openInNewTab: boolean;
|
|
10
|
+
title: string;
|
|
11
|
+
} | {
|
|
12
|
+
kind: 'remove';
|
|
13
|
+
};
|
|
14
|
+
export type CxRichTextLinkSaveEvent = CustomEvent<CxRichTextLinkSaveDetail>;
|
|
15
|
+
declare global {
|
|
16
|
+
interface GlobalEventHandlersEventMap {
|
|
17
|
+
'cx-rich-text-link-save': CxRichTextLinkSaveEvent;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text-toolbar` when the user toggles native browser spellcheck from the Edit menu.
|
|
3
|
+
* `detail.enabled` is the new value for the ProseMirror root `spellcheck` attribute.
|
|
4
|
+
*/
|
|
5
|
+
export type CxRichTextNativeSpellcheckChangeEvent = CustomEvent<{
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
declare global {
|
|
9
|
+
interface GlobalEventHandlersEventMap {
|
|
10
|
+
'cx-rich-text-native-spellcheck-change': CxRichTextNativeSpellcheckChangeEvent;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text` when tracked suggestion nodes change in the document
|
|
3
|
+
* (on any transaction where the doc changes while `feat-suggestion` is active).
|
|
4
|
+
* `detail.nodes` is the current list of suggestion DOM nodes.
|
|
5
|
+
*/
|
|
6
|
+
export type CxRichTextReviewNodeCreatedEvent = CustomEvent<{
|
|
7
|
+
nodes: HTMLElement[];
|
|
8
|
+
}>;
|
|
9
|
+
declare global {
|
|
10
|
+
interface GlobalEventHandlersEventMap {
|
|
11
|
+
'cx-rich-text-review-node-created': CxRichTextReviewNodeCreatedEvent;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type CxRichTextReviewSelectionChangedEvent = CustomEvent<{
|
|
2
|
+
collapsed: boolean;
|
|
3
|
+
containsSuggestion: boolean;
|
|
4
|
+
pageX: number;
|
|
5
|
+
pageY: number;
|
|
6
|
+
}>;
|
|
7
|
+
declare global {
|
|
8
|
+
interface GlobalEventHandlersEventMap {
|
|
9
|
+
'cx-rich-text-review-selection-changed': CxRichTextReviewSelectionChangedEvent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text` when the pointer hovers tracked suggestion content.
|
|
3
|
+
* `detail.id` is the resolved suggestion action id from `data-cid`.
|
|
4
|
+
*/
|
|
5
|
+
export type CxRichTextSuggestionHoverEvent = CustomEvent<{
|
|
6
|
+
id: string;
|
|
7
|
+
}>;
|
|
8
|
+
declare global {
|
|
9
|
+
interface GlobalEventHandlersEventMap {
|
|
10
|
+
'cx-rich-text-suggestion-hover': CxRichTextSuggestionHoverEvent;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text-table-cell-dialog` when the user saves. The host runs
|
|
3
|
+
* `updateAttributes(cellType, { class, style })` for the current table cell/header selection.
|
|
4
|
+
*/
|
|
5
|
+
export type CxRichTextTableCellSaveDetail = {
|
|
6
|
+
cellType: 'tableCell' | 'tableHeader';
|
|
7
|
+
class: string | null;
|
|
8
|
+
style: string;
|
|
9
|
+
};
|
|
10
|
+
export type CxRichTextTableCellSaveEvent = CustomEvent<CxRichTextTableCellSaveDetail>;
|
|
11
|
+
declare global {
|
|
12
|
+
interface GlobalEventHandlersEventMap {
|
|
13
|
+
'cx-rich-text-table-cell-save': CxRichTextTableCellSaveEvent;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text-table-dialog` when the user saves. The host runs
|
|
3
|
+
* `applyTableProperties({ align, classes, indent, styles })` for the selected table node.
|
|
4
|
+
*/
|
|
5
|
+
export type CxRichTextTableSaveDetail = {
|
|
6
|
+
align: string;
|
|
7
|
+
class: string | null;
|
|
8
|
+
indent: string;
|
|
9
|
+
style: string;
|
|
10
|
+
};
|
|
11
|
+
export type CxRichTextTableSaveEvent = CustomEvent<CxRichTextTableSaveDetail>;
|
|
12
|
+
declare global {
|
|
13
|
+
interface GlobalEventHandlersEventMap {
|
|
14
|
+
'cx-rich-text-table-save': CxRichTextTableSaveEvent;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text-video-dialog` when the user confirms save. The host runs `setVideo` when `editPos` is
|
|
3
|
+
* `null`, otherwise `setNodeMarkup` at `editPos` with `attrs`.
|
|
4
|
+
*/
|
|
5
|
+
export type CxRichTextVideoSaveAttrs = {
|
|
6
|
+
comment: null;
|
|
7
|
+
controls: boolean;
|
|
8
|
+
height: string;
|
|
9
|
+
keepAspRt: boolean;
|
|
10
|
+
poster: string | null;
|
|
11
|
+
sources: Array<{
|
|
12
|
+
src: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
}>;
|
|
15
|
+
style: null;
|
|
16
|
+
track: unknown[];
|
|
17
|
+
width: string;
|
|
18
|
+
};
|
|
19
|
+
export type CxRichTextVideoSaveDetail = {
|
|
20
|
+
attrs: CxRichTextVideoSaveAttrs;
|
|
21
|
+
editPos: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type CxRichTextVideoSaveEvent = CustomEvent<CxRichTextVideoSaveDetail>;
|
|
24
|
+
declare global {
|
|
25
|
+
interface GlobalEventHandlersEventMap {
|
|
26
|
+
'cx-rich-text-video-save': CxRichTextVideoSaveEvent;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-special-characters-dialog` when the user picks a character. The host inserts the
|
|
3
|
+
* string at the Tiptap selection (e.g. `insertContent`).
|
|
4
|
+
*/
|
|
5
|
+
export type CxSpecialCharactersInsertDetail = {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
export type CxSpecialCharactersInsertEvent = CustomEvent<CxSpecialCharactersInsertDetail>;
|
|
9
|
+
declare global {
|
|
10
|
+
interface GlobalEventHandlersEventMap {
|
|
11
|
+
'cx-special-characters-insert': CxSpecialCharactersInsertEvent;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text-code-block` so the TipTap code-block extension can apply
|
|
3
|
+
* document changes (`setNodeSelection`, `setNodeMarkup` for language, Prism refresh meta)
|
|
4
|
+
* without the component holding an `Editor` reference.
|
|
5
|
+
*/
|
|
6
|
+
export type CxTiptapCodeBlockDocRequestDetail = {
|
|
7
|
+
operation: 'request-prism-refresh';
|
|
8
|
+
} | {
|
|
9
|
+
operation: 'set-node-selection';
|
|
10
|
+
} | {
|
|
11
|
+
language: string;
|
|
12
|
+
operation: 'set-language';
|
|
13
|
+
};
|
|
14
|
+
export type CxTiptapCodeBlockDocRequestEvent = CustomEvent<CxTiptapCodeBlockDocRequestDetail>;
|
|
15
|
+
declare global {
|
|
16
|
+
interface GlobalEventHandlersEventMap {
|
|
17
|
+
'cx-tiptap-code-block-doc-request': CxTiptapCodeBlockDocRequestEvent;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text-image-viewer` so the TipTap image extension plugin can apply document changes
|
|
3
|
+
* (`setNodeMarkup`, upload retry, etc.) without the viewer holding an `Editor` reference.
|
|
4
|
+
*/
|
|
5
|
+
export type CxTiptapImageDocRequestDetail = {
|
|
6
|
+
attrs: Record<string, unknown>;
|
|
7
|
+
operation: 'merge-attrs';
|
|
8
|
+
} | {
|
|
9
|
+
height: string;
|
|
10
|
+
operation: 'resize-end';
|
|
11
|
+
width: string;
|
|
12
|
+
} | {
|
|
13
|
+
height: number;
|
|
14
|
+
operation: 'fix-size';
|
|
15
|
+
width: number;
|
|
16
|
+
} | {
|
|
17
|
+
operation: 'retry-remote-upload';
|
|
18
|
+
};
|
|
19
|
+
export type CxTiptapImageDocRequestEvent = CustomEvent<CxTiptapImageDocRequestDetail>;
|
|
20
|
+
declare global {
|
|
21
|
+
interface GlobalEventHandlersEventMap {
|
|
22
|
+
'cx-tiptap-image-doc-request': CxTiptapImageDocRequestEvent;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by the TipTap image plugin onto the originating `cx-rich-text-image-viewer` after async upload work.
|
|
3
|
+
*/
|
|
4
|
+
export type CxTiptapImageHostFeedbackDetail = {
|
|
5
|
+
operation: 'upload';
|
|
6
|
+
status: 'error' | 'idle' | 'loading' | 'success';
|
|
7
|
+
};
|
|
8
|
+
export type CxTiptapImageHostFeedbackEvent = CustomEvent<CxTiptapImageHostFeedbackDetail>;
|
|
9
|
+
declare global {
|
|
10
|
+
interface GlobalEventHandlersEventMap {
|
|
11
|
+
'cx-tiptap-image-host-feedback': CxTiptapImageHostFeedbackEvent;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by `cx-rich-text-video-viewer` so the TipTap video extension plugin can apply document changes
|
|
3
|
+
* (`setNodeMarkup`, etc.) without the viewer holding an `Editor` reference.
|
|
4
|
+
*/
|
|
5
|
+
export type CxTiptapVideoDocRequestDetail = {
|
|
6
|
+
attrs: Record<string, unknown>;
|
|
7
|
+
operation: 'merge-attrs';
|
|
8
|
+
} | {
|
|
9
|
+
height: string;
|
|
10
|
+
operation: 'resize-end';
|
|
11
|
+
width: string;
|
|
12
|
+
} | {
|
|
13
|
+
height: number;
|
|
14
|
+
operation: 'fix-size';
|
|
15
|
+
width: number;
|
|
16
|
+
} | {
|
|
17
|
+
operation: 'retry-remote-upload';
|
|
18
|
+
};
|
|
19
|
+
export type CxTiptapVideoDocRequestEvent = CustomEvent<CxTiptapVideoDocRequestDetail>;
|
|
20
|
+
declare global {
|
|
21
|
+
interface GlobalEventHandlersEventMap {
|
|
22
|
+
'cx-tiptap-video-doc-request': CxTiptapVideoDocRequestEvent;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dispatched by the TipTap video plugin onto the originating `cx-rich-text-video-viewer` after async work.
|
|
3
|
+
*/
|
|
4
|
+
export type CxTiptapVideoHostFeedbackDetail = {
|
|
5
|
+
operation: 'upload';
|
|
6
|
+
status: 'error' | 'idle' | 'loading' | 'success';
|
|
7
|
+
};
|
|
8
|
+
export type CxTiptapVideoHostFeedbackEvent = CustomEvent<CxTiptapVideoHostFeedbackDetail>;
|
|
9
|
+
declare global {
|
|
10
|
+
interface GlobalEventHandlersEventMap {
|
|
11
|
+
'cx-tiptap-video-host-feedback': CxTiptapVideoHostFeedbackEvent;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -27,6 +27,7 @@ export * from './cx-clear';
|
|
|
27
27
|
export * from './cx-clear-cache';
|
|
28
28
|
export * from './cx-clear-upload';
|
|
29
29
|
export * from './cx-close';
|
|
30
|
+
export * from './cx-code-block-language-change';
|
|
30
31
|
export * from './cx-collapse';
|
|
31
32
|
export * from './cx-color-swatch-picker-add';
|
|
32
33
|
export * from './cx-color-swatch-picker-edit';
|
|
@@ -62,6 +63,7 @@ export * from './cx-export-settings';
|
|
|
62
63
|
export * from './cx-file-on-demand-load-more';
|
|
63
64
|
export * from './cx-file-on-demand-pin';
|
|
64
65
|
export * from './cx-file-on-demand-unpin';
|
|
66
|
+
export * from './cx-find-and-replace';
|
|
65
67
|
export * from './cx-finish';
|
|
66
68
|
export * from './cx-focus';
|
|
67
69
|
export * from './cx-folder-select-search-term-change';
|
|
@@ -88,6 +90,7 @@ export * from './cx-invoked';
|
|
|
88
90
|
export * from './cx-keydown';
|
|
89
91
|
export * from './cx-lazy-change';
|
|
90
92
|
export * from './cx-lazy-load';
|
|
93
|
+
export * from './cx-link-request';
|
|
91
94
|
export * from './cx-list-editor-change';
|
|
92
95
|
export * from './cx-load';
|
|
93
96
|
export * from './cx-mark-favorite';
|
|
@@ -114,6 +117,22 @@ export * from './cx-request-close';
|
|
|
114
117
|
export * from './cx-resize';
|
|
115
118
|
export * from './cx-resume-upload';
|
|
116
119
|
export * from './cx-retry-upload';
|
|
120
|
+
export * from './cx-rich-text-anchor-apply-request';
|
|
121
|
+
export * from './cx-rich-text-blur';
|
|
122
|
+
export * from './cx-rich-text-change';
|
|
123
|
+
export * from './cx-rich-text-click';
|
|
124
|
+
export * from './cx-rich-text-focus';
|
|
125
|
+
export * from './cx-rich-text-image-drop';
|
|
126
|
+
export * from './cx-rich-text-image-save';
|
|
127
|
+
export * from './cx-rich-text-link-save';
|
|
128
|
+
export * from './cx-rich-text-native-spellcheck-change';
|
|
129
|
+
export * from './cx-rich-text-review-layout-refresh';
|
|
130
|
+
export * from './cx-rich-text-review-node-created';
|
|
131
|
+
export * from './cx-rich-text-review-selection-changed';
|
|
132
|
+
export * from './cx-rich-text-suggestion-hover';
|
|
133
|
+
export * from './cx-rich-text-table-cell-save';
|
|
134
|
+
export * from './cx-rich-text-table-save';
|
|
135
|
+
export * from './cx-rich-text-video-save';
|
|
117
136
|
export * from './cx-save';
|
|
118
137
|
export * from './cx-save-settings';
|
|
119
138
|
export * from './cx-sb-button-click';
|
|
@@ -124,6 +143,7 @@ export * from './cx-selection-change';
|
|
|
124
143
|
export * from './cx-shadow-input-group-change';
|
|
125
144
|
export * from './cx-share-option-list-item-selected';
|
|
126
145
|
export * from './cx-show';
|
|
146
|
+
export * from './cx-special-characters-insert';
|
|
127
147
|
export * from './cx-slide-change';
|
|
128
148
|
export * from './cx-start';
|
|
129
149
|
export * from './cx-swatch-add';
|
|
@@ -136,6 +156,11 @@ export * from './cx-table-row-action-click';
|
|
|
136
156
|
export * from './cx-table-save-search-select';
|
|
137
157
|
export * from './cx-time-based-change';
|
|
138
158
|
export * from './cx-time-update';
|
|
159
|
+
export * from './cx-tiptap-code-block-doc-request';
|
|
160
|
+
export * from './cx-tiptap-image-doc-request';
|
|
161
|
+
export * from './cx-tiptap-image-host-feedback';
|
|
162
|
+
export * from './cx-tiptap-video-doc-request';
|
|
163
|
+
export * from './cx-tiptap-video-host-feedback';
|
|
139
164
|
export * from './cx-typeface-change';
|
|
140
165
|
export * from './cx-typeface-download';
|
|
141
166
|
export * from './cx-unauthorized';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { default as AccessibilityModule } from '../../modules/Accessibility/Accessibility';
|
|
2
|
+
export { default as ClickableCellModule } from '../../modules/ClickableCell/ClickableCell';
|
|
3
|
+
export { default as HoverMenuModule } from '../../modules/HoverMenu/HoverMenu';
|
|
2
4
|
export { default as AccessorModule } from '../../modules/Accessor/Accessor';
|
|
3
5
|
export { default as AjaxModule } from '../../modules/Ajax/Ajax';
|
|
4
6
|
export { default as ClipboardModule } from '../../modules/Clipboard/Clipboard';
|