@devtools-ui/stacked-view 0.1.0--canary.17.880 → 0.1.0-next.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 @@ var import_react2 = require("@player-ui/react");
41
41
  var import_react3 = __toESM(require("react"));
42
42
  var StackedViewComponent = (props) => {
43
43
  const { header, main, footer } = props;
44
- return /* @__PURE__ */ import_react3.default.createElement(import_react.Grid, { h: "100%", w: "100%", gap: "1", templateAreas: '"header" "main" "footer"' }, /* @__PURE__ */ import_react3.default.createElement(import_react.GridItem, { area: "header" }, header && /* @__PURE__ */ import_react3.default.createElement(import_react2.ReactAsset, { ...header })), /* @__PURE__ */ import_react3.default.createElement(import_react.GridItem, { area: "main" }, main && /* @__PURE__ */ import_react3.default.createElement(import_react2.ReactAsset, { ...main })), /* @__PURE__ */ import_react3.default.createElement(import_react.GridItem, { area: "footer" }, footer && /* @__PURE__ */ import_react3.default.createElement(import_react2.ReactAsset, { ...footer })));
44
+ return /* @__PURE__ */ import_react3.default.createElement(import_react.Grid, { h: "100%", w: "100%", gap: "4", templateAreas: '"header" "main" "footer"' }, /* @__PURE__ */ import_react3.default.createElement(import_react.GridItem, { area: "header" }, header && /* @__PURE__ */ import_react3.default.createElement(import_react2.ReactAsset, { ...header })), /* @__PURE__ */ import_react3.default.createElement(import_react.GridItem, { area: "main" }, main && /* @__PURE__ */ import_react3.default.createElement(import_react2.ReactAsset, { ...main })), /* @__PURE__ */ import_react3.default.createElement(import_react.GridItem, { area: "footer" }, footer && /* @__PURE__ */ import_react3.default.createElement(import_react2.ReactAsset, { ...footer })));
45
45
  };
46
46
 
47
47
  // ../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/dsl/index.tsx
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/index.ts","../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/component/index.tsx","../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/dsl/index.tsx"],"sourcesContent":["export * from \"./types\";\nexport * from \"./component\";\nexport * from \"./dsl\";\n","import { Grid, GridItem } from \"@chakra-ui/react\";\nimport { ReactAsset } from \"@player-ui/react\";\nimport React from \"react\";\nimport type { StackedViewView } from \"../types\";\n\nexport const StackedViewComponent = (props: StackedViewView) => {\n const { header, main, footer } = props;\n\n return (\n <Grid h=\"100%\" w=\"100%\" gap=\"1\" templateAreas={'\"header\" \"main\" \"footer\"'}>\n <GridItem area={\"header\"}>\n {header && <ReactAsset {...header} />}\n </GridItem>\n <GridItem area={\"main\"}>{main && <ReactAsset {...main} />}</GridItem>\n <GridItem area={\"footer\"}>\n {footer && <ReactAsset {...footer} />}\n </GridItem>\n </Grid>\n );\n};\n","import React from \"react\";\nimport { AssetPropsWithChildren, Asset, createSlot } from \"@player-tools/dsl\";\nimport type { Asset as AssetType } from \"@player-ui/player\";\nimport { Collection } from \"@devtools-ui/collection\";\nimport { Text } from \"@devtools-ui/text\";\nimport type { StackedViewView } from \"../types\";\n\n/**\n * Defines the component DSL representation for the StackedView view.\n */\nexport const StackedView = (props: AssetPropsWithChildren<StackedViewView>) => {\n const { children, ...rest } = props;\n\n return (\n <Asset type=\"stacked-view\" {...rest}>\n {children}\n </Asset>\n );\n};\n\nconst CollectionComp = (props: AssetPropsWithChildren<AssetType>) => {\n return (\n <Collection>\n <Collection.Values>{props.children}</Collection.Values>\n </Collection>\n );\n};\n\nStackedView.Header = createSlot({\n name: \"header\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n\nStackedView.Main = createSlot({\n name: \"main\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n\nStackedView.Footer = createSlot({\n name: \"footer\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAA+B;AAC/B,IAAAA,gBAA2B;AAC3B,IAAAA,gBAAkB;AAGX,IAAM,uBAAuB,CAAC,UAA2B;AAC9D,QAAM,EAAE,QAAQ,MAAM,OAAO,IAAI;AAEjC,SACE,8BAAAC,QAAA,cAAC,qBAAK,GAAE,QAAO,GAAE,QAAO,KAAI,KAAI,eAAe,8BAC7C,8BAAAA,QAAA,cAAC,yBAAS,MAAM,YACb,UAAU,8BAAAA,QAAA,cAAC,4BAAY,GAAG,QAAQ,CACrC,GACA,8BAAAA,QAAA,cAAC,yBAAS,MAAM,UAAS,QAAQ,8BAAAA,QAAA,cAAC,4BAAY,GAAG,MAAM,CAAG,GAC1D,8BAAAA,QAAA,cAAC,yBAAS,MAAM,YACb,UAAU,8BAAAA,QAAA,cAAC,4BAAY,GAAG,QAAQ,CACrC,CACF;AAEJ;;;ACnBA,IAAAC,gBAAkB;AAClB,iBAA0D;AAE1D,wBAA2B;AAC3B,kBAAqB;AAMd,IAAM,cAAc,CAAC,UAAmD;AAC7E,QAAM,EAAE,UAAU,GAAG,KAAK,IAAI;AAE9B,SACE,8BAAAC,QAAA,cAAC,oBAAM,MAAK,gBAAgB,GAAG,QAC5B,QACH;AAEJ;AAEA,IAAM,iBAAiB,CAAC,UAA6C;AACnE,SACE,8BAAAA,QAAA,cAAC,oCACC,8BAAAA,QAAA,cAAC,6BAAW,QAAX,MAAmB,MAAM,QAAS,CACrC;AAEJ;AAEA,YAAY,aAAS,uBAAW;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;AAED,YAAY,WAAO,uBAAW;AAAA,EAC5B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;AAED,YAAY,aAAS,uBAAW;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;","names":["import_react","React","import_react","React"]}
1
+ {"version":3,"sources":["../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/index.ts","../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/component/index.tsx","../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/dsl/index.tsx"],"sourcesContent":["export * from \"./types\";\nexport * from \"./component\";\nexport * from \"./dsl\";\n","import { Grid, GridItem } from \"@chakra-ui/react\";\nimport { ReactAsset } from \"@player-ui/react\";\nimport React from \"react\";\nimport type { StackedViewView } from \"../types\";\n\nexport const StackedViewComponent = (props: StackedViewView) => {\n const { header, main, footer } = props;\n\n return (\n <Grid h=\"100%\" w=\"100%\" gap=\"4\" templateAreas={'\"header\" \"main\" \"footer\"'}>\n <GridItem area={\"header\"}>\n {header && <ReactAsset {...header} />}\n </GridItem>\n <GridItem area={\"main\"}>{main && <ReactAsset {...main} />}</GridItem>\n <GridItem area={\"footer\"}>\n {footer && <ReactAsset {...footer} />}\n </GridItem>\n </Grid>\n );\n};\n","import React from \"react\";\nimport { AssetPropsWithChildren, Asset, createSlot } from \"@player-tools/dsl\";\nimport type { Asset as AssetType } from \"@player-ui/player\";\nimport { Collection } from \"@devtools-ui/collection\";\nimport { Text } from \"@devtools-ui/text\";\nimport type { StackedViewView } from \"../types\";\n\n/**\n * Defines the component DSL representation for the StackedView view.\n */\nexport const StackedView = (props: AssetPropsWithChildren<StackedViewView>) => {\n const { children, ...rest } = props;\n\n return (\n <Asset type=\"stacked-view\" {...rest}>\n {children}\n </Asset>\n );\n};\n\nconst CollectionComp = (props: AssetPropsWithChildren<AssetType>) => {\n return (\n <Collection>\n <Collection.Values>{props.children}</Collection.Values>\n </Collection>\n );\n};\n\nStackedView.Header = createSlot({\n name: \"header\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n\nStackedView.Main = createSlot({\n name: \"main\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n\nStackedView.Footer = createSlot({\n name: \"footer\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,mBAA+B;AAC/B,IAAAA,gBAA2B;AAC3B,IAAAA,gBAAkB;AAGX,IAAM,uBAAuB,CAAC,UAA2B;AAC9D,QAAM,EAAE,QAAQ,MAAM,OAAO,IAAI;AAEjC,SACE,8BAAAC,QAAA,cAAC,qBAAK,GAAE,QAAO,GAAE,QAAO,KAAI,KAAI,eAAe,8BAC7C,8BAAAA,QAAA,cAAC,yBAAS,MAAM,YACb,UAAU,8BAAAA,QAAA,cAAC,4BAAY,GAAG,QAAQ,CACrC,GACA,8BAAAA,QAAA,cAAC,yBAAS,MAAM,UAAS,QAAQ,8BAAAA,QAAA,cAAC,4BAAY,GAAG,MAAM,CAAG,GAC1D,8BAAAA,QAAA,cAAC,yBAAS,MAAM,YACb,UAAU,8BAAAA,QAAA,cAAC,4BAAY,GAAG,QAAQ,CACrC,CACF;AAEJ;;;ACnBA,IAAAC,gBAAkB;AAClB,iBAA0D;AAE1D,wBAA2B;AAC3B,kBAAqB;AAMd,IAAM,cAAc,CAAC,UAAmD;AAC7E,QAAM,EAAE,UAAU,GAAG,KAAK,IAAI;AAE9B,SACE,8BAAAC,QAAA,cAAC,oBAAM,MAAK,gBAAgB,GAAG,QAC5B,QACH;AAEJ;AAEA,IAAM,iBAAiB,CAAC,UAA6C;AACnE,SACE,8BAAAA,QAAA,cAAC,oCACC,8BAAAA,QAAA,cAAC,6BAAW,QAAX,MAAmB,MAAM,QAAS,CACrC;AAEJ;AAEA,YAAY,aAAS,uBAAW;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;AAED,YAAY,WAAO,uBAAW;AAAA,EAC5B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;AAED,YAAY,aAAS,uBAAW;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;","names":["import_react","React","import_react","React"]}
@@ -4,7 +4,7 @@ import { ReactAsset } from "@player-ui/react";
4
4
  import React from "react";
5
5
  var StackedViewComponent = (props) => {
6
6
  const { header, main, footer } = props;
7
- return /* @__PURE__ */ React.createElement(Grid, { h: "100%", w: "100%", gap: "1", templateAreas: '"header" "main" "footer"' }, /* @__PURE__ */ React.createElement(GridItem, { area: "header" }, header && /* @__PURE__ */ React.createElement(ReactAsset, { ...header })), /* @__PURE__ */ React.createElement(GridItem, { area: "main" }, main && /* @__PURE__ */ React.createElement(ReactAsset, { ...main })), /* @__PURE__ */ React.createElement(GridItem, { area: "footer" }, footer && /* @__PURE__ */ React.createElement(ReactAsset, { ...footer })));
7
+ return /* @__PURE__ */ React.createElement(Grid, { h: "100%", w: "100%", gap: "4", templateAreas: '"header" "main" "footer"' }, /* @__PURE__ */ React.createElement(GridItem, { area: "header" }, header && /* @__PURE__ */ React.createElement(ReactAsset, { ...header })), /* @__PURE__ */ React.createElement(GridItem, { area: "main" }, main && /* @__PURE__ */ React.createElement(ReactAsset, { ...main })), /* @__PURE__ */ React.createElement(GridItem, { area: "footer" }, footer && /* @__PURE__ */ React.createElement(ReactAsset, { ...footer })));
8
8
  };
9
9
 
10
10
  // ../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/dsl/index.tsx
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { ReactAsset } from "@player-ui/react";
4
4
  import React from "react";
5
5
  var StackedViewComponent = (props) => {
6
6
  const { header, main, footer } = props;
7
- return /* @__PURE__ */ React.createElement(Grid, { h: "100%", w: "100%", gap: "1", templateAreas: '"header" "main" "footer"' }, /* @__PURE__ */ React.createElement(GridItem, { area: "header" }, header && /* @__PURE__ */ React.createElement(ReactAsset, { ...header })), /* @__PURE__ */ React.createElement(GridItem, { area: "main" }, main && /* @__PURE__ */ React.createElement(ReactAsset, { ...main })), /* @__PURE__ */ React.createElement(GridItem, { area: "footer" }, footer && /* @__PURE__ */ React.createElement(ReactAsset, { ...footer })));
7
+ return /* @__PURE__ */ React.createElement(Grid, { h: "100%", w: "100%", gap: "4", templateAreas: '"header" "main" "footer"' }, /* @__PURE__ */ React.createElement(GridItem, { area: "header" }, header && /* @__PURE__ */ React.createElement(ReactAsset, { ...header })), /* @__PURE__ */ React.createElement(GridItem, { area: "main" }, main && /* @__PURE__ */ React.createElement(ReactAsset, { ...main })), /* @__PURE__ */ React.createElement(GridItem, { area: "footer" }, footer && /* @__PURE__ */ React.createElement(ReactAsset, { ...footer })));
8
8
  };
9
9
 
10
10
  // ../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/dsl/index.tsx
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/component/index.tsx","../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/dsl/index.tsx"],"sourcesContent":["import { Grid, GridItem } from \"@chakra-ui/react\";\nimport { ReactAsset } from \"@player-ui/react\";\nimport React from \"react\";\nimport type { StackedViewView } from \"../types\";\n\nexport const StackedViewComponent = (props: StackedViewView) => {\n const { header, main, footer } = props;\n\n return (\n <Grid h=\"100%\" w=\"100%\" gap=\"1\" templateAreas={'\"header\" \"main\" \"footer\"'}>\n <GridItem area={\"header\"}>\n {header && <ReactAsset {...header} />}\n </GridItem>\n <GridItem area={\"main\"}>{main && <ReactAsset {...main} />}</GridItem>\n <GridItem area={\"footer\"}>\n {footer && <ReactAsset {...footer} />}\n </GridItem>\n </Grid>\n );\n};\n","import React from \"react\";\nimport { AssetPropsWithChildren, Asset, createSlot } from \"@player-tools/dsl\";\nimport type { Asset as AssetType } from \"@player-ui/player\";\nimport { Collection } from \"@devtools-ui/collection\";\nimport { Text } from \"@devtools-ui/text\";\nimport type { StackedViewView } from \"../types\";\n\n/**\n * Defines the component DSL representation for the StackedView view.\n */\nexport const StackedView = (props: AssetPropsWithChildren<StackedViewView>) => {\n const { children, ...rest } = props;\n\n return (\n <Asset type=\"stacked-view\" {...rest}>\n {children}\n </Asset>\n );\n};\n\nconst CollectionComp = (props: AssetPropsWithChildren<AssetType>) => {\n return (\n <Collection>\n <Collection.Values>{props.children}</Collection.Values>\n </Collection>\n );\n};\n\nStackedView.Header = createSlot({\n name: \"header\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n\nStackedView.Main = createSlot({\n name: \"main\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n\nStackedView.Footer = createSlot({\n name: \"footer\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n"],"mappings":";AAAA,SAAS,MAAM,gBAAgB;AAC/B,SAAS,kBAAkB;AAC3B,OAAO,WAAW;AAGX,IAAM,uBAAuB,CAAC,UAA2B;AAC9D,QAAM,EAAE,QAAQ,MAAM,OAAO,IAAI;AAEjC,SACE,oCAAC,QAAK,GAAE,QAAO,GAAE,QAAO,KAAI,KAAI,eAAe,8BAC7C,oCAAC,YAAS,MAAM,YACb,UAAU,oCAAC,cAAY,GAAG,QAAQ,CACrC,GACA,oCAAC,YAAS,MAAM,UAAS,QAAQ,oCAAC,cAAY,GAAG,MAAM,CAAG,GAC1D,oCAAC,YAAS,MAAM,YACb,UAAU,oCAAC,cAAY,GAAG,QAAQ,CACrC,CACF;AAEJ;;;ACnBA,OAAOA,YAAW;AAClB,SAAiC,OAAO,kBAAkB;AAE1D,SAAS,kBAAkB;AAC3B,SAAS,YAAY;AAMd,IAAM,cAAc,CAAC,UAAmD;AAC7E,QAAM,EAAE,UAAU,GAAG,KAAK,IAAI;AAE9B,SACE,gBAAAA,OAAA,cAAC,SAAM,MAAK,gBAAgB,GAAG,QAC5B,QACH;AAEJ;AAEA,IAAM,iBAAiB,CAAC,UAA6C;AACnE,SACE,gBAAAA,OAAA,cAAC,kBACC,gBAAAA,OAAA,cAAC,WAAW,QAAX,MAAmB,MAAM,QAAS,CACrC;AAEJ;AAEA,YAAY,SAAS,WAAW;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;AAED,YAAY,OAAO,WAAW;AAAA,EAC5B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;AAED,YAAY,SAAS,WAAW;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;","names":["React"]}
1
+ {"version":3,"sources":["../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/component/index.tsx","../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/stacked-view/src/dsl/index.tsx"],"sourcesContent":["import { Grid, GridItem } from \"@chakra-ui/react\";\nimport { ReactAsset } from \"@player-ui/react\";\nimport React from \"react\";\nimport type { StackedViewView } from \"../types\";\n\nexport const StackedViewComponent = (props: StackedViewView) => {\n const { header, main, footer } = props;\n\n return (\n <Grid h=\"100%\" w=\"100%\" gap=\"4\" templateAreas={'\"header\" \"main\" \"footer\"'}>\n <GridItem area={\"header\"}>\n {header && <ReactAsset {...header} />}\n </GridItem>\n <GridItem area={\"main\"}>{main && <ReactAsset {...main} />}</GridItem>\n <GridItem area={\"footer\"}>\n {footer && <ReactAsset {...footer} />}\n </GridItem>\n </Grid>\n );\n};\n","import React from \"react\";\nimport { AssetPropsWithChildren, Asset, createSlot } from \"@player-tools/dsl\";\nimport type { Asset as AssetType } from \"@player-ui/player\";\nimport { Collection } from \"@devtools-ui/collection\";\nimport { Text } from \"@devtools-ui/text\";\nimport type { StackedViewView } from \"../types\";\n\n/**\n * Defines the component DSL representation for the StackedView view.\n */\nexport const StackedView = (props: AssetPropsWithChildren<StackedViewView>) => {\n const { children, ...rest } = props;\n\n return (\n <Asset type=\"stacked-view\" {...rest}>\n {children}\n </Asset>\n );\n};\n\nconst CollectionComp = (props: AssetPropsWithChildren<AssetType>) => {\n return (\n <Collection>\n <Collection.Values>{props.children}</Collection.Values>\n </Collection>\n );\n};\n\nStackedView.Header = createSlot({\n name: \"header\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n\nStackedView.Main = createSlot({\n name: \"main\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n\nStackedView.Footer = createSlot({\n name: \"footer\",\n TextComp: Text,\n CollectionComp,\n isArray: false,\n wrapInAsset: true,\n});\n"],"mappings":";AAAA,SAAS,MAAM,gBAAgB;AAC/B,SAAS,kBAAkB;AAC3B,OAAO,WAAW;AAGX,IAAM,uBAAuB,CAAC,UAA2B;AAC9D,QAAM,EAAE,QAAQ,MAAM,OAAO,IAAI;AAEjC,SACE,oCAAC,QAAK,GAAE,QAAO,GAAE,QAAO,KAAI,KAAI,eAAe,8BAC7C,oCAAC,YAAS,MAAM,YACb,UAAU,oCAAC,cAAY,GAAG,QAAQ,CACrC,GACA,oCAAC,YAAS,MAAM,UAAS,QAAQ,oCAAC,cAAY,GAAG,MAAM,CAAG,GAC1D,oCAAC,YAAS,MAAM,YACb,UAAU,oCAAC,cAAY,GAAG,QAAQ,CACrC,CACF;AAEJ;;;ACnBA,OAAOA,YAAW;AAClB,SAAiC,OAAO,kBAAkB;AAE1D,SAAS,kBAAkB;AAC3B,SAAS,YAAY;AAMd,IAAM,cAAc,CAAC,UAAmD;AAC7E,QAAM,EAAE,UAAU,GAAG,KAAK,IAAI;AAE9B,SACE,gBAAAA,OAAA,cAAC,SAAM,MAAK,gBAAgB,GAAG,QAC5B,QACH;AAEJ;AAEA,IAAM,iBAAiB,CAAC,UAA6C;AACnE,SACE,gBAAAA,OAAA,cAAC,kBACC,gBAAAA,OAAA,cAAC,WAAW,QAAX,MAAmB,MAAM,QAAS,CACrC;AAEJ;AAEA,YAAY,SAAS,WAAW;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;AAED,YAAY,OAAO,WAAW;AAAA,EAC5B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;AAED,YAAY,SAAS,WAAW;AAAA,EAC9B,MAAM;AAAA,EACN,UAAU;AAAA,EACV;AAAA,EACA,SAAS;AAAA,EACT,aAAa;AACf,CAAC;","names":["React"]}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@devtools-ui/stacked-view",
3
- "version": "0.1.0--canary.17.880",
3
+ "version": "0.1.0-next.0",
4
4
  "main": "dist/cjs/index.cjs",
5
5
  "dependencies": {
6
- "@devtools-ui/text": "0.1.0--canary.17.880",
7
- "@devtools-ui/collection": "0.1.0--canary.17.880",
6
+ "@devtools-ui/text": "0.1.0-next.0",
7
+ "@devtools-ui/collection": "0.1.0-next.0",
8
8
  "@chakra-ui/react": "^2.8.2",
9
9
  "@emotion/react": "^11.11.4",
10
10
  "@emotion/styled": "^11.11.0",
@@ -7,7 +7,7 @@ export const StackedViewComponent = (props: StackedViewView) => {
7
7
  const { header, main, footer } = props;
8
8
 
9
9
  return (
10
- <Grid h="100%" w="100%" gap="1" templateAreas={'"header" "main" "footer"'}>
10
+ <Grid h="100%" w="100%" gap="4" templateAreas={'"header" "main" "footer"'}>
11
11
  <GridItem area={"header"}>
12
12
  {header && <ReactAsset {...header} />}
13
13
  </GridItem>