@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
package/dist/esm/v3/index.js
CHANGED
|
@@ -1,103 +1,102 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, s as OrAvatar } from './OrAvatar-2808a314.js';
|
|
2
|
-
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-
|
|
3
|
-
export { s as OrBottomSheetV3 } from './OrBottomSheet-
|
|
2
|
+
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-53a4429d.js';
|
|
3
|
+
export { s as OrBottomSheetV3 } from './OrBottomSheet-62817aec.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-8be9c89f.js';
|
|
6
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-
|
|
6
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-0fa67a0d.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
10
|
-
export { s as OrCardV3 } from './OrCard-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-dbb3e839.js';
|
|
10
|
+
export { s as OrCardV3 } from './OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
|
|
13
|
-
export { s as OrCheckboxV3 } from './OrCheckbox-
|
|
13
|
+
export { s as OrCheckboxV3 } from './OrCheckbox-3e139eac.js';
|
|
14
14
|
export { s as OrChip, a as OrChips } from './OrChips-9afba42f.js';
|
|
15
15
|
export { s as OrCode, O as OrCodeLanguages } from './OrCode-5ed69c23.js';
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-1bcd39b1.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
|
-
export { s as OrErrorTagV3 } from './OrErrorTag-
|
|
23
|
-
export { s as OrErrorV3 } from './OrError-
|
|
22
|
+
export { s as OrErrorTagV3 } from './OrErrorTag-98252eef.js';
|
|
23
|
+
export { s as OrErrorV3 } from './OrError-ec8c709d.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-bb8e3145.js';
|
|
25
|
-
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-
|
|
26
|
-
export { F as FabColor, s as OrFabV3 } from './OrFab-
|
|
25
|
+
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-f8d7ff8d.js';
|
|
26
|
+
export { F as FabColor, s as OrFabV3 } from './OrFab-c8ae6e01.js';
|
|
27
27
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-5240e758.js';
|
|
28
28
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
29
|
-
export { s as OrHintV3 } from './OrHint-
|
|
29
|
+
export { s as OrHintV3 } from './OrHint-74bb732d.js';
|
|
30
30
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
|
|
31
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
32
|
-
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-
|
|
33
|
-
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
31
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-1a89fbf9.js';
|
|
32
|
+
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-b195169c.js';
|
|
33
|
+
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-8049f95a.js';
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-507fc99c.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
37
|
-
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-53a9e027.js';
|
|
37
|
+
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-6d1b6059.js';
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-9c0426b9.js';
|
|
39
39
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
|
|
40
40
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
41
|
-
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-
|
|
42
|
-
export { L as LinkColor, s as OrLinkV3 } from './OrLink-
|
|
41
|
+
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-bdaec602.js';
|
|
42
|
+
export { L as LinkColor, s as OrLinkV3 } from './OrLink-338db3ca.js';
|
|
43
43
|
export { s as OrList } from './OrList-b740d13e.js';
|
|
44
44
|
export { s as OrListOfInputs } from './OrListOfInputs-7a67440f.js';
|
|
45
45
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
|
|
46
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-
|
|
47
|
-
export { s as OrMenuItemV3 } from './OrMenuItem-
|
|
48
|
-
export { s as OrMenuV3 } from './OrMenu-
|
|
49
|
-
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-
|
|
46
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-b3cf4231.js';
|
|
47
|
+
export { s as OrMenuItemV3 } from './OrMenuItem-9da279f6.js';
|
|
48
|
+
export { s as OrMenuV3 } from './OrMenu-840038cd.js';
|
|
49
|
+
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-1075dd38.js';
|
|
50
50
|
export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
|
|
51
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
51
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-7878cc39.js';
|
|
52
52
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
|
|
53
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
53
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-e1383681.js';
|
|
54
54
|
export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
|
|
55
55
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
56
|
-
export { s as OrOverlayV3 } from './OrOverlay-
|
|
57
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
56
|
+
export { s as OrOverlayV3 } from './OrOverlay-738a44d5.js';
|
|
57
|
+
export { s as OrPaginationV3 } from './OrPagination-a703307d.js';
|
|
58
58
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
|
|
59
|
-
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-
|
|
59
|
+
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-407002e0.js';
|
|
60
60
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
61
61
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
62
|
-
export { s as OrRadioV3 } from './OrRadio-
|
|
63
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
64
|
-
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-
|
|
62
|
+
export { s as OrRadioV3 } from './OrRadio-54b6d0de.js';
|
|
63
|
+
export { s as OrSearchV3 } from './OrSearch-9885d178.js';
|
|
64
|
+
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-171cad78.js';
|
|
65
65
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
66
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
66
|
+
export { s as OrSelectV3 } from './OrSelect-8fbd88bc.js';
|
|
67
67
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
68
68
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
69
69
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
70
|
-
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-
|
|
70
|
+
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-3965ff71.js';
|
|
71
71
|
export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
72
|
-
export { s as OrSortHeaderV3 } from './OrSortHeader-
|
|
72
|
+
export { s as OrSortHeaderV3 } from './OrSortHeader-fe1a9cf8.js';
|
|
73
73
|
export { s as OrStepper } from './OrStepper-f19b4eac.js';
|
|
74
74
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
75
|
-
export { s as OrSwitchV3 } from './OrSwitch-
|
|
75
|
+
export { s as OrSwitchV3 } from './OrSwitch-cca30aa0.js';
|
|
76
76
|
export { s as OrTab } from './OrTab-bc98be02.js';
|
|
77
77
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
78
|
-
export { s as OrTabV3 } from './OrTab-
|
|
78
|
+
export { s as OrTabV3 } from './OrTab-c131cf60.js';
|
|
79
79
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
80
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
80
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-d0ee6cef.js';
|
|
81
81
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
82
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
82
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-5d54f37d.js';
|
|
83
83
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
84
84
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
85
|
-
export { s as OrTextV3 } from './OrText-
|
|
86
|
-
export { s as OrTextareaV3 } from './OrTextarea-
|
|
85
|
+
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
|
86
|
+
export { s as OrTextareaV3 } from './OrTextarea-bb9ef3f2.js';
|
|
87
87
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
88
88
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
89
89
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
90
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
90
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-2692e337.js';
|
|
91
91
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
92
92
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
93
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
93
|
+
export { s as OrTooltipV3 } from './OrTooltip-50d27b4f.js';
|
|
94
94
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
95
|
-
export { u as
|
|
95
|
+
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
96
96
|
export { u as useElevation } from './useElevation-31bfe1f6.js';
|
|
97
97
|
export { u as useOverflow } from './useOverflow-af6161c8.js';
|
|
98
98
|
export { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
99
99
|
export { u as useToggle } from './useToggle-29e4d7c7.js';
|
|
100
|
-
export { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
101
100
|
import { R as RX_ABBREVIATION_FROM_STRING } from './color-1f348774.js';
|
|
102
101
|
import 'vue-demi';
|
|
103
102
|
import 'lodash';
|
|
@@ -2,8 +2,8 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton-
|
|
6
|
-
import { s as script$3 } from './OrLoader-
|
|
5
|
+
import { s as script$2 } from './OrIconButton-1a89fbf9.js';
|
|
6
|
+
import { s as script$3 } from './OrLoader-b3cf4231.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { getCurrentInstance, computed, isVue2 } from 'vue-demi';
|
|
2
|
+
|
|
3
|
+
function useClassAttribute() {
|
|
4
|
+
const currentInstance = getCurrentInstance();
|
|
5
|
+
// Functions
|
|
6
|
+
function composeClass() {
|
|
7
|
+
var _a;
|
|
8
|
+
const {
|
|
9
|
+
staticClass = '',
|
|
10
|
+
class: classProperty
|
|
11
|
+
} = (_a = (currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.vnode).data) !== null && _a !== void 0 ? _a : {};
|
|
12
|
+
if (!classProperty) {
|
|
13
|
+
return staticClass || undefined;
|
|
14
|
+
}
|
|
15
|
+
switch (true) {
|
|
16
|
+
case classProperty.constructor === Object:
|
|
17
|
+
return Object.entries(classProperty).filter(([, value]) => !!value).map(([className]) => className).reduce((classList, className) => `${classList} ${className}`, staticClass).trim();
|
|
18
|
+
case Array.isArray(classProperty):
|
|
19
|
+
return `${staticClass} ${classProperty.join(' ')}`.trim();
|
|
20
|
+
default:
|
|
21
|
+
return `${staticClass} ${classProperty}`.trim();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return computed(() => {
|
|
25
|
+
var _a;
|
|
26
|
+
if (isVue2) {
|
|
27
|
+
return (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs.class) !== null && _a !== void 0 ? _a : composeClass();
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { useClassAttribute as u };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.70.2
|
|
3
|
+
"version": "2.70.2",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -124,5 +124,6 @@
|
|
|
124
124
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
125
125
|
},
|
|
126
126
|
"./package.json": "./package.json"
|
|
127
|
-
}
|
|
127
|
+
},
|
|
128
|
+
"gitHead": "84404974ef9b96282e96e5da12d964ff346e72eb"
|
|
128
129
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
ref="root"
|
|
4
|
+
v-bind="$attrs"
|
|
4
5
|
:class="rootStyles"
|
|
5
6
|
>
|
|
6
7
|
<slot>
|
|
@@ -21,18 +22,20 @@
|
|
|
21
22
|
|
|
22
23
|
<script lang="ts">
|
|
23
24
|
import { computed, defineComponent, PropType, ref, watchPostEffect } from 'vue-demi';
|
|
25
|
+
import { useClassAttribute } from '../../hooks';
|
|
24
26
|
import { generateHslFromString, hslToColorString } from '../../utils/functions/color';
|
|
25
|
-
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
26
27
|
import { AvatarColor, AvatarSize } from './props';
|
|
27
|
-
import { AvatarImage, AvatarRoot,
|
|
28
|
+
import { AvatarImage, AvatarRoot, AvatarRootColors, AvatarRootSizes, AvatarRootAbbreviationSizes, AvatarRootIconSizes } from './styles';
|
|
29
|
+
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
28
30
|
|
|
29
31
|
export default defineComponent({
|
|
30
32
|
name: 'OrAvatar',
|
|
31
|
-
|
|
32
33
|
components: {
|
|
33
34
|
OrIcon,
|
|
34
35
|
},
|
|
35
36
|
|
|
37
|
+
inheritAttrs: false,
|
|
38
|
+
|
|
36
39
|
props: {
|
|
37
40
|
src: {
|
|
38
41
|
type: String,
|
|
@@ -72,6 +75,8 @@ export default defineComponent({
|
|
|
72
75
|
return !props.icon;
|
|
73
76
|
});
|
|
74
77
|
// Styles
|
|
78
|
+
const classAttribute = useClassAttribute();
|
|
79
|
+
|
|
75
80
|
const rootStyles = computed(() => [
|
|
76
81
|
'or-avatar',
|
|
77
82
|
...AvatarRoot,
|
|
@@ -81,6 +86,7 @@ export default defineComponent({
|
|
|
81
86
|
? AvatarRootAbbreviationSizes[props.size]
|
|
82
87
|
: AvatarRootIconSizes[props.size]
|
|
83
88
|
),
|
|
89
|
+
classAttribute.value,
|
|
84
90
|
]);
|
|
85
91
|
|
|
86
92
|
const imageStyles = computed(() => [
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
<script lang="ts">
|
|
25
25
|
import { onClickOutside, SwipeDirection, usePointerSwipe } from '@vueuse/core';
|
|
26
26
|
import { computed, defineComponent, ref, unref, watch } from 'vue-demi';
|
|
27
|
+
import { useClassAttribute } from '../../hooks';
|
|
27
28
|
import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3';
|
|
28
29
|
import { BottomSheetHandle, BottomSheetHeader, BottomSheetRoot } from './styles';
|
|
29
30
|
|
|
@@ -51,9 +52,12 @@ export default defineComponent({
|
|
|
51
52
|
const root = ref<HTMLElement>();
|
|
52
53
|
|
|
53
54
|
// Styles
|
|
55
|
+
const classAttribute = useClassAttribute();
|
|
56
|
+
|
|
54
57
|
const rootStyles = computed(() => [
|
|
55
58
|
'or-bottom-sheet',
|
|
56
59
|
...BottomSheetRoot,
|
|
60
|
+
classAttribute.value,
|
|
57
61
|
]);
|
|
58
62
|
|
|
59
63
|
const handleStyles = computed(() => [
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button
|
|
3
3
|
ref="root"
|
|
4
|
+
v-bind="$attrs"
|
|
4
5
|
:class="rootStyles"
|
|
5
6
|
:type="type"
|
|
6
7
|
:activated="activated ? '' : null"
|
|
@@ -33,6 +34,7 @@
|
|
|
33
34
|
|
|
34
35
|
<script lang="ts">
|
|
35
36
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
37
|
+
import { useClassAttribute } from '../../hooks';
|
|
36
38
|
import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
|
|
37
39
|
import { ButtonColor, ButtonType, ButtonVariant } from './props';
|
|
38
40
|
import { ButtonRoot, ButtonRootColors, ButtonRootVariants } from './styles';
|
|
@@ -44,6 +46,8 @@ export default defineComponent({
|
|
|
44
46
|
OrLoader,
|
|
45
47
|
},
|
|
46
48
|
|
|
49
|
+
inheritAttrs: false,
|
|
50
|
+
|
|
47
51
|
props: {
|
|
48
52
|
type: {
|
|
49
53
|
type: String as PropType<ButtonType>,
|
|
@@ -96,12 +100,15 @@ export default defineComponent({
|
|
|
96
100
|
const root = ref<HTMLButtonElement>();
|
|
97
101
|
|
|
98
102
|
// Styles
|
|
103
|
+
const classAttribute = useClassAttribute();
|
|
104
|
+
|
|
99
105
|
const rootStyles = computed(() => [
|
|
100
106
|
'or-button',
|
|
101
107
|
...ButtonRoot,
|
|
102
108
|
...ButtonRootVariants[props.variant],
|
|
103
109
|
...ButtonRootColors[`${props.color}-${props.variant}`],
|
|
104
110
|
props.loading && 'interactivity-none',
|
|
111
|
+
classAttribute.value,
|
|
105
112
|
]);
|
|
106
113
|
|
|
107
114
|
return {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
ref="root"
|
|
4
|
+
v-bind="$attrs"
|
|
4
5
|
:class="rootStyles"
|
|
5
6
|
>
|
|
6
7
|
<div :class="toolbarStyles">
|
|
@@ -56,7 +57,6 @@
|
|
|
56
57
|
</div>
|
|
57
58
|
</div>
|
|
58
59
|
</div>
|
|
59
|
-
|
|
60
60
|
<slot
|
|
61
61
|
name="header"
|
|
62
62
|
v-bind="{
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
mode: proxyView,
|
|
65
65
|
}"
|
|
66
66
|
/>
|
|
67
|
-
|
|
68
67
|
<slot
|
|
69
68
|
v-if="items.length"
|
|
70
69
|
:name="proxyView"
|
|
@@ -82,7 +81,6 @@
|
|
|
82
81
|
</template>
|
|
83
82
|
</OrCardCollectionView>
|
|
84
83
|
</slot>
|
|
85
|
-
|
|
86
84
|
<slot
|
|
87
85
|
v-else-if="items.length === 0 && proxySearch.length > 0"
|
|
88
86
|
name="noSearchResults"
|
|
@@ -95,16 +93,21 @@
|
|
|
95
93
|
|
|
96
94
|
<script lang="ts">
|
|
97
95
|
import { computed, defineComponent, PropType, ref, watch } from 'vue-demi';
|
|
98
|
-
import {
|
|
96
|
+
import { useClassAttribute } from '../../hooks';
|
|
99
97
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
100
|
-
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
101
|
-
import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
|
|
102
98
|
import { OrMenuV3 as OrMenu } from '../or-menu-v3';
|
|
103
|
-
import {
|
|
99
|
+
import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
|
|
100
|
+
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
101
|
+
import {
|
|
102
|
+
CardCollectionRoot,
|
|
103
|
+
CardCollectionToolbar,
|
|
104
|
+
CardCollectionToolbarPanel,
|
|
105
|
+
} from './styles';
|
|
106
|
+
import { CardCollectionItem, SortOption, ViewMode } from './types';
|
|
104
107
|
import OrCardCollectionView from './OrCardCollectionView.vue3.vue';
|
|
108
|
+
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
109
|
+
import { OrSearchV3 as OrSearch } from '../or-search-v3';
|
|
105
110
|
import { defaultViewModes, gridView } from './props';
|
|
106
|
-
import { CardCollectionRoot, CardCollectionToolbar, CardCollectionToolbarPanel } from './styles';
|
|
107
|
-
import { CardCollectionItem, SortOption, ViewMode } from './types';
|
|
108
111
|
|
|
109
112
|
export default defineComponent({
|
|
110
113
|
name: 'OrCardCollection',
|
|
@@ -119,6 +122,8 @@ export default defineComponent({
|
|
|
119
122
|
OrSearch,
|
|
120
123
|
},
|
|
121
124
|
|
|
125
|
+
inheritAttrs: false,
|
|
126
|
+
|
|
122
127
|
props: {
|
|
123
128
|
items: {
|
|
124
129
|
type: Array as PropType<CardCollectionItem[]>,
|
|
@@ -178,9 +183,12 @@ export default defineComponent({
|
|
|
178
183
|
const sortButton = ref<typeof OrButton>();
|
|
179
184
|
|
|
180
185
|
// Styles
|
|
186
|
+
const classAttribute = useClassAttribute();
|
|
187
|
+
|
|
181
188
|
const rootStyles = computed(() => [
|
|
182
189
|
'or-card-collection',
|
|
183
190
|
...CardCollectionRoot,
|
|
191
|
+
classAttribute.value,
|
|
184
192
|
]);
|
|
185
193
|
|
|
186
194
|
const toolbarStyles = computed(() => [
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
ref="root"
|
|
4
|
+
v-bind="$attrs"
|
|
4
5
|
:class="rootStyles"
|
|
5
6
|
>
|
|
6
7
|
<slot />
|
|
@@ -9,11 +10,14 @@
|
|
|
9
10
|
|
|
10
11
|
<script lang="ts">
|
|
11
12
|
import { computed, defineComponent, ref } from 'vue-demi';
|
|
13
|
+
import { useClassAttribute } from '../../hooks';
|
|
12
14
|
import { CardRoot } from './styles';
|
|
13
15
|
|
|
14
16
|
export default defineComponent({
|
|
15
17
|
name: 'OrCard',
|
|
16
18
|
|
|
19
|
+
inheritAttrs: false,
|
|
20
|
+
|
|
17
21
|
expose: [
|
|
18
22
|
'root',
|
|
19
23
|
],
|
|
@@ -23,9 +27,12 @@ export default defineComponent({
|
|
|
23
27
|
const root = ref<HTMLElement>();
|
|
24
28
|
|
|
25
29
|
// Styles
|
|
30
|
+
const classAttribute = useClassAttribute();
|
|
31
|
+
|
|
26
32
|
const rootStyles = computed(() => [
|
|
27
33
|
'or-card',
|
|
28
34
|
...CardRoot,
|
|
35
|
+
classAttribute.value,
|
|
29
36
|
]);
|
|
30
37
|
|
|
31
38
|
return {
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
:class="rootStyles"
|
|
5
5
|
>
|
|
6
6
|
<input
|
|
7
|
-
|
|
7
|
+
v-bind="$attrs"
|
|
8
|
+
:id="controlId"
|
|
8
9
|
v-model="proxyModelValue"
|
|
9
|
-
v-bind="controlAttributes"
|
|
10
10
|
:class="controlStyles"
|
|
11
|
-
|
|
11
|
+
type="checkbox"
|
|
12
12
|
:value="inputValue"
|
|
13
13
|
:indeterminate="indeterminate"
|
|
14
14
|
:required="required"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
<template v-if="$slots.default || label">
|
|
21
21
|
<OrLabel
|
|
22
|
-
:control-id="
|
|
22
|
+
:control-id="controlId"
|
|
23
23
|
:variant="labelVariant"
|
|
24
24
|
:required="required"
|
|
25
25
|
:disabled="disabled"
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
</template>
|
|
36
36
|
|
|
37
37
|
<script lang="ts">
|
|
38
|
-
import { computed, defineComponent,
|
|
39
|
-
import {
|
|
38
|
+
import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
|
|
39
|
+
import { useClassAttribute } from '../../hooks';
|
|
40
40
|
import { LabelVariant, OrLabelV3 as OrLabel } from '../or-label-v3';
|
|
41
41
|
import { CheckboxControl, CheckboxControlHandle, CheckboxRoot } from './styles';
|
|
42
42
|
|
|
@@ -47,6 +47,8 @@ export default defineComponent({
|
|
|
47
47
|
OrLabel,
|
|
48
48
|
},
|
|
49
49
|
|
|
50
|
+
inheritAttrs: false,
|
|
51
|
+
|
|
50
52
|
props: {
|
|
51
53
|
modelValue: {
|
|
52
54
|
type: [Boolean, Array] as PropType<boolean | string[]>,
|
|
@@ -99,20 +101,21 @@ export default defineComponent({
|
|
|
99
101
|
|
|
100
102
|
expose: [
|
|
101
103
|
'root',
|
|
102
|
-
|
|
103
|
-
'focus',
|
|
104
|
-
'blur',
|
|
105
104
|
],
|
|
106
105
|
|
|
107
106
|
setup(props, context) {
|
|
107
|
+
const currentInstance = getCurrentInstance()!;
|
|
108
|
+
|
|
108
109
|
// Refs
|
|
109
110
|
const root = ref<HTMLElement>();
|
|
110
|
-
const control = ref<HTMLInputElement>();
|
|
111
111
|
|
|
112
112
|
// Styles
|
|
113
|
+
const classAttribute = useClassAttribute();
|
|
114
|
+
|
|
113
115
|
const rootStyles = computed(() => [
|
|
114
116
|
'or-checkbox',
|
|
115
117
|
...CheckboxRoot,
|
|
118
|
+
classAttribute.value,
|
|
116
119
|
]);
|
|
117
120
|
|
|
118
121
|
const controlStyles = computed(() => [
|
|
@@ -121,10 +124,7 @@ export default defineComponent({
|
|
|
121
124
|
]);
|
|
122
125
|
|
|
123
126
|
// State
|
|
124
|
-
const
|
|
125
|
-
id: useIdAttribute(),
|
|
126
|
-
...useControlAttributes(),
|
|
127
|
-
});
|
|
127
|
+
const controlId = ref(context.attrs.id as string ?? currentInstance.uid.toString());
|
|
128
128
|
|
|
129
129
|
const proxyModelValue = computed({
|
|
130
130
|
get: () => {
|
|
@@ -137,24 +137,12 @@ export default defineComponent({
|
|
|
137
137
|
},
|
|
138
138
|
});
|
|
139
139
|
|
|
140
|
-
// Methods
|
|
141
|
-
function focus(): void {
|
|
142
|
-
control.value?.focus();
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
function blur(): void {
|
|
146
|
-
control.value?.blur();
|
|
147
|
-
}
|
|
148
|
-
|
|
149
140
|
return {
|
|
150
141
|
root,
|
|
151
|
-
control,
|
|
152
142
|
rootStyles,
|
|
153
143
|
controlStyles,
|
|
154
|
-
|
|
144
|
+
controlId,
|
|
155
145
|
proxyModelValue,
|
|
156
|
-
focus,
|
|
157
|
-
blur,
|
|
158
146
|
};
|
|
159
147
|
},
|
|
160
148
|
});
|
|
@@ -65,87 +65,80 @@
|
|
|
65
65
|
</template>
|
|
66
66
|
|
|
67
67
|
<script lang="ts">
|
|
68
|
-
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
69
|
-
import { logicAnd } from '@vueuse/math';
|
|
70
68
|
import { computed, defineComponent, PropType, ref, watch } from 'vue-demi';
|
|
71
|
-
import {
|
|
72
|
-
import { OrInputV3 as OrInput } from '../or-input-v3';
|
|
69
|
+
import { OrButtonV3 as OrButton, ButtonColor } from '../or-button-v3';
|
|
73
70
|
import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3';
|
|
71
|
+
import { OrInputV3 as OrInput } from '../or-input-v3';
|
|
72
|
+
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
73
|
+
import { logicAnd } from '@vueuse/math';
|
|
74
74
|
import { ConfirmType } from './props';
|
|
75
|
-
import {
|
|
75
|
+
import {
|
|
76
|
+
ConfirmFooterTypes,
|
|
77
|
+
ConfirmFooter,
|
|
78
|
+
ConfirmHeader,
|
|
79
|
+
ConfirmInput,
|
|
80
|
+
ConfirmRoot,
|
|
81
|
+
ConfirmFooterButtons,
|
|
82
|
+
} from './styles';
|
|
76
83
|
|
|
77
84
|
export default defineComponent({
|
|
78
85
|
name: 'OrConfirm',
|
|
79
|
-
|
|
80
86
|
components: {
|
|
81
87
|
OrOverlay,
|
|
82
88
|
OrButton,
|
|
83
89
|
OrInput,
|
|
84
90
|
},
|
|
85
|
-
|
|
86
|
-
inheritAttrs: false,
|
|
87
|
-
|
|
88
91
|
props: {
|
|
89
92
|
titleText: {
|
|
90
93
|
type: String,
|
|
91
94
|
required: false,
|
|
92
95
|
default: null,
|
|
93
96
|
},
|
|
94
|
-
|
|
95
97
|
confirmButtonText: {
|
|
96
98
|
type: String,
|
|
97
99
|
required: false,
|
|
98
100
|
default: 'Confirm',
|
|
99
101
|
},
|
|
100
|
-
|
|
101
102
|
cancelButtonText: {
|
|
102
103
|
type: String,
|
|
103
104
|
required: false,
|
|
104
105
|
default: 'Cancel',
|
|
105
106
|
},
|
|
106
|
-
|
|
107
107
|
confirmType: {
|
|
108
108
|
type: String as PropType<ConfirmType>,
|
|
109
109
|
required: false,
|
|
110
110
|
default: ConfirmType.C,
|
|
111
111
|
},
|
|
112
|
-
|
|
113
112
|
loading: {
|
|
114
113
|
type: Boolean,
|
|
115
114
|
required: false,
|
|
116
115
|
default: false,
|
|
117
116
|
},
|
|
118
|
-
|
|
119
117
|
disabled: {
|
|
120
118
|
type: Boolean,
|
|
121
119
|
required: false,
|
|
122
120
|
default: false,
|
|
123
121
|
},
|
|
124
|
-
|
|
125
122
|
confirmationText: {
|
|
126
123
|
type: String,
|
|
127
124
|
required: false,
|
|
128
125
|
default: null,
|
|
129
126
|
},
|
|
130
|
-
|
|
131
127
|
textConfirmationLabel: {
|
|
132
128
|
type: String,
|
|
133
129
|
required: false,
|
|
134
130
|
default: null,
|
|
135
131
|
},
|
|
136
|
-
|
|
137
132
|
textConfirmationPlaceholder: {
|
|
138
133
|
type: String,
|
|
139
134
|
required: false,
|
|
140
135
|
default: null,
|
|
141
136
|
},
|
|
142
|
-
|
|
143
137
|
textConfirmationError: {
|
|
144
138
|
type: String,
|
|
145
139
|
required: false,
|
|
146
140
|
default: null,
|
|
147
141
|
},
|
|
148
|
-
|
|
149
142
|
isOpen: {
|
|
150
143
|
type: Boolean,
|
|
151
144
|
default: false,
|