@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/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
- return (jsx("div", Object.assign({ style: style, className: classNames('grid', gapClasses, className) }, dataAttributes, { children: children })));
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,