@targetprocess/confirmation 12.27.3 → 12.28.1
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/Confirmation.jsx +1 -5
- package/dist/confirmation.es.js +4 -6
- package/dist/confirmation.js +4 -6
- package/package.json +5 -5
package/Confirmation.jsx
CHANGED
|
@@ -165,7 +165,6 @@ export class Confirmation extends React.Component {
|
|
|
165
165
|
onOuterAction={cancelOnOuterAction ? this.onCancel : this.props.onOuterAction}
|
|
166
166
|
zIndex={this.props.zIndex}
|
|
167
167
|
showTip
|
|
168
|
-
trackScroll={this.props.trackScroll}
|
|
169
168
|
>
|
|
170
169
|
{({isOpen, setOpened}) => {
|
|
171
170
|
this.setOpened = setOpened
|
|
@@ -205,8 +204,6 @@ Confirmation.propTypes = {
|
|
|
205
204
|
cancelButtonProps: PropTypes.shape(Button.propTypes),
|
|
206
205
|
/** Popover position as string or function (see `Popover`'s `getPopovePosition` prop) */
|
|
207
206
|
popoverPosition: Popover.propTypes && Popover.propTypes.getPopoverPosition,
|
|
208
|
-
/** Enable scroll tracking and position adjustment */
|
|
209
|
-
trackScroll: PropTypes.bool,
|
|
210
207
|
/** DOM element to append popover to. (see `Popover`'s `getContainerElement` prop)*/
|
|
211
208
|
getContainerElement: Popover.propTypes && Popover.propTypes.getContainerElement
|
|
212
209
|
}
|
|
@@ -219,6 +216,5 @@ Confirmation.defaultProps = {
|
|
|
219
216
|
cancelOnOuterAction: true,
|
|
220
217
|
confirmButtonProps: {},
|
|
221
218
|
cancelButtonProps: {},
|
|
222
|
-
popoverPosition: 'bottomLeft'
|
|
223
|
-
trackScroll: false
|
|
219
|
+
popoverPosition: 'bottomLeft'
|
|
224
220
|
}
|
package/dist/confirmation.es.js
CHANGED
|
@@ -167,8 +167,8 @@ function styleInject(css, ref) {
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-
|
|
171
|
-
var styles = {"confirmation":"confirmation__confirmation__12-
|
|
170
|
+
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-28-1 {\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-28-1 {\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-28-1 {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n }\n.confirmation__text__confirmation__12-28-1 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n }\n.confirmation__text--detailed__confirmation__12-28-1 {\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-28-1 {\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-28-1 {\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-28-1:not(:last-child) {\n margin-right: var(--SpaceS, 8px);\n }\n";
|
|
171
|
+
var styles = {"confirmation":"confirmation__confirmation__12-28-1","confirmation__icon":"confirmation__icon__confirmation__12-28-1","confirmation__inner":"confirmation__inner__confirmation__12-28-1","confirmation__text":"confirmation__text__confirmation__12-28-1","confirmation__text--detailed":"confirmation__text--detailed__confirmation__12-28-1","confirmation__description":"confirmation__description__confirmation__12-28-1","confirmation__controls":"confirmation__controls__confirmation__12-28-1","confirmation__controls__item":"confirmation__controls__item__confirmation__12-28-1"};
|
|
172
172
|
styleInject(css);
|
|
173
173
|
|
|
174
174
|
function uppercaseFirst(input) {
|
|
@@ -315,8 +315,7 @@ var Confirmation = /*#__PURE__*/function (_React$Component) {
|
|
|
315
315
|
})),
|
|
316
316
|
onOuterAction: cancelOnOuterAction ? this.onCancel : this.props.onOuterAction,
|
|
317
317
|
zIndex: this.props.zIndex,
|
|
318
|
-
showTip: true
|
|
319
|
-
trackScroll: this.props.trackScroll
|
|
318
|
+
showTip: true
|
|
320
319
|
}, function (_ref2) {
|
|
321
320
|
var isOpen = _ref2.isOpen,
|
|
322
321
|
setOpened = _ref2.setOpened;
|
|
@@ -338,8 +337,7 @@ Confirmation.defaultProps = {
|
|
|
338
337
|
cancelOnOuterAction: true,
|
|
339
338
|
confirmButtonProps: {},
|
|
340
339
|
cancelButtonProps: {},
|
|
341
|
-
popoverPosition: 'bottomLeft'
|
|
342
|
-
trackScroll: false
|
|
340
|
+
popoverPosition: 'bottomLeft'
|
|
343
341
|
};
|
|
344
342
|
|
|
345
343
|
/*********************************************************************
|
package/dist/confirmation.js
CHANGED
|
@@ -172,8 +172,8 @@ function styleInject(css, ref) {
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-
|
|
176
|
-
var styles = {"confirmation":"confirmation__confirmation__12-
|
|
175
|
+
var css = "/*********************************************************************\n* © Copyright IBM Corp. 2024\n*********************************************************************/\n.confirmation__confirmation__12-28-1 {\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-28-1 {\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-28-1 {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n }\n.confirmation__text__confirmation__12-28-1 {\n margin-bottom: var(--SpaceM, 16px);\n line-height: 1.23;\n }\n.confirmation__text--detailed__confirmation__12-28-1 {\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-28-1 {\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-28-1 {\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-28-1:not(:last-child) {\n margin-right: var(--SpaceS, 8px);\n }\n";
|
|
176
|
+
var styles = {"confirmation":"confirmation__confirmation__12-28-1","confirmation__icon":"confirmation__icon__confirmation__12-28-1","confirmation__inner":"confirmation__inner__confirmation__12-28-1","confirmation__text":"confirmation__text__confirmation__12-28-1","confirmation__text--detailed":"confirmation__text--detailed__confirmation__12-28-1","confirmation__description":"confirmation__description__confirmation__12-28-1","confirmation__controls":"confirmation__controls__confirmation__12-28-1","confirmation__controls__item":"confirmation__controls__item__confirmation__12-28-1"};
|
|
177
177
|
styleInject(css);
|
|
178
178
|
|
|
179
179
|
function uppercaseFirst(input) {
|
|
@@ -320,8 +320,7 @@ var Confirmation = /*#__PURE__*/function (_React$Component) {
|
|
|
320
320
|
})),
|
|
321
321
|
onOuterAction: cancelOnOuterAction ? this.onCancel : this.props.onOuterAction,
|
|
322
322
|
zIndex: this.props.zIndex,
|
|
323
|
-
showTip: true
|
|
324
|
-
trackScroll: this.props.trackScroll
|
|
323
|
+
showTip: true
|
|
325
324
|
}, function (_ref2) {
|
|
326
325
|
var isOpen = _ref2.isOpen,
|
|
327
326
|
setOpened = _ref2.setOpened;
|
|
@@ -343,8 +342,7 @@ Confirmation.defaultProps = {
|
|
|
343
342
|
cancelOnOuterAction: true,
|
|
344
343
|
confirmButtonProps: {},
|
|
345
344
|
cancelButtonProps: {},
|
|
346
|
-
popoverPosition: 'bottomLeft'
|
|
347
|
-
trackScroll: false
|
|
345
|
+
popoverPosition: 'bottomLeft'
|
|
348
346
|
};
|
|
349
347
|
|
|
350
348
|
/*********************************************************************
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@targetprocess/confirmation",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.28.1",
|
|
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.
|
|
14
|
-
"@targetprocess/css-variables": "^12.
|
|
15
|
-
"@targetprocess/popover": "^12.
|
|
13
|
+
"@targetprocess/button": "^12.28.1",
|
|
14
|
+
"@targetprocess/css-variables": "^12.28.1",
|
|
15
|
+
"@targetprocess/popover": "^12.28.1",
|
|
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": "2a9db8e494043453e8da38d4638fab1c7108da08"
|
|
25
25
|
}
|