@onereach/ui-components 8.19.2 → 8.19.3-beta.3975.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/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v2/components/OrDateRangePickerV3/OrDateRangePicker.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/OrEditorTabsV3/OrEditorTabs.js +329 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/OrEditorTabs.vue.d.ts +62 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/index.js +1 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/styles.d.ts +5 -0
- package/dist/bundled/v2/components/OrEditorTabsV3/styles.js +19 -0
- package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItem.js +25 -7
- package/dist/bundled/v2/components/OrMenuItemV3/OrMenuItem.vue.d.ts +11 -0
- package/dist/bundled/v2/components/OrMenuItemV3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/OrMenuItemV3/styles.js +2 -2
- 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/components/OrCardCollectionV3/OrCardCollection.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrCardCollectionV3-f757e81c.js → OrCardCollectionV3-feb7f0e9.js} +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/OrDateFormat.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDateFormatV3-b88a046a.js → OrDateFormatV3-2d345262.js} +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDatePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDatePickerV3-cf890376.js → OrDatePickerV3-6ad851c2.js} +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/OrDateRangePicker.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateRangePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDateRangePickerV3-9860ac68.js → OrDateRangePickerV3-e15c8aad.js} +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/OrDateTimeFormat.js +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimeFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrDateTimeFormatV3-970134b7.js → OrDateTimeFormatV3-a574a1fb.js} +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/props.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/formatTime.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getCurrentDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getDatePlaceholder.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getNextMonthDate.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/getTimePlaceholder.js +1 -1
- package/dist/bundled/v3/components/OrDateTimePickerV3/utils/index.js +1 -1
- package/dist/bundled/v3/components/{OrDateTimePickerV3-cb582ca0.js → OrDateTimePickerV3-7406fd30.js} +1 -1
- package/dist/bundled/v3/components/OrEditorTabsV3/OrEditorTabs.js +1 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/OrEditorTabs.vue.d.ts +42 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/index.js +1 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/styles.d.ts +5 -0
- package/dist/bundled/v3/components/OrEditorTabsV3/styles.js +1 -0
- package/dist/bundled/v3/components/OrEditorTabsV3-f416d174.js +279 -0
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.js +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/OrMenuItem.vue.d.ts +11 -1
- package/dist/bundled/v3/components/OrMenuItemV3/index.js +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/OrMenuItemV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrMenuItemV3-7b557536.js → OrMenuItemV3-4ad38b95.js} +28 -12
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrPaginationV3-4ea5bc9f.js → OrPaginationV3-a8f7deed.js} +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +1 -1
- package/dist/bundled/v3/components/{OrRichTextEditorV3-46b9246b.js → OrRichTextEditorV3-7958678a.js} +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrSelectV3-c604ca91.js → OrSelectV3-420bee16.js} +1 -1
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +1 -1
- package/dist/bundled/v3/components/OrSortingV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSortingV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrSortingV3-c2d7e14c.js → OrSortingV3-34a9c5c2.js} +1 -1
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTabsV3-d1028c81.js → OrTabsV3-4137df11.js} +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/OrTimeFormat.js +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTimeFormatV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimeFormatV3-2734e8fa.js → OrTimeFormatV3-31a6392c.js} +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTimePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimePickerV3-281585a5.js → OrTimePickerV3-798d4777.js} +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/OrTimeRangePicker.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimeRangePickerV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTimeRangePickerV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTimeRangePickerV3-195df692.js → OrTimeRangePickerV3-488d5544.js} +1 -1
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +16 -15
- package/dist/bundled/v3/index.js +17 -16
- package/dist/esm/v2/{OrCardCollection-d82b4dd0.js → OrCardCollection-db39a325.js} +1 -1
- package/dist/esm/v2/{OrDateFormat-5e3b12fc.js → OrDateFormat-752fc779.js} +2 -2
- package/dist/esm/v2/{OrDatePicker-0a22ea42.js → OrDatePicker-25b3e281.js} +2 -2
- package/dist/esm/v2/{OrDateRangePicker-14e9413a.js → OrDateRangePicker-5803dc91.js} +2 -2
- package/dist/esm/v2/{OrDateTimeFormat-30e78da3.js → OrDateTimeFormat-d6767984.js} +2 -2
- package/dist/esm/v2/{OrDateTimePicker-c95b1582.js → OrDateTimePicker-43588e11.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-4f842ab1.js → OrDateTimePicker.vue_rollup-plugin-vue_script-82dc45be.js} +1 -1
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-441799e2.js → OrDateTimePickerTimeSelect-57e2d2e4.js} +1 -1
- package/dist/esm/v2/OrEditorTabs-4261a48d.js +248 -0
- package/dist/esm/v2/OrEditorTabsItem-fc852b7d.js +106 -0
- package/dist/esm/v2/{OrMenuItem-fbe3e8e4.js → OrMenuItem-aef527fb.js} +25 -7
- package/dist/esm/v2/{OrPagination-6d986889.js → OrPagination-ee8f224b.js} +1 -1
- package/dist/esm/v2/{OrRichTextEditor-8b4d1d64.js → OrRichTextEditor-5ab919a5.js} +1 -1
- package/dist/esm/v2/{OrSelect-699f3ae1.js → OrSelect-1f40ebe0.js} +1 -1
- package/dist/esm/v2/{OrSorting-d657f712.js → OrSorting-e31da34e.js} +1 -1
- package/dist/esm/v2/{OrTabs-b8df5b2e.js → OrTabs-76f5d536.js} +1 -1
- package/dist/esm/v2/{OrTimeFormat-f88cbf6f.js → OrTimeFormat-0368a673.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-cd42023a.js → OrTimePicker-615a39ce.js} +2 -2
- package/dist/esm/v2/{OrTimeRangePicker-39820fd8.js → OrTimeRangePicker-55cb3d2c.js} +2 -2
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +19 -17
- package/dist/esm/v2/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v2/components/or-date-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-range-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-date-time-picker-v3/partials/index.js +2 -2
- package/dist/esm/v2/components/or-editor-tabs-v3/OrEditorTabs.vue.d.ts +62 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/index.js +26 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/partials/index.d.ts +1 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/partials/index.js +22 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/partials/or-editor-tabs-item/OrEditorTabsItem.vue.d.ts +50 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/partials/or-editor-tabs-item/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-editor-tabs-v3/styles.d.ts +5 -0
- package/dist/esm/v2/components/or-menu-item-v3/OrMenuItem.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-menu-item-v3/index.js +19 -1
- package/dist/esm/v2/components/or-menu-item-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +5 -3
- package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/components/or-sorting-v3/index.js +4 -2
- package/dist/esm/v2/components/or-tabs-v3/index.js +5 -3
- package/dist/esm/v2/components/or-textarea/OrTextarea.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-time-format-v3/index.js +4 -4
- package/dist/esm/v2/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v2/components/or-time-range-picker-v3/index.js +4 -4
- package/dist/esm/v2/index.js +19 -17
- package/dist/esm/v3/{OrCardCollection-11d518ae.js → OrCardCollection-b1f4b543.js} +1 -1
- package/dist/esm/v3/{OrDateFormat-5fee3e3a.js → OrDateFormat-7816bb4f.js} +2 -2
- package/dist/esm/v3/{OrDatePicker-ee7d02bc.js → OrDatePicker-b52dc314.js} +2 -2
- package/dist/esm/v3/{OrDateRangePicker-2fd73580.js → OrDateRangePicker-8c288b20.js} +2 -2
- package/dist/esm/v3/{OrDateTimeFormat-0c9deda2.js → OrDateTimeFormat-04840e4e.js} +2 -2
- package/dist/esm/v3/{OrDateTimePicker-647ff5f1.js → OrDateTimePicker-8b7560b5.js} +1 -1
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-486f2486.js → OrDateTimePickerTimeSelect-9445ae78.js} +1 -1
- package/dist/esm/v3/OrEditorTabs-32c754e3.js +209 -0
- package/dist/esm/v3/OrEditorTabsItem-890a1650.js +79 -0
- package/dist/esm/v3/{OrMenuItem-2928ba60.js → OrMenuItem-1703dc05.js} +27 -11
- package/dist/esm/v3/{OrPagination-1c040cdc.js → OrPagination-18379bab.js} +1 -1
- package/dist/esm/v3/{OrRichTextEditor-06c85acf.js → OrRichTextEditor-3a72b30d.js} +1 -1
- package/dist/esm/v3/{OrSelect-42a9a859.js → OrSelect-b9127612.js} +1 -1
- package/dist/esm/v3/{OrSorting-d047cf00.js → OrSorting-42677f78.js} +1 -1
- package/dist/esm/v3/{OrTabs-cd217d74.js → OrTabs-e6976b96.js} +1 -1
- package/dist/esm/v3/{OrTimeFormat-a256b6f2.js → OrTimeFormat-a0c2d466.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-b1c40457.js → OrTimePicker-b7c0e287.js} +2 -2
- package/dist/esm/v3/{OrTimeRangePicker-9c8ece38.js → OrTimeRangePicker-fcf80677.js} +2 -2
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +18 -16
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-range-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +3 -3
- package/dist/esm/v3/components/or-date-time-picker-v3/partials/index.js +2 -2
- package/dist/esm/v3/components/or-editor-tabs-v3/OrEditorTabs.vue.d.ts +42 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/index.js +25 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/partials/index.d.ts +1 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/partials/index.js +21 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/partials/or-editor-tabs-item/OrEditorTabsItem.vue.d.ts +37 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/partials/or-editor-tabs-item/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-editor-tabs-v3/styles.d.ts +5 -0
- package/dist/esm/v3/components/or-menu-item-v3/OrMenuItem.vue.d.ts +11 -1
- package/dist/esm/v3/components/or-menu-item-v3/index.js +18 -1
- package/dist/esm/v3/components/or-menu-item-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +5 -3
- package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-sorting-v3/index.js +4 -2
- package/dist/esm/v3/components/or-tabs-v3/index.js +5 -3
- package/dist/esm/v3/components/or-time-format-v3/index.js +4 -4
- package/dist/esm/v3/components/or-time-picker-v3/index.js +4 -4
- package/dist/esm/v3/components/or-time-range-picker-v3/index.js +4 -4
- package/dist/esm/v3/index.js +18 -16
- package/package.json +3 -4
- package/src/components/index.ts +1 -0
- package/src/components/or-editor-tabs-v3/OrEditorTabs.vue +227 -0
- package/src/components/or-editor-tabs-v3/index.ts +1 -0
- package/src/components/or-editor-tabs-v3/partials/index.ts +1 -0
- package/src/components/or-editor-tabs-v3/partials/or-editor-tabs-item/OrEditorTabsItem.vue +73 -0
- package/src/components/or-editor-tabs-v3/partials/or-editor-tabs-item/styles.ts +34 -0
- package/src/components/or-editor-tabs-v3/styles.ts +33 -0
- package/src/components/or-menu-item-v3/OrMenuItem.vue +22 -5
- package/src/components/or-menu-item-v3/styles.ts +1 -1
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-03c3d054.js → OrDateTimePickerMonthSelect-fe1c8243.js} +0 -0
|
@@ -13,22 +13,32 @@
|
|
|
13
13
|
<OrIcon v-bind="typeof icon === 'string' ? { icon } : icon" />
|
|
14
14
|
</template>
|
|
15
15
|
|
|
16
|
-
<div :class="['truncate'
|
|
16
|
+
<div :class="['truncate']">
|
|
17
17
|
<slot />
|
|
18
18
|
</div>
|
|
19
|
+
|
|
20
|
+
<template v-if="closeButton">
|
|
21
|
+
<div :class="['grow']" />
|
|
22
|
+
|
|
23
|
+
<OrIconButton
|
|
24
|
+
:icon="'close'"
|
|
25
|
+
:disabled="disabled"
|
|
26
|
+
@click.stop="$emit('close')"
|
|
27
|
+
/>
|
|
28
|
+
</template>
|
|
19
29
|
</div>
|
|
20
30
|
</template>
|
|
21
31
|
|
|
22
32
|
<script lang="ts">
|
|
23
33
|
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
34
|
+
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
24
35
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
25
|
-
import {
|
|
36
|
+
import { MenuItem } from './styles';
|
|
26
37
|
|
|
27
38
|
export default defineComponent({
|
|
28
|
-
name: 'OrMenuItem',
|
|
29
|
-
|
|
30
39
|
components: {
|
|
31
40
|
OrIcon,
|
|
41
|
+
OrIconButton,
|
|
32
42
|
},
|
|
33
43
|
|
|
34
44
|
props: {
|
|
@@ -37,6 +47,11 @@ export default defineComponent({
|
|
|
37
47
|
default: undefined,
|
|
38
48
|
},
|
|
39
49
|
|
|
50
|
+
closeButton: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: false,
|
|
53
|
+
},
|
|
54
|
+
|
|
40
55
|
selected: {
|
|
41
56
|
type: Boolean,
|
|
42
57
|
default: false,
|
|
@@ -52,6 +67,8 @@ export default defineComponent({
|
|
|
52
67
|
'click',
|
|
53
68
|
'focus',
|
|
54
69
|
'blur',
|
|
70
|
+
|
|
71
|
+
'close',
|
|
55
72
|
],
|
|
56
73
|
|
|
57
74
|
expose: [
|
|
@@ -65,7 +82,7 @@ export default defineComponent({
|
|
|
65
82
|
// Styles
|
|
66
83
|
const rootStyles = computed(() => [
|
|
67
84
|
'or-menu-item-v3',
|
|
68
|
-
...
|
|
85
|
+
...MenuItem,
|
|
69
86
|
]);
|
|
70
87
|
|
|
71
88
|
return {
|
|
File without changes
|