@onereach/ui-components 2.70.2-beta.2218.0 → 2.70.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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-9d8e3fbc.js → OrCardCollection-0141a358.js} +12 -9
- package/dist/bundled/v2/{OrCheckbox-a2ceda44.js → OrCheckbox-dbef9f9a.js} +20 -32
- package/dist/bundled/v2/{OrConfirm-d6e533f2.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-47fca182.js → OrInlineInput-87589946.js} +28 -41
- package/dist/bundled/v2/{OrInlineInputBox-7a8e645b.js → OrInlineInputBox-f457210f.js} +6 -3
- package/dist/bundled/v2/{OrInlineTextarea-d9b9e485.js → OrInlineTextarea-21b0e6fc.js} +24 -37
- package/dist/bundled/v2/{OrInput-9288b667.js → OrInput-82ccfe00.js} +39 -47
- 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-44e713a2.js → OrPagination-379c10b8.js} +11 -8
- 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-f140c19a.js → OrRadio-cd39b20b.js} +18 -30
- package/dist/bundled/v2/{OrSearch-ba756661.js → OrSearch-53470b0e.js} +9 -6
- package/dist/bundled/v2/{OrSegmentedControl-b9d0b95a.js → OrSegmentedControl-21cc914e.js} +11 -6
- package/dist/bundled/v2/{OrSelect-c91fc506.js → OrSelect-02fb39f0.js} +17 -14
- package/dist/bundled/v2/{OrSkeletonText-9a2f39dc.js → OrSkeletonText-516993b4.js} +18 -11
- package/dist/bundled/v2/{OrSortHeader-180d77ee.js → OrSortHeader-9932d28f.js} +7 -4
- package/dist/bundled/v2/{OrSwitch-37a3ecf9.js → OrSwitch-237a2081.js} +19 -31
- package/dist/bundled/v2/{OrTab-8c5acf8a.js → OrTab-dd949240.js} +6 -3
- package/dist/bundled/v2/{OrTabs-92360920.js → OrTabs-42f7c52c.js} +8 -6
- 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-7822c4b6.js → OrTextarea-5593fbe9.js} +26 -43
- package/dist/bundled/v2/{OrTooltip-b1f38647.js → OrTooltip-fbfa05fd.js} +7 -4
- package/dist/bundled/v2/components/index.js +45 -46
- 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 +4 -20
- 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 +8 -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 +8 -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 +10 -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 +2 -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 +4 -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 +2 -2
- 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/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- 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 +2 -2
- package/dist/bundled/v2/components/or-select-v3/index.js +17 -18
- 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 +2 -2
- 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 +4 -20
- 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 +2 -2
- 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 +8 -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 +45 -46
- 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-1e3dd861.js → OrCardCollection.vue_vue_type_script_lang-2d78a51a.js} +46 -42
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-fec2fa29.js → OrCheckbox.vue_vue_type_script_lang-8b36e06c.js} +13 -25
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-747c5ce7.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-62406472.js → OrInlineInput.vue_vue_type_script_lang-67218502.js} +22 -35
- 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-a55dffd2.js → OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js} +22 -35
- package/dist/bundled/v3/{OrInput-9faa2035.js → OrInput-a4f220ed.js} +7 -7
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-dea5c599.js → OrInput.vue_vue_type_script_lang-607d79d4.js} +30 -38
- 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-0d299d07.js → OrPagination.vue_vue_type_script_lang-c96d7cd7.js} +13 -10
- 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-2f053184.js → OrRadio.vue_vue_type_script_lang-2e666a56.js} +13 -25
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-2bc9e930.js → OrSearch.vue_vue_type_script_lang-06f318ca.js} +8 -5
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-92379dcc.js → OrSegmentedControl.vue_vue_type_script_lang-579406f5.js} +14 -8
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-72e0cd5a.js → OrSelect.vue_vue_type_script_lang-83f15704.js} +42 -38
- 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-866f9764.js → OrSortHeader.vue_vue_type_script_lang-75115125.js} +6 -3
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-45f536b3.js → OrSwitch.vue_vue_type_script_lang-04829f64.js} +15 -27
- 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-2b84672b.js → OrTabs.vue_vue_type_script_lang-61b79a5a.js} +17 -14
- 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-94b94433.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +23 -39
- 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 +57 -58
- 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 +4 -20
- 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 +8 -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 +8 -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 +10 -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 +2 -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 +4 -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 +2 -2
- 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/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- 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 +2 -2
- package/dist/bundled/v3/components/or-select-v3/index.js +25 -26
- 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 +2 -2
- 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 +4 -20
- 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 +2 -2
- 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 +8 -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 +198 -185
- 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-3fc3a24e.js → OrCardCollection-3c38fc85.js} +15 -11
- package/dist/esm/v2/{OrCheckbox-05b9a244.js → OrCheckbox-567e387c.js} +20 -32
- package/dist/esm/v2/{OrConfirm-56db44bd.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-c8058b04.js → OrInlineInput-10205811.js} +28 -41
- package/dist/esm/v2/{OrInlineInputBox-46146af0.js → OrInlineInputBox-fefd4fbd.js} +7 -3
- package/dist/esm/v2/{OrInlineTextarea-252d3c2c.js → OrInlineTextarea-7658611e.js} +24 -37
- package/dist/esm/v2/{OrInput-fd9b3e7d.js → OrInput-ada3a970.js} +39 -47
- 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-8b604bd9.js → OrPagination-c0dbec6a.js} +13 -9
- 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-2094e67d.js → OrRadio-848ce55d.js} +18 -30
- package/dist/esm/v2/{OrSearch-072ee1b9.js → OrSearch-0f08f2f5.js} +9 -6
- package/dist/esm/v2/{OrSegmentedControl-71248337.js → OrSegmentedControl-e8dce8f9.js} +12 -6
- package/dist/esm/v2/{OrSelect-23208d36.js → OrSelect-f8837f5d.js} +17 -14
- package/dist/esm/v2/{OrSkeletonText-6ee72718.js → OrSkeletonText-950be6a2.js} +19 -11
- package/dist/esm/v2/{OrSortHeader-8ca76674.js → OrSortHeader-19bf94ca.js} +8 -4
- package/dist/esm/v2/{OrSwitch-a1f67338.js → OrSwitch-13b6a7ee.js} +19 -31
- package/dist/esm/v2/{OrTab-1ff87c76.js → OrTab-702e7335.js} +7 -3
- package/dist/esm/v2/{OrTabs-954838f3.js → OrTabs-71bd3fd2.js} +9 -7
- 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-5f79faca.js → OrTextarea-6712a150.js} +26 -43
- package/dist/esm/v2/{OrTooltip-629d44fc.js → OrTooltip-513bee30.js} +7 -4
- package/dist/esm/v2/components/index.js +46 -47
- 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 +4 -20
- 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 +8 -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 +8 -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 +10 -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 +2 -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 +4 -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 +2 -2
- 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/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- 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 +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +17 -18
- 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 +2 -2
- 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 +4 -20
- 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 +2 -2
- 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 +8 -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 +45 -46
- 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-53e83dbb.js → OrCardCollection-dbb3e839.js} +19 -14
- package/dist/esm/v3/{OrCheckbox-afadd5b8.js → OrCheckbox-3e139eac.js} +20 -33
- package/dist/esm/v3/{OrConfirm-06ed85f9.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-6d363088.js → OrInlineInput-507fc99c.js} +22 -35
- package/dist/esm/v3/{OrInlineInputBox-09b33e18.js → OrInlineInputBox-8049f95a.js} +11 -6
- package/dist/esm/v3/{OrInlineTextarea-3e48b319.js → OrInlineTextarea-53a9e027.js} +22 -35
- package/dist/esm/v3/{OrInput-5ef51369.js → OrInput-9c0426b9.js} +31 -39
- 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-010b0bef.js → OrPagination-a703307d.js} +18 -13
- 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-a0bd352b.js → OrRadio-54b6d0de.js} +17 -30
- package/dist/esm/v3/{OrSearch-9eb38b29.js → OrSearch-9885d178.js} +13 -9
- package/dist/esm/v3/{OrSegmentedControl-c7221732.js → OrSegmentedControl-171cad78.js} +21 -13
- package/dist/esm/v3/{OrSelect-64fa5d0b.js → OrSelect-8fbd88bc.js} +22 -18
- package/dist/esm/v3/{OrSkeletonText-afd3d007.js → OrSkeletonText-3965ff71.js} +33 -22
- package/dist/esm/v3/{OrSortHeader-cab07616.js → OrSortHeader-fe1a9cf8.js} +13 -8
- package/dist/esm/v3/{OrSwitch-f342ee4b.js → OrSwitch-cca30aa0.js} +19 -31
- package/dist/esm/v3/{OrTab-d3785ea4.js → OrTab-c131cf60.js} +11 -6
- package/dist/esm/v3/{OrTabs-a1ffc2a3.js → OrTabs-d0ee6cef.js} +9 -7
- 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-f3831b3f.js → OrTextarea-bb9ef3f2.js} +24 -41
- package/dist/esm/v3/{OrTooltip-b07616f4.js → OrTooltip-50d27b4f.js} +12 -8
- package/dist/esm/v3/components/index.js +46 -47
- 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 +4 -20
- 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 +8 -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 +8 -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 +10 -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 +2 -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 +4 -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 +2 -2
- 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/{partials → components}/or-segmented-control-item/styles.d.ts +0 -0
- 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 +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +17 -18
- 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 +2 -2
- 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 +4 -20
- 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 +2 -2
- 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 +8 -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 +45 -46
- package/dist/esm/v3/{types-7f17b4b2.js → types-2692e337.js} +2 -2
- package/dist/esm/v3/useClassAttribute-47fdb016.js +32 -0
- package/package.json +3 -2
- 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.vue +15 -27
- 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.vue +18 -31
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +18 -31
- package/src/components/or-input-box-v3/OrInputBox.vue +7 -0
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -4
- package/src/components/or-input-v3/OrInput.vue +25 -32
- 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.vue +8 -1
- 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.vue +14 -26
- package/src/components/or-search-v3/OrSearch.vue +8 -1
- package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +8 -1
- package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/OrSegmentedControlItem.vue +7 -0
- package/src/components/or-segmented-control-v3/{partials → components}/or-segmented-control-item/styles.ts +0 -0
- package/src/components/or-select-v3/OrSelect.vue +7 -1
- 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.vue +7 -0
- package/src/components/or-switch-v3/OrSwitch.vue +14 -26
- package/src/components/or-tab-v3/OrTab.vue +7 -0
- package/src/components/or-tabs-v3/OrTabs.vue +5 -1
- 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 +4 -4
- package/src/components/or-textarea-v3/OrTextarea.vue +19 -36
- 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/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/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/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/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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { s as script$1, P as PopoverPlacement } from './OrPopover-1075dd38.js';
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createVNode, withCtx, createElementVNode, normalizeClass, withModifiers, renderSlot } from 'vue';
|
|
4
6
|
|
|
5
7
|
const MenuRoot = [
|
|
6
8
|
// Layout
|
|
@@ -16,6 +18,7 @@ var script = defineComponent({
|
|
|
16
18
|
components: {
|
|
17
19
|
OrPopover: script$1
|
|
18
20
|
},
|
|
21
|
+
inheritAttrs: false,
|
|
19
22
|
props: {
|
|
20
23
|
trigger: {
|
|
21
24
|
type: HTMLElement,
|
|
@@ -41,7 +44,8 @@ var script = defineComponent({
|
|
|
41
44
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.isOpen;
|
|
42
45
|
});
|
|
43
46
|
// Styles
|
|
44
|
-
const
|
|
47
|
+
const classAttribute = useClassAttribute();
|
|
48
|
+
const rootStyles = computed(() => ['or-menu', ...MenuRoot, classAttribute.value]);
|
|
45
49
|
const bodyStyles = computed(() => [...MenuBody]);
|
|
46
50
|
// Methods
|
|
47
51
|
function open() {
|
|
@@ -88,10 +92,11 @@ var script = defineComponent({
|
|
|
88
92
|
|
|
89
93
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
90
94
|
const _component_OrPopover = resolveComponent("OrPopover");
|
|
91
|
-
return openBlock(), createElementBlock("div", {
|
|
92
|
-
ref: "root"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
96
|
+
ref: "root"
|
|
97
|
+
}, _ctx.$attrs, {
|
|
98
|
+
class: _ctx.rootStyles
|
|
99
|
+
}), [createVNode(_component_OrPopover, {
|
|
95
100
|
ref: "popover",
|
|
96
101
|
variant: 'auto',
|
|
97
102
|
trigger: _ctx.trigger,
|
|
@@ -106,7 +111,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
106
111
|
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)]),
|
|
107
112
|
|
|
108
113
|
_: 3 /* FORWARDED */
|
|
109
|
-
}, 8 /* PROPS */, ["trigger", "placement"])],
|
|
114
|
+
}, 8 /* PROPS */, ["trigger", "placement"])], 16 /* FULL_PROPS */);
|
|
110
115
|
}
|
|
111
116
|
|
|
112
117
|
script.render = render;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { s as script$1 } from './OrIcon-b195169c.js';
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, normalizeProps, createCommentVNode, createElementVNode, renderSlot, normalizeClass } from 'vue';
|
|
4
6
|
|
|
5
7
|
const MenuItemRoot = [
|
|
6
8
|
// Layout
|
|
@@ -23,6 +25,7 @@ var script = defineComponent({
|
|
|
23
25
|
components: {
|
|
24
26
|
OrIcon: script$1
|
|
25
27
|
},
|
|
28
|
+
inheritAttrs: false,
|
|
26
29
|
props: {
|
|
27
30
|
icon: {
|
|
28
31
|
type: [String, Object],
|
|
@@ -43,7 +46,8 @@ var script = defineComponent({
|
|
|
43
46
|
// Refs
|
|
44
47
|
const root = ref();
|
|
45
48
|
// Styles
|
|
46
|
-
const
|
|
49
|
+
const classAttribute = useClassAttribute();
|
|
50
|
+
const rootStyles = computed(() => ['or-menu-item', ...MenuItemRoot, classAttribute.value]);
|
|
47
51
|
return {
|
|
48
52
|
root,
|
|
49
53
|
rootStyles
|
|
@@ -57,20 +61,21 @@ const _hoisted_2 = {
|
|
|
57
61
|
};
|
|
58
62
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
59
63
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
60
|
-
return openBlock(), createElementBlock("div", {
|
|
61
|
-
ref: "root"
|
|
62
|
-
|
|
64
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
65
|
+
ref: "root"
|
|
66
|
+
}, _ctx.$attrs, {
|
|
67
|
+
class: _ctx.rootStyles,
|
|
63
68
|
tabindex: !_ctx.disabled ? 0 : null,
|
|
64
69
|
selected: _ctx.selected ? '' : null,
|
|
65
70
|
disabled: _ctx.disabled ? '' : null,
|
|
66
71
|
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('click', $event)),
|
|
67
72
|
onFocus: _cache[1] || (_cache[1] = $event => _ctx.$emit('focus', $event)),
|
|
68
73
|
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
|
|
69
|
-
}, [_ctx.icon ? (openBlock(), createBlock(_component_OrIcon, normalizeProps(mergeProps({
|
|
74
|
+
}), [_ctx.icon ? (openBlock(), createBlock(_component_OrIcon, normalizeProps(mergeProps({
|
|
70
75
|
key: 0
|
|
71
76
|
}, typeof _ctx.icon === 'string' ? {
|
|
72
77
|
icon: _ctx.icon
|
|
73
|
-
} : _ctx.icon)), null, 16 /* FULL_PROPS */)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])],
|
|
78
|
+
} : _ctx.icon)), null, 16 /* FULL_PROPS */)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 16 /* FULL_PROPS */, _hoisted_1);
|
|
74
79
|
}
|
|
75
80
|
|
|
76
81
|
script.render = render;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { s as script$2 } from './OrIconButton-1a89fbf9.js';
|
|
5
|
+
import { s as script$1 } from './OrOverlay-738a44d5.js';
|
|
4
6
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createVNode, withModifiers, createCommentVNode } from 'vue';
|
|
5
7
|
|
|
6
8
|
var ModalSize;
|
|
@@ -65,7 +67,8 @@ var script = defineComponent({
|
|
|
65
67
|
// Refs
|
|
66
68
|
const root = ref();
|
|
67
69
|
// Styles
|
|
68
|
-
const
|
|
70
|
+
const classAttribute = useClassAttribute();
|
|
71
|
+
const rootStyles = computed(() => ['or-modal', ...ModalRoot, ...ModalRootSizes[props.size], classAttribute.value]);
|
|
69
72
|
const headerStyles = computed(() => [...ModalHeader]);
|
|
70
73
|
// State
|
|
71
74
|
const isActive = ref(false);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { s as script$2 } from './OrIconButton-1a89fbf9.js';
|
|
5
|
+
import { s as script$1 } from './OrIcon-b195169c.js';
|
|
6
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createVNode, renderSlot, withModifiers } from 'vue';
|
|
5
7
|
|
|
6
8
|
var NotificationVariant;
|
|
7
9
|
(function (NotificationVariant) {
|
|
@@ -70,6 +72,7 @@ var script = defineComponent({
|
|
|
70
72
|
OrIcon: script$1,
|
|
71
73
|
OrIconButton: script$2
|
|
72
74
|
},
|
|
75
|
+
inheritAttrs: false,
|
|
73
76
|
props: {
|
|
74
77
|
variant: {
|
|
75
78
|
type: String,
|
|
@@ -81,7 +84,8 @@ var script = defineComponent({
|
|
|
81
84
|
// Refs
|
|
82
85
|
const root = ref();
|
|
83
86
|
// Styles
|
|
84
|
-
const
|
|
87
|
+
const classAttribute = useClassAttribute();
|
|
88
|
+
const rootStyles = computed(() => ['or-notification', ...NotificationRoot, ...NotificationRootVariants[props.variant], classAttribute.value]);
|
|
85
89
|
const iconStyles = computed(() => [...NotificationIcon, ...NotificationIconVariants[props.variant]]);
|
|
86
90
|
// State
|
|
87
91
|
const icon = computed(() => {
|
|
@@ -111,10 +115,11 @@ const _hoisted_1 = {
|
|
|
111
115
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
112
116
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
113
117
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
114
|
-
return openBlock(), createElementBlock("div", {
|
|
115
|
-
ref: "root"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
119
|
+
ref: "root"
|
|
120
|
+
}, _ctx.$attrs, {
|
|
121
|
+
class: _ctx.rootStyles
|
|
122
|
+
}), [createElementVNode("div", {
|
|
118
123
|
class: normalizeClass(_ctx.iconStyles)
|
|
119
124
|
}, [createVNode(_component_OrIcon, {
|
|
120
125
|
icon: _ctx.icon,
|
|
@@ -123,7 +128,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
123
128
|
icon: 'close',
|
|
124
129
|
size: 'm',
|
|
125
130
|
onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.$emit('close'), ["stop"]))
|
|
126
|
-
})],
|
|
131
|
+
})], 16 /* FULL_PROPS */);
|
|
127
132
|
}
|
|
128
133
|
|
|
129
134
|
script.render = render;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useScrollLock } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
3
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
4
|
import { u as useElevation } from './useElevation-31bfe1f6.js';
|
|
4
5
|
import { s as script$1 } from './OrTeleport.vue3-8099178c.js';
|
|
5
6
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, renderSlot } from 'vue';
|
|
@@ -29,7 +30,8 @@ var script = defineComponent({
|
|
|
29
30
|
// Refs
|
|
30
31
|
const root = ref();
|
|
31
32
|
// Styles
|
|
32
|
-
const
|
|
33
|
+
const classAttribute = useClassAttribute();
|
|
34
|
+
const rootStyles = computed(() => ['or-overlay', ...OverlayRoot, classAttribute.value]);
|
|
33
35
|
// Effects
|
|
34
36
|
// #region Elevation
|
|
35
37
|
useElevation(root);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { s as script$
|
|
5
|
-
import { s as script$
|
|
6
|
-
import './
|
|
7
|
-
import {
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { s as script$1 } from './OrButton-0fa67a0d.js';
|
|
5
|
+
import { s as script$2 } from './OrIcon-b195169c.js';
|
|
6
|
+
import { s as script$4 } from './OrMenuItem-9da279f6.js';
|
|
7
|
+
import { s as script$3 } from './OrMenu-840038cd.js';
|
|
8
|
+
import './OrPopover-1075dd38.js';
|
|
9
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createVNode, withModifiers, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString } from 'vue';
|
|
8
10
|
|
|
9
11
|
const PaginationRoot = [
|
|
10
12
|
// Layout
|
|
@@ -39,6 +41,7 @@ var script = defineComponent({
|
|
|
39
41
|
OrMenu: script$3,
|
|
40
42
|
OrMenuItem: script$4
|
|
41
43
|
},
|
|
44
|
+
inheritAttrs: false,
|
|
42
45
|
props: {
|
|
43
46
|
modelValue: {
|
|
44
47
|
type: Object,
|
|
@@ -73,7 +76,8 @@ var script = defineComponent({
|
|
|
73
76
|
return (_a = limitMenu.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
74
77
|
});
|
|
75
78
|
// Styles
|
|
76
|
-
const
|
|
79
|
+
const classAttribute = useClassAttribute();
|
|
80
|
+
const rootStyles = computed(() => ['or-pagination', ...PaginationRoot, classAttribute.value]);
|
|
77
81
|
const offsetControlStyles = computed(() => [...PaginationOffsetControl]);
|
|
78
82
|
const limitControlStyles = computed(() => [...PaginationLimitControl]);
|
|
79
83
|
const itemStyles = computed(() => [...PaginationItem]);
|
|
@@ -145,7 +149,7 @@ var script = defineComponent({
|
|
|
145
149
|
return [...accumulator, page];
|
|
146
150
|
}, []);
|
|
147
151
|
});
|
|
148
|
-
//
|
|
152
|
+
// Functions
|
|
149
153
|
function toPreviousPage() {
|
|
150
154
|
currentPage.value = currentPage.value - 1;
|
|
151
155
|
}
|
|
@@ -184,10 +188,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
184
188
|
const _component_OrButton = resolveComponent("OrButton");
|
|
185
189
|
const _component_OrMenuItem = resolveComponent("OrMenuItem");
|
|
186
190
|
const _component_OrMenu = resolveComponent("OrMenu");
|
|
187
|
-
return openBlock(), createElementBlock("div", {
|
|
188
|
-
ref: "root"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
192
|
+
ref: "root"
|
|
193
|
+
}, _ctx.$attrs, {
|
|
194
|
+
class: _ctx.rootStyles
|
|
195
|
+
}), [createElementVNode("div", {
|
|
191
196
|
class: normalizeClass(_ctx.offsetControlStyles)
|
|
192
197
|
}, [createVNode(_component_OrButton, {
|
|
193
198
|
class: normalizeClass(_ctx.itemStyles),
|
|
@@ -255,7 +260,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
255
260
|
}), 128 /* KEYED_FRAGMENT */))]),
|
|
256
261
|
|
|
257
262
|
_: 1 /* STABLE */
|
|
258
|
-
}, 8 /* PROPS */, ["trigger"])], 2 /* CLASS */)],
|
|
263
|
+
}, 8 /* PROPS */, ["trigger"])], 2 /* CLASS */)], 16 /* FULL_PROPS */);
|
|
259
264
|
}
|
|
260
265
|
|
|
261
266
|
script.render = render;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { autoUpdate, computePosition, flip, shift, hide } from '@floating-ui/dom';
|
|
2
2
|
import { onClickOutside } from '@vueuse/core';
|
|
3
3
|
import { defineComponent, ref, computed, watch, watchPostEffect, unref, toRef, nextTick } from 'vue-demi';
|
|
4
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
5
|
import { u as useElevation } from './useElevation-31bfe1f6.js';
|
|
5
6
|
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
6
|
-
import { s as script$1 } from './OrBottomSheet-
|
|
7
|
+
import { s as script$1 } from './OrBottomSheet-62817aec.js';
|
|
7
8
|
import { s as script$2 } from './OrTeleport.vue3-8099178c.js';
|
|
8
9
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementBlock, mergeProps, renderSlot, normalizeClass, createCommentVNode } from 'vue';
|
|
9
10
|
|
|
@@ -116,7 +117,8 @@ var script = defineComponent({
|
|
|
116
117
|
return (_a = bottomSheet.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
117
118
|
});
|
|
118
119
|
// Styles
|
|
119
|
-
const
|
|
120
|
+
const classAttribute = useClassAttribute();
|
|
121
|
+
const rootStyles = computed(() => ['or-popover', ...PopoverRoot, classAttribute.value]);
|
|
120
122
|
const bodyStyles = computed(() => [...PopoverBody, ...PopoverBodyPlacements[props.placement]]);
|
|
121
123
|
// State
|
|
122
124
|
const state = ref('closed');
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { useElementBounding } from '@vueuse/core';
|
|
2
1
|
import _ from 'lodash';
|
|
2
|
+
import { useElementBounding } from '@vueuse/core';
|
|
3
3
|
import { defineComponent, ref, useSlots, computed } from 'vue-demi';
|
|
4
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
5
|
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
5
|
-
import { openBlock, createElementBlock,
|
|
6
|
+
import { openBlock, createElementBlock, mergeProps, Fragment, normalizeClass, renderSlot, createElementVNode, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
6
7
|
|
|
7
8
|
var ProgressColor;
|
|
8
9
|
(function (ProgressColor) {
|
|
@@ -80,6 +81,7 @@ const ProgressFooter = [
|
|
|
80
81
|
|
|
81
82
|
var script = defineComponent({
|
|
82
83
|
name: 'OrProgress',
|
|
84
|
+
inheritAttrs: false,
|
|
83
85
|
props: {
|
|
84
86
|
maxValue: {
|
|
85
87
|
type: Number,
|
|
@@ -167,7 +169,8 @@ var script = defineComponent({
|
|
|
167
169
|
});
|
|
168
170
|
const computedSize = computed(() => isMobile.value ? 20 : 16);
|
|
169
171
|
// Styles
|
|
170
|
-
const
|
|
172
|
+
const classAttribute = useClassAttribute();
|
|
173
|
+
const rootStyles = computed(() => ['or-progress', ...ProgressRoot, ...ProgressRootTypes[props.type], classAttribute.value]);
|
|
171
174
|
const headerStyles = computed(() => [...ProgressHeader]);
|
|
172
175
|
const labelStyles = computed(() => [...ProgressHeaderLabel]);
|
|
173
176
|
const percentStyles = computed(() => [...ProgressHeaderPercent]);
|
|
@@ -222,10 +225,11 @@ const _hoisted_5 = {
|
|
|
222
225
|
};
|
|
223
226
|
const _hoisted_6 = ["stroke-dasharray", "stroke-dashoffset"];
|
|
224
227
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
225
|
-
return openBlock(), createElementBlock("div", {
|
|
226
|
-
ref: "root"
|
|
227
|
-
|
|
228
|
-
|
|
228
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
229
|
+
ref: "root"
|
|
230
|
+
}, _ctx.$attrs, {
|
|
231
|
+
class: _ctx.rootStyles
|
|
232
|
+
}), [_ctx.isLinearType ? (openBlock(), createElementBlock(Fragment, {
|
|
229
233
|
key: 0
|
|
230
234
|
}, [_ctx.isShowingHeader ? (openBlock(), createElementBlock("div", {
|
|
231
235
|
key: 0,
|
|
@@ -272,7 +276,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
272
276
|
r: "7",
|
|
273
277
|
"stroke-dasharray": _ctx.strokeDasharray,
|
|
274
278
|
"stroke-dashoffset": _ctx.strokeDashoffset
|
|
275
|
-
}, null, 10 /* CLASS, PROPS */, _hoisted_6)])], 8 /* PROPS */, _hoisted_4)) : createCommentVNode("v-if", true)],
|
|
279
|
+
}, null, 10 /* CLASS, PROPS */, _hoisted_6)])], 8 /* PROPS */, _hoisted_4)) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */);
|
|
276
280
|
}
|
|
277
281
|
|
|
278
282
|
script.render = render;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, computed
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, getCurrentInstance, ref, computed } from 'vue-demi';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { s as script$1, L as LabelVariant } from './OrLabel-
|
|
4
|
+
import { s as script$1, L as LabelVariant } from './OrLabel-bdaec602.js';
|
|
5
5
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, mergeProps, vModelRadio, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
7
7
|
|
|
@@ -40,6 +40,7 @@ var script = defineComponent({
|
|
|
40
40
|
components: {
|
|
41
41
|
OrLabel: script$1
|
|
42
42
|
},
|
|
43
|
+
inheritAttrs: false,
|
|
43
44
|
props: {
|
|
44
45
|
modelValue: {
|
|
45
46
|
type: String,
|
|
@@ -71,19 +72,18 @@ var script = defineComponent({
|
|
|
71
72
|
}
|
|
72
73
|
},
|
|
73
74
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
74
|
-
expose: ['root'
|
|
75
|
+
expose: ['root'],
|
|
75
76
|
setup(props, context) {
|
|
77
|
+
var _a;
|
|
78
|
+
const currentInstance = getCurrentInstance();
|
|
76
79
|
// Refs
|
|
77
80
|
const root = ref();
|
|
78
|
-
const control = ref();
|
|
79
81
|
// Styles
|
|
80
|
-
const
|
|
82
|
+
const classAttribute = useClassAttribute();
|
|
83
|
+
const rootStyles = computed(() => ['or-radio', ...RadioRoot, classAttribute.value]);
|
|
81
84
|
const controlStyles = computed(() => [...RadioControl, ...RadioControlHandle]);
|
|
82
85
|
// State
|
|
83
|
-
const
|
|
84
|
-
id: useIdAttribute(),
|
|
85
|
-
...useControlAttributes()
|
|
86
|
-
});
|
|
86
|
+
const controlId = ref((_a = context.attrs.id) !== null && _a !== void 0 ? _a : currentInstance.uid.toString());
|
|
87
87
|
const proxyModelValue = computed({
|
|
88
88
|
get: () => {
|
|
89
89
|
var _a;
|
|
@@ -95,38 +95,25 @@ var script = defineComponent({
|
|
|
95
95
|
context.emit('update:modelValue', value);
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
|
-
// Methods
|
|
99
|
-
function focus() {
|
|
100
|
-
var _a;
|
|
101
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.focus();
|
|
102
|
-
}
|
|
103
|
-
function blur() {
|
|
104
|
-
var _a;
|
|
105
|
-
(_a = control.value) === null || _a === void 0 ? void 0 : _a.blur();
|
|
106
|
-
}
|
|
107
98
|
return {
|
|
108
99
|
root,
|
|
109
|
-
control,
|
|
110
100
|
rootStyles,
|
|
111
101
|
controlStyles,
|
|
112
|
-
|
|
113
|
-
proxyModelValue
|
|
114
|
-
focus,
|
|
115
|
-
blur
|
|
102
|
+
controlId,
|
|
103
|
+
proxyModelValue
|
|
116
104
|
};
|
|
117
105
|
}
|
|
118
106
|
});
|
|
119
107
|
|
|
120
|
-
const _hoisted_1 = ["value", "required", "disabled"];
|
|
108
|
+
const _hoisted_1 = ["id", "value", "required", "disabled"];
|
|
121
109
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
122
110
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
123
111
|
return openBlock(), createElementBlock("div", {
|
|
124
112
|
ref: "root",
|
|
125
113
|
class: normalizeClass(_ctx.rootStyles)
|
|
126
|
-
}, [withDirectives(createElementVNode("input", mergeProps({
|
|
127
|
-
|
|
128
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
129
|
-
}, _ctx.controlAttributes, {
|
|
114
|
+
}, [withDirectives(createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
115
|
+
id: _ctx.controlId,
|
|
116
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
|
|
130
117
|
class: _ctx.controlStyles,
|
|
131
118
|
type: "radio",
|
|
132
119
|
value: _ctx.inputValue,
|
|
@@ -136,7 +123,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
136
123
|
onBlur: _cache[2] || (_cache[2] = $event => _ctx.$emit('blur', $event))
|
|
137
124
|
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelRadio, _ctx.proxyModelValue]]), _ctx.$slots.default || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
138
125
|
key: 0,
|
|
139
|
-
"control-id": _ctx.
|
|
126
|
+
"control-id": _ctx.controlId,
|
|
140
127
|
variant: _ctx.labelVariant,
|
|
141
128
|
required: _ctx.required,
|
|
142
129
|
disabled: _ctx.disabled
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { debouncedWatch } from '@vueuse/core';
|
|
2
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { debouncedWatch } from '@vueuse/core';
|
|
3
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
+
import { s as script$1 } from './OrInput-9c0426b9.js';
|
|
5
|
+
import { a as InputBoxSize } from './OrInputBox-6d1b6059.js';
|
|
6
|
+
import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
6
7
|
|
|
7
8
|
var script = defineComponent({
|
|
8
9
|
name: 'OrSearch',
|
|
9
10
|
components: {
|
|
10
11
|
OrInput: script$1
|
|
11
12
|
},
|
|
13
|
+
inheritAttrs: false,
|
|
12
14
|
props: {
|
|
13
15
|
modelValue: {
|
|
14
16
|
type: String,
|
|
@@ -43,7 +45,8 @@ var script = defineComponent({
|
|
|
43
45
|
// Refs
|
|
44
46
|
const root = ref();
|
|
45
47
|
// Styles
|
|
46
|
-
const
|
|
48
|
+
const classAttribute = useClassAttribute();
|
|
49
|
+
const rootStyles = computed(() => ['or-search', classAttribute.value]);
|
|
47
50
|
// State
|
|
48
51
|
const localModelValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : '');
|
|
49
52
|
// Events
|
|
@@ -76,14 +79,15 @@ var script = defineComponent({
|
|
|
76
79
|
|
|
77
80
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
78
81
|
const _component_OrInput = resolveComponent("OrInput");
|
|
79
|
-
return openBlock(), createBlock(_component_OrInput, {
|
|
80
|
-
ref: "root"
|
|
82
|
+
return openBlock(), createBlock(_component_OrInput, mergeProps({
|
|
83
|
+
ref: "root"
|
|
84
|
+
}, _ctx.$attrs, {
|
|
81
85
|
modelValue: _ctx.localModelValue,
|
|
82
86
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.localModelValue = $event),
|
|
83
87
|
modelModifiers: {
|
|
84
88
|
trim: true
|
|
85
89
|
},
|
|
86
|
-
class:
|
|
90
|
+
class: _ctx.rootStyles,
|
|
87
91
|
type: 'search',
|
|
88
92
|
size: _ctx.size,
|
|
89
93
|
placeholder: _ctx.placeholder,
|
|
@@ -95,7 +99,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
95
99
|
onKeyup: _cache[3] || (_cache[3] = $event => _ctx.$emit('keyup', $event)),
|
|
96
100
|
onFocus: _cache[4] || (_cache[4] = $event => _ctx.$emit('focus', $event)),
|
|
97
101
|
onBlur: _cache[5] || (_cache[5] = $event => _ctx.$emit('blur', $event))
|
|
98
|
-
}, null,
|
|
102
|
+
}), null, 16 /* FULL_PROPS */, ["modelValue", "class", "size", "placeholder", "debounce", "disabled", "disable-default-styles"]);
|
|
99
103
|
}
|
|
100
104
|
|
|
101
105
|
script.render = render;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, isVue2 } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { openBlock, createElementBlock, mergeProps, createElementVNode, renderSlot, normalizeClass, resolveComponent, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
3
5
|
|
|
4
6
|
const SegmentedControlItemRoot = [
|
|
5
7
|
// Layout
|
|
@@ -33,6 +35,7 @@ const SegmentedControlItemRootSizes = {
|
|
|
33
35
|
|
|
34
36
|
var script$1 = defineComponent({
|
|
35
37
|
name: 'OrSegmentedControlItem',
|
|
38
|
+
inheritAttrs: false,
|
|
36
39
|
props: {
|
|
37
40
|
size: {
|
|
38
41
|
type: String,
|
|
@@ -51,7 +54,8 @@ var script$1 = defineComponent({
|
|
|
51
54
|
// Refs
|
|
52
55
|
const root = ref();
|
|
53
56
|
// Styles
|
|
54
|
-
const
|
|
57
|
+
const classAttribute = useClassAttribute();
|
|
58
|
+
const rootStyles = computed(() => ['or-segmented-control-item', ...SegmentedControlItemRoot, ...SegmentedControlItemRootSizes[props.size], classAttribute.value]);
|
|
55
59
|
// Handlers
|
|
56
60
|
function onClick(event) {
|
|
57
61
|
if (isVue2) {
|
|
@@ -71,17 +75,18 @@ const _hoisted_2 = {
|
|
|
71
75
|
class: /*#__PURE__*/normalizeClass(['truncate'])
|
|
72
76
|
};
|
|
73
77
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
|
-
return openBlock(), createElementBlock("div", {
|
|
75
|
-
ref: "root"
|
|
76
|
-
|
|
78
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
79
|
+
ref: "root"
|
|
80
|
+
}, _ctx.$attrs, {
|
|
81
|
+
class: _ctx.rootStyles,
|
|
77
82
|
selected: _ctx.selected ? '' : null,
|
|
78
83
|
disabled: _ctx.disabled ? '' : null,
|
|
79
84
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
80
|
-
}, [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])],
|
|
85
|
+
}), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 16 /* FULL_PROPS */, _hoisted_1);
|
|
81
86
|
}
|
|
82
87
|
|
|
83
88
|
script$1.render = render$1;
|
|
84
|
-
script$1.__file = "src/components/or-segmented-control-v3/
|
|
89
|
+
script$1.__file = "src/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue";
|
|
85
90
|
|
|
86
91
|
var SegmentedControlSize;
|
|
87
92
|
(function (SegmentedControlSize) {
|
|
@@ -108,6 +113,7 @@ var script = defineComponent({
|
|
|
108
113
|
components: {
|
|
109
114
|
OrSegmentedControlItem: script$1
|
|
110
115
|
},
|
|
116
|
+
inheritAttrs: false,
|
|
111
117
|
props: {
|
|
112
118
|
options: {
|
|
113
119
|
type: Array,
|
|
@@ -136,7 +142,8 @@ var script = defineComponent({
|
|
|
136
142
|
// Refs
|
|
137
143
|
const root = ref();
|
|
138
144
|
// Styles
|
|
139
|
-
const
|
|
145
|
+
const classAttribute = useClassAttribute();
|
|
146
|
+
const rootStyles = computed(() => ['or-segmented-control', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size], classAttribute.value]);
|
|
140
147
|
// State
|
|
141
148
|
const proxyModelValue = computed({
|
|
142
149
|
get: () => {
|
|
@@ -159,10 +166,11 @@ var script = defineComponent({
|
|
|
159
166
|
|
|
160
167
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
161
168
|
const _component_OrSegmentedControlItem = resolveComponent("OrSegmentedControlItem");
|
|
162
|
-
return openBlock(), createElementBlock("div", {
|
|
163
|
-
ref: "root"
|
|
164
|
-
|
|
165
|
-
|
|
169
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
170
|
+
ref: "root"
|
|
171
|
+
}, _ctx.$attrs, {
|
|
172
|
+
class: _ctx.rootStyles
|
|
173
|
+
}), [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, option => {
|
|
166
174
|
return openBlock(), createBlock(_component_OrSegmentedControlItem, {
|
|
167
175
|
key: option.value,
|
|
168
176
|
size: _ctx.size,
|
|
@@ -174,7 +182,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
174
182
|
|
|
175
183
|
_: 2 /* DYNAMIC */
|
|
176
184
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["size", "selected", "disabled", "onClick"]);
|
|
177
|
-
}), 128 /* KEYED_FRAGMENT */))],
|
|
185
|
+
}), 128 /* KEYED_FRAGMENT */))], 16 /* FULL_PROPS */);
|
|
178
186
|
}
|
|
179
187
|
|
|
180
188
|
script.render = render;
|