@onereach/ui-components 4.11.1 → 4.11.3-beta.2972.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/components/OrCardCollectionV3/OrCardCollection.js +22 -59
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +2 -25
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +5 -4
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +6 -5
- package/dist/bundled/v2/components/OrCardCollectionV3/types.d.ts +0 -4
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v2/components/OrFabV3/OrFab.vue.d.ts +5 -5
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +6 -1
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.vue.d.ts +11 -0
- package/dist/bundled/v2/components/OrMenuItemV3/styles.js +3 -1
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +21 -20
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.vue.d.ts +5 -5
- package/dist/bundled/v2/components/OrSidebarV3/props.d.ts +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/props.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/styles.js +10 -12
- package/dist/bundled/v2/components/OrSortingV3/OrSortingV3.js +148 -0
- package/dist/bundled/v2/components/OrSortingV3/OrSortingV3.vue.d.ts +63 -0
- package/dist/bundled/v2/components/OrSortingV3/index.d.ts +2 -0
- package/dist/bundled/v2/components/OrSortingV3/index.js +33 -0
- package/dist/bundled/v2/components/OrSortingV3/types.d.ts +4 -0
- package/dist/bundled/v2/components/OrSortingV3/types.js +1 -0
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +2 -1
- package/dist/bundled/v2/index.js +3 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-c7d9f452.js → OrCardCollection.vue_vue_type_script_lang-a833fe48.js} +6 -31
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-22c66c0d.js → OrCode.vue_vue_type_script_lang-ec51e1e8.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-88d3aeda.js → OrConfirm.vue_vue_type_script_lang-2f107000.js} +1 -1
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-80de9d3a.js → OrDatePicker.vue_vue_type_script_lang-17a4f0de.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-300f009d.js → OrDateTimePicker.vue_vue_type_script_lang-eae6683b.js} +2 -2
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-44038b6b.js → OrDateTimePickerMonthSelect-14136fbd.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-41792494.js → OrIconButton.vue_vue_type_script_lang-42887e92.js} +5 -0
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-fec60585.js → OrInlineInput.vue_vue_type_script_lang-13269054.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-4265a2a2.js → OrInlineTextarea.vue_vue_type_script_lang-3a251a7b.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-0b8a2b69.js → OrInput.vue_vue_type_script_lang-73c33e2e.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-e00165f1.js → OrModal.vue_vue_type_script_lang-5397e0dd.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-9d3dd0d9.js → OrNotification.vue_vue_type_script_lang-a0b4041e.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-cf545aab.js → OrPagination.vue_vue_type_script_lang-29423a33.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-3fa2209d.js → OrSearch.vue_vue_type_script_lang-143806cd.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-b11ea2e9.js → OrSelect.vue_vue_type_script_lang-cd8928f7.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-55f0db3b.js → OrSidebar.vue_vue_type_script_lang-9298b6e0.js} +22 -22
- package/dist/bundled/v3/OrSortingV3.vue_vue_type_script_lang-9e8ccd25.js +61 -0
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-9072248f.js → OrTabs.vue_vue_type_script_lang-ca608c74.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-640a19c4.js → OrTag.vue_vue_type_script_lang-47c6bbdc.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-67c8d12f.js → OrTagInput.vue_vue_type_script_lang-c2fc7f9a.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-18b7221b.js → OrTags.vue_vue_type_script_lang-425bb731.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-5c88aee4.js → OrTimePicker.vue_vue_type_script_lang-c00997fc.js} +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +25 -50
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.vue.d.ts +2 -5
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +12 -10
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +6 -5
- package/dist/bundled/v3/components/OrCardCollectionV3/types.d.ts +0 -4
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +4 -4
- package/dist/bundled/v3/components/OrCodeV3/index.js +3 -3
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +4 -4
- package/dist/bundled/v3/components/OrConfirmV3/index.js +3 -3
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +5 -5
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +4 -4
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +5 -5
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +4 -4
- package/dist/bundled/v3/components/OrFabV3/OrFab.vue.d.ts +3 -3
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +3 -3
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.vue.d.ts +9 -0
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +3 -3
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +3 -3
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +2 -2
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +3 -3
- package/dist/bundled/v3/components/OrInputV3/index.js +2 -2
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +2 -2
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.js +3 -1
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +3 -3
- package/dist/bundled/v3/components/OrModalV3/index.js +2 -2
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +3 -3
- package/dist/bundled/v3/components/OrNotificationV3/index.js +2 -2
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +3 -3
- package/dist/bundled/v3/components/OrPaginationV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +4 -4
- package/dist/bundled/v3/components/OrSearchV3/index.js +3 -3
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +6 -6
- package/dist/bundled/v3/components/OrSelectV3/index.js +5 -5
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +5 -5
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.vue.d.ts +3 -3
- package/dist/bundled/v3/components/OrSidebarV3/index.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/props.d.ts +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/props.js +2 -2
- package/dist/bundled/v3/components/OrSidebarV3/styles.js +10 -12
- package/dist/bundled/v3/components/OrSortingV3/OrSortingV3.js +82 -0
- package/dist/bundled/v3/components/OrSortingV3/OrSortingV3.vue.d.ts +33 -0
- package/dist/bundled/v3/components/OrSortingV3/index.d.ts +2 -0
- package/dist/bundled/v3/components/OrSortingV3/index.js +41 -0
- package/dist/bundled/v3/components/OrSortingV3/types.d.ts +4 -0
- package/dist/bundled/v3/components/OrSortingV3/types.js +1 -0
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +3 -3
- package/dist/bundled/v3/components/OrTabsV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +5 -5
- package/dist/bundled/v3/components/OrTagInputV3/index.js +4 -4
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +3 -3
- package/dist/bundled/v3/components/OrTagV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +4 -4
- package/dist/bundled/v3/components/OrTagsV3/index.js +3 -3
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +3 -3
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +3 -3
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +1 -1
- package/dist/bundled/v3/components/OrToastV3/index.js +2 -2
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +26 -24
- package/dist/bundled/v3/index.js +29 -27
- package/dist/esm/v2/{OrCardCollection-779ba7ca.js → OrCardCollection-ad88e198.js} +22 -63
- package/dist/esm/v2/{OrCode-26295220.js → OrCode-8d30c597.js} +2 -2
- package/dist/esm/v2/{OrConfirm-cda74328.js → OrConfirm-1cf67ea8.js} +1 -1
- package/dist/esm/v2/{OrDatePicker-a4f95898.js → OrDatePicker-a4f4a69b.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-99d3445b.js → OrDateTimePicker-42a90a27.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-729b254d.js → OrDateTimePicker.vue_rollup-plugin-vue_script-ee1a0777.js} +2 -2
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-5fa89936.js → OrDateTimePickerPopoverHeader-482d6094.js} +2 -2
- package/dist/esm/v2/{OrIconButton-2ab8fa02.js → OrIconButton-e7517e6d.js} +6 -1
- package/dist/esm/v2/{OrInlineInput-0c62b3a6.js → OrInlineInput-82238b67.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-c24708a7.js → OrInlineTextarea-e79cfec1.js} +1 -1
- package/dist/esm/v2/{OrInput-dcb61699.js → OrInput-1517ccef.js} +1 -1
- package/dist/esm/v2/{OrMenuItem-6f9b8a93.js → OrMenuItem-c70cff8b.js} +3 -1
- package/dist/esm/v2/{OrModal-abc3b1d9.js → OrModal-af72eb54.js} +1 -1
- package/dist/esm/v2/{OrNotification-5b7028d7.js → OrNotification-eaf8a4b4.js} +1 -1
- package/dist/esm/v2/{OrPagination-4ece4568.js → OrPagination-fe81f687.js} +1 -1
- package/dist/esm/v2/{OrSearch-879c7656.js → OrSearch-f5258a9f.js} +1 -1
- package/dist/esm/v2/{OrSelect-01d61a9a.js → OrSelect-2a1e2171.js} +3 -3
- package/dist/esm/v2/{OrSidebar-bd385865.js → OrSidebar-15fc8f69.js} +19 -22
- package/dist/esm/v2/{OrSidebarCollapseButton-49da331a.js → OrSidebarCollapseButton-6a8079ea.js} +16 -12
- package/dist/esm/v2/OrSortingV3-0c8d3268.js +123 -0
- package/dist/esm/v2/{OrTabs-f9c88893.js → OrTabs-1f6ce605.js} +1 -1
- package/dist/esm/v2/{OrTag-2b9e664b.js → OrTag-d619ed2b.js} +1 -1
- package/dist/esm/v2/{OrTagInput-1548f007.js → OrTagInput-32ad4c5e.js} +2 -2
- package/dist/esm/v2/{OrTags-25a70212.js → OrTags-cf65a7fa.js} +1 -1
- package/dist/esm/v2/{OrTimePicker-9c9a44bc.js → OrTimePicker-6a9e6c50.js} +3 -3
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +26 -25
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -25
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -10
- package/dist/esm/v2/components/or-card-collection-v3/types.d.ts +0 -4
- package/dist/esm/v2/components/or-code-v3/index.js +3 -3
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-fab-v3/OrFab.vue.d.ts +5 -5
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/index.js +5 -5
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +5 -5
- package/dist/esm/v2/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.d.ts +1 -1
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +2 -2
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-sidebar-v3/props.d.ts +2 -2
- package/dist/esm/v2/components/or-sorting-v3/OrSortingV3.vue.d.ts +63 -0
- package/dist/esm/v2/components/or-sorting-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-sorting-v3/index.js +20 -0
- package/dist/esm/v2/components/or-sorting-v3/types.d.ts +4 -0
- package/dist/esm/v2/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-tags-v3/index.js +3 -3
- package/dist/esm/v2/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v2/index.js +26 -25
- package/dist/esm/v2/{types-a74e1e20.js → types-f010f8b9.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-4516594a.js → OrCardCollection-655431a8.js} +23 -72
- package/dist/esm/v3/{OrCode-0c2310e5.js → OrCode-d36e4b44.js} +2 -2
- package/dist/esm/v3/{OrConfirm-240cfe0a.js → OrConfirm-6c4a7b89.js} +1 -1
- package/dist/esm/v3/{OrDatePicker-f4470d79.js → OrDatePicker-0d01feb7.js} +2 -2
- package/dist/esm/v3/{OrDateTimePicker-546c15ec.js → OrDateTimePicker-2c5de2e5.js} +2 -2
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-96a38b4b.js → OrDateTimePickerPopoverHeader-774c3a4f.js} +2 -2
- package/dist/esm/v3/{OrIconButton-00f8f0c7.js → OrIconButton-0edf0894.js} +6 -1
- package/dist/esm/v3/{OrInlineInput-4d47d731.js → OrInlineInput-b88c01a6.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-1415bed9.js → OrInlineTextarea-71e96e67.js} +1 -1
- package/dist/esm/v3/{OrInput-f0e12c81.js → OrInput-1fc808c0.js} +1 -1
- package/dist/esm/v3/{OrMenuItem-dbee450f.js → OrMenuItem-5d14ee25.js} +3 -1
- package/dist/esm/v3/{OrModal-6a90ea79.js → OrModal-53d4af81.js} +1 -1
- package/dist/esm/v3/{OrNotification-117f2dcb.js → OrNotification-42c3a0ec.js} +1 -1
- package/dist/esm/v3/{OrPagination-858337d1.js → OrPagination-98319a31.js} +1 -1
- package/dist/esm/v3/{OrSearch-051adc07.js → OrSearch-e690aff6.js} +1 -1
- package/dist/esm/v3/{OrSelect-b3885148.js → OrSelect-66a6aae2.js} +3 -3
- package/dist/esm/v3/{OrSidebar-47f9d02a.js → OrSidebar-dd7c025b.js} +18 -21
- package/dist/esm/v3/{OrSidebarCollapseButton-86dafbbc.js → OrSidebarCollapseButton-2792a2b4.js} +19 -16
- package/dist/esm/v3/OrSortingV3-bbf11809.js +99 -0
- package/dist/esm/v3/{OrTabs-52e49d84.js → OrTabs-7024930f.js} +1 -1
- package/dist/esm/v3/{OrTag-9adef1cd.js → OrTag-51add0ef.js} +1 -1
- package/dist/esm/v3/{OrTagInput-63d0f5fb.js → OrTagInput-ca1811f7.js} +2 -2
- package/dist/esm/v3/{OrTags-d7a90658.js → OrTags-f6ecdb32.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-98c00a9b.js → OrTimePicker-8b9c0ad6.js} +3 -3
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +25 -24
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +2 -5
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -10
- package/dist/esm/v3/components/or-card-collection-v3/types.d.ts +0 -4
- package/dist/esm/v3/components/or-code-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-fab-v3/OrFab.vue.d.ts +3 -3
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +9 -0
- package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/index.js +5 -5
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/index.js +3 -3
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.d.ts +1 -1
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +2 -2
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-sidebar-v3/props.d.ts +2 -2
- package/dist/esm/v3/components/or-sorting-v3/OrSortingV3.vue.d.ts +33 -0
- package/dist/esm/v3/components/or-sorting-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-sorting-v3/index.js +19 -0
- package/dist/esm/v3/components/or-sorting-v3/types.d.ts +4 -0
- package/dist/esm/v3/components/or-tabs-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-tags-v3/index.js +3 -3
- package/dist/esm/v3/components/or-time-picker-v3/index.js +5 -5
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +2 -2
- package/dist/esm/v3/index.js +25 -24
- package/dist/esm/v3/{types-c78924f3.js → types-8d61f1d7.js} +1 -1
- package/package.json +2 -3
- package/src/components/index.ts +1 -0
- package/src/components/or-card-collection-v3/OrCardCollection.vue +11 -53
- package/src/components/or-card-collection-v3/styles.ts +6 -8
- package/src/components/or-card-collection-v3/types.ts +0 -5
- package/src/components/or-fab-v3/OrFab.vue +1 -1
- package/src/components/or-icon-button-v3/OrIconButton.vue +7 -1
- package/src/components/or-menu-item-v3/styles.ts +4 -0
- package/src/components/or-sidebar-v3/OrSidebar.vue +21 -13
- package/src/components/or-sidebar-v3/partials/index.ts +1 -1
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.vue +21 -14
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/styles.ts +2 -2
- package/src/components/or-sidebar-v3/props.ts +2 -2
- package/src/components/or-sidebar-v3/styles.ts +15 -10
- package/src/components/or-sorting-v3/OrSortingV3.vue +95 -0
- package/src/components/or-sorting-v3/index.ts +2 -0
- package/src/components/or-sorting-v3/types.ts +4 -0
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -18
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.d.ts +0 -1
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +0 -17
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/OrSidebarCollapseButton.stories3.ts +0 -48
- package/src/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.ts +0 -1
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-88a629fe.js → OrDateTimePickerMonthSelect-c2fc09bb.js} +0 -0
- /package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-b338d68a.js → OrMenuItem.vue_vue_type_script_lang-aed2c8e6.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-7d44207e.js → OrToastContainer.vue_vue_type_script_lang-b2b61918.js} +0 -0
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$
|
|
3
|
-
import { _ as __vue_component__$
|
|
4
|
-
import { _ as __vue_component__$6 } from './OrIcon-d35a84d8.js';
|
|
5
|
-
import { _ as __vue_component__$5 } from './OrMenuItem-6f9b8a93.js';
|
|
6
|
-
import { _ as __vue_component__$4 } from './OrMenu-6b3de1c1.js';
|
|
7
|
-
import './OrPopover-71380b24.js';
|
|
8
|
-
import { _ as __vue_component__$7 } from './OrSearch-879c7656.js';
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-e7517e6d.js';
|
|
3
|
+
import { _ as __vue_component__$4 } from './OrSearch-f5258a9f.js';
|
|
9
4
|
import './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
10
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
|
+
import { _ as __vue_component__$3 } from './OrSortingV3-0c8d3268.js';
|
|
11
7
|
|
|
12
8
|
const CardCollectionRoot = [
|
|
13
9
|
// Layout
|
|
14
10
|
'layout-column',
|
|
15
11
|
// Spacing
|
|
16
|
-
'gap-md', 'max-h-full'
|
|
17
|
-
// Overflow
|
|
18
|
-
'overflow-hidden'];
|
|
12
|
+
'gap-md', 'max-h-full'];
|
|
19
13
|
const CardCollectionToolbar = [
|
|
20
14
|
// Layout
|
|
21
15
|
'layout-row justify-between',
|
|
@@ -34,11 +28,14 @@ const CardCollectionContent = [
|
|
|
34
28
|
// Spacing
|
|
35
29
|
'gap-sm md:gap-md',
|
|
36
30
|
// Overflow
|
|
37
|
-
'overflow-auto'
|
|
31
|
+
'overflow-y-auto', 'p-xs*', '-m-xs*'
|
|
32
|
+
// '-mr-sm*',
|
|
33
|
+
];
|
|
34
|
+
|
|
38
35
|
const CardCollectionContentViews = {
|
|
39
36
|
'grid': [
|
|
40
37
|
// Layout
|
|
41
|
-
'
|
|
38
|
+
'grid-cols-1', 'md:grid-cols-5'],
|
|
42
39
|
'list': ['grid-cols-1']
|
|
43
40
|
};
|
|
44
41
|
|
|
@@ -122,11 +119,8 @@ var script = defineComponent({
|
|
|
122
119
|
components: {
|
|
123
120
|
OrCardCollectionView: __vue_component__$1,
|
|
124
121
|
OrIconButton: __vue_component__$2,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
OrMenuItem: __vue_component__$5,
|
|
128
|
-
OrIcon: __vue_component__$6,
|
|
129
|
-
OrSearch: __vue_component__$7
|
|
122
|
+
OrSorting: __vue_component__$3,
|
|
123
|
+
OrSearch: __vue_component__$4
|
|
130
124
|
},
|
|
131
125
|
props: {
|
|
132
126
|
items: {
|
|
@@ -167,8 +161,6 @@ var script = defineComponent({
|
|
|
167
161
|
setup(props, context) {
|
|
168
162
|
// Refs
|
|
169
163
|
const root = ref();
|
|
170
|
-
const sortMenu = ref();
|
|
171
|
-
const sortButton = ref();
|
|
172
164
|
// Styles
|
|
173
165
|
const rootStyles = computed(() => ['or-card-collection-v3', ...CardCollectionRoot]);
|
|
174
166
|
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
@@ -179,15 +171,11 @@ var script = defineComponent({
|
|
|
179
171
|
});
|
|
180
172
|
// State
|
|
181
173
|
const proxyView = ref(props.view);
|
|
182
|
-
const proxySort = ref(props.sort);
|
|
183
174
|
const proxySearch = ref(props.search);
|
|
184
175
|
// Methods
|
|
185
176
|
function switchView(view) {
|
|
186
177
|
proxyView.value = view;
|
|
187
178
|
}
|
|
188
|
-
function handleSort(sort) {
|
|
189
|
-
proxySort.value = sort;
|
|
190
|
-
}
|
|
191
179
|
function handleSearch(search) {
|
|
192
180
|
proxySearch.value = search;
|
|
193
181
|
}
|
|
@@ -198,12 +186,6 @@ var script = defineComponent({
|
|
|
198
186
|
watch(proxyView, value => {
|
|
199
187
|
context.emit('viewChange', value);
|
|
200
188
|
});
|
|
201
|
-
watch(() => props.sort, value => {
|
|
202
|
-
proxySort.value = value;
|
|
203
|
-
});
|
|
204
|
-
watch(proxySort, value => {
|
|
205
|
-
context.emit('sortChange', value);
|
|
206
|
-
});
|
|
207
189
|
watch(() => props.search, value => {
|
|
208
190
|
proxySearch.value = value;
|
|
209
191
|
});
|
|
@@ -212,17 +194,13 @@ var script = defineComponent({
|
|
|
212
194
|
});
|
|
213
195
|
return {
|
|
214
196
|
root,
|
|
215
|
-
sortMenu,
|
|
216
|
-
sortButton,
|
|
217
197
|
rootStyles,
|
|
218
198
|
toolbarStyles,
|
|
219
199
|
toolbarPanelStyles,
|
|
220
200
|
proxyView,
|
|
221
|
-
proxySort,
|
|
222
201
|
proxySearch,
|
|
223
202
|
sortLabel,
|
|
224
203
|
switchView,
|
|
225
|
-
handleSort,
|
|
226
204
|
handleSearch
|
|
227
205
|
};
|
|
228
206
|
}
|
|
@@ -243,44 +221,24 @@ var __vue_render__ = function () {
|
|
|
243
221
|
class: _vm.toolbarStyles
|
|
244
222
|
}, [_c('div', {
|
|
245
223
|
class: _vm.toolbarPanelStyles
|
|
246
|
-
}, [_vm.sortOptions.length ? [_c('
|
|
247
|
-
ref: "sortButton",
|
|
224
|
+
}, [_vm.sortOptions.length ? [_c('OrSorting', {
|
|
248
225
|
attrs: {
|
|
249
|
-
"
|
|
250
|
-
"
|
|
226
|
+
"sort": _vm.sort,
|
|
227
|
+
"options": _vm.sortOptions
|
|
251
228
|
},
|
|
252
229
|
on: {
|
|
253
|
-
"
|
|
254
|
-
return _vm
|
|
230
|
+
"change": function ($event) {
|
|
231
|
+
return _vm.$emit('sortChange', $event);
|
|
255
232
|
}
|
|
256
233
|
}
|
|
257
|
-
}
|
|
258
|
-
attrs: {
|
|
259
|
-
"icon": _vm.sortMenu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
260
|
-
}
|
|
261
|
-
}) : _vm._e()], 1), _vm._v(" "), _c('OrMenu', {
|
|
262
|
-
ref: "sortMenu",
|
|
263
|
-
attrs: {
|
|
264
|
-
"trigger": _vm.sortButton && _vm.sortButton.root
|
|
265
|
-
}
|
|
266
|
-
}, _vm._l(_vm.sortOptions, function (sortItem) {
|
|
267
|
-
return _c('OrMenuItem', {
|
|
268
|
-
key: sortItem,
|
|
269
|
-
on: {
|
|
270
|
-
"click": function ($event) {
|
|
271
|
-
return _vm.handleSort(sortItem.value);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}, [_vm._v("\n " + _vm._s(sortItem.label) + "\n ")]);
|
|
275
|
-
}), 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
234
|
+
})] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
276
235
|
class: _vm.toolbarPanelStyles
|
|
277
236
|
}, [_c('OrSearch', {
|
|
278
237
|
staticClass: "md:w-[350px]",
|
|
279
238
|
attrs: {
|
|
280
239
|
"model-value": _vm.proxySearch,
|
|
281
240
|
"placeholder": _vm.searchPlaceholder,
|
|
282
|
-
"debounce": _vm.searchDebounce
|
|
283
|
-
"size": "s"
|
|
241
|
+
"debounce": _vm.searchDebounce
|
|
284
242
|
},
|
|
285
243
|
on: {
|
|
286
244
|
"search": _vm.handleSearch
|
|
@@ -291,10 +249,11 @@ var __vue_render__ = function () {
|
|
|
291
249
|
return _c('OrIconButton', {
|
|
292
250
|
key: viewOption.view,
|
|
293
251
|
attrs: {
|
|
252
|
+
"size": "l",
|
|
294
253
|
"icon": {
|
|
295
|
-
icon: viewOption.icon
|
|
296
|
-
|
|
297
|
-
|
|
254
|
+
icon: viewOption.icon
|
|
255
|
+
},
|
|
256
|
+
"selected": viewOption.view === _vm.proxyView
|
|
298
257
|
},
|
|
299
258
|
on: {
|
|
300
259
|
"click": function ($event) {
|
|
@@ -15,11 +15,11 @@ import { u as useTheme } from './useTheme-e23d13c8.js';
|
|
|
15
15
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
16
16
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
17
17
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
18
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
18
|
+
import { _ as __vue_component__$3 } from './OrIconButton-e7517e6d.js';
|
|
19
19
|
import { _ as __vue_component__$4 } from './OrInputBox-11227ecd.js';
|
|
20
20
|
import './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
21
21
|
import { _ as __vue_component__$5 } from './OrLabel-63380256.js';
|
|
22
|
-
import { _ as __vue_component__$6 } from './OrModal-
|
|
22
|
+
import { _ as __vue_component__$6 } from './OrModal-af72eb54.js';
|
|
23
23
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
24
24
|
|
|
25
25
|
var CodeLanguage;
|
|
@@ -5,7 +5,7 @@ import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-9622e713.js';
|
|
8
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
8
|
+
import { _ as __vue_component__$3 } from './OrInput-1517ccef.js';
|
|
9
9
|
import { _ as __vue_component__$1 } from './OrOverlay-948346df.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
11
|
|
|
@@ -4,10 +4,10 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
7
|
+
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-482d6094.js';
|
|
8
8
|
import { _ as __vue_component__$7 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$8 } from './OrHint-aa221198.js';
|
|
10
|
-
import { _ as __vue_component__$a } from './OrIconButton-
|
|
10
|
+
import { _ as __vue_component__$a } from './OrIconButton-e7517e6d.js';
|
|
11
11
|
import { _ as __vue_component__$9 } from './OrIcon-d35a84d8.js';
|
|
12
12
|
import { _ as __vue_component__$b } from './OrInputBox-11227ecd.js';
|
|
13
13
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
1
|
+
import { s as script } from './OrDateTimePicker.vue_rollup-plugin-vue_script-ee1a0777.js';
|
|
2
2
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
3
3
|
|
|
4
4
|
/* script */
|
|
@@ -6,13 +6,13 @@ import '@onereach/styles/tailwind.config';
|
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { _ as __vue_component__$9 } from './OrError-4ffc1c39.js';
|
|
8
8
|
import { _ as __vue_component__$a } from './OrHint-aa221198.js';
|
|
9
|
-
import { _ as __vue_component__$c } from './OrIconButton-
|
|
9
|
+
import { _ as __vue_component__$c } from './OrIconButton-e7517e6d.js';
|
|
10
10
|
import { _ as __vue_component__$b } from './OrIcon-d35a84d8.js';
|
|
11
11
|
import { _ as __vue_component__$d } from './OrInputBox-11227ecd.js';
|
|
12
12
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
13
13
|
import { _ as __vue_component__$e } from './OrLabel-63380256.js';
|
|
14
14
|
import { _ as __vue_component__$f } from './OrPopover-71380b24.js';
|
|
15
|
-
import { _ as __vue_component__$3, a as __vue_component__$4, b as __vue_component__$5, c as __vue_component__$6, d as __vue_component__$7, e as __vue_component__$8, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
15
|
+
import { _ as __vue_component__$3, a as __vue_component__$4, b as __vue_component__$5, c as __vue_component__$6, d as __vue_component__$7, e as __vue_component__$8, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-482d6094.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
import { _ as __vue_component__$2 } from './OrButton-9622e713.js';
|
|
18
18
|
|
|
@@ -6,9 +6,9 @@ import 'tailwindcss/resolveConfig';
|
|
|
6
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
7
7
|
import { _ as __vue_component__$6 } from './OrButton-9622e713.js';
|
|
8
8
|
import { _ as __vue_component__$7 } from './OrLabel-63380256.js';
|
|
9
|
-
import { _ as __vue_component__$9 } from './OrIconButton-
|
|
9
|
+
import { _ as __vue_component__$9 } from './OrIconButton-e7517e6d.js';
|
|
10
10
|
import { _ as __vue_component__$8 } from './OrIcon-d35a84d8.js';
|
|
11
|
-
import { _ as __vue_component__$b } from './OrMenuItem-
|
|
11
|
+
import { _ as __vue_component__$b } from './OrMenuItem-c70cff8b.js';
|
|
12
12
|
import { _ as __vue_component__$a } from './OrMenu-6b3de1c1.js';
|
|
13
13
|
import './OrPopover-71380b24.js';
|
|
14
14
|
|
|
@@ -68,6 +68,11 @@ var script = defineComponent({
|
|
|
68
68
|
},
|
|
69
69
|
inheritAttrs: false,
|
|
70
70
|
props: {
|
|
71
|
+
// TODO: Remove after migration to Vue 3
|
|
72
|
+
additionalStyles: {
|
|
73
|
+
type: Array,
|
|
74
|
+
default: () => []
|
|
75
|
+
},
|
|
71
76
|
icon: {
|
|
72
77
|
type: [String, Object],
|
|
73
78
|
required: true
|
|
@@ -120,7 +125,7 @@ var __vue_render__ = function () {
|
|
|
120
125
|
text: _vm.tooltip
|
|
121
126
|
} : _vm.tooltip, false), [_c('button', _vm._g(_vm._b({
|
|
122
127
|
ref: "root",
|
|
123
|
-
class: _vm.rootStyles,
|
|
128
|
+
class: [_vm.rootStyles].concat(_vm.additionalStyles),
|
|
124
129
|
attrs: {
|
|
125
130
|
"type": 'button',
|
|
126
131
|
"selected": _vm.selected ? '' : null,
|
|
@@ -7,7 +7,7 @@ import 'tailwindcss/resolveConfig';
|
|
|
7
7
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
8
8
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
10
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
10
|
+
import { _ as __vue_component__$3 } from './OrIconButton-e7517e6d.js';
|
|
11
11
|
import { _ as __vue_component__$4, I as InlineInputBoxSize } from './OrInlineInputBox-19b49ee6.js';
|
|
12
12
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
13
13
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -7,7 +7,7 @@ import 'tailwindcss/resolveConfig';
|
|
|
7
7
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
8
8
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
10
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
10
|
+
import { _ as __vue_component__$3 } from './OrIconButton-e7517e6d.js';
|
|
11
11
|
import { _ as __vue_component__$4 } from './OrInlineInputBox-19b49ee6.js';
|
|
12
12
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
13
13
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -8,7 +8,7 @@ import 'tailwindcss/resolveConfig';
|
|
|
8
8
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
9
9
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
10
10
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
11
|
-
import { _ as __vue_component__$4 } from './OrIconButton-
|
|
11
|
+
import { _ as __vue_component__$4 } from './OrIconButton-e7517e6d.js';
|
|
12
12
|
import { _ as __vue_component__$3 } from './OrIcon-d35a84d8.js';
|
|
13
13
|
import { _ as __vue_component__$5 } from './OrInputBox-11227ecd.js';
|
|
14
14
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
@@ -16,7 +16,9 @@ const MenuItemRoot = [
|
|
|
16
16
|
// Theme
|
|
17
17
|
'theme-preset-3-primary', 'dark:theme-preset-3-primary-dark', 'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
18
18
|
// Theme (hover)
|
|
19
|
-
'hover:theme-foreground-default', 'dark:hover:theme-foreground-default-dark'
|
|
19
|
+
'hover:theme-foreground-default', 'dark:hover:theme-foreground-default-dark',
|
|
20
|
+
// Typography (selected)
|
|
21
|
+
'selected:text-on-background dark:selected:text-on-background-dark'];
|
|
20
22
|
|
|
21
23
|
var script = defineComponent({
|
|
22
24
|
name: 'OrMenuItem',
|
|
@@ -5,7 +5,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$5 } from './OrOverlay-948346df.js';
|
|
7
7
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
8
|
-
import { _ as __vue_component__$4 } from './OrIconButton-
|
|
8
|
+
import { _ as __vue_component__$4 } from './OrIconButton-e7517e6d.js';
|
|
9
9
|
|
|
10
10
|
const ModalContent = [
|
|
11
11
|
// Layout
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-e7517e6d.js';
|
|
3
3
|
import { _ as __vue_component__$1 } from './OrIcon-d35a84d8.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
@@ -6,7 +6,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
7
|
import { _ as __vue_component__$1 } from './OrButton-9622e713.js';
|
|
8
8
|
import { _ as __vue_component__$2 } from './OrIcon-d35a84d8.js';
|
|
9
|
-
import { _ as __vue_component__$4 } from './OrMenuItem-
|
|
9
|
+
import { _ as __vue_component__$4 } from './OrMenuItem-c70cff8b.js';
|
|
10
10
|
import { _ as __vue_component__$3 } from './OrMenu-6b3de1c1.js';
|
|
11
11
|
import './OrPopover-71380b24.js';
|
|
12
12
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { _ as __vue_component__$1 } from './OrInput-
|
|
3
|
+
import { _ as __vue_component__$1 } from './OrInput-1517ccef.js';
|
|
4
4
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
5
5
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
6
|
|
|
@@ -12,11 +12,11 @@ import { _ as __vue_component__$4 } from './OrHint-aa221198.js';
|
|
|
12
12
|
import { _ as __vue_component__$5 } from './OrIcon-d35a84d8.js';
|
|
13
13
|
import { _ as __vue_component__$7 } from './OrInputBox-11227ecd.js';
|
|
14
14
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-1715021a.js';
|
|
15
|
-
import { _ as __vue_component__$6 } from './OrInput-
|
|
15
|
+
import { _ as __vue_component__$6 } from './OrInput-1517ccef.js';
|
|
16
16
|
import { _ as __vue_component__$8 } from './OrLabel-63380256.js';
|
|
17
|
-
import { _ as __vue_component__$9 } from './OrMenuItem-
|
|
17
|
+
import { _ as __vue_component__$9 } from './OrMenuItem-c70cff8b.js';
|
|
18
18
|
import { _ as __vue_component__$a } from './OrPopover-71380b24.js';
|
|
19
|
-
import { _ as __vue_component__$b } from './OrTag-
|
|
19
|
+
import { _ as __vue_component__$b } from './OrTag-d619ed2b.js';
|
|
20
20
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
21
21
|
|
|
22
22
|
const SelectRoot = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
|
|
3
|
-
import {
|
|
3
|
+
import { _ as __vue_component__$1, O as OrSidebarPlacement } from './OrSidebarCollapseButton-6a8079ea.js';
|
|
4
4
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
5
|
|
|
6
6
|
const SidebarRoot = [
|
|
@@ -36,18 +36,18 @@ const SidebarToolbar = [
|
|
|
36
36
|
'text-outline', 'dark:text-outline-dark'];
|
|
37
37
|
const CollapsibleSidebarToolbar = ['pt-[56px]'];
|
|
38
38
|
const SidebarSides = {
|
|
39
|
-
|
|
39
|
+
'left': [
|
|
40
40
|
// Borders
|
|
41
41
|
'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
|
|
42
|
-
|
|
42
|
+
'right': [
|
|
43
43
|
// Borders
|
|
44
44
|
'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
|
|
45
45
|
};
|
|
46
46
|
const SidebarToolbarSides = {
|
|
47
|
-
|
|
47
|
+
'left': [
|
|
48
48
|
// Borders
|
|
49
49
|
'border-r-[1px]', 'border-r-solid', 'border-r-outline-variant dark:border-r-outline-variant-dark'],
|
|
50
|
-
|
|
50
|
+
'right': [
|
|
51
51
|
// Borders
|
|
52
52
|
'border-l-[1px]', 'border-l-solid', 'border-l-outline-variant dark:border-l-outline-variant-dark']
|
|
53
53
|
};
|
|
@@ -59,14 +59,14 @@ const SidebarResize = [
|
|
|
59
59
|
// Cursor
|
|
60
60
|
'cursor-ew-resize'];
|
|
61
61
|
const SidebarResizeSides = {
|
|
62
|
-
|
|
62
|
+
'left': [
|
|
63
63
|
// Position
|
|
64
64
|
'-right-[1px]',
|
|
65
65
|
// Borders
|
|
66
66
|
'hover:border-r-2', 'hover:border-r-primary-hover hover:dark:border-r-primary-hover-dark',
|
|
67
67
|
// Transition
|
|
68
68
|
'transition-[border-right]'],
|
|
69
|
-
|
|
69
|
+
'right': [
|
|
70
70
|
// Position
|
|
71
71
|
'-left-[1px]',
|
|
72
72
|
// Borders
|
|
@@ -78,18 +78,18 @@ const SidebarCollapseButton = [
|
|
|
78
78
|
// Position
|
|
79
79
|
'absolute', 'top-md', 'inset-y-none', 'z-[1]'];
|
|
80
80
|
const SidebarCollapseButtonSides = {
|
|
81
|
-
|
|
81
|
+
'left': [
|
|
82
82
|
// Position
|
|
83
83
|
'-right-[12px]'],
|
|
84
|
-
|
|
84
|
+
'right': [
|
|
85
85
|
// Position
|
|
86
86
|
'-left-[12px]']
|
|
87
87
|
};
|
|
88
88
|
const SidebarResizingSides = {
|
|
89
|
-
|
|
89
|
+
'left': [
|
|
90
90
|
// Borders
|
|
91
91
|
'border-r-2', 'border-r-primary-hover dark:border-r-primary-hover-dark'],
|
|
92
|
-
|
|
92
|
+
'right': [
|
|
93
93
|
// Borders
|
|
94
94
|
'border-l-2', 'border-l-primary-hover dark:border-l-primary-hover-dark']
|
|
95
95
|
};
|
|
@@ -145,7 +145,7 @@ var script = defineComponent({
|
|
|
145
145
|
*/
|
|
146
146
|
side: {
|
|
147
147
|
type: String,
|
|
148
|
-
default: OrSidebarPlacement.
|
|
148
|
+
default: OrSidebarPlacement.Right
|
|
149
149
|
},
|
|
150
150
|
draggable: {
|
|
151
151
|
type: Boolean,
|
|
@@ -158,10 +158,7 @@ var script = defineComponent({
|
|
|
158
158
|
},
|
|
159
159
|
emits: ['change:width', 'open', 'close'],
|
|
160
160
|
expose: ['root', 'open', 'close'],
|
|
161
|
-
setup(props,
|
|
162
|
-
let {
|
|
163
|
-
emit
|
|
164
|
-
} = _ref;
|
|
161
|
+
setup(props, context) {
|
|
165
162
|
// Refs
|
|
166
163
|
const root = ref();
|
|
167
164
|
const resizeBar = ref(null);
|
|
@@ -203,7 +200,7 @@ var script = defineComponent({
|
|
|
203
200
|
isResizing.value = true;
|
|
204
201
|
},
|
|
205
202
|
onMove: position => {
|
|
206
|
-
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.
|
|
203
|
+
const delta = (position.x - startPositionX.value) * (props.side === OrSidebarPlacement.Left ? -1 : 1);
|
|
207
204
|
const newWidth = localWidth.value - delta;
|
|
208
205
|
localWidth.value = newWidth > maximumWidth.value ? maximumWidth.value : newWidth < props.minimumWidth ? props.minimumWidth : newWidth;
|
|
209
206
|
startPositionX.value = position.x;
|
|
@@ -241,8 +238,8 @@ var script = defineComponent({
|
|
|
241
238
|
watch(maximumWidth, newMaximum => {
|
|
242
239
|
if (newMaximum < localWidth.value) localWidth.value = newMaximum;
|
|
243
240
|
});
|
|
244
|
-
watch(localWidth, val => emit('change:width', val));
|
|
245
|
-
watch(isCollapsed, val => emit(val ? 'close' : 'open'));
|
|
241
|
+
watch(localWidth, val => context.emit('change:width', val));
|
|
242
|
+
watch(isCollapsed, val => context.emit(val ? 'close' : 'open'));
|
|
246
243
|
return {
|
|
247
244
|
root,
|
|
248
245
|
resizeBar,
|
|
@@ -285,7 +282,7 @@ var __vue_render__ = function () {
|
|
|
285
282
|
}, [_vm.draggable && !_vm.isCollapsed ? _c('div', {
|
|
286
283
|
ref: "resizeBar",
|
|
287
284
|
class: _vm.resizeStyles
|
|
288
|
-
}) : _vm._e(), _vm._v(" "), _vm.collapsible ? _c('
|
|
285
|
+
}) : _vm._e(), _vm._v(" "), _vm.collapsible ? [_c('OrSidebarCollapseButton', {
|
|
289
286
|
class: _vm.collapsibleButtonStyles,
|
|
290
287
|
attrs: {
|
|
291
288
|
"side": _vm.side
|
|
@@ -297,7 +294,7 @@ var __vue_render__ = function () {
|
|
|
297
294
|
},
|
|
298
295
|
expression: "isCollapsed"
|
|
299
296
|
}
|
|
300
|
-
}) : _vm._e(), _vm._v(" "), _c('div', {
|
|
297
|
+
})] : _vm._e(), _vm._v(" "), _c('div', {
|
|
301
298
|
directives: [{
|
|
302
299
|
name: "show",
|
|
303
300
|
rawName: "v-show",
|
|
@@ -317,7 +314,7 @@ var __vue_render__ = function () {
|
|
|
317
314
|
expression: "!isCollapsed"
|
|
318
315
|
}],
|
|
319
316
|
class: _vm.footerStyles
|
|
320
|
-
}, [_vm._t("footer")], 2) : _vm._e()],
|
|
317
|
+
}, [_vm._t("footer")], 2) : _vm._e()], 2), _vm._v(" "), _vm.side === 'left' && _vm.isShowingToolbar ? _c('div', {
|
|
321
318
|
class: _vm.toolbarStyles
|
|
322
319
|
}, [_vm._t("toolbar")], 2) : _vm._e()]);
|
|
323
320
|
};
|
package/dist/esm/v2/{OrSidebarCollapseButton-49da331a.js → OrSidebarCollapseButton-6a8079ea.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$1 } from './OrIconButton-
|
|
2
|
+
import { _ as __vue_component__$1 } from './OrIconButton-e7517e6d.js';
|
|
3
3
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
4
4
|
|
|
5
5
|
var OrSidebarPlacement;
|
|
6
6
|
(function (OrSidebarPlacement) {
|
|
7
|
-
OrSidebarPlacement["
|
|
8
|
-
OrSidebarPlacement["
|
|
7
|
+
OrSidebarPlacement["Left"] = "left";
|
|
8
|
+
OrSidebarPlacement["Right"] = "right";
|
|
9
9
|
})(OrSidebarPlacement || (OrSidebarPlacement = {}));
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const CollapseButton = [
|
|
12
12
|
// Box
|
|
13
13
|
'w-[24px]', 'h-[24px]', 'rounded-full',
|
|
14
14
|
// Theme
|
|
15
15
|
'text-primary dark:text-primary-dark', 'bg-background dark:bg-background-dark'];
|
|
16
|
-
const
|
|
16
|
+
const CollapseButtonButton = [
|
|
17
17
|
// Box
|
|
18
18
|
'w-[24px]', 'h-[24px]', 'rounded-full',
|
|
19
19
|
// Typography
|
|
@@ -50,7 +50,7 @@ var script = defineComponent({
|
|
|
50
50
|
},
|
|
51
51
|
side: {
|
|
52
52
|
type: String,
|
|
53
|
-
default: OrSidebarPlacement.
|
|
53
|
+
default: OrSidebarPlacement.Right
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
emits: ['update:modelValue'],
|
|
@@ -58,9 +58,12 @@ var script = defineComponent({
|
|
|
58
58
|
setup(props) {
|
|
59
59
|
// Refs
|
|
60
60
|
const root = ref();
|
|
61
|
-
const rootStyles = computed(() => ['or-sidebar-collapse-button-v3', ...
|
|
62
|
-
const buttonStyles = computed(() => [...
|
|
63
|
-
|
|
61
|
+
const rootStyles = computed(() => ['or-sidebar-collapse-button-v3', ...CollapseButton]);
|
|
62
|
+
const buttonStyles = computed(() => [...CollapseButtonButton]);
|
|
63
|
+
// State
|
|
64
|
+
const icon = computed(() => {
|
|
65
|
+
return props.side === OrSidebarPlacement.Left !== props.modelValue ? 'keyboard_arrow_left' : 'keyboard_arrow_right';
|
|
66
|
+
});
|
|
64
67
|
return {
|
|
65
68
|
root,
|
|
66
69
|
rootStyles,
|
|
@@ -81,17 +84,18 @@ var __vue_render__ = function () {
|
|
|
81
84
|
return _c('div', {
|
|
82
85
|
ref: "root",
|
|
83
86
|
class: _vm.rootStyles
|
|
84
|
-
}, [_c('
|
|
85
|
-
class: _vm.buttonStyles,
|
|
87
|
+
}, [_c('OrIconButton', {
|
|
86
88
|
attrs: {
|
|
89
|
+
"additional-styles": _vm.buttonStyles,
|
|
87
90
|
"icon": {
|
|
88
91
|
icon: _vm.icon,
|
|
89
92
|
size: 'inherit'
|
|
90
93
|
},
|
|
91
|
-
"color":
|
|
94
|
+
"color": 'inherit'
|
|
92
95
|
},
|
|
93
96
|
on: {
|
|
94
97
|
"click": function ($event) {
|
|
98
|
+
$event.stopPropagation();
|
|
95
99
|
return _vm.$emit('update:modelValue', !_vm.modelValue);
|
|
96
100
|
}
|
|
97
101
|
}
|