@onereach/ui-components 2.62.3 → 2.62.4
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-d561bf82.js → OrConfirm-f3aed6d3.js} +1 -1
- package/dist/v2/{OrIconButton-1b34f3fa.js → OrIconButton-94c69467.js} +1 -1
- package/dist/v2/{OrInlineInput-e754cb9f.js → OrInlineInput-50da2b1f.js} +1 -1
- package/dist/v2/{OrInlineTextarea-7dc58bb1.js → OrInlineTextarea-94253b64.js} +1 -1
- package/dist/v2/{OrInput-0dcfba2a.js → OrInput-040147f3.js} +1 -1
- package/dist/v2/{OrModal-1ed53441.js → OrModal-e4439825.js} +1 -1
- package/dist/v2/{OrNotification-e2d510b3.js → OrNotification-be6132e6.js} +1 -1
- package/dist/v2/{OrSearch-45ea8c33.js → OrSearch-375ad422.js} +1 -1
- package/dist/v2/{OrSelect-b44cac14.js → OrSelect-94a7ac91.js} +2 -2
- package/dist/v2/{OrTag-c42c3f9c.js → OrTag-02320f5f.js} +1 -1
- package/dist/v2/{OrTooltip-caeac590.js → OrTooltip-afe7030b.js} +33 -3
- package/dist/v2/components/or-tooltip-v3/styles.d.ts +2 -0
- package/dist/v2/index.js +12 -12
- package/dist/v2/index2.js +12 -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 +5 -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/{types-8ea6482d.js → types-dd4c7282.js} +1 -1
- package/dist/v3/{OrConfirm-a9d3f157.js → OrConfirm-58aa4260.js} +1 -1
- package/dist/v3/{OrIconButton-f9226adf.js → OrIconButton-eef9eb43.js} +1 -1
- package/dist/v3/{OrInlineInput-8f473205.js → OrInlineInput-0c87838c.js} +1 -1
- package/dist/v3/{OrInlineTextarea-86f4506d.js → OrInlineTextarea-d50f03b7.js} +1 -1
- package/dist/v3/{OrInput-f51916d4.js → OrInput-d34c8571.js} +1 -1
- package/dist/v3/{OrModal-0713f927.js → OrModal-179f5a1a.js} +1 -1
- package/dist/v3/{OrNotification-7ef1b4e7.js → OrNotification-4a0dc24a.js} +1 -1
- package/dist/v3/{OrSearch-e27cadbf.js → OrSearch-95d4e098.js} +1 -1
- package/dist/v3/{OrSelect-9d821ef2.js → OrSelect-a873cd9a.js} +2 -2
- package/dist/v3/{OrTag-60585386.js → OrTag-d1f3a0d0.js} +1 -1
- package/dist/v3/{OrTooltip-30e05f9e.js → OrTooltip-36c6728c.js} +33 -3
- package/dist/v3/components/or-tooltip-v3/styles.d.ts +2 -0
- package/dist/v3/index.js +12 -12
- package/dist/v3/index2.js +12 -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 +5 -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/{types-e4403486.js → types-8ff779b1.js} +1 -1
- package/package.json +2 -2
- package/src/components/or-tooltip-v3/OrTooltip.vue +3 -2
- package/src/components/or-tooltip-v3/styles.ts +55 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { s as script$2 } from './OrIconButton-
|
|
4
|
+
import { s as script$2 } from './OrIconButton-eef9eb43.js';
|
|
5
5
|
import { s as script$1 } from './OrIcon-b3906e35.js';
|
|
6
6
|
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createVNode, renderSlot, withModifiers } from 'vue';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { s as script$1 } from './OrInput-
|
|
4
|
+
import { s as script$1 } from './OrInput-d34c8571.js';
|
|
5
5
|
import { a as InputBoxSize } from './OrInputBox-634230b1.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
7
7
|
|
|
@@ -9,11 +9,11 @@ import { s as script$3 } from './OrExpansionPanel-1e2a6375.js';
|
|
|
9
9
|
import { s as script$4 } from './OrHint-73835593.js';
|
|
10
10
|
import { s as script$5 } from './OrIcon-b3906e35.js';
|
|
11
11
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-634230b1.js';
|
|
12
|
-
import { s as script$6 } from './OrInput-
|
|
12
|
+
import { s as script$6 } from './OrInput-d34c8571.js';
|
|
13
13
|
import { s as script$8 } from './OrLabel-7d4fe80b.js';
|
|
14
14
|
import { s as script$9 } from './OrMenuItem-8773d073.js';
|
|
15
15
|
import { s as script$a } from './OrPopover-3525c670.js';
|
|
16
|
-
import { s as script$b } from './OrTag-
|
|
16
|
+
import { s as script$b } from './OrTag-d1f3a0d0.js';
|
|
17
17
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, normalizeClass, createElementVNode, Fragment, renderList, createVNode, withModifiers } from 'vue';
|
|
18
18
|
|
|
19
19
|
const SelectRoot = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi';
|
|
2
2
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import { s as script$1 } from './OrIconButton-
|
|
4
|
+
import { s as script$1 } from './OrIconButton-eef9eb43.js';
|
|
5
5
|
import { resolveComponent, openBlock, createElementBlock, mergeProps, renderSlot, createBlock, normalizeClass, withModifiers, createCommentVNode } from 'vue';
|
|
6
6
|
|
|
7
7
|
var TagVariant;
|
|
@@ -11,11 +11,41 @@ const TooltipBody = [
|
|
|
11
11
|
// Box
|
|
12
12
|
'max-w-max', 'rounded-sm',
|
|
13
13
|
// Sizing
|
|
14
|
-
'px-sm', 'py-xs',
|
|
14
|
+
'mx-sm', 'my-sm', 'px-sm', 'py-xs',
|
|
15
15
|
// Typography
|
|
16
16
|
'typography-caption-regular',
|
|
17
17
|
// Theme
|
|
18
18
|
'bg-inverse-surface', 'dark:bg-inverse-surface-dark', 'text-inverse-on-surface', 'dark:text-inverse-on-surface-dark'];
|
|
19
|
+
const TooltipBodyPlacements = {
|
|
20
|
+
'top': [],
|
|
21
|
+
'top-start': [
|
|
22
|
+
// Sizing
|
|
23
|
+
'ml-none'],
|
|
24
|
+
'top-end': [
|
|
25
|
+
// Sizing
|
|
26
|
+
'mr-none'],
|
|
27
|
+
'bottom': [],
|
|
28
|
+
'bottom-start': [
|
|
29
|
+
// Sizing
|
|
30
|
+
'ml-none'],
|
|
31
|
+
'bottom-end': [
|
|
32
|
+
// Sizing
|
|
33
|
+
'mr-none'],
|
|
34
|
+
'left': [],
|
|
35
|
+
'left-start': [
|
|
36
|
+
// Sizing
|
|
37
|
+
'mt-none'],
|
|
38
|
+
'left-end': [
|
|
39
|
+
// Sizing
|
|
40
|
+
'mb-none'],
|
|
41
|
+
'right': [],
|
|
42
|
+
'right-start': [
|
|
43
|
+
// Sizing
|
|
44
|
+
'mt-none'],
|
|
45
|
+
'right-end': [
|
|
46
|
+
// Sizing
|
|
47
|
+
'mb-none']
|
|
48
|
+
};
|
|
19
49
|
|
|
20
50
|
var script = defineComponent({
|
|
21
51
|
name: 'OrTooltip',
|
|
@@ -35,7 +65,7 @@ var script = defineComponent({
|
|
|
35
65
|
},
|
|
36
66
|
emits: ['update:state'],
|
|
37
67
|
expose: ['root', 'open', 'close'],
|
|
38
|
-
setup() {
|
|
68
|
+
setup(props) {
|
|
39
69
|
// Refs
|
|
40
70
|
const root = ref();
|
|
41
71
|
const popover = ref();
|
|
@@ -46,7 +76,7 @@ var script = defineComponent({
|
|
|
46
76
|
// Styles
|
|
47
77
|
const classAttribute = useClassAttribute();
|
|
48
78
|
const rootStyles = computed(() => ['or-tooltip', ...TooltipRoot, classAttribute.value]);
|
|
49
|
-
const bodyStyles = computed(() => [...TooltipBody]);
|
|
79
|
+
const bodyStyles = computed(() => [...TooltipBody, ...TooltipBodyPlacements[props.placement]]);
|
|
50
80
|
// Methods
|
|
51
81
|
function open() {
|
|
52
82
|
const popoverInstance = popover.value;
|
package/dist/v3/index.js
CHANGED
|
@@ -15,7 +15,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-feeec003.js';
|
|
|
15
15
|
export { s as OrCollapse } from './OrCollapse-37a52e8f.js';
|
|
16
16
|
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-0a944d25.js';
|
|
17
17
|
export { s as OrConfirm } from './OrConfirm-00134f53.js';
|
|
18
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
18
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-58aa4260.js';
|
|
19
19
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-6c79a764.js';
|
|
20
20
|
export { s as OrError } from './OrError-f90296db.js';
|
|
21
21
|
export { s as OrErrorTagV3 } from './OrErrorTag-ceefd643.js';
|
|
@@ -26,14 +26,14 @@ export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements
|
|
|
26
26
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
27
27
|
export { s as OrHintV3 } from './OrHint-73835593.js';
|
|
28
28
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-e23028f8.js';
|
|
29
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
29
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-eef9eb43.js';
|
|
30
30
|
export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-b3906e35.js';
|
|
31
31
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
|
|
32
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
32
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-0c87838c.js';
|
|
33
33
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-455a2d64.js';
|
|
34
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
34
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-d50f03b7.js';
|
|
35
35
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-634230b1.js';
|
|
36
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
36
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-d34c8571.js';
|
|
37
37
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-2874026c.js';
|
|
38
38
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
39
39
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-7d4fe80b.js';
|
|
@@ -46,9 +46,9 @@ export { s as OrMenuItemV3 } from './OrMenuItem-8773d073.js';
|
|
|
46
46
|
export { s as OrMenuV3 } from './OrMenu-75ef8635.js';
|
|
47
47
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-3525c670.js';
|
|
48
48
|
export { s as OrModal, O as OrModalSizes } from './OrModal-75c8e5b6.js';
|
|
49
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
49
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-179f5a1a.js';
|
|
50
50
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-38664729.js';
|
|
51
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
51
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-4a0dc24a.js';
|
|
52
52
|
export { s as OrOverflowMenu } from './OrOverflowMenu-7a177537.js';
|
|
53
53
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
54
54
|
export { s as OrOverlayV3 } from './OrOverlay-27050c19.js';
|
|
@@ -57,9 +57,9 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
57
57
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
58
58
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
59
59
|
export { s as OrRadioV3 } from './OrRadio-0c1883f2.js';
|
|
60
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
60
|
+
export { s as OrSearchV3 } from './OrSearch-95d4e098.js';
|
|
61
61
|
export { s as OrSelect } from './OrSelect-056731af.js';
|
|
62
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
62
|
+
export { s as OrSelectV3 } from './OrSelect-a873cd9a.js';
|
|
63
63
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
64
64
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
65
65
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
@@ -74,7 +74,7 @@ export { s as OrTabV3 } from './OrTab-97044946.js';
|
|
|
74
74
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
75
75
|
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-194ca950.js';
|
|
76
76
|
export { s as OrTag } from './OrTag-7e24fdbc.js';
|
|
77
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
77
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-d1f3a0d0.js';
|
|
78
78
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
79
79
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
80
80
|
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
|
@@ -82,10 +82,10 @@ export { s as OrTextareaV3 } from './OrTextarea-09aa33dc.js';
|
|
|
82
82
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-faa4f81a.js';
|
|
83
83
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-fe6abe90.js';
|
|
84
84
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
85
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
85
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-8ff779b1.js';
|
|
86
86
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
87
87
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-121eae2b.js';
|
|
88
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
88
|
+
export { s as OrTooltipV3 } from './OrTooltip-36c6728c.js';
|
|
89
89
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
90
90
|
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
91
91
|
export { u as useElevation } from './useElevation-0e973238.js';
|
package/dist/v3/index2.js
CHANGED
|
@@ -15,7 +15,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-feeec003.js';
|
|
|
15
15
|
export { s as OrCollapse } from './OrCollapse-37a52e8f.js';
|
|
16
16
|
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-0a944d25.js';
|
|
17
17
|
export { s as OrConfirm } from './OrConfirm-00134f53.js';
|
|
18
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
18
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-58aa4260.js';
|
|
19
19
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-6c79a764.js';
|
|
20
20
|
export { s as OrError } from './OrError-f90296db.js';
|
|
21
21
|
export { s as OrErrorTagV3 } from './OrErrorTag-ceefd643.js';
|
|
@@ -26,14 +26,14 @@ export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements
|
|
|
26
26
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
27
27
|
export { s as OrHintV3 } from './OrHint-73835593.js';
|
|
28
28
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-e23028f8.js';
|
|
29
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
29
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-eef9eb43.js';
|
|
30
30
|
export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-b3906e35.js';
|
|
31
31
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
|
|
32
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
32
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-0c87838c.js';
|
|
33
33
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-455a2d64.js';
|
|
34
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
34
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-d50f03b7.js';
|
|
35
35
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-634230b1.js';
|
|
36
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
36
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-d34c8571.js';
|
|
37
37
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-2874026c.js';
|
|
38
38
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
39
39
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-7d4fe80b.js';
|
|
@@ -46,9 +46,9 @@ export { s as OrMenuItemV3 } from './OrMenuItem-8773d073.js';
|
|
|
46
46
|
export { s as OrMenuV3 } from './OrMenu-75ef8635.js';
|
|
47
47
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-3525c670.js';
|
|
48
48
|
export { s as OrModal, O as OrModalSizes } from './OrModal-75c8e5b6.js';
|
|
49
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
49
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-179f5a1a.js';
|
|
50
50
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-38664729.js';
|
|
51
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
51
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-4a0dc24a.js';
|
|
52
52
|
export { s as OrOverflowMenu } from './OrOverflowMenu-7a177537.js';
|
|
53
53
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
54
54
|
export { s as OrOverlayV3 } from './OrOverlay-27050c19.js';
|
|
@@ -57,9 +57,9 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
57
57
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
58
58
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
59
59
|
export { s as OrRadioV3 } from './OrRadio-0c1883f2.js';
|
|
60
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
60
|
+
export { s as OrSearchV3 } from './OrSearch-95d4e098.js';
|
|
61
61
|
export { s as OrSelect } from './OrSelect-056731af.js';
|
|
62
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
62
|
+
export { s as OrSelectV3 } from './OrSelect-a873cd9a.js';
|
|
63
63
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
64
64
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
65
65
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
@@ -74,7 +74,7 @@ export { s as OrTabV3 } from './OrTab-97044946.js';
|
|
|
74
74
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
75
75
|
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-194ca950.js';
|
|
76
76
|
export { s as OrTag } from './OrTag-7e24fdbc.js';
|
|
77
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
77
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-d1f3a0d0.js';
|
|
78
78
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
79
79
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
80
80
|
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
|
@@ -82,10 +82,10 @@ export { s as OrTextareaV3 } from './OrTextarea-09aa33dc.js';
|
|
|
82
82
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-faa4f81a.js';
|
|
83
83
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-fe6abe90.js';
|
|
84
84
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
85
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
85
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-8ff779b1.js';
|
|
86
86
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
87
87
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-121eae2b.js';
|
|
88
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
88
|
+
export { s as OrTooltipV3 } from './OrTooltip-36c6728c.js';
|
|
89
89
|
import 'vue-demi';
|
|
90
90
|
import 'lodash';
|
|
91
91
|
import 'vue';
|
package/dist/v3/index20.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-58aa4260.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './OrButton-12b36e89.js';
|
|
4
4
|
import './useClassAttribute-47fdb016.js';
|
|
@@ -8,12 +8,12 @@ import 'vue';
|
|
|
8
8
|
import './OrOverlay-27050c19.js';
|
|
9
9
|
import './useElevation-0e973238.js';
|
|
10
10
|
import './OrTeleport.vue3-8099178c.js';
|
|
11
|
-
import './OrInput-
|
|
11
|
+
import './OrInput-d34c8571.js';
|
|
12
12
|
import './OrError-19a62a18.js';
|
|
13
13
|
import './OrHint-73835593.js';
|
|
14
|
-
import './OrIconButton-
|
|
14
|
+
import './OrIconButton-eef9eb43.js';
|
|
15
15
|
import './OrIcon-b3906e35.js';
|
|
16
|
-
import './OrTooltip-
|
|
16
|
+
import './OrTooltip-36c6728c.js';
|
|
17
17
|
import './OrPopover-3525c670.js';
|
|
18
18
|
import '@floating-ui/dom';
|
|
19
19
|
import './useResponsive-a02e95b7.js';
|
package/dist/v3/index31.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
1
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-eef9eb43.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import './OrIcon-b3906e35.js';
|
|
6
6
|
import 'vue';
|
|
7
|
-
import './OrTooltip-
|
|
7
|
+
import './OrTooltip-36c6728c.js';
|
|
8
8
|
import './OrPopover-3525c670.js';
|
|
9
9
|
import '@floating-ui/dom';
|
|
10
10
|
import './useElevation-0e973238.js';
|
package/dist/v3/index34.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
1
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-0c87838c.js';
|
|
2
2
|
export { I as InlineInputSize } from './OrInlineInputBox-1b473796.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-eef9eb43.js';
|
|
10
10
|
import './OrIcon-b3906e35.js';
|
|
11
|
-
import './OrTooltip-
|
|
11
|
+
import './OrTooltip-36c6728c.js';
|
|
12
12
|
import './OrPopover-3525c670.js';
|
|
13
13
|
import '@floating-ui/dom';
|
|
14
14
|
import './useElevation-0e973238.js';
|
package/dist/v3/index36.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
1
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-d50f03b7.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-eef9eb43.js';
|
|
9
9
|
import './OrIcon-b3906e35.js';
|
|
10
|
-
import './OrTooltip-
|
|
10
|
+
import './OrTooltip-36c6728c.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-d34c8571.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-eef9eb43.js';
|
|
10
10
|
import './OrIcon-b3906e35.js';
|
|
11
|
-
import './OrTooltip-
|
|
11
|
+
import './OrTooltip-36c6728c.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-179f5a1a.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import './OrIconButton-
|
|
5
|
+
import './OrIconButton-eef9eb43.js';
|
|
6
6
|
import './OrIcon-b3906e35.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import './OrTooltip-
|
|
8
|
+
import './OrTooltip-36c6728c.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-4a0dc24a.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import './OrIconButton-
|
|
5
|
+
import './OrIconButton-eef9eb43.js';
|
|
6
6
|
import './OrIcon-b3906e35.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import './OrTooltip-
|
|
8
|
+
import './OrTooltip-36c6728c.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-95d4e098.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-d34c8571.js';
|
|
7
7
|
import './OrError-19a62a18.js';
|
|
8
8
|
import 'vue';
|
|
9
9
|
import './OrHint-73835593.js';
|
|
10
|
-
import './OrIconButton-
|
|
10
|
+
import './OrIconButton-eef9eb43.js';
|
|
11
11
|
import './OrIcon-b3906e35.js';
|
|
12
|
-
import './OrTooltip-
|
|
12
|
+
import './OrTooltip-36c6728c.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,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from './OrSelect-a873cd9a.js';
|
|
2
2
|
export { a as SelectSize } from './OrInputBox-634230b1.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './dropdown-open-0d314aa4.js';
|
|
@@ -13,9 +13,9 @@ import './OrError-19a62a18.js';
|
|
|
13
13
|
import './OrExpansionPanel-1e2a6375.js';
|
|
14
14
|
import './OrIcon-b3906e35.js';
|
|
15
15
|
import './OrHint-73835593.js';
|
|
16
|
-
import './OrInput-
|
|
17
|
-
import './OrIconButton-
|
|
18
|
-
import './OrTooltip-
|
|
16
|
+
import './OrInput-d34c8571.js';
|
|
17
|
+
import './OrIconButton-eef9eb43.js';
|
|
18
|
+
import './OrTooltip-36c6728c.js';
|
|
19
19
|
import './OrPopover-3525c670.js';
|
|
20
20
|
import '@floating-ui/dom';
|
|
21
21
|
import './useElevation-0e973238.js';
|
|
@@ -24,4 +24,4 @@ import './OrBottomSheet-9de57dd0.js';
|
|
|
24
24
|
import './OrOverlay-27050c19.js';
|
|
25
25
|
import './OrTeleport.vue3-8099178c.js';
|
|
26
26
|
import './OrMenuItem-8773d073.js';
|
|
27
|
-
import './OrTag-
|
|
27
|
+
import './OrTag-d1f3a0d0.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-d1f3a0d0.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import './OrIconButton-
|
|
5
|
+
import './OrIconButton-eef9eb43.js';
|
|
6
6
|
import './OrIcon-b3906e35.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import './OrTooltip-
|
|
8
|
+
import './OrTooltip-36c6728c.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-8ff779b1.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-eef9eb43.js';
|
|
8
8
|
import './useClassAttribute-47fdb016.js';
|
|
9
9
|
import './OrIcon-b3906e35.js';
|
|
10
|
-
import './OrTooltip-
|
|
10
|
+
import './OrTooltip-36c6728c.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
|
@@ -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-eef9eb43.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.62.
|
|
3
|
+
"version": "2.62.4",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "3cc12a392f5b692a521fe6a2661e628f229586c2"
|
|
83
83
|
}
|
|
@@ -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, TooltipRoot } from './styles';
|
|
33
|
+
import { TooltipBody, TooltipBodyPlacements, 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(props) {
|
|
67
67
|
// Refs
|
|
68
68
|
const root = ref<HTMLElement>();
|
|
69
69
|
|
|
@@ -81,6 +81,7 @@ export default defineComponent({
|
|
|
81
81
|
|
|
82
82
|
const bodyStyles = computed(() => [
|
|
83
83
|
...TooltipBody,
|
|
84
|
+
...TooltipBodyPlacements[props.placement],
|
|
84
85
|
]);
|
|
85
86
|
|
|
86
87
|
// Methods
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { TooltipPlacement } from './props';
|
|
2
|
+
|
|
1
3
|
export const TooltipRoot: string[] = [
|
|
2
4
|
// Layout
|
|
3
5
|
'inline-block',
|
|
@@ -9,6 +11,9 @@ export const TooltipBody: string[] = [
|
|
|
9
11
|
'rounded-sm',
|
|
10
12
|
|
|
11
13
|
// Sizing
|
|
14
|
+
'mx-sm',
|
|
15
|
+
'my-sm',
|
|
16
|
+
|
|
12
17
|
'px-sm',
|
|
13
18
|
'py-xs',
|
|
14
19
|
|
|
@@ -22,3 +27,53 @@ export const TooltipBody: string[] = [
|
|
|
22
27
|
'text-inverse-on-surface',
|
|
23
28
|
'dark:text-inverse-on-surface-dark',
|
|
24
29
|
];
|
|
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
|
+
};
|