@targetprocess/popover 12.23.3 → 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.
@@ -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 _classCallCheck(instance, Constructor) {
8
- if (!(instance instanceof Constructor)) {
9
- throw new TypeError("Cannot call a class as a function");
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(target, props) {
13
- for (var i = 0; i < props.length; i++) {
14
- var descriptor = props[i];
15
- descriptor.enumerable = descriptor.enumerable || false;
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(Constructor, protoProps, staticProps) {
22
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
23
- if (staticProps) _defineProperties(Constructor, staticProps);
24
- Object.defineProperty(Constructor, "prototype", {
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 (target) {
31
- for (var i = 1; i < arguments.length; i++) {
32
- var source = arguments[i];
33
- for (var key in source) {
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 target;
40
- };
41
- return _extends.apply(this, arguments);
31
+ return n;
32
+ }, _extends.apply(null, arguments);
42
33
  }
43
- function _inherits(subClass, superClass) {
44
- if (typeof superClass !== "function" && superClass !== null) {
45
- throw new TypeError("Super expression must either be null or a function");
46
- }
47
- subClass.prototype = Object.create(superClass && superClass.prototype, {
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: subClass,
50
- writable: true,
51
- configurable: true
43
+ value: t,
44
+ writable: !0,
45
+ configurable: !0
52
46
  }
53
- });
54
- Object.defineProperty(subClass, "prototype", {
55
- writable: false
56
- });
57
- if (superClass) _setPrototypeOf(subClass, superClass);
47
+ }), Object.defineProperty(t, "prototype", {
48
+ writable: !1
49
+ }), e && _setPrototypeOf(t, e);
58
50
  }
59
- function _getPrototypeOf(o) {
60
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
61
- return o.__proto__ || Object.getPrototypeOf(o);
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 _assertThisInitialized(self) {
73
- if (self === void 0) {
74
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
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(input, hint) {
87
- if (typeof input !== "object" || input === null) return input;
88
- var prim = input[Symbol.toPrimitive];
89
- if (prim !== undefined) {
90
- var res = prim.call(input, hint || "default");
91
- if (typeof res !== "object") return res;
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 (hint === "string" ? String : Number)(input);
69
+ return ("string" === r ? String : Number)(t);
95
70
  }
96
- function _toPropertyKey(arg) {
97
- var key = _toPrimitive(arg, "string");
98
- return typeof key === "symbol" ? key : String(key);
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-3 {\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-3 {\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-3 {\n padding: 0;\n }\n.popover-tip__popover__12-23-3 {\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-3: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-3,\n .popover-tip--top__popover__12-23-3 {\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-3,\n .popover-tip--right__popover__12-23-3 {\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-3: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-3: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-3: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-3:before {\n -webkit-transform-origin: left bottom;\n transform-origin: left bottom;\n left: 0;\n bottom: 50%;\n }\n";
213
- var styles = {"popover-body-container":"popover-body-container__popover__12-23-3","popover-body":"popover-body__popover__12-23-3","popover-body--no-padding":"popover-body--no-padding__popover__12-23-3","popover-tip":"popover-tip__popover__12-23-3","popover-tip--bottom":"popover-tip--bottom__popover__12-23-3","popover-tip--top":"popover-tip--top__popover__12-23-3","popover-tip--left":"popover-tip--left__popover__12-23-3","popover-tip--right":"popover-tip--right__popover__12-23-3"};
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 _classCallCheck(instance, Constructor) {
15
- if (!(instance instanceof Constructor)) {
16
- throw new TypeError("Cannot call a class as a function");
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(target, props) {
20
- for (var i = 0; i < props.length; i++) {
21
- var descriptor = props[i];
22
- descriptor.enumerable = descriptor.enumerable || false;
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(Constructor, protoProps, staticProps) {
29
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
30
- if (staticProps) _defineProperties(Constructor, staticProps);
31
- Object.defineProperty(Constructor, "prototype", {
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 (target) {
38
- for (var i = 1; i < arguments.length; i++) {
39
- var source = arguments[i];
40
- for (var key in source) {
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 target;
47
- };
48
- return _extends.apply(this, arguments);
38
+ return n;
39
+ }, _extends.apply(null, arguments);
49
40
  }
50
- function _inherits(subClass, superClass) {
51
- if (typeof superClass !== "function" && superClass !== null) {
52
- throw new TypeError("Super expression must either be null or a function");
53
- }
54
- subClass.prototype = Object.create(superClass && superClass.prototype, {
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: subClass,
57
- writable: true,
58
- configurable: true
50
+ value: t,
51
+ writable: !0,
52
+ configurable: !0
59
53
  }
60
- });
61
- Object.defineProperty(subClass, "prototype", {
62
- writable: false
63
- });
64
- if (superClass) _setPrototypeOf(subClass, superClass);
54
+ }), Object.defineProperty(t, "prototype", {
55
+ writable: !1
56
+ }), e && _setPrototypeOf(t, e);
65
57
  }
66
- function _getPrototypeOf(o) {
67
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
68
- return o.__proto__ || Object.getPrototypeOf(o);
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 _assertThisInitialized(self) {
80
- if (self === void 0) {
81
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
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(input, hint) {
94
- if (typeof input !== "object" || input === null) return input;
95
- var prim = input[Symbol.toPrimitive];
96
- if (prim !== undefined) {
97
- var res = prim.call(input, hint || "default");
98
- if (typeof res !== "object") return res;
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 (hint === "string" ? String : Number)(input);
76
+ return ("string" === r ? String : Number)(t);
102
77
  }
103
- function _toPropertyKey(arg) {
104
- var key = _toPrimitive(arg, "string");
105
- return typeof key === "symbol" ? key : String(key);
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-3 {\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-3 {\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-3 {\n padding: 0;\n }\n.popover-tip__popover__12-23-3 {\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-3: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-3,\n .popover-tip--top__popover__12-23-3 {\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-3,\n .popover-tip--right__popover__12-23-3 {\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-3: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-3: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-3: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-3:before {\n -webkit-transform-origin: left bottom;\n transform-origin: left bottom;\n left: 0;\n bottom: 50%;\n }\n";
220
- var styles = {"popover-body-container":"popover-body-container__popover__12-23-3","popover-body":"popover-body__popover__12-23-3","popover-body--no-padding":"popover-body--no-padding__popover__12-23-3","popover-tip":"popover-tip__popover__12-23-3","popover-tip--bottom":"popover-tip--bottom__popover__12-23-3","popover-tip--top":"popover-tip--top__popover__12-23-3","popover-tip--left":"popover-tip--left__popover__12-23-3","popover-tip--right":"popover-tip--right__popover__12-23-3"};
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",
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.3",
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": "b1177e00af98d1e0a815b37f3b8e959a0a9d09bc"
25
+ "gitHead": "99534dff51718fc768b54c72fef84f2853e37818"
26
26
  }