@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
|
@@ -2,17 +2,19 @@ import { ModalSize } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const ModalRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'flex-col',
|
|
5
|
+
'layout-column',
|
|
7
6
|
|
|
8
7
|
// Box
|
|
9
8
|
'w-full',
|
|
10
9
|
'h-full',
|
|
10
|
+
|
|
11
|
+
// Shape
|
|
11
12
|
'md:rounded-md',
|
|
12
13
|
|
|
13
|
-
//
|
|
14
|
+
// Spacing
|
|
14
15
|
'px-lg',
|
|
15
16
|
'py-lg',
|
|
17
|
+
|
|
16
18
|
'gap-md md:gap-lg',
|
|
17
19
|
|
|
18
20
|
// Typography
|
|
@@ -25,6 +27,7 @@ export const ModalRoot: string[] = [
|
|
|
25
27
|
'theme-foreground-default',
|
|
26
28
|
'dark:theme-foreground-default-dark',
|
|
27
29
|
|
|
30
|
+
// Elevation
|
|
28
31
|
'shadow-modal',
|
|
29
32
|
'dark:shadow-modal-dark',
|
|
30
33
|
];
|
|
@@ -51,14 +54,16 @@ export const ModalRootSizes: Record<ModalSize, string[]> = {
|
|
|
51
54
|
|
|
52
55
|
export const ModalHeader: string[] = [
|
|
53
56
|
// Layouot
|
|
54
|
-
'
|
|
55
|
-
'items-center',
|
|
57
|
+
'layout-row',
|
|
56
58
|
|
|
57
59
|
// Typography
|
|
58
60
|
'typography-headline-2',
|
|
59
61
|
];
|
|
60
62
|
|
|
61
63
|
export const ModalCloseButton: string[] = [
|
|
64
|
+
// Layout
|
|
65
|
+
'contents',
|
|
66
|
+
|
|
62
67
|
// Theme
|
|
63
68
|
'text-outline',
|
|
64
69
|
'dark:text-outline-dark',
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
/>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
|
-
<div :class="['grow']">
|
|
14
|
+
<div :class="['grow', 'my-[-2px] md:my-[-3px]']">
|
|
15
15
|
<slot />
|
|
16
16
|
</div>
|
|
17
17
|
|
|
@@ -30,7 +30,7 @@ import { useClassAttribute } from '../../hooks';
|
|
|
30
30
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
31
31
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
32
32
|
import { NotificationVariant } from './props';
|
|
33
|
-
import { NotificationAction, NotificationIconVariants, NotificationRoot, NotificationRootVariants } from './styles';
|
|
33
|
+
import { NotificationAction, NotificationIcon, NotificationIconVariants, NotificationRoot, NotificationRootVariants } from './styles';
|
|
34
34
|
|
|
35
35
|
export default defineComponent({
|
|
36
36
|
name: 'OrNotification',
|
|
@@ -68,6 +68,7 @@ export default defineComponent({
|
|
|
68
68
|
]);
|
|
69
69
|
|
|
70
70
|
const iconStyles = computed(() => [
|
|
71
|
+
...NotificationIcon,
|
|
71
72
|
...NotificationIconVariants[props.variant],
|
|
72
73
|
]);
|
|
73
74
|
|
|
@@ -2,15 +2,15 @@ import { NotificationVariant } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const NotificationRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'items-start',
|
|
5
|
+
'layout-row !items-start',
|
|
7
6
|
|
|
8
|
-
//
|
|
7
|
+
// Shape
|
|
9
8
|
'rounded-md',
|
|
10
9
|
|
|
11
|
-
//
|
|
10
|
+
// Spacing
|
|
12
11
|
'px-md',
|
|
13
12
|
'py-md',
|
|
13
|
+
|
|
14
14
|
'gap-md',
|
|
15
15
|
|
|
16
16
|
// Typography
|
|
@@ -23,6 +23,7 @@ export const NotificationRoot: string[] = [
|
|
|
23
23
|
'theme-foreground-default',
|
|
24
24
|
'dark:theme-foreground-default-dark',
|
|
25
25
|
|
|
26
|
+
// Elevation
|
|
26
27
|
'shadow-contextual',
|
|
27
28
|
'dark:shadow-contextual-dark',
|
|
28
29
|
];
|
|
@@ -69,6 +70,8 @@ export const NotificationRootVariants: Record<NotificationVariant, string[]> = {
|
|
|
69
70
|
],
|
|
70
71
|
};
|
|
71
72
|
|
|
73
|
+
export const NotificationIcon: string[] = [];
|
|
74
|
+
|
|
72
75
|
export const NotificationIconVariants: Record<NotificationVariant, string[]> = {
|
|
73
76
|
'success': [
|
|
74
77
|
// Theme
|
|
@@ -96,6 +99,9 @@ export const NotificationIconVariants: Record<NotificationVariant, string[]> = {
|
|
|
96
99
|
};
|
|
97
100
|
|
|
98
101
|
export const NotificationAction: string[] = [
|
|
102
|
+
// Layout
|
|
103
|
+
'contents',
|
|
104
|
+
|
|
99
105
|
// Theme
|
|
100
106
|
'theme-foreground-outline',
|
|
101
107
|
'dark:theme-foreground-outline-dark',
|
|
@@ -6,10 +6,10 @@ export const PopoverRoot: string[] = [
|
|
|
6
6
|
];
|
|
7
7
|
|
|
8
8
|
export const PopoverBody: string[] = [
|
|
9
|
-
//
|
|
9
|
+
// Shape
|
|
10
10
|
'rounded-md',
|
|
11
11
|
|
|
12
|
-
//
|
|
12
|
+
// Spacing
|
|
13
13
|
'mx-sm',
|
|
14
14
|
'my-sm',
|
|
15
15
|
|
|
@@ -17,6 +17,7 @@ export const PopoverBody: string[] = [
|
|
|
17
17
|
'bg-background',
|
|
18
18
|
'dark:bg-background-dark',
|
|
19
19
|
|
|
20
|
+
// Elevation
|
|
20
21
|
'shadow-contextual',
|
|
21
22
|
'dark:shadow-contextual-dark',
|
|
22
23
|
];
|
|
@@ -25,48 +26,48 @@ export const PopoverBodyPlacements: Record<PopoverPlacement, string[]> = {
|
|
|
25
26
|
'top': [],
|
|
26
27
|
|
|
27
28
|
'top-start': [
|
|
28
|
-
//
|
|
29
|
+
// Spacing
|
|
29
30
|
'ml-none',
|
|
30
31
|
],
|
|
31
32
|
|
|
32
33
|
'top-end': [
|
|
33
|
-
//
|
|
34
|
+
// Spacing
|
|
34
35
|
'mr-none',
|
|
35
36
|
],
|
|
36
37
|
|
|
37
38
|
'bottom': [],
|
|
38
39
|
|
|
39
40
|
'bottom-start': [
|
|
40
|
-
//
|
|
41
|
+
// Spacing
|
|
41
42
|
'ml-none',
|
|
42
43
|
],
|
|
43
44
|
|
|
44
45
|
'bottom-end': [
|
|
45
|
-
//
|
|
46
|
+
// Spacing
|
|
46
47
|
'mr-none',
|
|
47
48
|
],
|
|
48
49
|
|
|
49
50
|
'left': [],
|
|
50
51
|
|
|
51
52
|
'left-start': [
|
|
52
|
-
//
|
|
53
|
+
// Spacing
|
|
53
54
|
'mt-none',
|
|
54
55
|
],
|
|
55
56
|
|
|
56
57
|
'left-end': [
|
|
57
|
-
//
|
|
58
|
+
// Spacing
|
|
58
59
|
'mb-none',
|
|
59
60
|
],
|
|
60
61
|
|
|
61
62
|
'right': [],
|
|
62
63
|
|
|
63
64
|
'right-start': [
|
|
64
|
-
//
|
|
65
|
+
// Spacing
|
|
65
66
|
'mt-none',
|
|
66
67
|
],
|
|
67
68
|
|
|
68
69
|
'right-end': [
|
|
69
|
-
//
|
|
70
|
+
// Spacing
|
|
70
71
|
'mb-none',
|
|
71
72
|
],
|
|
72
73
|
};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
export const RadioRoot: 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 RadioControl: 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-full',
|
|
20
19
|
|
|
21
20
|
// Interactivity
|
|
@@ -44,6 +43,8 @@ export const RadioControlHandle: string[] = [
|
|
|
44
43
|
// Box
|
|
45
44
|
'after:w-sm after:md:w-xs',
|
|
46
45
|
'after:h-sm after:md:h-xs',
|
|
46
|
+
|
|
47
|
+
// Shape
|
|
47
48
|
'after:rounded-full',
|
|
48
49
|
|
|
49
50
|
// Theme
|
|
@@ -74,10 +74,12 @@
|
|
|
74
74
|
+{{ outerItems.length }}
|
|
75
75
|
</template>
|
|
76
76
|
|
|
77
|
-
<
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
<div :class="['layout-row', 'm-[-4px] md:m-[-2px]']">
|
|
78
|
+
<OrIcon
|
|
79
|
+
:icon="popoverState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'"
|
|
80
|
+
:variant="'outlined'"
|
|
81
|
+
/>
|
|
82
|
+
</div>
|
|
81
83
|
|
|
82
84
|
<OrPopover
|
|
83
85
|
ref="popover"
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
export const SelectRoot: string[] = [
|
|
2
2
|
// Layout
|
|
3
|
-
'
|
|
4
|
-
'flex-col',
|
|
3
|
+
'layout-column',
|
|
5
4
|
|
|
6
|
-
//
|
|
5
|
+
// Spacing
|
|
7
6
|
'gap-xs',
|
|
8
7
|
];
|
|
9
8
|
|
|
10
9
|
export const SelectControl: string[] = [
|
|
11
10
|
// Layout
|
|
12
|
-
'
|
|
13
|
-
'items-center',
|
|
11
|
+
'layout-row grow',
|
|
14
12
|
|
|
13
|
+
// Overflow
|
|
15
14
|
'overflow-hidden',
|
|
16
15
|
|
|
17
|
-
//
|
|
16
|
+
// Spacing
|
|
18
17
|
'gap-xs',
|
|
19
18
|
|
|
20
19
|
// Typography
|
|
@@ -28,11 +27,13 @@ export const SelectPlaceholder: string[] = [
|
|
|
28
27
|
];
|
|
29
28
|
|
|
30
29
|
export const SelectDropdown: string[] = [
|
|
31
|
-
//
|
|
30
|
+
// Overflow
|
|
32
31
|
'overflow-y-auto',
|
|
33
32
|
|
|
34
33
|
// Box
|
|
35
34
|
'max-h-[340px]',
|
|
35
|
+
|
|
36
|
+
// Shape
|
|
36
37
|
'rounded-b-md',
|
|
37
38
|
|
|
38
39
|
// Theme
|
|
@@ -47,11 +48,9 @@ export const SelectDropdown: string[] = [
|
|
|
47
48
|
|
|
48
49
|
export const SelectNoSearchResults: string[] = [
|
|
49
50
|
// Layout
|
|
50
|
-
'
|
|
51
|
-
'items-center',
|
|
52
|
-
'justify-center',
|
|
51
|
+
'layout-row justify-center',
|
|
53
52
|
|
|
54
|
-
//
|
|
53
|
+
// Spacing
|
|
55
54
|
'px-md',
|
|
56
55
|
'py-md',
|
|
57
56
|
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
export const SwitchRoot: 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 SwitchControl: string[] = [
|
|
11
10
|
// Layout
|
|
12
|
-
'
|
|
13
|
-
'items-center',
|
|
14
|
-
'justify-start checked:justify-end',
|
|
11
|
+
'layout-row justify-start checked:justify-end',
|
|
15
12
|
|
|
16
13
|
// Box
|
|
17
14
|
'w-[43px] md:w-[37px]',
|
|
18
15
|
'h-[24px] md:h-[21px]',
|
|
16
|
+
|
|
17
|
+
// Shape
|
|
19
18
|
'rounded-full',
|
|
20
19
|
|
|
21
|
-
//
|
|
20
|
+
// Spacing
|
|
22
21
|
'px-[2px]',
|
|
23
22
|
'active:px-[1px]',
|
|
24
23
|
|
|
25
|
-
//
|
|
24
|
+
// Spacing (checked)
|
|
26
25
|
'checked:px-[3px]',
|
|
27
26
|
'active:checked:px-[2px]',
|
|
28
27
|
|
|
@@ -52,6 +51,8 @@ export const SwitchControlHandle: string[] = [
|
|
|
52
51
|
// Box
|
|
53
52
|
'after:w-[18px] after:md:w-[16px]',
|
|
54
53
|
'after:h-[18px] after:md:h-[16px]',
|
|
54
|
+
|
|
55
|
+
// Shape
|
|
55
56
|
'after:rounded-full',
|
|
56
57
|
|
|
57
58
|
// Theme
|
|
@@ -93,13 +94,13 @@ export const SwitchControlHandle: string[] = [
|
|
|
93
94
|
|
|
94
95
|
export const SwitchLoader: string[] = [
|
|
95
96
|
// Layout
|
|
96
|
-
'
|
|
97
|
-
'items-center',
|
|
98
|
-
'justify-center',
|
|
97
|
+
'layout-row justify-center',
|
|
99
98
|
|
|
100
99
|
// Box
|
|
101
100
|
'w-[24px] md:w-[20px]',
|
|
102
101
|
'h-[24px] md:h-[20px]',
|
|
102
|
+
|
|
103
|
+
// Shape
|
|
103
104
|
'rounded-full',
|
|
104
105
|
|
|
105
106
|
// Theme
|
|
@@ -114,6 +115,8 @@ export const SwitchLoaderHandle: string[] = [
|
|
|
114
115
|
// Box
|
|
115
116
|
'after:w-[18px] after:md:w-[14px]',
|
|
116
117
|
'after:h-[18px] after:md:h-[14px]',
|
|
118
|
+
|
|
119
|
+
// Shape
|
|
117
120
|
'after:rounded-full',
|
|
118
121
|
|
|
119
122
|
// Theme
|
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
<slot />
|
|
13
13
|
|
|
14
14
|
<template v-if="variant === 'reset'">
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
<div :class="['layout-row', 'm-[-4px] md:m-[-2px]']">
|
|
16
|
+
<OrIconButton
|
|
17
|
+
:icon="'close'"
|
|
18
|
+
:color="!custom ? color : 'inherit'"
|
|
19
|
+
:disabled="disabled"
|
|
20
|
+
@click.stop="$emit('reset')"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
22
23
|
</template>
|
|
23
24
|
</div>
|
|
24
25
|
</template>
|
|
@@ -2,21 +2,22 @@ import { TagColor, TagVariant } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const TagRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'items-center',
|
|
7
|
-
'justify-center',
|
|
5
|
+
'layout-inline-row',
|
|
8
6
|
|
|
9
7
|
// Box
|
|
10
|
-
'max-w-
|
|
8
|
+
'max-w-fit',
|
|
9
|
+
|
|
10
|
+
// Shape
|
|
11
11
|
'rounded-full',
|
|
12
12
|
|
|
13
|
-
//
|
|
13
|
+
// Spacing
|
|
14
14
|
'px-sm+ md:px-sm',
|
|
15
15
|
'py-sm md:py-xs',
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
'gap-sm+ md:gap-sm',
|
|
17
18
|
|
|
18
19
|
// Typography
|
|
19
|
-
'typography-caption-regular',
|
|
20
|
+
'typography-caption-regular whitespace-nowrap',
|
|
20
21
|
|
|
21
22
|
// Theme
|
|
22
23
|
'disabled:!bg-disabled',
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
:size="'s'"
|
|
16
16
|
/>
|
|
17
17
|
</div>
|
|
18
|
+
|
|
18
19
|
<img
|
|
19
20
|
v-else-if="emojiSrc"
|
|
20
21
|
:class="toastIconStyle"
|
|
@@ -28,41 +29,42 @@
|
|
|
28
29
|
:class="messageStyle"
|
|
29
30
|
v-html="messageText"
|
|
30
31
|
/>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<!-- link -->
|
|
34
|
-
<a
|
|
35
|
-
v-if="link"
|
|
36
|
-
class="or-toast__link"
|
|
37
|
-
:href="link.href"
|
|
38
|
-
:target="hrefTarget"
|
|
39
|
-
@click="onLinkClick"
|
|
40
|
-
>
|
|
41
|
-
{{ link.title }}
|
|
42
|
-
</a>
|
|
43
32
|
</slot>
|
|
44
33
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
34
|
+
<div :class="['layout-row', 'self-start', 'gap-md']">
|
|
35
|
+
<template v-if="link">
|
|
36
|
+
<a
|
|
37
|
+
class="or-toast__link"
|
|
38
|
+
:href="link.href"
|
|
39
|
+
:target="hrefTarget"
|
|
40
|
+
@click="onLinkClick"
|
|
41
|
+
>
|
|
42
|
+
{{ link.title }}
|
|
43
|
+
</a>
|
|
44
|
+
</template>
|
|
45
|
+
|
|
46
|
+
<template v-if="dismissible">
|
|
47
|
+
<div :class="actionButtonStyle">
|
|
48
|
+
<OrIconButton
|
|
49
|
+
icon="close"
|
|
50
|
+
class="dark:theme-foreground-inherit"
|
|
51
|
+
@click.stop="onClose()"
|
|
52
|
+
/>
|
|
53
|
+
</div>
|
|
54
|
+
</template>
|
|
53
55
|
</div>
|
|
54
56
|
</div>
|
|
55
57
|
</template>
|
|
56
58
|
|
|
57
59
|
<script lang="ts">
|
|
58
60
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
61
|
+
import errorPng from '../../assets/error.png';
|
|
62
|
+
import successPng from '../../assets/success.png';
|
|
59
63
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
60
64
|
import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
|
|
61
65
|
import { ToastType } from './props';
|
|
62
|
-
import { messageStyleVariant, ToastRoot } from './styles';
|
|
66
|
+
import { messageStyleVariant, ToastActionButton, ToastRoot } from './styles';
|
|
63
67
|
import { ToastLink } from './types';
|
|
64
|
-
import successPng from '../../assets/success.png';
|
|
65
|
-
import errorPng from '../../assets/error.png';
|
|
66
68
|
|
|
67
69
|
export default defineComponent({
|
|
68
70
|
name: 'OrToast',
|
|
@@ -133,8 +135,7 @@ export default defineComponent({
|
|
|
133
135
|
]);
|
|
134
136
|
|
|
135
137
|
const actionButtonStyle = computed(() => [
|
|
136
|
-
|
|
137
|
-
'dark:text-outline',
|
|
138
|
+
...ToastActionButton,
|
|
138
139
|
]);
|
|
139
140
|
|
|
140
141
|
// State
|