@onereach/ui-components 2.68.0-beta.2033.0 → 2.68.0-beta.2049.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/{OrAvatar-791be9ff.js → OrAvatar-0a2c265f.js} +3 -2
- package/dist/bundled/v2/{OrAvatar-0bf569f8.js → OrAvatar-2fa559e1.js} +3 -2
- package/dist/bundled/v2/{OrBottomSheet-e4923229.js → OrBottomSheet-7b5760dc.js} +4 -3
- package/dist/bundled/v2/{OrButton-e240a292.js → OrButton-2abd29d0.js} +3 -2
- package/dist/bundled/v2/{OrButton-773cc161.js → OrButton-705cd0bd.js} +4 -3
- package/dist/bundled/v2/{OrButton-cde3d3f5.js → OrButton-a4952445.js} +4 -3
- package/dist/bundled/v2/{OrCard-5e7e07d1.js → OrCard-04a23728.js} +3 -2
- package/dist/bundled/v2/{OrCard-36967325.js → OrCard-a6b30f8f.js} +2 -1
- package/dist/bundled/v2/{OrCardCollection-a7d19599.js → OrCardCollection-89428bbf.js} +6 -5
- package/dist/bundled/v2/{OrCardCollection-0106eaf8.js → OrCardCollection-95b8a8e0.js} +7 -6
- package/dist/bundled/v2/{OrCarouselItem-d90f8037.js → OrCarouselItem-6da755c0.js} +3 -2
- package/dist/bundled/v2/{OrCheckbox-a8826ecb.js → OrCheckbox-5b499fc5.js} +4 -3
- package/dist/bundled/v2/{OrCheckbox-c9df5446.js → OrCheckbox-f97a57b9.js} +3 -2
- package/dist/bundled/v2/{OrChip-183a4eab.js → OrChip-000fe7b5.js} +3 -2
- package/dist/bundled/v2/{OrChips-9881449c.js → OrChips-890b8476.js} +5 -4
- package/dist/bundled/v2/{OrCode-14a506d5.js → OrCode-b9332066.js} +9 -121
- package/dist/bundled/v2/{OrCollapse-341eba63.js → OrCollapse-3aa9a9b7.js} +2 -1
- package/dist/bundled/v2/{OrColorPicker-943c1bf4.js → OrColorPicker-a1a37e83.js} +3 -2
- package/dist/bundled/v2/{OrConfirm-671f555b.js → OrConfirm-19758dae.js} +6 -5
- package/dist/bundled/v2/{OrConfirm-c2b6cf1f.js → OrConfirm-22c7622d.js} +7 -6
- package/dist/bundled/v2/{OrDateTimePicker-898853cf.js → OrDateTimePicker-e212f892.js} +8 -7
- package/dist/bundled/v2/{OrError-9c32e442.js → OrError-31503e4c.js} +2 -1
- package/dist/bundled/v2/{OrError-69657c22.js → OrError-66257a98.js} +3 -2
- package/dist/bundled/v2/{OrErrorTag-41901088.js → OrErrorTag-c55ec019.js} +4 -3
- package/dist/bundled/v2/{OrExpansionPanel-753f1c44.js → OrExpansionPanel-41bbabd3.js} +4 -3
- package/dist/bundled/v2/{OrFab-5d44c0c6.js → OrFab-ea844ff9.js} +3 -2
- package/dist/bundled/v2/{OrFloating-0c70fb71.js → OrFloating-554d6f58.js} +3 -2
- package/dist/bundled/v2/{OrHint-6ef683ff.js → OrHint-45904683.js} +3 -2
- package/dist/bundled/v2/{OrHint-4b5e2e20.js → OrHint-fabea4cf.js} +2 -1
- package/dist/bundled/v2/{OrIcon-3be4a3a4.js → OrIcon-10ec459c.js} +4 -3
- package/dist/bundled/v2/{OrIcon-14cdfa12.js → OrIcon-ce8fd08b.js} +3 -2
- package/dist/bundled/v2/{OrIconButton-c3b5fb3a.js → OrIconButton-2bf36347.js} +5 -4
- package/dist/bundled/v2/{OrIconButton-0337cb7c.js → OrIconButton-65962c1c.js} +7 -20
- package/dist/bundled/v2/{OrInlineInput-9ddf5907.js → OrInlineInput-36077390.js} +7 -6
- package/dist/bundled/v2/{OrInlineInputBox-0d8105f6.js → OrInlineInputBox-f2b25ee4.js} +3 -2
- package/dist/bundled/v2/{OrInlineTextEdit-5d20ec22.js → OrInlineTextEdit-7262efdf.js} +5 -4
- package/dist/bundled/v2/{OrInlineTextarea-71ee73be.js → OrInlineTextarea-17b16ca8.js} +7 -6
- package/dist/bundled/v2/{OrInput-a03ce58a.js → OrInput-08f2f666.js} +6 -5
- package/dist/bundled/v2/{OrInput-1558373c.js → OrInput-95fc5b53.js} +9 -8
- package/dist/bundled/v2/{OrInputBox-ddc214b3.js → OrInputBox-7069052f.js} +3 -2
- package/dist/bundled/v2/{OrLabel-1cb3fc95.js → OrLabel-0424be48.js} +3 -2
- package/dist/bundled/v2/{OrLabel-0574b639.js → OrLabel-74c73ba4.js} +2 -1
- package/dist/bundled/v2/{OrLink-d3b31804.js → OrLink-e7b57307.js} +3 -2
- package/dist/bundled/v2/{OrList-a48e80eb.js → OrList-4e84a3b4.js} +7 -6
- package/dist/bundled/v2/{OrListOfInputs-9e8c33d0.js → OrListOfInputs-8f076650.js} +6 -5
- package/dist/bundled/v2/{OrLoader-16a453c4.js → OrLoader-05057239.js} +2 -1
- package/dist/bundled/v2/{OrLoader-58e8d7af.js → OrLoader-76f2615f.js} +3 -2
- package/dist/bundled/v2/{OrMenu-db6a12e4.js → OrMenu-5ac06751.js} +4 -3
- package/dist/bundled/v2/{OrMenuItem-093a1f2e.js → OrMenuItem-f89dfc77.js} +4 -3
- package/dist/bundled/v2/{OrModal-6501fc59.js → OrModal-387348ca.js} +5 -4
- package/dist/bundled/v2/OrModal-71d33219.js +202 -0
- package/dist/bundled/v2/{OrNotification-b7764de0.js → OrNotification-1fa0b14e.js} +5 -4
- package/dist/bundled/v2/{OrNotification-96b5041d.js → OrNotification-3909aaf2.js} +4 -3
- package/dist/bundled/v2/{OrOverflowMenu-f95b7417.js → OrOverflowMenu-711e460e.js} +5 -4
- package/dist/bundled/v2/{OrOverlay-72b0625e.js → OrOverlay-3c89d622.js} +5 -4
- package/dist/bundled/v2/{OrOverlay-f25c0d05.js → OrOverlay-47967a8b.js} +2 -1
- package/dist/bundled/v2/{OrPassword-7fb583f4.js → OrPassword-7da938aa.js} +9 -8
- package/dist/bundled/v2/{OrPopover-a5aa2707.js → OrPopover-2f48b854.js} +7 -6
- package/dist/bundled/v2/{OrProgress-4723bc60.js → OrProgress-cc397a38.js} +4 -3
- package/dist/bundled/v2/{OrProgress-d4c4446d.js → OrProgress-de947341.js} +2 -1
- package/dist/bundled/v2/{OrRadio-48d04879.js → OrRadio-187d6fc7.js} +2 -1
- package/dist/bundled/v2/{OrRadio-442c0d43.js → OrRadio-8ec1d487.js} +4 -3
- package/dist/bundled/v2/{OrRadioGroup-5a9bd679.js → OrRadioGroup-aa9f0757.js} +2 -1
- package/dist/bundled/v2/OrRichTextEditor-99131fc7.js +36843 -0
- package/dist/bundled/v2/{OrSearch-f39f9cf0.js → OrSearch-43daeb79.js} +5 -4
- package/dist/bundled/v2/{OrSearch-02e36940.js → OrSearch-f7cfa52f.js} +4 -3
- package/dist/bundled/v2/{OrSegmentedControl-4da39103.js → OrSegmentedControl-a3cb285c.js} +8 -12
- package/dist/bundled/v2/{OrSelect-5c966d0f.js → OrSelect-bbe8dd58.js} +9 -8
- package/dist/bundled/v2/{OrSelect-9110783c.js → OrSelect-dff64667.js} +16 -15
- package/dist/bundled/v2/{OrSidebar-567bf416.js → OrSidebar-c95ef614.js} +2 -1
- package/dist/bundled/v2/{OrSidebar-c40baf64.js → OrSidebar-e2b2c9ec.js} +2 -1
- package/dist/bundled/v2/{OrSkeletonText-f2e3313c.js → OrSkeletonText-242d22f3.js} +2 -1
- package/dist/bundled/v2/{OrSkeletonText-a0098401.js → OrSkeletonText-516993b4.js} +3 -2
- package/dist/bundled/v2/{OrSlider-933bfdfe.js → OrSlider-59d05856.js} +3 -2
- package/dist/bundled/v2/{OrSortHeader-1e7f7885.js → OrSortHeader-76b509a6.js} +4 -3
- package/dist/bundled/v2/{OrStepper-fec22f91.js → OrStepper-3fc1a2b3.js} +3 -2
- package/dist/bundled/v2/{OrSwitch-94e95571.js → OrSwitch-47670dbd.js} +3 -2
- package/dist/bundled/v2/{OrSwitch-9e78f504.js → OrSwitch-c606709c.js} +5 -4
- package/dist/bundled/v2/{OrTab-584f4aa9.js → OrTab-8bac95cf.js} +3 -2
- package/dist/bundled/v2/{OrTab-557007ba.js → OrTab-b2c6d977.js} +2 -1
- package/dist/bundled/v2/{OrTabHeaderItem-a187e5ce.js → OrTabHeaderItem-d39c3cf7.js} +2 -1
- package/dist/bundled/v2/{OrTabs-96e24739.js → OrTabs-2d4e0d87.js} +7 -6
- package/dist/bundled/v2/{OrTabs-76ac4d1a.js → OrTabs-4c8f6422.js} +3 -2
- package/dist/bundled/v2/{OrTag-092acbc8.js → OrTag-79e48fec.js} +3 -2
- package/dist/bundled/v2/{OrTag-1ccd3c8f.js → OrTag-bc654163.js} +4 -3
- package/dist/bundled/v2/{OrTeleport.vue2-259d6f25.js → OrTeleport.vue2-e9ba3054.js} +2 -1
- package/dist/bundled/v2/{OrTeleportVue2-d5118f06.js → OrTeleportVue2-3544f185.js} +2 -1
- package/dist/bundled/v2/{OrText-7945bebc.js → OrText-eac4b9f5.js} +3 -2
- package/dist/bundled/v2/{OrTextarea-512aa2d3.js → OrTextarea-0ab9c0a8.js} +7 -6
- package/dist/bundled/v2/{OrTextbox-5b2cc743.js → OrTextbox-eacd9b19.js} +8 -7
- package/dist/bundled/v2/{OrToastContainer-fb3e73a5.js → OrToastContainer-b03adc37.js} +6 -5
- package/dist/bundled/v2/{OrTooltip-d24fef4a.js → OrTooltip-d1764f37.js} +6 -5
- package/dist/bundled/v2/{OrTooltip-f4f55d96.js → OrTooltip-dfea7af2.js} +4 -3
- package/dist/bundled/v2/{OrTooltipContent-a210f996.js → OrTooltipContent-f0fd5f75.js} +2 -1
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +110 -104
- package/dist/bundled/v2/components/or-avatar/index.js +8 -6
- package/dist/bundled/v2/components/or-avatar-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +8 -6
- package/dist/bundled/v2/components/or-button/index.js +5 -3
- package/dist/bundled/v2/components/or-button-v2/index.js +11 -9
- package/dist/bundled/v2/components/or-button-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-card/index.js +4 -2
- package/dist/bundled/v2/components/or-card-collection/index.js +18 -16
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +21 -19
- package/dist/bundled/v2/components/or-card-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-carousel/index.js +8 -6
- package/dist/bundled/v2/components/or-checkbox/index.js +8 -6
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-chips/index.js +11 -9
- package/dist/bundled/v2/components/or-code/index.js +18 -14
- package/dist/bundled/v2/components/or-collapse/index.js +4 -2
- package/dist/bundled/v2/components/or-color-picker/index.js +6 -4
- package/dist/bundled/v2/components/or-confirm/index.js +21 -18
- package/dist/bundled/v2/components/or-confirm-v3/index.js +22 -20
- package/dist/bundled/v2/components/or-date-time-picker/index.js +15 -13
- package/dist/bundled/v2/components/or-error/index.js +4 -2
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-error-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-fab-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-floating/index.js +5 -3
- package/dist/bundled/v2/components/or-hint/index.js +4 -2
- package/dist/bundled/v2/components/or-hint-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-icon/index.js +7 -5
- package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.stories3.d.ts +1 -6
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +13 -11
- package/dist/bundled/v2/components/or-icon-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +17 -15
- package/dist/bundled/v2/components/or-inline-text-edit/index.js +13 -11
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +17 -15
- package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/bundled/v2/components/or-input-box-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-input-v3/index.js +18 -16
- package/dist/bundled/v2/components/or-inputs/index.js +18 -16
- package/dist/bundled/v2/components/or-label/index.js +4 -2
- package/dist/bundled/v2/components/or-label-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-link-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-list/index.js +14 -12
- package/dist/bundled/v2/components/or-list-of-inputs/index.js +18 -16
- package/dist/bundled/v2/components/or-loader/index.js +4 -2
- package/dist/bundled/v2/components/or-loader-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-menu-v3/index.js +11 -9
- package/dist/bundled/v2/components/or-modal/index.js +13 -10
- package/dist/bundled/v2/components/or-modal-v3/index.js +14 -12
- package/dist/bundled/v2/components/or-notification/index.js +11 -9
- package/dist/bundled/v2/components/or-notification-v3/index.js +14 -12
- package/dist/bundled/v2/components/or-overflow-menu/index.js +12 -10
- package/dist/bundled/v2/components/or-overlay/index.js +4 -2
- package/dist/bundled/v2/components/or-overlay-v3/index.js +7 -5
- package/dist/bundled/v2/components/or-popover-v3/index.js +10 -8
- package/dist/bundled/v2/components/or-progress/index.js +4 -2
- package/dist/bundled/v2/components/or-progress-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-radio/index.js +4 -2
- package/dist/bundled/v2/components/or-radio-group/index.js +4 -2
- package/dist/bundled/v2/components/or-radio-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +25 -0
- package/dist/bundled/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/bundled/v2/components/or-search-v3/index.js +19 -17
- package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.stories3.d.ts +1 -1
- package/dist/bundled/v2/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-select/index.js +13 -11
- package/dist/bundled/v2/components/or-select-v3/index.js +25 -23
- package/dist/bundled/v2/components/or-sidebar/index.js +4 -2
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-skeleton/index.js +4 -2
- package/dist/bundled/v2/components/or-skeleton-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-slider/index.js +8 -6
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-stepper/index.js +10 -8
- package/dist/bundled/v2/components/or-switch/index.js +5 -3
- package/dist/bundled/v2/components/or-switch-v3/index.js +7 -5
- package/dist/bundled/v2/components/or-tab/index.js +4 -2
- package/dist/bundled/v2/components/or-tab-header-item/index.js +4 -2
- package/dist/bundled/v2/components/or-tab-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-tabs/index.js +5 -3
- package/dist/bundled/v2/components/or-tabs-v3/index.js +15 -13
- package/dist/bundled/v2/components/or-tag/index.js +8 -6
- package/dist/bundled/v2/components/or-tag-v3/index.js +14 -12
- package/dist/bundled/v2/components/or-teleport/index.js +4 -2
- package/dist/bundled/v2/components/or-teleport-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-text-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-textarea-v3/index.js +9 -7
- package/dist/bundled/v2/components/or-textbox/index.js +16 -14
- package/dist/bundled/v2/components/or-toast/composable/index.js +4 -2
- package/dist/bundled/v2/components/or-toast/index.js +13 -11
- package/dist/bundled/v2/components/or-toast-v3/composable/index.js +4 -2
- package/dist/bundled/v2/components/or-toast-v3/index.js +16 -14
- package/dist/bundled/v2/components/or-tooltip/index.js +7 -5
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +11 -9
- package/dist/bundled/v2/directives/index.js +4 -2
- package/dist/bundled/v2/{dropdown-open-0d314aa4.js → dropdown-open-e2a93aaf.js} +3 -3
- package/dist/bundled/v2/hooks/index.js +8 -6
- package/dist/bundled/v2/hooks/useResponsive/index.js +4 -2
- package/dist/bundled/{v3/index-63e094a0.js → v2/index-17f264f9.js} +2 -1
- package/dist/bundled/v2/index-fa6eb4ca.js +11 -0
- package/dist/bundled/v2/index.es-3f39f316.js +115 -0
- package/dist/bundled/v2/index.js +111 -105
- package/dist/bundled/v2/{types-bd652bca.js → types-4c07bc42.js} +6 -5
- package/dist/bundled/{v3/useClassAttribute-47fdb016.js → v2/useClassAttribute-9bf33346.js} +3 -2
- package/dist/bundled/{v3/useElevation-31bfe1f6.js → v2/useElevation-aac032f4.js} +2 -1
- package/dist/bundled/{v3/OrModal.vue_vue_type_script_lang-f21b8ccd.js → v2/useFocusTrap-d744652a.js} +4 -127
- package/dist/bundled/{v3/useOverflow-ac506c65.js → v2/useOverflow-43299d81.js} +2 -1
- package/dist/bundled/v2/{useResponsive-a02e95b7.js → useResponsive-e13dfbb0.js} +2 -1
- package/dist/bundled/{v3/useToast-4fbe0e5a.js → v2/useToast-1faa828c.js} +2 -1
- package/dist/bundled/v2/{useToast-0665462d.js → useToast-3a3d4280.js} +2 -1
- package/dist/bundled/{v3/useToggle-29e4d7c7.js → v2/useToggle-6166bd53.js} +2 -1
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-5eacffa8.js → OrAvatar.vue_vue_type_script_lang-07889664.js} +3 -3
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-4fbb7259.js → OrAvatar.vue_vue_type_script_lang-22e46ce1.js} +2 -2
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-af7eaafe.js → OrBottomSheet.vue_vue_type_script_lang-44d8147a.js} +3 -4
- package/dist/bundled/v3/{OrButton-27ee9da3.js → OrButton-ec723bb7.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-4d3f4c22.js → OrButton.vue_vue_type_script_lang-5af7999c.js} +4 -4
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-a9c5ef76.js → OrButton.vue_vue_type_script_lang-c0800f20.js} +3 -3
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3d366b7b.js → OrButton.vue_vue_type_script_lang-ffc66d00.js} +5 -5
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-81561dd8.js → OrCard.vue_vue_type_script_lang-90ba001b.js} +1 -1
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-898278b1.js → OrCard.vue_vue_type_script_lang-9d6e1050.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-5457b72f.js → OrCardCollection.vue_vue_type_script_lang-412c8977.js} +8 -9
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-ec37d94a.js → OrCardCollection.vue_vue_type_script_lang-d8124dda.js} +7 -8
- package/dist/bundled/v3/{OrCarouselItem-fbd630df.js → OrCarouselItem-f4b9541d.js} +1 -1
- package/dist/bundled/v3/{OrCarouselItem.vue_vue_type_script_lang-64b0a948.js → OrCarouselItem.vue_vue_type_script_lang-ad286afc.js} +3 -3
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-c6f7e157.js → OrCheckbox.vue_vue_type_script_lang-10d8b047.js} +4 -4
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-125e5795.js → OrCheckbox.vue_vue_type_script_lang-cd20521b.js} +3 -3
- package/dist/bundled/v3/{OrChip-877e1e31.js → OrChip-5d502431.js} +3 -4
- package/dist/bundled/v3/{OrChips.vue_vue_type_script_lang-0642d105.js → OrChips.vue_vue_type_script_lang-69917e34.js} +6 -7
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-5b1ee5e8.js → OrCode.vue_vue_type_script_lang-5fe573eb.js} +13 -126
- package/dist/bundled/v3/{OrCollapse-d59f03a5.js → OrCollapse-63e83681.js} +1 -1
- package/dist/bundled/v3/{OrCollapse.vue_vue_type_script_lang-e78356dd.js → OrCollapse.vue_vue_type_script_lang-65cbb754.js} +1 -1
- package/dist/bundled/v3/{OrColorPicker.vue_vue_type_script_lang-0bf5f953.js → OrColorPicker.vue_vue_type_script_lang-4141378d.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-73005d03.js → OrConfirm.vue_vue_type_script_lang-20ffe5df.js} +7 -8
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9eb4df47.js → OrConfirm.vue_vue_type_script_lang-4451e782.js} +7 -7
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-2651b6b9.js → OrDateTimePicker.vue_vue_type_script_lang-7bfe5005.js} +13 -14
- package/dist/bundled/v3/{OrError-dff84d09.js → OrError-b43ebad8.js} +1 -1
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-450321b8.js → OrError.vue_vue_type_script_lang-7c39e012.js} +1 -1
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-1a6d87b8.js → OrError.vue_vue_type_script_lang-f606d0ee.js} +2 -2
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-0ff91197.js → OrErrorTag.vue_vue_type_script_lang-d77f6b12.js} +4 -4
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-27a1e36c.js → OrExpansionPanel.vue_vue_type_script_lang-a305d8bc.js} +4 -4
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-54ee50b8.js → OrFab.vue_vue_type_script_lang-aefbdf9b.js} +3 -3
- package/dist/bundled/v3/{OrFloating-9b496da9.js → OrFloating-b6672a37.js} +1 -1
- package/dist/bundled/v3/{OrFloating.vue_vue_type_script_lang-e05658ac.js → OrFloating.vue_vue_type_script_lang-8bf2b7ae.js} +2 -2
- package/dist/bundled/v3/{OrHint-fef6ebb1.js → OrHint-c235be5d.js} +2 -2
- package/dist/bundled/v3/{OrHint-f6730014.js → OrHint-c9114268.js} +1 -1
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-a6b8ed91.js → OrHint.vue_vue_type_script_lang-6286277d.js} +2 -2
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-5d628c6c.js → OrHint.vue_vue_type_script_lang-78598c8e.js} +1 -1
- package/dist/bundled/v3/{OrIcon-453e6076.js → OrIcon-1cae8a64.js} +1 -1
- package/dist/bundled/v3/{OrIcon-81c249f7.js → OrIcon-3a514933.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-231a50e3.js → OrIcon.vue_vue_type_script_lang-41a6a57a.js} +2 -2
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-9b23faa9.js → OrIcon.vue_vue_type_script_lang-7e3a17fe.js} +4 -4
- package/dist/bundled/v3/{OrIconButton-171c6d70.js → OrIconButton-00ab6c2d.js} +1 -1
- package/dist/bundled/v3/{OrIconButton-7d8b2cc5.js → OrIconButton-e637158e.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-d56b0cbd.js → OrIconButton.vue_vue_type_script_lang-40547ab0.js} +9 -24
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-c015a970.js → OrIconButton.vue_vue_type_script_lang-b35040f9.js} +5 -6
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-0ddc333f.js → OrInlineInput.vue_vue_type_script_lang-e29642fc.js} +9 -9
- package/dist/bundled/v3/{OrInlineInputBox-9c2df81a.js → OrInlineInputBox-2eede01a.js} +1 -1
- package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-5412bfef.js → OrInlineInputBox.vue_vue_type_script_lang-23b531ad.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextEdit.vue_vue_type_script_lang-80e4f10f.js → OrInlineTextEdit.vue_vue_type_script_lang-da6887aa.js} +7 -7
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-f867e640.js → OrInlineTextarea.vue_vue_type_script_lang-551028ef.js} +9 -9
- package/dist/bundled/v3/{OrInput-0b40ac02.js → OrInput-4b4b8316.js} +1 -1
- package/dist/bundled/v3/{OrInput-6b4ce6a7.js → OrInput-7d4b571a.js} +9 -10
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-c6375d92.js → OrInput.vue_vue_type_script_lang-b4176d70.js} +13 -13
- package/dist/bundled/v3/{OrInputBox-dd433932.js → OrInputBox-81385a91.js} +1 -1
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-5f8386f8.js → OrInputBox.vue_vue_type_script_lang-760097b4.js} +2 -2
- package/dist/bundled/v3/{OrLabel-bd9faa53.js → OrLabel-2809e2db.js} +1 -1
- package/dist/bundled/v3/{OrLabel-48580954.js → OrLabel-e412c532.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-95601b40.js → OrLabel.vue_vue_type_script_lang-27f8b12d.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-c24b935b.js → OrLabel.vue_vue_type_script_lang-e42de5d1.js} +2 -2
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-faa57156.js → OrLink.vue_vue_type_script_lang-9d3a32c7.js} +2 -2
- package/dist/bundled/v3/{OrList.vue_vue_type_script_lang-75f3f67b.js → OrList.vue_vue_type_script_lang-c7ab26a0.js} +11 -11
- package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-4cb8acda.js → OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js} +7 -8
- package/dist/bundled/v3/{OrLoader-87f8250e.js → OrLoader-65868e73.js} +1 -1
- package/dist/bundled/v3/{OrLoader-c4809493.js → OrLoader-ee97fef4.js} +1 -1
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-352f1432.js → OrLoader.vue_vue_type_script_lang-1378ab8e.js} +1 -1
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-a927d554.js → OrLoader.vue_vue_type_script_lang-edd1b404.js} +2 -2
- package/dist/bundled/v3/OrMenu-08aa60de.js +29 -0
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-b7feac85.js → OrMenu.vue_vue_type_script_lang-bae45062.js} +4 -4
- package/dist/bundled/v3/{OrMenuItem-8a71dab1.js → OrMenuItem-94ffa853.js} +1 -1
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-8c3fa960.js → OrMenuItem.vue_vue_type_script_lang-ccb7e082.js} +4 -4
- package/dist/bundled/v3/{OrModal-70def4f3.js → OrModal-bbabef06.js} +1 -1
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-a599dfe7.js +128 -0
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-e34f0f97.js → OrModal.vue_vue_type_script_lang-f3f5a84b.js} +6 -6
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-97c88033.js → OrNotification.vue_vue_type_script_lang-07163a83.js} +5 -5
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-a15cd287.js → OrNotification.vue_vue_type_script_lang-83bfbfc4.js} +6 -6
- package/dist/bundled/v3/{OrOverflowMenu.vue_vue_type_script_lang-2fe6df66.js → OrOverflowMenu.vue_vue_type_script_lang-0397533d.js} +7 -8
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-2f5d626d.js → OrOverlay.vue_vue_type_script_lang-b9bf5e50.js} +1 -1
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-345859a3.js → OrOverlay.vue_vue_type_script_lang-cb3aad0c.js} +4 -5
- package/dist/bundled/v3/{OrPassword.vue_vue_type_script_lang-1fc20fb4.js → OrPassword.vue_vue_type_script_lang-13bc5b00.js} +13 -13
- package/dist/bundled/v3/{OrPopover-3cf5093d.js → OrPopover-93ef8c26.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-d463694a.js → OrPopover.vue_vue_type_script_lang-e200f5be.js} +7 -8
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-6105a07e.js → OrProgress.vue_vue_type_script_lang-3f9ec654.js} +1 -1
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-42d51690.js → OrProgress.vue_vue_type_script_lang-a73c0acf.js} +3 -3
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-cc11200c.js → OrRadio.vue_vue_type_script_lang-c956b54b.js} +1 -1
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-51b41c09.js → OrRadio.vue_vue_type_script_lang-e64b14a1.js} +4 -4
- package/dist/bundled/v3/{OrRadioGroup.vue_vue_type_script_lang-75b6c81b.js → OrRadioGroup.vue_vue_type_script_lang-caea7bcb.js} +1 -1
- package/dist/bundled/v3/OrRichTextEditor.vue_vue_type_script_lang-18daa6a2.js +36723 -0
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-fbc52646.js → OrSearch.vue_vue_type_script_lang-00db292e.js} +5 -5
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-df55d291.js → OrSearch.vue_vue_type_script_lang-16fbccc0.js} +4 -4
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-7d45729e.js → OrSegmentedControl.vue_vue_type_script_lang-16a52048.js} +5 -13
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-1d84c3a5.js → OrSelect.vue_vue_type_script_lang-3a6efd93.js} +13 -14
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-638b6bf3.js → OrSelect.vue_vue_type_script_lang-d7449846.js} +22 -23
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-755f291c.js → OrSidebar.vue_vue_type_script_lang-7c55ac0a.js} +1 -1
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-d438c111.js → OrSidebar.vue_vue_type_script_lang-ce0b152c.js} +1 -1
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-09316adc.js → OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js} +2 -2
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-f7d269f4.js → OrSkeletonText.vue_vue_type_script_lang-f3f989c3.js} +1 -1
- package/dist/bundled/v3/{OrSlider.vue_vue_type_script_lang-29d1b132.js → OrSlider.vue_vue_type_script_lang-d47ff040.js} +3 -3
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-30b9b0d3.js → OrSortHeader.vue_vue_type_script_lang-98ec33aa.js} +4 -4
- package/dist/bundled/v3/{OrStepper.vue_vue_type_script_lang-edfec5f8.js → OrStepper.vue_vue_type_script_lang-7de7c1ad.js} +3 -4
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-038412d6.js → OrSwitch.vue_vue_type_script_lang-b40bf75f.js} +6 -6
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-62744582.js → OrSwitch.vue_vue_type_script_lang-f55d33f4.js} +3 -3
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-20595913.js → OrTab.vue_vue_type_script_lang-671949b7.js} +2 -2
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-71e4fa50.js → OrTab.vue_vue_type_script_lang-de7c7063.js} +1 -1
- package/dist/bundled/v3/{OrTabHeaderItem.vue_vue_type_script_lang-0a67721f.js → OrTabHeaderItem.vue_vue_type_script_lang-e1f29563.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-64cc0e5d.js → OrTabs.vue_vue_type_script_lang-2fdbd2f2.js} +14 -41
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-6a2e82d5.js → OrTabs.vue_vue_type_script_lang-40e2a6e9.js} +2 -3
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-13ad1425.js → OrTag.vue_vue_type_script_lang-6be84bb9.js} +4 -4
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-b173324f.js → OrTag.vue_vue_type_script_lang-8c526c11.js} +3 -3
- package/dist/bundled/v3/{OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js → OrTeleport.vue3.vue_vue_type_script_lang-4dc70cf1.js} +1 -1
- package/dist/bundled/v3/{OrTeleportVue3-ad639f12.js → OrTeleportVue3-012351e1.js} +1 -2
- package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-16fa067b.js → OrText.vue_vue_type_script_lang-d9525d49.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-22dd0f21.js → OrTextarea.vue_vue_type_script_lang-d5a64917.js} +9 -9
- package/dist/bundled/v3/{OrTextbox.vue_vue_type_script_lang-a2457ca7.js → OrTextbox.vue_vue_type_script_lang-b5c4a93a.js} +12 -12
- package/dist/bundled/v3/{OrToastContainer-f82677ef.js → OrToastContainer-c09c94da.js} +1 -1
- package/dist/bundled/v3/{OrToastContainer-135db661.js → OrToastContainer-f5525225.js} +1 -1
- package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-1b4e48cb.js → OrToastContainer.vue_vue_type_script_lang-4bb702ce.js} +6 -7
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-9dcc55d5.js → OrTooltip.vue_vue_type_script_lang-a4168546.js} +6 -6
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-f137fe91.js → OrTooltip.vue_vue_type_script_lang-fa52d391.js} +4 -4
- package/dist/bundled/v3/{OrTooltipContent-c3a6f251.js → OrTooltipContent-b0dcb862.js} +1 -2
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +129 -125
- package/dist/bundled/v3/components/or-avatar/index.js +8 -9
- package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-button/index.js +4 -5
- package/dist/bundled/v3/components/or-button-v2/index.js +12 -13
- package/dist/bundled/v3/components/or-button-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-card/index.js +2 -2
- package/dist/bundled/v3/components/or-card-collection/index.js +23 -24
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +25 -26
- package/dist/bundled/v3/components/or-card-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-carousel/index.js +8 -9
- package/dist/bundled/v3/components/or-checkbox/index.js +8 -9
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-chips/index.js +13 -14
- package/dist/bundled/v3/components/or-code/index.js +23 -22
- package/dist/bundled/v3/components/or-collapse/index.js +2 -2
- package/dist/bundled/v3/components/or-color-picker/index.js +5 -6
- package/dist/bundled/v3/components/or-confirm/index.js +29 -29
- package/dist/bundled/v3/components/or-confirm-v3/index.js +28 -29
- package/dist/bundled/v3/components/or-date-time-picker/index.js +21 -22
- package/dist/bundled/v3/components/or-error/index.js +2 -2
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-error-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-fab-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-floating/index.js +3 -4
- package/dist/bundled/v3/components/or-hint/index.js +2 -2
- package/dist/bundled/v3/components/or-hint-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-icon/index.js +6 -7
- package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.stories3.d.ts +1 -6
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +12 -13
- package/dist/bundled/v3/components/or-icon-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +19 -20
- package/dist/bundled/v3/components/or-inline-text-edit/index.js +17 -18
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +19 -20
- package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/bundled/v3/components/or-input-box-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-input-v3/index.js +21 -22
- package/dist/bundled/v3/components/or-inputs/index.js +24 -25
- package/dist/bundled/v3/components/or-label/index.js +2 -2
- package/dist/bundled/v3/components/or-label-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-link-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-list/index.js +19 -20
- package/dist/bundled/v3/components/or-list-of-inputs/index.js +25 -26
- package/dist/bundled/v3/components/or-loader/index.js +2 -2
- package/dist/bundled/v3/components/or-loader-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-menu-v3/index.js +9 -10
- package/dist/bundled/v3/components/or-modal/index.js +15 -15
- package/dist/bundled/v3/components/or-modal-v3/index.js +15 -16
- package/dist/bundled/v3/components/or-notification/index.js +13 -14
- package/dist/bundled/v3/components/or-notification-v3/index.js +14 -15
- package/dist/bundled/v3/components/or-overflow-menu/index.js +15 -16
- package/dist/bundled/v3/components/or-overlay/index.js +2 -2
- package/dist/bundled/v3/components/or-overlay-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-popover-v3/index.js +7 -8
- package/dist/bundled/v3/components/or-progress/index.js +2 -2
- package/dist/bundled/v3/components/or-progress-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-radio/index.js +2 -2
- package/dist/bundled/v3/components/or-radio-group/index.js +2 -2
- package/dist/bundled/v3/components/or-radio-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +26 -0
- package/dist/bundled/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/bundled/v3/components/or-search-v3/index.js +24 -25
- package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.stories3.d.ts +1 -1
- package/dist/bundled/v3/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +2 -3
- package/dist/bundled/v3/components/or-select/index.js +16 -17
- package/dist/bundled/v3/components/or-select-v3/index.js +30 -31
- package/dist/bundled/v3/components/or-sidebar/index.js +2 -2
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-skeleton/index.js +2 -2
- package/dist/bundled/v3/components/or-skeleton-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-slider/index.js +8 -9
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +4 -5
- package/dist/bundled/v3/components/or-stepper/index.js +12 -13
- package/dist/bundled/v3/components/or-switch/index.js +4 -5
- package/dist/bundled/v3/components/or-switch-v3/index.js +6 -7
- package/dist/bundled/v3/components/or-tab/index.js +2 -2
- package/dist/bundled/v3/components/or-tab-header-item/index.js +2 -2
- package/dist/bundled/v3/components/or-tab-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tabs/index.js +3 -4
- package/dist/bundled/v3/components/or-tabs-v3/index.js +16 -16
- package/dist/bundled/v3/components/or-tag/index.js +8 -9
- package/dist/bundled/v3/components/or-tag-v3/index.js +14 -15
- package/dist/bundled/v3/components/or-teleport/index.js +1 -2
- package/dist/bundled/v3/components/or-teleport-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-text-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-textarea-v3/index.js +9 -10
- package/dist/bundled/v3/components/or-textbox/index.js +22 -23
- package/dist/bundled/v3/components/or-toast/composable/index.js +2 -2
- package/dist/bundled/v3/components/or-toast/index.js +16 -17
- package/dist/bundled/v3/components/or-toast-v3/composable/index.js +2 -2
- package/dist/bundled/v3/components/or-toast-v3/index.js +18 -19
- package/dist/bundled/v3/components/or-tooltip/index.js +6 -7
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +9 -10
- package/dist/bundled/v3/directives/index.js +2 -2
- package/dist/bundled/v3/{dropdown-open-0d314aa4.js → dropdown-open-293d2de2.js} +3 -3
- package/dist/bundled/v3/hooks/index.js +6 -6
- package/dist/bundled/v3/hooks/useResponsive/index.js +2 -2
- package/dist/bundled/{v2/index-63e094a0.js → v3/index-01519e46.js} +1 -1
- package/dist/bundled/v3/index.es-3f39f316.js +115 -0
- package/dist/bundled/v3/index.js +443 -348
- package/dist/bundled/v3/{types-075c934a.js → types-bc0d88d7.js} +8 -9
- package/dist/bundled/v3/useClassAttribute-00888f78.js +9 -0
- package/dist/bundled/{v2/useElevation-31bfe1f6.js → v3/useElevation-c8d5d3ba.js} +1 -1
- package/dist/bundled/{v2/OrModal-311e1630.js → v3/useFocusTrap-d21726e3.js} +3 -199
- package/dist/bundled/{v2/useOverflow-ac506c65.js → v3/useOverflow-2468b718.js} +1 -1
- package/dist/bundled/v3/{useResponsive-a02e95b7.js → useResponsive-9d397e2a.js} +1 -1
- package/dist/bundled/v3/{useToast-0665462d.js → useToast-4d4329cd.js} +1 -1
- package/dist/bundled/{v2/useToast-4fbe0e5a.js → v3/useToast-d5b3c109.js} +1 -1
- package/dist/bundled/{v2/useToggle-29e4d7c7.js → v3/useToggle-09b6cb90.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-d2d64ffe.js → OrCardCollection-799ab8bd.js} +2 -2
- package/dist/esm/v2/{OrConfirm-64ecb10d.js → OrConfirm-367ac968.js} +2 -2
- package/dist/esm/v2/{OrIconButton-c4fa5a1d.js → OrIconButton-a7764de4.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-a888df50.js → OrInlineInput-00fbe0a7.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-1925651c.js → OrInlineTextarea-b4740a94.js} +1 -1
- package/dist/esm/v2/{OrInput-6e7e582e.js → OrInput-946ef514.js} +1 -1
- package/dist/esm/v2/{OrModal-3b081ef1.js → OrModal-5c92cdc8.js} +1 -1
- package/dist/esm/v2/{OrNotification-1d316255.js → OrNotification-9862ce5f.js} +1 -1
- package/dist/esm/v2/OrRichTextEditor-dd129ce6.js +533 -0
- package/dist/esm/v2/{OrSearch-42454def.js → OrSearch-18bf00f3.js} +1 -1
- package/dist/esm/v2/{OrSegmentedControl-0b4637ba.js → OrSegmentedControl-17df63b8.js} +6 -11
- package/dist/esm/v2/{OrSelect-439f27b9.js → OrSelect-858c2f46.js} +2 -2
- package/dist/esm/v2/{OrTag-cf72400e.js → OrTag-23631e25.js} +1 -1
- package/dist/esm/v2/{OrTooltip-27ad798d.js → OrTooltip-3454c2e6.js} +2 -2
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +35 -14
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.stories3.d.ts +1 -6
- package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/esm/v2/components/or-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +41 -0
- package/dist/esm/v2/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/esm/v2/components/or-search-v3/index.js +4 -4
- package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.stories3.d.ts +1 -1
- package/dist/esm/v2/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v2/index.js +35 -14
- package/dist/esm/v2/{types-ed7aa2bb.js → types-e2beb2b6.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-34aa611e.js → OrCardCollection-2d34eaaf.js} +2 -2
- package/dist/esm/v3/{OrConfirm-a77d9812.js → OrConfirm-e6735cc8.js} +2 -2
- package/dist/esm/v3/{OrIconButton-1d78453b.js → OrIconButton-85abafab.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-0beabb4a.js → OrInlineInput-299e2275.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-d33a09a2.js → OrInlineTextarea-40ee5ffb.js} +1 -1
- package/dist/esm/v3/{OrInput-5672f47b.js → OrInput-4f55c0eb.js} +2 -2
- package/dist/esm/v3/{OrInputBox-542d2f2c.js → OrInputBox-634230b1.js} +1 -1
- package/dist/esm/v3/{OrModal-e44b80fd.js → OrModal-420174c4.js} +1 -1
- package/dist/esm/v3/{OrNotification-7d05b546.js → OrNotification-54394fc8.js} +1 -1
- package/dist/esm/v3/OrRichTextEditor-3f24fee0.js +503 -0
- package/dist/esm/v3/{OrSearch-2912b7df.js → OrSearch-d74891a5.js} +2 -2
- package/dist/esm/v3/{OrSegmentedControl-cdf00d49.js → OrSegmentedControl-2bbc0f22.js} +4 -11
- package/dist/esm/v3/{OrSelect-ff8f8461.js → OrSelect-b3a233cc.js} +3 -3
- package/dist/esm/v3/{OrTag-ad3f7805.js → OrTag-6c3717e0.js} +1 -1
- package/dist/esm/v3/OrTextarea-98895b2a.js +1 -1
- package/dist/esm/v3/{OrTooltip-6412166a.js → OrTooltip-1500a1cd.js} +2 -2
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +36 -15
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -5
- package/dist/esm/v3/components/or-confirm-v3/index.js +5 -5
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.stories3.d.ts +1 -6
- package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +1 -1
- package/dist/esm/v3/components/or-input-box-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts +12 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +149 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +40 -0
- package/dist/esm/v3/components/or-rich-text-editor-v3/styles.d.ts +6 -0
- package/dist/esm/v3/components/or-search-v3/index.js +5 -5
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.stories3.d.ts +1 -1
- package/dist/esm/v3/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v3/index.js +36 -15
- package/dist/esm/v3/{types-652ae29f.js → types-98a852d8.js} +1 -1
- package/package.json +26 -32
- package/src/components/index.ts +1 -0
- package/src/components/or-confirm-v3/OrConfirm.vue +1 -1
- package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +2 -13
- package/src/components/or-input-box-v3/OrInputBox.vue +1 -1
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +16 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +62 -0
- package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +555 -0
- package/src/components/or-rich-text-editor-v3/index.ts +1 -0
- package/src/components/or-rich-text-editor-v3/styles.ts +65 -0
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +2 -2
- package/src/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue +3 -11
- package/src/components/or-tooltip-v3/OrTooltip.vue +2 -2
- package/src/utils/functions/text.ts +2 -2
- package/dist/bundled/v2/useClassAttribute-47fdb016.js +0 -32
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
import { defineComponent, ref, onMounted, onBeforeUnmount, computed, watch } from 'vue-demi';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap';
|
|
5
|
+
import { defaultMarkdownSerializer, MarkdownSerializer } from 'prosemirror-markdown';
|
|
6
|
+
import { DOMParser as DOMParser$1 } from 'prosemirror-model';
|
|
7
|
+
import { marked } from 'marked';
|
|
8
|
+
import { _ as __vue_component__$1 } from './OrIconButton-a7764de4.js';
|
|
9
|
+
import { _ as __vue_component__$2 } from './OrLabel-5670468e.js';
|
|
10
|
+
import { _ as __vue_component__$4 } from './OrMenu-e7210edc.js';
|
|
11
|
+
import './OrPopover-ef8c91f1.js';
|
|
12
|
+
import { _ as __vue_component__$3 } from './OrMenuItem-038641b7.js';
|
|
13
|
+
import { Editor, mergeAttributes } from '@tiptap/core';
|
|
14
|
+
import StarterKit from '@tiptap/starter-kit';
|
|
15
|
+
import Underline from '@tiptap/extension-underline';
|
|
16
|
+
import Link from '@tiptap/extension-link';
|
|
17
|
+
import Highlight from '@tiptap/extension-highlight';
|
|
18
|
+
import Heading from '@tiptap/extension-heading';
|
|
19
|
+
import Placeholder from '@tiptap/extension-placeholder';
|
|
20
|
+
import Paragraph from '@tiptap/extension-paragraph';
|
|
21
|
+
import BulletList from '@tiptap/extension-bullet-list';
|
|
22
|
+
import ListItem from '@tiptap/extension-list-item';
|
|
23
|
+
import OrderedList from '@tiptap/extension-ordered-list';
|
|
24
|
+
import Strike from '@tiptap/extension-strike';
|
|
25
|
+
import Italic from '@tiptap/extension-italic';
|
|
26
|
+
import HardBreak from '@tiptap/extension-hard-break';
|
|
27
|
+
import Bold from '@tiptap/extension-bold';
|
|
28
|
+
import CodeBlock from '@tiptap/extension-code-block';
|
|
29
|
+
import Blockquote from '@tiptap/extension-blockquote';
|
|
30
|
+
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
31
|
+
import { c as createInjector } from './browser-82dea9ed.js';
|
|
32
|
+
|
|
33
|
+
const EditorContainer = [
|
|
34
|
+
// Colors
|
|
35
|
+
'border-outline', 'dark:border-outline-dark', 'focus-within:theme-border-1-primary', 'dark:focus-within:theme-border-1-primary-dark', 'focus-within:bg-primary-opacity-0-08', 'dark:focus-within:bg-primary-opacity-0-08-dark', 'focus-within:theme-outline-primary', 'dark:focus-within:theme-outline-primary-dark',
|
|
36
|
+
// Sizing
|
|
37
|
+
'border-1', 'rounded-md'];
|
|
38
|
+
const ToolbarContainer = [
|
|
39
|
+
// Layout
|
|
40
|
+
'flex',
|
|
41
|
+
//Spacing
|
|
42
|
+
'py-sm',
|
|
43
|
+
//Sizing
|
|
44
|
+
'border-b-1',
|
|
45
|
+
//Colors
|
|
46
|
+
'border-b-outline', 'dark:border-b-outline-dark'];
|
|
47
|
+
const Toolbar = [
|
|
48
|
+
// Layout
|
|
49
|
+
'flex',
|
|
50
|
+
// Spacing
|
|
51
|
+
'px-sm', 'gap-md',
|
|
52
|
+
// Sizing
|
|
53
|
+
'border-r-1',
|
|
54
|
+
//Colors
|
|
55
|
+
'border-r-disabled', 'dark:border-r-outline-dark',
|
|
56
|
+
// Last child
|
|
57
|
+
'last-of-type:border-none'];
|
|
58
|
+
const ToolbarButton = [
|
|
59
|
+
// Typography
|
|
60
|
+
'text-on-disabled', 'dark:text-outline-dark'];
|
|
61
|
+
const ToolbarButtonActive = [
|
|
62
|
+
// Typography
|
|
63
|
+
'text-on-background', 'dark:text-on-background-dark'];
|
|
64
|
+
const EditorInput = [
|
|
65
|
+
// Spacing
|
|
66
|
+
'p-sm',
|
|
67
|
+
// Typography
|
|
68
|
+
'typography-body-2-regular', 'text-on-background', 'dark:text-on-background-dark',
|
|
69
|
+
// Sizing
|
|
70
|
+
'min-h-[88px]'];
|
|
71
|
+
|
|
72
|
+
// import Code from '@tiptap/extension-code';
|
|
73
|
+
var script = defineComponent({
|
|
74
|
+
name: 'OrRichTextEditor',
|
|
75
|
+
components: {
|
|
76
|
+
OrIconButton: __vue_component__$1,
|
|
77
|
+
OrLabel: __vue_component__$2,
|
|
78
|
+
OrMenuItem: __vue_component__$3,
|
|
79
|
+
OrMenu: __vue_component__$4
|
|
80
|
+
},
|
|
81
|
+
inheritAttrs: false,
|
|
82
|
+
props: {
|
|
83
|
+
modelValue: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: '',
|
|
86
|
+
required: false
|
|
87
|
+
},
|
|
88
|
+
toolbar: {
|
|
89
|
+
type: Array,
|
|
90
|
+
default: () => [['heading'], ['bold', 'italic', 'strike'], ['underline', 'highlight'], ['link'], ['blockquote', 'codeBlock'], ['bulletList', 'orderedList'], ['undo', 'redo']]
|
|
91
|
+
},
|
|
92
|
+
description: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: ''
|
|
95
|
+
},
|
|
96
|
+
placeholder: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: 'Write something...'
|
|
99
|
+
},
|
|
100
|
+
autofocus: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
default: false
|
|
103
|
+
},
|
|
104
|
+
markdownFormat: {
|
|
105
|
+
type: Boolean,
|
|
106
|
+
default: true
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
emits: ['update:modelValue'],
|
|
110
|
+
setup(props, {
|
|
111
|
+
emit
|
|
112
|
+
}) {
|
|
113
|
+
// Refs
|
|
114
|
+
let editor = null;
|
|
115
|
+
const editorRef = ref();
|
|
116
|
+
const containerRef = ref();
|
|
117
|
+
const toolbarButtonRef = ref();
|
|
118
|
+
const menuRef = ref();
|
|
119
|
+
const isActive = ref({});
|
|
120
|
+
const headingLevels = [1, 2, 3, 4];
|
|
121
|
+
const previousHeadingLevel = ref();
|
|
122
|
+
const activeHeadingLevel = ref(0);
|
|
123
|
+
const markdownOutput = ref('');
|
|
124
|
+
let trap = useFocusTrap(editorRef, {
|
|
125
|
+
immediate: true,
|
|
126
|
+
fallbackFocus: '.container',
|
|
127
|
+
allowOutsideClick: true
|
|
128
|
+
});
|
|
129
|
+
const iconsEnum = ref({
|
|
130
|
+
bold: 'format_bold',
|
|
131
|
+
italic: 'format_italic',
|
|
132
|
+
underline: 'format_underlined',
|
|
133
|
+
strike: 'format_strikethrough',
|
|
134
|
+
bulletList: 'format_list_bulleted',
|
|
135
|
+
orderedList: 'format_list_numbered',
|
|
136
|
+
link: 'link',
|
|
137
|
+
highlight: 'highlight',
|
|
138
|
+
redo: 'redo',
|
|
139
|
+
undo: 'undo',
|
|
140
|
+
codeBlock: 'code_blocks',
|
|
141
|
+
blockquote: 'format_quote'
|
|
142
|
+
});
|
|
143
|
+
const iconTooltipsEnum = ref({
|
|
144
|
+
bold: 'Bold',
|
|
145
|
+
italic: 'Italic',
|
|
146
|
+
underline: 'Underline',
|
|
147
|
+
strike: 'Strike',
|
|
148
|
+
bulletList: 'Bulleted List',
|
|
149
|
+
orderedList: 'Numbered List',
|
|
150
|
+
link: 'Link',
|
|
151
|
+
highlight: 'Highlight',
|
|
152
|
+
redo: 'Redo',
|
|
153
|
+
undo: 'Undo',
|
|
154
|
+
codeBlock: 'Code Block',
|
|
155
|
+
blockquote: 'Quote'
|
|
156
|
+
});
|
|
157
|
+
const serializerMarks = {
|
|
158
|
+
...defaultMarkdownSerializer.marks,
|
|
159
|
+
[Bold.name]: defaultMarkdownSerializer.marks.strong,
|
|
160
|
+
[Strike.name]: {
|
|
161
|
+
open: '~~',
|
|
162
|
+
close: '~~',
|
|
163
|
+
mixable: true,
|
|
164
|
+
expelEnclosingWhitespace: true
|
|
165
|
+
},
|
|
166
|
+
[Italic.name]: {
|
|
167
|
+
open: '_',
|
|
168
|
+
close: '_',
|
|
169
|
+
mixable: true,
|
|
170
|
+
expelEnclosingWhitespace: true
|
|
171
|
+
},
|
|
172
|
+
[Highlight.name]: {
|
|
173
|
+
open: '==',
|
|
174
|
+
close: '==',
|
|
175
|
+
mixable: true,
|
|
176
|
+
expelEnclosingWhitespace: true
|
|
177
|
+
},
|
|
178
|
+
[Link.name]: {
|
|
179
|
+
open(state, mark, parent, index) {
|
|
180
|
+
return isPlainURL(mark, parent, index, 1) ? '<' : '[';
|
|
181
|
+
},
|
|
182
|
+
close(state, mark, parent, index) {
|
|
183
|
+
const href = mark.attrs.canonicalSrc || mark.attrs.href;
|
|
184
|
+
return isPlainURL(mark, parent, index, -1) ? '>' : `](${state.esc(href)}${mark.attrs.title ? ` ${state.quote(mark.attrs.title)}` : ''})`;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
const serializerNodes = {
|
|
189
|
+
...defaultMarkdownSerializer.nodes,
|
|
190
|
+
[Paragraph.name]: defaultMarkdownSerializer.nodes.paragraph,
|
|
191
|
+
[BulletList.name]: defaultMarkdownSerializer.nodes.bullet_list,
|
|
192
|
+
[ListItem.name]: defaultMarkdownSerializer.nodes.list_item,
|
|
193
|
+
[OrderedList.name]: defaultMarkdownSerializer.nodes.ordered_list,
|
|
194
|
+
[HardBreak.name]: defaultMarkdownSerializer.nodes.hard_break,
|
|
195
|
+
[CodeBlock.name]: defaultMarkdownSerializer.nodes.code_block,
|
|
196
|
+
[Blockquote.name]: defaultMarkdownSerializer.nodes.blockquote
|
|
197
|
+
};
|
|
198
|
+
onMounted(() => {
|
|
199
|
+
editor = new Editor({
|
|
200
|
+
onUpdate: ({
|
|
201
|
+
editor
|
|
202
|
+
}) => {
|
|
203
|
+
setActiveFormats();
|
|
204
|
+
const html = editor.getHTML();
|
|
205
|
+
const text = editor.getText();
|
|
206
|
+
if (props.markdownFormat) {
|
|
207
|
+
markdownOutput.value = serialize(editor.schema, editor.getJSON());
|
|
208
|
+
emit('update:modelValue', markdownOutput.value);
|
|
209
|
+
} else {
|
|
210
|
+
emit('update:modelValue', text === '' ? text : html);
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
onCreate: ({
|
|
214
|
+
editor
|
|
215
|
+
}) => {
|
|
216
|
+
if (props.markdownFormat) {
|
|
217
|
+
const deserialized = deserialize(editor.schema, props.modelValue);
|
|
218
|
+
editor.commands.setContent(deserialized);
|
|
219
|
+
} else {
|
|
220
|
+
editor.commands.setContent(props.modelValue);
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
element: editorRef.value,
|
|
224
|
+
autofocus: props.autofocus,
|
|
225
|
+
extensions: [StarterKit.configure({
|
|
226
|
+
heading: false
|
|
227
|
+
}), Heading.configure({
|
|
228
|
+
levels: headingLevels
|
|
229
|
+
}).extend({
|
|
230
|
+
levels: headingLevels,
|
|
231
|
+
renderHTML({
|
|
232
|
+
node,
|
|
233
|
+
HTMLAttributes
|
|
234
|
+
}) {
|
|
235
|
+
return ['h' + node.attrs.level, mergeAttributes(HTMLAttributes, {
|
|
236
|
+
class: `typography-headline-${node.attrs.level}`
|
|
237
|
+
}), 0];
|
|
238
|
+
}
|
|
239
|
+
}), Underline, Link.configure({
|
|
240
|
+
openOnClick: true,
|
|
241
|
+
linkOnPaste: true,
|
|
242
|
+
autolink: false,
|
|
243
|
+
protocols: ['ftp', 'mailto', 'http', 'https'],
|
|
244
|
+
validate: href => /^https?:\/\//.test(href),
|
|
245
|
+
HTMLAttributes: {
|
|
246
|
+
class: 'text-primary cursor-pointer'
|
|
247
|
+
}
|
|
248
|
+
}), Highlight, Placeholder.configure({
|
|
249
|
+
placeholder: props.placeholder,
|
|
250
|
+
emptyEditorClass: 'is-editor-empty text-outline'
|
|
251
|
+
})],
|
|
252
|
+
editorProps: {
|
|
253
|
+
attributes: {
|
|
254
|
+
class: 'focus:outline-none'
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
setActiveFormats();
|
|
259
|
+
});
|
|
260
|
+
onBeforeUnmount(() => {
|
|
261
|
+
editor === null || editor === void 0 ? void 0 : editor.destroy();
|
|
262
|
+
});
|
|
263
|
+
trap.activate();
|
|
264
|
+
// Computed
|
|
265
|
+
const getIndexOfHeading = computed(() => {
|
|
266
|
+
return props.toolbar.flat().indexOf('heading');
|
|
267
|
+
});
|
|
268
|
+
const headingIcon = computed(() => {
|
|
269
|
+
if (activeHeadingLevel.value && isActive.value.heading) {
|
|
270
|
+
return `format_h${activeHeadingLevel.value}`;
|
|
271
|
+
}
|
|
272
|
+
return 'format_paragraph';
|
|
273
|
+
});
|
|
274
|
+
// Methods
|
|
275
|
+
const handleEditorClick = () => {
|
|
276
|
+
setActiveFormats();
|
|
277
|
+
editor === null || editor === void 0 ? void 0 : editor.commands.focus();
|
|
278
|
+
};
|
|
279
|
+
const handleToolbarClick = (item, level) => {
|
|
280
|
+
if (item === 'bulletList' || item === 'orderedList') {
|
|
281
|
+
item === 'bulletList' ? editor === null || editor === void 0 ? void 0 : editor.commands.toggleBulletList() : editor === null || editor === void 0 ? void 0 : editor.commands.toggleOrderedList();
|
|
282
|
+
} else if (item === 'link') {
|
|
283
|
+
setLink();
|
|
284
|
+
} else if (item === 'blockquote') {
|
|
285
|
+
editor === null || editor === void 0 ? void 0 : editor.chain().focus().toggleBlockquote().run();
|
|
286
|
+
} else if (item === 'codeBlock') {
|
|
287
|
+
editor === null || editor === void 0 ? void 0 : editor.chain().focus().toggleCodeBlock().run();
|
|
288
|
+
} else if (item === 'heading') {
|
|
289
|
+
if (!level) {
|
|
290
|
+
editor === null || editor === void 0 ? void 0 : editor.commands.toggleHeading({
|
|
291
|
+
level: previousHeadingLevel.value
|
|
292
|
+
});
|
|
293
|
+
activeHeadingLevel.value = 0;
|
|
294
|
+
} else {
|
|
295
|
+
activeHeadingLevel.value = level;
|
|
296
|
+
previousHeadingLevel.value = level;
|
|
297
|
+
editor === null || editor === void 0 ? void 0 : editor.commands.toggleHeading({
|
|
298
|
+
level: level
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
editor === null || editor === void 0 ? void 0 : editor.commands.focus();
|
|
302
|
+
} else if (item === 'undo' || item === 'redo') {
|
|
303
|
+
item === 'undo' ? editor === null || editor === void 0 ? void 0 : editor.commands.undo() : editor === null || editor === void 0 ? void 0 : editor.commands.redo();
|
|
304
|
+
} else {
|
|
305
|
+
editor === null || editor === void 0 ? void 0 : editor.chain().focus().toggleMark(item).run();
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
const setLink = () => {
|
|
309
|
+
const previousUrl = editor === null || editor === void 0 ? void 0 : editor.getAttributes('link').href;
|
|
310
|
+
const url = window.prompt('URL', previousUrl);
|
|
311
|
+
// cancelled
|
|
312
|
+
if (url === null) {
|
|
313
|
+
return;
|
|
314
|
+
}
|
|
315
|
+
// empty
|
|
316
|
+
if (url === '') {
|
|
317
|
+
editor === null || editor === void 0 ? void 0 : editor.chain().focus().extendMarkRange('link').unsetLink().run();
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
320
|
+
// update link
|
|
321
|
+
editor === null || editor === void 0 ? void 0 : editor.chain().focus().extendMarkRange('link').setLink({
|
|
322
|
+
href: url
|
|
323
|
+
}).run();
|
|
324
|
+
};
|
|
325
|
+
const setActiveFormats = () => {
|
|
326
|
+
const toolbarList = props.toolbar.flat();
|
|
327
|
+
toolbarList.forEach(item => {
|
|
328
|
+
isActive.value[item] = (editor === null || editor === void 0 ? void 0 : editor.isActive(item)) || false;
|
|
329
|
+
});
|
|
330
|
+
};
|
|
331
|
+
// Styles
|
|
332
|
+
const classAttribute = useClassAttribute();
|
|
333
|
+
const rootStyles = computed(() => {
|
|
334
|
+
return ['or-rich-text-editor', classAttribute.value];
|
|
335
|
+
});
|
|
336
|
+
const containerStyles = computed(() => {
|
|
337
|
+
return [...EditorContainer];
|
|
338
|
+
});
|
|
339
|
+
const toolbarContainerStyles = computed(() => {
|
|
340
|
+
return [...ToolbarContainer];
|
|
341
|
+
});
|
|
342
|
+
const toolbarStyles = computed(() => {
|
|
343
|
+
return [...Toolbar];
|
|
344
|
+
});
|
|
345
|
+
const editorInputStyles = computed(() => {
|
|
346
|
+
return ['tiptap-editor', ...EditorInput];
|
|
347
|
+
});
|
|
348
|
+
const toolbarButtonStyles = item => {
|
|
349
|
+
return [
|
|
350
|
+
// Layout
|
|
351
|
+
'flex',
|
|
352
|
+
// Spacing
|
|
353
|
+
'gap-md', ...(isActive.value[item] ? ToolbarButtonActive : ToolbarButton)];
|
|
354
|
+
};
|
|
355
|
+
const isPlainURL = (link, parent, index, side) => {
|
|
356
|
+
if (link.attrs.title || !/^\w+:/.test(link.attrs.href)) return false;
|
|
357
|
+
const content = parent.child(index + (side < 0 ? -1 : 0));
|
|
358
|
+
if (!content.isText || content.text !== link.attrs.href || content.marks[content.marks.length - 1] !== link) return false;
|
|
359
|
+
if (index === (side < 0 ? 1 : parent.childCount - 1)) return true;
|
|
360
|
+
const next = parent.child(index + (side < 0 ? -2 : 1));
|
|
361
|
+
return !link.isInSet(next.marks);
|
|
362
|
+
};
|
|
363
|
+
const serialize = (schema, content) => {
|
|
364
|
+
const proseMirrorDocument = schema.nodeFromJSON(content);
|
|
365
|
+
const serializer = new MarkdownSerializer(serializerNodes, serializerMarks);
|
|
366
|
+
return serializer.serialize(proseMirrorDocument);
|
|
367
|
+
};
|
|
368
|
+
const deserialize = (schema, content) => {
|
|
369
|
+
const html = marked.parse(content);
|
|
370
|
+
if (!html) return null;
|
|
371
|
+
const parser = new DOMParser();
|
|
372
|
+
const {
|
|
373
|
+
body
|
|
374
|
+
} = parser.parseFromString(html, 'text/html');
|
|
375
|
+
// append original source as a comment that nodes can access
|
|
376
|
+
body.append(document.createComment(content));
|
|
377
|
+
const state = DOMParser$1.fromSchema(schema).parse(body);
|
|
378
|
+
return state.toJSON();
|
|
379
|
+
};
|
|
380
|
+
//Effects
|
|
381
|
+
watch(() => props.modelValue, value => {
|
|
382
|
+
if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
|
|
383
|
+
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
|
|
384
|
+
}
|
|
385
|
+
if (props.markdownFormat && value !== markdownOutput.value) {
|
|
386
|
+
editor === null || editor === void 0 ? void 0 : editor.commands.setContent(markdownOutput.value);
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
return {
|
|
390
|
+
editor,
|
|
391
|
+
editorRef,
|
|
392
|
+
containerRef,
|
|
393
|
+
toolbarButtonRef,
|
|
394
|
+
menuRef,
|
|
395
|
+
iconsEnum,
|
|
396
|
+
handleToolbarClick,
|
|
397
|
+
handleEditorClick,
|
|
398
|
+
isActive,
|
|
399
|
+
iconTooltipsEnum,
|
|
400
|
+
containerStyles,
|
|
401
|
+
toolbarContainerStyles,
|
|
402
|
+
toolbarStyles,
|
|
403
|
+
rootStyles,
|
|
404
|
+
toolbarButtonStyles,
|
|
405
|
+
editorInputStyles,
|
|
406
|
+
getIndexOfHeading,
|
|
407
|
+
headingLevels,
|
|
408
|
+
headingIcon
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
|
|
413
|
+
/* script */
|
|
414
|
+
const __vue_script__ = script;
|
|
415
|
+
|
|
416
|
+
/* template */
|
|
417
|
+
var __vue_render__ = function () {
|
|
418
|
+
var _vm = this;
|
|
419
|
+
var _h = _vm.$createElement;
|
|
420
|
+
var _c = _vm._self._c || _h;
|
|
421
|
+
return _c('div', _vm._b({
|
|
422
|
+
ref: "root",
|
|
423
|
+
class: _vm.rootStyles
|
|
424
|
+
}, 'div', _vm.$attrs, false), [_c('or-label', [_vm._v("\n " + _vm._s(_vm.description) + "\n ")]), _vm._v(" "), _c('div', {
|
|
425
|
+
ref: "containerRef",
|
|
426
|
+
class: _vm.containerStyles,
|
|
427
|
+
on: {
|
|
428
|
+
"click": function ($event) {
|
|
429
|
+
return _vm.handleEditorClick();
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}, [_c('div', {
|
|
433
|
+
class: _vm.toolbarContainerStyles
|
|
434
|
+
}, _vm._l(_vm.toolbar, function (tool) {
|
|
435
|
+
return _c('div', {
|
|
436
|
+
key: tool,
|
|
437
|
+
class: _vm.toolbarStyles
|
|
438
|
+
}, _vm._l(tool, function (item) {
|
|
439
|
+
return _c('div', {
|
|
440
|
+
key: item,
|
|
441
|
+
staticClass: "-my-xs",
|
|
442
|
+
class: _vm.toolbarButtonStyles(item)
|
|
443
|
+
}, [item === 'heading' ? _c('or-icon-button', {
|
|
444
|
+
ref: "toolbarButtonRef",
|
|
445
|
+
refInFor: true,
|
|
446
|
+
attrs: {
|
|
447
|
+
"tooltip": {
|
|
448
|
+
text: item,
|
|
449
|
+
placement: 'top'
|
|
450
|
+
},
|
|
451
|
+
"icon": {
|
|
452
|
+
icon: _vm.headingIcon,
|
|
453
|
+
variant: 'inherit',
|
|
454
|
+
size: 'm'
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
on: {
|
|
458
|
+
"click": function ($event) {
|
|
459
|
+
return _vm.menuRef.open();
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}) : _c('or-icon-button', {
|
|
463
|
+
attrs: {
|
|
464
|
+
"tooltip": {
|
|
465
|
+
text: _vm.iconTooltipsEnum[item],
|
|
466
|
+
placement: 'top'
|
|
467
|
+
},
|
|
468
|
+
"icon": {
|
|
469
|
+
icon: _vm.iconsEnum[item],
|
|
470
|
+
variant: 'inherit',
|
|
471
|
+
size: 'm'
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
on: {
|
|
475
|
+
"click": function ($event) {
|
|
476
|
+
return _vm.handleToolbarClick(item);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
})], 1);
|
|
480
|
+
}), 0);
|
|
481
|
+
}), 0), _vm._v(" "), _c('div', {
|
|
482
|
+
ref: "editorRef",
|
|
483
|
+
class: _vm.editorInputStyles
|
|
484
|
+
})]), _vm._v(" "), _vm.toolbarButtonRef ? _c('or-menu', {
|
|
485
|
+
ref: "menuRef",
|
|
486
|
+
attrs: {
|
|
487
|
+
"trigger": _vm.toolbarButtonRef[_vm.getIndexOfHeading].root,
|
|
488
|
+
"placement": "bottom-start"
|
|
489
|
+
}
|
|
490
|
+
}, [_vm._l(_vm.headingLevels, function (heading) {
|
|
491
|
+
return _c('or-menu-item', {
|
|
492
|
+
key: heading,
|
|
493
|
+
on: {
|
|
494
|
+
"click": function ($event) {
|
|
495
|
+
return _vm.handleToolbarClick('heading', heading);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}, [_vm._v("\n Heading " + _vm._s(heading) + "\n ")]);
|
|
499
|
+
}), _vm._v(" "), _c('or-menu-item', {
|
|
500
|
+
on: {
|
|
501
|
+
"click": function ($event) {
|
|
502
|
+
return _vm.handleToolbarClick('heading');
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}, [_vm._v("\n None\n ")])], 2) : _vm._e()], 1);
|
|
506
|
+
};
|
|
507
|
+
var __vue_staticRenderFns__ = [];
|
|
508
|
+
|
|
509
|
+
/* style */
|
|
510
|
+
const __vue_inject_styles__ = function (inject) {
|
|
511
|
+
if (!inject) return;
|
|
512
|
+
inject("data-v-58e683e9_0", {
|
|
513
|
+
source: ".tiptap-editor ol{margin:0 24px;list-style:decimal}.tiptap-editor ul{margin:0 24px;list-style:initial}.tiptap-editor pre{background-color:rgba(186,209,236,.3);padding:4px 8px;margin:4px 0;width:100%;border-radius:4px}.tiptap-editor blockquote{margin:8px 24px;padding:0 24px;border-left:4px solid #bad1ec}.tiptap-editor .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}",
|
|
514
|
+
map: undefined,
|
|
515
|
+
media: undefined
|
|
516
|
+
});
|
|
517
|
+
};
|
|
518
|
+
/* scoped */
|
|
519
|
+
const __vue_scope_id__ = undefined;
|
|
520
|
+
/* module identifier */
|
|
521
|
+
const __vue_module_identifier__ = undefined;
|
|
522
|
+
/* functional template */
|
|
523
|
+
const __vue_is_functional_template__ = false;
|
|
524
|
+
/* style inject SSR */
|
|
525
|
+
|
|
526
|
+
/* style inject shadow dom */
|
|
527
|
+
|
|
528
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
529
|
+
render: __vue_render__,
|
|
530
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
531
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);
|
|
532
|
+
|
|
533
|
+
export { __vue_component__ as _ };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
4
|
+
import { _ as __vue_component__$1 } from './OrInput-946ef514.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox-208dceac.js';
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -50,22 +50,15 @@ var script$1 = defineComponent({
|
|
|
50
50
|
default: false
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
setup(props
|
|
53
|
+
setup(props) {
|
|
54
54
|
// Refs
|
|
55
55
|
const root = ref();
|
|
56
56
|
// Styles
|
|
57
57
|
const classAttribute = useClassAttribute();
|
|
58
58
|
const rootStyles = computed(() => ['or-segmented-control-item', ...SegmentedControlItemRoot, ...SegmentedControlItemRootSizes[props.size], classAttribute.value]);
|
|
59
|
-
// Handlers
|
|
60
|
-
function onClick(event) {
|
|
61
|
-
if (isVue2) {
|
|
62
|
-
context.emit('click', event);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
59
|
return {
|
|
66
60
|
root,
|
|
67
|
-
rootStyles
|
|
68
|
-
onClick
|
|
61
|
+
rootStyles
|
|
69
62
|
};
|
|
70
63
|
}
|
|
71
64
|
});
|
|
@@ -86,7 +79,9 @@ var __vue_render__$1 = function () {
|
|
|
86
79
|
"disabled": _vm.disabled ? '' : null
|
|
87
80
|
},
|
|
88
81
|
on: {
|
|
89
|
-
"click":
|
|
82
|
+
"click": function ($event) {
|
|
83
|
+
return _vm.$emit('click', $event);
|
|
84
|
+
}
|
|
90
85
|
}
|
|
91
86
|
}, 'div', _vm.$attrs, false), [_c('div', {
|
|
92
87
|
class: ['truncate']
|
|
@@ -9,11 +9,11 @@ import { _ as __vue_component__$3 } from './OrExpansionPanel-33d5cf05.js';
|
|
|
9
9
|
import { _ as __vue_component__$4 } from './OrHint-44356417.js';
|
|
10
10
|
import { _ as __vue_component__$5 } from './OrIcon-05689298.js';
|
|
11
11
|
import { _ as __vue_component__$7, a as InputBoxSize } from './OrInputBox-208dceac.js';
|
|
12
|
-
import { _ as __vue_component__$6 } from './OrInput-
|
|
12
|
+
import { _ as __vue_component__$6 } from './OrInput-946ef514.js';
|
|
13
13
|
import { _ as __vue_component__$8 } from './OrLabel-5670468e.js';
|
|
14
14
|
import { _ as __vue_component__$9 } from './OrMenuItem-038641b7.js';
|
|
15
15
|
import { _ as __vue_component__$a } from './OrPopover-ef8c91f1.js';
|
|
16
|
-
import { _ as __vue_component__$b } from './OrTag-
|
|
16
|
+
import { _ as __vue_component__$b } from './OrTag-23631e25.js';
|
|
17
17
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
18
18
|
|
|
19
19
|
const SelectRoot = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
4
|
+
import { _ as __vue_component__$1 } from './OrIconButton-a7764de4.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
7
7
|
var TagVariant;
|
|
@@ -85,7 +85,7 @@ var script = defineComponent({
|
|
|
85
85
|
popoverInstance.open();
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
},
|
|
88
|
+
}, 1000);
|
|
89
89
|
const close = useDebounceFn(() => {
|
|
90
90
|
if (!hover.value) {
|
|
91
91
|
const popoverInstance = popover.value;
|
|
@@ -93,7 +93,7 @@ var script = defineComponent({
|
|
|
93
93
|
popoverInstance.close();
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
},
|
|
96
|
+
}, 500);
|
|
97
97
|
// Effects
|
|
98
98
|
// #region Hover
|
|
99
99
|
const hover = useElementHover(root);
|