@mittwald/flow-react-components 0.2.0-alpha.453 → 0.2.0-alpha.455

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.
@@ -9,19 +9,11 @@ import { PropsContextProvider } from '../../lib/propsContext/PropsContextProvide
9
9
  import { flowComponent } from '../../lib/componentFactory/flowComponent.mjs';
10
10
 
11
11
  const FileCardList = flowComponent("FileCardList", (props) => {
12
- const { className, ref, ...rest } = props;
12
+ const { className, ref, children, ...rest } = props;
13
13
  const propsContext = {
14
14
  FileCard: { elementType: "li" }
15
15
  };
16
- return /* @__PURE__ */ jsx(PropsContextProvider, { props: propsContext, children: /* @__PURE__ */ jsx(
17
- ColumnLayout,
18
- {
19
- ref,
20
- elementType: "ul",
21
- className,
22
- ...rest
23
- }
24
- ) });
16
+ return /* @__PURE__ */ jsx(PropsContextProvider, { props: propsContext, children: /* @__PURE__ */ jsx(ColumnLayout, { ref, elementType: "ul", className, ...rest, children }) });
25
17
  });
26
18
 
27
19
  export { FileCardList, FileCardList as default };
@@ -1 +1 @@
1
- {"version":3,"file":"FileCardList.mjs","sources":["../../../../../../src/components/FileCardList/FileCardList.tsx"],"sourcesContent":["import React from \"react\";\nimport type { ColumnLayoutProps } from \"@/components/ColumnLayout\";\nimport { ColumnLayout } from \"@/components/ColumnLayout\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { PropsContextProvider } from \"@/lib/propsContext\";\nimport {\n flowComponent,\n type FlowComponentProps,\n} from \"@/lib/componentFactory/flowComponent\";\n\nexport type FileCardListProps = Omit<ColumnLayoutProps, \"elementType\"> &\n FlowComponentProps<HTMLUListElement>;\n\n/**\n * @flr-generate all\n * @flr-clear-props-context\n */\nexport const FileCardList = flowComponent(\"FileCardList\", (props) => {\n const { className, ref, ...rest } = props;\n\n const propsContext: PropsContext = {\n FileCard: { elementType: \"li\" },\n };\n\n return (\n <PropsContextProvider props={propsContext}>\n <ColumnLayout\n ref={ref}\n elementType=\"ul\"\n className={className}\n {...rest}\n />\n </PropsContextProvider>\n );\n});\n\nexport default FileCardList;\n"],"names":[],"mappings":";;;;;;;;AAiBO,MAAM,YAAe,GAAA,aAAA,CAAc,cAAgB,EAAA,CAAC,KAAU,KAAA;AACnE,EAAA,MAAM,EAAE,SAAA,EAAW,GAAK,EAAA,GAAG,MAAS,GAAA,KAAA;AAEpC,EAAA,MAAM,YAA6B,GAAA;AAAA,IACjC,QAAA,EAAU,EAAE,WAAA,EAAa,IAAK;AAAA,GAChC;AAEA,EACE,uBAAA,GAAA,CAAC,oBAAqB,EAAA,EAAA,KAAA,EAAO,YAC3B,EAAA,QAAA,kBAAA,GAAA;AAAA,IAAC,YAAA;AAAA,IAAA;AAAA,MACC,GAAA;AAAA,MACA,WAAY,EAAA,IAAA;AAAA,MACZ,SAAA;AAAA,MACC,GAAG;AAAA;AAAA,GAER,EAAA,CAAA;AAEJ,CAAC;;;;"}
1
+ {"version":3,"file":"FileCardList.mjs","sources":["../../../../../../src/components/FileCardList/FileCardList.tsx"],"sourcesContent":["import React from \"react\";\nimport type { ColumnLayoutProps } from \"@/components/ColumnLayout\";\nimport { ColumnLayout } from \"@/components/ColumnLayout\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { PropsContextProvider } from \"@/lib/propsContext\";\nimport {\n flowComponent,\n type FlowComponentProps,\n} from \"@/lib/componentFactory/flowComponent\";\n\nexport type FileCardListProps = Omit<ColumnLayoutProps, \"elementType\"> &\n FlowComponentProps<HTMLUListElement>;\n\n/**\n * @flr-generate all\n * @flr-clear-props-context\n */\nexport const FileCardList = flowComponent(\"FileCardList\", (props) => {\n const { className, ref, children, ...rest } = props;\n\n const propsContext: PropsContext = {\n FileCard: { elementType: \"li\" },\n };\n\n return (\n <PropsContextProvider props={propsContext}>\n <ColumnLayout ref={ref} elementType=\"ul\" className={className} {...rest}>\n {children}\n </ColumnLayout>\n </PropsContextProvider>\n );\n});\n\nexport default FileCardList;\n"],"names":[],"mappings":";;;;;;;;AAiBO,MAAM,YAAe,GAAA,aAAA,CAAc,cAAgB,EAAA,CAAC,KAAU,KAAA;AACnE,EAAA,MAAM,EAAE,SAAW,EAAA,GAAA,EAAK,QAAU,EAAA,GAAG,MAAS,GAAA,KAAA;AAE9C,EAAA,MAAM,YAA6B,GAAA;AAAA,IACjC,QAAA,EAAU,EAAE,WAAA,EAAa,IAAK;AAAA,GAChC;AAEA,EAAA,uBACG,GAAA,CAAA,oBAAA,EAAA,EAAqB,KAAO,EAAA,YAAA,EAC3B,QAAC,kBAAA,GAAA,CAAA,YAAA,EAAA,EAAa,GAAU,EAAA,WAAA,EAAY,IAAK,EAAA,SAAA,EAAuB,GAAG,IAAA,EAChE,UACH,CACF,EAAA,CAAA;AAEJ,CAAC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"FileCardList.d.ts","sourceRoot":"","sources":["../../../../src/components/FileCardList/FileCardList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAInE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,EAAE,aAAa,CAAC,GACpE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,YAAY,+KAiBvB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"FileCardList.d.ts","sourceRoot":"","sources":["../../../../src/components/FileCardList/FileCardList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAInE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,EAAE,aAAa,CAAC,GACpE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,YAAY,+KAcvB,CAAC;AAEH,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.453",
3
+ "version": "0.2.0-alpha.455",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -57,7 +57,7 @@
57
57
  "dependencies": {
58
58
  "@internationalized/string-compiler": "^3.2.6",
59
59
  "@mittwald/password-tools-js": "3.0.0-alpha.18",
60
- "@mittwald/react-tunnel": "0.2.0-alpha.453",
60
+ "@mittwald/react-tunnel": "0.2.0-alpha.455",
61
61
  "@mittwald/react-use-promise": "^3.0.4",
62
62
  "@react-aria/form": "^3.1.0",
63
63
  "@react-aria/live-announcer": "^3.4.4",
@@ -100,7 +100,7 @@
100
100
  "@faker-js/faker": "^9.9.0",
101
101
  "@internationalized/date": "^3.8.2",
102
102
  "@mittwald/flow-core": "",
103
- "@mittwald/flow-design-tokens": "0.2.0-alpha.453",
103
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.455",
104
104
  "@mittwald/react-use-promise": "^3.0.4",
105
105
  "@mittwald/remote-dom-react": "1.2.2-mittwald.3",
106
106
  "@mittwald/typescript-config": "",
@@ -173,5 +173,5 @@
173
173
  "optional": true
174
174
  }
175
175
  },
176
- "gitHead": "4dd92c01c4da8ed9bd938d9b498f7e12fd43f2f1"
176
+ "gitHead": "df224a703bca74a170b33a656c7372324d6152e4"
177
177
  }