plataforma-fundacao-componentes 2.22.4 → 2.22.5
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 +14 -2
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -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;
|
|
@@ -8478,7 +8478,7 @@ function Modal(props) {
|
|
|
8478
8478
|
onClick: handleClose,
|
|
8479
8479
|
icon: React.createElement(CloseIcon, null)
|
|
8480
8480
|
}))), React.createElement("div", {
|
|
8481
|
-
className: rootClassName$1k + "-content"
|
|
8481
|
+
className: getMergedClassNames([rootClassName$1k + "-content", props.compenseColPaddingContent ? 'compense' : ''])
|
|
8482
8482
|
}, props.children), props.footer ? React.createElement("div", {
|
|
8483
8483
|
className: rootClassName$1k + "-footer"
|
|
8484
8484
|
}, footer) : undefined);
|
|
@@ -9909,7 +9909,9 @@ function TableWithOverflow(props) {
|
|
|
9909
9909
|
var column = Array.from(props.columns).find(function (c) {
|
|
9910
9910
|
return c.key === cell[0];
|
|
9911
9911
|
});
|
|
9912
|
-
return (column === null || column === void 0 ? void 0 : column.key) === 'actions' ? React.createElement("td",
|
|
9912
|
+
return (column === null || column === void 0 ? void 0 : column.key) === 'actions' ? React.createElement("td", {
|
|
9913
|
+
key: fakeId + "-actions"
|
|
9914
|
+
}) : React.createElement("td", Object.assign({
|
|
9913
9915
|
key: cell[1].key ? cell[1].key : valueIndex
|
|
9914
9916
|
}, column === null || column === void 0 ? void 0 : column.props, cell[1].props), cell[1]);
|
|
9915
9917
|
}), React.createElement("td", null));
|