@onereach/ui-components 2.67.11 → 2.67.12-beta.2052.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/{OrBottomSheet-7b5760dc.js → OrBottomSheet-1cd1ab4c.js} +14 -8
- package/dist/bundled/v2/{OrButton-6d67c16c.js → OrButton-4cccce45.js} +6 -6
- package/dist/bundled/v2/{OrCard-04a23728.js → OrCard-58a1ba3e.js} +6 -4
- package/dist/bundled/v2/{OrCardCollection-87b47b1d.js → OrCardCollection-dac9fd1e.js} +8 -8
- package/dist/bundled/v2/{OrCheckbox-5b499fc5.js → OrCheckbox-dbef9f9a.js} +7 -5
- package/dist/bundled/v2/{OrConfirm-6a6daa14.js → OrConfirm-f9b49c17.js} +12 -8
- package/dist/bundled/v2/{OrError-66257a98.js → OrError-aad17598.js} +5 -5
- package/dist/bundled/v2/{OrErrorTag-c55ec019.js → OrErrorTag-d0c5bcf4.js} +12 -9
- package/dist/bundled/v2/{OrExpansionPanel-41bbabd3.js → OrExpansionPanel-995caa85.js} +9 -7
- package/dist/bundled/v2/{OrFab-ea844ff9.js → OrFab-7cc75893.js} +7 -7
- package/dist/bundled/v2/{OrHint-45904683.js → OrHint-f38a1940.js} +5 -5
- package/dist/bundled/v2/{OrIcon-ce8fd08b.js → OrIcon-8625385f.js} +6 -8
- package/dist/bundled/v2/{OrIconButton-165934f8.js → OrIconButton-a215104c.js} +35 -10
- package/dist/bundled/v2/{OrInlineInput-a552394c.js → OrInlineInput-eb42fea9.js} +13 -13
- package/dist/bundled/v2/{OrInlineInputBox-f2b25ee4.js → OrInlineInputBox-f457210f.js} +6 -4
- package/dist/bundled/v2/{OrInlineTextarea-a1321d5b.js → OrInlineTextarea-63e632cc.js} +13 -13
- package/dist/bundled/v2/{OrInput-cdd93d29.js → OrInput-4b82eb59.js} +12 -12
- package/dist/bundled/v2/{OrInputBox-7069052f.js → OrInputBox-79ec54ad.js} +6 -4
- package/dist/bundled/v2/{OrLabel-0424be48.js → OrLabel-172c4b89.js} +5 -5
- package/dist/bundled/v2/{OrMenu-5ac06751.js → OrMenu-fa47c888.js} +1 -1
- package/dist/bundled/v2/{OrMenuItem-f89dfc77.js → OrMenuItem-26420908.js} +3 -3
- package/dist/bundled/v2/{OrModal-2540ea99.js → OrModal-f89de11f.js} +14 -10
- package/dist/bundled/v2/{OrNotification-20fc8b7d.js → OrNotification-d76a062d.js} +13 -8
- package/dist/bundled/v2/{OrPopover-2f48b854.js → OrPopover-5dc240f1.js} +14 -12
- package/dist/bundled/v2/{OrRadio-8ec1d487.js → OrRadio-cd39b20b.js} +10 -6
- package/dist/bundled/v2/{OrSearch-9f797381.js → OrSearch-e34afaee.js} +2 -2
- package/dist/bundled/v2/{OrSegmentedControl-65c87f9b.js → OrSegmentedControl-21cc914e.js} +1 -1
- package/dist/bundled/v2/{OrSelect-6cef1b69.js → OrSelect-68aacb62.js} +27 -21
- package/dist/bundled/v2/{OrSortHeader-76b509a6.js → OrSortHeader-396e6a7c.js} +2 -2
- package/dist/bundled/v2/{OrSwitch-75d3a260.js → OrSwitch-237a2081.js} +19 -11
- package/dist/bundled/v2/{OrTab-8bac95cf.js → OrTab-dd949240.js} +2 -2
- package/dist/bundled/v2/{OrTabs-2d4e0d87.js → OrTabs-42f7c52c.js} +5 -5
- package/dist/bundled/v2/{OrTag-c5f7c337.js → OrTag-6440aa89.js} +12 -9
- package/dist/bundled/v2/{OrTextarea-0ab9c0a8.js → OrTextarea-5593fbe9.js} +6 -6
- package/dist/bundled/v2/{OrTooltip-03e06e9f.js → OrTooltip-fbfa05fd.js} +15 -13
- package/dist/bundled/v2/components/index.js +36 -36
- package/dist/bundled/v2/components/or-bottom-sheet-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +13 -13
- package/dist/bundled/v2/components/or-card-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +12 -12
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-error-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-fab-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-hint-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +20 -9
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-icon-button-v3/props.d.ts +1 -0
- package/dist/bundled/v2/components/or-icon-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-input-box-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +9 -9
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +9 -9
- package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-v3/index.js +10 -10
- package/dist/bundled/v2/components/or-label-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-menu-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-modal-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-notification-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/or-popover-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-radio-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +11 -11
- package/dist/bundled/v2/components/or-segmented-control-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-select-v3/index.js +15 -15
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-tab-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-tabs-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-tag-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-textarea-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-toast-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +3 -3
- package/dist/bundled/v2/index.js +37 -37
- package/dist/bundled/v2/{types-a648d591.js → types-fdd34542.js} +67 -36
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-44d8147a.js → OrBottomSheet.vue_vue_type_script_lang-6fb49de9.js} +14 -8
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-7d914104.js → OrButton.vue_vue_type_script_lang-7dbbb917.js} +6 -6
- package/dist/bundled/v3/{OrCard.vue_vue_type_script_lang-9d6e1050.js → OrCard.vue_vue_type_script_lang-165de137.js} +6 -4
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2b1dcff6.js → OrCardCollection.vue_vue_type_script_lang-7a07be47.js} +10 -10
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-10d8b047.js → OrCheckbox.vue_vue_type_script_lang-8b36e06c.js} +8 -6
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-ee029628.js → OrConfirm.vue_vue_type_script_lang-3dd24c54.js} +14 -10
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-f606d0ee.js → OrError.vue_vue_type_script_lang-cc6c135f.js} +5 -5
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-d77f6b12.js → OrErrorTag.vue_vue_type_script_lang-4828c387.js} +9 -7
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-a305d8bc.js → OrExpansionPanel.vue_vue_type_script_lang-7f9c6721.js} +9 -7
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-aefbdf9b.js → OrFab.vue_vue_type_script_lang-2adeaed6.js} +8 -8
- package/dist/bundled/v3/{OrHint-c235be5d.js → OrHint-9592499e.js} +2 -2
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-6286277d.js → OrHint.vue_vue_type_script_lang-8e657168.js} +5 -5
- package/dist/bundled/v3/{OrIcon-3a514933.js → OrIcon-d878b768.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-41a6a57a.js → OrIcon.vue_vue_type_script_lang-a119a715.js} +6 -8
- package/dist/bundled/v3/{OrIconButton-8c211219.js → OrIconButton-4bd33e3c.js} +4 -3
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-79d08a2b.js → OrIconButton.vue_vue_type_script_lang-641f6e06.js} +34 -10
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-4257a72b.js → OrInlineInput.vue_vue_type_script_lang-c4fdc666.js} +12 -12
- package/dist/bundled/v3/{OrInlineInputBox-2eede01a.js → OrInlineInputBox-9d68ded1.js} +1 -1
- package/dist/bundled/v3/{OrInlineInputBox.vue_vue_type_script_lang-23b531ad.js → OrInlineInputBox.vue_vue_type_script_lang-73750005.js} +6 -4
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-e3ce83e1.js → OrInlineTextarea.vue_vue_type_script_lang-0c53397d.js} +12 -12
- package/dist/bundled/v3/{OrInput-33571984.js → OrInput-e97211bb.js} +2 -2
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-3895999d.js → OrInput.vue_vue_type_script_lang-f6d793d3.js} +13 -13
- package/dist/bundled/v3/{OrInputBox-81385a91.js → OrInputBox-eb54d73d.js} +1 -1
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-760097b4.js → OrInputBox.vue_vue_type_script_lang-5ee4ee45.js} +6 -4
- package/dist/bundled/v3/{OrLabel-2809e2db.js → OrLabel-c6873e79.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-e42de5d1.js → OrLabel.vue_vue_type_script_lang-96f94c4e.js} +5 -5
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-bae45062.js → OrMenu.vue_vue_type_script_lang-2446a69a.js} +2 -2
- package/dist/bundled/v3/{OrMenuItem-94ffa853.js → OrMenuItem-4feaba6c.js} +1 -1
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-ccb7e082.js → OrMenuItem.vue_vue_type_script_lang-0ffaef05.js} +4 -4
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-142d9a56.js → OrModal.vue_vue_type_script_lang-00a477f0.js} +14 -8
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-54e6a3aa.js → OrNotification.vue_vue_type_script_lang-fbb35355.js} +14 -9
- package/dist/bundled/v3/{OrPopover-93ef8c26.js → OrPopover-c462ce77.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-e200f5be.js → OrPopover.vue_vue_type_script_lang-54c7b11c.js} +14 -12
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-e64b14a1.js → OrRadio.vue_vue_type_script_lang-2e666a56.js} +11 -7
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-b022defa.js → OrSearch.vue_vue_type_script_lang-1d2a20e0.js} +3 -3
- package/dist/bundled/v3/{OrSegmentedControl.vue_vue_type_script_lang-6068f70c.js → OrSegmentedControl.vue_vue_type_script_lang-579406f5.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-e6be732c.js → OrSelect.vue_vue_type_script_lang-58b92fb0.js} +39 -33
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-98ec33aa.js → OrSortHeader.vue_vue_type_script_lang-75115125.js} +3 -3
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-c72499ac.js → OrSwitch.vue_vue_type_script_lang-04829f64.js} +20 -12
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-671949b7.js → OrTab.vue_vue_type_script_lang-134ad9d1.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ca57f9d9.js → OrTabs.vue_vue_type_script_lang-919b2021.js} +7 -7
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-18db0bd9.js → OrTag.vue_vue_type_script_lang-92d9fb12.js} +9 -7
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-d5a64917.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +9 -9
- package/dist/bundled/v3/{OrToastContainer-03571359.js → OrToastContainer-afb51e5d.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-d0cd29d1.js → OrTooltip.vue_vue_type_script_lang-67cc86ed.js} +16 -14
- package/dist/bundled/v3/components/index.js +45 -45
- package/dist/bundled/v3/components/or-bottom-sheet-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +20 -20
- package/dist/bundled/v3/components/or-card-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-confirm-v3/index.js +19 -19
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-error-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-fab-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-hint-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +20 -9
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +8 -8
- package/dist/bundled/v3/components/or-icon-button-v3/props.d.ts +1 -0
- package/dist/bundled/v3/components/or-icon-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-input-box-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +14 -14
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +14 -14
- package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-v3/index.js +16 -16
- package/dist/bundled/v3/components/or-label-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-menu-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-modal-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-notification-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/or-popover-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-radio-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +18 -18
- package/dist/bundled/v3/components/or-segmented-control-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-select-v3/index.js +23 -23
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-switch-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tab-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-tabs-v3/index.js +10 -10
- package/dist/bundled/v3/components/or-tag-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-textarea-v3/index.js +8 -8
- package/dist/bundled/v3/components/or-toast-v3/index.js +10 -10
- package/dist/bundled/v3/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +122 -119
- package/dist/bundled/v3/{types-e8242d1d.js → types-6c5eee23.js} +62 -30
- package/dist/esm/v2/{OrBottomSheet-5acd034f.js → OrBottomSheet-16c2e610.js} +14 -8
- package/dist/esm/v2/{OrButton-04390a52.js → OrButton-603946ec.js} +6 -6
- package/dist/esm/v2/{OrCard-1d904e72.js → OrCard-de799db0.js} +6 -4
- package/dist/esm/v2/{OrCardCollection-d2d64ffe.js → OrCardCollection-e46b220e.js} +8 -8
- package/dist/esm/v2/{OrCheckbox-c2a00426.js → OrCheckbox-567e387c.js} +7 -5
- package/dist/esm/v2/{OrConfirm-6bff1a45.js → OrConfirm-a4190c14.js} +12 -8
- package/dist/esm/v2/{OrError-be656098.js → OrError-d267ee9a.js} +5 -5
- package/dist/esm/v2/{OrErrorTag-c14e0298.js → OrErrorTag-782dd714.js} +12 -9
- package/dist/esm/v2/{OrExpansionPanel-33d5cf05.js → OrExpansionPanel-968ddc61.js} +9 -7
- package/dist/esm/v2/{OrFab-8d665c26.js → OrFab-26106618.js} +7 -7
- package/dist/esm/v2/{OrHint-44356417.js → OrHint-42dc9ebb.js} +5 -5
- package/dist/esm/v2/{OrIcon-05689298.js → OrIcon-5e394c62.js} +6 -8
- package/dist/esm/v2/{OrIconButton-c4fa5a1d.js → OrIconButton-e17e4944.js} +36 -11
- package/dist/esm/v2/{OrInlineInput-a888df50.js → OrInlineInput-45b74446.js} +13 -13
- package/dist/esm/v2/{OrInlineInputBox-6a15ea2b.js → OrInlineInputBox-fefd4fbd.js} +6 -4
- package/dist/esm/v2/{OrInlineTextarea-1925651c.js → OrInlineTextarea-d6b58c5c.js} +13 -13
- package/dist/esm/v2/{OrInput-6e7e582e.js → OrInput-b8a1627f.js} +12 -12
- package/dist/esm/v2/{OrInputBox-208dceac.js → OrInputBox-4d5a318d.js} +6 -4
- package/dist/esm/v2/{OrLabel-5670468e.js → OrLabel-2a9f1477.js} +5 -5
- package/dist/esm/v2/{OrMenu-e7210edc.js → OrMenu-df27d0ef.js} +1 -1
- package/dist/esm/v2/{OrMenuItem-038641b7.js → OrMenuItem-c7f28480.js} +3 -3
- package/dist/esm/v2/{OrModal-3b081ef1.js → OrModal-5b37a50a.js} +14 -10
- package/dist/esm/v2/{OrNotification-1d316255.js → OrNotification-c765f111.js} +13 -8
- package/dist/esm/v2/{OrPopover-ef8c91f1.js → OrPopover-9bafbdb4.js} +14 -12
- package/dist/esm/v2/{OrRadio-19d01c00.js → OrRadio-848ce55d.js} +10 -6
- package/dist/esm/v2/{OrSearch-abaffb95.js → OrSearch-0c0d1773.js} +2 -2
- package/dist/esm/v2/{OrSegmentedControl-0b4637ba.js → OrSegmentedControl-e8dce8f9.js} +1 -1
- package/dist/esm/v2/{OrSelect-439f27b9.js → OrSelect-0e6e7868.js} +27 -21
- package/dist/esm/v2/{OrSortHeader-b4dbff08.js → OrSortHeader-19bf94ca.js} +2 -2
- package/dist/esm/v2/{OrSwitch-846de5ce.js → OrSwitch-13b6a7ee.js} +19 -11
- package/dist/esm/v2/{OrTab-4e6ff742.js → OrTab-702e7335.js} +2 -2
- package/dist/esm/v2/{OrTabs-c64be432.js → OrTabs-71bd3fd2.js} +6 -6
- package/dist/esm/v2/{OrTag-cf72400e.js → OrTag-cf9c6195.js} +12 -9
- package/dist/esm/v2/{OrTextarea-f566682c.js → OrTextarea-6712a150.js} +6 -6
- package/dist/esm/v2/{OrTooltip-27ad798d.js → OrTooltip-513bee30.js} +15 -13
- package/dist/esm/v2/components/index.js +36 -36
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +1 -1
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +13 -13
- package/dist/esm/v2/components/or-card-v3/index.js +1 -1
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +12 -12
- package/dist/esm/v2/components/or-error-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-error-v3/index.js +1 -1
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/v2/components/or-fab-v3/index.js +2 -2
- package/dist/esm/v2/components/or-hint-v3/index.js +1 -1
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +20 -9
- package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -6
- package/dist/esm/v2/components/or-icon-button-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-icon-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-box-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +9 -9
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +9 -9
- package/dist/esm/v2/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-v3/index.js +10 -10
- package/dist/esm/v2/components/or-label-v3/index.js +1 -1
- package/dist/esm/v2/components/or-menu-item-v3/index.js +2 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +3 -3
- package/dist/esm/v2/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v2/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v2/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-popover-v3/index.js +2 -2
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +11 -11
- package/dist/esm/v2/components/or-segmented-control-v3/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/index.js +15 -15
- package/dist/esm/v2/components/or-sort-header-v3/index.js +2 -2
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tab-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +7 -7
- package/dist/esm/v2/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v2/components/or-textarea-v3/index.js +5 -5
- package/dist/esm/v2/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v2/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-tooltip-v3/index.js +3 -3
- package/dist/esm/v2/index.js +36 -36
- package/dist/esm/v2/{types-d6a767b3.js → types-8d58d7b5.js} +67 -36
- package/dist/esm/v3/{OrBottomSheet-0eb33b18.js → OrBottomSheet-62817aec.js} +14 -8
- package/dist/esm/v3/{OrButton-3670279e.js → OrButton-1a900f39.js} +6 -6
- package/dist/esm/v3/{OrCard-b63658a8.js → OrCard-fd92f7c8.js} +6 -4
- package/dist/esm/v3/{OrCardCollection-34aa611e.js → OrCardCollection-5924d035.js} +8 -8
- package/dist/esm/v3/{OrCheckbox-a20fcc04.js → OrCheckbox-3e139eac.js} +7 -5
- package/dist/esm/v3/{OrConfirm-748ed50b.js → OrConfirm-39878aef.js} +12 -8
- package/dist/esm/v3/{OrError-19a62a18.js → OrError-ec8c709d.js} +5 -5
- package/dist/esm/v3/{OrErrorTag-bbfd3ca6.js → OrErrorTag-98252eef.js} +14 -10
- package/dist/esm/v3/{OrExpansionPanel-65afdfad.js → OrExpansionPanel-311e64cf.js} +9 -7
- package/dist/esm/v3/{OrFab-3a3a9a38.js → OrFab-c8ae6e01.js} +7 -7
- package/dist/esm/v3/{OrHint-73835593.js → OrHint-74bb732d.js} +5 -5
- package/dist/esm/v3/{OrIcon-e2fa4cf8.js → OrIcon-b195169c.js} +6 -8
- package/dist/esm/v3/{OrIconButton-1d78453b.js → OrIconButton-1eebcafc.js} +37 -12
- package/dist/esm/v3/{OrInlineInput-0beabb4a.js → OrInlineInput-4a9789c4.js} +10 -10
- package/dist/esm/v3/{OrInlineInputBox-1b473796.js → OrInlineInputBox-8049f95a.js} +6 -4
- package/dist/esm/v3/{OrInlineTextarea-d33a09a2.js → OrInlineTextarea-e28e4d0a.js} +10 -10
- package/dist/esm/v3/{OrInput-5672f47b.js → OrInput-e2ac1182.js} +9 -9
- package/dist/esm/v3/{OrInputBox-634230b1.js → OrInputBox-5247ab25.js} +6 -4
- package/dist/esm/v3/{OrLabel-7d4fe80b.js → OrLabel-bdaec602.js} +5 -5
- package/dist/esm/v3/{OrMenu-d9e12030.js → OrMenu-840038cd.js} +1 -1
- package/dist/esm/v3/{OrMenuItem-d001f0f6.js → OrMenuItem-9da279f6.js} +3 -3
- package/dist/esm/v3/{OrModal-e44b80fd.js → OrModal-381554a6.js} +14 -10
- package/dist/esm/v3/{OrNotification-7d05b546.js → OrNotification-34d9c99b.js} +13 -8
- package/dist/esm/v3/{OrPopover-94a8f21d.js → OrPopover-1075dd38.js} +14 -12
- package/dist/esm/v3/{OrRadio-0c1883f2.js → OrRadio-54b6d0de.js} +10 -6
- package/dist/esm/v3/{OrSearch-b56a418c.js → OrSearch-01225d82.js} +2 -2
- package/dist/esm/v3/{OrSegmentedControl-cdf00d49.js → OrSegmentedControl-171cad78.js} +1 -1
- package/dist/esm/v3/{OrSelect-ff8f8461.js → OrSelect-2e00d4c8.js} +28 -21
- package/dist/esm/v3/{OrSortHeader-9d645226.js → OrSortHeader-fe1a9cf8.js} +2 -2
- package/dist/esm/v3/{OrSwitch-94399738.js → OrSwitch-cca30aa0.js} +19 -11
- package/dist/esm/v3/{OrTab-97044946.js → OrTab-c131cf60.js} +2 -2
- package/dist/esm/v3/{OrTabs-6a8fa516.js → OrTabs-d0ee6cef.js} +6 -6
- package/dist/esm/v3/{OrTag-ad3f7805.js → OrTag-c0bbaa58.js} +15 -11
- package/dist/esm/v3/{OrTextarea-98895b2a.js → OrTextarea-bb9ef3f2.js} +6 -6
- package/dist/esm/v3/{OrTooltip-6412166a.js → OrTooltip-50d27b4f.js} +15 -13
- package/dist/esm/v3/components/index.js +36 -36
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +1 -1
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +13 -13
- package/dist/esm/v3/components/or-card-v3/index.js +1 -1
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +12 -12
- package/dist/esm/v3/components/or-error-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-error-v3/index.js +1 -1
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +2 -2
- package/dist/esm/v3/components/or-fab-v3/index.js +2 -2
- package/dist/esm/v3/components/or-hint-v3/index.js +1 -1
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +20 -9
- package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -6
- package/dist/esm/v3/components/or-icon-button-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-icon-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +9 -9
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +9 -9
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +10 -10
- package/dist/esm/v3/components/or-label-v3/index.js +1 -1
- package/dist/esm/v3/components/or-menu-item-v3/index.js +2 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +3 -3
- package/dist/esm/v3/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v3/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v3/components/or-notification-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-popover-v3/index.js +2 -2
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +11 -11
- package/dist/esm/v3/components/or-segmented-control-v3/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/index.js +15 -15
- package/dist/esm/v3/components/or-sort-header-v3/index.js +2 -2
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tab-v3/index.js +1 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +7 -7
- package/dist/esm/v3/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v3/components/or-textarea-v3/index.js +5 -5
- package/dist/esm/v3/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v3/components/or-toast-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-tooltip-v3/index.js +3 -3
- package/dist/esm/v3/index.js +36 -36
- package/dist/esm/v3/{types-8ef262da.js → types-8a338300.js} +61 -29
- package/package.json +3 -4
- package/src/components/or-bottom-sheet-v3/styles.ts +11 -8
- package/src/components/or-button-v3/styles.ts +9 -8
- package/src/components/or-card-collection-v3/styles.ts +4 -8
- package/src/components/or-card-v3/styles.ts +5 -4
- package/src/components/or-checkbox-v3/styles.ts +5 -6
- package/src/components/or-confirm-v3/styles.ts +8 -6
- package/src/components/or-error-tag-v3/OrErrorTag.vue +6 -5
- package/src/components/or-error-tag-v3/styles.ts +8 -7
- package/src/components/or-error-v3/styles.ts +5 -7
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +1 -1
- package/src/components/or-expansion-panel-v3/styles.ts +9 -7
- package/src/components/or-fab-v3/styles.ts +8 -10
- package/src/components/or-hint-v3/styles.ts +5 -7
- package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +6 -1
- package/src/components/or-icon-button-v3/OrIconButton.vue +8 -2
- package/src/components/or-icon-button-v3/props.ts +2 -0
- package/src/components/or-icon-button-v3/styles.ts +41 -5
- package/src/components/or-icon-v3/styles.ts +8 -13
- package/src/components/or-inline-input-box-v3/styles.ts +5 -4
- package/src/components/or-inline-input-v3/OrInlineInput.vue +1 -1
- package/src/components/or-inline-input-v3/styles.ts +5 -7
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +1 -1
- package/src/components/or-inline-textarea-v3/styles.ts +5 -7
- package/src/components/or-input-box-v3/styles.ts +5 -4
- package/src/components/or-input-v3/OrInput.vue +1 -1
- package/src/components/or-input-v3/styles.ts +2 -3
- package/src/components/or-label-v3/styles.ts +5 -7
- package/src/components/or-menu-item-v3/styles.ts +3 -3
- package/src/components/or-modal-v3/OrModal.vue +2 -1
- package/src/components/or-modal-v3/styles.ts +10 -5
- package/src/components/or-notification-v3/OrNotification.vue +3 -2
- package/src/components/or-notification-v3/styles.ts +10 -4
- package/src/components/or-popover-v3/styles.ts +11 -10
- package/src/components/or-radio-v3/styles.ts +7 -6
- package/src/components/or-segmented-control-v3/components/or-segmented-control-item/styles.ts +1 -3
- package/src/components/or-select-v3/OrSelect.vue +6 -4
- package/src/components/or-select-v3/styles.ts +10 -11
- package/src/components/or-sort-header-v3/styles.ts +1 -3
- package/src/components/or-switch-v3/styles.ts +14 -11
- package/src/components/or-tab-v3/styles.ts +2 -4
- package/src/components/or-tabs-v3/styles.ts +1 -1
- package/src/components/or-tag-v3/OrTag.vue +8 -7
- package/src/components/or-tag-v3/styles.ts +8 -7
- package/src/components/or-textarea-v3/styles.ts +2 -3
- package/src/components/or-toast-v3/OrToast.vue +26 -25
- package/src/components/or-toast-v3/styles.ts +40 -13
- package/src/components/or-tooltip-v3/styles.ts +14 -12
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export const CardRoot: string[] = [
|
|
2
2
|
// Layout
|
|
3
|
-
'
|
|
4
|
-
'flex-col',
|
|
3
|
+
'layout-column',
|
|
5
4
|
|
|
6
|
-
//
|
|
5
|
+
// Shape
|
|
7
6
|
'rounded-md',
|
|
8
7
|
|
|
9
|
-
//
|
|
8
|
+
// Spacing
|
|
10
9
|
'px-md',
|
|
11
10
|
'py-md',
|
|
11
|
+
|
|
12
12
|
'gap-[10px]',
|
|
13
13
|
|
|
14
14
|
// Typography
|
|
@@ -21,6 +21,7 @@ export const CardRoot: string[] = [
|
|
|
21
21
|
'theme-foreground-default',
|
|
22
22
|
'dark:theme-foreground-default-dark',
|
|
23
23
|
|
|
24
|
+
// Elevation
|
|
24
25
|
'shadow-card',
|
|
25
26
|
'dark:shadow-card-dark',
|
|
26
27
|
];
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
export const CheckboxRoot: string[] = [
|
|
2
2
|
// Layout
|
|
3
|
-
'
|
|
4
|
-
'items-center',
|
|
3
|
+
'layout-row',
|
|
5
4
|
|
|
6
|
-
//
|
|
5
|
+
// Spacing
|
|
7
6
|
'gap-sm+ md:gap-sm',
|
|
8
7
|
];
|
|
9
8
|
|
|
10
9
|
export const CheckboxControl: string[] = [
|
|
11
10
|
// Layout
|
|
12
|
-
'
|
|
13
|
-
'items-center',
|
|
14
|
-
'justify-center',
|
|
11
|
+
'layout-row justify-center',
|
|
15
12
|
|
|
16
13
|
// Box
|
|
17
14
|
'w-md+ md:w-md',
|
|
18
15
|
'h-md+ md:h-md',
|
|
16
|
+
|
|
17
|
+
// Shape
|
|
19
18
|
'rounded-sm',
|
|
20
19
|
|
|
21
20
|
// Interactivity
|
|
@@ -2,17 +2,18 @@ import { ConfirmType } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const ConfirmRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'flex-col',
|
|
5
|
+
'layout-column',
|
|
7
6
|
|
|
8
7
|
// Box
|
|
9
8
|
'w-[320px]',
|
|
10
|
-
|
|
9
|
+
|
|
10
|
+
// Shape
|
|
11
11
|
'rounded-md',
|
|
12
12
|
|
|
13
|
-
//
|
|
13
|
+
// Spacing
|
|
14
14
|
'px-lg',
|
|
15
15
|
'py-lg',
|
|
16
|
+
|
|
16
17
|
'gap-md',
|
|
17
18
|
|
|
18
19
|
// Typography
|
|
@@ -25,6 +26,7 @@ export const ConfirmRoot: string[] = [
|
|
|
25
26
|
'theme-foreground-default',
|
|
26
27
|
'dark:theme-foreground-default-dark',
|
|
27
28
|
|
|
29
|
+
// Elevation
|
|
28
30
|
'shadow-modal',
|
|
29
31
|
'dark:shadow-modal-dark',
|
|
30
32
|
];
|
|
@@ -43,7 +45,7 @@ export const ConfirmInput: string[] = [
|
|
|
43
45
|
// Box
|
|
44
46
|
'w-full',
|
|
45
47
|
|
|
46
|
-
//
|
|
48
|
+
// Spacing
|
|
47
49
|
'mt-md',
|
|
48
50
|
];
|
|
49
51
|
|
|
@@ -53,7 +55,7 @@ export const ConfirmFooter: string[] = [
|
|
|
53
55
|
'items-center',
|
|
54
56
|
'justify-between',
|
|
55
57
|
|
|
56
|
-
//
|
|
58
|
+
// Spacing
|
|
57
59
|
'gap-md',
|
|
58
60
|
];
|
|
59
61
|
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
v-bind="$attrs"
|
|
5
5
|
:class="rootStyles"
|
|
6
6
|
>
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
<div :class="['layout-row', 'm-[-4px] md:m-[-2px]']">
|
|
8
|
+
<OrIcon
|
|
9
|
+
:icon="'error'"
|
|
10
|
+
:variant="'filled-bold'"
|
|
11
|
+
/>
|
|
12
|
+
</div>
|
|
12
13
|
|
|
13
14
|
<slot />
|
|
14
15
|
</div>
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
export const ErrorTagRoot: string[] = [
|
|
2
2
|
// Layout
|
|
3
|
-
'
|
|
4
|
-
'items-center',
|
|
5
|
-
'justify-center',
|
|
3
|
+
'layout-inline-row',
|
|
6
4
|
|
|
7
5
|
// Box
|
|
8
|
-
'max-w-
|
|
6
|
+
'max-w-fit',
|
|
7
|
+
|
|
8
|
+
// Shape
|
|
9
9
|
'rounded-full',
|
|
10
10
|
|
|
11
|
-
//
|
|
11
|
+
// Spacing
|
|
12
12
|
'px-sm+ md:px-sm',
|
|
13
13
|
'py-sm md:py-xs',
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
'gap-sm+ md:gap-sm',
|
|
15
16
|
|
|
16
17
|
// Interactivity
|
|
17
18
|
'interactivity-none',
|
|
18
19
|
|
|
19
20
|
// Typography
|
|
20
|
-
'typography-caption-regular',
|
|
21
|
+
'typography-caption-regular whitespace-nowrap',
|
|
21
22
|
|
|
22
23
|
// Theme
|
|
23
24
|
'theme-preset-1-error',
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export const ErrorRoot: string[] = [
|
|
2
2
|
// Layout
|
|
3
|
-
'
|
|
4
|
-
'items-start',
|
|
5
|
-
'justify-between',
|
|
3
|
+
'layout-row !items-start justify-between',
|
|
6
4
|
|
|
7
|
-
//
|
|
5
|
+
// Spacing
|
|
8
6
|
'gap-sm',
|
|
9
7
|
|
|
10
8
|
// Typography
|
|
@@ -25,8 +23,8 @@ export const ErrorText: string[] = [
|
|
|
25
23
|
|
|
26
24
|
export const ErrorAddon: string[] = [
|
|
27
25
|
// Layout
|
|
28
|
-
'
|
|
26
|
+
'layout-row empty:hidden',
|
|
29
27
|
|
|
30
|
-
//
|
|
31
|
-
'
|
|
28
|
+
// Typography
|
|
29
|
+
'whitespace-nowrap',
|
|
32
30
|
];
|
|
@@ -2,20 +2,20 @@ import { ExpansionPanelColor, ExpansionPanelVariant } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const ExpansionPanelRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'flex-col',
|
|
5
|
+
'layout-column',
|
|
7
6
|
];
|
|
8
7
|
|
|
9
8
|
export const ExpansionPanelRootVariants: Record<ExpansionPanelVariant, string[]> = {
|
|
10
9
|
'default': [],
|
|
11
10
|
|
|
12
11
|
'card': [
|
|
13
|
-
//
|
|
12
|
+
// Shape
|
|
14
13
|
'rounded-md',
|
|
15
14
|
|
|
16
|
-
//
|
|
15
|
+
// Spacing
|
|
17
16
|
'px-md',
|
|
18
17
|
'py-md',
|
|
18
|
+
|
|
19
19
|
'gap-md',
|
|
20
20
|
|
|
21
21
|
// Theme
|
|
@@ -26,10 +26,9 @@ export const ExpansionPanelRootVariants: Record<ExpansionPanelVariant, string[]>
|
|
|
26
26
|
|
|
27
27
|
export const ExpansionPanelHeader: string[] = [
|
|
28
28
|
// Layout
|
|
29
|
-
'
|
|
30
|
-
'items-center',
|
|
29
|
+
'layout-row',
|
|
31
30
|
|
|
32
|
-
//
|
|
31
|
+
// Spacing
|
|
33
32
|
'gap-sm',
|
|
34
33
|
|
|
35
34
|
// Interactivity
|
|
@@ -73,6 +72,9 @@ export const ExpansionPanelHeaderColors: Record<ExpansionPanelColor, string[]> =
|
|
|
73
72
|
};
|
|
74
73
|
|
|
75
74
|
export const ExpansionPanelAddon: string[] = [
|
|
75
|
+
// Layout
|
|
76
|
+
'contents',
|
|
77
|
+
|
|
76
78
|
// Typography
|
|
77
79
|
'typography-body-2-regular',
|
|
78
80
|
|
|
@@ -2,20 +2,18 @@ import { FabColor } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const FabRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'justify-center',
|
|
7
|
-
'items-center',
|
|
5
|
+
'layout-inline-row justify-center',
|
|
8
6
|
|
|
9
|
-
//
|
|
7
|
+
// Shape
|
|
10
8
|
'rounded-full',
|
|
11
9
|
|
|
12
|
-
//
|
|
13
|
-
'
|
|
14
|
-
'
|
|
10
|
+
// Box
|
|
11
|
+
'w-[56px]',
|
|
12
|
+
'h-[56px]',
|
|
15
13
|
|
|
16
|
-
//
|
|
17
|
-
'shadow-button',
|
|
18
|
-
'dark:shadow-button-dark',
|
|
14
|
+
// Elevation
|
|
15
|
+
'enabled:shadow-button',
|
|
16
|
+
'dark:enabled:shadow-button-dark',
|
|
19
17
|
];
|
|
20
18
|
|
|
21
19
|
export const FabRootColors: Record<FabColor, string[]> = {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export const HintRoot: string[] = [
|
|
2
2
|
// Layout
|
|
3
|
-
'
|
|
4
|
-
'items-start',
|
|
5
|
-
'justify-between',
|
|
3
|
+
'layout-row !items-start justify-between',
|
|
6
4
|
|
|
7
|
-
//
|
|
5
|
+
// Spacing
|
|
8
6
|
'gap-sm',
|
|
9
7
|
|
|
10
8
|
// Typography
|
|
@@ -25,8 +23,8 @@ export const HintText: string[] = [
|
|
|
25
23
|
|
|
26
24
|
export const HintAddon: string[] = [
|
|
27
25
|
// Layout
|
|
28
|
-
'
|
|
26
|
+
'layout-row empty:hidden',
|
|
29
27
|
|
|
30
|
-
//
|
|
31
|
-
'
|
|
28
|
+
// Typography
|
|
29
|
+
'whitespace-nowrap',
|
|
32
30
|
];
|
|
@@ -2,7 +2,7 @@ import { action } from '@storybook/addon-actions';
|
|
|
2
2
|
import { Meta, StoryFn } from '@storybook/vue3';
|
|
3
3
|
import OrIconButtonDocs from './OrIconButton.docs.mdx';
|
|
4
4
|
import OrIconButton from './OrIconButton.vue';
|
|
5
|
-
import { IconButtonColor } from './props';
|
|
5
|
+
import { IconButtonColor, IconButtonSize } from './props';
|
|
6
6
|
|
|
7
7
|
export default {
|
|
8
8
|
title: 'Components/Buttons/Icon Button',
|
|
@@ -19,6 +19,11 @@ export default {
|
|
|
19
19
|
options: Object.values(IconButtonColor),
|
|
20
20
|
},
|
|
21
21
|
|
|
22
|
+
size: {
|
|
23
|
+
control: { type: 'select' },
|
|
24
|
+
options: Object.values(IconButtonSize),
|
|
25
|
+
},
|
|
26
|
+
|
|
22
27
|
disabled: {
|
|
23
28
|
control: { type: 'boolean' },
|
|
24
29
|
},
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
>
|
|
13
13
|
<OrIcon
|
|
14
14
|
:variant="'inherit'"
|
|
15
|
+
:size="size"
|
|
15
16
|
v-bind="typeof icon === 'string' ? { icon } : icon"
|
|
16
17
|
/>
|
|
17
18
|
</button>
|
|
@@ -23,7 +24,7 @@ import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
|
23
24
|
import { useClassAttribute } from '../../hooks';
|
|
24
25
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
25
26
|
import { OrTooltipV3 as OrTooltip } from '../or-tooltip-v3';
|
|
26
|
-
import { IconButtonColor } from './props';
|
|
27
|
+
import { IconButtonColor, IconButtonSize } from './props';
|
|
27
28
|
import { IconButtonRoot, IconButtonRootColors } from './styles';
|
|
28
29
|
|
|
29
30
|
export default defineComponent({
|
|
@@ -38,7 +39,7 @@ export default defineComponent({
|
|
|
38
39
|
|
|
39
40
|
props: {
|
|
40
41
|
icon: {
|
|
41
|
-
type: [String, Object] as PropType<string | InstanceType<typeof OrIcon>['$props']
|
|
42
|
+
type: [String, Object] as PropType<string | Omit<InstanceType<typeof OrIcon>['$props'], 'size'>>,
|
|
42
43
|
required: true,
|
|
43
44
|
},
|
|
44
45
|
|
|
@@ -47,6 +48,11 @@ export default defineComponent({
|
|
|
47
48
|
default: IconButtonColor.Inherit,
|
|
48
49
|
},
|
|
49
50
|
|
|
51
|
+
size: {
|
|
52
|
+
type: String as PropType<IconButtonSize>,
|
|
53
|
+
default: IconButtonSize.M,
|
|
54
|
+
},
|
|
55
|
+
|
|
50
56
|
disabled: {
|
|
51
57
|
type: Boolean,
|
|
52
58
|
default: false,
|
|
@@ -2,12 +2,9 @@ import { IconButtonColor } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const IconButtonRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'items-center',
|
|
7
|
-
'justify-center',
|
|
5
|
+
'layout-inline-row justify-center',
|
|
8
6
|
|
|
9
|
-
//
|
|
10
|
-
'max-w-max',
|
|
7
|
+
// Shape
|
|
11
8
|
'rounded-full',
|
|
12
9
|
|
|
13
10
|
// Interactivity
|
|
@@ -24,6 +21,9 @@ export const IconButtonRoot: string[] = [
|
|
|
24
21
|
|
|
25
22
|
// Iconography (focus)
|
|
26
23
|
'focus:iconography-filled',
|
|
24
|
+
|
|
25
|
+
// Theme
|
|
26
|
+
'!outline outline-2 outline-transparent',
|
|
27
27
|
];
|
|
28
28
|
|
|
29
29
|
export const IconButtonRootColors: Record<IconButtonColor, string[]> = {
|
|
@@ -31,12 +31,36 @@ export const IconButtonRootColors: Record<IconButtonColor, string[]> = {
|
|
|
31
31
|
// Theme
|
|
32
32
|
'theme-preset-3-primary',
|
|
33
33
|
'dark:theme-preset-3-primary-dark',
|
|
34
|
+
|
|
35
|
+
// Theme (hover)
|
|
36
|
+
'hover:outline-primary-opacity-0-08',
|
|
37
|
+
'dark:hover:outline-primary-opacity-0-08-dark',
|
|
38
|
+
|
|
39
|
+
// Theme (focus)
|
|
40
|
+
'focus:outline-primary-opacity-0-08',
|
|
41
|
+
'dark:focus:outline-primary-opacity-0-08-dark',
|
|
42
|
+
|
|
43
|
+
// Theme (active)
|
|
44
|
+
'active:outline-primary-opacity-0-16',
|
|
45
|
+
'dark:active:outline-primary-opacity-0-16-dark',
|
|
34
46
|
],
|
|
35
47
|
|
|
36
48
|
'danger': [
|
|
37
49
|
// Theme
|
|
38
50
|
'theme-preset-3-error',
|
|
39
51
|
'dark:theme-preset-3-error-dark',
|
|
52
|
+
|
|
53
|
+
// Theme (hover)
|
|
54
|
+
'hover:outline-error-opacity-0-08',
|
|
55
|
+
'dark:hover:outline-error-opacity-0-08-dark',
|
|
56
|
+
|
|
57
|
+
// Theme (focus)
|
|
58
|
+
'focus:outline-error-opacity-0-08',
|
|
59
|
+
'dark:focus:outline-error-opacity-0-08-dark',
|
|
60
|
+
|
|
61
|
+
// Theme (active)
|
|
62
|
+
'active:outline-error-opacity-0-16',
|
|
63
|
+
'dark:active:outline-error-opacity-0-16-dark',
|
|
40
64
|
],
|
|
41
65
|
|
|
42
66
|
'inherit': [
|
|
@@ -46,5 +70,17 @@ export const IconButtonRootColors: Record<IconButtonColor, string[]> = {
|
|
|
46
70
|
|
|
47
71
|
'theme-foreground-inherit',
|
|
48
72
|
'dark:theme-foreground-inherit',
|
|
73
|
+
|
|
74
|
+
// Theme (hover)
|
|
75
|
+
'hover:outline-primary-opacity-0-08',
|
|
76
|
+
'dark:hover:outline-primary-opacity-0-08-dark',
|
|
77
|
+
|
|
78
|
+
// Theme (focus)
|
|
79
|
+
'focus:outline-primary-opacity-0-08',
|
|
80
|
+
'dark:focus:outline-primary-opacity-0-08-dark',
|
|
81
|
+
|
|
82
|
+
// Theme (active)
|
|
83
|
+
'active:outline-primary-opacity-0-16',
|
|
84
|
+
'dark:active:outline-primary-opacity-0-16-dark',
|
|
49
85
|
],
|
|
50
86
|
};
|
|
@@ -2,12 +2,7 @@ import { IconSize, IconVariant } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const IconRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'inline-
|
|
6
|
-
'items-center',
|
|
7
|
-
'justify-center',
|
|
8
|
-
|
|
9
|
-
// Typography
|
|
10
|
-
'align-bottom',
|
|
5
|
+
'layout-inline-row justify-center',
|
|
11
6
|
];
|
|
12
7
|
|
|
13
8
|
export const IconRootVariants: Record<IconVariant, string[]> = {
|
|
@@ -40,17 +35,17 @@ export const IconRootVariants: Record<IconVariant, string[]> = {
|
|
|
40
35
|
export const IconRootSizes: Record<IconSize, string[]> = {
|
|
41
36
|
'xl': [
|
|
42
37
|
// Box
|
|
43
|
-
'w-[
|
|
44
|
-
'h-[
|
|
38
|
+
'w-[28px] md:w-[24px]',
|
|
39
|
+
'h-[28px] md:h-[24px]',
|
|
45
40
|
|
|
46
41
|
// Typography
|
|
47
|
-
'text-[
|
|
42
|
+
'text-[28px] md:text-[24px]',
|
|
48
43
|
],
|
|
49
44
|
|
|
50
45
|
'l': [
|
|
51
46
|
// Box
|
|
52
|
-
'w-[
|
|
53
|
-
'h-[
|
|
47
|
+
'w-[24px] md:w-[20px]',
|
|
48
|
+
'h-[24px] md:h-[20px]',
|
|
54
49
|
|
|
55
50
|
// Typography
|
|
56
51
|
'text-[24px] md:text-[20px]',
|
|
@@ -58,8 +53,8 @@ export const IconRootSizes: Record<IconSize, string[]> = {
|
|
|
58
53
|
|
|
59
54
|
'm': [
|
|
60
55
|
// Box
|
|
61
|
-
'w-[
|
|
62
|
-
'h-[
|
|
56
|
+
'w-[20px] md:w-[16px]',
|
|
57
|
+
'h-[20px] md:h-[16px]',
|
|
63
58
|
|
|
64
59
|
// Typography
|
|
65
60
|
'text-[20px] md:text-[16px]',
|
|
@@ -2,11 +2,12 @@ import { InlineInputBoxSize } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const InlineInputBoxRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'items-center',
|
|
5
|
+
'layout-row',
|
|
7
6
|
|
|
8
7
|
// Box
|
|
9
8
|
'w-full',
|
|
9
|
+
|
|
10
|
+
// Shape
|
|
10
11
|
'rounded-sm',
|
|
11
12
|
|
|
12
13
|
// Theme
|
|
@@ -66,7 +67,7 @@ export const InlineInputBoxRoot: string[] = [
|
|
|
66
67
|
|
|
67
68
|
export const InlineInputBoxRootSizes: Record<InlineInputBoxSize, string[]> = {
|
|
68
69
|
'm': [
|
|
69
|
-
//
|
|
70
|
+
// Spacing
|
|
70
71
|
'activated:children:px-sm',
|
|
71
72
|
'children:py-xs',
|
|
72
73
|
|
|
@@ -77,7 +78,7 @@ export const InlineInputBoxRootSizes: Record<InlineInputBoxSize, string[]> = {
|
|
|
77
78
|
],
|
|
78
79
|
|
|
79
80
|
's': [
|
|
80
|
-
//
|
|
81
|
+
// Spacing
|
|
81
82
|
'activated:children:px-sm',
|
|
82
83
|
'children:py-none',
|
|
83
84
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export const InlineInputRoot: string[] = [
|
|
2
2
|
// Layout
|
|
3
|
-
'
|
|
4
|
-
'flex-col',
|
|
3
|
+
'layout-column',
|
|
5
4
|
|
|
6
|
-
//
|
|
5
|
+
// Spacing
|
|
7
6
|
'gap-xs',
|
|
8
7
|
];
|
|
9
8
|
|
|
@@ -21,11 +20,10 @@ export const InlineInputControl: string[] = [
|
|
|
21
20
|
|
|
22
21
|
export const InlineInputAction: string[] = [
|
|
23
22
|
// Layout
|
|
24
|
-
'
|
|
25
|
-
'items-center',
|
|
23
|
+
'layout-row',
|
|
26
24
|
|
|
27
|
-
//
|
|
28
|
-
'gap-sm',
|
|
25
|
+
// Spacing
|
|
26
|
+
'gap-sm+',
|
|
29
27
|
|
|
30
28
|
// Theme
|
|
31
29
|
'theme-foreground-outline',
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export const InlineTextareaRoot: string[] = [
|
|
2
2
|
// Layout
|
|
3
|
-
'
|
|
4
|
-
'flex-col',
|
|
3
|
+
'layout-column',
|
|
5
4
|
|
|
6
|
-
//
|
|
5
|
+
// Spacing
|
|
7
6
|
'gap-xs',
|
|
8
7
|
];
|
|
9
8
|
|
|
@@ -21,11 +20,10 @@ export const InlineTextareaControl: string[] = [
|
|
|
21
20
|
|
|
22
21
|
export const InlineTextareaAction: string[] = [
|
|
23
22
|
// Layout
|
|
24
|
-
'
|
|
25
|
-
'items-center',
|
|
23
|
+
'layout-row',
|
|
26
24
|
|
|
27
|
-
//
|
|
28
|
-
'gap-sm',
|
|
25
|
+
// Spacing
|
|
26
|
+
'gap-sm+',
|
|
29
27
|
|
|
30
28
|
// Theme
|
|
31
29
|
'theme-foreground-outline',
|
|
@@ -2,11 +2,12 @@ import { InputBoxSize, InputBoxVariant } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const InputBoxRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'items-center',
|
|
5
|
+
'layout-row',
|
|
7
6
|
|
|
8
7
|
// Box
|
|
9
8
|
'w-full',
|
|
9
|
+
|
|
10
|
+
// Shape
|
|
10
11
|
'rounded-md',
|
|
11
12
|
|
|
12
13
|
// Theme (children)
|
|
@@ -91,7 +92,7 @@ export const InputBoxRootSizes: Record<InputBoxSize, string[]> = {
|
|
|
91
92
|
// Box
|
|
92
93
|
'children:min-h-[34px]',
|
|
93
94
|
|
|
94
|
-
//
|
|
95
|
+
// Spacing
|
|
95
96
|
'first-child:pl-md first-child:md:pl-sm+',
|
|
96
97
|
'last-child:pr-md last-child:md:pr-sm+',
|
|
97
98
|
'children:pt-[11px] children:md:pt-[7px]',
|
|
@@ -107,7 +108,7 @@ export const InputBoxRootSizes: Record<InputBoxSize, string[]> = {
|
|
|
107
108
|
// Box
|
|
108
109
|
'children:min-h-[30px]',
|
|
109
110
|
|
|
110
|
-
//
|
|
111
|
+
// Spacing
|
|
111
112
|
'first-child:pl-sm',
|
|
112
113
|
'last-child:pr-sm',
|
|
113
114
|
'children:py-[6px]',
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
@blur="$emit('blur', $event)"
|
|
42
42
|
>
|
|
43
43
|
|
|
44
|
-
<div :class="['-
|
|
44
|
+
<div :class="['layout-row', 'm-[-4px] md:m-[-2px]']">
|
|
45
45
|
<template v-if="type === 'password'">
|
|
46
46
|
<OrIconButton
|
|
47
47
|
:icon="{ icon: disclosed ? 'visibility_off' : 'visibility', variant: 'filled' }"
|
|
@@ -2,11 +2,9 @@ import { LabelVariant } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const LabelRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'items-center',
|
|
7
|
-
'justify-between',
|
|
5
|
+
'layout-row justify-between',
|
|
8
6
|
|
|
9
|
-
//
|
|
7
|
+
// Spacing
|
|
10
8
|
'gap-sm',
|
|
11
9
|
];
|
|
12
10
|
|
|
@@ -40,8 +38,8 @@ export const LabelText: string[] = [
|
|
|
40
38
|
|
|
41
39
|
export const LabelAddon: string[] = [
|
|
42
40
|
// Layout
|
|
43
|
-
'
|
|
41
|
+
'layout-row empty:hidden',
|
|
44
42
|
|
|
45
|
-
//
|
|
46
|
-
'
|
|
43
|
+
// Typography
|
|
44
|
+
'whitespace-nowrap',
|
|
47
45
|
];
|