plataforma-fundacao-componentes 2.22.3 → 2.22.6
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/components/col/Col.d.ts +2 -0
- package/dist/components/modal/Modal.d.ts +1 -0
- package/dist/components/modal/Modal.stories.d.ts +1 -0
- package/dist/components/modal/ModalTypes.d.ts +3 -4
- package/dist/index.css +38 -20
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -3961,7 +3961,7 @@ function Col(props) {
|
|
|
3961
3961
|
});
|
|
3962
3962
|
|
|
3963
3963
|
var rp = _extends({}, props, {
|
|
3964
|
-
className: getMergedClassNames([props.className, rootClassName$L].concat(getSizes, [props.centralized ? 'centralized' : '', props.end ? 'end' : '', props.noPadding ? 'no-padding' : '']))
|
|
3964
|
+
className: getMergedClassNames([props.className, rootClassName$L].concat(getSizes, [props.centralized ? 'centralized' : '', props.end ? 'end' : '', props.noPadding ? 'no-padding' : '', props.noPaddingTop ? 'no-padding-top' : '', props.buttonActionsCol ? 'button-actions-col' : '']))
|
|
3965
3965
|
});
|
|
3966
3966
|
|
|
3967
3967
|
delete rp.noPadding;
|
|
@@ -8435,7 +8435,7 @@ function Modal(props) {
|
|
|
8435
8435
|
var filteredProps = useMemo(function () {
|
|
8436
8436
|
var p = _extends({}, props, {
|
|
8437
8437
|
id: props.id ? props.id : props.modalKey ? props.modalKey : "modal" + getUniqueKey(),
|
|
8438
|
-
className: getMergedClassNames([
|
|
8438
|
+
className: getMergedClassNames([props.className || '', rootClassName$1k, props.mobileOnXS ? 'mobile-on-xs' : '', rootClassName$1k + "-" + String(props.size).toLowerCase()])
|
|
8439
8439
|
});
|
|
8440
8440
|
|
|
8441
8441
|
delete p.footer;
|
|
@@ -8447,6 +8447,7 @@ function Modal(props) {
|
|
|
8447
8447
|
delete p.mobileOnXS;
|
|
8448
8448
|
delete p.preventEscExit;
|
|
8449
8449
|
delete p.preventMaskExit;
|
|
8450
|
+
delete p.compenseColPaddingContent;
|
|
8450
8451
|
delete p.modalKey;
|
|
8451
8452
|
return p;
|
|
8452
8453
|
}, [props]);
|
|
@@ -8478,7 +8479,7 @@ function Modal(props) {
|
|
|
8478
8479
|
onClick: handleClose,
|
|
8479
8480
|
icon: React.createElement(CloseIcon, null)
|
|
8480
8481
|
}))), React.createElement("div", {
|
|
8481
|
-
className: rootClassName$1k + "-content"
|
|
8482
|
+
className: getMergedClassNames([rootClassName$1k + "-content", props.compenseColPaddingContent ? 'compense' : ''])
|
|
8482
8483
|
}, props.children), props.footer ? React.createElement("div", {
|
|
8483
8484
|
className: rootClassName$1k + "-footer"
|
|
8484
8485
|
}, footer) : undefined);
|
|
@@ -9909,7 +9910,9 @@ function TableWithOverflow(props) {
|
|
|
9909
9910
|
var column = Array.from(props.columns).find(function (c) {
|
|
9910
9911
|
return c.key === cell[0];
|
|
9911
9912
|
});
|
|
9912
|
-
return (column === null || column === void 0 ? void 0 : column.key) === 'actions' ? React.createElement("td",
|
|
9913
|
+
return (column === null || column === void 0 ? void 0 : column.key) === 'actions' ? React.createElement("td", {
|
|
9914
|
+
key: fakeId + "-actions"
|
|
9915
|
+
}) : React.createElement("td", Object.assign({
|
|
9913
9916
|
key: cell[1].key ? cell[1].key : valueIndex
|
|
9914
9917
|
}, column === null || column === void 0 ? void 0 : column.props, cell[1].props), cell[1]);
|
|
9915
9918
|
}), React.createElement("td", null));
|