@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.
- package/dist/confirmation.es.js +115 -77
- package/dist/confirmation.js +115 -77
- package/package.json +4 -4
package/dist/confirmation.es.js
CHANGED
|
@@ -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
|
|
9
|
-
if (
|
|
10
|
-
|
|
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(
|
|
16
|
-
for (var
|
|
17
|
-
var
|
|
18
|
-
|
|
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(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
36
|
-
for (var
|
|
37
|
-
var
|
|
38
|
-
for (var
|
|
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
|
|
41
|
-
}
|
|
54
|
+
return target;
|
|
55
|
+
};
|
|
56
|
+
return _extends.apply(this, arguments);
|
|
42
57
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
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:
|
|
53
|
-
writable:
|
|
54
|
-
configurable:
|
|
64
|
+
value: subClass,
|
|
65
|
+
writable: true,
|
|
66
|
+
configurable: true
|
|
55
67
|
}
|
|
56
|
-
})
|
|
57
|
-
|
|
58
|
-
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(subClass, "prototype", {
|
|
70
|
+
writable: false
|
|
71
|
+
});
|
|
72
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
59
73
|
}
|
|
60
|
-
function
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
|
97
|
+
return target;
|
|
70
98
|
}
|
|
71
|
-
function
|
|
72
|
-
if (
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
|
112
|
+
return target;
|
|
79
113
|
}
|
|
80
|
-
function
|
|
81
|
-
if (
|
|
82
|
-
|
|
83
|
-
|
|
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
|
|
86
|
-
|
|
87
|
-
return
|
|
88
|
-
}
|
|
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(
|
|
91
|
-
if ("object"
|
|
92
|
-
var
|
|
93
|
-
if (
|
|
94
|
-
var
|
|
95
|
-
if ("object"
|
|
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"
|
|
136
|
+
return (hint === "string" ? String : Number)(input);
|
|
99
137
|
}
|
|
100
|
-
function _toPropertyKey(
|
|
101
|
-
var
|
|
102
|
-
return "symbol"
|
|
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-
|
|
133
|
-
var styles = {"confirmation":"confirmation__confirmation__12-23-
|
|
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) {
|
package/dist/confirmation.js
CHANGED
|
@@ -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
|
|
14
|
-
if (
|
|
15
|
-
|
|
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(
|
|
21
|
-
for (var
|
|
22
|
-
var
|
|
23
|
-
|
|
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(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
|
|
41
|
-
for (var
|
|
42
|
-
var
|
|
43
|
-
for (var
|
|
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
|
|
46
|
-
}
|
|
59
|
+
return target;
|
|
60
|
+
};
|
|
61
|
+
return _extends.apply(this, arguments);
|
|
47
62
|
}
|
|
48
|
-
function
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
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:
|
|
58
|
-
writable:
|
|
59
|
-
configurable:
|
|
69
|
+
value: subClass,
|
|
70
|
+
writable: true,
|
|
71
|
+
configurable: true
|
|
60
72
|
}
|
|
61
|
-
})
|
|
62
|
-
|
|
63
|
-
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(subClass, "prototype", {
|
|
75
|
+
writable: false
|
|
76
|
+
});
|
|
77
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
64
78
|
}
|
|
65
|
-
function
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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
|
|
102
|
+
return target;
|
|
75
103
|
}
|
|
76
|
-
function
|
|
77
|
-
if (
|
|
78
|
-
var
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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
|
|
117
|
+
return target;
|
|
84
118
|
}
|
|
85
|
-
function
|
|
86
|
-
if (
|
|
87
|
-
|
|
88
|
-
|
|
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
|
|
91
|
-
|
|
92
|
-
return
|
|
93
|
-
}
|
|
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(
|
|
96
|
-
if ("object"
|
|
97
|
-
var
|
|
98
|
-
if (
|
|
99
|
-
var
|
|
100
|
-
if ("object"
|
|
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"
|
|
141
|
+
return (hint === "string" ? String : Number)(input);
|
|
104
142
|
}
|
|
105
|
-
function _toPropertyKey(
|
|
106
|
-
var
|
|
107
|
-
return "symbol"
|
|
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-
|
|
138
|
-
var styles = {"confirmation":"confirmation__confirmation__12-23-
|
|
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.
|
|
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.
|
|
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": "
|
|
24
|
+
"gitHead": "ad219cde6e8676af525c9e9d222b5dd3b6f4a8a1"
|
|
25
25
|
}
|