@onereach/ui-components 2.70.2-beta.2219.0 → 2.70.3-beta.2210.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-586e417b.js → OrAvatar-ae61bfb9.js} +7 -4
- package/dist/bundled/v2/{OrBottomSheet-ddba20c1.js → OrBottomSheet-1cd1ab4c.js} +4 -2
- package/dist/bundled/v2/{OrButton-d45772c1.js → OrButton-a846fa7e.js} +7 -4
- package/dist/bundled/v2/{OrCard-45d5869b.js → OrCard-29116e1f.js} +6 -3
- package/dist/bundled/v2/{OrCardCollection-091e2193.js → OrCardCollection-0141a358.js} +12 -9
- package/dist/bundled/v2/{OrCheckbox-9be450f9.js → OrCheckbox-dbef9f9a.js} +34 -41
- package/dist/bundled/v2/{OrConfirm-ebff0b61.js → OrConfirm-23c3ce56.js} +4 -5
- package/dist/bundled/v2/{OrError-52f668a4.js → OrError-aad17598.js} +6 -3
- package/dist/bundled/v2/{OrErrorTag-97a9112b.js → OrErrorTag-d0c5bcf4.js} +7 -4
- package/dist/bundled/v2/{OrExpansionPanel-96b8f568.js → OrExpansionPanel-d9a260e2.js} +7 -4
- package/dist/bundled/v2/{OrFab-ed69dee1.js → OrFab-7cc75893.js} +4 -3
- package/dist/bundled/v2/{OrHint-fde53334.js → OrHint-f38a1940.js} +6 -3
- package/dist/bundled/v2/{OrIcon-458206aa.js → OrIcon-8625385f.js} +6 -3
- package/dist/bundled/v2/{OrIconButton-4bdd1566.js → OrIconButton-a2ba92df.js} +5 -3
- package/dist/bundled/v2/{OrInlineInput-b009a043.js → OrInlineInput-87589946.js} +39 -47
- package/dist/bundled/v2/{OrInlineInputBox-7a8e645b.js → OrInlineInputBox-f457210f.js} +6 -3
- package/dist/bundled/v2/{OrInlineTextarea-6e8c1f80.js → OrInlineTextarea-21b0e6fc.js} +35 -43
- package/dist/bundled/v2/{OrInput-5404a234.js → OrInput-82ccfe00.js} +50 -53
- package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-79ec54ad.js} +6 -3
- package/dist/bundled/v2/{OrLabel-aff09c39.js → OrLabel-172c4b89.js} +6 -3
- package/dist/bundled/v2/{OrLink-0d952e87.js → OrLink-e7b57307.js} +6 -3
- package/dist/bundled/v2/{OrLoader-864ef92a.js → OrLoader-6a1f937b.js} +6 -3
- package/dist/bundled/v2/{OrMenu-52da43bc.js → OrMenu-fa47c888.js} +7 -4
- package/dist/bundled/v2/{OrMenuItem-e2693a5f.js → OrMenuItem-26420908.js} +7 -4
- package/dist/bundled/v2/{OrModal-51b9f3e7.js → OrModal-af6677fd.js} +5 -3
- package/dist/bundled/v2/{OrNotification-7f761f25.js → OrNotification-3250f58b.js} +8 -5
- package/dist/bundled/v2/{OrOverlay-efa7992e.js → OrOverlay-3c89d622.js} +3 -1
- package/dist/bundled/v2/{OrPagination-daf25de2.js → OrPagination-379c10b8.js} +25 -15
- package/dist/bundled/v2/{OrPopover-4e8acb7b.js → OrPopover-5dc240f1.js} +4 -2
- package/dist/bundled/v2/{OrProgress-15fe65ec.js → OrProgress-cc397a38.js} +7 -4
- package/dist/bundled/v2/{OrRadio-fe23947a.js → OrRadio-cd39b20b.js} +32 -39
- package/dist/bundled/v2/{OrSearch-d1169241.js → OrSearch-53470b0e.js} +9 -6
- package/dist/bundled/v2/{OrSegmentedControl-878279bf.js → OrSegmentedControl-21cc914e.js} +22 -12
- package/dist/bundled/v2/{OrSelect-fef400f4.js → OrSelect-02fb39f0.js} +30 -22
- package/dist/bundled/v2/OrSidebar-bc713980.js +464 -0
- package/dist/bundled/v2/{OrSkeletonText-9a2f39dc.js → OrSkeletonText-516993b4.js} +18 -11
- package/dist/bundled/v2/{OrSortHeader-565ace92.js → OrSortHeader-9932d28f.js} +20 -12
- package/dist/bundled/v2/{OrSwitch-782d7b43.js → OrSwitch-237a2081.js} +33 -40
- package/dist/bundled/v2/{OrTab-8c5acf8a.js → OrTab-dd949240.js} +6 -3
- package/dist/bundled/v2/{OrTabs-d69780fc.js → OrTabs-42f7c52c.js} +19 -12
- package/dist/bundled/v2/{OrTag-4a098afa.js → OrTag-30fecee5.js} +8 -5
- package/dist/bundled/v2/{OrText-a665b991.js → OrText-eac4b9f5.js} +6 -3
- package/dist/bundled/v2/{OrTextarea-5c57c02b.js → OrTextarea-5593fbe9.js} +37 -49
- package/dist/bundled/v2/{OrTooltip-b1f38647.js → OrTooltip-fbfa05fd.js} +7 -4
- package/dist/bundled/v2/components/index.js +46 -47
- package/dist/bundled/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-avatar-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-button-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +18 -19
- package/dist/bundled/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-card-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-confirm-v3/index.js +17 -18
- package/dist/bundled/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-error-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-fab-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-hint-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +7 -6
- package/dist/bundled/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-icon-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +11 -12
- package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +11 -12
- package/dist/bundled/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +21 -45
- package/dist/bundled/v2/components/or-input-v3/index.js +12 -13
- package/dist/bundled/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-label-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-link-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-loader-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-menu-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-notification-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-overlay-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +10 -9
- package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-popover-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-progress-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
- package/dist/bundled/v2/components/or-radio-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +14 -15
- package/dist/bundled/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
- package/dist/bundled/{v3/components/or-segmented-control-v3/partials → v2/components/or-segmented-control-v3/components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +16 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +17 -18
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +12 -0
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +13 -1
- package/dist/bundled/v2/components/or-sidebar-v3/styles.d.ts +8 -1
- package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/bundled/v2/components/or-skeleton-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
- package/dist/bundled/v2/components/or-switch-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tab-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
- package/dist/bundled/v2/components/or-tabs-v3/index.js +9 -8
- package/dist/bundled/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tag-v3/index.js +8 -7
- package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-text-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
- package/dist/bundled/v2/components/or-textarea-v3/index.js +6 -7
- package/dist/bundled/v2/components/or-toast-v3/index.js +9 -8
- package/dist/bundled/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +5 -4
- package/dist/bundled/v2/hooks/index.d.ts +1 -3
- package/dist/bundled/v2/hooks/index.js +1 -2
- package/dist/bundled/v2/hooks/useClassAttribute.d.ts +3 -0
- package/dist/bundled/v2/index.js +47 -48
- package/dist/bundled/v2/{types-79e5c18d.js → types-8fe4e345.js} +2 -2
- package/dist/bundled/v2/useClassAttribute-9bf33346.js +33 -0
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-582e74ae.js → OrAvatar.vue_vue_type_script_lang-0426862b.js} +6 -3
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-bdef5ca2.js → OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js} +4 -2
- package/dist/bundled/v3/{OrButton-a1448bfa.js → OrButton-2b27c1fd.js} +8 -7
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3b1e442b.js → OrButton.vue_vue_type_script_lang-8c44986c.js} +6 -3
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-b6685a34.js → OrCard.vue_vue_type_script_lang-165de137.js} +4 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-60403ae6.js → OrCardCollection.vue_vue_type_script_lang-2d78a51a.js} +46 -42
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-fc067611.js → OrCheckbox.vue_vue_type_script_lang-8b36e06c.js} +24 -31
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-528380c1.js → OrConfirm.vue_vue_type_script_lang-05b21989.js} +7 -8
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-53648a65.js → OrError.vue_vue_type_script_lang-cc6c135f.js} +4 -1
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js → OrErrorTag.vue_vue_type_script_lang-4828c387.js} +6 -3
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js → OrExpansionPanel.vue_vue_type_script_lang-5360f580.js} +6 -3
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-0fe4a921.js → OrFab.vue_vue_type_script_lang-2adeaed6.js} +3 -2
- package/dist/bundled/v3/{OrHint-5d5e4d99.js → OrHint-9592499e.js} +15 -13
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-e322f61e.js → OrHint.vue_vue_type_script_lang-8e657168.js} +4 -1
- package/dist/bundled/v3/OrIcon-d878b768.js +13 -0
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-bdbaad94.js → OrIcon.vue_vue_type_script_lang-a119a715.js} +4 -1
- package/dist/bundled/v3/{OrIconButton-428dd2cf.js → OrIconButton-cd62526d.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-ec6a3622.js → OrIconButton.vue_vue_type_script_lang-aefcf30d.js} +13 -10
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-ab296efc.js → OrInlineInput.vue_vue_type_script_lang-67218502.js} +33 -41
- package/dist/bundled/v3/{OrInlineInputBox-f92a09d6.js → OrInlineInputBox-9d68ded1.js} +7 -6
- package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-b1ae1f3d.js → OrInlineInputBox.vue_vue_type_script_lang-73750005.js} +4 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3c3e1b4a.js → OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js} +33 -41
- package/dist/bundled/v3/{OrInput-2a7c6b57.js → OrInput-a4f220ed.js} +7 -7
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-509de504.js → OrInput.vue_vue_type_script_lang-607d79d4.js} +41 -44
- package/dist/bundled/v3/{OrInputBox-4c7900c2.js → OrInputBox-eb54d73d.js} +7 -6
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-47d98e81.js → OrInputBox.vue_vue_type_script_lang-5ee4ee45.js} +4 -1
- package/dist/bundled/v3/{OrLabel-c556887e.js → OrLabel-c6873e79.js} +8 -7
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-191d2304.js → OrLabel.vue_vue_type_script_lang-96f94c4e.js} +4 -1
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-05d4897b.js → OrLink.vue_vue_type_script_lang-9d3a32c7.js} +4 -1
- package/dist/bundled/v3/{OrLoader-123ef8c4.js → OrLoader-c4bbef2f.js} +8 -7
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-4c3c1ac9.js → OrLoader.vue_vue_type_script_lang-5405040c.js} +4 -1
- package/dist/bundled/v3/{OrMenu-6d7abe97.js → OrMenu-f26e8e55.js} +8 -7
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-df35fd76.js → OrMenu.vue_vue_type_script_lang-2446a69a.js} +6 -3
- package/dist/bundled/v3/{OrMenuItem-807e2a49.js → OrMenuItem-4feaba6c.js} +8 -7
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-2400ec2a.js → OrMenuItem.vue_vue_type_script_lang-0ffaef05.js} +6 -3
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-5a71a851.js → OrModal.vue_vue_type_script_lang-55c864d1.js} +7 -5
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-6287244f.js → OrNotification.vue_vue_type_script_lang-c886ae51.js} +8 -5
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-7edd25f6.js → OrOverlay.vue_vue_type_script_lang-cb3aad0c.js} +3 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-f64827ef.js → OrPagination.vue_vue_type_script_lang-c96d7cd7.js} +27 -17
- package/dist/bundled/v3/{OrPopover-1a488f88.js → OrPopover-c462ce77.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-b1102c1a.js → OrPopover.vue_vue_type_script_lang-54c7b11c.js} +5 -3
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-52f660d6.js → OrProgress.vue_vue_type_script_lang-a73c0acf.js} +5 -2
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-8dc0720c.js → OrRadio.vue_vue_type_script_lang-2e666a56.js} +24 -31
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-ab2ef22c.js → OrSearch.vue_vue_type_script_lang-06f318ca.js} +8 -5
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-38a00b68.js → OrSegmentedControl.vue_vue_type_script_lang-579406f5.js} +25 -14
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-8ab7bc56.js → OrSelect.vue_vue_type_script_lang-83f15704.js} +54 -45
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-1cf01183.js +356 -0
- package/dist/bundled/v3/{OrSkeletonText.vue_vue_type_script_lang-efcfbe21.js → OrSkeletonText.vue_vue_type_script_lang-577a1dc9.js} +12 -5
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-a20eae87.js → OrSortHeader.vue_vue_type_script_lang-75115125.js} +19 -11
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-31994be7.js → OrSwitch.vue_vue_type_script_lang-04829f64.js} +26 -33
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-f791efa0.js → OrTab.vue_vue_type_script_lang-134ad9d1.js} +4 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-cb550e87.js → OrTabs.vue_vue_type_script_lang-61b79a5a.js} +28 -20
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-68af600d.js → OrTag.vue_vue_type_script_lang-3e30f662.js} +7 -4
- package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-271fb345.js → OrText.vue_vue_type_script_lang-d9525d49.js} +4 -1
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-296da567.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +34 -45
- package/dist/bundled/v3/{OrToastContainer-ad5ae5af.js → OrToastContainer-34389303.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bf9935ef.js → OrTooltip.vue_vue_type_script_lang-67cc86ed.js} +6 -3
- package/dist/bundled/v3/components/index.js +58 -59
- package/dist/bundled/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-avatar-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-button-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +29 -30
- package/dist/bundled/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-card-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-confirm-v3/index.js +25 -26
- package/dist/bundled/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-error-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-fab-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-hint-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +9 -8
- package/dist/bundled/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-icon-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +16 -17
- package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +16 -17
- package/dist/bundled/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +21 -45
- package/dist/bundled/v3/components/or-input-v3/index.js +18 -19
- package/dist/bundled/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-label-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-link-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-loader-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-menu-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-modal-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-notification-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-overlay-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +16 -15
- package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-popover-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-progress-v3/index.js +3 -2
- package/dist/bundled/v3/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
- package/dist/bundled/v3/components/or-radio-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-search-v3/index.js +21 -22
- package/dist/bundled/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
- package/dist/{esm/v3/components/or-segmented-control-v3/partials → bundled/v3/components/or-segmented-control-v3/components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +16 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +25 -26
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +12 -0
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +15 -1
- package/dist/bundled/v3/components/or-sidebar-v3/styles.d.ts +8 -1
- package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/bundled/v3/components/or-skeleton-v3/index.js +3 -2
- package/dist/bundled/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
- package/dist/bundled/v3/components/or-switch-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tab-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
- package/dist/bundled/v3/components/or-tabs-v3/index.js +13 -12
- package/dist/bundled/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tag-v3/index.js +11 -10
- package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-text-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
- package/dist/bundled/v3/components/or-textarea-v3/index.js +9 -10
- package/dist/bundled/v3/components/or-toast-v3/index.js +14 -13
- package/dist/bundled/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +6 -5
- package/dist/bundled/v3/hooks/index.d.ts +1 -3
- package/dist/bundled/v3/hooks/index.js +1 -2
- package/dist/bundled/v3/hooks/useClassAttribute.d.ts +3 -0
- package/dist/bundled/v3/index.js +229 -200
- package/dist/bundled/v3/{types-1d25bb9a.js → types-f53434f2.js} +5 -5
- package/dist/bundled/v3/useClassAttribute-00888f78.js +9 -0
- package/dist/esm/v2/{OrAvatar-379ac72f.js → OrAvatar-3d155af3.js} +8 -4
- package/dist/esm/v2/{OrBottomSheet-37200385.js → OrBottomSheet-16c2e610.js} +4 -2
- package/dist/esm/v2/{OrButton-66964360.js → OrButton-835d4f11.js} +8 -4
- package/dist/esm/v2/{OrCard-e89c44ef.js → OrCard-de799db0.js} +7 -3
- package/dist/esm/v2/{OrCardCollection-bbdb6159.js → OrCardCollection-3c38fc85.js} +15 -11
- package/dist/esm/v2/{OrCheckbox-b380c131.js → OrCheckbox-567e387c.js} +34 -41
- package/dist/esm/v2/{OrConfirm-7fb515d4.js → OrConfirm-e2ab9b4c.js} +4 -5
- package/dist/esm/v2/{OrError-13845bb0.js → OrError-d267ee9a.js} +7 -3
- package/dist/esm/v2/{OrErrorTag-80f82cdf.js → OrErrorTag-782dd714.js} +8 -4
- package/dist/esm/v2/{OrExpansionPanel-729eb1e7.js → OrExpansionPanel-a123024e.js} +8 -4
- package/dist/esm/v2/{OrFab-1d095e33.js → OrFab-26106618.js} +4 -3
- package/dist/esm/v2/{OrHint-78b399cb.js → OrHint-42dc9ebb.js} +7 -3
- package/dist/esm/v2/{OrIcon-f34e0e6f.js → OrIcon-5e394c62.js} +7 -3
- package/dist/esm/v2/{OrIconButton-5fa56aec.js → OrIconButton-b3779042.js} +7 -4
- package/dist/esm/v2/{OrInlineInput-38645a8e.js → OrInlineInput-10205811.js} +39 -47
- package/dist/esm/v2/{OrInlineInputBox-46146af0.js → OrInlineInputBox-fefd4fbd.js} +7 -3
- package/dist/esm/v2/{OrInlineTextarea-b49a7107.js → OrInlineTextarea-7658611e.js} +35 -43
- package/dist/esm/v2/{OrInput-e8fe9102.js → OrInput-ada3a970.js} +50 -53
- package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-4d5a318d.js} +7 -3
- package/dist/esm/v2/{OrLabel-0945a4d9.js → OrLabel-2a9f1477.js} +7 -3
- package/dist/esm/v2/{OrLink-597e0e18.js → OrLink-80742a17.js} +7 -3
- package/dist/esm/v2/{OrLoader-76307488.js → OrLoader-f857d55b.js} +7 -3
- package/dist/esm/v2/{OrMenu-c276db74.js → OrMenu-df27d0ef.js} +8 -4
- package/dist/esm/v2/{OrMenuItem-7b7fbf8a.js → OrMenuItem-c7f28480.js} +8 -4
- package/dist/esm/v2/{OrModal-3b9d59de.js → OrModal-a7719843.js} +6 -3
- package/dist/esm/v2/{OrNotification-5e145880.js → OrNotification-8a4830a3.js} +9 -5
- package/dist/esm/v2/{OrOverlay-a019186f.js → OrOverlay-18ba2dc6.js} +3 -1
- package/dist/esm/v2/{OrPagination-1adbcadb.js → OrPagination-c0dbec6a.js} +27 -16
- package/dist/esm/v2/{OrPopover-d5d4f62a.js → OrPopover-9bafbdb4.js} +4 -2
- package/dist/esm/v2/{OrProgress-b7d1c689.js → OrProgress-c27c8946.js} +7 -4
- package/dist/esm/v2/{OrRadio-87a4d226.js → OrRadio-848ce55d.js} +32 -39
- package/dist/esm/v2/{OrSearch-4b774707.js → OrSearch-0f08f2f5.js} +9 -6
- package/dist/esm/v2/{OrSegmentedControl-7486115b.js → OrSegmentedControl-e8dce8f9.js} +23 -12
- package/dist/esm/v2/{OrSelect-871fae44.js → OrSelect-f8837f5d.js} +30 -22
- package/dist/esm/v2/OrSidebar-bfa1b1b8.js +461 -0
- package/dist/esm/v2/{OrSkeletonText-6ee72718.js → OrSkeletonText-950be6a2.js} +19 -11
- package/dist/esm/v2/{OrSortHeader-592727dc.js → OrSortHeader-19bf94ca.js} +21 -12
- package/dist/esm/v2/{OrSwitch-8549219a.js → OrSwitch-13b6a7ee.js} +33 -40
- package/dist/esm/v2/{OrTab-1ff87c76.js → OrTab-702e7335.js} +7 -3
- package/dist/esm/v2/{OrTabs-96b0473d.js → OrTabs-71bd3fd2.js} +20 -13
- package/dist/esm/v2/{OrTag-56714605.js → OrTag-5c404031.js} +9 -5
- package/dist/esm/v2/{OrText-b12d0682.js → OrText-ba5a2b6c.js} +7 -3
- package/dist/esm/v2/{OrTextarea-a5a3572b.js → OrTextarea-6712a150.js} +37 -49
- package/dist/esm/v2/{OrTooltip-629d44fc.js → OrTooltip-513bee30.js} +7 -4
- package/dist/esm/v2/components/index.js +47 -48
- package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-avatar-v3/index.js +4 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/esm/v2/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-button-v3/index.js +4 -2
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +19 -20
- package/dist/esm/v2/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-card-v3/index.js +3 -1
- package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
- package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +19 -20
- package/dist/esm/v2/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-error-tag-v3/index.js +4 -2
- package/dist/esm/v2/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-error-v3/index.js +3 -1
- package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +4 -2
- package/dist/esm/v2/components/or-fab-v3/index.js +4 -2
- package/dist/esm/v2/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-hint-v3/index.js +3 -1
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-icon-button-v3/index.js +7 -6
- package/dist/esm/v2/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-icon-v3/index.js +3 -1
- package/dist/esm/v2/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-inline-input-box-v3/index.js +3 -1
- package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
- package/dist/esm/v2/components/or-inline-input-v3/index.js +11 -12
- package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +11 -12
- package/dist/esm/v2/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-input-box-v3/index.js +3 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +21 -45
- package/dist/esm/v2/components/or-input-v3/index.js +12 -13
- package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-label-v3/index.js +3 -1
- package/dist/esm/v2/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-link-v3/index.js +3 -1
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-loader-v3/index.js +3 -1
- package/dist/esm/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-menu-item-v3/index.js +4 -2
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +6 -5
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +9 -8
- package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +9 -8
- package/dist/esm/v2/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +11 -10
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -3
- package/dist/esm/v2/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-progress-v3/index.js +3 -2
- package/dist/esm/v2/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
- package/dist/esm/v2/components/or-radio-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +14 -15
- package/dist/esm/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
- package/dist/esm/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +3 -1
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +16 -5
- package/dist/esm/v2/components/or-select-v3/index.js +17 -18
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +12 -0
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/esm/v2/components/or-sidebar-v3/index.js +13 -1
- package/dist/esm/v2/components/or-sidebar-v3/styles.d.ts +8 -1
- package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/esm/v2/components/or-skeleton-v3/index.js +4 -2
- package/dist/esm/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
- package/dist/esm/v2/components/or-sort-header-v3/index.js +4 -2
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
- package/dist/esm/v2/components/or-switch-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tab-v3/index.js +3 -1
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
- package/dist/esm/v2/components/or-tabs-v3/index.js +9 -8
- package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tag-v3/index.js +9 -8
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-text-v3/index.js +3 -1
- package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
- package/dist/esm/v2/components/or-textarea-v3/index.js +6 -7
- package/dist/esm/v2/components/or-toast-v3/index.js +9 -8
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v2/hooks/index.d.ts +1 -3
- package/dist/esm/v2/hooks/index.js +1 -2
- package/dist/esm/v2/hooks/useClassAttribute.d.ts +3 -0
- package/dist/esm/v2/index.js +46 -47
- package/dist/esm/v2/{types-856a804f.js → types-6c742e07.js} +2 -2
- package/dist/esm/v2/useClassAttribute-47fdb016.js +32 -0
- package/dist/esm/v3/{OrAvatar-6444e693.js → OrAvatar-53a4429d.js} +13 -8
- package/dist/esm/v3/{OrBottomSheet-13a416ef.js → OrBottomSheet-62817aec.js} +4 -2
- package/dist/esm/v3/{OrButton-c56998e7.js → OrButton-0fa67a0d.js} +13 -8
- package/dist/esm/v3/{OrCard-cd6af82e.js → OrCard-fd92f7c8.js} +11 -6
- package/dist/esm/v3/{OrCardCollection-47f61c40.js → OrCardCollection-dbb3e839.js} +19 -14
- package/dist/esm/v3/{OrCheckbox-16c1e2f4.js → OrCheckbox-3e139eac.js} +32 -40
- package/dist/esm/v3/{OrConfirm-8b7f29c2.js → OrConfirm-1bcd39b1.js} +4 -5
- package/dist/esm/v3/{OrError-19198748.js → OrError-ec8c709d.js} +12 -7
- package/dist/esm/v3/{OrErrorTag-308119de.js → OrErrorTag-98252eef.js} +13 -8
- package/dist/esm/v3/{OrExpansionPanel-3a4282da.js → OrExpansionPanel-f8d7ff8d.js} +13 -8
- package/dist/esm/v3/{OrFab-61131b31.js → OrFab-c8ae6e01.js} +9 -7
- package/dist/esm/v3/{OrHint-6863124f.js → OrHint-74bb732d.js} +12 -7
- package/dist/esm/v3/{OrIcon-34f59f73.js → OrIcon-b195169c.js} +11 -6
- package/dist/esm/v3/{OrIconButton-e5781317.js → OrIconButton-1a89fbf9.js} +7 -4
- package/dist/esm/v3/{OrInlineInput-09de432a.js → OrInlineInput-507fc99c.js} +33 -41
- package/dist/esm/v3/{OrInlineInputBox-09b33e18.js → OrInlineInputBox-8049f95a.js} +11 -6
- package/dist/esm/v3/{OrInlineTextarea-56328f22.js → OrInlineTextarea-53a9e027.js} +33 -41
- package/dist/esm/v3/{OrInput-6fb81556.js → OrInput-9c0426b9.js} +42 -45
- package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-6d1b6059.js} +11 -6
- package/dist/esm/v3/{OrLabel-f700f9fb.js → OrLabel-bdaec602.js} +12 -7
- package/dist/esm/v3/{OrLink-07f6f27d.js → OrLink-338db3ca.js} +12 -7
- package/dist/esm/v3/{OrLoader-a53d2edf.js → OrLoader-b3cf4231.js} +12 -7
- package/dist/esm/v3/{OrMenu-7f3ea117.js → OrMenu-840038cd.js} +13 -8
- package/dist/esm/v3/{OrMenuItem-58707d47.js → OrMenuItem-9da279f6.js} +13 -8
- package/dist/esm/v3/{OrModal-10838da7.js → OrModal-7878cc39.js} +6 -3
- package/dist/esm/v3/{OrNotification-25da89ca.js → OrNotification-e1383681.js} +14 -9
- package/dist/esm/v3/{OrOverlay-afad3aa4.js → OrOverlay-738a44d5.js} +3 -1
- package/dist/esm/v3/{OrPagination-da9e5017.js → OrPagination-a703307d.js} +32 -20
- package/dist/esm/v3/{OrPopover-40217b49.js → OrPopover-1075dd38.js} +4 -2
- package/dist/esm/v3/{OrProgress-639ed5e8.js → OrProgress-407002e0.js} +12 -8
- package/dist/esm/v3/{OrRadio-bb9b37c1.js → OrRadio-54b6d0de.js} +29 -37
- package/dist/esm/v3/{OrSearch-e15955a7.js → OrSearch-9885d178.js} +13 -9
- package/dist/esm/v3/{OrSegmentedControl-880b4911.js → OrSegmentedControl-171cad78.js} +32 -19
- package/dist/esm/v3/{OrSelect-acf12fe6.js → OrSelect-8fbd88bc.js} +37 -28
- package/dist/esm/v3/OrSidebar-90cc25cd.js +396 -0
- package/dist/esm/v3/{OrSkeletonText-afd3d007.js → OrSkeletonText-3965ff71.js} +33 -22
- package/dist/esm/v3/{OrSortHeader-a39f77f9.js → OrSortHeader-fe1a9cf8.js} +26 -16
- package/dist/esm/v3/{OrSwitch-1c2196da.js → OrSwitch-cca30aa0.js} +31 -38
- package/dist/esm/v3/{OrTab-d3785ea4.js → OrTab-c131cf60.js} +11 -6
- package/dist/esm/v3/{OrTabs-328d41b9.js → OrTabs-d0ee6cef.js} +20 -13
- package/dist/esm/v3/{OrTag-34bf1713.js → OrTag-5d54f37d.js} +14 -9
- package/dist/esm/v3/{OrText-6b4f7cd1.js → OrText-ecb46923.js} +12 -7
- package/dist/esm/v3/{OrTextarea-37566985.js → OrTextarea-bb9ef3f2.js} +35 -47
- package/dist/esm/v3/{OrTooltip-b07616f4.js → OrTooltip-50d27b4f.js} +12 -8
- package/dist/esm/v3/components/index.js +47 -48
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-avatar-v3/index.js +4 -2
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -2
- package/dist/esm/v3/components/or-button-v3/OrButton.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-button-v3/index.js +4 -2
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +19 -20
- package/dist/esm/v3/components/or-card-v3/OrCard.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-card-v3/index.js +3 -1
- package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +18 -23
- package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +19 -20
- package/dist/esm/v3/components/or-error-tag-v3/OrErrorTag.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-error-tag-v3/index.js +4 -2
- package/dist/esm/v3/components/or-error-v3/OrError.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-error-v3/index.js +3 -1
- package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +4 -2
- package/dist/esm/v3/components/or-fab-v3/index.js +4 -2
- package/dist/esm/v3/components/or-hint-v3/OrHint.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-hint-v3/index.js +3 -1
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-icon-button-v3/index.js +7 -6
- package/dist/esm/v3/components/or-icon-v3/OrIcon.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-icon-v3/index.js +3 -1
- package/dist/esm/v3/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-inline-input-box-v3/index.js +3 -1
- package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +19 -38
- package/dist/esm/v3/components/or-inline-input-v3/index.js +11 -12
- package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +19 -38
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +11 -12
- package/dist/esm/v3/components/or-input-box-v3/OrInputBox.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-input-box-v3/index.js +3 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +21 -45
- package/dist/esm/v3/components/or-input-v3/index.js +12 -13
- package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-label-v3/index.js +3 -1
- package/dist/esm/v3/components/or-link-v3/OrLink.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-link-v3/index.js +3 -1
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-loader-v3/index.js +3 -1
- package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-menu-item-v3/index.js +4 -2
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +6 -5
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +9 -8
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +9 -8
- package/dist/esm/v3/components/or-overlay-v3/OrOverlay.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +13 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +11 -10
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -3
- package/dist/esm/v3/components/or-progress-v3/OrProgress.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-progress-v3/index.js +3 -2
- package/dist/esm/v3/components/or-radio-v3/OrRadio.vue.d.ts +15 -20
- package/dist/esm/v3/components/or-radio-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +14 -15
- package/dist/esm/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +16 -5
- package/dist/{bundled/v2/components/or-segmented-control-v3/partials → esm/v3/components/or-segmented-control-v3/components}/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +3 -1
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +16 -5
- package/dist/esm/v3/components/or-select-v3/index.js +17 -18
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +36 -1
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +49 -4
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +12 -0
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +53 -0
- package/dist/esm/v3/components/or-sidebar-v3/index.js +12 -1
- package/dist/esm/v3/components/or-sidebar-v3/styles.d.ts +8 -1
- package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonCircle.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonRect.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-skeleton-v3/OrSkeletonText.vue.d.ts +4 -4
- package/dist/esm/v3/components/or-skeleton-v3/index.js +4 -2
- package/dist/esm/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +15 -4
- package/dist/esm/v3/components/or-sort-header-v3/index.js +4 -2
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +18 -23
- package/dist/esm/v3/components/or-switch-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tab-v3/OrTab.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tab-v3/index.js +3 -1
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +15 -4
- package/dist/esm/v3/components/or-tabs-v3/index.js +9 -8
- package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tag-v3/index.js +9 -8
- package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-text-v3/index.js +3 -1
- package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +19 -47
- package/dist/esm/v3/components/or-textarea-v3/index.js +6 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +9 -8
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v3/hooks/index.d.ts +1 -3
- package/dist/esm/v3/hooks/index.js +1 -2
- package/dist/esm/v3/hooks/useClassAttribute.d.ts +3 -0
- package/dist/esm/v3/index.js +46 -47
- package/dist/esm/v3/{types-7f17b4b2.js → types-2692e337.js} +2 -2
- package/dist/esm/v3/useClassAttribute-47fdb016.js +32 -0
- package/package.json +1 -1
- package/src/components/or-avatar-v3/OrAvatar.vue +9 -3
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +4 -0
- package/src/components/or-button-v3/OrButton.vue +7 -0
- package/src/components/or-card-collection-v3/OrCardCollection.vue +17 -9
- package/src/components/or-card-v3/OrCard.vue +7 -0
- package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +7 -3
- package/src/components/or-checkbox-v3/OrCheckbox.vue +26 -34
- package/src/components/or-confirm-v3/OrConfirm.vue +12 -19
- package/src/components/or-error-tag-v3/OrErrorTag.vue +7 -0
- package/src/components/or-error-v3/OrError.vue +7 -0
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +7 -0
- package/src/components/or-fab-v3/OrFab.vue +3 -0
- package/src/components/or-hint-v3/OrHint.vue +7 -0
- package/src/components/or-icon-button-v3/OrIconButton.vue +4 -0
- package/src/components/or-icon-v3/OrIcon.vue +7 -0
- package/src/components/or-inline-input-box-v3/OrInlineInputBox.vue +7 -0
- package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +4 -0
- package/src/components/or-inline-input-v3/OrInlineInput.vue +27 -36
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +4 -0
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +27 -36
- package/src/components/or-input-box-v3/OrInputBox.vue +7 -0
- package/src/components/or-input-v3/OrInput.stories3.ts +8 -4
- package/src/components/or-input-v3/OrInput.vue +34 -37
- package/src/components/or-label-v3/OrLabel.vue +7 -0
- package/src/components/or-link-v3/OrLink.vue +7 -0
- package/src/components/or-loader-v3/OrLoader.vue +8 -1
- package/src/components/or-menu-item-v3/OrMenuItem.vue +7 -0
- package/src/components/or-menu-v3/OrMenu.vue +7 -0
- package/src/components/or-modal-v3/OrModal.vue +4 -0
- package/src/components/or-notification-v3/OrNotification.vue +7 -0
- package/src/components/or-overlay-v3/OrOverlay.vue +4 -1
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +4 -0
- package/src/components/or-pagination-v3/OrPagination.vue +27 -9
- package/src/components/or-popover-v3/OrPopover.vue +4 -1
- package/src/components/or-progress-v3/OrProgress.vue +20 -3
- package/src/components/or-radio-v3/OrRadio.stories3.ts +7 -3
- package/src/components/or-radio-v3/OrRadio.vue +25 -33
- package/src/components/or-search-v3/OrSearch.vue +8 -1
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +4 -0
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +18 -6
- package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/OrSegmentedControlItem.vue +7 -0
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +18 -8
- package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +6 -0
- package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +219 -6
- package/src/components/or-sidebar-v3/OrSidebar.vue +121 -22
- package/src/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.ts +48 -0
- package/src/components/or-sidebar-v3/OrSidebarCollapseButton.vue +74 -0
- package/src/components/or-sidebar-v3/styles.ts +164 -9
- package/src/components/or-skeleton-v3/OrSkeletonCircle.vue +8 -2
- package/src/components/or-skeleton-v3/OrSkeletonRect.vue +8 -3
- package/src/components/or-skeleton-v3/OrSkeletonText.vue +9 -5
- package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +7 -3
- package/src/components/or-sort-header-v3/OrSortHeader.vue +19 -8
- package/src/components/or-switch-v3/OrSwitch.stories3.ts +7 -3
- package/src/components/or-switch-v3/OrSwitch.vue +25 -33
- package/src/components/or-tab-v3/OrTab.vue +7 -0
- package/src/components/or-tabs-v3/OrTabs.stories3.ts +4 -0
- package/src/components/or-tabs-v3/OrTabs.vue +16 -7
- package/src/components/or-tag-v3/OrTag.vue +7 -0
- package/src/components/or-tag-v3/styles.ts +3 -0
- package/src/components/or-text-v3/OrText.vue +7 -0
- package/src/components/or-textarea-v3/OrTextarea.stories3.ts +8 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +28 -41
- package/src/components/or-tooltip-v3/OrTooltip.vue +7 -0
- package/src/hooks/index.ts +1 -3
- package/src/hooks/useClassAttribute.ts +39 -0
- package/dist/bundled/v2/OrSidebar-c95ef614.js +0 -230
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +0 -8
- package/dist/bundled/v2/hooks/useIdAttribute.d.ts +0 -2
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/bundled/v2/useIdAttribute-cf61643f.js +0 -22
- package/dist/bundled/v2/useValidationAttributes-6df7bcf9.js +0 -17
- package/dist/bundled/v3/OrIcon-1a5c9091.js +0 -12
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-ce0b152c.js +0 -181
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +0 -8
- package/dist/bundled/v3/hooks/useIdAttribute.d.ts +0 -2
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/bundled/v3/useIdAttribute-b2e42f31.js +0 -21
- package/dist/bundled/v3/useValidationAttributes-5428d8fa.js +0 -16
- package/dist/esm/v2/OrSidebar-fabc7bc9.js +0 -228
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +0 -8
- package/dist/esm/v2/hooks/useIdAttribute.d.ts +0 -2
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/esm/v2/useIdAttribute-859439f0.js +0 -21
- package/dist/esm/v2/useValidationAttributes-d1abbe34.js +0 -16
- package/dist/esm/v3/OrSidebar-a62972f5.js +0 -206
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +0 -8
- package/dist/esm/v3/hooks/useIdAttribute.d.ts +0 -2
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +0 -12
- package/dist/esm/v3/useIdAttribute-859439f0.js +0 -21
- package/dist/esm/v3/useValidationAttributes-d1abbe34.js +0 -16
- package/src/hooks/useControlAttributes.ts +0 -19
- package/src/hooks/useIdAttribute.ts +0 -9
- package/src/hooks/useValidationAttributes.ts +0 -25
- /package/dist/bundled/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/bundled/v3/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/esm/v2/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- /package/dist/esm/v3/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- /package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.ts +0 -0
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
|
+
import _ from 'lodash';
|
|
3
|
+
import './index-fa6eb4ca.js';
|
|
4
|
+
import { O as OrIconButton } from './OrIconButton-a2ba92df.js';
|
|
5
|
+
import { defineComponent, ref, computed, useSlots, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
|
+
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
|
+
|
|
8
|
+
var OrSidebarPlacement;
|
|
9
|
+
(function (OrSidebarPlacement) {
|
|
10
|
+
OrSidebarPlacement["left"] = "left";
|
|
11
|
+
OrSidebarPlacement["right"] = "right";
|
|
12
|
+
})(OrSidebarPlacement || (OrSidebarPlacement = {}));
|
|
13
|
+
|
|
14
|
+
const SidebarRoot = [
|
|
15
|
+
// Position
|
|
16
|
+
'relative',
|
|
17
|
+
// Layout
|
|
18
|
+
'flex', 'flex-row', 'shrink-0',
|
|
19
|
+
// Box
|
|
20
|
+
'min-w-0', 'h-auto', 'p-0',
|
|
21
|
+
// Theme
|
|
22
|
+
'bg-background', 'dark:bg-background-dark'];
|
|
23
|
+
const SidebarBar = [
|
|
24
|
+
// Position
|
|
25
|
+
'relative',
|
|
26
|
+
// Layout
|
|
27
|
+
'flex', 'flex-col', 'shrink-0', 'grow',
|
|
28
|
+
// Box
|
|
29
|
+
'min-h-0', 'p-0',
|
|
30
|
+
// Theme
|
|
31
|
+
'text-on-background', 'dark:text-on-background-dark',
|
|
32
|
+
// Transition
|
|
33
|
+
'transition-[width]'];
|
|
34
|
+
const SidebarToolbar = [
|
|
35
|
+
// Position
|
|
36
|
+
'relative',
|
|
37
|
+
// Layout
|
|
38
|
+
'flex', 'flex-col', 'shrink-0', 'grow', 'overflow-auto', 'items-center',
|
|
39
|
+
// Sizing
|
|
40
|
+
'gap-md',
|
|
41
|
+
// Box
|
|
42
|
+
'min-h-0', 'min-w-xl', 'p-[6px]', 'pt-[56px]', 'pb-md+',
|
|
43
|
+
// Theme
|
|
44
|
+
'text-outline', 'dark:text-outline-dark'];
|
|
45
|
+
const SidebarSides = {
|
|
46
|
+
[OrSidebarPlacement.left]: [
|
|
47
|
+
// Borders
|
|
48
|
+
'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
|
|
49
|
+
[OrSidebarPlacement.right]: [
|
|
50
|
+
// Borders
|
|
51
|
+
'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
|
|
52
|
+
};
|
|
53
|
+
const SidebarToolbarSides = {
|
|
54
|
+
[OrSidebarPlacement.left]: [
|
|
55
|
+
// Borders
|
|
56
|
+
'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
|
|
57
|
+
[OrSidebarPlacement.right]: [
|
|
58
|
+
// Borders
|
|
59
|
+
'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
|
|
60
|
+
};
|
|
61
|
+
const SidebarResize = [
|
|
62
|
+
// Position
|
|
63
|
+
'absolute', 'inset-y-none', 'z-[1]',
|
|
64
|
+
// Box
|
|
65
|
+
'w-sm+', 'h-[100%]',
|
|
66
|
+
// Cursor
|
|
67
|
+
'cursor-ew-resize'];
|
|
68
|
+
const SidebarResizeSides = {
|
|
69
|
+
[OrSidebarPlacement.left]: [
|
|
70
|
+
// Position
|
|
71
|
+
'-right-[1px]',
|
|
72
|
+
// Borders
|
|
73
|
+
'hover:border-r-2', 'hover:border-r-primary-hover hover:dark:border-r-primary-hover-dark',
|
|
74
|
+
// Transition
|
|
75
|
+
'transition-[border-right]'],
|
|
76
|
+
[OrSidebarPlacement.right]: [
|
|
77
|
+
// Position
|
|
78
|
+
'-left-[1px]',
|
|
79
|
+
// Borders
|
|
80
|
+
'hover:border-l-2', 'hover:border-l-primary-hover hover:dark:border-l-primary-hover-dark',
|
|
81
|
+
// Transition
|
|
82
|
+
'transition-[border-left]']
|
|
83
|
+
};
|
|
84
|
+
const SidebarCollapseButton = [
|
|
85
|
+
// Position
|
|
86
|
+
'absolute', 'top-md', 'inset-y-none', 'z-[1]',
|
|
87
|
+
// Cursor
|
|
88
|
+
'cursor-ew-resize'];
|
|
89
|
+
const SidebarCollapseButtonSides = {
|
|
90
|
+
[OrSidebarPlacement.left]: [
|
|
91
|
+
// Position
|
|
92
|
+
'-right-[12px]'],
|
|
93
|
+
[OrSidebarPlacement.right]: [
|
|
94
|
+
// Position
|
|
95
|
+
'-left-[12px]']
|
|
96
|
+
};
|
|
97
|
+
const SidebarResizingSides = {
|
|
98
|
+
[OrSidebarPlacement.left]: [
|
|
99
|
+
// Borders
|
|
100
|
+
'border-r-2', 'border-r-primary-hover dark:border-r-primary-hover-dark'],
|
|
101
|
+
[OrSidebarPlacement.right]: [
|
|
102
|
+
// Borders
|
|
103
|
+
'border-l-2', 'border-l-primary-hover dark:border-l-primary-hover-dark']
|
|
104
|
+
};
|
|
105
|
+
const SidebarMain = [
|
|
106
|
+
// Layout
|
|
107
|
+
'flex', 'flex-col', 'grow', 'overflow-x-hidden',
|
|
108
|
+
// Box
|
|
109
|
+
'min-h-0'];
|
|
110
|
+
const SidebarHeader = [
|
|
111
|
+
// Layout
|
|
112
|
+
'shrink-0', 'overflow-hidden',
|
|
113
|
+
// Sizing
|
|
114
|
+
'p-md',
|
|
115
|
+
// Typography
|
|
116
|
+
'typography-headline-2', 'whitespace-nowrap', 'text-ellipsis'];
|
|
117
|
+
const SidebarContent = [
|
|
118
|
+
// Layout
|
|
119
|
+
'grow', 'overflow-auto',
|
|
120
|
+
// Sizing
|
|
121
|
+
'p-md'];
|
|
122
|
+
const SidebarFooter = [
|
|
123
|
+
// Layout
|
|
124
|
+
'shrink-0', 'overflow-x-hidden',
|
|
125
|
+
// Sizing
|
|
126
|
+
'p-md',
|
|
127
|
+
// Borders
|
|
128
|
+
'border-t-[1px]', 'border-t-solid', 'border-t-outline-variant dark:border-t-outline-variant-dark'];
|
|
129
|
+
const CollapseButtonContainer = [
|
|
130
|
+
// Box
|
|
131
|
+
'w-[24px]', 'h-[24px]', 'rounded-full',
|
|
132
|
+
// Theme
|
|
133
|
+
'text-primary dark:text-primary-dark', 'bg-background dark:bg-background-dark'];
|
|
134
|
+
const CollapseButton = [
|
|
135
|
+
// Box
|
|
136
|
+
'w-[24px]', 'h-[24px]',
|
|
137
|
+
// Typography
|
|
138
|
+
'!text-[16px]',
|
|
139
|
+
// Borders
|
|
140
|
+
'!border-[1px]', '!border-solid',
|
|
141
|
+
// Theme
|
|
142
|
+
'!text-primary dark:!text-primary-dark', '!bg-background dark:!bg-background-dark', '!border-outline-variant dark:!border-outline-variant-dark', '!outline-none',
|
|
143
|
+
// Theme (hover)
|
|
144
|
+
'hover:!text-primary hover:dark:!text-primary-dark', 'hover:!bg-primary-opacity-0-08 dark:hover:!bg-primary-opacity-0-08-dark', 'hover:!border-outline dark:hover:!border-outline-dark',
|
|
145
|
+
// Theme (active)
|
|
146
|
+
'active:!text-primary active:dark:!text-primary-dark', 'active:!bg-primary-opacity-0-12 dark:active:!bg-primary-opacity-0-12-dark', 'active:!border-primary dark:active:!border-primary-dark',
|
|
147
|
+
// Theme (focus)
|
|
148
|
+
'focus:!text-primary focus:dark:!text-primary-dark', 'focus:!bg-primary-opacity-0-12 dark:focus:!bg-primary-opacity-0-12-dark', 'focus:!border-outline dark:focus:!border-outline-dark',
|
|
149
|
+
// Theme (disabled)
|
|
150
|
+
'disabled:!text-on-disabled disabled:dark:!text-on-disabled-dark', 'disabled:!bg-background disabled:dark:!bg-background-dark', 'disabled:!border-outline-variant disabled:dark:!border-outline-variant-dark'];
|
|
151
|
+
|
|
152
|
+
var script$1 = defineComponent({
|
|
153
|
+
name: 'OrSidebarCollapseButton',
|
|
154
|
+
components: {
|
|
155
|
+
OrIconButton
|
|
156
|
+
},
|
|
157
|
+
props: {
|
|
158
|
+
/**
|
|
159
|
+
* Must be `true` if sidebar is collapsed.
|
|
160
|
+
*/
|
|
161
|
+
modelValue: {
|
|
162
|
+
type: Boolean,
|
|
163
|
+
default: false
|
|
164
|
+
},
|
|
165
|
+
side: {
|
|
166
|
+
type: String,
|
|
167
|
+
default: OrSidebarPlacement.right,
|
|
168
|
+
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
emits: ['update:modelValue'],
|
|
172
|
+
expose: ['root'],
|
|
173
|
+
setup(props) {
|
|
174
|
+
// Refs
|
|
175
|
+
const root = ref();
|
|
176
|
+
const rootStyles = computed(() => ['or-sidebar-collapse-button', ...CollapseButtonContainer]);
|
|
177
|
+
const buttonStyles = computed(() => [...CollapseButton]);
|
|
178
|
+
const icon = computed(() => props.side === OrSidebarPlacement.left !== props.modelValue ? 'keyboard_arrow_left' : 'keyboard_arrow_right');
|
|
179
|
+
return {
|
|
180
|
+
root,
|
|
181
|
+
rootStyles,
|
|
182
|
+
buttonStyles,
|
|
183
|
+
icon
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
/* script */
|
|
189
|
+
const __vue_script__$1 = script$1;
|
|
190
|
+
|
|
191
|
+
/* template */
|
|
192
|
+
var __vue_render__$1 = function () {
|
|
193
|
+
var _vm = this;
|
|
194
|
+
var _h = _vm.$createElement;
|
|
195
|
+
var _c = _vm._self._c || _h;
|
|
196
|
+
return _c('div', {
|
|
197
|
+
ref: "root",
|
|
198
|
+
class: _vm.rootStyles
|
|
199
|
+
}, [_c('or-icon-button', {
|
|
200
|
+
class: _vm.buttonStyles,
|
|
201
|
+
attrs: {
|
|
202
|
+
"icon": {
|
|
203
|
+
icon: _vm.icon,
|
|
204
|
+
size: 'inherit'
|
|
205
|
+
},
|
|
206
|
+
"color": "inherit"
|
|
207
|
+
},
|
|
208
|
+
on: {
|
|
209
|
+
"click": function ($event) {
|
|
210
|
+
return _vm.$emit('update:modelValue', !_vm.modelValue);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
})], 1);
|
|
214
|
+
};
|
|
215
|
+
var __vue_staticRenderFns__$1 = [];
|
|
216
|
+
|
|
217
|
+
/* style */
|
|
218
|
+
const __vue_inject_styles__$1 = undefined;
|
|
219
|
+
/* scoped */
|
|
220
|
+
const __vue_scope_id__$1 = undefined;
|
|
221
|
+
/* module identifier */
|
|
222
|
+
const __vue_module_identifier__$1 = undefined;
|
|
223
|
+
/* functional template */
|
|
224
|
+
const __vue_is_functional_template__$1 = false;
|
|
225
|
+
/* style inject */
|
|
226
|
+
|
|
227
|
+
/* style inject SSR */
|
|
228
|
+
|
|
229
|
+
/* style inject shadow dom */
|
|
230
|
+
|
|
231
|
+
const __vue_component__$2 = /*#__PURE__*/normalizeComponent({
|
|
232
|
+
render: __vue_render__$1,
|
|
233
|
+
staticRenderFns: __vue_staticRenderFns__$1
|
|
234
|
+
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
|
|
235
|
+
var OrSidebarCollapseButton = __vue_component__$2;
|
|
236
|
+
|
|
237
|
+
var script = defineComponent({
|
|
238
|
+
name: 'OrSidebar',
|
|
239
|
+
components: {
|
|
240
|
+
OrSidebarCollapseButton
|
|
241
|
+
},
|
|
242
|
+
props: {
|
|
243
|
+
width: {
|
|
244
|
+
type: Number,
|
|
245
|
+
default: 320,
|
|
246
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
247
|
+
},
|
|
248
|
+
minimumWidth: {
|
|
249
|
+
type: Number,
|
|
250
|
+
default: 256,
|
|
251
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
252
|
+
},
|
|
253
|
+
maximumWidth: {
|
|
254
|
+
type: Number,
|
|
255
|
+
default: 384,
|
|
256
|
+
validator: value => _.isNumber(value) && value >= 0
|
|
257
|
+
},
|
|
258
|
+
/**
|
|
259
|
+
* User may put the component on the right or the left side of a container.
|
|
260
|
+
* This property mirrors the resizing behavior (drag direction) and styling (horizontal border) of the sidebar.
|
|
261
|
+
*
|
|
262
|
+
* Note: the property doesn't reposition the component in the parent container.
|
|
263
|
+
* @values left, right
|
|
264
|
+
*/
|
|
265
|
+
side: {
|
|
266
|
+
type: String,
|
|
267
|
+
default: OrSidebarPlacement.right,
|
|
268
|
+
validator: value => _.includes(_.values(OrSidebarPlacement), value)
|
|
269
|
+
},
|
|
270
|
+
draggable: {
|
|
271
|
+
type: Boolean,
|
|
272
|
+
default: true
|
|
273
|
+
},
|
|
274
|
+
collapsible: {
|
|
275
|
+
type: Boolean,
|
|
276
|
+
default: false
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
emits: ['change:width'],
|
|
280
|
+
expose: ['root', 'open', 'close'],
|
|
281
|
+
setup(props, {
|
|
282
|
+
emit
|
|
283
|
+
}) {
|
|
284
|
+
// Refs
|
|
285
|
+
const root = ref();
|
|
286
|
+
const resizeBar = ref(null);
|
|
287
|
+
const parentContainer = computed(() => {
|
|
288
|
+
var _a;
|
|
289
|
+
return (_a = root.value) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
290
|
+
});
|
|
291
|
+
// Slots
|
|
292
|
+
const {
|
|
293
|
+
toolbar: toolbarSlot
|
|
294
|
+
} = useSlots();
|
|
295
|
+
// State
|
|
296
|
+
const startPositionX = ref(0);
|
|
297
|
+
const isResizing = ref(false);
|
|
298
|
+
const isCollapsed = ref(false);
|
|
299
|
+
const maximumWidth = ref(props.maximumWidth || 384);
|
|
300
|
+
const localWidth = ref(props.width >= props.minimumWidth ? props.width : props.minimumWidth);
|
|
301
|
+
const isShowingToolbar = computed(() => !!toolbarSlot);
|
|
302
|
+
// Styles
|
|
303
|
+
const sidebarStyle = computed(() => ({
|
|
304
|
+
width: (isCollapsed.value ? 16 : localWidth.value) + 'px'
|
|
305
|
+
}));
|
|
306
|
+
const rootStyles = computed(() => ['or-sidebar', ...SidebarRoot]);
|
|
307
|
+
const sidebarStyles = computed(() => [...SidebarBar, ...SidebarSides[props.side]]);
|
|
308
|
+
const toolbarStyles = computed(() => [...SidebarToolbar, ...SidebarToolbarSides[props.side]]);
|
|
309
|
+
const resizeStyles = computed(() => [...SidebarResize, ...SidebarResizeSides[props.side], ...(isResizing.value ? SidebarResizingSides[props.side] : [])]);
|
|
310
|
+
const collapsibleButtonStyles = computed(() => [...SidebarCollapseButton, ...SidebarCollapseButtonSides[props.side]]);
|
|
311
|
+
const mainStyles = computed(() => [...SidebarMain]);
|
|
312
|
+
const headerStyles = computed(() => [...SidebarHeader]);
|
|
313
|
+
const contentStyles = computed(() => [...SidebarContent]);
|
|
314
|
+
const footerStyles = computed(() => [...SidebarFooter]);
|
|
315
|
+
// Effects
|
|
316
|
+
useDraggable(resizeBar, {
|
|
317
|
+
preventDefault: true,
|
|
318
|
+
onStart: (position, event) => {
|
|
319
|
+
document.body.style.cursor = 'ew-resize';
|
|
320
|
+
document.body.style.userSelect = 'none';
|
|
321
|
+
startPositionX.value = event.x;
|
|
322
|
+
isResizing.value = true;
|
|
323
|
+
},
|
|
324
|
+
onMove: position => {
|
|
325
|
+
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.left ? -1 : 1);
|
|
326
|
+
const newWidth = localWidth.value - delta;
|
|
327
|
+
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
328
|
+
startPositionX.value = position.x;
|
|
329
|
+
},
|
|
330
|
+
onEnd: () => {
|
|
331
|
+
document.body.style.cursor = '';
|
|
332
|
+
document.body.style.userSelect = '';
|
|
333
|
+
isResizing.value = false;
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
// Methods
|
|
337
|
+
function open() {
|
|
338
|
+
isCollapsed.value = false;
|
|
339
|
+
}
|
|
340
|
+
function close() {
|
|
341
|
+
isCollapsed.value = true;
|
|
342
|
+
}
|
|
343
|
+
const {
|
|
344
|
+
width: containerWidth
|
|
345
|
+
} = useElementBounding(parentContainer);
|
|
346
|
+
watch(() => props.width, newValue => {
|
|
347
|
+
if (newValue !== localWidth.value) {
|
|
348
|
+
localWidth.value = newValue > maximumWidth.value ? maximumWidth.value : newValue < props.minimumWidth ? props.minimumWidth : newValue;
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
watch(() => props.minimumWidth, newMinimum => {
|
|
352
|
+
if (newMinimum > localWidth.value) localWidth.value = newMinimum;
|
|
353
|
+
});
|
|
354
|
+
watch(() => props.maximumWidth, newMaximum => {
|
|
355
|
+
if (newMaximum < maximumWidth.value) maximumWidth.value = newMaximum;
|
|
356
|
+
});
|
|
357
|
+
watch(containerWidth, newMaximum => {
|
|
358
|
+
if (newMaximum < maximumWidth.value) maximumWidth.value = newMaximum;
|
|
359
|
+
});
|
|
360
|
+
watch(maximumWidth, newMaximum => {
|
|
361
|
+
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
362
|
+
});
|
|
363
|
+
watch(localWidth, val => emit('change:width', val));
|
|
364
|
+
return {
|
|
365
|
+
root,
|
|
366
|
+
resizeBar,
|
|
367
|
+
isResizing,
|
|
368
|
+
isCollapsed,
|
|
369
|
+
localWidth,
|
|
370
|
+
isShowingToolbar,
|
|
371
|
+
sidebarStyle,
|
|
372
|
+
rootStyles,
|
|
373
|
+
sidebarStyles,
|
|
374
|
+
toolbarStyles,
|
|
375
|
+
resizeStyles,
|
|
376
|
+
collapsibleButtonStyles,
|
|
377
|
+
mainStyles,
|
|
378
|
+
headerStyles,
|
|
379
|
+
contentStyles,
|
|
380
|
+
footerStyles,
|
|
381
|
+
open,
|
|
382
|
+
close
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
|
|
387
|
+
/* script */
|
|
388
|
+
const __vue_script__ = script;
|
|
389
|
+
|
|
390
|
+
/* template */
|
|
391
|
+
var __vue_render__ = function () {
|
|
392
|
+
var _vm = this;
|
|
393
|
+
var _h = _vm.$createElement;
|
|
394
|
+
var _c = _vm._self._c || _h;
|
|
395
|
+
return _c('aside', {
|
|
396
|
+
ref: "root",
|
|
397
|
+
class: _vm.rootStyles
|
|
398
|
+
}, [_vm.side === 'right' && _vm.isShowingToolbar ? _c('div', {
|
|
399
|
+
class: _vm.toolbarStyles
|
|
400
|
+
}, [_vm._t("toolbar")], 2) : _vm._e(), _vm._v(" "), _c('div', {
|
|
401
|
+
class: _vm.sidebarStyles,
|
|
402
|
+
style: _vm.sidebarStyle
|
|
403
|
+
}, [_vm.draggable && !_vm.isCollapsed ? _c('div', {
|
|
404
|
+
ref: "resizeBar",
|
|
405
|
+
class: _vm.resizeStyles
|
|
406
|
+
}) : _vm._e(), _vm._v(" "), _vm.collapsible ? _c('or-sidebar-collapse-button', {
|
|
407
|
+
class: _vm.collapsibleButtonStyles,
|
|
408
|
+
attrs: {
|
|
409
|
+
"side": _vm.side
|
|
410
|
+
},
|
|
411
|
+
model: {
|
|
412
|
+
value: _vm.isCollapsed,
|
|
413
|
+
callback: function ($$v) {
|
|
414
|
+
_vm.isCollapsed = $$v;
|
|
415
|
+
},
|
|
416
|
+
expression: "isCollapsed"
|
|
417
|
+
}
|
|
418
|
+
}) : _vm._e(), _vm._v(" "), _c('div', {
|
|
419
|
+
directives: [{
|
|
420
|
+
name: "show",
|
|
421
|
+
rawName: "v-show",
|
|
422
|
+
value: !_vm.isCollapsed,
|
|
423
|
+
expression: "!isCollapsed"
|
|
424
|
+
}],
|
|
425
|
+
class: _vm.mainStyles
|
|
426
|
+
}, [_vm.$slots.header ? _c('div', {
|
|
427
|
+
class: _vm.headerStyles
|
|
428
|
+
}, [_vm._t("header")], 2) : _vm._e(), _vm._v(" "), _c('div', {
|
|
429
|
+
class: _vm.contentStyles
|
|
430
|
+
}, [_vm._t("default")], 2)]), _vm._v(" "), _vm.$slots.footer ? _c('div', {
|
|
431
|
+
directives: [{
|
|
432
|
+
name: "show",
|
|
433
|
+
rawName: "v-show",
|
|
434
|
+
value: !_vm.isCollapsed,
|
|
435
|
+
expression: "!isCollapsed"
|
|
436
|
+
}],
|
|
437
|
+
class: _vm.footerStyles
|
|
438
|
+
}, [_vm._t("footer")], 2) : _vm._e()], 1), _vm._v(" "), _vm.side === 'left' && _vm.isShowingToolbar ? _c('div', {
|
|
439
|
+
class: _vm.toolbarStyles
|
|
440
|
+
}, [_vm._t("toolbar")], 2) : _vm._e()]);
|
|
441
|
+
};
|
|
442
|
+
var __vue_staticRenderFns__ = [];
|
|
443
|
+
|
|
444
|
+
/* style */
|
|
445
|
+
const __vue_inject_styles__ = undefined;
|
|
446
|
+
/* scoped */
|
|
447
|
+
const __vue_scope_id__ = undefined;
|
|
448
|
+
/* module identifier */
|
|
449
|
+
const __vue_module_identifier__ = undefined;
|
|
450
|
+
/* functional template */
|
|
451
|
+
const __vue_is_functional_template__ = false;
|
|
452
|
+
/* style inject */
|
|
453
|
+
|
|
454
|
+
/* style inject SSR */
|
|
455
|
+
|
|
456
|
+
/* style inject shadow dom */
|
|
457
|
+
|
|
458
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
459
|
+
render: __vue_render__,
|
|
460
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
461
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
462
|
+
var __vue_component__$1 = __vue_component__;
|
|
463
|
+
|
|
464
|
+
export { OrSidebarPlacement as O, __vue_component__$1 as _ };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import _ from 'lodash';
|
|
2
1
|
import './index-fa6eb4ca.js';
|
|
2
|
+
import _ from 'lodash';
|
|
3
3
|
import { p as pxToRem } from './px-to-rem-0b26b83e.js';
|
|
4
|
+
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
4
5
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
5
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
7
|
|
|
@@ -39,6 +40,7 @@ const SkeletonAnimated = [
|
|
|
39
40
|
|
|
40
41
|
var script$2 = defineComponent({
|
|
41
42
|
name: 'OrSkeletonCircle',
|
|
43
|
+
inheritAttrs: false,
|
|
42
44
|
props: {
|
|
43
45
|
animated: {
|
|
44
46
|
type: Boolean,
|
|
@@ -56,7 +58,8 @@ var script$2 = defineComponent({
|
|
|
56
58
|
// Refs
|
|
57
59
|
const root = ref();
|
|
58
60
|
// Styles
|
|
59
|
-
const
|
|
61
|
+
const classAttribute = useClassAttribute();
|
|
62
|
+
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-circle', ...SkeletonRoot, ...SkeletonCircle, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
|
|
60
63
|
const rootStyle = computed(() => {
|
|
61
64
|
var _a;
|
|
62
65
|
const size = (_a = props.size) !== null && _a !== void 0 ? _a : 40; // 40px - medium OrAvatar
|
|
@@ -84,11 +87,11 @@ var __vue_render__$2 = function () {
|
|
|
84
87
|
var _vm = this;
|
|
85
88
|
var _h = _vm.$createElement;
|
|
86
89
|
var _c = _vm._self._c || _h;
|
|
87
|
-
return _c('div', {
|
|
90
|
+
return _c('div', _vm._b({
|
|
88
91
|
ref: "root",
|
|
89
92
|
class: _vm.rootStyles,
|
|
90
93
|
style: _vm.rootStyle
|
|
91
|
-
});
|
|
94
|
+
}, 'div', _vm.$attrs, false));
|
|
92
95
|
};
|
|
93
96
|
var __vue_staticRenderFns__$2 = [];
|
|
94
97
|
|
|
@@ -114,6 +117,7 @@ var __vue_component__$5 = __vue_component__$4;
|
|
|
114
117
|
|
|
115
118
|
var script$1 = defineComponent({
|
|
116
119
|
name: 'OrSkeletonRect',
|
|
120
|
+
inheritAttrs: false,
|
|
117
121
|
props: {
|
|
118
122
|
animated: {
|
|
119
123
|
type: Boolean,
|
|
@@ -136,7 +140,8 @@ var script$1 = defineComponent({
|
|
|
136
140
|
// Refs
|
|
137
141
|
const root = ref();
|
|
138
142
|
// Styles
|
|
139
|
-
const
|
|
143
|
+
const classAttribute = useClassAttribute();
|
|
144
|
+
const rootStyles = computed(() => ['or-skeleton', 'or-skeleton-rect', ...SkeletonRoot, ...SkeletonRect, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
|
|
140
145
|
const rootStyle = computed(() => {
|
|
141
146
|
var _a, _b;
|
|
142
147
|
const width = (_a = props.width) !== null && _a !== void 0 ? _a : '100%';
|
|
@@ -162,11 +167,11 @@ var __vue_render__$1 = function () {
|
|
|
162
167
|
var _vm = this;
|
|
163
168
|
var _h = _vm.$createElement;
|
|
164
169
|
var _c = _vm._self._c || _h;
|
|
165
|
-
return _c('div', {
|
|
170
|
+
return _c('div', _vm._b({
|
|
166
171
|
ref: "root",
|
|
167
172
|
class: _vm.rootStyles,
|
|
168
173
|
style: _vm.rootStyle
|
|
169
|
-
});
|
|
174
|
+
}, 'div', _vm.$attrs, false));
|
|
170
175
|
};
|
|
171
176
|
var __vue_staticRenderFns__$1 = [];
|
|
172
177
|
|
|
@@ -192,6 +197,7 @@ var __vue_component__$3 = __vue_component__$2;
|
|
|
192
197
|
|
|
193
198
|
var script = defineComponent({
|
|
194
199
|
name: 'OrSkeletonText',
|
|
200
|
+
inheritAttrs: false,
|
|
195
201
|
props: {
|
|
196
202
|
animated: {
|
|
197
203
|
type: Boolean,
|
|
@@ -224,7 +230,8 @@ var script = defineComponent({
|
|
|
224
230
|
// Refs
|
|
225
231
|
const root = ref();
|
|
226
232
|
// Styles
|
|
227
|
-
const
|
|
233
|
+
const classAttribute = useClassAttribute();
|
|
234
|
+
const containerStyles = computed(() => ['or-skeleton-text-root', ...SkeletonTextContainerRoot, classAttribute.value]);
|
|
228
235
|
const containerStyle = computed(() => {
|
|
229
236
|
var _a;
|
|
230
237
|
const width = (_a = props.width) !== null && _a !== void 0 ? _a : '100%';
|
|
@@ -232,7 +239,7 @@ var script = defineComponent({
|
|
|
232
239
|
'width': _.isNumber(width) ? pxToRem(width) : width
|
|
233
240
|
};
|
|
234
241
|
});
|
|
235
|
-
const rowStyles = computed(() => ['or-skeleton', 'or-skeleton-text', ...SkeletonRoot, ...SkeletonText, ...(props.animated ? SkeletonAnimated : [])]);
|
|
242
|
+
const rowStyles = computed(() => ['or-skeleton', 'or-skeleton-text', ...SkeletonRoot, ...SkeletonText, ...(props.animated ? SkeletonAnimated : []), classAttribute.value]);
|
|
236
243
|
const rowStyle = computed(() => {
|
|
237
244
|
var _a, _b;
|
|
238
245
|
const height = (_a = props.fontSize) !== null && _a !== void 0 ? _a : 16;
|
|
@@ -263,11 +270,11 @@ var __vue_render__ = function () {
|
|
|
263
270
|
var _vm = this;
|
|
264
271
|
var _h = _vm.$createElement;
|
|
265
272
|
var _c = _vm._self._c || _h;
|
|
266
|
-
return _c('div', {
|
|
273
|
+
return _c('div', _vm._b({
|
|
267
274
|
ref: "root",
|
|
268
275
|
class: _vm.containerStyles,
|
|
269
276
|
style: _vm.containerStyle
|
|
270
|
-
}, _vm._l(_vm.lineKeys, function (key) {
|
|
277
|
+
}, 'div', _vm.$attrs, false), _vm._l(_vm.lineKeys, function (key) {
|
|
271
278
|
return _c('div', {
|
|
272
279
|
key: key,
|
|
273
280
|
class: _vm.rowStyles,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrIcon } from './OrIcon-
|
|
2
|
+
import { O as OrIcon } from './OrIcon-8625385f.js';
|
|
3
|
+
import { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
|
|
3
4
|
import { defineComponent, ref, computed } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
4
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
6
|
|
|
@@ -22,43 +23,50 @@ var script = defineComponent({
|
|
|
22
23
|
components: {
|
|
23
24
|
OrIcon
|
|
24
25
|
},
|
|
25
|
-
|
|
26
|
-
prop: 'modelValue',
|
|
27
|
-
event: 'update:modelValue'
|
|
28
|
-
},
|
|
26
|
+
inheritAttrs: false,
|
|
29
27
|
props: {
|
|
30
28
|
modelValue: {
|
|
31
29
|
type: Object,
|
|
32
30
|
default: undefined
|
|
33
31
|
},
|
|
34
32
|
value: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: undefined
|
|
35
|
+
},
|
|
36
|
+
inputValue: {
|
|
35
37
|
type: String,
|
|
36
38
|
required: true
|
|
37
39
|
}
|
|
38
40
|
},
|
|
39
|
-
emits: ['update:modelValue', 'focus', 'blur'],
|
|
41
|
+
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
40
42
|
expose: ['root'],
|
|
41
43
|
setup(props, context) {
|
|
42
44
|
// Refs
|
|
43
45
|
const root = ref();
|
|
44
46
|
// Styles
|
|
45
|
-
const
|
|
47
|
+
const classAttribute = useClassAttribute();
|
|
48
|
+
const rootStyles = computed(() => ['or-sort-header', ...SortHeaderRoot, classAttribute.value]);
|
|
46
49
|
// State
|
|
47
50
|
const proxyModelValue = computed({
|
|
48
|
-
get: () =>
|
|
51
|
+
get: () => {
|
|
52
|
+
var _a;
|
|
53
|
+
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
54
|
+
},
|
|
55
|
+
|
|
49
56
|
set: value => {
|
|
57
|
+
context.emit('input', value);
|
|
50
58
|
context.emit('update:modelValue', value);
|
|
51
59
|
}
|
|
52
60
|
});
|
|
53
61
|
const activated = computed(() => {
|
|
54
62
|
var _a;
|
|
55
|
-
return ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.column) === props.
|
|
63
|
+
return ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.column) === props.inputValue;
|
|
56
64
|
});
|
|
57
65
|
// Methods
|
|
58
66
|
function toggleDirection() {
|
|
59
67
|
var _a;
|
|
60
68
|
proxyModelValue.value = {
|
|
61
|
-
column: props.
|
|
69
|
+
column: props.inputValue,
|
|
62
70
|
direction: ((_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.direction) === 'asc' ? 'desc' : 'asc'
|
|
63
71
|
};
|
|
64
72
|
}
|
|
@@ -80,7 +88,7 @@ var __vue_render__ = function () {
|
|
|
80
88
|
var _vm = this;
|
|
81
89
|
var _h = _vm.$createElement;
|
|
82
90
|
var _c = _vm._self._c || _h;
|
|
83
|
-
return _c('div', {
|
|
91
|
+
return _c('div', _vm._b({
|
|
84
92
|
ref: "root",
|
|
85
93
|
class: _vm.rootStyles,
|
|
86
94
|
attrs: {
|
|
@@ -92,7 +100,7 @@ var __vue_render__ = function () {
|
|
|
92
100
|
return _vm.toggleDirection();
|
|
93
101
|
}
|
|
94
102
|
}
|
|
95
|
-
}, [_vm._t("default"), _vm._v(" "), _vm.activated ? [_c('OrIcon', {
|
|
103
|
+
}, 'div', _vm.$attrs, false), [_vm._t("default"), _vm._v(" "), _vm.activated ? [_c('OrIcon', {
|
|
96
104
|
class: {
|
|
97
105
|
'rotate-180': _vm.proxyModelValue.direction === 'asc'
|
|
98
106
|
},
|