@dynamic-framework/ui-react 2.0.0-dev.3 → 2.0.0-dev.4
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/css/dynamic-ui-non-root.css +230 -2
- package/dist/css/dynamic-ui-non-root.min.css +3 -3
- package/dist/css/dynamic-ui-root.css +2 -2
- package/dist/css/dynamic-ui-root.min.css +2 -2
- package/dist/css/dynamic-ui.css +230 -2
- package/dist/css/dynamic-ui.min.css +3 -3
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +36 -35
- package/dist/index.js.map +1 -1
- package/dist/types/components/DInputMask/DInputMask.d.ts +7 -17
- package/dist/types/components/DLayout/DLayout.d.ts +2 -1
- package/package.json +33 -29
- package/src/style/abstracts/_utilities.scss +19 -0
package/dist/index.esm.js
CHANGED
|
@@ -1268,7 +1268,7 @@ function DLayoutPane({ className, style, children, cols, colsXs, colsSm, colsMd,
|
|
|
1268
1268
|
return (jsx("div", Object.assign({ className: classNames(colsClass, colsXsClass, colsSmClass, colsMdClass, colsLgClass, colsXlClass, colsXxlClass, className), style: style }, dataAttributes, { children: children })));
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
1271
|
-
function DLayout({ className, style, children, gap, gapSm, gapMd, gapLg, gapXl, gapXxl, dataAttributes, }) {
|
|
1271
|
+
function DLayout({ className, style, children, gap, columns, gapSm, gapMd, gapLg, gapXl, gapXxl, dataAttributes, }) {
|
|
1272
1272
|
const gapClasses = classNames({
|
|
1273
1273
|
[`gap-${gap}`]: gap !== undefined,
|
|
1274
1274
|
[`gap-sm-${gapSm}`]: gapSm !== undefined,
|
|
@@ -1277,7 +1277,8 @@ function DLayout({ className, style, children, gap, gapSm, gapMd, gapLg, gapXl,
|
|
|
1277
1277
|
[`gap-xl-${gapXl}`]: gapXl !== undefined,
|
|
1278
1278
|
[`gap-xxl-${gapXxl}`]: gapXxl !== undefined,
|
|
1279
1279
|
});
|
|
1280
|
-
|
|
1280
|
+
const styleWithColumns = Object.assign(Object.assign({}, style), { '--bs-columns': columns });
|
|
1281
|
+
return (jsx("div", Object.assign({ style: styleWithColumns, className: classNames('grid', gapClasses, className) }, dataAttributes, { children: children })));
|
|
1281
1282
|
}
|
|
1282
1283
|
var DLayout$1 = Object.assign(DLayout, {
|
|
1283
1284
|
Pane: DLayoutPane,
|