@onereach/ui-components 2.76.2 → 2.76.3-beta.2406.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-0242b4c0.js → OrButton-304116b7.js} +8 -6
- package/dist/bundled/v2/{OrCardCollection-a9cc4cd6.js → OrCardCollection-b0add6f5.js} +5 -5
- package/dist/bundled/v2/{OrCheckbox-384760cb.js → OrCheckbox-aac23c1e.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-de17ffd2.js → OrConfirm-bce86fe9.js} +6 -8
- package/dist/bundled/v2/{OrEmptyState-9fb413f9.js → OrEmptyState-8a7feb99.js} +2 -2
- package/dist/bundled/v2/{OrError-52f668a4.js → OrError-8aa16f11.js} +1 -3
- package/dist/bundled/v2/{OrErrorTag-4675604d.js → OrErrorTag-244bed5b.js} +1 -3
- package/dist/bundled/v2/{OrHint-fde53334.js → OrHint-39fc2173.js} +1 -3
- package/dist/bundled/v2/{OrIconButton-deec1d4d.js → OrIconButton-4734d7be.js} +2 -2
- package/dist/bundled/v2/{OrInlineInput-20e93482.js → OrInlineInput-da5fe20c.js} +4 -4
- package/dist/bundled/v2/{OrInlineTextarea-e849ae9b.js → OrInlineTextarea-4479afe5.js} +4 -4
- package/dist/bundled/v2/{OrInput-7e5430e1.js → OrInput-9a3307d5.js} +7 -7
- package/dist/bundled/v2/{OrLabel-aff09c39.js → OrLabel-c44e9f7d.js} +1 -1
- package/dist/bundled/v2/{OrLink-0d952e87.js → OrLink-a7b23576.js} +6 -2
- package/dist/bundled/v2/{OrMenu-82c77b2c.js → OrMenu-ef3406b1.js} +10 -15
- package/dist/bundled/v2/{OrModal-5f094323.js → OrModal-4202f137.js} +1 -1
- package/dist/bundled/v2/{OrNotification-e102f0d7.js → OrNotification-3b01294e.js} +1 -1
- package/dist/bundled/v2/{OrPagination-166592a5.js → OrPagination-7de5298c.js} +62 -24
- package/dist/bundled/v2/{OrProgress-01123d1f.js → OrProgress-d1ad4637.js} +3 -3
- package/dist/bundled/v2/{OrRadio-2d05cea7.js → OrRadio-cf867aeb.js} +2 -2
- package/dist/bundled/v2/{OrSearch-b3f34499.js → OrSearch-e6a658f1.js} +1 -1
- package/dist/bundled/v2/{OrSelect-982350b0.js → OrSelect-afcce65f.js} +7 -7
- package/dist/bundled/v2/{OrSidebar-5ddf0e24.js → OrSidebar-49886551.js} +3 -3
- package/dist/bundled/v2/{OrSidebarCollapseButton-d6ebc2aa.js → OrSidebarCollapseButton-bccb6427.js} +1 -1
- package/dist/bundled/v2/{OrSwitch-aa0da6b9.js → OrSwitch-644a0729.js} +2 -2
- package/dist/bundled/v2/{OrTab-8c5acf8a.js → OrTab-39162e26.js} +1 -1
- package/dist/bundled/v2/{OrTabs-ff22ddce.js → OrTabs-78160924.js} +3 -3
- package/dist/bundled/v2/{OrTag-dee4c7e4.js → OrTag-f9430b52.js} +3 -7
- package/dist/bundled/v2/{OrTextarea-53d756e4.js → OrTextarea-99dfb7b9.js} +3 -3
- package/dist/bundled/v2/{OrTooltip-87c2e375.js → OrTooltip-6dceb10b.js} +1 -1
- package/dist/bundled/v2/components/index.js +32 -32
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +10 -10
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-confirm-v3/index.js +8 -8
- package/dist/bundled/v2/components/or-empty-state-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-error-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-fab-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-hint-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-input-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-label-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-link-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-menu-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/or-radio-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-select-v3/index.js +9 -9
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/bundled/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
- 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 +3 -3
- package/dist/bundled/v2/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-textarea-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +33 -33
- package/dist/bundled/v2/{types-e494517f.js → types-1baef7d6.js} +1 -1
- package/dist/bundled/v3/{OrButton-452d3149.js → OrButton-3844dcde.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-7d4f420c.js → OrButton.vue_vue_type_script_lang-3234f823.js} +8 -6
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-fdf213e1.js → OrCardCollection.vue_vue_type_script_lang-796b3190.js} +8 -8
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-08f64a02.js → OrCheckbox.vue_vue_type_script_lang-2f40f250.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-7a81cfa6.js → OrConfirm.vue_vue_type_script_lang-608f6660.js} +8 -10
- package/dist/bundled/v3/{OrEmptyState.vue_vue_type_script_lang-da7d6c42.js → OrEmptyState.vue_vue_type_script_lang-8e58c67c.js} +2 -2
- package/dist/bundled/v3/{OrError.vue_vue_type_script_lang-53648a65.js → OrError.vue_vue_type_script_lang-c97f9dd7.js} +1 -3
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-bfa4c580.js → OrErrorTag.vue_vue_type_script_lang-e052a480.js} +0 -2
- package/dist/bundled/v3/{OrHint-5d5e4d99.js → OrHint-4d1a5982.js} +2 -2
- package/dist/bundled/v3/{OrHint.vue_vue_type_script_lang-e322f61e.js → OrHint.vue_vue_type_script_lang-3d9a3b91.js} +1 -3
- package/dist/bundled/v3/{OrIconButton-8f4c68e9.js → OrIconButton-7e142abb.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-8670c49e.js → OrIconButton.vue_vue_type_script_lang-7c2615be.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-18853dd7.js → OrInlineInput.vue_vue_type_script_lang-468d9eeb.js} +6 -6
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js → OrInlineTextarea.vue_vue_type_script_lang-dedc41a0.js} +6 -6
- package/dist/bundled/v3/{OrInput-c514ceff.js → OrInput-4382c00c.js} +2 -2
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-09a6138d.js → OrInput.vue_vue_type_script_lang-30738aae.js} +7 -7
- package/dist/bundled/v3/{OrLabel-c556887e.js → OrLabel-66e5b331.js} +1 -1
- package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-191d2304.js → OrLabel.vue_vue_type_script_lang-563df945.js} +1 -1
- package/dist/bundled/v3/{OrLink.vue_vue_type_script_lang-05d4897b.js → OrLink.vue_vue_type_script_lang-c08a577b.js} +6 -2
- package/dist/bundled/v3/{OrMenu-c982d515.js → OrMenu-8b83138c.js} +9 -10
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-cefb0eca.js → OrMenu.vue_vue_type_script_lang-165f8e69.js} +5 -8
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-92339e0f.js → OrModal.vue_vue_type_script_lang-b515e48a.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-7dd0d85f.js → OrNotification.vue_vue_type_script_lang-6462f3c0.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-a79c359c.js → OrPagination.vue_vue_type_script_lang-b5b74d1c.js} +37 -20
- package/dist/bundled/v3/{OrProgress.vue_vue_type_script_lang-c387db0b.js → OrProgress.vue_vue_type_script_lang-2977ac52.js} +3 -3
- package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-5d88f0b4.js → OrRadio.vue_vue_type_script_lang-0732e87f.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-42283e88.js → OrSearch.vue_vue_type_script_lang-a6e7caef.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-c43b8138.js → OrSelect.vue_vue_type_script_lang-cb1e14b0.js} +10 -10
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-4639bf0e.js → OrSidebar.vue_vue_type_script_lang-a91d5474.js} +3 -3
- package/dist/bundled/v3/{OrSidebarCollapseButton.vue_vue_type_script_lang-a46ed51a.js → OrSidebarCollapseButton.vue_vue_type_script_lang-fe9a139e.js} +2 -2
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-fd43080e.js → OrSwitch.vue_vue_type_script_lang-8f9398f8.js} +3 -3
- package/dist/bundled/v3/{OrTab.vue_vue_type_script_lang-f791efa0.js → OrTab.vue_vue_type_script_lang-b2dc97c2.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-c8df52e6.js → OrTabs.vue_vue_type_script_lang-b9279206.js} +4 -4
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-b716ad27.js → OrTag.vue_vue_type_script_lang-a03d1c69.js} +3 -7
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-b2899ba6.js → OrTextarea.vue_vue_type_script_lang-043a2a9d.js} +5 -5
- package/dist/bundled/v3/{OrToastContainer-6a85ebf8.js → OrToastContainer-5017cbf9.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-a17ed18c.js → OrTooltip.vue_vue_type_script_lang-a51714f9.js} +1 -1
- package/dist/bundled/v3/components/index.js +38 -38
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +16 -16
- package/dist/bundled/v3/components/or-checkbox-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-confirm-v3/index.js +13 -13
- package/dist/bundled/v3/components/or-empty-state-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-error-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-fab-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-hint-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-input-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-label-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-link-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-menu-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/or-modal-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-notification-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-progress-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/or-radio-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +11 -11
- package/dist/bundled/v3/components/or-select-v3/index.js +13 -13
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-sidebar-v3/partials/index.js +4 -4
- package/dist/bundled/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +4 -4
- 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 +4 -4
- package/dist/bundled/v3/components/or-tag-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-textarea-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-toast-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +89 -67
- package/dist/bundled/v3/{types-661a05a5.js → types-1d9f9c3f.js} +2 -2
- package/dist/esm/v2/{OrButton-c5ec96e7.js → OrButton-eaa2c409.js} +8 -6
- package/dist/esm/v2/{OrCardCollection-77a9b0b5.js → OrCardCollection-763e57ef.js} +5 -5
- package/dist/esm/v2/{OrCheckbox-49d7d6b1.js → OrCheckbox-ac3cc642.js} +2 -2
- package/dist/esm/v2/{OrConfirm-81ae8af5.js → OrConfirm-be10a177.js} +6 -8
- package/dist/esm/v2/{OrEmptyState-2481f13f.js → OrEmptyState-ab1a044d.js} +2 -2
- package/dist/esm/v2/{OrError-13845bb0.js → OrError-9e7976ef.js} +1 -3
- package/dist/esm/v2/{OrErrorTag-7cd5dc68.js → OrErrorTag-32ba5c0c.js} +1 -3
- package/dist/esm/v2/{OrHint-78b399cb.js → OrHint-272790e7.js} +1 -3
- package/dist/esm/v2/{OrIconButton-fa9bff07.js → OrIconButton-75e7b80c.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-b003ddde.js → OrInlineInput-ae9b88ec.js} +4 -4
- package/dist/esm/v2/{OrInlineTextarea-6349b529.js → OrInlineTextarea-36838c54.js} +4 -4
- package/dist/esm/v2/{OrInput-d4707fb9.js → OrInput-6325eee2.js} +7 -7
- package/dist/esm/v2/{OrLabel-0945a4d9.js → OrLabel-49398089.js} +1 -1
- package/dist/esm/v2/{OrLink-597e0e18.js → OrLink-e2fd196e.js} +6 -2
- package/dist/esm/v2/{OrMenu-bb6e93bc.js → OrMenu-40013a4a.js} +10 -15
- package/dist/esm/v2/{OrModal-407f3ac7.js → OrModal-11e0aaf3.js} +1 -1
- package/dist/esm/v2/{OrNotification-76498693.js → OrNotification-32a7774e.js} +1 -1
- package/dist/esm/v2/{OrPagination-a9233838.js → OrPagination-67635368.js} +63 -24
- package/dist/esm/v2/{OrProgress-ff999494.js → OrProgress-59293ca5.js} +3 -3
- package/dist/esm/v2/{OrRadio-06a54f1e.js → OrRadio-ffd31026.js} +2 -2
- package/dist/esm/v2/{OrSearch-5b257f78.js → OrSearch-26723393.js} +1 -1
- package/dist/esm/v2/{OrSelect-246d8584.js → OrSelect-693f1312.js} +7 -7
- package/dist/esm/v2/{OrSidebar-89711112.js → OrSidebar-5f5a5962.js} +3 -3
- package/dist/esm/v2/{OrSidebarCollapseButton-81c77db0.js → OrSidebarCollapseButton-81b32e0d.js} +1 -1
- package/dist/esm/v2/{OrSwitch-6129b63d.js → OrSwitch-6309430f.js} +2 -2
- package/dist/esm/v2/{OrTab-1ff87c76.js → OrTab-8e1e3751.js} +1 -1
- package/dist/esm/v2/{OrTabs-b501239f.js → OrTabs-411fc919.js} +3 -3
- package/dist/esm/v2/{OrTag-d559f34c.js → OrTag-7663d423.js} +3 -7
- package/dist/esm/v2/{OrTextarea-0bf9bf33.js → OrTextarea-c7f4ff11.js} +3 -3
- package/dist/esm/v2/{OrTooltip-d9424f71.js → OrTooltip-5a02f34c.js} +1 -1
- package/dist/esm/v2/components/index.js +32 -32
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +10 -10
- package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +8 -8
- package/dist/esm/v2/components/or-empty-state-v3/index.js +1 -1
- package/dist/esm/v2/components/or-error-tag-v3/index.js +1 -1
- package/dist/esm/v2/components/or-error-v3/index.js +1 -1
- package/dist/esm/v2/components/or-fab-v3/index.js +1 -1
- package/dist/esm/v2/components/or-hint-v3/index.js +1 -1
- package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v2/components/or-input-v3/index.js +6 -6
- package/dist/esm/v2/components/or-label-v3/index.js +1 -1
- package/dist/esm/v2/components/or-link-v3/index.js +1 -1
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v2/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v2/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/esm/v2/components/or-pagination-v3/index.js +5 -5
- package/dist/esm/v2/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v2/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +7 -7
- package/dist/esm/v2/components/or-select-v3/index.js +9 -9
- package/dist/esm/v2/components/or-sidebar-v3/index.js +4 -4
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
- 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 +3 -3
- package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v2/components/or-textarea-v3/index.js +4 -4
- package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v2/index.js +32 -32
- package/dist/esm/v2/{types-e9a54dcf.js → types-a12f6aef.js} +1 -1
- package/dist/esm/v3/{OrButton-9f059df6.js → OrButton-769333b2.js} +8 -6
- package/dist/esm/v3/{OrCardCollection-e8ab1e4f.js → OrCardCollection-7e279990.js} +5 -5
- package/dist/esm/v3/{OrCheckbox-a8388252.js → OrCheckbox-78b08b59.js} +2 -2
- package/dist/esm/v3/{OrConfirm-19397045.js → OrConfirm-0c458a6e.js} +6 -8
- package/dist/esm/v3/{OrEmptyState-bb8e3145.js → OrEmptyState-cd3a4026.js} +2 -2
- package/dist/esm/v3/{OrError-19198748.js → OrError-5e926d62.js} +1 -3
- package/dist/esm/v3/{OrErrorTag-0025b17c.js → OrErrorTag-71fe44c2.js} +1 -3
- package/dist/esm/v3/{OrHint-6863124f.js → OrHint-031f9265.js} +1 -3
- package/dist/esm/v3/{OrIconButton-385e997c.js → OrIconButton-bbed669a.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-65127ed7.js → OrInlineInput-a7e15c57.js} +4 -4
- package/dist/esm/v3/{OrInlineTextarea-176a2701.js → OrInlineTextarea-515754ca.js} +4 -4
- package/dist/esm/v3/{OrInput-209bd3fc.js → OrInput-e226e5ca.js} +5 -5
- package/dist/esm/v3/{OrLabel-f700f9fb.js → OrLabel-5a2f55fd.js} +1 -1
- package/dist/esm/v3/{OrLink-07f6f27d.js → OrLink-3e5e13d3.js} +6 -2
- package/dist/esm/v3/{OrMenu-b4e8136c.js → OrMenu-8c333ea1.js} +13 -17
- package/dist/esm/v3/{OrModal-17c3a1cb.js → OrModal-dd5a8329.js} +1 -1
- package/dist/esm/v3/{OrNotification-aab2e22a.js → OrNotification-6e4a7e5c.js} +1 -1
- package/dist/esm/v3/{OrPagination-183803e7.js → OrPagination-6ff8d71e.js} +66 -26
- package/dist/esm/v3/{OrProgress-f881a58a.js → OrProgress-2fea3fd7.js} +3 -3
- package/dist/esm/v3/{OrRadio-97fb105f.js → OrRadio-2ab7b845.js} +2 -2
- package/dist/esm/v3/{OrSearch-3bba0a99.js → OrSearch-24e4afe3.js} +1 -1
- package/dist/esm/v3/{OrSelect-ba567dd1.js → OrSelect-a24e5f35.js} +7 -7
- package/dist/esm/v3/{OrSidebar-64703ef6.js → OrSidebar-08e628b7.js} +3 -3
- package/dist/esm/v3/{OrSidebarCollapseButton-506fc73c.js → OrSidebarCollapseButton-95365ca6.js} +1 -1
- package/dist/esm/v3/{OrSwitch-2a23a9b8.js → OrSwitch-00d21fb8.js} +2 -2
- package/dist/esm/v3/{OrTab-d3785ea4.js → OrTab-2206d2dc.js} +1 -1
- package/dist/esm/v3/{OrTabs-e639e96f.js → OrTabs-d6c6bc39.js} +3 -3
- package/dist/esm/v3/{OrTag-330457a7.js → OrTag-cd21a1bc.js} +3 -7
- package/dist/esm/v3/{OrTextarea-14a6b456.js → OrTextarea-8fda733a.js} +3 -3
- package/dist/esm/v3/{OrTooltip-e5fe74d6.js → OrTooltip-adece7b6.js} +1 -1
- package/dist/esm/v3/components/index.js +32 -32
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +10 -10
- package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +8 -8
- package/dist/esm/v3/components/or-empty-state-v3/index.js +1 -1
- package/dist/esm/v3/components/or-error-tag-v3/index.js +1 -1
- package/dist/esm/v3/components/or-error-v3/index.js +1 -1
- package/dist/esm/v3/components/or-fab-v3/index.js +1 -1
- package/dist/esm/v3/components/or-hint-v3/index.js +1 -1
- package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/index.js +5 -5
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/esm/v3/components/or-input-v3/index.js +6 -6
- package/dist/esm/v3/components/or-label-v3/index.js +1 -1
- package/dist/esm/v3/components/or-link-v3/index.js +1 -1
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-menu-v3/index.js +1 -1
- package/dist/esm/v3/components/or-menu-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v3/components/or-pagination-v3/OrPagination.vue.d.ts +4 -0
- package/dist/esm/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/esm/v3/components/or-progress-v3/index.js +1 -1
- package/dist/esm/v3/components/or-progress-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-radio-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +7 -7
- package/dist/esm/v3/components/or-select-v3/index.js +9 -9
- package/dist/esm/v3/components/or-sidebar-v3/index.js +4 -4
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +3 -3
- 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 +3 -3
- package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v3/components/or-textarea-v3/index.js +4 -4
- package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v3/index.js +32 -32
- package/dist/esm/v3/{types-b9717ff2.js → types-872260a9.js} +1 -1
- package/package.json +3 -4
- package/src/components/or-button-v3/styles.ts +11 -8
- package/src/components/or-card-collection-v3/styles.ts +1 -1
- package/src/components/or-checkbox-v3/styles.ts +1 -2
- package/src/components/or-confirm-v3/styles.ts +5 -11
- package/src/components/or-empty-state-v3/styles.ts +2 -2
- package/src/components/or-error-tag-v3/OrErrorTag.vue +1 -1
- package/src/components/or-error-tag-v3/styles.ts +0 -3
- package/src/components/or-error-v3/styles.ts +1 -4
- package/src/components/or-fab-v3/styles.ts +3 -3
- package/src/components/or-hint-v3/styles.ts +1 -4
- package/src/components/or-icon-button-v3/styles.ts +1 -1
- package/src/components/or-inline-input-v3/styles.ts +1 -1
- package/src/components/or-inline-textarea-v3/styles.ts +1 -1
- package/src/components/or-input-v3/OrInput.vue +1 -1
- package/src/components/or-label-v3/styles.ts +1 -1
- package/src/components/or-link-v3/styles.ts +8 -4
- package/src/components/or-menu-v3/OrMenu.vue +22 -26
- package/src/components/or-menu-v3/styles.ts +0 -5
- package/src/components/or-pagination-v3/OrPagination.vue +89 -42
- package/src/components/or-pagination-v3/styles.ts +1 -1
- package/src/components/or-progress-v3/styles.ts +4 -4
- package/src/components/or-radio-v3/styles.ts +1 -1
- package/src/components/or-select-v3/OrSelect.vue +1 -1
- package/src/components/or-sidebar-v3/styles.ts +2 -2
- package/src/components/or-switch-v3/styles.ts +1 -1
- package/src/components/or-tab-v3/styles.ts +1 -1
- package/src/components/or-tabs-v3/styles.ts +2 -2
- package/src/components/or-tag-v3/OrTag.stories3.ts +5 -5
- package/src/components/or-tag-v3/OrTag.vue +1 -1
- package/src/components/or-tag-v3/styles.ts +0 -11
- package/src/components/or-tooltip-v3/styles.ts +1 -1
- package/dist/bundled/v2/{OrFab-a2e49eaa.js → OrFab-85bd9427.js} +2 -2
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-8f76f6b1.js → OrFab.vue_vue_type_script_lang-a4e3eef8.js} +2 -2
- package/dist/esm/v2/{OrFab-d5a37b22.js → OrFab-f71daa4f.js} +2 -2
- package/dist/esm/v3/{OrFab-588291bf.js → OrFab-6266b4de.js} +2 -2
|
@@ -2,8 +2,10 @@ import { LinkColor } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const LinkRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'inline-
|
|
6
|
-
|
|
5
|
+
'layout-inline-row',
|
|
6
|
+
|
|
7
|
+
// Spacing
|
|
8
|
+
'gap-xs',
|
|
7
9
|
|
|
8
10
|
// Interactivity
|
|
9
11
|
'interactivity-auto',
|
|
@@ -40,8 +42,10 @@ export const LinkRootColors: Record<LinkColor, string[]> = {
|
|
|
40
42
|
'inherit': [
|
|
41
43
|
// Theme
|
|
42
44
|
'theme-foreground-inherit',
|
|
45
|
+
'dark:theme-foreground-inherit-dark',
|
|
46
|
+
|
|
47
|
+
// Theme (hover)
|
|
43
48
|
'hover:theme-foreground-primary-hover',
|
|
44
|
-
'
|
|
45
|
-
'disabled:dark:!text-on-disabled-dark',
|
|
49
|
+
'dark:hover:theme-foreground-primary-hover-dark',
|
|
46
50
|
],
|
|
47
51
|
};
|
|
@@ -1,32 +1,29 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
ref="
|
|
4
|
-
:
|
|
2
|
+
<OrPopover
|
|
3
|
+
ref="popover"
|
|
4
|
+
:variant="'auto'"
|
|
5
|
+
:trigger="trigger"
|
|
6
|
+
:placement="placement"
|
|
7
|
+
:full-width="false"
|
|
8
|
+
:disable-default-styles="false"
|
|
9
|
+
@update:state="$emit('update:state', $event)"
|
|
5
10
|
>
|
|
6
|
-
<
|
|
7
|
-
ref="
|
|
8
|
-
|
|
9
|
-
:
|
|
10
|
-
|
|
11
|
-
:full-width="false"
|
|
12
|
-
:disable-default-styles="false"
|
|
13
|
-
@update:state="$emit('update:state', $event)"
|
|
11
|
+
<div
|
|
12
|
+
ref="root"
|
|
13
|
+
v-bind="$attrs"
|
|
14
|
+
:class="rootStyles"
|
|
15
|
+
@click.stop="onClick"
|
|
14
16
|
>
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
>
|
|
19
|
-
<slot />
|
|
20
|
-
</div>
|
|
21
|
-
</OrPopover>
|
|
22
|
-
</div>
|
|
17
|
+
<slot />
|
|
18
|
+
</div>
|
|
19
|
+
</OrPopover>
|
|
23
20
|
</template>
|
|
24
21
|
|
|
25
22
|
<script lang="ts">
|
|
26
23
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
27
24
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
28
25
|
import { MenuPlacement } from './props';
|
|
29
|
-
import {
|
|
26
|
+
import { MenuRoot } from './styles';
|
|
30
27
|
|
|
31
28
|
export default defineComponent({
|
|
32
29
|
name: 'OrMenu',
|
|
@@ -35,6 +32,8 @@ export default defineComponent({
|
|
|
35
32
|
OrPopover,
|
|
36
33
|
},
|
|
37
34
|
|
|
35
|
+
inheritAttrs: false,
|
|
36
|
+
|
|
38
37
|
props: {
|
|
39
38
|
trigger: {
|
|
40
39
|
type: HTMLElement,
|
|
@@ -53,9 +52,9 @@ export default defineComponent({
|
|
|
53
52
|
|
|
54
53
|
expose: [
|
|
55
54
|
'root',
|
|
55
|
+
'isOpen',
|
|
56
56
|
'open',
|
|
57
57
|
'close',
|
|
58
|
-
'isOpen',
|
|
59
58
|
'toggle',
|
|
60
59
|
],
|
|
61
60
|
|
|
@@ -65,7 +64,6 @@ export default defineComponent({
|
|
|
65
64
|
|
|
66
65
|
const popover = ref<InstanceType<typeof OrPopover>>();
|
|
67
66
|
const popoverRoot = computed(() => popover.value?.root);
|
|
68
|
-
const isOpen = computed(() => popover.value?.isOpen);
|
|
69
67
|
|
|
70
68
|
// Styles
|
|
71
69
|
const rootStyles = computed(() => [
|
|
@@ -73,9 +71,8 @@ export default defineComponent({
|
|
|
73
71
|
...MenuRoot,
|
|
74
72
|
]);
|
|
75
73
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
]);
|
|
74
|
+
// State
|
|
75
|
+
const isOpen = computed(() => popover.value?.isOpen);
|
|
79
76
|
|
|
80
77
|
// Methods
|
|
81
78
|
function open(): void {
|
|
@@ -116,7 +113,6 @@ export default defineComponent({
|
|
|
116
113
|
popover,
|
|
117
114
|
popoverRoot,
|
|
118
115
|
rootStyles,
|
|
119
|
-
bodyStyles,
|
|
120
116
|
isOpen,
|
|
121
117
|
open,
|
|
122
118
|
close,
|
|
@@ -14,31 +14,35 @@
|
|
|
14
14
|
<OrIcon :icon="'keyboard_arrow_left'" />
|
|
15
15
|
</OrButton>
|
|
16
16
|
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
17
|
+
<template v-if="isDesktop">
|
|
18
|
+
<OrButton
|
|
19
|
+
v-for="(page, index) in buttonGroup"
|
|
20
|
+
:key="index"
|
|
21
|
+
:class="itemStyles"
|
|
22
|
+
:variant="'link'"
|
|
23
|
+
:color="'inherit'"
|
|
24
|
+
:activated="currentPage === page"
|
|
25
|
+
@click.stop="typeof page === 'number' && toPage(page)"
|
|
26
|
+
>
|
|
27
|
+
{{ page }}
|
|
28
|
+
</OrButton>
|
|
29
|
+
|
|
30
|
+
<OrButton
|
|
31
|
+
:class="itemStyles"
|
|
32
|
+
:variant="'link'"
|
|
33
|
+
:color="'inherit'"
|
|
34
|
+
:disabled="currentPage === lastPage"
|
|
35
|
+
@click.stop="toNextPage()"
|
|
36
|
+
>
|
|
37
|
+
<OrIcon :icon="'keyboard_arrow_right'" />
|
|
38
|
+
</OrButton>
|
|
39
|
+
</template>
|
|
38
40
|
</div>
|
|
39
41
|
|
|
40
42
|
<div :class="limitControlStyles">
|
|
41
|
-
|
|
43
|
+
<template v-if="isDesktop">
|
|
44
|
+
Per page:
|
|
45
|
+
</template>
|
|
42
46
|
|
|
43
47
|
<OrButton
|
|
44
48
|
ref="limitButton"
|
|
@@ -48,28 +52,44 @@
|
|
|
48
52
|
:activated="true"
|
|
49
53
|
@click.stop="limitMenu.open()"
|
|
50
54
|
>
|
|
51
|
-
{{ currentLimit }} <OrIcon :icon="'arrow_drop_down'" />
|
|
55
|
+
{{ currentLimit }} <OrIcon :icon="limitMenu && limitMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'" />
|
|
52
56
|
</OrButton>
|
|
53
57
|
|
|
54
58
|
<OrMenu
|
|
55
59
|
ref="limitMenu"
|
|
60
|
+
:class="['min-w-[60px]']"
|
|
56
61
|
:trigger="limitButtonRoot"
|
|
57
62
|
:placement="'top'"
|
|
58
63
|
>
|
|
59
64
|
<OrMenuItem
|
|
60
65
|
v-for="pageSize in pageSizeOptions"
|
|
61
66
|
:key="pageSize"
|
|
62
|
-
@click.stop="currentLimit = pageSize"
|
|
67
|
+
@click.stop="currentLimit = pageSize; limitMenu.close()"
|
|
63
68
|
>
|
|
64
69
|
{{ pageSize }}
|
|
65
70
|
</OrMenuItem>
|
|
66
71
|
</OrMenu>
|
|
67
72
|
</div>
|
|
73
|
+
|
|
74
|
+
<template v-if="isMobile">
|
|
75
|
+
<div :class="offsetControlStyles">
|
|
76
|
+
<OrButton
|
|
77
|
+
:class="itemStyles"
|
|
78
|
+
:variant="'link'"
|
|
79
|
+
:color="'inherit'"
|
|
80
|
+
:disabled="currentPage === lastPage"
|
|
81
|
+
@click.stop="toNextPage()"
|
|
82
|
+
>
|
|
83
|
+
<OrIcon :icon="'keyboard_arrow_right'" />
|
|
84
|
+
</OrButton>
|
|
85
|
+
</div>
|
|
86
|
+
</template>
|
|
68
87
|
</div>
|
|
69
88
|
</template>
|
|
70
89
|
|
|
71
90
|
<script lang="ts">
|
|
72
91
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
92
|
+
import { useResponsive } from '../../hooks';
|
|
73
93
|
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
74
94
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
75
95
|
import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
|
|
@@ -118,6 +138,8 @@ export default defineComponent({
|
|
|
118
138
|
],
|
|
119
139
|
|
|
120
140
|
setup(props, context) {
|
|
141
|
+
const { isDesktop, isMobile } = useResponsive();
|
|
142
|
+
|
|
121
143
|
// Refs
|
|
122
144
|
const root = ref<HTMLElement>();
|
|
123
145
|
|
|
@@ -193,24 +215,46 @@ export default defineComponent({
|
|
|
193
215
|
});
|
|
194
216
|
|
|
195
217
|
const buttonGroup = computed<(number | string)[]>(() => {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
218
|
+
const pages = Array.from({ length: lastPage.value }, (_, index) => index + 1);
|
|
219
|
+
|
|
220
|
+
switch (true) {
|
|
221
|
+
case lastPage.value <= 7:
|
|
222
|
+
return pages;
|
|
223
|
+
|
|
224
|
+
case currentPage.value < firstPage.value + 4:
|
|
225
|
+
return [
|
|
226
|
+
...pages.slice(0, 5),
|
|
227
|
+
'…',
|
|
228
|
+
lastPage.value,
|
|
229
|
+
];
|
|
230
|
+
|
|
231
|
+
case currentPage.value > lastPage.value - 4:
|
|
232
|
+
return [
|
|
233
|
+
firstPage.value,
|
|
234
|
+
'…',
|
|
235
|
+
...pages.slice(-5),
|
|
236
|
+
];
|
|
237
|
+
|
|
238
|
+
default:
|
|
239
|
+
return pages
|
|
240
|
+
.map((page) => {
|
|
241
|
+
switch (true) {
|
|
242
|
+
case page > firstPage.value && page < currentPage.value - 1:
|
|
243
|
+
case page < lastPage.value && page > currentPage.value + 1:
|
|
244
|
+
return '…';
|
|
245
|
+
|
|
246
|
+
default:
|
|
247
|
+
return page;
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
.reduce((accumulator, page) => {
|
|
251
|
+
if (accumulator[accumulator.length - 1] === page) {
|
|
252
|
+
return accumulator;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
return [...accumulator, page];
|
|
256
|
+
}, [] as (number | string)[]);
|
|
257
|
+
}
|
|
214
258
|
});
|
|
215
259
|
|
|
216
260
|
// Methods
|
|
@@ -227,6 +271,9 @@ export default defineComponent({
|
|
|
227
271
|
}
|
|
228
272
|
|
|
229
273
|
return {
|
|
274
|
+
isDesktop,
|
|
275
|
+
isMobile,
|
|
276
|
+
|
|
230
277
|
root,
|
|
231
278
|
limitButton,
|
|
232
279
|
limitButtonRoot,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProgressColor, ProgressType } from './props';
|
|
2
2
|
|
|
3
3
|
export const ProgressRoot: string[] = [
|
|
4
4
|
// Typography
|
|
@@ -31,7 +31,7 @@ export const ProgressHeader: string[] = [
|
|
|
31
31
|
'flex',
|
|
32
32
|
'flex-row',
|
|
33
33
|
|
|
34
|
-
//
|
|
34
|
+
// Spacing
|
|
35
35
|
'mb-[6px]',
|
|
36
36
|
];
|
|
37
37
|
|
|
@@ -45,7 +45,7 @@ export const ProgressHeaderLabel: string[] = [
|
|
|
45
45
|
];
|
|
46
46
|
|
|
47
47
|
export const ProgressHeaderPercent: string[] = [
|
|
48
|
-
//
|
|
48
|
+
// Spacing
|
|
49
49
|
'ml-auto',
|
|
50
50
|
];
|
|
51
51
|
|
|
@@ -102,6 +102,6 @@ export const ProgressBarColors: Record<Exclude<ProgressColor, ProgressColor.Auto
|
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
export const ProgressFooter: string[] = [
|
|
105
|
-
//
|
|
105
|
+
// Spacing
|
|
106
106
|
'mt-[2px]',
|
|
107
107
|
];
|
|
@@ -202,7 +202,7 @@ export const SidebarContent: string[] = [
|
|
|
202
202
|
'grow',
|
|
203
203
|
'overflow-auto',
|
|
204
204
|
|
|
205
|
-
//
|
|
205
|
+
// Spacing
|
|
206
206
|
'p-md',
|
|
207
207
|
];
|
|
208
208
|
|
|
@@ -211,7 +211,7 @@ export const SidebarFooter: string[] = [
|
|
|
211
211
|
'shrink-0',
|
|
212
212
|
'overflow-x-hidden',
|
|
213
213
|
|
|
214
|
-
//
|
|
214
|
+
// Spacing
|
|
215
215
|
'p-md',
|
|
216
216
|
|
|
217
217
|
// Borders
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { action } from '@storybook/addon-actions';
|
|
2
2
|
import { Meta, StoryFn } from '@storybook/vue3';
|
|
3
3
|
import Faker from 'faker';
|
|
4
|
+
import { ref } from 'vue-demi';
|
|
5
|
+
import { useOverflow } from '../../hooks';
|
|
6
|
+
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
7
|
+
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
4
8
|
import OrTagDocs from './OrTag.docs.mdx';
|
|
5
9
|
import OrTag from './OrTag.vue';
|
|
6
10
|
import { TagColor, TagVariant } from './props';
|
|
7
|
-
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
8
|
-
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
9
|
-
import { useOverflow } from '../../hooks';
|
|
10
|
-
import { ref } from 'vue-demi';
|
|
11
11
|
|
|
12
12
|
export default {
|
|
13
13
|
title: 'Components/Tag',
|
|
@@ -77,7 +77,7 @@ const Template: StoryFn<typeof OrTag> = (args) => ({
|
|
|
77
77
|
@blur="handleBlur"
|
|
78
78
|
@reset="handleReset"
|
|
79
79
|
>
|
|
80
|
-
|
|
80
|
+
${args.default}
|
|
81
81
|
</OrTag>
|
|
82
82
|
`,
|
|
83
83
|
});
|
|
@@ -4,10 +4,6 @@ export const TagRoot: string[] = [
|
|
|
4
4
|
// Layout
|
|
5
5
|
'layout-inline-row',
|
|
6
6
|
|
|
7
|
-
// Box
|
|
8
|
-
'w-fit',
|
|
9
|
-
'max-w-full',
|
|
10
|
-
|
|
11
7
|
// Shape
|
|
12
8
|
'rounded-full',
|
|
13
9
|
|
|
@@ -19,13 +15,6 @@ export const TagRoot: string[] = [
|
|
|
19
15
|
|
|
20
16
|
// Typography
|
|
21
17
|
'typography-caption-regular whitespace-nowrap',
|
|
22
|
-
|
|
23
|
-
// Theme
|
|
24
|
-
'disabled:!bg-disabled',
|
|
25
|
-
'dark:disabled:!bg-disabled-dark',
|
|
26
|
-
|
|
27
|
-
'disabled:!text-on-disabled',
|
|
28
|
-
'dark:disabled:!text-on-disabled-dark',
|
|
29
18
|
];
|
|
30
19
|
|
|
31
20
|
export const TagRootVariants: Record<TagVariant, string[]> = {
|
|
@@ -12,10 +12,10 @@ var FabColor;
|
|
|
12
12
|
const FabRoot = [
|
|
13
13
|
// Layout
|
|
14
14
|
'layout-inline-row justify-center',
|
|
15
|
-
// Shape
|
|
16
|
-
'rounded-full',
|
|
17
15
|
// Box
|
|
18
16
|
'w-[56px]', 'h-[56px]',
|
|
17
|
+
// Shape
|
|
18
|
+
'rounded-full',
|
|
19
19
|
// Elevation
|
|
20
20
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'];
|
|
21
21
|
const FabRootColors = {
|
|
@@ -11,10 +11,10 @@ var FabColor;
|
|
|
11
11
|
const FabRoot = [
|
|
12
12
|
// Layout
|
|
13
13
|
'layout-inline-row justify-center',
|
|
14
|
-
// Shape
|
|
15
|
-
'rounded-full',
|
|
16
14
|
// Box
|
|
17
15
|
'w-[56px]', 'h-[56px]',
|
|
16
|
+
// Shape
|
|
17
|
+
'rounded-full',
|
|
18
18
|
// Elevation
|
|
19
19
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'];
|
|
20
20
|
const FabRootColors = {
|
|
@@ -11,10 +11,10 @@ var FabColor;
|
|
|
11
11
|
const FabRoot = [
|
|
12
12
|
// Layout
|
|
13
13
|
'layout-inline-row justify-center',
|
|
14
|
-
// Shape
|
|
15
|
-
'rounded-full',
|
|
16
14
|
// Box
|
|
17
15
|
'w-[56px]', 'h-[56px]',
|
|
16
|
+
// Shape
|
|
17
|
+
'rounded-full',
|
|
18
18
|
// Elevation
|
|
19
19
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'];
|
|
20
20
|
const FabRootColors = {
|
|
@@ -11,10 +11,10 @@ var FabColor;
|
|
|
11
11
|
const FabRoot = [
|
|
12
12
|
// Layout
|
|
13
13
|
'layout-inline-row justify-center',
|
|
14
|
-
// Shape
|
|
15
|
-
'rounded-full',
|
|
16
14
|
// Box
|
|
17
15
|
'w-[56px]', 'h-[56px]',
|
|
16
|
+
// Shape
|
|
17
|
+
'rounded-full',
|
|
18
18
|
// Elevation
|
|
19
19
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'];
|
|
20
20
|
const FabRootColors = {
|