@dynamic-framework/ui-react 2.0.0-dev.2 → 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 +251 -119
- 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 +251 -119
- package/dist/css/dynamic-ui.min.css +3 -3
- package/dist/index.esm.js +11 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +44 -36
- 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 +13 -2
- package/package.json +33 -29
- package/src/style/abstracts/_mixins.scss +0 -4
- package/src/style/abstracts/_utilities.scss +19 -0
- package/src/style/base/_buttons.scss +22 -16
package/dist/index.esm.js
CHANGED
|
@@ -1268,9 +1268,17 @@ 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, dataAttributes, }) {
|
|
1272
|
-
const
|
|
1273
|
-
|
|
1271
|
+
function DLayout({ className, style, children, gap, columns, gapSm, gapMd, gapLg, gapXl, gapXxl, dataAttributes, }) {
|
|
1272
|
+
const gapClasses = classNames({
|
|
1273
|
+
[`gap-${gap}`]: gap !== undefined,
|
|
1274
|
+
[`gap-sm-${gapSm}`]: gapSm !== undefined,
|
|
1275
|
+
[`gap-md-${gapMd}`]: gapMd !== undefined,
|
|
1276
|
+
[`gap-lg-${gapLg}`]: gapLg !== undefined,
|
|
1277
|
+
[`gap-xl-${gapXl}`]: gapXl !== undefined,
|
|
1278
|
+
[`gap-xxl-${gapXxl}`]: gapXxl !== undefined,
|
|
1279
|
+
});
|
|
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 })));
|
|
1274
1282
|
}
|
|
1275
1283
|
var DLayout$1 = Object.assign(DLayout, {
|
|
1276
1284
|
Pane: DLayoutPane,
|