@onereach/ui-components 2.72.2-beta.2278.0 → 2.72.2-beta.2279.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/{OrAvatar-586e417b.js → OrAvatar-f2b1ee1c.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-4ac89ea5.js → OrCardCollection-8ba1c77b.js} +4 -4
- package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-ab9fda87.js} +1 -1
- package/dist/bundled/v2/{OrErrorTag-97a9112b.js → OrErrorTag-4675604d.js} +1 -1
- package/dist/bundled/v2/{OrExpansionPanel-96b8f568.js → OrExpansionPanel-8968da49.js} +1 -1
- package/dist/bundled/v2/{OrFab-ed69dee1.js → OrFab-a2e49eaa.js} +1 -1
- package/dist/bundled/v2/{OrIcon-458206aa.js → OrIcon-2efd1925.js} +3 -1
- package/dist/bundled/v2/{OrIconButton-837d57f8.js → OrIconButton-876b6351.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-57fccb41.js → OrInlineInput-7a230176.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-f8b86cf7.js → OrInlineTextarea-97334f79.js} +1 -1
- package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-2f499599.js} +2 -2
- package/dist/bundled/v2/{OrMenuItem-e2693a5f.js → OrMenuItem-f295292e.js} +1 -1
- package/dist/bundled/v2/{OrModal-78f5d49e.js → OrModal-83900091.js} +1 -1
- package/dist/bundled/v2/{OrNotification-458fe937.js → OrNotification-708ce1db.js} +2 -2
- package/dist/bundled/v2/{OrPagination-daf25de2.js → OrPagination-e34482ef.js} +2 -2
- package/dist/bundled/v2/{OrSearch-09fd004c.js → OrSearch-bb66a66c.js} +1 -1
- package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-54a0b737.js} +8 -6
- package/dist/bundled/v2/{OrSortHeader-565ace92.js → OrSortHeader-b1b961fc.js} +1 -1
- package/dist/bundled/v2/{OrTabs-d69780fc.js → OrTabs-9fc1ac93.js} +2 -2
- package/dist/bundled/v2/{OrTag-4085e8a7.js → OrTag-3e442bf6.js} +1 -1
- package/dist/bundled/v2/{OrText-15bf85c4.js → OrText-a665b991.js} +3 -36
- package/dist/bundled/v2/components/index.js +22 -22
- package/dist/bundled/v2/components/or-avatar-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-error-tag-v3/index.js +2 -2
- 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-icon-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-icon-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +2 -2
- 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/index.js +3 -3
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-select-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-sort-header-v3/index.js +2 -2
- 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-text-v3/OrText.stories3.d.ts +1 -13
- package/dist/bundled/v2/components/or-text-v3/OrText.vue.d.ts +2 -27
- package/dist/bundled/v2/components/or-text-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
- package/dist/bundled/v2/index.js +23 -23
- package/dist/bundled/v2/{types-309b7b94.js → types-b0d25b49.js} +1 -1
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-582e74ae.js → OrAvatar.vue_vue_type_script_lang-75c23e62.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f76c3264.js → OrCardCollection.vue_vue_type_script_lang-0a1b0f0f.js} +7 -7
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-ef8f1f5d.js} +2 -2
- package/dist/bundled/v3/{OrErrorTag.vue_vue_type_script_lang-e2fe7ca9.js → OrErrorTag.vue_vue_type_script_lang-bfa4c580.js} +2 -2
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-2cc8964c.js → OrExpansionPanel.vue_vue_type_script_lang-cd3b6d36.js} +2 -2
- package/dist/bundled/v3/{OrFab.vue_vue_type_script_lang-0fe4a921.js → OrFab.vue_vue_type_script_lang-8f76f6b1.js} +2 -2
- package/dist/bundled/v3/{OrIcon-1a5c9091.js → OrIcon-0239fc17.js} +1 -1
- package/dist/bundled/v3/{OrIcon.vue_vue_type_script_lang-bdbaad94.js → OrIcon.vue_vue_type_script_lang-6a85c6c6.js} +3 -1
- package/dist/bundled/v3/{OrIconButton-e0566ecf.js → OrIconButton-59bc1d54.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-7d1c3fe1.js → OrIconButton.vue_vue_type_script_lang-efefd119.js} +2 -2
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-49ce3308.js → OrInlineInput.vue_vue_type_script_lang-da4198ec.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js → OrInlineTextarea.vue_vue_type_script_lang-a7f62f75.js} +2 -2
- package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-dde27420.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-71f6dede.js} +4 -4
- package/dist/bundled/v3/{OrMenuItem-807e2a49.js → OrMenuItem-1917f51a.js} +1 -1
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-2400ec2a.js → OrMenuItem.vue_vue_type_script_lang-0b643c00.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-6b1dc231.js → OrModal.vue_vue_type_script_lang-07249365.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-d0afc1d7.js → OrNotification.vue_vue_type_script_lang-f308ec11.js} +4 -4
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-f64827ef.js → OrPagination.vue_vue_type_script_lang-4d27d8b8.js} +4 -4
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-c054c8db.js → OrSearch.vue_vue_type_script_lang-eaad7c05.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-ca25de68.js} +11 -9
- package/dist/bundled/v3/{OrSortHeader.vue_vue_type_script_lang-a20eae87.js → OrSortHeader.vue_vue_type_script_lang-85238e0a.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-cb550e87.js → OrTabs.vue_vue_type_script_lang-f3b84f9d.js} +4 -4
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-a25a49ee.js → OrTag.vue_vue_type_script_lang-89d99975.js} +2 -2
- package/dist/bundled/v3/OrText.vue_vue_type_script_lang-271fb345.js +60 -0
- package/dist/bundled/v3/{OrToastContainer-6fe12712.js → OrToastContainer-3dfed0e6.js} +1 -1
- package/dist/bundled/v3/components/index.js +26 -26
- package/dist/bundled/v3/components/or-avatar-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +10 -10
- package/dist/bundled/v3/components/or-confirm-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-error-tag-v3/index.js +3 -3
- 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-icon-button-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-icon-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-input-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-notification-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-search-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-select-v3/index.js +11 -11
- package/dist/bundled/v3/components/or-sort-header-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tabs-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-tag-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-text-v3/OrText.stories3.d.ts +1 -13
- package/dist/bundled/v3/components/or-text-v3/OrText.vue.d.ts +2 -27
- package/dist/bundled/v3/components/or-text-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-toast-v3/index.js +6 -6
- package/dist/bundled/v3/index.js +42 -42
- package/dist/bundled/v3/{types-22fbf9d6.js → types-dd2c3bf1.js} +2 -2
- package/dist/esm/v2/{OrAvatar-379ac72f.js → OrAvatar-ca3a1268.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-5a9eda35.js → OrCardCollection-409f2437.js} +4 -4
- package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-08185678.js} +1 -1
- package/dist/esm/v2/{OrErrorTag-80f82cdf.js → OrErrorTag-7cd5dc68.js} +1 -1
- package/dist/esm/v2/{OrExpansionPanel-729eb1e7.js → OrExpansionPanel-0a12d957.js} +1 -1
- package/dist/esm/v2/{OrFab-1d095e33.js → OrFab-d5a37b22.js} +1 -1
- package/dist/esm/v2/{OrIcon-f34e0e6f.js → OrIcon-c434985a.js} +3 -1
- package/dist/esm/v2/{OrIconButton-04a3566d.js → OrIconButton-c8bb635e.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-b85b84b4.js → OrInlineInput-d9bbdaf2.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-afd33047.js → OrInlineTextarea-f7378459.js} +1 -1
- package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-ca315c4e.js} +2 -2
- package/dist/esm/v2/{OrMenuItem-7b7fbf8a.js → OrMenuItem-4f810513.js} +1 -1
- package/dist/esm/v2/{OrModal-4e79e0d5.js → OrModal-7ca36163.js} +1 -1
- package/dist/esm/v2/{OrNotification-eac3867f.js → OrNotification-2013cadf.js} +2 -2
- package/dist/esm/v2/{OrPagination-1adbcadb.js → OrPagination-c2653bd1.js} +2 -2
- package/dist/esm/v2/{OrSearch-7411388b.js → OrSearch-fc4cfb78.js} +1 -1
- package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-2d04591d.js} +8 -6
- package/dist/esm/v2/{OrSortHeader-592727dc.js → OrSortHeader-ffe6bc57.js} +1 -1
- package/dist/esm/v2/{OrTabs-96b0473d.js → OrTabs-2992f88f.js} +2 -2
- package/dist/esm/v2/{OrTag-b2906865.js → OrTag-920c6371.js} +1 -1
- package/dist/esm/v2/{OrText-91d662a0.js → OrText-b12d0682.js} +3 -36
- package/dist/esm/v2/components/index.js +22 -22
- package/dist/esm/v2/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +6 -6
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v2/components/or-error-tag-v3/index.js +2 -2
- 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-icon-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-icon-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v2/components/or-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-menu-item-v3/index.js +2 -2
- 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/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/index.js +4 -4
- package/dist/esm/v2/components/or-select-v3/index.js +7 -7
- package/dist/esm/v2/components/or-sort-header-v3/index.js +2 -2
- 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-text-v3/OrText.stories3.d.ts +1 -13
- package/dist/esm/v2/components/or-text-v3/OrText.vue.d.ts +2 -27
- package/dist/esm/v2/components/or-text-v3/index.js +1 -1
- package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v2/index.js +22 -22
- package/dist/esm/v2/{types-1f95d710.js → types-38818808.js} +1 -1
- package/dist/esm/v3/{OrAvatar-6444e693.js → OrAvatar-0dbd8be8.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-e4fde5b4.js → OrCardCollection-433b2d98.js} +4 -4
- package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-1facf86d.js} +1 -1
- package/dist/esm/v3/{OrErrorTag-308119de.js → OrErrorTag-0025b17c.js} +1 -1
- package/dist/esm/v3/{OrExpansionPanel-3a4282da.js → OrExpansionPanel-541cc4c1.js} +1 -1
- package/dist/esm/v3/{OrFab-61131b31.js → OrFab-588291bf.js} +1 -1
- package/dist/esm/v3/{OrIcon-34f59f73.js → OrIcon-ea40e58c.js} +3 -1
- package/dist/esm/v3/{OrIconButton-2dcfb83e.js → OrIconButton-3d32cdcf.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-fbc35f85.js → OrInlineInput-72effa88.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-79da8697.js → OrInlineTextarea-0bb8ef1c.js} +1 -1
- package/dist/esm/v3/{OrInput-bd054213.js → OrInput-b4347f58.js} +2 -2
- package/dist/esm/v3/{OrMenuItem-58707d47.js → OrMenuItem-de91aded.js} +1 -1
- package/dist/esm/v3/{OrModal-4219a6dc.js → OrModal-a5fa8240.js} +1 -1
- package/dist/esm/v3/{OrNotification-0e682c7f.js → OrNotification-8f34d624.js} +2 -2
- package/dist/esm/v3/{OrPagination-da9e5017.js → OrPagination-7b240dec.js} +2 -2
- package/dist/esm/v3/{OrSearch-5406bf03.js → OrSearch-88563218.js} +1 -1
- package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-131cce4e.js} +8 -6
- package/dist/esm/v3/{OrSortHeader-a39f77f9.js → OrSortHeader-f66dcb37.js} +1 -1
- package/dist/esm/v3/{OrTabs-328d41b9.js → OrTabs-80cbb3b9.js} +2 -2
- package/dist/esm/v3/{OrTag-148ff9ae.js → OrTag-1d3fa09e.js} +1 -1
- package/dist/esm/v3/{OrText-a3b00048.js → OrText-6b4f7cd1.js} +3 -36
- package/dist/esm/v3/components/index.js +22 -22
- package/dist/esm/v3/components/or-avatar-v3/index.js +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v3/components/or-error-tag-v3/index.js +2 -2
- 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-icon-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-icon-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v3/components/or-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-menu-item-v3/index.js +2 -2
- 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/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/index.js +4 -4
- package/dist/esm/v3/components/or-select-v3/index.js +7 -7
- package/dist/esm/v3/components/or-sort-header-v3/index.js +2 -2
- 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-text-v3/OrText.stories3.d.ts +1 -13
- package/dist/esm/v3/components/or-text-v3/OrText.vue.d.ts +2 -27
- package/dist/esm/v3/components/or-text-v3/index.js +1 -1
- package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v3/index.js +22 -22
- package/dist/esm/v3/{types-b79e4387.js → types-4e316bd3.js} +1 -1
- package/package.json +1 -1
- package/src/components/or-icon-v3/styles.ts +3 -0
- package/src/components/or-select-v3/styles.ts +3 -0
- package/src/components/or-text-v3/OrText.stories3.ts +5 -81
- package/src/components/or-text-v3/OrText.vue +3 -37
- package/dist/bundled/v3/OrText.vue_vue_type_script_lang-e93438ea.js +0 -93
package/dist/esm/v3/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, s as OrAvatar } from './OrAvatar-2808a314.js';
|
|
2
|
-
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-
|
|
2
|
+
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-0dbd8be8.js';
|
|
3
3
|
export { s as OrBottomSheetV3 } from './OrBottomSheet-13a416ef.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-8be9c89f.js';
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-c56998e7.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-1e44c758.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-433b2d98.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-cd6af82e.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
|
|
@@ -16,26 +16,26 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-5ed69c23.js';
|
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-c11ee2ec.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-1facf86d.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
|
-
export { s as OrErrorTagV3 } from './OrErrorTag-
|
|
22
|
+
export { s as OrErrorTagV3 } from './OrErrorTag-0025b17c.js';
|
|
23
23
|
export { s as OrErrorV3 } from './OrError-19198748.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-bb8e3145.js';
|
|
25
|
-
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-
|
|
26
|
-
export { F as FabColor, s as OrFabV3 } from './OrFab-
|
|
25
|
+
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-541cc4c1.js';
|
|
26
|
+
export { F as FabColor, s as OrFabV3 } from './OrFab-588291bf.js';
|
|
27
27
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-5240e758.js';
|
|
28
28
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
29
29
|
export { s as OrHintV3 } from './OrHint-6863124f.js';
|
|
30
30
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
|
|
31
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
32
|
-
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-
|
|
31
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-3d32cdcf.js';
|
|
32
|
+
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-ea40e58c.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-09b33e18.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-72effa88.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-0bb8ef1c.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-e16ade90.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-b4347f58.js';
|
|
39
39
|
export { s as OrInput } from './OrInput-81125804.js';
|
|
40
40
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-f700f9fb.js';
|
|
@@ -44,35 +44,35 @@ export { s as OrList } from './OrList-b740d13e.js';
|
|
|
44
44
|
export { s as OrListOfInputs } from './OrListOfInputs-508e056f.js';
|
|
45
45
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
|
|
46
46
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-a53d2edf.js';
|
|
47
|
-
export { s as OrMenuItemV3 } from './OrMenuItem-
|
|
47
|
+
export { s as OrMenuItemV3 } from './OrMenuItem-de91aded.js';
|
|
48
48
|
export { s as OrMenuV3 } from './OrMenu-7f3ea117.js';
|
|
49
49
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-40217b49.js';
|
|
50
50
|
export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
|
|
51
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
51
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-a5fa8240.js';
|
|
52
52
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
|
|
53
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
53
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-8f34d624.js';
|
|
54
54
|
export { s as OrNumberInput } from './OrNumberInput-b32b5ce3.js';
|
|
55
55
|
export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
|
|
56
56
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
57
57
|
export { s as OrOverlayV3 } from './OrOverlay-afad3aa4.js';
|
|
58
58
|
export { s as OrPassword } from './OrPassword-b0cbb578.js';
|
|
59
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
59
|
+
export { s as OrPaginationV3 } from './OrPagination-7b240dec.js';
|
|
60
60
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
|
|
61
61
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-639ed5e8.js';
|
|
62
62
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
63
63
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
64
64
|
export { s as OrRadioV3 } from './OrRadio-bb9b37c1.js';
|
|
65
65
|
export { s as OrSearch } from './OrSearch-11fdf667.js';
|
|
66
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
66
|
+
export { s as OrSearchV3 } from './OrSearch-88563218.js';
|
|
67
67
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-880b4911.js';
|
|
68
68
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
69
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
69
|
+
export { s as OrSelectV3 } from './OrSelect-131cce4e.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
71
71
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
72
72
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
73
73
|
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-afd3d007.js';
|
|
74
74
|
export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
75
|
-
export { s as OrSortHeaderV3 } from './OrSortHeader-
|
|
75
|
+
export { s as OrSortHeaderV3 } from './OrSortHeader-f66dcb37.js';
|
|
76
76
|
export { s as OrStepper } from './OrStepper-f19b4eac.js';
|
|
77
77
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
78
78
|
export { s as OrSwitchV3 } from './OrSwitch-1c2196da.js';
|
|
@@ -80,18 +80,18 @@ export { s as OrTab } from './OrTab-bc98be02.js';
|
|
|
80
80
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
81
81
|
export { s as OrTabV3 } from './OrTab-d3785ea4.js';
|
|
82
82
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
83
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
83
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-80cbb3b9.js';
|
|
84
84
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
85
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
85
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-1d3fa09e.js';
|
|
86
86
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
87
87
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
88
|
-
export { s as OrTextV3 } from './OrText-
|
|
88
|
+
export { s as OrTextV3 } from './OrText-6b4f7cd1.js';
|
|
89
89
|
export { s as OrTextarea } from './OrTextarea-1f5c3be1.js';
|
|
90
90
|
export { s as OrTextareaV3 } from './OrTextarea-37566985.js';
|
|
91
91
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
92
92
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
93
93
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
94
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
94
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-4e316bd3.js';
|
|
95
95
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
96
96
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
97
97
|
export { s as OrTooltipV3 } from './OrTooltip-b07616f4.js';
|
|
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton-
|
|
5
|
+
import { s as script$2 } from './OrIconButton-3d32cdcf.js';
|
|
6
6
|
import { s as script$3 } from './OrLoader-a53d2edf.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
package/package.json
CHANGED
|
@@ -34,89 +34,13 @@ const Template: StoryFn<typeof OrText> = (args) => ({
|
|
|
34
34
|
},
|
|
35
35
|
|
|
36
36
|
template: `
|
|
37
|
-
<
|
|
38
|
-
<OrText v-bind="args" />
|
|
39
|
-
</div>
|
|
37
|
+
<OrText v-bind="args" />
|
|
40
38
|
`,
|
|
41
39
|
});
|
|
42
40
|
|
|
43
|
-
export const
|
|
44
|
-
Default.args = {
|
|
45
|
-
// Props
|
|
46
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt \
|
|
47
|
-
ut labore et dolore magna aliqua.',
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
export const MiddleCrop = Template.bind({});
|
|
51
|
-
MiddleCrop.args = {
|
|
52
|
-
...Default.args,
|
|
53
|
-
sliceIndex: 12,
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export const TooFarLeft = Template.bind({});
|
|
57
|
-
TooFarLeft.args = {
|
|
58
|
-
...Default.args,
|
|
59
|
-
sliceIndex: 120,
|
|
60
|
-
};
|
|
61
|
-
TooFarLeft.parameters = {
|
|
62
|
-
docs: {
|
|
63
|
-
description: {
|
|
64
|
-
story: 'Caution. If `sliceIndex` is greater than the visible part length, \
|
|
65
|
-
then beginning part with ellipsis is not displayed and ending part overflows the container.',
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
export const ComplexContainer: StoryFn<typeof OrText> = (args) => ({
|
|
71
|
-
components: {
|
|
72
|
-
OrText,
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
setup() {
|
|
76
|
-
return { args };
|
|
77
|
-
},
|
|
41
|
+
export const Text = Template.bind({});
|
|
78
42
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<!-- fixed part -->
|
|
83
|
-
<div class="w-[20px]" />
|
|
84
|
-
<!-- growing part -->
|
|
85
|
-
<div class="grow px-md">
|
|
86
|
-
<OrText v-bind="args" />
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
<h3 class="typography-headline-3 my-md">Solution with a wrapper</h3>
|
|
90
|
-
<div class="w-[300px] flex bg-surface-2 dark:bg-surface-2-dark">
|
|
91
|
-
<!-- fixed part -->
|
|
92
|
-
<div class="w-[20px]" />
|
|
93
|
-
<!-- growing part -->
|
|
94
|
-
<div class="grow px-md min-w-0">
|
|
95
|
-
<OrText v-bind="args" />
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
<h3 class="typography-headline-3 my-md">Solution without a wrapper</h3>
|
|
99
|
-
<div class="w-[300px] flex bg-surface-2 dark:bg-surface-2-dark">
|
|
100
|
-
<!-- fixed part -->
|
|
101
|
-
<div class="w-[20px]" />
|
|
102
|
-
<!-- growing part -->
|
|
103
|
-
<OrText v-bind="args" class="grow px-md min-w-0"/>
|
|
104
|
-
</div>
|
|
105
|
-
`,
|
|
106
|
-
});
|
|
107
|
-
ComplexContainer.storyName = 'Growing Flex Container';
|
|
108
|
-
ComplexContainer.args = {
|
|
109
|
-
...Default.args,
|
|
110
|
-
sliceIndex: 12,
|
|
111
|
-
};
|
|
112
|
-
ComplexContainer.parameters = {
|
|
113
|
-
docs: {
|
|
114
|
-
description: {
|
|
115
|
-
story: 'In a special case when OrText is placed inside a variable width container,\
|
|
116
|
-
such as a flexbox growing block, or when it is itself a growing flexbox item,\
|
|
117
|
-
there is a problem for a browser to proper calculate the cropping position.\
|
|
118
|
-
As a solution place a `min-width: 0;` style (tailwind class `min-w-0`)\
|
|
119
|
-
to the growing item - container or the OrText itself.',
|
|
120
|
-
},
|
|
121
|
-
},
|
|
43
|
+
Text.args = {
|
|
44
|
+
// Props
|
|
45
|
+
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
122
46
|
};
|
|
@@ -17,33 +17,18 @@
|
|
|
17
17
|
import { computed, defineComponent, ref } from 'vue-demi';
|
|
18
18
|
import { MainText, RestText, TextRoot } from './styles';
|
|
19
19
|
|
|
20
|
-
/**
|
|
21
|
-
* Use `OrText` component to crop un-wrapped single-line text with ellipsis inside narrow containers.
|
|
22
|
-
* Ellipsis can be placed in the end or in the middle of the text. Convenient for displaying long labels,
|
|
23
|
-
* that have same beginning and differ in the ending part.
|
|
24
|
-
*/
|
|
25
20
|
export default defineComponent({
|
|
26
21
|
name: 'OrText',
|
|
27
22
|
|
|
28
23
|
props: {
|
|
29
|
-
/**
|
|
30
|
-
* Text to crop.
|
|
31
|
-
*/
|
|
32
24
|
text: {
|
|
33
25
|
type: String,
|
|
34
26
|
required: true,
|
|
35
27
|
},
|
|
36
28
|
|
|
37
|
-
/**
|
|
38
|
-
* The index counted from the end of the string where ellipsis will be placed.
|
|
39
|
-
* Defines how many ending characters will remain visible.
|
|
40
|
-
* By default, ellipsis is placed in the end of the line.
|
|
41
|
-
*
|
|
42
|
-
* Note: Negative values behave same as corresponding positives still counting from the end of the line.
|
|
43
|
-
*/
|
|
44
29
|
sliceIndex: {
|
|
45
30
|
type: Number,
|
|
46
|
-
default:
|
|
31
|
+
default: undefined,
|
|
47
32
|
},
|
|
48
33
|
},
|
|
49
34
|
|
|
@@ -69,36 +54,17 @@ export default defineComponent({
|
|
|
69
54
|
...RestText,
|
|
70
55
|
]);
|
|
71
56
|
|
|
72
|
-
/**
|
|
73
|
-
* Preserves whitespace at the last position as <code> </code>
|
|
74
|
-
* @param str A string to escape
|
|
75
|
-
*/
|
|
76
|
-
const escapeLast = (str: string): string => str && (str.slice(0, -1) + '\xa0');
|
|
77
|
-
/**
|
|
78
|
-
* Preserves whitespace at the first position as <code> </code>
|
|
79
|
-
* @param str A string to escape
|
|
80
|
-
*/
|
|
81
|
-
const escapeFirst = (str: string): string => str && ('\xa0' + str.slice(1));
|
|
82
|
-
|
|
83
57
|
// State
|
|
84
58
|
const mainText = computed(() => {
|
|
85
59
|
if (props.sliceIndex) {
|
|
86
|
-
|
|
87
|
-
if (mainPart[mainPart.length - 1] === ' ') {
|
|
88
|
-
mainPart = escapeLast(mainPart);
|
|
89
|
-
}
|
|
90
|
-
return mainPart;
|
|
60
|
+
return props.text.slice(0, Math.abs(props.sliceIndex) * -1);
|
|
91
61
|
}
|
|
92
62
|
|
|
93
63
|
return props.text;
|
|
94
64
|
});
|
|
95
65
|
|
|
96
66
|
const restText = computed(() => {
|
|
97
|
-
|
|
98
|
-
if (restPart[0] === ' ') {
|
|
99
|
-
restPart = escapeFirst(restPart);
|
|
100
|
-
}
|
|
101
|
-
return restPart;
|
|
67
|
+
return props.text.slice(mainText.value.length);
|
|
102
68
|
});
|
|
103
69
|
|
|
104
70
|
return {
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue';
|
|
2
|
-
|
|
3
|
-
const TextRoot = [
|
|
4
|
-
// Layout
|
|
5
|
-
'inline-flex',
|
|
6
|
-
// Box
|
|
7
|
-
'max-w-full',
|
|
8
|
-
// Typography
|
|
9
|
-
'whitespace-nowrap'];
|
|
10
|
-
const MainText = [
|
|
11
|
-
// Layout
|
|
12
|
-
'overflow-hidden',
|
|
13
|
-
// Typography
|
|
14
|
-
'text-ellipsis'];
|
|
15
|
-
const RestText = [
|
|
16
|
-
// Layout
|
|
17
|
-
'shrink'];
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Use `OrText` component to crop un-wrapped single-line text with ellipsis inside narrow containers.
|
|
21
|
-
* Ellipsis can be placed in the end or in the middle of the text. Convenient for displaying long labels,
|
|
22
|
-
* that have same beginning and differ in the ending part.
|
|
23
|
-
*/
|
|
24
|
-
var script = defineComponent({
|
|
25
|
-
name: 'OrText',
|
|
26
|
-
props: {
|
|
27
|
-
/**
|
|
28
|
-
* Text to crop.
|
|
29
|
-
*/
|
|
30
|
-
text: {
|
|
31
|
-
type: String,
|
|
32
|
-
required: true
|
|
33
|
-
},
|
|
34
|
-
/**
|
|
35
|
-
* The index counted from the end of the string where ellipsis will be placed.
|
|
36
|
-
* Defines how many ending characters will remain visible.
|
|
37
|
-
* By default, ellipsis is placed in the end of the line.
|
|
38
|
-
*
|
|
39
|
-
* Note: Negative values behave same as corresponding positives still counting from the end of the line.
|
|
40
|
-
*/
|
|
41
|
-
sliceIndex: {
|
|
42
|
-
type: Number,
|
|
43
|
-
default: 0
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
expose: ['root'],
|
|
47
|
-
setup(props) {
|
|
48
|
-
// Refs
|
|
49
|
-
const root = ref();
|
|
50
|
-
// Styles
|
|
51
|
-
const rootStyles = computed(() => ['or-text', ...TextRoot]);
|
|
52
|
-
const mainTextStyles = computed(() => [...MainText]);
|
|
53
|
-
const restTextStyles = computed(() => [...RestText]);
|
|
54
|
-
/**
|
|
55
|
-
* Preserves whitespace at the last position as <code> </code>
|
|
56
|
-
* @param str A string to escape
|
|
57
|
-
*/
|
|
58
|
-
const escapeLast = str => str && str.slice(0, -1) + '\xa0';
|
|
59
|
-
/**
|
|
60
|
-
* Preserves whitespace at the first position as <code> </code>
|
|
61
|
-
* @param str A string to escape
|
|
62
|
-
*/
|
|
63
|
-
const escapeFirst = str => str && '\xa0' + str.slice(1);
|
|
64
|
-
// State
|
|
65
|
-
const mainText = computed(() => {
|
|
66
|
-
if (props.sliceIndex) {
|
|
67
|
-
let mainPart = props.text.slice(0, -Math.abs(props.sliceIndex));
|
|
68
|
-
if (mainPart[mainPart.length - 1] === ' ') {
|
|
69
|
-
mainPart = escapeLast(mainPart);
|
|
70
|
-
}
|
|
71
|
-
return mainPart;
|
|
72
|
-
}
|
|
73
|
-
return props.text;
|
|
74
|
-
});
|
|
75
|
-
const restText = computed(() => {
|
|
76
|
-
let restPart = props.text.slice(mainText.value.length);
|
|
77
|
-
if (restPart[0] === ' ') {
|
|
78
|
-
restPart = escapeFirst(restPart);
|
|
79
|
-
}
|
|
80
|
-
return restPart;
|
|
81
|
-
});
|
|
82
|
-
return {
|
|
83
|
-
root,
|
|
84
|
-
rootStyles,
|
|
85
|
-
mainTextStyles,
|
|
86
|
-
restTextStyles,
|
|
87
|
-
mainText,
|
|
88
|
-
restText
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
export { script as s };
|