@targetprocess/confirmation 12.23.4-alpha.0 → 12.23.5-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.
@@ -5,101 +5,139 @@ import * as CssAccessorsWithFallback from '@targetprocess/css-variables';
5
5
  import { Second100, Second500 } from '@targetprocess/css-variables';
6
6
  import { Popover } from '@targetprocess/popover';
7
7
 
8
- function _assertThisInitialized(e) {
9
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10
- return e;
11
- }
12
- function _classCallCheck(a, n) {
13
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
8
+ function _classCallCheck(instance, Constructor) {
9
+ if (!(instance instanceof Constructor)) {
10
+ throw new TypeError("Cannot call a class as a function");
11
+ }
14
12
  }
15
- function _defineProperties(e, r) {
16
- for (var t = 0; t < r.length; t++) {
17
- var o = r[t];
18
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
13
+ function _defineProperties(target, props) {
14
+ for (var i = 0; i < props.length; i++) {
15
+ var descriptor = props[i];
16
+ descriptor.enumerable = descriptor.enumerable || false;
17
+ descriptor.configurable = true;
18
+ if ("value" in descriptor) descriptor.writable = true;
19
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
19
20
  }
20
21
  }
21
- function _createClass(e, r, t) {
22
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
23
- writable: !1
24
- }), e;
22
+ function _createClass(Constructor, protoProps, staticProps) {
23
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
24
+ if (staticProps) _defineProperties(Constructor, staticProps);
25
+ Object.defineProperty(Constructor, "prototype", {
26
+ writable: false
27
+ });
28
+ return Constructor;
25
29
  }
26
- function _defineProperty(e, r, t) {
27
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
28
- value: t,
29
- enumerable: !0,
30
- configurable: !0,
31
- writable: !0
32
- }) : e[r] = t, e;
30
+ function _defineProperty(obj, key, value) {
31
+ key = _toPropertyKey(key);
32
+ if (key in obj) {
33
+ Object.defineProperty(obj, key, {
34
+ value: value,
35
+ enumerable: true,
36
+ configurable: true,
37
+ writable: true
38
+ });
39
+ } else {
40
+ obj[key] = value;
41
+ }
42
+ return obj;
33
43
  }
34
44
  function _extends() {
35
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
36
- for (var e = 1; e < arguments.length; e++) {
37
- var t = arguments[e];
38
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
45
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
46
+ for (var i = 1; i < arguments.length; i++) {
47
+ var source = arguments[i];
48
+ for (var key in source) {
49
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
50
+ target[key] = source[key];
51
+ }
52
+ }
39
53
  }
40
- return n;
41
- }, _extends.apply(null, arguments);
54
+ return target;
55
+ };
56
+ return _extends.apply(this, arguments);
42
57
  }
43
- function _getPrototypeOf(t) {
44
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
45
- return t.__proto__ || Object.getPrototypeOf(t);
46
- }, _getPrototypeOf(t);
47
- }
48
- function _inherits(t, e) {
49
- if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
50
- t.prototype = Object.create(e && e.prototype, {
58
+ function _inherits(subClass, superClass) {
59
+ if (typeof superClass !== "function" && superClass !== null) {
60
+ throw new TypeError("Super expression must either be null or a function");
61
+ }
62
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
51
63
  constructor: {
52
- value: t,
53
- writable: !0,
54
- configurable: !0
64
+ value: subClass,
65
+ writable: true,
66
+ configurable: true
55
67
  }
56
- }), Object.defineProperty(t, "prototype", {
57
- writable: !1
58
- }), e && _setPrototypeOf(t, e);
68
+ });
69
+ Object.defineProperty(subClass, "prototype", {
70
+ writable: false
71
+ });
72
+ if (superClass) _setPrototypeOf(subClass, superClass);
59
73
  }
60
- function _objectWithoutProperties(e, t) {
61
- if (null == e) return {};
62
- var o,
63
- r,
64
- i = _objectWithoutPropertiesLoose(e, t);
65
- if (Object.getOwnPropertySymbols) {
66
- var s = Object.getOwnPropertySymbols(e);
67
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
74
+ function _getPrototypeOf(o) {
75
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
76
+ return o.__proto__ || Object.getPrototypeOf(o);
77
+ };
78
+ return _getPrototypeOf(o);
79
+ }
80
+ function _setPrototypeOf(o, p) {
81
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
82
+ o.__proto__ = p;
83
+ return o;
84
+ };
85
+ return _setPrototypeOf(o, p);
86
+ }
87
+ function _objectWithoutPropertiesLoose(source, excluded) {
88
+ if (source == null) return {};
89
+ var target = {};
90
+ var sourceKeys = Object.keys(source);
91
+ var key, i;
92
+ for (i = 0; i < sourceKeys.length; i++) {
93
+ key = sourceKeys[i];
94
+ if (excluded.indexOf(key) >= 0) continue;
95
+ target[key] = source[key];
68
96
  }
69
- return i;
97
+ return target;
70
98
  }
71
- function _objectWithoutPropertiesLoose(r, e) {
72
- if (null == r) return {};
73
- var t = {};
74
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
75
- if (e.includes(n)) continue;
76
- t[n] = r[n];
99
+ function _objectWithoutProperties(source, excluded) {
100
+ if (source == null) return {};
101
+ var target = _objectWithoutPropertiesLoose(source, excluded);
102
+ var key, i;
103
+ if (Object.getOwnPropertySymbols) {
104
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
105
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
106
+ key = sourceSymbolKeys[i];
107
+ if (excluded.indexOf(key) >= 0) continue;
108
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
109
+ target[key] = source[key];
110
+ }
77
111
  }
78
- return t;
112
+ return target;
79
113
  }
80
- function _possibleConstructorReturn(t, e) {
81
- if (e && ("object" == typeof e || "function" == typeof e)) return e;
82
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
83
- return _assertThisInitialized(t);
114
+ function _assertThisInitialized(self) {
115
+ if (self === void 0) {
116
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
117
+ }
118
+ return self;
84
119
  }
85
- function _setPrototypeOf(t, e) {
86
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
87
- return t.__proto__ = e, t;
88
- }, _setPrototypeOf(t, e);
120
+ function _possibleConstructorReturn(self, call) {
121
+ if (call && (typeof call === "object" || typeof call === "function")) {
122
+ return call;
123
+ } else if (call !== void 0) {
124
+ throw new TypeError("Derived constructors may only return object or undefined");
125
+ }
126
+ return _assertThisInitialized(self);
89
127
  }
90
- function _toPrimitive(t, r) {
91
- if ("object" != typeof t || !t) return t;
92
- var e = t[Symbol.toPrimitive];
93
- if (void 0 !== e) {
94
- var i = e.call(t, r || "default");
95
- if ("object" != typeof i) return i;
128
+ function _toPrimitive(input, hint) {
129
+ if (typeof input !== "object" || input === null) return input;
130
+ var prim = input[Symbol.toPrimitive];
131
+ if (prim !== undefined) {
132
+ var res = prim.call(input, hint || "default");
133
+ if (typeof res !== "object") return res;
96
134
  throw new TypeError("@@toPrimitive must return a primitive value.");
97
135
  }
98
- return ("string" === r ? String : Number)(t);
136
+ return (hint === "string" ? String : Number)(input);
99
137
  }
100
- function _toPropertyKey(t) {
101
- var i = _toPrimitive(t, "string");
102
- return "symbol" == typeof i ? i : i + "";
138
+ function _toPropertyKey(arg) {
139
+ var key = _toPrimitive(arg, "string");
140
+ return typeof key === "symbol" ? key : String(key);
103
141
  }
104
142
 
105
143
  function styleInject(css, ref) {
@@ -129,8 +167,8 @@ function styleInject(css, ref) {
129
167
  }
130
168
  }
131
169
 
132
- var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-23-4-alpha-0 {\n min-width: 200px;\n max-width: 280px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.confirmation__icon__confirmation__12-23-4-alpha-0 {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n margin-right: var(--SpaceSM, 12px);\n border-radius: 50%;\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 width: var(--ControlHeightDefault, 24px);\n height: var(--ControlHeightDefault, 24px);\n }\n.confirmation__inner__confirmation__12-23-4-alpha-0 {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n }\n.confirmation__text__confirmation__12-23-4-alpha-0 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n }\n.confirmation__text--detailed__confirmation__12-23-4-alpha-0 {\n font-weight: var(--FontWeightSemibold, 600);\n line-height: 1.23;\n font-size: var(--FontSizeTitleSubsection, 16px);\n margin: var(--SpaceXS, 4px) 0 var(--SpaceS, 8px) 0;\n min-width: 200px;\n }\n.confirmation__description__confirmation__12-23-4-alpha-0 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n color: var(--FontColorGray, rgba(0, 0, 0, 0.7));\n }\n.confirmation__controls__confirmation__12-23-4-alpha-0 {\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 margin-bottom: var(--SpaceXS, 4px);\n }\n.confirmation__controls__item__confirmation__12-23-4-alpha-0:not(:last-child) {\n margin-right: var(--SpaceS, 8px);\n }\n";
133
- var styles = {"confirmation":"confirmation__confirmation__12-23-4-alpha-0","confirmation__icon":"confirmation__icon__confirmation__12-23-4-alpha-0","confirmation__inner":"confirmation__inner__confirmation__12-23-4-alpha-0","confirmation__text":"confirmation__text__confirmation__12-23-4-alpha-0","confirmation__text--detailed":"confirmation__text--detailed__confirmation__12-23-4-alpha-0","confirmation__description":"confirmation__description__confirmation__12-23-4-alpha-0","confirmation__controls":"confirmation__controls__confirmation__12-23-4-alpha-0","confirmation__controls__item":"confirmation__controls__item__confirmation__12-23-4-alpha-0"};
170
+ var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-23-5-alpha-0 {\n min-width: 200px;\n max-width: 280px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.confirmation__icon__confirmation__12-23-5-alpha-0 {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n margin-right: var(--SpaceSM, 12px);\n border-radius: 50%;\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 width: var(--ControlHeightDefault, 24px);\n height: var(--ControlHeightDefault, 24px);\n }\n.confirmation__inner__confirmation__12-23-5-alpha-0 {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n }\n.confirmation__text__confirmation__12-23-5-alpha-0 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n }\n.confirmation__text--detailed__confirmation__12-23-5-alpha-0 {\n font-weight: var(--FontWeightSemibold, 600);\n line-height: 1.23;\n font-size: var(--FontSizeTitleSubsection, 16px);\n margin: var(--SpaceXS, 4px) 0 var(--SpaceS, 8px) 0;\n min-width: 200px;\n }\n.confirmation__description__confirmation__12-23-5-alpha-0 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n color: var(--FontColorGray, rgba(0, 0, 0, 0.7));\n }\n.confirmation__controls__confirmation__12-23-5-alpha-0 {\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 margin-bottom: var(--SpaceXS, 4px);\n }\n.confirmation__controls__item__confirmation__12-23-5-alpha-0:not(:last-child) {\n margin-right: var(--SpaceS, 8px);\n }\n";
171
+ var styles = {"confirmation":"confirmation__confirmation__12-23-5-alpha-0","confirmation__icon":"confirmation__icon__confirmation__12-23-5-alpha-0","confirmation__inner":"confirmation__inner__confirmation__12-23-5-alpha-0","confirmation__text":"confirmation__text__confirmation__12-23-5-alpha-0","confirmation__text--detailed":"confirmation__text--detailed__confirmation__12-23-5-alpha-0","confirmation__description":"confirmation__description__confirmation__12-23-5-alpha-0","confirmation__controls":"confirmation__controls__confirmation__12-23-5-alpha-0","confirmation__controls__item":"confirmation__controls__item__confirmation__12-23-5-alpha-0"};
134
172
  styleInject(css);
135
173
 
136
174
  function uppercaseFirst(input) {
@@ -10,101 +10,139 @@ var button = require('@targetprocess/button');
10
10
  var CssAccessorsWithFallback = require('@targetprocess/css-variables');
11
11
  var popover = require('@targetprocess/popover');
12
12
 
13
- function _assertThisInitialized(e) {
14
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
15
- return e;
16
- }
17
- function _classCallCheck(a, n) {
18
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
13
+ function _classCallCheck(instance, Constructor) {
14
+ if (!(instance instanceof Constructor)) {
15
+ throw new TypeError("Cannot call a class as a function");
16
+ }
19
17
  }
20
- function _defineProperties(e, r) {
21
- for (var t = 0; t < r.length; t++) {
22
- var o = r[t];
23
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
18
+ function _defineProperties(target, props) {
19
+ for (var i = 0; i < props.length; i++) {
20
+ var descriptor = props[i];
21
+ descriptor.enumerable = descriptor.enumerable || false;
22
+ descriptor.configurable = true;
23
+ if ("value" in descriptor) descriptor.writable = true;
24
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
24
25
  }
25
26
  }
26
- function _createClass(e, r, t) {
27
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
28
- writable: !1
29
- }), e;
27
+ function _createClass(Constructor, protoProps, staticProps) {
28
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
29
+ if (staticProps) _defineProperties(Constructor, staticProps);
30
+ Object.defineProperty(Constructor, "prototype", {
31
+ writable: false
32
+ });
33
+ return Constructor;
30
34
  }
31
- function _defineProperty(e, r, t) {
32
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
33
- value: t,
34
- enumerable: !0,
35
- configurable: !0,
36
- writable: !0
37
- }) : e[r] = t, e;
35
+ function _defineProperty(obj, key, value) {
36
+ key = _toPropertyKey(key);
37
+ if (key in obj) {
38
+ Object.defineProperty(obj, key, {
39
+ value: value,
40
+ enumerable: true,
41
+ configurable: true,
42
+ writable: true
43
+ });
44
+ } else {
45
+ obj[key] = value;
46
+ }
47
+ return obj;
38
48
  }
39
49
  function _extends() {
40
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
41
- for (var e = 1; e < arguments.length; e++) {
42
- var t = arguments[e];
43
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
50
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
51
+ for (var i = 1; i < arguments.length; i++) {
52
+ var source = arguments[i];
53
+ for (var key in source) {
54
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
55
+ target[key] = source[key];
56
+ }
57
+ }
44
58
  }
45
- return n;
46
- }, _extends.apply(null, arguments);
59
+ return target;
60
+ };
61
+ return _extends.apply(this, arguments);
47
62
  }
48
- function _getPrototypeOf(t) {
49
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
50
- return t.__proto__ || Object.getPrototypeOf(t);
51
- }, _getPrototypeOf(t);
52
- }
53
- function _inherits(t, e) {
54
- if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
55
- t.prototype = Object.create(e && e.prototype, {
63
+ function _inherits(subClass, superClass) {
64
+ if (typeof superClass !== "function" && superClass !== null) {
65
+ throw new TypeError("Super expression must either be null or a function");
66
+ }
67
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
56
68
  constructor: {
57
- value: t,
58
- writable: !0,
59
- configurable: !0
69
+ value: subClass,
70
+ writable: true,
71
+ configurable: true
60
72
  }
61
- }), Object.defineProperty(t, "prototype", {
62
- writable: !1
63
- }), e && _setPrototypeOf(t, e);
73
+ });
74
+ Object.defineProperty(subClass, "prototype", {
75
+ writable: false
76
+ });
77
+ if (superClass) _setPrototypeOf(subClass, superClass);
64
78
  }
65
- function _objectWithoutProperties(e, t) {
66
- if (null == e) return {};
67
- var o,
68
- r,
69
- i = _objectWithoutPropertiesLoose(e, t);
70
- if (Object.getOwnPropertySymbols) {
71
- var s = Object.getOwnPropertySymbols(e);
72
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
79
+ function _getPrototypeOf(o) {
80
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
81
+ return o.__proto__ || Object.getPrototypeOf(o);
82
+ };
83
+ return _getPrototypeOf(o);
84
+ }
85
+ function _setPrototypeOf(o, p) {
86
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
87
+ o.__proto__ = p;
88
+ return o;
89
+ };
90
+ return _setPrototypeOf(o, p);
91
+ }
92
+ function _objectWithoutPropertiesLoose(source, excluded) {
93
+ if (source == null) return {};
94
+ var target = {};
95
+ var sourceKeys = Object.keys(source);
96
+ var key, i;
97
+ for (i = 0; i < sourceKeys.length; i++) {
98
+ key = sourceKeys[i];
99
+ if (excluded.indexOf(key) >= 0) continue;
100
+ target[key] = source[key];
73
101
  }
74
- return i;
102
+ return target;
75
103
  }
76
- function _objectWithoutPropertiesLoose(r, e) {
77
- if (null == r) return {};
78
- var t = {};
79
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
80
- if (e.includes(n)) continue;
81
- t[n] = r[n];
104
+ function _objectWithoutProperties(source, excluded) {
105
+ if (source == null) return {};
106
+ var target = _objectWithoutPropertiesLoose(source, excluded);
107
+ var key, i;
108
+ if (Object.getOwnPropertySymbols) {
109
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
110
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
111
+ key = sourceSymbolKeys[i];
112
+ if (excluded.indexOf(key) >= 0) continue;
113
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
114
+ target[key] = source[key];
115
+ }
82
116
  }
83
- return t;
117
+ return target;
84
118
  }
85
- function _possibleConstructorReturn(t, e) {
86
- if (e && ("object" == typeof e || "function" == typeof e)) return e;
87
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
88
- return _assertThisInitialized(t);
119
+ function _assertThisInitialized(self) {
120
+ if (self === void 0) {
121
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
122
+ }
123
+ return self;
89
124
  }
90
- function _setPrototypeOf(t, e) {
91
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
92
- return t.__proto__ = e, t;
93
- }, _setPrototypeOf(t, e);
125
+ function _possibleConstructorReturn(self, call) {
126
+ if (call && (typeof call === "object" || typeof call === "function")) {
127
+ return call;
128
+ } else if (call !== void 0) {
129
+ throw new TypeError("Derived constructors may only return object or undefined");
130
+ }
131
+ return _assertThisInitialized(self);
94
132
  }
95
- function _toPrimitive(t, r) {
96
- if ("object" != typeof t || !t) return t;
97
- var e = t[Symbol.toPrimitive];
98
- if (void 0 !== e) {
99
- var i = e.call(t, r || "default");
100
- if ("object" != typeof i) return i;
133
+ function _toPrimitive(input, hint) {
134
+ if (typeof input !== "object" || input === null) return input;
135
+ var prim = input[Symbol.toPrimitive];
136
+ if (prim !== undefined) {
137
+ var res = prim.call(input, hint || "default");
138
+ if (typeof res !== "object") return res;
101
139
  throw new TypeError("@@toPrimitive must return a primitive value.");
102
140
  }
103
- return ("string" === r ? String : Number)(t);
141
+ return (hint === "string" ? String : Number)(input);
104
142
  }
105
- function _toPropertyKey(t) {
106
- var i = _toPrimitive(t, "string");
107
- return "symbol" == typeof i ? i : i + "";
143
+ function _toPropertyKey(arg) {
144
+ var key = _toPrimitive(arg, "string");
145
+ return typeof key === "symbol" ? key : String(key);
108
146
  }
109
147
 
110
148
  function styleInject(css, ref) {
@@ -134,8 +172,8 @@ function styleInject(css, ref) {
134
172
  }
135
173
  }
136
174
 
137
- var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-23-4-alpha-0 {\n min-width: 200px;\n max-width: 280px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.confirmation__icon__confirmation__12-23-4-alpha-0 {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n margin-right: var(--SpaceSM, 12px);\n border-radius: 50%;\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 width: var(--ControlHeightDefault, 24px);\n height: var(--ControlHeightDefault, 24px);\n }\n.confirmation__inner__confirmation__12-23-4-alpha-0 {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n }\n.confirmation__text__confirmation__12-23-4-alpha-0 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n }\n.confirmation__text--detailed__confirmation__12-23-4-alpha-0 {\n font-weight: var(--FontWeightSemibold, 600);\n line-height: 1.23;\n font-size: var(--FontSizeTitleSubsection, 16px);\n margin: var(--SpaceXS, 4px) 0 var(--SpaceS, 8px) 0;\n min-width: 200px;\n }\n.confirmation__description__confirmation__12-23-4-alpha-0 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n color: var(--FontColorGray, rgba(0, 0, 0, 0.7));\n }\n.confirmation__controls__confirmation__12-23-4-alpha-0 {\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 margin-bottom: var(--SpaceXS, 4px);\n }\n.confirmation__controls__item__confirmation__12-23-4-alpha-0:not(:last-child) {\n margin-right: var(--SpaceS, 8px);\n }\n";
138
- var styles = {"confirmation":"confirmation__confirmation__12-23-4-alpha-0","confirmation__icon":"confirmation__icon__confirmation__12-23-4-alpha-0","confirmation__inner":"confirmation__inner__confirmation__12-23-4-alpha-0","confirmation__text":"confirmation__text__confirmation__12-23-4-alpha-0","confirmation__text--detailed":"confirmation__text--detailed__confirmation__12-23-4-alpha-0","confirmation__description":"confirmation__description__confirmation__12-23-4-alpha-0","confirmation__controls":"confirmation__controls__confirmation__12-23-4-alpha-0","confirmation__controls__item":"confirmation__controls__item__confirmation__12-23-4-alpha-0"};
175
+ var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-23-5-alpha-0 {\n min-width: 200px;\n max-width: 280px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.confirmation__icon__confirmation__12-23-5-alpha-0 {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n margin-right: var(--SpaceSM, 12px);\n border-radius: 50%;\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 width: var(--ControlHeightDefault, 24px);\n height: var(--ControlHeightDefault, 24px);\n }\n.confirmation__inner__confirmation__12-23-5-alpha-0 {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n }\n.confirmation__text__confirmation__12-23-5-alpha-0 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n }\n.confirmation__text--detailed__confirmation__12-23-5-alpha-0 {\n font-weight: var(--FontWeightSemibold, 600);\n line-height: 1.23;\n font-size: var(--FontSizeTitleSubsection, 16px);\n margin: var(--SpaceXS, 4px) 0 var(--SpaceS, 8px) 0;\n min-width: 200px;\n }\n.confirmation__description__confirmation__12-23-5-alpha-0 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n color: var(--FontColorGray, rgba(0, 0, 0, 0.7));\n }\n.confirmation__controls__confirmation__12-23-5-alpha-0 {\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 margin-bottom: var(--SpaceXS, 4px);\n }\n.confirmation__controls__item__confirmation__12-23-5-alpha-0:not(:last-child) {\n margin-right: var(--SpaceS, 8px);\n }\n";
176
+ var styles = {"confirmation":"confirmation__confirmation__12-23-5-alpha-0","confirmation__icon":"confirmation__icon__confirmation__12-23-5-alpha-0","confirmation__inner":"confirmation__inner__confirmation__12-23-5-alpha-0","confirmation__text":"confirmation__text__confirmation__12-23-5-alpha-0","confirmation__text--detailed":"confirmation__text--detailed__confirmation__12-23-5-alpha-0","confirmation__description":"confirmation__description__confirmation__12-23-5-alpha-0","confirmation__controls":"confirmation__controls__confirmation__12-23-5-alpha-0","confirmation__controls__item":"confirmation__controls__item__confirmation__12-23-5-alpha-0"};
139
177
  styleInject(css);
140
178
 
141
179
  function uppercaseFirst(input) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@targetprocess/confirmation",
3
- "version": "12.23.4-alpha.0",
3
+ "version": "12.23.5-alpha.0",
4
4
  "description": "",
5
5
  "main": "dist/confirmation.js",
6
6
  "module": "dist/confirmation.es.js",
@@ -10,9 +10,9 @@
10
10
  "prepack": "node -r ../../.ts-node.js ../../config/rollup.config.js ."
11
11
  },
12
12
  "dependencies": {
13
- "@targetprocess/button": "^12.23.0",
13
+ "@targetprocess/button": "^12.23.5-alpha.0",
14
14
  "@targetprocess/css-variables": "^12.23.0",
15
- "@targetprocess/popover": "^12.23.4-alpha.0",
15
+ "@targetprocess/popover": "^12.23.5-alpha.0",
16
16
  "classnames": "^2.2.5",
17
17
  "prop-types": "^15.6.0",
18
18
  "react": "^16.7.0"
@@ -21,5 +21,5 @@
21
21
  "access": "public"
22
22
  },
23
23
  "sideEffects": false,
24
- "gitHead": "99534dff51718fc768b54c72fef84f2853e37818"
24
+ "gitHead": "ad219cde6e8676af525c9e9d222b5dd3b6f4a8a1"
25
25
  }