@kubuild/components 0.4.0 → 0.5.0

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.
@@ -41,7 +41,7 @@ import {
41
41
  textDefinition,
42
42
  textareaDefinition,
43
43
  videoDefinition
44
- } from "../chunk-ZJNXCXMZ.js";
44
+ } from "../chunk-PWKMZYTC.js";
45
45
  import "../chunk-OK53DS7G.js";
46
46
  export {
47
47
  CONTENT_CHILD_TYPES,
package/dist/index.cjs CHANGED
@@ -1132,7 +1132,7 @@ var sectionDefinition = {
1132
1132
  category: "layout",
1133
1133
  icon: "rows",
1134
1134
  acceptsChildren: true,
1135
- allowedChildren: ["container", "columns", "flex", "grid", ...CONTENT_CHILD_TYPES],
1135
+ allowedChildren: ["section", "container", "columns", "flex", "grid", ...CONTENT_CHILD_TYPES],
1136
1136
  defaultProps: {},
1137
1137
  traits: [
1138
1138
  idTrait(),
@@ -1165,7 +1165,7 @@ var containerDefinition = {
1165
1165
  category: "layout",
1166
1166
  icon: "box",
1167
1167
  acceptsChildren: true,
1168
- allowedChildren: ["columns", "flex", "grid", ...CONTENT_CHILD_TYPES],
1168
+ allowedChildren: ["container", "columns", "flex", "grid", ...CONTENT_CHILD_TYPES],
1169
1169
  defaultProps: { maxWidth: "1200px" },
1170
1170
  traits: [
1171
1171
  idTrait()
@@ -1194,7 +1194,7 @@ var columnsDefinition = {
1194
1194
  category: "layout",
1195
1195
  icon: "columns",
1196
1196
  acceptsChildren: true,
1197
- allowedChildren: ["container", "flex", "grid", ...CONTENT_CHILD_TYPES],
1197
+ allowedChildren: ["columns", "container", "flex", "grid", ...CONTENT_CHILD_TYPES],
1198
1198
  defaultProps: { columns: 2, gap: "16px" },
1199
1199
  traits: [
1200
1200
  idTrait()