@targetprocess/confirmation
Advanced tools
+115
-77
@@ -8,97 +8,135 @@ import React from 'react'; | ||
| function _assertThisInitialized(e) { | ||
| if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | ||
| return e; | ||
| function _classCallCheck(instance, Constructor) { | ||
| if (!(instance instanceof Constructor)) { | ||
| throw new TypeError("Cannot call a class as a function"); | ||
| } | ||
| } | ||
| function _classCallCheck(a, n) { | ||
| if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | ||
| } | ||
| function _defineProperties(e, r) { | ||
| for (var t = 0; t < r.length; t++) { | ||
| var o = r[t]; | ||
| o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); | ||
| function _defineProperties(target, props) { | ||
| for (var i = 0; i < props.length; i++) { | ||
| var descriptor = props[i]; | ||
| descriptor.enumerable = descriptor.enumerable || false; | ||
| descriptor.configurable = true; | ||
| if ("value" in descriptor) descriptor.writable = true; | ||
| Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); | ||
| } | ||
| } | ||
| function _createClass(e, r, t) { | ||
| return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | ||
| writable: !1 | ||
| }), e; | ||
| function _createClass(Constructor, protoProps, staticProps) { | ||
| if (protoProps) _defineProperties(Constructor.prototype, protoProps); | ||
| if (staticProps) _defineProperties(Constructor, staticProps); | ||
| Object.defineProperty(Constructor, "prototype", { | ||
| writable: false | ||
| }); | ||
| return Constructor; | ||
| } | ||
| function _defineProperty(e, r, t) { | ||
| return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | ||
| value: t, | ||
| enumerable: !0, | ||
| configurable: !0, | ||
| writable: !0 | ||
| }) : e[r] = t, e; | ||
| function _defineProperty(obj, key, value) { | ||
| key = _toPropertyKey(key); | ||
| if (key in obj) { | ||
| Object.defineProperty(obj, key, { | ||
| value: value, | ||
| enumerable: true, | ||
| configurable: true, | ||
| writable: true | ||
| }); | ||
| } else { | ||
| obj[key] = value; | ||
| } | ||
| return obj; | ||
| } | ||
| function _extends() { | ||
| return _extends = Object.assign ? Object.assign.bind() : function (n) { | ||
| for (var e = 1; e < arguments.length; e++) { | ||
| var t = arguments[e]; | ||
| for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | ||
| _extends = Object.assign ? Object.assign.bind() : function (target) { | ||
| for (var i = 1; i < arguments.length; i++) { | ||
| var source = arguments[i]; | ||
| for (var key in source) { | ||
| if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
| target[key] = source[key]; | ||
| } | ||
| } | ||
| } | ||
| return n; | ||
| }, _extends.apply(null, arguments); | ||
| return target; | ||
| }; | ||
| return _extends.apply(this, arguments); | ||
| } | ||
| function _getPrototypeOf(t) { | ||
| return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | ||
| return t.__proto__ || Object.getPrototypeOf(t); | ||
| }, _getPrototypeOf(t); | ||
| } | ||
| function _inherits(t, e) { | ||
| if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | ||
| t.prototype = Object.create(e && e.prototype, { | ||
| function _inherits(subClass, superClass) { | ||
| if (typeof superClass !== "function" && superClass !== null) { | ||
| throw new TypeError("Super expression must either be null or a function"); | ||
| } | ||
| subClass.prototype = Object.create(superClass && superClass.prototype, { | ||
| constructor: { | ||
| value: t, | ||
| writable: !0, | ||
| configurable: !0 | ||
| value: subClass, | ||
| writable: true, | ||
| configurable: true | ||
| } | ||
| }), Object.defineProperty(t, "prototype", { | ||
| writable: !1 | ||
| }), e && _setPrototypeOf(t, e); | ||
| }); | ||
| Object.defineProperty(subClass, "prototype", { | ||
| writable: false | ||
| }); | ||
| if (superClass) _setPrototypeOf(subClass, superClass); | ||
| } | ||
| function _objectWithoutProperties(e, t) { | ||
| if (null == e) return {}; | ||
| var o, | ||
| r, | ||
| i = _objectWithoutPropertiesLoose(e, t); | ||
| function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
| return o.__proto__ || Object.getPrototypeOf(o); | ||
| }; | ||
| return _getPrototypeOf(o); | ||
| } | ||
| function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
| o.__proto__ = p; | ||
| return o; | ||
| }; | ||
| return _setPrototypeOf(o, p); | ||
| } | ||
| function _objectWithoutPropertiesLoose(source, excluded) { | ||
| if (source == null) return {}; | ||
| var target = {}; | ||
| var sourceKeys = Object.keys(source); | ||
| var key, i; | ||
| for (i = 0; i < sourceKeys.length; i++) { | ||
| key = sourceKeys[i]; | ||
| if (excluded.indexOf(key) >= 0) continue; | ||
| target[key] = source[key]; | ||
| } | ||
| return target; | ||
| } | ||
| function _objectWithoutProperties(source, excluded) { | ||
| if (source == null) return {}; | ||
| var target = _objectWithoutPropertiesLoose(source, excluded); | ||
| var key, i; | ||
| if (Object.getOwnPropertySymbols) { | ||
| var s = Object.getOwnPropertySymbols(e); | ||
| for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); | ||
| var sourceSymbolKeys = Object.getOwnPropertySymbols(source); | ||
| for (i = 0; i < sourceSymbolKeys.length; i++) { | ||
| key = sourceSymbolKeys[i]; | ||
| if (excluded.indexOf(key) >= 0) continue; | ||
| if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; | ||
| target[key] = source[key]; | ||
| } | ||
| } | ||
| return i; | ||
| return target; | ||
| } | ||
| function _objectWithoutPropertiesLoose(r, e) { | ||
| if (null == r) return {}; | ||
| var t = {}; | ||
| for (var n in r) if ({}.hasOwnProperty.call(r, n)) { | ||
| if (e.includes(n)) continue; | ||
| t[n] = r[n]; | ||
| function _assertThisInitialized(self) { | ||
| if (self === void 0) { | ||
| throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | ||
| } | ||
| return t; | ||
| return self; | ||
| } | ||
| function _possibleConstructorReturn(t, e) { | ||
| if (e && ("object" == typeof e || "function" == typeof e)) return e; | ||
| if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | ||
| return _assertThisInitialized(t); | ||
| function _possibleConstructorReturn(self, call) { | ||
| if (call && (typeof call === "object" || typeof call === "function")) { | ||
| return call; | ||
| } else if (call !== void 0) { | ||
| throw new TypeError("Derived constructors may only return object or undefined"); | ||
| } | ||
| return _assertThisInitialized(self); | ||
| } | ||
| function _setPrototypeOf(t, e) { | ||
| return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | ||
| return t.__proto__ = e, t; | ||
| }, _setPrototypeOf(t, e); | ||
| } | ||
| function _toPrimitive(t, r) { | ||
| if ("object" != typeof t || !t) return t; | ||
| var e = t[Symbol.toPrimitive]; | ||
| if (void 0 !== e) { | ||
| var i = e.call(t, r || "default"); | ||
| if ("object" != typeof i) return i; | ||
| function _toPrimitive(input, hint) { | ||
| if (typeof input !== "object" || input === null) return input; | ||
| var prim = input[Symbol.toPrimitive]; | ||
| if (prim !== undefined) { | ||
| var res = prim.call(input, hint || "default"); | ||
| if (typeof res !== "object") return res; | ||
| throw new TypeError("@@toPrimitive must return a primitive value."); | ||
| } | ||
| return ("string" === r ? String : Number)(t); | ||
| return (hint === "string" ? String : Number)(input); | ||
| } | ||
| function _toPropertyKey(t) { | ||
| var i = _toPrimitive(t, "string"); | ||
| return "symbol" == typeof i ? i : i + ""; | ||
| function _toPropertyKey(arg) { | ||
| var key = _toPrimitive(arg, "string"); | ||
| return typeof key === "symbol" ? key : String(key); | ||
| } | ||
@@ -133,4 +171,4 @@ | ||
| 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"; | ||
| 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"}; | ||
| 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"; | ||
| 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"}; | ||
| styleInject(css); | ||
@@ -137,0 +175,0 @@ |
+115
-77
@@ -13,97 +13,135 @@ 'use strict'; | ||
| function _assertThisInitialized(e) { | ||
| if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | ||
| return e; | ||
| function _classCallCheck(instance, Constructor) { | ||
| if (!(instance instanceof Constructor)) { | ||
| throw new TypeError("Cannot call a class as a function"); | ||
| } | ||
| } | ||
| function _classCallCheck(a, n) { | ||
| if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | ||
| } | ||
| function _defineProperties(e, r) { | ||
| for (var t = 0; t < r.length; t++) { | ||
| var o = r[t]; | ||
| o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); | ||
| function _defineProperties(target, props) { | ||
| for (var i = 0; i < props.length; i++) { | ||
| var descriptor = props[i]; | ||
| descriptor.enumerable = descriptor.enumerable || false; | ||
| descriptor.configurable = true; | ||
| if ("value" in descriptor) descriptor.writable = true; | ||
| Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); | ||
| } | ||
| } | ||
| function _createClass(e, r, t) { | ||
| return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | ||
| writable: !1 | ||
| }), e; | ||
| function _createClass(Constructor, protoProps, staticProps) { | ||
| if (protoProps) _defineProperties(Constructor.prototype, protoProps); | ||
| if (staticProps) _defineProperties(Constructor, staticProps); | ||
| Object.defineProperty(Constructor, "prototype", { | ||
| writable: false | ||
| }); | ||
| return Constructor; | ||
| } | ||
| function _defineProperty(e, r, t) { | ||
| return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | ||
| value: t, | ||
| enumerable: !0, | ||
| configurable: !0, | ||
| writable: !0 | ||
| }) : e[r] = t, e; | ||
| function _defineProperty(obj, key, value) { | ||
| key = _toPropertyKey(key); | ||
| if (key in obj) { | ||
| Object.defineProperty(obj, key, { | ||
| value: value, | ||
| enumerable: true, | ||
| configurable: true, | ||
| writable: true | ||
| }); | ||
| } else { | ||
| obj[key] = value; | ||
| } | ||
| return obj; | ||
| } | ||
| function _extends() { | ||
| return _extends = Object.assign ? Object.assign.bind() : function (n) { | ||
| for (var e = 1; e < arguments.length; e++) { | ||
| var t = arguments[e]; | ||
| for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | ||
| _extends = Object.assign ? Object.assign.bind() : function (target) { | ||
| for (var i = 1; i < arguments.length; i++) { | ||
| var source = arguments[i]; | ||
| for (var key in source) { | ||
| if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
| target[key] = source[key]; | ||
| } | ||
| } | ||
| } | ||
| return n; | ||
| }, _extends.apply(null, arguments); | ||
| return target; | ||
| }; | ||
| return _extends.apply(this, arguments); | ||
| } | ||
| function _getPrototypeOf(t) { | ||
| return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | ||
| return t.__proto__ || Object.getPrototypeOf(t); | ||
| }, _getPrototypeOf(t); | ||
| } | ||
| function _inherits(t, e) { | ||
| if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | ||
| t.prototype = Object.create(e && e.prototype, { | ||
| function _inherits(subClass, superClass) { | ||
| if (typeof superClass !== "function" && superClass !== null) { | ||
| throw new TypeError("Super expression must either be null or a function"); | ||
| } | ||
| subClass.prototype = Object.create(superClass && superClass.prototype, { | ||
| constructor: { | ||
| value: t, | ||
| writable: !0, | ||
| configurable: !0 | ||
| value: subClass, | ||
| writable: true, | ||
| configurable: true | ||
| } | ||
| }), Object.defineProperty(t, "prototype", { | ||
| writable: !1 | ||
| }), e && _setPrototypeOf(t, e); | ||
| }); | ||
| Object.defineProperty(subClass, "prototype", { | ||
| writable: false | ||
| }); | ||
| if (superClass) _setPrototypeOf(subClass, superClass); | ||
| } | ||
| function _objectWithoutProperties(e, t) { | ||
| if (null == e) return {}; | ||
| var o, | ||
| r, | ||
| i = _objectWithoutPropertiesLoose(e, t); | ||
| function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
| return o.__proto__ || Object.getPrototypeOf(o); | ||
| }; | ||
| return _getPrototypeOf(o); | ||
| } | ||
| function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
| o.__proto__ = p; | ||
| return o; | ||
| }; | ||
| return _setPrototypeOf(o, p); | ||
| } | ||
| function _objectWithoutPropertiesLoose(source, excluded) { | ||
| if (source == null) return {}; | ||
| var target = {}; | ||
| var sourceKeys = Object.keys(source); | ||
| var key, i; | ||
| for (i = 0; i < sourceKeys.length; i++) { | ||
| key = sourceKeys[i]; | ||
| if (excluded.indexOf(key) >= 0) continue; | ||
| target[key] = source[key]; | ||
| } | ||
| return target; | ||
| } | ||
| function _objectWithoutProperties(source, excluded) { | ||
| if (source == null) return {}; | ||
| var target = _objectWithoutPropertiesLoose(source, excluded); | ||
| var key, i; | ||
| if (Object.getOwnPropertySymbols) { | ||
| var s = Object.getOwnPropertySymbols(e); | ||
| for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); | ||
| var sourceSymbolKeys = Object.getOwnPropertySymbols(source); | ||
| for (i = 0; i < sourceSymbolKeys.length; i++) { | ||
| key = sourceSymbolKeys[i]; | ||
| if (excluded.indexOf(key) >= 0) continue; | ||
| if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; | ||
| target[key] = source[key]; | ||
| } | ||
| } | ||
| return i; | ||
| return target; | ||
| } | ||
| function _objectWithoutPropertiesLoose(r, e) { | ||
| if (null == r) return {}; | ||
| var t = {}; | ||
| for (var n in r) if ({}.hasOwnProperty.call(r, n)) { | ||
| if (e.includes(n)) continue; | ||
| t[n] = r[n]; | ||
| function _assertThisInitialized(self) { | ||
| if (self === void 0) { | ||
| throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | ||
| } | ||
| return t; | ||
| return self; | ||
| } | ||
| function _possibleConstructorReturn(t, e) { | ||
| if (e && ("object" == typeof e || "function" == typeof e)) return e; | ||
| if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | ||
| return _assertThisInitialized(t); | ||
| function _possibleConstructorReturn(self, call) { | ||
| if (call && (typeof call === "object" || typeof call === "function")) { | ||
| return call; | ||
| } else if (call !== void 0) { | ||
| throw new TypeError("Derived constructors may only return object or undefined"); | ||
| } | ||
| return _assertThisInitialized(self); | ||
| } | ||
| function _setPrototypeOf(t, e) { | ||
| return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | ||
| return t.__proto__ = e, t; | ||
| }, _setPrototypeOf(t, e); | ||
| } | ||
| function _toPrimitive(t, r) { | ||
| if ("object" != typeof t || !t) return t; | ||
| var e = t[Symbol.toPrimitive]; | ||
| if (void 0 !== e) { | ||
| var i = e.call(t, r || "default"); | ||
| if ("object" != typeof i) return i; | ||
| function _toPrimitive(input, hint) { | ||
| if (typeof input !== "object" || input === null) return input; | ||
| var prim = input[Symbol.toPrimitive]; | ||
| if (prim !== undefined) { | ||
| var res = prim.call(input, hint || "default"); | ||
| if (typeof res !== "object") return res; | ||
| throw new TypeError("@@toPrimitive must return a primitive value."); | ||
| } | ||
| return ("string" === r ? String : Number)(t); | ||
| return (hint === "string" ? String : Number)(input); | ||
| } | ||
| function _toPropertyKey(t) { | ||
| var i = _toPrimitive(t, "string"); | ||
| return "symbol" == typeof i ? i : i + ""; | ||
| function _toPropertyKey(arg) { | ||
| var key = _toPrimitive(arg, "string"); | ||
| return typeof key === "symbol" ? key : String(key); | ||
| } | ||
@@ -138,4 +176,4 @@ | ||
| 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"; | ||
| 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"}; | ||
| 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"; | ||
| 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"}; | ||
| styleInject(css); | ||
@@ -142,0 +180,0 @@ |
+4
-4
| { | ||
| "name": "@targetprocess/confirmation", | ||
| "version": "12.23.4-alpha.0", | ||
| "version": "12.23.5-alpha.0", | ||
| "description": "", | ||
@@ -13,5 +13,5 @@ "main": "dist/confirmation.js", | ||
| "dependencies": { | ||
| "@targetprocess/button": "^12.23.0", | ||
| "@targetprocess/button": "^12.23.5-alpha.0", | ||
| "@targetprocess/css-variables": "^12.23.0", | ||
| "@targetprocess/popover": "^12.23.4-alpha.0", | ||
| "@targetprocess/popover": "^12.23.5-alpha.0", | ||
| "classnames": "^2.2.5", | ||
@@ -25,3 +25,3 @@ "prop-types": "^15.6.0", | ||
| "sideEffects": false, | ||
| "gitHead": "99534dff51718fc768b54c72fef84f2853e37818" | ||
| "gitHead": "ad219cde6e8676af525c9e9d222b5dd3b6f4a8a1" | ||
| } |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
43053
5.31%1016
8.09%