@targetprocess/confirmation 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/confirmation.es.js +77 -115
- package/dist/confirmation.js +77 -115
- package/package.json +3 -3
package/dist/confirmation.es.js
CHANGED
|
@@ -5,139 +5,101 @@ 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
|
|
9
|
-
if (
|
|
10
|
-
|
|
11
|
-
|
|
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");
|
|
12
14
|
}
|
|
13
|
-
function _defineProperties(
|
|
14
|
-
for (var
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
descriptor.configurable = true;
|
|
18
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
19
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
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);
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
|
-
function _createClass(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
writable: false
|
|
27
|
-
});
|
|
28
|
-
return Constructor;
|
|
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;
|
|
29
25
|
}
|
|
30
|
-
function _defineProperty(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
writable: true
|
|
38
|
-
});
|
|
39
|
-
} else {
|
|
40
|
-
obj[key] = value;
|
|
41
|
-
}
|
|
42
|
-
return obj;
|
|
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;
|
|
43
33
|
}
|
|
44
34
|
function _extends() {
|
|
45
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
46
|
-
for (var
|
|
47
|
-
var
|
|
48
|
-
for (var
|
|
49
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
50
|
-
target[key] = source[key];
|
|
51
|
-
}
|
|
52
|
-
}
|
|
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]);
|
|
53
39
|
}
|
|
54
|
-
return
|
|
55
|
-
};
|
|
56
|
-
return _extends.apply(this, arguments);
|
|
40
|
+
return n;
|
|
41
|
+
}, _extends.apply(null, arguments);
|
|
57
42
|
}
|
|
58
|
-
function
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
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, {
|
|
63
51
|
constructor: {
|
|
64
|
-
value:
|
|
65
|
-
writable:
|
|
66
|
-
configurable:
|
|
52
|
+
value: t,
|
|
53
|
+
writable: !0,
|
|
54
|
+
configurable: !0
|
|
67
55
|
}
|
|
68
|
-
})
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
});
|
|
72
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
56
|
+
}), Object.defineProperty(t, "prototype", {
|
|
57
|
+
writable: !1
|
|
58
|
+
}), e && _setPrototypeOf(t, e);
|
|
73
59
|
}
|
|
74
|
-
function
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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];
|
|
96
|
-
}
|
|
97
|
-
return target;
|
|
98
|
-
}
|
|
99
|
-
function _objectWithoutProperties(source, excluded) {
|
|
100
|
-
if (source == null) return {};
|
|
101
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
102
|
-
var key, i;
|
|
60
|
+
function _objectWithoutProperties(e, t) {
|
|
61
|
+
if (null == e) return {};
|
|
62
|
+
var o,
|
|
63
|
+
r,
|
|
64
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
103
65
|
if (Object.getOwnPropertySymbols) {
|
|
104
|
-
var
|
|
105
|
-
for (
|
|
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
|
-
}
|
|
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]);
|
|
111
68
|
}
|
|
112
|
-
return
|
|
69
|
+
return i;
|
|
113
70
|
}
|
|
114
|
-
function
|
|
115
|
-
if (
|
|
116
|
-
|
|
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];
|
|
117
77
|
}
|
|
118
|
-
return
|
|
78
|
+
return t;
|
|
119
79
|
}
|
|
120
|
-
function _possibleConstructorReturn(
|
|
121
|
-
if (
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
return
|
|
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);
|
|
84
|
+
}
|
|
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);
|
|
127
89
|
}
|
|
128
|
-
function _toPrimitive(
|
|
129
|
-
if (
|
|
130
|
-
var
|
|
131
|
-
if (
|
|
132
|
-
var
|
|
133
|
-
if (
|
|
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;
|
|
134
96
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
135
97
|
}
|
|
136
|
-
return (
|
|
98
|
+
return ("string" === r ? String : Number)(t);
|
|
137
99
|
}
|
|
138
|
-
function _toPropertyKey(
|
|
139
|
-
var
|
|
140
|
-
return
|
|
100
|
+
function _toPropertyKey(t) {
|
|
101
|
+
var i = _toPrimitive(t, "string");
|
|
102
|
+
return "symbol" == typeof i ? i : i + "";
|
|
141
103
|
}
|
|
142
104
|
|
|
143
105
|
function styleInject(css, ref) {
|
|
@@ -167,8 +129,8 @@ function styleInject(css, ref) {
|
|
|
167
129
|
}
|
|
168
130
|
}
|
|
169
131
|
|
|
170
|
-
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-23-
|
|
171
|
-
var styles = {"confirmation":"confirmation__confirmation__12-23-
|
|
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"};
|
|
172
134
|
styleInject(css);
|
|
173
135
|
|
|
174
136
|
function uppercaseFirst(input) {
|
package/dist/confirmation.js
CHANGED
|
@@ -10,139 +10,101 @@ var button = require('@targetprocess/button');
|
|
|
10
10
|
var CssAccessorsWithFallback = require('@targetprocess/css-variables');
|
|
11
11
|
var popover = require('@targetprocess/popover');
|
|
12
12
|
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
|
|
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");
|
|
17
19
|
}
|
|
18
|
-
function _defineProperties(
|
|
19
|
-
for (var
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
descriptor.configurable = true;
|
|
23
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
24
|
-
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
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);
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
|
-
function _createClass(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
writable: false
|
|
32
|
-
});
|
|
33
|
-
return Constructor;
|
|
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;
|
|
34
30
|
}
|
|
35
|
-
function _defineProperty(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
writable: true
|
|
43
|
-
});
|
|
44
|
-
} else {
|
|
45
|
-
obj[key] = value;
|
|
46
|
-
}
|
|
47
|
-
return obj;
|
|
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;
|
|
48
38
|
}
|
|
49
39
|
function _extends() {
|
|
50
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
51
|
-
for (var
|
|
52
|
-
var
|
|
53
|
-
for (var
|
|
54
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
55
|
-
target[key] = source[key];
|
|
56
|
-
}
|
|
57
|
-
}
|
|
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]);
|
|
58
44
|
}
|
|
59
|
-
return
|
|
60
|
-
};
|
|
61
|
-
return _extends.apply(this, arguments);
|
|
45
|
+
return n;
|
|
46
|
+
}, _extends.apply(null, arguments);
|
|
62
47
|
}
|
|
63
|
-
function
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
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, {
|
|
68
56
|
constructor: {
|
|
69
|
-
value:
|
|
70
|
-
writable:
|
|
71
|
-
configurable:
|
|
57
|
+
value: t,
|
|
58
|
+
writable: !0,
|
|
59
|
+
configurable: !0
|
|
72
60
|
}
|
|
73
|
-
})
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
});
|
|
77
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
61
|
+
}), Object.defineProperty(t, "prototype", {
|
|
62
|
+
writable: !1
|
|
63
|
+
}), e && _setPrototypeOf(t, e);
|
|
78
64
|
}
|
|
79
|
-
function
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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];
|
|
101
|
-
}
|
|
102
|
-
return target;
|
|
103
|
-
}
|
|
104
|
-
function _objectWithoutProperties(source, excluded) {
|
|
105
|
-
if (source == null) return {};
|
|
106
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
107
|
-
var key, i;
|
|
65
|
+
function _objectWithoutProperties(e, t) {
|
|
66
|
+
if (null == e) return {};
|
|
67
|
+
var o,
|
|
68
|
+
r,
|
|
69
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
108
70
|
if (Object.getOwnPropertySymbols) {
|
|
109
|
-
var
|
|
110
|
-
for (
|
|
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
|
-
}
|
|
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]);
|
|
116
73
|
}
|
|
117
|
-
return
|
|
74
|
+
return i;
|
|
118
75
|
}
|
|
119
|
-
function
|
|
120
|
-
if (
|
|
121
|
-
|
|
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];
|
|
122
82
|
}
|
|
123
|
-
return
|
|
83
|
+
return t;
|
|
124
84
|
}
|
|
125
|
-
function _possibleConstructorReturn(
|
|
126
|
-
if (
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
return
|
|
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);
|
|
89
|
+
}
|
|
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);
|
|
132
94
|
}
|
|
133
|
-
function _toPrimitive(
|
|
134
|
-
if (
|
|
135
|
-
var
|
|
136
|
-
if (
|
|
137
|
-
var
|
|
138
|
-
if (
|
|
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;
|
|
139
101
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
140
102
|
}
|
|
141
|
-
return (
|
|
103
|
+
return ("string" === r ? String : Number)(t);
|
|
142
104
|
}
|
|
143
|
-
function _toPropertyKey(
|
|
144
|
-
var
|
|
145
|
-
return
|
|
105
|
+
function _toPropertyKey(t) {
|
|
106
|
+
var i = _toPrimitive(t, "string");
|
|
107
|
+
return "symbol" == typeof i ? i : i + "";
|
|
146
108
|
}
|
|
147
109
|
|
|
148
110
|
function styleInject(css, ref) {
|
|
@@ -172,8 +134,8 @@ function styleInject(css, ref) {
|
|
|
172
134
|
}
|
|
173
135
|
}
|
|
174
136
|
|
|
175
|
-
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-23-
|
|
176
|
-
var styles = {"confirmation":"confirmation__confirmation__12-23-
|
|
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"};
|
|
177
139
|
styleInject(css);
|
|
178
140
|
|
|
179
141
|
function uppercaseFirst(input) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@targetprocess/confirmation",
|
|
3
|
-
"version": "12.23.
|
|
3
|
+
"version": "12.23.4-alpha.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/confirmation.js",
|
|
6
6
|
"module": "dist/confirmation.es.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@targetprocess/button": "^12.23.0",
|
|
14
14
|
"@targetprocess/css-variables": "^12.23.0",
|
|
15
|
-
"@targetprocess/popover": "^12.23.
|
|
15
|
+
"@targetprocess/popover": "^12.23.4-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": "
|
|
24
|
+
"gitHead": "99534dff51718fc768b54c72fef84f2853e37818"
|
|
25
25
|
}
|