@ebay/ui-core-react 3.11.1 → 3.11.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/tooltip-utils/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,yBAAyB,EAAE,gBAA2B,CAAA;AAEnE,eAAO,MAAM,cAAc,EAAE;KAAG,GAAG,IAAI,gBAAgB,GAAG,GAAG;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/tooltip-utils/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,yBAAyB,EAAE,gBAA2B,CAAA;AAEnE,eAAO,MAAM,cAAc,EAAE;KAAG,GAAG,IAAI,gBAAgB,GAAG,GAAG;CAqF5D,CAAA"}
|
|
@@ -3,76 +3,85 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.POINTER_STYLES = exports.DEFAULT_POINTER_DIRECTION = void 0;
|
|
4
4
|
exports.DEFAULT_POINTER_DIRECTION = 'bottom';
|
|
5
5
|
exports.POINTER_STYLES = {
|
|
6
|
-
left: {
|
|
7
|
-
transform: 'translateX(16px) translateY(-50%)',
|
|
6
|
+
'left': {
|
|
7
|
+
transform: 'translateX(16px) translateY(-50%) scale3d(1,1,1)',
|
|
8
8
|
left: '100%',
|
|
9
9
|
right: 'auto',
|
|
10
|
-
top: '-
|
|
10
|
+
top: '-6px',
|
|
11
11
|
bottom: 'auto'
|
|
12
12
|
},
|
|
13
13
|
'left-top': {
|
|
14
|
-
transform: 'translateX(16px)',
|
|
14
|
+
transform: 'translateX(16px) scale3d(1,1,1)',
|
|
15
15
|
left: '100%',
|
|
16
16
|
right: 'auto',
|
|
17
17
|
top: '-100%',
|
|
18
18
|
bottom: 'auto'
|
|
19
19
|
},
|
|
20
20
|
'left-bottom': {
|
|
21
|
-
transform: 'translateX(16px)',
|
|
21
|
+
transform: 'translateX(16px) scale3d(1,1,1)',
|
|
22
22
|
left: '100%',
|
|
23
23
|
right: 'auto',
|
|
24
24
|
top: 'auto',
|
|
25
|
-
bottom: '-
|
|
25
|
+
bottom: '-10px'
|
|
26
26
|
},
|
|
27
27
|
'right': {
|
|
28
|
-
transform: 'translateX(-16px) translateY(-50%)',
|
|
28
|
+
transform: 'translateX(-16px) translateY(-50%) scale3d(1,1,1)',
|
|
29
29
|
left: 'auto',
|
|
30
30
|
right: '100%',
|
|
31
|
-
top: '-
|
|
31
|
+
top: '-6px',
|
|
32
32
|
bottom: 'auto'
|
|
33
33
|
},
|
|
34
34
|
'right-top': {
|
|
35
|
-
transform: 'translateX(-16px)',
|
|
35
|
+
transform: 'translateX(-16px) scale3d(1,1,1)',
|
|
36
36
|
left: 'auto',
|
|
37
37
|
right: '100%',
|
|
38
38
|
top: '-100%',
|
|
39
39
|
bottom: 'auto'
|
|
40
40
|
},
|
|
41
41
|
'right-bottom': {
|
|
42
|
-
transform: 'translateX(-16px)',
|
|
42
|
+
transform: 'translateX(-16px) scale3d(1,1,1)',
|
|
43
43
|
left: 'auto',
|
|
44
44
|
right: '100%',
|
|
45
45
|
top: 'auto',
|
|
46
46
|
bottom: '-50%'
|
|
47
47
|
},
|
|
48
48
|
'top': {
|
|
49
|
-
transform: 'translateX(-50%)',
|
|
49
|
+
transform: 'translateX(-50%) scale3d(1,1,1)',
|
|
50
50
|
left: '50%',
|
|
51
51
|
right: 'auto',
|
|
52
|
-
top: '
|
|
52
|
+
top: 'calc(100% + 2px)',
|
|
53
|
+
bottom: 'auto'
|
|
54
|
+
},
|
|
55
|
+
'top-left': {
|
|
56
|
+
transform: 'scale3d(1,1,1)',
|
|
57
|
+
left: '-10px',
|
|
58
|
+
right: 'auto',
|
|
59
|
+
top: 'calc(100% + 2px)',
|
|
53
60
|
bottom: 'auto'
|
|
54
61
|
},
|
|
55
|
-
'top-left': {},
|
|
56
62
|
'top-right': {
|
|
63
|
+
transform: 'scale3d(1,1,1)',
|
|
57
64
|
left: 'auto',
|
|
58
|
-
right: '-
|
|
59
|
-
top: '
|
|
65
|
+
right: '-10px',
|
|
66
|
+
top: 'calc(100% + 2px)',
|
|
60
67
|
bottom: 'auto'
|
|
61
68
|
},
|
|
62
69
|
'bottom-right': {
|
|
70
|
+
transform: 'scale3d(1,1,1)',
|
|
63
71
|
left: 'auto',
|
|
64
|
-
right: '-
|
|
72
|
+
right: '-10px',
|
|
65
73
|
top: 'auto',
|
|
66
74
|
bottom: 'calc(100% + 12px)'
|
|
67
75
|
},
|
|
68
76
|
'bottom-left': {
|
|
69
|
-
|
|
77
|
+
transform: 'scale3d(1,1,1)',
|
|
78
|
+
left: '-10px',
|
|
70
79
|
right: 'auto',
|
|
71
80
|
top: 'auto',
|
|
72
81
|
bottom: 'calc(100% + 12px)'
|
|
73
82
|
},
|
|
74
83
|
'bottom': {
|
|
75
|
-
transform: 'translateX(-50%)',
|
|
84
|
+
transform: 'translateX(-50%) scale3d(1,1,1)',
|
|
76
85
|
left: '50%',
|
|
77
86
|
right: 'auto',
|
|
78
87
|
top: 'auto',
|