@dynamic-framework/ui-react 2.0.0-dev.2 → 2.0.0-dev.3

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/index.js CHANGED
@@ -1289,9 +1289,16 @@ function DLayoutPane({ className, style, children, cols, colsXs, colsSm, colsMd,
1289
1289
  return (jsxRuntime.jsx("div", Object.assign({ className: classNames(colsClass, colsXsClass, colsSmClass, colsMdClass, colsLgClass, colsXlClass, colsXxlClass, className), style: style }, dataAttributes, { children: children })));
1290
1290
  }
1291
1291
 
1292
- function DLayout({ className, style, children, gap, dataAttributes, }) {
1293
- const gapClass = gap !== undefined ? `gap-${gap}` : undefined;
1294
- return (jsxRuntime.jsx("div", Object.assign({ style: style, className: classNames('grid', gapClass, className) }, dataAttributes, { children: children })));
1292
+ function DLayout({ className, style, children, gap, gapSm, gapMd, gapLg, gapXl, gapXxl, dataAttributes, }) {
1293
+ const gapClasses = classNames({
1294
+ [`gap-${gap}`]: gap !== undefined,
1295
+ [`gap-sm-${gapSm}`]: gapSm !== undefined,
1296
+ [`gap-md-${gapMd}`]: gapMd !== undefined,
1297
+ [`gap-lg-${gapLg}`]: gapLg !== undefined,
1298
+ [`gap-xl-${gapXl}`]: gapXl !== undefined,
1299
+ [`gap-xxl-${gapXxl}`]: gapXxl !== undefined,
1300
+ });
1301
+ return (jsxRuntime.jsx("div", Object.assign({ style: style, className: classNames('grid', gapClasses, className) }, dataAttributes, { children: children })));
1295
1302
  }
1296
1303
  var DLayout$1 = Object.assign(DLayout, {
1297
1304
  Pane: DLayoutPane,