@onereach/ui-components 2.62.3-beta.1902.0 → 2.62.3-beta.1903.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/v2/{OrConfirm-f3aed6d3.js → OrConfirm-d561bf82.js} +1 -1
- package/dist/v2/{OrIconButton-94c69467.js → OrIconButton-1b34f3fa.js} +1 -1
- package/dist/v2/{OrInlineInput-50da2b1f.js → OrInlineInput-e754cb9f.js} +1 -1
- package/dist/v2/{OrInlineTextarea-94253b64.js → OrInlineTextarea-7dc58bb1.js} +1 -1
- package/dist/v2/{OrInput-040147f3.js → OrInput-0dcfba2a.js} +1 -1
- package/dist/v2/{OrModal-e4439825.js → OrModal-1ed53441.js} +1 -1
- package/dist/v2/{OrNotification-be6132e6.js → OrNotification-e2d510b3.js} +1 -1
- package/dist/v2/{OrSearch-375ad422.js → OrSearch-45ea8c33.js} +1 -1
- package/dist/v2/{OrSelect-846e9a87.js → OrSelect-b44cac14.js} +13 -33
- package/dist/v2/{OrTag-02320f5f.js → OrTag-c42c3f9c.js} +1 -1
- package/dist/v2/{OrTooltip-afe7030b.js → OrTooltip-caeac590.js} +3 -33
- package/dist/v2/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/v2/components/or-tooltip-v3/styles.d.ts +0 -2
- package/dist/v2/directives/index.d.ts +2 -0
- package/dist/v2/dropdown-open-0d314aa4.js +28 -0
- package/dist/v2/index.d.ts +1 -0
- package/dist/v2/index.js +13 -12
- package/dist/v2/index2.js +13 -12
- package/dist/v2/index20.js +4 -4
- package/dist/v2/index31.js +2 -2
- package/dist/v2/index34.js +3 -3
- package/dist/v2/index36.js +3 -3
- package/dist/v2/index38.js +3 -3
- package/dist/v2/index50.js +3 -3
- package/dist/v2/index52.js +3 -3
- package/dist/v2/index62.js +4 -4
- package/dist/v2/index64.js +6 -5
- package/dist/v2/index79.js +3 -3
- package/dist/v2/index87.js +3 -3
- package/dist/v2/index90.js +1 -1
- package/dist/v2/index91.js +1 -6
- package/dist/v2/index92.js +5 -1
- package/dist/v2/index93.js +3 -0
- package/dist/v2/{types-dd4c7282.js → types-8ea6482d.js} +1 -1
- package/dist/v3/{OrConfirm-58aa4260.js → OrConfirm-a9d3f157.js} +1 -1
- package/dist/v3/{OrIconButton-eef9eb43.js → OrIconButton-f9226adf.js} +1 -1
- package/dist/v3/{OrInlineInput-0c87838c.js → OrInlineInput-8f473205.js} +1 -1
- package/dist/v3/{OrInlineTextarea-d50f03b7.js → OrInlineTextarea-86f4506d.js} +1 -1
- package/dist/v3/{OrInput-d34c8571.js → OrInput-f51916d4.js} +1 -1
- package/dist/v3/{OrModal-179f5a1a.js → OrModal-0713f927.js} +1 -1
- package/dist/v3/{OrNotification-4a0dc24a.js → OrNotification-7ef1b4e7.js} +1 -1
- package/dist/v3/{OrSearch-95d4e098.js → OrSearch-e27cadbf.js} +1 -1
- package/dist/v3/{OrSelect-32f188bd.js → OrSelect-9d821ef2.js} +12 -32
- package/dist/v3/{OrTag-d1f3a0d0.js → OrTag-60585386.js} +1 -1
- package/dist/v3/{OrTooltip-36c6728c.js → OrTooltip-30e05f9e.js} +3 -33
- package/dist/v3/components/or-select-v3/OrSelect.vue.d.ts +2 -2
- package/dist/v3/components/or-tooltip-v3/styles.d.ts +0 -2
- package/dist/v3/directives/index.d.ts +2 -0
- package/dist/v3/dropdown-open-0d314aa4.js +28 -0
- package/dist/v3/index.d.ts +1 -0
- package/dist/v3/index.js +13 -12
- package/dist/v3/index2.js +13 -12
- package/dist/v3/index20.js +4 -4
- package/dist/v3/index31.js +2 -2
- package/dist/v3/index34.js +3 -3
- package/dist/v3/index36.js +3 -3
- package/dist/v3/index38.js +3 -3
- package/dist/v3/index50.js +3 -3
- package/dist/v3/index52.js +3 -3
- package/dist/v3/index62.js +4 -4
- package/dist/v3/index64.js +6 -5
- package/dist/v3/index79.js +3 -3
- package/dist/v3/index87.js +3 -3
- package/dist/v3/index90.js +1 -1
- package/dist/v3/index91.js +1 -6
- package/dist/v3/index92.js +5 -1
- package/dist/v3/index93.js +3 -0
- package/dist/v3/{types-8ff779b1.js → types-e4403486.js} +1 -1
- package/package.json +1 -1
- package/src/components/or-select-v3/OrSelect.vue +9 -6
- package/src/components/or-tooltip-v3/OrTooltip.vue +2 -3
- package/src/components/or-tooltip-v3/styles.ts +0 -55
- package/src/directives/index.ts +2 -0
- package/src/index.ts +1 -0
package/dist/v3/index36.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
1
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-86f4506d.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import './OrError-19a62a18.js';
|
|
6
6
|
import 'vue';
|
|
7
7
|
import './OrHint-73835593.js';
|
|
8
|
-
import './OrIconButton-
|
|
8
|
+
import './OrIconButton-f9226adf.js';
|
|
9
9
|
import './OrIcon-b3906e35.js';
|
|
10
|
-
import './OrTooltip-
|
|
10
|
+
import './OrTooltip-30e05f9e.js';
|
|
11
11
|
import './OrPopover-3525c670.js';
|
|
12
12
|
import '@floating-ui/dom';
|
|
13
13
|
import './useElevation-0e973238.js';
|
package/dist/v3/index38.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-f51916d4.js';
|
|
2
2
|
export { a as InputSize } from './OrInputBox-634230b1.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './useClassAttribute-47fdb016.js';
|
|
@@ -6,9 +6,9 @@ import '@vueuse/core';
|
|
|
6
6
|
import './OrError-19a62a18.js';
|
|
7
7
|
import 'vue';
|
|
8
8
|
import './OrHint-73835593.js';
|
|
9
|
-
import './OrIconButton-
|
|
9
|
+
import './OrIconButton-f9226adf.js';
|
|
10
10
|
import './OrIcon-b3906e35.js';
|
|
11
|
-
import './OrTooltip-
|
|
11
|
+
import './OrTooltip-30e05f9e.js';
|
|
12
12
|
import './OrPopover-3525c670.js';
|
|
13
13
|
import '@floating-ui/dom';
|
|
14
14
|
import './useElevation-0e973238.js';
|
package/dist/v3/index50.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
1
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-0713f927.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import './OrIconButton-
|
|
5
|
+
import './OrIconButton-f9226adf.js';
|
|
6
6
|
import './OrIcon-b3906e35.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import './OrTooltip-
|
|
8
|
+
import './OrTooltip-30e05f9e.js';
|
|
9
9
|
import './OrPopover-3525c670.js';
|
|
10
10
|
import '@floating-ui/dom';
|
|
11
11
|
import './useElevation-0e973238.js';
|
package/dist/v3/index52.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
1
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-7ef1b4e7.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import './OrIconButton-
|
|
5
|
+
import './OrIconButton-f9226adf.js';
|
|
6
6
|
import './OrIcon-b3906e35.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import './OrTooltip-
|
|
8
|
+
import './OrTooltip-30e05f9e.js';
|
|
9
9
|
import './OrPopover-3525c670.js';
|
|
10
10
|
import '@floating-ui/dom';
|
|
11
11
|
import './useElevation-0e973238.js';
|
package/dist/v3/index62.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
1
|
+
export { s as OrSearchV3 } from './OrSearch-e27cadbf.js';
|
|
2
2
|
export { a as SearchSize } from './OrInputBox-634230b1.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import './useClassAttribute-47fdb016.js';
|
|
6
|
-
import './OrInput-
|
|
6
|
+
import './OrInput-f51916d4.js';
|
|
7
7
|
import './OrError-19a62a18.js';
|
|
8
8
|
import 'vue';
|
|
9
9
|
import './OrHint-73835593.js';
|
|
10
|
-
import './OrIconButton-
|
|
10
|
+
import './OrIconButton-f9226adf.js';
|
|
11
11
|
import './OrIcon-b3906e35.js';
|
|
12
|
-
import './OrTooltip-
|
|
12
|
+
import './OrTooltip-30e05f9e.js';
|
|
13
13
|
import './OrPopover-3525c670.js';
|
|
14
14
|
import '@floating-ui/dom';
|
|
15
15
|
import './useElevation-0e973238.js';
|
package/dist/v3/index64.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from './OrSelect-9d821ef2.js';
|
|
2
2
|
export { a as SelectSize } from './OrInputBox-634230b1.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
|
+
import './dropdown-open-0d314aa4.js';
|
|
4
5
|
import './useClassAttribute-47fdb016.js';
|
|
5
6
|
import './useOverflow-ac506c65.js';
|
|
6
7
|
import '@vueuse/core';
|
|
@@ -12,9 +13,9 @@ import './OrError-19a62a18.js';
|
|
|
12
13
|
import './OrExpansionPanel-1e2a6375.js';
|
|
13
14
|
import './OrIcon-b3906e35.js';
|
|
14
15
|
import './OrHint-73835593.js';
|
|
15
|
-
import './OrInput-
|
|
16
|
-
import './OrIconButton-
|
|
17
|
-
import './OrTooltip-
|
|
16
|
+
import './OrInput-f51916d4.js';
|
|
17
|
+
import './OrIconButton-f9226adf.js';
|
|
18
|
+
import './OrTooltip-30e05f9e.js';
|
|
18
19
|
import './OrPopover-3525c670.js';
|
|
19
20
|
import '@floating-ui/dom';
|
|
20
21
|
import './useElevation-0e973238.js';
|
|
@@ -23,4 +24,4 @@ import './OrBottomSheet-9de57dd0.js';
|
|
|
23
24
|
import './OrOverlay-27050c19.js';
|
|
24
25
|
import './OrTeleport.vue3-8099178c.js';
|
|
25
26
|
import './OrMenuItem-8773d073.js';
|
|
26
|
-
import './OrTag-
|
|
27
|
+
import './OrTag-60585386.js';
|
package/dist/v3/index79.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
1
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-60585386.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import './OrIconButton-
|
|
5
|
+
import './OrIconButton-f9226adf.js';
|
|
6
6
|
import './OrIcon-b3906e35.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import './OrTooltip-
|
|
8
|
+
import './OrTooltip-30e05f9e.js';
|
|
9
9
|
import './OrPopover-3525c670.js';
|
|
10
10
|
import '@floating-ui/dom';
|
|
11
11
|
import './useElevation-0e973238.js';
|
package/dist/v3/index87.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
1
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-e4403486.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './OrTeleport.vue3-8099178c.js';
|
|
6
6
|
import 'vue';
|
|
7
|
-
import './OrIconButton-
|
|
7
|
+
import './OrIconButton-f9226adf.js';
|
|
8
8
|
import './useClassAttribute-47fdb016.js';
|
|
9
9
|
import './OrIcon-b3906e35.js';
|
|
10
|
-
import './OrTooltip-
|
|
10
|
+
import './OrTooltip-30e05f9e.js';
|
|
11
11
|
import './OrPopover-3525c670.js';
|
|
12
12
|
import '@floating-ui/dom';
|
|
13
13
|
import './useElevation-0e973238.js';
|
package/dist/v3/index90.js
CHANGED
package/dist/v3/index91.js
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { u as useElevation } from './useElevation-0e973238.js';
|
|
3
|
-
export { u as useOverflow } from './useOverflow-ac506c65.js';
|
|
4
|
-
export { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
5
|
-
export { u as useToggle } from './useToggle-29e4d7c7.js';
|
|
1
|
+
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
6
2
|
import 'vue-demi';
|
|
7
|
-
import '@vueuse/core';
|
package/dist/v3/index92.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
2
|
+
export { u as useElevation } from './useElevation-0e973238.js';
|
|
3
|
+
export { u as useOverflow } from './useOverflow-ac506c65.js';
|
|
1
4
|
export { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
2
|
-
|
|
5
|
+
export { u as useToggle } from './useToggle-29e4d7c7.js';
|
|
3
6
|
import 'vue-demi';
|
|
7
|
+
import '@vueuse/core';
|
|
@@ -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-f9226adf.js';
|
|
6
6
|
import { s as script$3 } from './OrLoader-60943812.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, createElementVNode, 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
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
<OrInputBox
|
|
23
23
|
ref="inputBox"
|
|
24
|
-
v-dropdown-open="
|
|
24
|
+
v-dropdown-open="toggle"
|
|
25
25
|
v-dropdown-close="close"
|
|
26
26
|
:class="[popoverState === 'open' && 'rounded-b-0']"
|
|
27
27
|
:size="size"
|
|
@@ -208,8 +208,7 @@
|
|
|
208
208
|
|
|
209
209
|
<script lang="ts">
|
|
210
210
|
import { computed, defineComponent, getCurrentInstance, onMounted, PropType, ref, watch } from 'vue-demi';
|
|
211
|
-
import { DropdownClose } from '../../directives
|
|
212
|
-
import { DropdownOpen } from '../../directives/dropdown-open';
|
|
211
|
+
import { DropdownClose, DropdownOpen } from '../../directives';
|
|
213
212
|
import { useClassAttribute, useOverflow } from '../../hooks';
|
|
214
213
|
import { OrCheckboxV3 as OrCheckbox } from '../or-checkbox-v3';
|
|
215
214
|
import { OrErrorV3 as OrError } from '../or-error-v3';
|
|
@@ -465,12 +464,16 @@ export default defineComponent({
|
|
|
465
464
|
});
|
|
466
465
|
|
|
467
466
|
// Methods
|
|
468
|
-
function
|
|
467
|
+
function toggle(): void {
|
|
469
468
|
if (!readonly.value && !props.disabled) {
|
|
470
469
|
const popoverInstance = popover.value;
|
|
471
470
|
|
|
472
471
|
if (popoverInstance) {
|
|
473
|
-
(
|
|
472
|
+
if (popoverState.value === 'open') {
|
|
473
|
+
(popoverInstance.close as () => void)();
|
|
474
|
+
} else {
|
|
475
|
+
(popoverInstance.open as () => void)();
|
|
476
|
+
}
|
|
474
477
|
}
|
|
475
478
|
}
|
|
476
479
|
}
|
|
@@ -515,7 +518,7 @@ export default defineComponent({
|
|
|
515
518
|
internalSearchOptions,
|
|
516
519
|
resolvedSearchOptions,
|
|
517
520
|
groupedOptions,
|
|
518
|
-
|
|
521
|
+
toggle,
|
|
519
522
|
close,
|
|
520
523
|
deselect,
|
|
521
524
|
innerItems,
|
|
@@ -30,7 +30,7 @@ import { computed, defineComponent, PropType, ref, watch } from 'vue-demi';
|
|
|
30
30
|
import { useClassAttribute } from '../../hooks';
|
|
31
31
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
32
32
|
import { TooltipPlacement } from './props';
|
|
33
|
-
import { TooltipBody,
|
|
33
|
+
import { TooltipBody, TooltipRoot } from './styles';
|
|
34
34
|
|
|
35
35
|
export default defineComponent({
|
|
36
36
|
name: 'OrTooltip',
|
|
@@ -63,7 +63,7 @@ export default defineComponent({
|
|
|
63
63
|
'close',
|
|
64
64
|
],
|
|
65
65
|
|
|
66
|
-
setup(
|
|
66
|
+
setup() {
|
|
67
67
|
// Refs
|
|
68
68
|
const root = ref<HTMLElement>();
|
|
69
69
|
|
|
@@ -81,7 +81,6 @@ export default defineComponent({
|
|
|
81
81
|
|
|
82
82
|
const bodyStyles = computed(() => [
|
|
83
83
|
...TooltipBody,
|
|
84
|
-
...TooltipBodyPlacements[props.placement],
|
|
85
84
|
]);
|
|
86
85
|
|
|
87
86
|
// Methods
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { TooltipPlacement } from './props';
|
|
2
|
-
|
|
3
1
|
export const TooltipRoot: string[] = [
|
|
4
2
|
// Layout
|
|
5
3
|
'inline-block',
|
|
@@ -11,9 +9,6 @@ export const TooltipBody: string[] = [
|
|
|
11
9
|
'rounded-sm',
|
|
12
10
|
|
|
13
11
|
// Sizing
|
|
14
|
-
'mx-sm',
|
|
15
|
-
'my-sm',
|
|
16
|
-
|
|
17
12
|
'px-sm',
|
|
18
13
|
'py-xs',
|
|
19
14
|
|
|
@@ -27,53 +22,3 @@ export const TooltipBody: string[] = [
|
|
|
27
22
|
'text-inverse-on-surface',
|
|
28
23
|
'dark:text-inverse-on-surface-dark',
|
|
29
24
|
];
|
|
30
|
-
|
|
31
|
-
export const TooltipBodyPlacements: Record<TooltipPlacement, string[]> = {
|
|
32
|
-
'top': [],
|
|
33
|
-
|
|
34
|
-
'top-start': [
|
|
35
|
-
// Sizing
|
|
36
|
-
'ml-none',
|
|
37
|
-
],
|
|
38
|
-
|
|
39
|
-
'top-end': [
|
|
40
|
-
// Sizing
|
|
41
|
-
'mr-none',
|
|
42
|
-
],
|
|
43
|
-
|
|
44
|
-
'bottom': [],
|
|
45
|
-
|
|
46
|
-
'bottom-start': [
|
|
47
|
-
// Sizing
|
|
48
|
-
'ml-none',
|
|
49
|
-
],
|
|
50
|
-
|
|
51
|
-
'bottom-end': [
|
|
52
|
-
// Sizing
|
|
53
|
-
'mr-none',
|
|
54
|
-
],
|
|
55
|
-
|
|
56
|
-
'left': [],
|
|
57
|
-
|
|
58
|
-
'left-start': [
|
|
59
|
-
// Sizing
|
|
60
|
-
'mt-none',
|
|
61
|
-
],
|
|
62
|
-
|
|
63
|
-
'left-end': [
|
|
64
|
-
// Sizing
|
|
65
|
-
'mb-none',
|
|
66
|
-
],
|
|
67
|
-
|
|
68
|
-
'right': [],
|
|
69
|
-
|
|
70
|
-
'right-start': [
|
|
71
|
-
// Sizing
|
|
72
|
-
'mt-none',
|
|
73
|
-
],
|
|
74
|
-
|
|
75
|
-
'right-end': [
|
|
76
|
-
// Sizing
|
|
77
|
-
'mb-none',
|
|
78
|
-
],
|
|
79
|
-
};
|
package/src/index.ts
CHANGED