@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.esm.js CHANGED
@@ -1268,9 +1268,16 @@ 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 gapClass = gap !== undefined ? `gap-${gap}` : undefined;
1273
- return (jsx("div", Object.assign({ style: style, className: classNames('grid', gapClass, className) }, dataAttributes, { children: children })));
1271
+ function DLayout({ className, style, children, gap, 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
+ return (jsx("div", Object.assign({ style: style, className: classNames('grid', gapClasses, className) }, dataAttributes, { children: children })));
1274
1281
  }
1275
1282
  var DLayout$1 = Object.assign(DLayout, {
1276
1283
  Pane: DLayoutPane,