@onereach/ui-components 2.69.7-beta.2170.0 → 2.69.7-beta.2172.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrButton-a846fa7e.js → OrButton-4b99c680.js} +1 -10
- package/dist/bundled/v2/{OrCardCollection-15d11d05.js → OrCardCollection-9ab12583.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-ec3feaf5.js → OrConfirm-58a0d0ae.js} +2 -2
- package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-70a17476.js} +18 -10
- package/dist/bundled/v2/{OrSearch-76b002cf.js → OrSearch-e9fe9aba.js} +1 -1
- package/dist/bundled/v2/{OrSelect-8a4d227e.js → OrSelect-396692be.js} +9 -16
- package/dist/bundled/v2/{OrSwitch-237a2081.js → OrSwitch-337c4e40.js} +16 -8
- package/dist/bundled/v2/components/index.d.ts +0 -1
- package/dist/bundled/v2/components/index.js +9 -8
- package/dist/bundled/v2/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -4
- package/dist/bundled/v2/components/or-confirm-v3/index.js +5 -3
- package/dist/bundled/v2/components/or-input-v3/OrInput.stories3.d.ts +2 -0
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +6 -2
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -25
- package/dist/bundled/v2/components/or-select-v3/index.d.ts +0 -1
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -2
- package/dist/bundled/v2/components/or-select-v3/types.d.ts +1 -1
- package/dist/bundled/v2/components/or-switch-v3/OrSwitch.vue.d.ts +6 -2
- package/dist/bundled/v2/components/or-switch-v3/index.js +3 -1
- package/dist/bundled/v2/hooks/index.d.ts +1 -0
- package/dist/bundled/v2/hooks/index.js +2 -0
- package/dist/bundled/v2/hooks/useSlicedAttrs.d.ts +5 -0
- package/dist/bundled/v2/index.js +10 -9
- package/dist/bundled/v2/useSlicedAttrs-8d836c02.js +30 -0
- package/dist/bundled/v3/{OrButton-2b27c1fd.js → OrButton-a671b8a1.js} +2 -3
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-8c44986c.js → OrButton.vue_vue_type_script_lang-b0dc31ca.js} +1 -9
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-bd852915.js → OrCardCollection.vue_vue_type_script_lang-d63ff1bf.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9e4e2884.js → OrConfirm.vue_vue_type_script_lang-e6d1a51f.js} +4 -4
- package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-aee859e9.js} +5 -4
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-f6d793d3.js → OrInput.vue_vue_type_script_lang-b687f7f9.js} +10 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-014ad470.js → OrSearch.vue_vue_type_script_lang-c3c18f88.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-94063fc4.js → OrSelect.vue_vue_type_script_lang-639cf302.js} +4 -8
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-04829f64.js → OrSwitch.vue_vue_type_script_lang-e7c7f18b.js} +10 -3
- package/dist/bundled/v3/components/index.d.ts +0 -1
- package/dist/bundled/v3/components/index.js +11 -10
- package/dist/bundled/v3/components/or-button-v3/OrButton.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +8 -6
- package/dist/bundled/v3/components/or-confirm-v3/index.js +7 -5
- package/dist/bundled/v3/components/or-input-v3/OrInput.stories3.d.ts +2 -0
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +6 -2
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -25
- package/dist/bundled/v3/components/or-select-v3/index.d.ts +0 -1
- package/dist/bundled/v3/components/or-select-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/bundled/v3/components/or-switch-v3/OrSwitch.vue.d.ts +6 -2
- package/dist/bundled/v3/components/or-switch-v3/index.js +3 -1
- package/dist/bundled/v3/hooks/index.d.ts +1 -0
- package/dist/bundled/v3/hooks/index.js +2 -0
- package/dist/bundled/v3/hooks/useSlicedAttrs.d.ts +5 -0
- package/dist/bundled/v3/index.js +171 -259
- package/dist/bundled/v3/useSlicedAttrs-81ac6537.js +24 -0
- package/dist/esm/v2/{OrAvatar-3d155af3.js → OrAvatar-4d05d21f.js} +2 -1
- package/dist/esm/v2/{OrBottomSheet-16c2e610.js → OrBottomSheet-0386a623.js} +2 -1
- package/dist/esm/v2/{OrButton-835d4f11.js → OrButton-48c68216.js} +3 -11
- package/dist/esm/v2/{OrCard-de799db0.js → OrCard-3e794244.js} +1 -0
- package/dist/esm/v2/{OrCardCollection-f6b07557.js → OrCardCollection-1702319b.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-024cfba9.js → OrCardCollection-d145adbe.js} +9 -8
- package/dist/esm/v2/{OrCheckbox-567e387c.js → OrCheckbox-197c4331.js} +2 -1
- package/dist/esm/v2/{OrConfirm-d7112dd3.js → OrConfirm-9e0fcf83.js} +1 -1
- package/dist/esm/v2/{OrConfirm-5e8dd4b6.js → OrConfirm-b62d2205.js} +3 -3
- package/dist/esm/v2/{OrError-d267ee9a.js → OrError-55b6feda.js} +1 -0
- package/dist/esm/v2/{OrErrorTag-782dd714.js → OrErrorTag-d0407d4e.js} +2 -1
- package/dist/esm/v2/{OrExpansionPanel-968ddc61.js → OrExpansionPanel-db7e325b.js} +2 -1
- package/dist/esm/v2/{OrFab-26106618.js → OrFab-77f5bb6e.js} +1 -1
- package/dist/esm/v2/{OrHint-42dc9ebb.js → OrHint-8ac527b2.js} +1 -0
- package/dist/esm/v2/{OrIcon-5e394c62.js → OrIcon-ed9e0063.js} +1 -0
- package/dist/esm/v2/{OrIconButton-e17e4944.js → OrIconButton-8d8bb874.js} +4 -3
- package/dist/esm/v2/{OrInlineInput-cfeeea33.js → OrInlineInput-a2e57f5c.js} +5 -4
- package/dist/esm/v2/{OrInlineInputBox-fefd4fbd.js → OrInlineInputBox-6a1d02c1.js} +1 -0
- package/dist/esm/v2/{OrInlineTextarea-897b5377.js → OrInlineTextarea-8ca157c7.js} +5 -4
- package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-28f1c749.js} +24 -16
- package/dist/esm/v2/{OrInputBox-4d5a318d.js → OrInputBox-83980d24.js} +1 -0
- package/dist/esm/v2/{OrLabel-2a9f1477.js → OrLabel-0e300559.js} +1 -0
- package/dist/esm/v2/{OrLink-80742a17.js → OrLink-71e57969.js} +1 -0
- package/dist/esm/v2/{OrListOfInputs-50aa1ef1.js → OrListOfInputs-222bafd0.js} +1 -1
- package/dist/esm/v2/{OrLoader-f857d55b.js → OrLoader-5076d36b.js} +1 -0
- package/dist/esm/v2/{OrMenu-df27d0ef.js → OrMenu-f9b65b19.js} +2 -1
- package/dist/esm/v2/{OrMenuItem-c7f28480.js → OrMenuItem-26f5c30b.js} +2 -1
- package/dist/esm/v2/{OrModal-5b37a50a.js → OrModal-026a1889.js} +3 -2
- package/dist/esm/v2/{OrNotification-c765f111.js → OrNotification-f3c411f2.js} +3 -2
- package/dist/esm/v2/{OrOverlay-18ba2dc6.js → OrOverlay-c60af55e.js} +1 -0
- package/dist/esm/v2/{OrPassword-1fa97156.js → OrPassword-90a03124.js} +1 -1
- package/dist/esm/v2/{OrPopover-9bafbdb4.js → OrPopover-92cfde7e.js} +2 -1
- package/dist/esm/v2/{OrProgress-c27c8946.js → OrProgress-478b4e28.js} +1 -0
- package/dist/esm/v2/{OrRadio-848ce55d.js → OrRadio-f8c32b3a.js} +2 -1
- package/dist/esm/v2/{OrSearch-0589d17d.js → OrSearch-e0ffe9eb.js} +1 -1
- package/dist/esm/v2/{OrSearch-2f260b09.js → OrSearch-e935e64c.js} +3 -2
- package/dist/esm/v2/{OrSearch.vue_rollup-plugin-vue_script-197d77fc.js → OrSearch.vue_rollup-plugin-vue_script-2d694d30.js} +1 -0
- package/dist/esm/v2/{OrSegmentedControl-e8dce8f9.js → OrSegmentedControl-77a3e7d2.js} +1 -0
- package/dist/esm/v2/{OrSelect-641184f0.js → OrSelect-7c0417ed.js} +20 -26
- package/dist/esm/v2/{OrSkeletonText-950be6a2.js → OrSkeletonText-c1a4d7f2.js} +1 -0
- package/dist/esm/v2/{OrSortHeader-19bf94ca.js → OrSortHeader-0e6232da.js} +2 -1
- package/dist/esm/v2/{OrSwitch-13b6a7ee.js → OrSwitch-cbd0d767.js} +18 -10
- package/dist/esm/v2/{OrTab-702e7335.js → OrTab-6980c1dc.js} +1 -0
- package/dist/esm/v2/{OrTabs-71bd3fd2.js → OrTabs-bf200bc9.js} +6 -5
- package/dist/esm/v2/{OrTag-cf9c6195.js → OrTag-decd89a1.js} +2 -1
- package/dist/esm/v2/{OrText-ba5a2b6c.js → OrText-c78df05d.js} +1 -0
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-498efe98.js} +5 -4
- package/dist/esm/v2/{OrTextbox-2594c980.js → OrTextbox-f4f041ed.js} +1 -0
- package/dist/esm/v2/{OrTooltip-513bee30.js → OrTooltip-216920f0.js} +2 -1
- package/dist/esm/v2/components/index.d.ts +0 -1
- package/dist/esm/v2/components/index.js +52 -51
- package/dist/esm/v2/components/or-avatar-v3/index.js +3 -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 +0 -11
- package/dist/esm/v2/components/or-button-v3/index.js +3 -2
- package/dist/esm/v2/components/or-card-collection/index.js +4 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +19 -17
- package/dist/esm/v2/components/or-card-v3/index.js +2 -1
- package/dist/esm/v2/components/or-checkbox-v3/index.js +3 -2
- package/dist/esm/v2/components/or-confirm/index.js +3 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +16 -14
- package/dist/esm/v2/components/or-error-tag-v3/index.js +3 -2
- package/dist/esm/v2/components/or-error-v3/index.js +2 -1
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +3 -2
- package/dist/esm/v2/components/or-fab-v3/index.js +3 -2
- package/dist/esm/v2/components/or-hint-v3/index.js +2 -1
- package/dist/esm/v2/components/or-icon-button-v3/index.js +7 -6
- package/dist/esm/v2/components/or-icon-v3/index.js +2 -1
- package/dist/esm/v2/components/or-inline-input-box-v3/index.js +2 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +11 -10
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +11 -10
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.stories3.d.ts +2 -0
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +6 -2
- package/dist/esm/v2/components/or-input-v3/index.js +14 -12
- package/dist/esm/v2/components/or-inputs/index.js +4 -3
- package/dist/esm/v2/components/or-label-v3/index.js +2 -1
- package/dist/esm/v2/components/or-link-v3/index.js +2 -1
- package/dist/esm/v2/components/or-list-of-inputs/index.js +3 -2
- package/dist/esm/v2/components/or-loader-v3/index.js +2 -1
- package/dist/esm/v2/components/or-menu-item-v3/index.js +3 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +5 -4
- package/dist/esm/v2/components/or-modal-v3/index.js +8 -7
- package/dist/esm/v2/components/or-notification-v3/index.js +8 -7
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -3
- package/dist/esm/v2/components/or-progress-v3/index.js +2 -1
- package/dist/esm/v2/components/or-radio-v3/index.js +3 -2
- package/dist/esm/v2/components/or-search-v3/index.js +14 -12
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +2 -1
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +14 -25
- package/dist/esm/v2/components/or-select-v3/index.d.ts +0 -1
- package/dist/esm/v2/components/or-select-v3/index.js +18 -16
- package/dist/esm/v2/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v2/components/or-skeleton-v3/index.js +2 -1
- package/dist/esm/v2/components/or-sort-header-v3/index.js +3 -2
- package/dist/esm/v2/components/or-switch-v3/OrSwitch.vue.d.ts +6 -2
- package/dist/esm/v2/components/or-switch-v3/index.js +6 -4
- package/dist/esm/v2/components/or-tab-v3/index.js +2 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +9 -8
- package/dist/esm/v2/components/or-tag-v3/index.js +8 -7
- package/dist/esm/v2/components/or-text-v3/index.js +2 -1
- package/dist/esm/v2/components/or-textarea-v3/index.js +6 -5
- package/dist/esm/v2/components/or-textbox/index.js +2 -1
- package/dist/esm/v2/components/or-toast-v3/index.js +9 -8
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v2/hooks/index.d.ts +1 -0
- package/dist/esm/v2/hooks/index.js +2 -0
- package/dist/esm/v2/hooks/useSlicedAttrs.d.ts +5 -0
- package/dist/esm/v2/index.js +52 -51
- package/dist/esm/v2/{types-8d58d7b5.js → types-1d68431e.js} +2 -2
- package/dist/esm/v2/useSlicedAttrs-91deb3b7.js +31 -0
- package/dist/esm/v3/{OrAvatar-53a4429d.js → OrAvatar-6c4ff382.js} +2 -1
- package/dist/esm/v3/{OrBottomSheet-62817aec.js → OrBottomSheet-11ab621e.js} +2 -1
- package/dist/esm/v3/{OrButton-0fa67a0d.js → OrButton-fd69e79e.js} +4 -12
- package/dist/esm/v3/{OrCard-fd92f7c8.js → OrCard-14c50722.js} +1 -0
- package/dist/esm/v3/{OrCardCollection-286d0f3f.js → OrCardCollection-45884ef2.js} +9 -8
- package/dist/esm/v3/{OrCardCollection-a5e326ef.js → OrCardCollection-989bb549.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-3e139eac.js → OrCheckbox-cf989d15.js} +2 -1
- package/dist/esm/v3/{OrConfirm-f39bd784.js → OrConfirm-53788490.js} +1 -1
- package/dist/esm/v3/{OrConfirm-56ae1494.js → OrConfirm-8c4f080b.js} +3 -3
- package/dist/esm/v3/{OrError-ec8c709d.js → OrError-2ef63390.js} +1 -0
- package/dist/esm/v3/{OrErrorTag-98252eef.js → OrErrorTag-630205fc.js} +2 -1
- package/dist/esm/v3/{OrExpansionPanel-311e64cf.js → OrExpansionPanel-0151936a.js} +2 -1
- package/dist/esm/v3/{OrFab-c8ae6e01.js → OrFab-7c1780e5.js} +1 -1
- package/dist/esm/v3/{OrHint-74bb732d.js → OrHint-4f497295.js} +1 -0
- package/dist/esm/v3/{OrIcon-b195169c.js → OrIcon-085d2eb1.js} +1 -0
- package/dist/esm/v3/{OrIconButton-1eebcafc.js → OrIconButton-830faf78.js} +4 -3
- package/dist/esm/v3/{OrInlineInput-31026cd0.js → OrInlineInput-46fd890d.js} +5 -4
- package/dist/esm/v3/{OrInlineInputBox-8049f95a.js → OrInlineInputBox-226e29da.js} +1 -0
- package/dist/esm/v3/{OrInlineTextarea-b28c3d8c.js → OrInlineTextarea-837cb99a.js} +5 -4
- package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-502b6d49.js} +20 -12
- package/dist/esm/v3/{OrInputBox-6d1b6059.js → OrInputBox-304481e7.js} +1 -0
- package/dist/esm/v3/{OrLabel-bdaec602.js → OrLabel-7989b72a.js} +1 -0
- package/dist/esm/v3/{OrLink-338db3ca.js → OrLink-b0d7d430.js} +1 -0
- package/dist/esm/v3/{OrListOfInputs-7a67440f.js → OrListOfInputs-7e8b4f20.js} +1 -1
- package/dist/esm/v3/{OrLoader-b3cf4231.js → OrLoader-ab6bb22c.js} +1 -0
- package/dist/esm/v3/{OrMenu-840038cd.js → OrMenu-60ff7732.js} +2 -1
- package/dist/esm/v3/{OrMenuItem-9da279f6.js → OrMenuItem-82b6700b.js} +2 -1
- package/dist/esm/v3/{OrModal-381554a6.js → OrModal-9724926c.js} +3 -2
- package/dist/esm/v3/{OrNotification-34d9c99b.js → OrNotification-bef23976.js} +3 -2
- package/dist/esm/v3/{OrOverlay-738a44d5.js → OrOverlay-4a300d88.js} +1 -0
- package/dist/esm/v3/{OrPopover-1075dd38.js → OrPopover-086817af.js} +2 -1
- package/dist/esm/v3/{OrProgress-407002e0.js → OrProgress-3710020b.js} +1 -0
- package/dist/esm/v3/{OrRadio-54b6d0de.js → OrRadio-aa2cbfa1.js} +2 -1
- package/dist/esm/v3/{OrSearch-7cb2c91c.js → OrSearch-b5f08401.js} +1 -0
- package/dist/esm/v3/{OrSearch-e5a2e93e.js → OrSearch-cb030d85.js} +3 -2
- package/dist/esm/v3/{OrSegmentedControl-171cad78.js → OrSegmentedControl-214e904c.js} +1 -0
- package/dist/esm/v3/{OrSelect-08bd0f60.js → OrSelect-24e213b6.js} +21 -30
- package/dist/esm/v3/{OrSkeletonText-3965ff71.js → OrSkeletonText-dd74b979.js} +1 -0
- package/dist/esm/v3/{OrSortHeader-fe1a9cf8.js → OrSortHeader-4aff1426.js} +2 -1
- package/dist/esm/v3/{OrSwitch-cca30aa0.js → OrSwitch-eb5bc7cc.js} +16 -8
- package/dist/esm/v3/{OrTab-c131cf60.js → OrTab-3fe86033.js} +1 -0
- package/dist/esm/v3/{OrTabs-d0ee6cef.js → OrTabs-5dcbf9ce.js} +6 -5
- package/dist/esm/v3/{OrTag-c0bbaa58.js → OrTag-35f948c1.js} +2 -1
- package/dist/esm/v3/{OrText-ecb46923.js → OrText-786b2aa4.js} +1 -0
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-c083501a.js} +5 -4
- package/dist/esm/v3/{OrTextbox-2f33e9c3.js → OrTextbox-929fc3a2.js} +1 -0
- package/dist/esm/v3/{OrTooltip-50d27b4f.js → OrTooltip-6f9147b6.js} +2 -1
- package/dist/esm/v3/components/index.d.ts +0 -1
- package/dist/esm/v3/components/index.js +50 -49
- package/dist/esm/v3/components/or-avatar-v3/index.js +3 -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 +0 -11
- package/dist/esm/v3/components/or-button-v3/index.js +3 -2
- package/dist/esm/v3/components/or-card-collection/index.js +3 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +19 -17
- package/dist/esm/v3/components/or-card-v3/index.js +2 -1
- package/dist/esm/v3/components/or-checkbox-v3/index.js +3 -2
- package/dist/esm/v3/components/or-confirm/index.js +3 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +16 -14
- package/dist/esm/v3/components/or-error-tag-v3/index.js +3 -2
- package/dist/esm/v3/components/or-error-v3/index.js +2 -1
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +3 -2
- package/dist/esm/v3/components/or-fab-v3/index.js +3 -2
- package/dist/esm/v3/components/or-hint-v3/index.js +2 -1
- package/dist/esm/v3/components/or-icon-button-v3/index.js +7 -6
- package/dist/esm/v3/components/or-icon-v3/index.js +2 -1
- package/dist/esm/v3/components/or-inline-input-box-v3/index.js +2 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +11 -10
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +11 -10
- package/dist/esm/v3/components/or-input-box-v3/index.js +2 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.stories3.d.ts +2 -0
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +6 -2
- package/dist/esm/v3/components/or-input-v3/index.js +14 -12
- package/dist/esm/v3/components/or-inputs/index.js +2 -1
- package/dist/esm/v3/components/or-label-v3/index.js +2 -1
- package/dist/esm/v3/components/or-link-v3/index.js +2 -1
- package/dist/esm/v3/components/or-list-of-inputs/index.js +3 -2
- package/dist/esm/v3/components/or-loader-v3/index.js +2 -1
- package/dist/esm/v3/components/or-menu-item-v3/index.js +3 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +5 -4
- package/dist/esm/v3/components/or-modal-v3/index.js +8 -7
- package/dist/esm/v3/components/or-notification-v3/index.js +8 -7
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -1
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -3
- package/dist/esm/v3/components/or-progress-v3/index.js +2 -1
- package/dist/esm/v3/components/or-radio-v3/index.js +3 -2
- package/dist/esm/v3/components/or-search-v3/index.js +14 -12
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +2 -1
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +14 -25
- package/dist/esm/v3/components/or-select-v3/index.d.ts +0 -1
- package/dist/esm/v3/components/or-select-v3/index.js +18 -16
- package/dist/esm/v3/components/or-select-v3/types.d.ts +1 -1
- package/dist/esm/v3/components/or-skeleton-v3/index.js +2 -1
- package/dist/esm/v3/components/or-sort-header-v3/index.js +3 -2
- package/dist/esm/v3/components/or-switch-v3/OrSwitch.vue.d.ts +6 -2
- package/dist/esm/v3/components/or-switch-v3/index.js +6 -4
- package/dist/esm/v3/components/or-tab-v3/index.js +2 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +9 -8
- package/dist/esm/v3/components/or-tag-v3/index.js +8 -7
- package/dist/esm/v3/components/or-text-v3/index.js +2 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +6 -5
- package/dist/esm/v3/components/or-textbox/index.js +2 -1
- package/dist/esm/v3/components/or-toast-v3/index.js +9 -8
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v3/hooks/index.d.ts +1 -0
- package/dist/esm/v3/hooks/index.js +2 -0
- package/dist/esm/v3/hooks/useSlicedAttrs.d.ts +5 -0
- package/dist/esm/v3/index.js +50 -49
- package/dist/esm/v3/{types-8a338300.js → types-a2cbb17e.js} +2 -2
- package/dist/esm/v3/useSlicedAttrs-91deb3b7.js +31 -0
- package/package.json +1 -1
- package/src/components/index.ts +0 -1
- package/src/components/or-button-v3/OrButton.stories3.ts +0 -4
- package/src/components/or-button-v3/OrButton.vue +0 -6
- package/src/components/or-button-v3/styles.ts +1 -9
- package/src/components/or-input-v3/OrInput.stories3.ts +53 -0
- package/src/components/or-input-v3/OrInput.vue +13 -5
- package/src/components/or-select-v3/OrSelect.vue +14 -26
- package/src/components/or-select-v3/index.ts +0 -1
- package/src/components/or-select-v3/types.ts +1 -1
- package/src/components/or-switch-v3/OrSwitch.vue +13 -4
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useSlicedAttrs.ts +31 -0
- package/dist/bundled/v2/OrPagination-379c10b8.js +0 -308
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -112
- package/dist/bundled/v2/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-pagination-v3/index.js +0 -20
- package/dist/bundled/v2/components/or-pagination-v3/styles.d.ts +0 -4
- package/dist/bundled/v2/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/bundled/v3/OrPagination.vue_vue_type_script_lang-c96d7cd7.js +0 -187
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -112
- package/dist/bundled/v3/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-pagination-v3/index.js +0 -22
- package/dist/bundled/v3/components/or-pagination-v3/styles.d.ts +0 -4
- package/dist/bundled/v3/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/esm/v2/OrPagination-c0dbec6a.js +0 -308
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +0 -112
- package/dist/esm/v2/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +0 -18
- package/dist/esm/v2/components/or-pagination-v3/styles.d.ts +0 -4
- package/dist/esm/v2/components/or-pagination-v3/types.d.ts +0 -4
- package/dist/esm/v3/OrPagination-a703307d.js +0 -269
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.stories3.d.ts +0 -12
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +0 -112
- package/dist/esm/v3/components/or-pagination-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +0 -17
- package/dist/esm/v3/components/or-pagination-v3/styles.d.ts +0 -4
- package/dist/esm/v3/components/or-pagination-v3/types.d.ts +0 -4
- package/src/components/or-pagination-v3/OrPagination.docs.mdx +0 -7
- package/src/components/or-pagination-v3/OrPagination.stories3.ts +0 -87
- package/src/components/or-pagination-v3/OrPagination.vue +0 -270
- package/src/components/or-pagination-v3/index.ts +0 -2
- package/src/components/or-pagination-v3/styles.ts +0 -38
- package/src/components/or-pagination-v3/types.ts +0 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { getCurrentInstance, computed, isVue2 } from 'vue-demi';
|
|
2
|
+
import ommit from 'lodash/omit';
|
|
3
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
+
|
|
5
|
+
function useSlicedAttrs() {
|
|
6
|
+
const classAttribute = useClassAttribute();
|
|
7
|
+
const currentInstance = getCurrentInstance();
|
|
8
|
+
const classes = computed(() => {
|
|
9
|
+
if (isVue2) {
|
|
10
|
+
return classAttribute.value;
|
|
11
|
+
}
|
|
12
|
+
return currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs.class;
|
|
13
|
+
});
|
|
14
|
+
const styles = computed(() => {
|
|
15
|
+
var _a, _b;
|
|
16
|
+
if (isVue2) {
|
|
17
|
+
return (_b = (_a = currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.vnode) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.staticStyle;
|
|
18
|
+
}
|
|
19
|
+
return currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs.style;
|
|
20
|
+
});
|
|
21
|
+
const attrs = computed(() => {
|
|
22
|
+
return ommit(currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.attrs, 'style', 'class');
|
|
23
|
+
});
|
|
24
|
+
return {
|
|
25
|
+
classes,
|
|
26
|
+
styles,
|
|
27
|
+
attrs
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { useSlicedAttrs as u };
|
package/package.json
CHANGED
package/src/components/index.ts
CHANGED
|
@@ -53,7 +53,6 @@ export * from './or-notification-v3';
|
|
|
53
53
|
export * from './or-overflow-menu';
|
|
54
54
|
export * from './or-overlay';
|
|
55
55
|
export * from './or-overlay-v3';
|
|
56
|
-
export * from './or-pagination-v3';
|
|
57
56
|
export * from './or-popover-v3';
|
|
58
57
|
export * from './or-progress';
|
|
59
58
|
export * from './or-progress-v3';
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
v-bind="$attrs"
|
|
5
5
|
:class="rootStyles"
|
|
6
6
|
:type="type"
|
|
7
|
-
:activated="activated ? '' : null"
|
|
8
7
|
:disabled="disabled"
|
|
9
8
|
@click="$emit('click', $event)"
|
|
10
9
|
@focus="$emit('focus', $event)"
|
|
@@ -64,11 +63,6 @@ export default defineComponent({
|
|
|
64
63
|
default: ButtonColor.Primary,
|
|
65
64
|
},
|
|
66
65
|
|
|
67
|
-
activated: {
|
|
68
|
-
type: Boolean,
|
|
69
|
-
default: false,
|
|
70
|
-
},
|
|
71
|
-
|
|
72
66
|
disabled: {
|
|
73
67
|
type: Boolean,
|
|
74
68
|
default: false,
|
|
@@ -116,13 +116,5 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
|
|
|
116
116
|
'dark:theme-preset-4-error-dark',
|
|
117
117
|
],
|
|
118
118
|
|
|
119
|
-
'inherit-link': [
|
|
120
|
-
// Theme
|
|
121
|
-
'theme-foreground-inherit',
|
|
122
|
-
'dark:theme-foreground-inherit',
|
|
123
|
-
|
|
124
|
-
// Theme (activated)
|
|
125
|
-
'activated:theme-foreground-default',
|
|
126
|
-
'dark:activated:theme-foreground-default-dark',
|
|
127
|
-
],
|
|
119
|
+
'inherit-link': [],
|
|
128
120
|
};
|
|
@@ -218,3 +218,56 @@ Search.args = {
|
|
|
218
218
|
placeholder: 'Placeholder',
|
|
219
219
|
hint: Faker.lorem.sentence(20),
|
|
220
220
|
};
|
|
221
|
+
|
|
222
|
+
export const CustomClassesAndStyles: StoryFn<typeof OrInput> = (args) => ({
|
|
223
|
+
components: {
|
|
224
|
+
OrIcon,
|
|
225
|
+
OrInput,
|
|
226
|
+
},
|
|
227
|
+
|
|
228
|
+
setup() {
|
|
229
|
+
// State
|
|
230
|
+
const model = ref<string | number>();
|
|
231
|
+
|
|
232
|
+
// Effects
|
|
233
|
+
watch(model, (value) => {
|
|
234
|
+
console.debug(value);
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
return {
|
|
238
|
+
args,
|
|
239
|
+
model,
|
|
240
|
+
onUpdateModelValue: action('update:modelValue'),
|
|
241
|
+
onInput: action('input'),
|
|
242
|
+
onKeydown: action('keydown'),
|
|
243
|
+
onKeyup: action('keyup'),
|
|
244
|
+
onFocus: action('focus'),
|
|
245
|
+
onBlur: action('blur'),
|
|
246
|
+
};
|
|
247
|
+
},
|
|
248
|
+
|
|
249
|
+
template: `
|
|
250
|
+
<OrInput
|
|
251
|
+
v-model="model"
|
|
252
|
+
v-bind="args"
|
|
253
|
+
@update:modelValue="onUpdateModelValue"
|
|
254
|
+
@input="onInput"
|
|
255
|
+
@keydown="onKeydown"
|
|
256
|
+
@keyup="onKeyup"
|
|
257
|
+
@focus="onFocus"
|
|
258
|
+
@blur="onBlur"
|
|
259
|
+
class="test"
|
|
260
|
+
:class="'test1'"
|
|
261
|
+
style="margin-bottom: 10px"
|
|
262
|
+
:style="'margin-top: 10px'"
|
|
263
|
+
/>
|
|
264
|
+
`,
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
CustomClassesAndStyles.args = {
|
|
268
|
+
// Slots
|
|
269
|
+
// Props
|
|
270
|
+
type: InputType.Text,
|
|
271
|
+
label: 'Input with margins and styles',
|
|
272
|
+
placeholder: 'conatcts test classes',
|
|
273
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
ref="root"
|
|
4
|
+
:style="inlineStyles"
|
|
4
5
|
:class="rootStyles"
|
|
5
6
|
>
|
|
6
7
|
<template v-if="label">
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
:id="controlId"
|
|
30
31
|
ref="input"
|
|
31
32
|
v-model="proxyModelValue"
|
|
32
|
-
v-bind="
|
|
33
|
+
v-bind="attrs"
|
|
33
34
|
:class="controlStyles"
|
|
34
35
|
:type="type === 'password' && disclosed ? 'text' : type"
|
|
35
36
|
:placeholder="placeholder"
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
|
|
104
105
|
<script lang="ts">
|
|
105
106
|
import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
|
|
106
|
-
import {
|
|
107
|
+
import { useSlicedAttrs } from '../../hooks';
|
|
107
108
|
import { OrErrorV3 as OrError } from '../or-error-v3';
|
|
108
109
|
import { OrHintV3 as OrHint } from '../or-hint-v3';
|
|
109
110
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
@@ -206,13 +207,18 @@ export default defineComponent({
|
|
|
206
207
|
const root = ref<HTMLElement>();
|
|
207
208
|
const input = ref<HTMLInputElement>();
|
|
208
209
|
|
|
209
|
-
//
|
|
210
|
-
const
|
|
210
|
+
// Attrs
|
|
211
|
+
const {
|
|
212
|
+
attrs,
|
|
213
|
+
classes,
|
|
214
|
+
styles: inlineStyles,
|
|
215
|
+
} = useSlicedAttrs();
|
|
211
216
|
|
|
217
|
+
// Styles
|
|
212
218
|
const rootStyles = computed(() => [
|
|
213
219
|
'or-input',
|
|
214
220
|
...InputRoot,
|
|
215
|
-
|
|
221
|
+
classes.value,
|
|
216
222
|
]);
|
|
217
223
|
|
|
218
224
|
const controlStyles = computed(() => [
|
|
@@ -249,6 +255,8 @@ export default defineComponent({
|
|
|
249
255
|
return {
|
|
250
256
|
root,
|
|
251
257
|
input,
|
|
258
|
+
attrs,
|
|
259
|
+
inlineStyles,
|
|
252
260
|
rootStyles,
|
|
253
261
|
controlStyles,
|
|
254
262
|
controlId,
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
v-dropdown-open="toggle"
|
|
25
25
|
v-dropdown-close="close"
|
|
26
26
|
:class="[popoverState === 'open' && 'rounded-b-0']"
|
|
27
|
-
:variant="disableDefaultStyles ? 'unstyled' : 'styled'"
|
|
28
27
|
:size="size"
|
|
29
28
|
:invalid="invalid"
|
|
30
29
|
:readonly="readonly"
|
|
@@ -39,12 +38,12 @@
|
|
|
39
38
|
@focus="$emit('focus', $event)"
|
|
40
39
|
@blur="$emit('blur', $event)"
|
|
41
40
|
>
|
|
42
|
-
<template v-if="
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
<template v-if="proxyModelValue && proxyModelValue.length > 0">
|
|
42
|
+
<template v-if="multiple">
|
|
43
|
+
<slot
|
|
44
|
+
name="valueTemplate"
|
|
45
|
+
:model="proxyModelValue"
|
|
46
|
+
>
|
|
48
47
|
<OrTag
|
|
49
48
|
v-for="option in selection"
|
|
50
49
|
:key="option.value"
|
|
@@ -53,16 +52,10 @@
|
|
|
53
52
|
>
|
|
54
53
|
{{ option.label }}
|
|
55
54
|
</OrTag>
|
|
56
|
-
</
|
|
57
|
-
|
|
58
|
-
<template v-else>
|
|
59
|
-
<span :class="placeholderStyles">{{ placeholder }}</span>
|
|
60
|
-
</template>
|
|
61
|
-
</slot>
|
|
62
|
-
</template>
|
|
55
|
+
</slot>
|
|
56
|
+
</template>
|
|
63
57
|
|
|
64
|
-
|
|
65
|
-
<template v-if="proxyModelValue">
|
|
58
|
+
<template v-else>
|
|
66
59
|
<slot
|
|
67
60
|
name="valueTemplate"
|
|
68
61
|
:model="proxyModelValue"
|
|
@@ -70,10 +63,10 @@
|
|
|
70
63
|
{{ selection.label }}
|
|
71
64
|
</slot>
|
|
72
65
|
</template>
|
|
66
|
+
</template>
|
|
73
67
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
</template>
|
|
68
|
+
<template v-else>
|
|
69
|
+
<span :class="placeholderStyles">{{ placeholder }}</span>
|
|
77
70
|
</template>
|
|
78
71
|
</div>
|
|
79
72
|
|
|
@@ -272,12 +265,12 @@ export default defineComponent({
|
|
|
272
265
|
},
|
|
273
266
|
|
|
274
267
|
modelValue: {
|
|
275
|
-
type: [String,
|
|
268
|
+
type: [String, Array] as PropType<string | string[]>,
|
|
276
269
|
default: undefined,
|
|
277
270
|
},
|
|
278
271
|
|
|
279
272
|
value: { // TODO: Remove Vue 2 fallback
|
|
280
|
-
type: [String,
|
|
273
|
+
type: [String, Array] as PropType<string | string[]>,
|
|
281
274
|
default: undefined,
|
|
282
275
|
},
|
|
283
276
|
|
|
@@ -321,11 +314,6 @@ export default defineComponent({
|
|
|
321
314
|
default: false,
|
|
322
315
|
},
|
|
323
316
|
|
|
324
|
-
disableDefaultStyles: {
|
|
325
|
-
type: Boolean,
|
|
326
|
-
default: false,
|
|
327
|
-
},
|
|
328
|
-
|
|
329
317
|
enableSearch: {
|
|
330
318
|
type: Boolean,
|
|
331
319
|
default: false,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
ref="root"
|
|
4
|
+
:style="inlineStyles"
|
|
4
5
|
:class="rootStyles"
|
|
5
6
|
>
|
|
6
7
|
<template v-if="!loading">
|
|
7
8
|
<input
|
|
8
|
-
v-bind="
|
|
9
|
+
v-bind="attrs"
|
|
9
10
|
:id="controlId"
|
|
10
11
|
v-model="proxyModelValue"
|
|
11
12
|
:class="controlStyles"
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
|
|
51
52
|
<script lang="ts">
|
|
52
53
|
import { computed, defineComponent, getCurrentInstance, PropType, ref } from 'vue-demi';
|
|
53
|
-
import {
|
|
54
|
+
import { useSlicedAttrs } from '../../hooks';
|
|
54
55
|
import { LabelVariant, OrLabelV3 as OrLabel } from '../or-label-v3';
|
|
55
56
|
import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
|
|
56
57
|
import { SwitchControl, SwitchControlHandle, SwitchLoader, SwitchLoaderHandle, SwitchRoot } from './styles';
|
|
@@ -125,13 +126,19 @@ export default defineComponent({
|
|
|
125
126
|
// Refs
|
|
126
127
|
const root = ref<HTMLElement>();
|
|
127
128
|
|
|
129
|
+
// Attrs
|
|
130
|
+
const {
|
|
131
|
+
attrs,
|
|
132
|
+
classes,
|
|
133
|
+
styles: inlineStyles,
|
|
134
|
+
} = useSlicedAttrs();
|
|
135
|
+
|
|
128
136
|
// Styles
|
|
129
|
-
const classAttribute = useClassAttribute();
|
|
130
137
|
|
|
131
138
|
const rootStyles = computed(() => [
|
|
132
139
|
'or-switch',
|
|
133
140
|
...SwitchRoot,
|
|
134
|
-
|
|
141
|
+
classes.value,
|
|
135
142
|
]);
|
|
136
143
|
|
|
137
144
|
const controlStyles = computed(() => [
|
|
@@ -163,6 +170,8 @@ export default defineComponent({
|
|
|
163
170
|
rootStyles,
|
|
164
171
|
controlStyles,
|
|
165
172
|
loaderStyles,
|
|
173
|
+
inlineStyles,
|
|
174
|
+
attrs,
|
|
166
175
|
controlId,
|
|
167
176
|
proxyModelValue,
|
|
168
177
|
};
|
package/src/hooks/index.ts
CHANGED
|
@@ -2,4 +2,5 @@ export { useClassAttribute } from './useClassAttribute';
|
|
|
2
2
|
export { useElevation } from './useElevation';
|
|
3
3
|
export { useOverflow } from './useOverflow';
|
|
4
4
|
export { useResponsive } from './useResponsive';
|
|
5
|
+
export { useSlicedAttrs } from './useSlicedAttrs';
|
|
5
6
|
export { default as useToggle } from './useToggle';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { computed, isVue2, getCurrentInstance } from 'vue-demi';
|
|
2
|
+
import ommit from 'lodash/omit';
|
|
3
|
+
import { useClassAttribute } from './useClassAttribute';
|
|
4
|
+
export function useSlicedAttrs() {
|
|
5
|
+
const classAttribute = useClassAttribute();
|
|
6
|
+
const currentInstance = getCurrentInstance();
|
|
7
|
+
|
|
8
|
+
const classes = computed(() => {
|
|
9
|
+
if (isVue2) {
|
|
10
|
+
return classAttribute.value;
|
|
11
|
+
}
|
|
12
|
+
return currentInstance?.attrs.class;
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
const styles = computed(() => {
|
|
16
|
+
if (isVue2) {
|
|
17
|
+
return currentInstance?.vnode?.data?.staticStyle;
|
|
18
|
+
}
|
|
19
|
+
return currentInstance?.attrs.style;
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const attrs = computed(() => {
|
|
23
|
+
return ommit(currentInstance?.attrs, 'style', 'class');
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
return {
|
|
27
|
+
classes,
|
|
28
|
+
styles,
|
|
29
|
+
attrs,
|
|
30
|
+
};
|
|
31
|
+
}
|