@onereach/ui-components 4.1.0-beta.2511.0 → 4.1.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/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +8 -1
- package/dist/bundled/v2/components/OrButtonV3/styles.js +3 -1
- package/dist/bundled/v2/components/OrCode/OrCode.js +3727 -5
- package/dist/bundled/v2/components/OrCode/index.js +2 -5
- package/dist/bundled/v2/components/OrCode/lang.js +3 -3897
- package/dist/bundled/v2/components/OrCode/theme.js +1 -2
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +8 -1
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +2 -14
- package/dist/bundled/v2/hooks/useElevation.js +3 -3
- package/dist/bundled/v2/{index-f5487f12.js → index-6976c52a.js} +115 -3
- package/dist/bundled/v2/index.js +5 -17
- package/dist/bundled/v2/{index-70ca38c5.js → lang-02d2bb2d.js} +3965 -73
- package/dist/bundled/v2/utils/isVisible.js +1 -1
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-1489a97d.js → OrBottomSheet.vue_vue_type_script_lang-01d7c429.js} +9 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-606eede5.js → OrCardCollection.vue_vue_type_script_lang-843e396a.js} +4 -4
- package/dist/bundled/v3/{index-16aee5bc.js → OrCode.vue_vue_type_script_lang-c5a9adb7.js} +234 -14
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-7d9bcdc4.js → OrConfirm.vue_vue_type_script_lang-d069c95f.js} +3 -3
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-42a8285c.js → OrIconButton.vue_vue_type_script_lang-41f12b45.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-6b0f4112.js → OrInlineInput.vue_vue_type_script_lang-2b485aef.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-6a7a22a3.js → OrInlineTextarea.vue_vue_type_script_lang-aa848373.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-60b49ebd.js → OrInput.vue_vue_type_script_lang-fe526531.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-2676b9cc.js → OrMenu.vue_vue_type_script_lang-4772731e.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-9ed0d5c2.js → OrModal.vue_vue_type_script_lang-265f39e0.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-9bd9811a.js → OrNotification.vue_vue_type_script_lang-1b2d17a2.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-b08cc71a.js → OrPagination.vue_vue_type_script_lang-ddef5272.js} +2 -2
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-a9419b58.js → OrPopover.vue_vue_type_script_lang-9d3a7c2d.js} +9 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-3613e38d.js → OrSearch.vue_vue_type_script_lang-36ad17a9.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-262351de.js → OrSelect.vue_vue_type_script_lang-410f4efc.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-198126ca.js → OrSidebar.vue_vue_type_script_lang-ed7c92fb.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-b723fa78.js → OrTabs.vue_vue_type_script_lang-4f5e0d90.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-9deddfc8.js → OrTag.vue_vue_type_script_lang-fbc19deb.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-703eaacb.js → OrTooltip.vue_vue_type_script_lang-b35199da.js} +1 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +3 -3
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +2 -2
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v3/components/OrButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrButtonV3/styles.js +3 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +11 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +10 -10
- package/dist/bundled/v3/components/OrCode/OrCode.js +5 -8
- package/dist/bundled/v3/components/OrCode/index.js +3 -6
- package/dist/bundled/v3/components/OrCode/lang.js +3 -3897
- package/dist/bundled/v3/components/OrCode/theme.js +1 -2
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +9 -9
- package/dist/bundled/v3/components/OrConfirmV3/index.js +8 -8
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +6 -6
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +5 -5
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +7 -7
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +6 -6
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +7 -7
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +6 -6
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +7 -7
- package/dist/bundled/v3/components/OrInputV3/index.js +6 -6
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +5 -5
- package/dist/bundled/v3/components/OrMenuV3/index.js +4 -4
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +7 -7
- package/dist/bundled/v3/components/OrModalV3/index.js +6 -6
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +7 -7
- package/dist/bundled/v3/components/OrNotificationV3/index.js +6 -6
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +7 -7
- package/dist/bundled/v3/components/OrPaginationV3/index.js +6 -6
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +4 -4
- package/dist/bundled/v3/components/OrPopoverV3/index.js +3 -3
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +8 -8
- package/dist/bundled/v3/components/OrSearchV3/index.js +7 -7
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +9 -9
- package/dist/bundled/v3/components/OrSelectV3/index.js +8 -8
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +7 -7
- package/dist/bundled/v3/components/OrSidebarV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +6 -6
- package/dist/bundled/v3/components/OrTabsV3/index.js +5 -5
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +7 -7
- package/dist/bundled/v3/components/OrTagV3/index.js +6 -6
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +7 -7
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +6 -6
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +5 -5
- package/dist/bundled/v3/components/OrToastV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +5 -5
- package/dist/bundled/v3/components/OrTooltipV3/index.js +4 -4
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +24 -37
- package/dist/bundled/v3/hooks/useElevation.js +3 -3
- package/dist/bundled/v3/{index-f5487f12.js → index-6976c52a.js} +115 -3
- package/dist/bundled/v3/index.js +27 -40
- package/dist/bundled/v3/{index-70ca38c5.js → lang-02d2bb2d.js} +3965 -73
- package/dist/bundled/v3/utils/isVisible.js +1 -1
- package/dist/esm/v2/{OrBottomSheet-29df8db9.js → OrBottomSheet-2d3d8fbc.js} +9 -2
- package/dist/esm/v2/{OrButton-236d9c2e.js → OrButton-6b60a776.js} +3 -1
- package/dist/esm/v2/{OrCardCollection-97167234.js → OrCardCollection-6b43a9b2.js} +5 -5
- package/dist/esm/v2/{OrConfirm-cd41987e.js → OrConfirm-92e39afe.js} +3 -3
- package/dist/esm/v2/{OrIconButton-a9db16fa.js → OrIconButton-fbe52eb8.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-79c86e6a.js → OrInlineInput-50bf7e7c.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-3e24548d.js → OrInlineTextarea-78b8aa48.js} +1 -1
- package/dist/esm/v2/{OrInput-044a9c85.js → OrInput-6370bd94.js} +1 -1
- package/dist/esm/v2/{OrMenu-47b319a6.js → OrMenu-fce31ed4.js} +1 -1
- package/dist/esm/v2/{OrModal-fa99b102.js → OrModal-77d6cf30.js} +2 -2
- package/dist/esm/v2/{OrNotification-6411c891.js → OrNotification-2b2d81d5.js} +1 -1
- package/dist/esm/v2/{OrOverlay-2ce3cfd7.js → OrOverlay-b1609eef.js} +1 -1
- package/dist/esm/v2/{OrPagination-28ad44a3.js → OrPagination-ad0e1d23.js} +3 -3
- package/dist/esm/v2/{OrPopover-83c885d0.js → OrPopover-9df5572b.js} +10 -3
- package/dist/esm/v2/{OrSearch-83631294.js → OrSearch-a3038272.js} +1 -1
- package/dist/esm/v2/{OrSelect-affebf55.js → OrSelect-209a7a2c.js} +3 -3
- package/dist/esm/v2/{OrSidebar-9834d431.js → OrSidebar-26785a1e.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-3275b9dd.js → OrSidebarCollapseButton-9c424133.js} +1 -1
- package/dist/esm/v2/{OrTabs-f0e4db08.js → OrTabs-58881ef9.js} +2 -2
- package/dist/esm/v2/{OrTag-ca297170.js → OrTag-e9761c21.js} +1 -1
- package/dist/esm/v2/{OrTooltip-2c09dcaf.js → OrTooltip-82c59279.js} +1 -1
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +23 -47
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -3
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v2/components/or-confirm-v3/index.js +9 -9
- package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -6
- package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -7
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/esm/v2/components/or-input-v3/index.js +7 -7
- package/dist/esm/v2/components/or-menu-v3/index.js +5 -5
- package/dist/esm/v2/components/or-modal-v3/index.js +7 -7
- package/dist/esm/v2/components/or-notification-v3/index.js +7 -7
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +7 -7
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -4
- package/dist/esm/v2/components/or-search-v3/index.js +8 -8
- package/dist/esm/v2/components/or-select-v3/index.js +9 -9
- package/dist/esm/v2/components/or-sidebar-v3/index.js +8 -8
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +7 -7
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -7
- package/dist/esm/v2/components/or-tabs-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tag-v3/index.js +7 -7
- package/dist/esm/v2/components/or-toast-v3/index.js +7 -7
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +7 -7
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -5
- package/dist/esm/v2/hooks/index.js +1 -1
- package/dist/esm/v2/index.js +23 -47
- package/dist/esm/v2/{types-9b09f101.js → types-707995c5.js} +1 -1
- package/dist/esm/{v3/useElevation-92fce12c.js → v2/useElevation-df91fa50.js} +4 -4
- package/dist/esm/v3/{OrBottomSheet-0f24ecae.js → OrBottomSheet-95bc694e.js} +9 -2
- package/dist/esm/v3/{OrButton-b9bab32c.js → OrButton-8558588c.js} +3 -1
- package/dist/esm/v3/{OrCardCollection-5415b71b.js → OrCardCollection-631cb8e3.js} +5 -5
- package/dist/esm/v3/{OrConfirm-d7a152ab.js → OrConfirm-b0c7f796.js} +3 -3
- package/dist/esm/v3/{OrIconButton-65e83586.js → OrIconButton-786b9346.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-2def321a.js → OrInlineInput-ca82ccc3.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-6d38a261.js → OrInlineTextarea-864f1099.js} +1 -1
- package/dist/esm/v3/{OrInput-a7cbc8b9.js → OrInput-a43b53d2.js} +1 -1
- package/dist/esm/v3/{OrMenu-053a9ab7.js → OrMenu-f8132f3e.js} +1 -1
- package/dist/esm/v3/{OrModal-81dc4dcd.js → OrModal-cb236842.js} +2 -2
- package/dist/esm/v3/{OrNotification-da37f927.js → OrNotification-45b47899.js} +1 -1
- package/dist/esm/v3/{OrOverlay-7cf03aea.js → OrOverlay-d63d39c3.js} +1 -1
- package/dist/esm/v3/{OrPagination-f54ad672.js → OrPagination-1e334ccd.js} +3 -3
- package/dist/esm/v3/{OrPopover-3ac8f589.js → OrPopover-d6d82a06.js} +10 -3
- package/dist/esm/v3/{OrSearch-06f01165.js → OrSearch-d5d46937.js} +1 -1
- package/dist/esm/v3/{OrSelect-eab4bc19.js → OrSelect-f2911b60.js} +3 -3
- package/dist/esm/v3/{OrSidebar-bb1f7ea4.js → OrSidebar-0d715029.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-f2390f52.js → OrSidebarCollapseButton-4d7497ec.js} +1 -1
- package/dist/esm/v3/{OrTabs-d9e2a07e.js → OrTabs-f667cf9f.js} +2 -2
- package/dist/esm/v3/{OrTag-e8c12288.js → OrTag-dc1b8628.js} +1 -1
- package/dist/esm/v3/{OrTooltip-d91128f4.js → OrTooltip-56ed42c7.js} +1 -1
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +23 -47
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -3
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v3/components/or-confirm-v3/index.js +9 -9
- package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -6
- package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -7
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/esm/v3/components/or-input-v3/index.js +7 -7
- package/dist/esm/v3/components/or-menu-v3/index.js +5 -5
- package/dist/esm/v3/components/or-modal-v3/index.js +7 -7
- package/dist/esm/v3/components/or-notification-v3/index.js +7 -7
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +7 -7
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -4
- package/dist/esm/v3/components/or-search-v3/index.js +8 -8
- package/dist/esm/v3/components/or-select-v3/index.js +9 -9
- package/dist/esm/v3/components/or-sidebar-v3/index.js +8 -8
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -7
- package/dist/esm/v3/components/or-tabs-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tag-v3/index.js +7 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +7 -7
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +7 -7
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -5
- package/dist/esm/v3/hooks/index.js +1 -1
- package/dist/esm/v3/index.js +23 -47
- package/dist/esm/v3/{types-0e3ddb0f.js → types-71d7c1df.js} +1 -1
- package/dist/esm/{v2/useElevation-92fce12c.js → v3/useElevation-df91fa50.js} +4 -4
- package/package.json +5 -25
- package/src/components/index.ts +0 -1
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +7 -1
- package/src/components/or-button-v3/styles.ts +6 -2
- package/src/components/or-popover-v3/OrPopover.vue +7 -1
- package/src/hooks/useElevation.ts +3 -2
- package/src/utils/isVisible.ts +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -2036
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -181
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/index.js +0 -67
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.d.ts +0 -6
- package/dist/bundled/v2/components/OrRichTextEditorV3/styles.js +0 -38
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -45
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/markdown.js +0 -5
- package/dist/bundled/v2/index-16aee5bc.js +0 -3740
- package/dist/bundled/v2/index-62c3221b.js +0 -6956
- package/dist/bundled/v2/index.es-3f39f316.js +0 -115
- package/dist/bundled/v2/markdown-00716a39.js +0 -18683
- package/dist/bundled/v2/tiptap-core.esm-f85402b1.js +0 -9360
- package/dist/bundled/v3/OrCode.vue_vue_type_script_lang-f9e835d0.js +0 -236
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-eb03c076.js +0 -1813
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +0 -226
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.vue.d.ts +0 -181
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +0 -83
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.d.ts +0 -6
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +0 -38
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +0 -45
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +0 -184
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.d.ts +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +0 -5
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.d.ts +0 -24
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +0 -190
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.d.ts +0 -19
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/types.js +0 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.d.ts +0 -3
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +0 -5
- package/dist/bundled/v3/index-62c3221b.js +0 -6956
- package/dist/bundled/v3/index.es-3f39f316.js +0 -115
- package/dist/bundled/v3/markdown-00716a39.js +0 -18683
- package/dist/bundled/v3/tiptap-core.esm-f85402b1.js +0 -9360
- package/dist/esm/v2/OrRichTextEditor-93ace5e2.js +0 -716
- package/dist/esm/v2/codemirrorView-be2c7423.js +0 -353
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -181
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +0 -58
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
- package/dist/esm/v2/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
- package/dist/esm/v3/OrRichTextEditor-d99a44df.js +0 -680
- package/dist/esm/v3/codemirrorView-be2c7423.js +0 -353
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -181
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +0 -56
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -6
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -3
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -27
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -1
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/index.js +0 -7
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -24
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -19
- package/dist/esm/v3/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -3
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -7
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -79
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -622
- package/src/components/or-rich-text-editor-v3/index.ts +0 -1
- package/src/components/or-rich-text-editor-v3/styles.ts +0 -64
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.ts +0 -40
- package/src/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.ts +0 -254
- package/src/components/or-rich-text-editor-v3/utils/codemirror/index.ts +0 -1
- package/src/components/or-rich-text-editor-v3/utils/codemirror/theme.ts +0 -213
- package/src/components/or-rich-text-editor-v3/utils/codemirror/types.ts +0 -22
- package/src/components/or-rich-text-editor-v3/utils/markdown.ts +0 -110
- /package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-fe412ca5.js → OrButton.vue_vue_type_script_lang-5650b394.js} +0 -0
- /package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-30f62546.js → OrOverlay.vue_vue_type_script_lang-47004a50.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-117ff0b8.js → OrToastContainer.vue_vue_type_script_lang-96bc2f19.js} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { E as EditorView,
|
|
2
|
-
import '../../index.es-3f39f316.js';
|
|
1
|
+
import { E as EditorView, ar as HighlightStyle, aa as tags, L as syntaxHighlighting } from '../../index-6976c52a.js';
|
|
3
2
|
|
|
4
3
|
// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors
|
|
5
4
|
const chalky = 'var(--c-warning-darken-20)',
|
|
@@ -160,7 +160,14 @@ var script = defineComponent({
|
|
|
160
160
|
});
|
|
161
161
|
// #region Click Outside
|
|
162
162
|
const trigger = toRef(props, 'trigger');
|
|
163
|
-
onClickOutside(root,
|
|
163
|
+
onClickOutside(root, event => {
|
|
164
|
+
const path = event.composedPath();
|
|
165
|
+
if (!path.some(({
|
|
166
|
+
classList
|
|
167
|
+
}) => (classList === null || classList === void 0 ? void 0 : classList.contains('or-popover-v3')) || (classList === null || classList === void 0 ? void 0 : classList.contains('or-bottom-sheet-v3')))) {
|
|
168
|
+
close();
|
|
169
|
+
}
|
|
170
|
+
}, {
|
|
164
171
|
ignore: [trigger]
|
|
165
172
|
});
|
|
166
173
|
// #endregion
|
|
@@ -151,7 +151,6 @@ export { default as useQueueV3 } from './OrToastV3/composable/useQueue.js';
|
|
|
151
151
|
export { default as OrTooltip } from './OrTooltip/OrTooltip.js';
|
|
152
152
|
export { default as OrTooltipContent } from './OrTooltipContent/OrTooltipContent.js';
|
|
153
153
|
export { default as OrTooltipV3 } from './OrTooltipV3/OrTooltip.js';
|
|
154
|
-
export { default as OrRichTextEditorV3 } from './OrRichTextEditorV3/OrRichTextEditor.js';
|
|
155
154
|
import 'vue-demi';
|
|
156
155
|
import 'lodash';
|
|
157
156
|
import '../style-inject.es-4c6f2515.js';
|
|
@@ -194,11 +193,8 @@ import './OrCardV3/styles.js';
|
|
|
194
193
|
import './OrCarousel/constants.js';
|
|
195
194
|
import './OrCheckboxV3/styles.js';
|
|
196
195
|
import './OrChips/constants.js';
|
|
197
|
-
import '../index-
|
|
198
|
-
import '../
|
|
199
|
-
import '../index-16aee5bc.js';
|
|
200
|
-
import '../index-70ca38c5.js';
|
|
201
|
-
import './OrCode/lang.js';
|
|
196
|
+
import '../index-6976c52a.js';
|
|
197
|
+
import '../lang-02d2bb2d.js';
|
|
202
198
|
import './OrCode/theme.js';
|
|
203
199
|
import './OrColorPicker/utils/defultPalette.js';
|
|
204
200
|
import '../index-63e094a0.js';
|
|
@@ -238,11 +234,3 @@ import './OrToast/Timer.js';
|
|
|
238
234
|
import './OrToastV3/styles.js';
|
|
239
235
|
import './OrToastV3/composable/useToastEventBus.js';
|
|
240
236
|
import './OrToastV3/Timer.js';
|
|
241
|
-
import '../markdown-00716a39.js';
|
|
242
|
-
import '../index-62c3221b.js';
|
|
243
|
-
import 'node:punycode';
|
|
244
|
-
import '../tiptap-core.esm-f85402b1.js';
|
|
245
|
-
import './OrRichTextEditorV3/styles.js';
|
|
246
|
-
import './OrRichTextEditorV3/utils/codemirror/codemirrorNode.js';
|
|
247
|
-
import './OrRichTextEditorV3/utils/codemirror/codemirrorView.js';
|
|
248
|
-
import './OrRichTextEditorV3/utils/codemirror/theme.js';
|
|
@@ -5,11 +5,11 @@ function useElevation(element, trigger) {
|
|
|
5
5
|
const elementRef = isRef(element) ? element : ref(element);
|
|
6
6
|
const triggerRef = isRef(trigger) ? trigger : ref();
|
|
7
7
|
// Functions
|
|
8
|
-
function getPageElevations() {
|
|
9
|
-
return [...document.body.querySelectorAll('*')].filter(isVisible).map(element => getComputedStyle(element)).map(style => Number(style.zIndex)).filter(zIndex => !isNaN(zIndex));
|
|
8
|
+
function getPageElevations(currentElement) {
|
|
9
|
+
return [...document.body.querySelectorAll('*')].filter(isVisible).filter(element => !element.isEqualNode(currentElement)).map(element => getComputedStyle(element)).map(style => Number(style.zIndex)).filter(zIndex => !isNaN(zIndex));
|
|
10
10
|
}
|
|
11
11
|
function setElementElevation(element) {
|
|
12
|
-
element.style.zIndex = String(Math.max(0, ...getPageElevations()) + 1);
|
|
12
|
+
element.style.zIndex = String(Math.max(0, ...getPageElevations(element)) + 1);
|
|
13
13
|
}
|
|
14
14
|
// Effects
|
|
15
15
|
watch([elementRef, triggerRef], ([element]) => {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { k as keyName, b as base, s as shift } from './index.es-3f39f316.js';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
The data structure for documents. @nonabstract
|
|
5
3
|
*/
|
|
@@ -3911,6 +3909,120 @@ class StyleSet {
|
|
|
3911
3909
|
// example to create a media query you can do `{"@media screen and
|
|
3912
3910
|
// (min-width: 400px)": {...}}`.
|
|
3913
3911
|
|
|
3912
|
+
var base = {
|
|
3913
|
+
8: "Backspace",
|
|
3914
|
+
9: "Tab",
|
|
3915
|
+
10: "Enter",
|
|
3916
|
+
12: "NumLock",
|
|
3917
|
+
13: "Enter",
|
|
3918
|
+
16: "Shift",
|
|
3919
|
+
17: "Control",
|
|
3920
|
+
18: "Alt",
|
|
3921
|
+
20: "CapsLock",
|
|
3922
|
+
27: "Escape",
|
|
3923
|
+
32: " ",
|
|
3924
|
+
33: "PageUp",
|
|
3925
|
+
34: "PageDown",
|
|
3926
|
+
35: "End",
|
|
3927
|
+
36: "Home",
|
|
3928
|
+
37: "ArrowLeft",
|
|
3929
|
+
38: "ArrowUp",
|
|
3930
|
+
39: "ArrowRight",
|
|
3931
|
+
40: "ArrowDown",
|
|
3932
|
+
44: "PrintScreen",
|
|
3933
|
+
45: "Insert",
|
|
3934
|
+
46: "Delete",
|
|
3935
|
+
59: ";",
|
|
3936
|
+
61: "=",
|
|
3937
|
+
91: "Meta",
|
|
3938
|
+
92: "Meta",
|
|
3939
|
+
106: "*",
|
|
3940
|
+
107: "+",
|
|
3941
|
+
108: ",",
|
|
3942
|
+
109: "-",
|
|
3943
|
+
110: ".",
|
|
3944
|
+
111: "/",
|
|
3945
|
+
144: "NumLock",
|
|
3946
|
+
145: "ScrollLock",
|
|
3947
|
+
160: "Shift",
|
|
3948
|
+
161: "Shift",
|
|
3949
|
+
162: "Control",
|
|
3950
|
+
163: "Control",
|
|
3951
|
+
164: "Alt",
|
|
3952
|
+
165: "Alt",
|
|
3953
|
+
173: "-",
|
|
3954
|
+
186: ";",
|
|
3955
|
+
187: "=",
|
|
3956
|
+
188: ",",
|
|
3957
|
+
189: "-",
|
|
3958
|
+
190: ".",
|
|
3959
|
+
191: "/",
|
|
3960
|
+
192: "`",
|
|
3961
|
+
219: "[",
|
|
3962
|
+
220: "\\",
|
|
3963
|
+
221: "]",
|
|
3964
|
+
222: "'"
|
|
3965
|
+
};
|
|
3966
|
+
var shift = {
|
|
3967
|
+
48: ")",
|
|
3968
|
+
49: "!",
|
|
3969
|
+
50: "@",
|
|
3970
|
+
51: "#",
|
|
3971
|
+
52: "$",
|
|
3972
|
+
53: "%",
|
|
3973
|
+
54: "^",
|
|
3974
|
+
55: "&",
|
|
3975
|
+
56: "*",
|
|
3976
|
+
57: "(",
|
|
3977
|
+
59: ":",
|
|
3978
|
+
61: "+",
|
|
3979
|
+
173: "_",
|
|
3980
|
+
186: ":",
|
|
3981
|
+
187: "+",
|
|
3982
|
+
188: "<",
|
|
3983
|
+
189: "_",
|
|
3984
|
+
190: ">",
|
|
3985
|
+
191: "?",
|
|
3986
|
+
192: "~",
|
|
3987
|
+
219: "{",
|
|
3988
|
+
220: "|",
|
|
3989
|
+
221: "}",
|
|
3990
|
+
222: "\""
|
|
3991
|
+
};
|
|
3992
|
+
var chrome$1 = typeof navigator != "undefined" && /Chrome\/(\d+)/.exec(navigator.userAgent);
|
|
3993
|
+
typeof navigator != "undefined" && /Gecko\/\d+/.test(navigator.userAgent);
|
|
3994
|
+
var mac = typeof navigator != "undefined" && /Mac/.test(navigator.platform);
|
|
3995
|
+
var ie$1 = typeof navigator != "undefined" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
3996
|
+
var brokenModifierNames = mac || chrome$1 && +chrome$1[1] < 57;
|
|
3997
|
+
|
|
3998
|
+
// Fill in the digit keys
|
|
3999
|
+
for (var i = 0; i < 10; i++) base[48 + i] = base[96 + i] = String(i);
|
|
4000
|
+
|
|
4001
|
+
// The function keys
|
|
4002
|
+
for (var i = 1; i <= 24; i++) base[i + 111] = "F" + i;
|
|
4003
|
+
|
|
4004
|
+
// And the alphabetic keys
|
|
4005
|
+
for (var i = 65; i <= 90; i++) {
|
|
4006
|
+
base[i] = String.fromCharCode(i + 32);
|
|
4007
|
+
shift[i] = String.fromCharCode(i);
|
|
4008
|
+
}
|
|
4009
|
+
|
|
4010
|
+
// For each code that doesn't have a shift-equivalent, copy the base name
|
|
4011
|
+
for (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code];
|
|
4012
|
+
function keyName(event) {
|
|
4013
|
+
var ignoreKey = brokenModifierNames && (event.ctrlKey || event.altKey || event.metaKey) || ie$1 && event.shiftKey && event.key && event.key.length == 1 || event.key == "Unidentified";
|
|
4014
|
+
var name = !ignoreKey && event.key || (event.shiftKey ? shift : base)[event.keyCode] || event.key || "Unidentified";
|
|
4015
|
+
// Edge sometimes produces wrong names (Issue #3)
|
|
4016
|
+
if (name == "Esc") name = "Escape";
|
|
4017
|
+
if (name == "Del") name = "Delete";
|
|
4018
|
+
// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8860571/
|
|
4019
|
+
if (name == "Left") name = "ArrowLeft";
|
|
4020
|
+
if (name == "Up") name = "ArrowUp";
|
|
4021
|
+
if (name == "Right") name = "ArrowRight";
|
|
4022
|
+
if (name == "Down") name = "ArrowDown";
|
|
4023
|
+
return name;
|
|
4024
|
+
}
|
|
4025
|
+
|
|
3914
4026
|
function getSelection(root) {
|
|
3915
4027
|
let target;
|
|
3916
4028
|
// Browsers differ on whether shadow roots have a getSelection
|
|
@@ -17723,4 +17835,4 @@ function createTokenType(extra, tagStr) {
|
|
|
17723
17835
|
return type.id;
|
|
17724
17836
|
}
|
|
17725
17837
|
|
|
17726
|
-
export {
|
|
17838
|
+
export { getTooltip as $, Annotation as A, highlightSpecialChars as B, ChangeSet as C, Direction as D, EditorView as E, Facet as F, foldGutter as G, drawSelection as H, IndentContext as I, dropCursor as J, indentOnInput as K, syntaxHighlighting as L, defaultHighlightStyle as M, NodeProp as N, bracketMatching as O, Prec as P, rectangularSelection as Q, RangeSetBuilder as R, StateField as S, Transaction as T, crosshairCursor as U, ViewPlugin as V, WidgetType as W, highlightActiveLine as X, keymap as Y, foldKeymap as Z, showTooltip as _, EditorSelection as a, MapMode as a0, RangeValue as a1, RangeSet as a2, Parser as a3, NodeSet as a4, NodeType as a5, DefaultBufferLength as a6, Tree as a7, IterMode as a8, styleTags as a9, tags as aa, parseMixed as ab, LanguageSupport as ac, LRLanguage as ad, indentNodeProp as ae, continuedIndent as af, foldNodeProp as ag, foldInside as ah, flatIndent as ai, delimitedIndent as aj, NodeWeakMap as ak, Tag as al, Language as am, defineLanguageFacet as an, languageDataProp as ao, LanguageDescription as ap, ParseContext as aq, HighlightStyle as ar, ChangeDesc as b, combineConfig as c, Text as d, indentUnit as e, countColumn as f, getIndentation as g, getIndentUnit as h, indentString as i, StateEffect as j, findClusterBreak as k, Decoration as l, matchBrackets as m, codePointAt as n, codePointSize as o, getPanel as p, CharCategory as q, fromCodePoint as r, syntaxTree as s, showPanel as t, EditorState as u, runScopeHandlers as v, hoverTooltip as w, logException as x, lineNumbers as y, highlightActiveLineGutter as z };
|