@targetprocess/popover 12.23.3-alpha.0 → 12.23.4-alpha.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/popover.es.js +54 -79
- package/dist/popover.js +54 -79
- package/package.json +3 -3
package/dist/popover.es.js
CHANGED
|
@@ -4,98 +4,73 @@ import classNames from 'classnames';
|
|
|
4
4
|
import ReactDOM from 'react-dom';
|
|
5
5
|
import FocusTrap from 'focus-trap-react';
|
|
6
6
|
|
|
7
|
-
function
|
|
8
|
-
if (
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
function _assertThisInitialized(e) {
|
|
8
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
9
|
+
return e;
|
|
10
|
+
}
|
|
11
|
+
function _classCallCheck(a, n) {
|
|
12
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
11
13
|
}
|
|
12
|
-
function _defineProperties(
|
|
13
|
-
for (var
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
descriptor.configurable = true;
|
|
17
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
18
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
14
|
+
function _defineProperties(e, r) {
|
|
15
|
+
for (var t = 0; t < r.length; t++) {
|
|
16
|
+
var o = r[t];
|
|
17
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
|
-
function _createClass(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
writable: false
|
|
26
|
-
});
|
|
27
|
-
return Constructor;
|
|
20
|
+
function _createClass(e, r, t) {
|
|
21
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
22
|
+
writable: !1
|
|
23
|
+
}), e;
|
|
28
24
|
}
|
|
29
25
|
function _extends() {
|
|
30
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
31
|
-
for (var
|
|
32
|
-
var
|
|
33
|
-
for (var
|
|
34
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
35
|
-
target[key] = source[key];
|
|
36
|
-
}
|
|
37
|
-
}
|
|
26
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
27
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
28
|
+
var t = arguments[e];
|
|
29
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
38
30
|
}
|
|
39
|
-
return
|
|
40
|
-
};
|
|
41
|
-
return _extends.apply(this, arguments);
|
|
31
|
+
return n;
|
|
32
|
+
}, _extends.apply(null, arguments);
|
|
42
33
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
34
|
+
function _getPrototypeOf(t) {
|
|
35
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
36
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
37
|
+
}, _getPrototypeOf(t);
|
|
38
|
+
}
|
|
39
|
+
function _inherits(t, e) {
|
|
40
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
41
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
48
42
|
constructor: {
|
|
49
|
-
value:
|
|
50
|
-
writable:
|
|
51
|
-
configurable:
|
|
43
|
+
value: t,
|
|
44
|
+
writable: !0,
|
|
45
|
+
configurable: !0
|
|
52
46
|
}
|
|
53
|
-
})
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
});
|
|
57
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
47
|
+
}), Object.defineProperty(t, "prototype", {
|
|
48
|
+
writable: !1
|
|
49
|
+
}), e && _setPrototypeOf(t, e);
|
|
58
50
|
}
|
|
59
|
-
function
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
return _getPrototypeOf(o);
|
|
64
|
-
}
|
|
65
|
-
function _setPrototypeOf(o, p) {
|
|
66
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
67
|
-
o.__proto__ = p;
|
|
68
|
-
return o;
|
|
69
|
-
};
|
|
70
|
-
return _setPrototypeOf(o, p);
|
|
51
|
+
function _possibleConstructorReturn(t, e) {
|
|
52
|
+
if (e && ("object" == typeof e || "function" == typeof e)) return e;
|
|
53
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
54
|
+
return _assertThisInitialized(t);
|
|
71
55
|
}
|
|
72
|
-
function
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
return self;
|
|
77
|
-
}
|
|
78
|
-
function _possibleConstructorReturn(self, call) {
|
|
79
|
-
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
80
|
-
return call;
|
|
81
|
-
} else if (call !== void 0) {
|
|
82
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
83
|
-
}
|
|
84
|
-
return _assertThisInitialized(self);
|
|
56
|
+
function _setPrototypeOf(t, e) {
|
|
57
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
58
|
+
return t.__proto__ = e, t;
|
|
59
|
+
}, _setPrototypeOf(t, e);
|
|
85
60
|
}
|
|
86
|
-
function _toPrimitive(
|
|
87
|
-
if (
|
|
88
|
-
var
|
|
89
|
-
if (
|
|
90
|
-
var
|
|
91
|
-
if (
|
|
61
|
+
function _toPrimitive(t, r) {
|
|
62
|
+
if ("object" != typeof t || !t) return t;
|
|
63
|
+
var e = t[Symbol.toPrimitive];
|
|
64
|
+
if (void 0 !== e) {
|
|
65
|
+
var i = e.call(t, r || "default");
|
|
66
|
+
if ("object" != typeof i) return i;
|
|
92
67
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
93
68
|
}
|
|
94
|
-
return (
|
|
69
|
+
return ("string" === r ? String : Number)(t);
|
|
95
70
|
}
|
|
96
|
-
function _toPropertyKey(
|
|
97
|
-
var
|
|
98
|
-
return
|
|
71
|
+
function _toPropertyKey(t) {
|
|
72
|
+
var i = _toPrimitive(t, "string");
|
|
73
|
+
return "symbol" == typeof i ? i : i + "";
|
|
99
74
|
}
|
|
100
75
|
|
|
101
76
|
/*********************************************************************
|
|
@@ -209,8 +184,8 @@ function styleInject(css, ref) {
|
|
|
209
184
|
}
|
|
210
185
|
}
|
|
211
186
|
|
|
212
|
-
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.popover-body-container__popover__12-23-
|
|
213
|
-
var styles = {"popover-body-container":"popover-body-container__popover__12-23-
|
|
187
|
+
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.popover-body-container__popover__12-23-4-alpha-0 {\n -webkit-box-shadow: var(--BoxShadowL, 0 4px 16px 0 rgba(0, 0, 0, 0.12));\n box-shadow: var(--BoxShadowL, 0 4px 16px 0 rgba(0, 0, 0, 0.12));\n border-radius: var(--BorderRadiusL, 4px);\n border: 1px solid var(--HighlightBlockBorderColor, rgba(64, 66, 73, 0.1));\n background: var(--BackgroundDefault, #FFFFFF);\n z-index: var(--ZIndexModal, 10001);\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.popover-body__popover__12-23-4-alpha-0 {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n padding: var(--SpaceSM, 12px);\n font-size: var(--FontSizeDefault, 13px);\n color: var(--FontColorDefault, #000000);\n}\n.popover-body--no-padding__popover__12-23-4-alpha-0 {\n padding: 0;\n }\n.popover-tip__popover__12-23-4-alpha-0 {\n position: absolute;\n pointer-events: none;\n z-index: calc(var(--ZIndexModal, 10001) + 1);\n overflow: hidden;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.popover-tip__popover__12-23-4-alpha-0:before {\n content: '';\n position: absolute;\n display: block;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n background-color: var(--BackgroundDefault, #FFFFFF);\n border: 1px solid var(--HighlightBlockBorderColor, rgba(64, 66, 73, 0.1));\n /*\n geometry FTW\n\n 2*$popoverTipSize\n _______ _______\n | /|\\ |\n | / | \\ | $popoverTipSize\n | / | \\ |\n |/______|______\\|\n since tip is rotated 45 degrees, its width and height is a\n diagonal of a square with side=$popoverTipSize, thus diagonal\n is sqrt(2) * $popoverTipSize.\n sqrt(2) ~= 1.414, 1.4 used here to prevent too much rounding\n */\n width: 11.2px;\n height: 11.2px;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n.popover-tip--bottom__popover__12-23-4-alpha-0,\n .popover-tip--top__popover__12-23-4-alpha-0 {\n width: 100%;\n border-top: 1px var(--BackgroundDefault, #FFFFFF);\n border-bottom: 1px var(--BackgroundDefault, #FFFFFF);\n height: 9px;\n }\n.popover-tip--left__popover__12-23-4-alpha-0,\n .popover-tip--right__popover__12-23-4-alpha-0 {\n border-left: 1px var(--BackgroundDefault, #FFFFFF);\n border-right: 1px var(--BackgroundDefault, #FFFFFF);\n height: 100%;\n width: 9px;\n }\n/*\n To determine tip position, we need to rotate it\n along the \"tip\" point, after that, the \"tip\" point\n can be placed with exactly 50% offset from the origin\n so that it is centered.\n */\n.popover-tip--bottom__popover__12-23-4-alpha-0:before {\n -webkit-transform-origin: left top;\n transform-origin: left top;\n left: 50%;\n top: 0;\n }\n.popover-tip--top__popover__12-23-4-alpha-0:before {\n -webkit-transform-origin: right bottom;\n transform-origin: right bottom;\n right: 50%;\n bottom: 0;\n }\n.popover-tip--left__popover__12-23-4-alpha-0:before {\n -webkit-transform-origin: right top;\n transform-origin: right top;\n right: 0;\n top: 50%;\n }\n.popover-tip--right__popover__12-23-4-alpha-0:before {\n -webkit-transform-origin: left bottom;\n transform-origin: left bottom;\n left: 0;\n bottom: 50%;\n }\n";
|
|
188
|
+
var styles = {"popover-body-container":"popover-body-container__popover__12-23-4-alpha-0","popover-body":"popover-body__popover__12-23-4-alpha-0","popover-body--no-padding":"popover-body--no-padding__popover__12-23-4-alpha-0","popover-tip":"popover-tip__popover__12-23-4-alpha-0","popover-tip--bottom":"popover-tip--bottom__popover__12-23-4-alpha-0","popover-tip--top":"popover-tip--top__popover__12-23-4-alpha-0","popover-tip--left":"popover-tip--left__popover__12-23-4-alpha-0","popover-tip--right":"popover-tip--right__popover__12-23-4-alpha-0"};
|
|
214
189
|
styleInject(css);
|
|
215
190
|
|
|
216
191
|
/*********************************************************************
|
package/dist/popover.js
CHANGED
|
@@ -11,98 +11,73 @@ var classNames = _interopDefault(require('classnames'));
|
|
|
11
11
|
var ReactDOM = _interopDefault(require('react-dom'));
|
|
12
12
|
var FocusTrap = _interopDefault(require('focus-trap-react'));
|
|
13
13
|
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
function _assertThisInitialized(e) {
|
|
15
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16
|
+
return e;
|
|
17
|
+
}
|
|
18
|
+
function _classCallCheck(a, n) {
|
|
19
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
18
20
|
}
|
|
19
|
-
function _defineProperties(
|
|
20
|
-
for (var
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
descriptor.configurable = true;
|
|
24
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
25
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
21
|
+
function _defineProperties(e, r) {
|
|
22
|
+
for (var t = 0; t < r.length; t++) {
|
|
23
|
+
var o = r[t];
|
|
24
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
|
-
function _createClass(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
writable: false
|
|
33
|
-
});
|
|
34
|
-
return Constructor;
|
|
27
|
+
function _createClass(e, r, t) {
|
|
28
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
29
|
+
writable: !1
|
|
30
|
+
}), e;
|
|
35
31
|
}
|
|
36
32
|
function _extends() {
|
|
37
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
38
|
-
for (var
|
|
39
|
-
var
|
|
40
|
-
for (var
|
|
41
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
42
|
-
target[key] = source[key];
|
|
43
|
-
}
|
|
44
|
-
}
|
|
33
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
34
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
35
|
+
var t = arguments[e];
|
|
36
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
45
37
|
}
|
|
46
|
-
return
|
|
47
|
-
};
|
|
48
|
-
return _extends.apply(this, arguments);
|
|
38
|
+
return n;
|
|
39
|
+
}, _extends.apply(null, arguments);
|
|
49
40
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
41
|
+
function _getPrototypeOf(t) {
|
|
42
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
43
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
44
|
+
}, _getPrototypeOf(t);
|
|
45
|
+
}
|
|
46
|
+
function _inherits(t, e) {
|
|
47
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
48
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
55
49
|
constructor: {
|
|
56
|
-
value:
|
|
57
|
-
writable:
|
|
58
|
-
configurable:
|
|
50
|
+
value: t,
|
|
51
|
+
writable: !0,
|
|
52
|
+
configurable: !0
|
|
59
53
|
}
|
|
60
|
-
})
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
});
|
|
64
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
54
|
+
}), Object.defineProperty(t, "prototype", {
|
|
55
|
+
writable: !1
|
|
56
|
+
}), e && _setPrototypeOf(t, e);
|
|
65
57
|
}
|
|
66
|
-
function
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return _getPrototypeOf(o);
|
|
71
|
-
}
|
|
72
|
-
function _setPrototypeOf(o, p) {
|
|
73
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
74
|
-
o.__proto__ = p;
|
|
75
|
-
return o;
|
|
76
|
-
};
|
|
77
|
-
return _setPrototypeOf(o, p);
|
|
58
|
+
function _possibleConstructorReturn(t, e) {
|
|
59
|
+
if (e && ("object" == typeof e || "function" == typeof e)) return e;
|
|
60
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
61
|
+
return _assertThisInitialized(t);
|
|
78
62
|
}
|
|
79
|
-
function
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
return self;
|
|
84
|
-
}
|
|
85
|
-
function _possibleConstructorReturn(self, call) {
|
|
86
|
-
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
87
|
-
return call;
|
|
88
|
-
} else if (call !== void 0) {
|
|
89
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
90
|
-
}
|
|
91
|
-
return _assertThisInitialized(self);
|
|
63
|
+
function _setPrototypeOf(t, e) {
|
|
64
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
65
|
+
return t.__proto__ = e, t;
|
|
66
|
+
}, _setPrototypeOf(t, e);
|
|
92
67
|
}
|
|
93
|
-
function _toPrimitive(
|
|
94
|
-
if (
|
|
95
|
-
var
|
|
96
|
-
if (
|
|
97
|
-
var
|
|
98
|
-
if (
|
|
68
|
+
function _toPrimitive(t, r) {
|
|
69
|
+
if ("object" != typeof t || !t) return t;
|
|
70
|
+
var e = t[Symbol.toPrimitive];
|
|
71
|
+
if (void 0 !== e) {
|
|
72
|
+
var i = e.call(t, r || "default");
|
|
73
|
+
if ("object" != typeof i) return i;
|
|
99
74
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
100
75
|
}
|
|
101
|
-
return (
|
|
76
|
+
return ("string" === r ? String : Number)(t);
|
|
102
77
|
}
|
|
103
|
-
function _toPropertyKey(
|
|
104
|
-
var
|
|
105
|
-
return
|
|
78
|
+
function _toPropertyKey(t) {
|
|
79
|
+
var i = _toPrimitive(t, "string");
|
|
80
|
+
return "symbol" == typeof i ? i : i + "";
|
|
106
81
|
}
|
|
107
82
|
|
|
108
83
|
/*********************************************************************
|
|
@@ -216,8 +191,8 @@ function styleInject(css, ref) {
|
|
|
216
191
|
}
|
|
217
192
|
}
|
|
218
193
|
|
|
219
|
-
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.popover-body-container__popover__12-23-
|
|
220
|
-
var styles = {"popover-body-container":"popover-body-container__popover__12-23-
|
|
194
|
+
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.popover-body-container__popover__12-23-4-alpha-0 {\n -webkit-box-shadow: var(--BoxShadowL, 0 4px 16px 0 rgba(0, 0, 0, 0.12));\n box-shadow: var(--BoxShadowL, 0 4px 16px 0 rgba(0, 0, 0, 0.12));\n border-radius: var(--BorderRadiusL, 4px);\n border: 1px solid var(--HighlightBlockBorderColor, rgba(64, 66, 73, 0.1));\n background: var(--BackgroundDefault, #FFFFFF);\n z-index: var(--ZIndexModal, 10001);\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.popover-body__popover__12-23-4-alpha-0 {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n padding: var(--SpaceSM, 12px);\n font-size: var(--FontSizeDefault, 13px);\n color: var(--FontColorDefault, #000000);\n}\n.popover-body--no-padding__popover__12-23-4-alpha-0 {\n padding: 0;\n }\n.popover-tip__popover__12-23-4-alpha-0 {\n position: absolute;\n pointer-events: none;\n z-index: calc(var(--ZIndexModal, 10001) + 1);\n overflow: hidden;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.popover-tip__popover__12-23-4-alpha-0:before {\n content: '';\n position: absolute;\n display: block;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n background-color: var(--BackgroundDefault, #FFFFFF);\n border: 1px solid var(--HighlightBlockBorderColor, rgba(64, 66, 73, 0.1));\n /*\n geometry FTW\n\n 2*$popoverTipSize\n _______ _______\n | /|\\ |\n | / | \\ | $popoverTipSize\n | / | \\ |\n |/______|______\\|\n since tip is rotated 45 degrees, its width and height is a\n diagonal of a square with side=$popoverTipSize, thus diagonal\n is sqrt(2) * $popoverTipSize.\n sqrt(2) ~= 1.414, 1.4 used here to prevent too much rounding\n */\n width: 11.2px;\n height: 11.2px;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n.popover-tip--bottom__popover__12-23-4-alpha-0,\n .popover-tip--top__popover__12-23-4-alpha-0 {\n width: 100%;\n border-top: 1px var(--BackgroundDefault, #FFFFFF);\n border-bottom: 1px var(--BackgroundDefault, #FFFFFF);\n height: 9px;\n }\n.popover-tip--left__popover__12-23-4-alpha-0,\n .popover-tip--right__popover__12-23-4-alpha-0 {\n border-left: 1px var(--BackgroundDefault, #FFFFFF);\n border-right: 1px var(--BackgroundDefault, #FFFFFF);\n height: 100%;\n width: 9px;\n }\n/*\n To determine tip position, we need to rotate it\n along the \"tip\" point, after that, the \"tip\" point\n can be placed with exactly 50% offset from the origin\n so that it is centered.\n */\n.popover-tip--bottom__popover__12-23-4-alpha-0:before {\n -webkit-transform-origin: left top;\n transform-origin: left top;\n left: 50%;\n top: 0;\n }\n.popover-tip--top__popover__12-23-4-alpha-0:before {\n -webkit-transform-origin: right bottom;\n transform-origin: right bottom;\n right: 50%;\n bottom: 0;\n }\n.popover-tip--left__popover__12-23-4-alpha-0:before {\n -webkit-transform-origin: right top;\n transform-origin: right top;\n right: 0;\n top: 50%;\n }\n.popover-tip--right__popover__12-23-4-alpha-0:before {\n -webkit-transform-origin: left bottom;\n transform-origin: left bottom;\n left: 0;\n bottom: 50%;\n }\n";
|
|
195
|
+
var styles = {"popover-body-container":"popover-body-container__popover__12-23-4-alpha-0","popover-body":"popover-body__popover__12-23-4-alpha-0","popover-body--no-padding":"popover-body--no-padding__popover__12-23-4-alpha-0","popover-tip":"popover-tip__popover__12-23-4-alpha-0","popover-tip--bottom":"popover-tip--bottom__popover__12-23-4-alpha-0","popover-tip--top":"popover-tip--top__popover__12-23-4-alpha-0","popover-tip--left":"popover-tip--left__popover__12-23-4-alpha-0","popover-tip--right":"popover-tip--right__popover__12-23-4-alpha-0"};
|
|
221
196
|
styleInject(css);
|
|
222
197
|
|
|
223
198
|
/*********************************************************************
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@targetprocess/popover",
|
|
3
|
-
"version": "12.23.
|
|
3
|
+
"version": "12.23.4-alpha.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/popover.js",
|
|
6
6
|
"module": "dist/popover.es.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"prepack": "node -r ../../.ts-node.js ../../config/rollup.config.js ."
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@targetprocess/global-constants": "^12.23.
|
|
15
|
+
"@targetprocess/global-constants": "^12.23.4-alpha.0",
|
|
16
16
|
"classnames": "^2.2.5",
|
|
17
17
|
"focus-trap-react": "^10.3.0",
|
|
18
18
|
"prop-types": "^15.6.0",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "99534dff51718fc768b54c72fef84f2853e37818"
|
|
26
26
|
}
|