@mittwald/flow-react-components 0.2.0-alpha.234 → 0.2.0-alpha.236

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.2.0-alpha.236](https://github.com/mittwald/flow/compare/0.2.0-alpha.235...0.2.0-alpha.236) (2025-06-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ * Allow control prop ([#1557](https://github.com/mittwald/flow/issues/1557)) ([c5ce6f0](https://github.com/mittwald/flow/commit/c5ce6f03d28500ae335067c70ac84e2632517567))
11
+ * **Option:** use value for key to support remote rendering ([#1556](https://github.com/mittwald/flow/issues/1556)) ([3fea5c8](https://github.com/mittwald/flow/commit/3fea5c8b9a68f7d71740b8dfff399cb87413a048))
12
+
13
+ # [0.2.0-alpha.235](https://github.com/mittwald/flow/compare/0.2.0-alpha.234...0.2.0-alpha.235) (2025-06-03)
14
+
15
+ **Note:** Version bump only for package @mittwald/flow-react-components
16
+
6
17
  # [0.2.0-alpha.234](https://github.com/mittwald/flow/compare/0.2.0-alpha.233...0.2.0-alpha.234) (2025-06-03)
7
18
 
8
19
  **Note:** Version bump only for package @mittwald/flow-react-components
@@ -100925,44 +100925,25 @@
100925
100925
  "flr-generate": "all",
100926
100926
  "flr-clear-props-context": ""
100927
100927
  },
100928
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/Heading/Heading.tsx",
100928
+ "filePath": "src/components/HeaderNavigation/HeaderNavigation.tsx",
100929
100929
  "description": "",
100930
- "displayName": "Heading",
100930
+ "displayName": "HeaderNavigation",
100931
100931
  "methods": [],
100932
100932
  "props": {
100933
- "size": {
100934
- "defaultValue": null,
100935
- "description": "The font size of the heading.",
100936
- "name": "size",
100937
- "parent": {
100938
- "fileName": "components/src/components/Heading/Heading.tsx",
100939
- "name": "HeadingProps"
100940
- },
100941
- "declarations": [
100942
- {
100943
- "fileName": "components/src/components/Heading/Heading.tsx",
100944
- "name": "HeadingProps"
100945
- }
100946
- ],
100947
- "required": false,
100948
- "type": {
100949
- "name": "\"s\" | \"xs\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
100950
- }
100951
- },
100952
100933
  "color": {
100953
100934
  "defaultValue": {
100954
100935
  "value": "\"primary\""
100955
100936
  },
100956
- "description": "The color of the heading.",
100937
+ "description": "The color of the header navigation.",
100957
100938
  "name": "color",
100958
100939
  "parent": {
100959
- "fileName": "components/src/components/Heading/Heading.tsx",
100960
- "name": "HeadingProps"
100940
+ "fileName": "src/components/HeaderNavigation/HeaderNavigation.tsx",
100941
+ "name": "HeaderNavigationProps"
100961
100942
  },
100962
100943
  "declarations": [
100963
100944
  {
100964
- "fileName": "components/src/components/Heading/Heading.tsx",
100965
- "name": "HeadingProps"
100945
+ "fileName": "src/components/HeaderNavigation/HeaderNavigation.tsx",
100946
+ "name": "HeaderNavigationProps"
100966
100947
  }
100967
100948
  ],
100968
100949
  "required": false,
@@ -100970,44 +100951,42 @@
100970
100951
  "name": "\"light\" | \"dark\" | \"primary\""
100971
100952
  }
100972
100953
  },
100973
- "wrap": {
100974
- "defaultValue": {
100975
- "value": "undefined"
100976
- },
100977
- "description": "The text-wrap property of the text.",
100978
- "name": "wrap",
100954
+ "ref": {
100955
+ "defaultValue": null,
100956
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
100957
+ "name": "ref",
100979
100958
  "parent": {
100980
- "fileName": "components/src/components/Heading/Heading.tsx",
100981
- "name": "HeadingProps"
100959
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
100960
+ "name": "RefAttributes"
100982
100961
  },
100983
100962
  "declarations": [
100984
100963
  {
100985
- "fileName": "components/src/components/Heading/Heading.tsx",
100986
- "name": "HeadingProps"
100964
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
100965
+ "name": "RefAttributes"
100987
100966
  }
100988
100967
  ],
100989
100968
  "required": false,
100990
100969
  "type": {
100991
- "name": "\"wrap\" | \"balance\""
100970
+ "name": "Ref<HTMLElement>"
100992
100971
  }
100993
100972
  },
100994
- "level": {
100973
+ "key": {
100995
100974
  "defaultValue": null,
100996
100975
  "description": "",
100997
- "name": "level",
100976
+ "name": "key",
100998
100977
  "parent": {
100999
- "fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
101000
- "name": "HeadingProps"
100978
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
100979
+ "name": "Attributes"
101001
100980
  },
101002
100981
  "declarations": [
101003
100982
  {
101004
- "fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
101005
- "name": "HeadingProps"
100983
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
100984
+ "name": "Attributes"
101006
100985
  }
101007
100986
  ],
101008
100987
  "required": false,
101009
100988
  "type": {
101010
- "name": "number"
100989
+ "name": "Key | null"
101011
100990
  }
101012
100991
  },
101013
100992
  "defaultChecked": {
@@ -103055,6 +103034,10 @@
103055
103034
  {
103056
103035
  "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
103057
103036
  "name": "DOMAttributes"
103037
+ },
103038
+ {
103039
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
103040
+ "name": "TypeLiteral"
103058
103041
  }
103059
103042
  ],
103060
103043
  "required": false,
@@ -106272,82 +106255,6 @@
106272
106255
  "type": {
106273
106256
  "name": "TransitionEventHandler<HTMLElement>"
106274
106257
  }
106275
- },
106276
- "wrapWith": {
106277
- "defaultValue": null,
106278
- "description": "",
106279
- "name": "wrapWith",
106280
- "parent": {
106281
- "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
106282
- "name": "FlowComponentProps"
106283
- },
106284
- "declarations": [
106285
- {
106286
- "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
106287
- "name": "FlowComponentProps"
106288
- }
106289
- ],
106290
- "required": false,
106291
- "type": {
106292
- "name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
106293
- }
106294
- },
106295
- "tunnelId": {
106296
- "defaultValue": null,
106297
- "description": "@internal",
106298
- "name": "tunnelId",
106299
- "parent": {
106300
- "fileName": "components/src/lib/types/props.ts",
106301
- "name": "PropsWithTunnel"
106302
- },
106303
- "declarations": [
106304
- {
106305
- "fileName": "components/src/lib/types/props.ts",
106306
- "name": "PropsWithTunnel"
106307
- }
106308
- ],
106309
- "required": false,
106310
- "type": {
106311
- "name": "string | null"
106312
- }
106313
- },
106314
- "ref": {
106315
- "defaultValue": null,
106316
- "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
106317
- "name": "ref",
106318
- "parent": {
106319
- "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
106320
- "name": "RefAttributes"
106321
- },
106322
- "declarations": [
106323
- {
106324
- "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
106325
- "name": "RefAttributes"
106326
- }
106327
- ],
106328
- "required": false,
106329
- "type": {
106330
- "name": "Ref<HTMLDivElement>"
106331
- }
106332
- },
106333
- "key": {
106334
- "defaultValue": null,
106335
- "description": "",
106336
- "name": "key",
106337
- "parent": {
106338
- "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
106339
- "name": "Attributes"
106340
- },
106341
- "declarations": [
106342
- {
106343
- "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
106344
- "name": "Attributes"
106345
- }
106346
- ],
106347
- "required": false,
106348
- "type": {
106349
- "name": "Key | null"
106350
- }
106351
106258
  }
106352
106259
  }
106353
106260
  },
@@ -106356,25 +106263,44 @@
106356
106263
  "flr-generate": "all",
106357
106264
  "flr-clear-props-context": ""
106358
106265
  },
106359
- "filePath": "src/components/HeaderNavigation/HeaderNavigation.tsx",
106266
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/Heading/Heading.tsx",
106360
106267
  "description": "",
106361
- "displayName": "HeaderNavigation",
106268
+ "displayName": "Heading",
106362
106269
  "methods": [],
106363
106270
  "props": {
106271
+ "size": {
106272
+ "defaultValue": null,
106273
+ "description": "The font size of the heading.",
106274
+ "name": "size",
106275
+ "parent": {
106276
+ "fileName": "components/src/components/Heading/Heading.tsx",
106277
+ "name": "HeadingProps"
106278
+ },
106279
+ "declarations": [
106280
+ {
106281
+ "fileName": "components/src/components/Heading/Heading.tsx",
106282
+ "name": "HeadingProps"
106283
+ }
106284
+ ],
106285
+ "required": false,
106286
+ "type": {
106287
+ "name": "\"s\" | \"xs\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
106288
+ }
106289
+ },
106364
106290
  "color": {
106365
106291
  "defaultValue": {
106366
106292
  "value": "\"primary\""
106367
106293
  },
106368
- "description": "The color of the header navigation.",
106294
+ "description": "The color of the heading.",
106369
106295
  "name": "color",
106370
106296
  "parent": {
106371
- "fileName": "src/components/HeaderNavigation/HeaderNavigation.tsx",
106372
- "name": "HeaderNavigationProps"
106297
+ "fileName": "components/src/components/Heading/Heading.tsx",
106298
+ "name": "HeadingProps"
106373
106299
  },
106374
106300
  "declarations": [
106375
106301
  {
106376
- "fileName": "src/components/HeaderNavigation/HeaderNavigation.tsx",
106377
- "name": "HeaderNavigationProps"
106302
+ "fileName": "components/src/components/Heading/Heading.tsx",
106303
+ "name": "HeadingProps"
106378
106304
  }
106379
106305
  ],
106380
106306
  "required": false,
@@ -106382,42 +106308,44 @@
106382
106308
  "name": "\"light\" | \"dark\" | \"primary\""
106383
106309
  }
106384
106310
  },
106385
- "ref": {
106386
- "defaultValue": null,
106387
- "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
106388
- "name": "ref",
106311
+ "wrap": {
106312
+ "defaultValue": {
106313
+ "value": "undefined"
106314
+ },
106315
+ "description": "The text-wrap property of the text.",
106316
+ "name": "wrap",
106389
106317
  "parent": {
106390
- "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
106391
- "name": "RefAttributes"
106318
+ "fileName": "components/src/components/Heading/Heading.tsx",
106319
+ "name": "HeadingProps"
106392
106320
  },
106393
106321
  "declarations": [
106394
106322
  {
106395
- "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
106396
- "name": "RefAttributes"
106323
+ "fileName": "components/src/components/Heading/Heading.tsx",
106324
+ "name": "HeadingProps"
106397
106325
  }
106398
106326
  ],
106399
106327
  "required": false,
106400
106328
  "type": {
106401
- "name": "Ref<HTMLElement>"
106329
+ "name": "\"wrap\" | \"balance\""
106402
106330
  }
106403
106331
  },
106404
- "key": {
106332
+ "level": {
106405
106333
  "defaultValue": null,
106406
106334
  "description": "",
106407
- "name": "key",
106335
+ "name": "level",
106408
106336
  "parent": {
106409
- "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
106410
- "name": "Attributes"
106337
+ "fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
106338
+ "name": "HeadingProps"
106411
106339
  },
106412
106340
  "declarations": [
106413
106341
  {
106414
- "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
106415
- "name": "Attributes"
106342
+ "fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
106343
+ "name": "HeadingProps"
106416
106344
  }
106417
106345
  ],
106418
106346
  "required": false,
106419
106347
  "type": {
106420
- "name": "Key | null"
106348
+ "name": "number"
106421
106349
  }
106422
106350
  },
106423
106351
  "defaultChecked": {
@@ -108465,10 +108393,6 @@
108465
108393
  {
108466
108394
  "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
108467
108395
  "name": "DOMAttributes"
108468
- },
108469
- {
108470
- "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
108471
- "name": "TypeLiteral"
108472
108396
  }
108473
108397
  ],
108474
108398
  "required": false,
@@ -111686,6 +111610,82 @@
111686
111610
  "type": {
111687
111611
  "name": "TransitionEventHandler<HTMLElement>"
111688
111612
  }
111613
+ },
111614
+ "wrapWith": {
111615
+ "defaultValue": null,
111616
+ "description": "",
111617
+ "name": "wrapWith",
111618
+ "parent": {
111619
+ "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
111620
+ "name": "FlowComponentProps"
111621
+ },
111622
+ "declarations": [
111623
+ {
111624
+ "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
111625
+ "name": "FlowComponentProps"
111626
+ }
111627
+ ],
111628
+ "required": false,
111629
+ "type": {
111630
+ "name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
111631
+ }
111632
+ },
111633
+ "tunnelId": {
111634
+ "defaultValue": null,
111635
+ "description": "@internal",
111636
+ "name": "tunnelId",
111637
+ "parent": {
111638
+ "fileName": "components/src/lib/types/props.ts",
111639
+ "name": "PropsWithTunnel"
111640
+ },
111641
+ "declarations": [
111642
+ {
111643
+ "fileName": "components/src/lib/types/props.ts",
111644
+ "name": "PropsWithTunnel"
111645
+ }
111646
+ ],
111647
+ "required": false,
111648
+ "type": {
111649
+ "name": "string | null"
111650
+ }
111651
+ },
111652
+ "ref": {
111653
+ "defaultValue": null,
111654
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
111655
+ "name": "ref",
111656
+ "parent": {
111657
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
111658
+ "name": "RefAttributes"
111659
+ },
111660
+ "declarations": [
111661
+ {
111662
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
111663
+ "name": "RefAttributes"
111664
+ }
111665
+ ],
111666
+ "required": false,
111667
+ "type": {
111668
+ "name": "Ref<HTMLDivElement>"
111669
+ }
111670
+ },
111671
+ "key": {
111672
+ "defaultValue": null,
111673
+ "description": "",
111674
+ "name": "key",
111675
+ "parent": {
111676
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
111677
+ "name": "Attributes"
111678
+ },
111679
+ "declarations": [
111680
+ {
111681
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
111682
+ "name": "Attributes"
111683
+ }
111684
+ ],
111685
+ "required": false,
111686
+ "type": {
111687
+ "name": "Key | null"
111688
+ }
111689
111689
  }
111690
111690
  }
111691
111691
  },
@@ -218086,6 +218086,21 @@
218086
218086
  "name": "boolean"
218087
218087
  }
218088
218088
  },
218089
+ "control": {
218090
+ "defaultValue": null,
218091
+ "description": "",
218092
+ "name": "control",
218093
+ "declarations": [
218094
+ {
218095
+ "fileName": "flow/node_modules/.pnpm/react-hook-form@7.56.4_react@19.1.0/node_modules/react-hook-form/dist/types/controller.d.ts",
218096
+ "name": "TypeLiteral"
218097
+ }
218098
+ ],
218099
+ "required": false,
218100
+ "type": {
218101
+ "name": "Control<T, any, T>"
218102
+ }
218103
+ },
218089
218104
  "rules": {
218090
218105
  "defaultValue": null,
218091
218106
  "description": "",
@@ -2,7 +2,6 @@
2
2
  /* */
3
3
  import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import 'react';
5
- import { SkeletonText } from '../../../../SkeletonText/SkeletonText.mjs';
6
5
  import TableView from '../../../../../views/TableView.mjs';
7
6
  import TableColumnView from '../../../../../views/TableColumnView.mjs';
8
7
  import TableBodyView from '../../../../../views/TableBodyView.mjs';
@@ -13,7 +12,7 @@ import TableCellView from '../../../../../views/TableCellView.mjs';
13
12
 
14
13
  const TableLoadingView = (props) => {
15
14
  return /* @__PURE__ */ jsxs(TableView, { ...props, children: [
16
- /* @__PURE__ */ jsx(TableHeaderView, { children: /* @__PURE__ */ jsx(TableColumnView, { children: /* @__PURE__ */ jsx(SkeletonText, { width: "100%" }) }) }),
15
+ /* @__PURE__ */ jsx(TableHeaderView, { children: /* @__PURE__ */ jsx(TableColumnView, { children: /* @__PURE__ */ jsx(SkeletonTextView, { width: "100%" }) }) }),
17
16
  /* @__PURE__ */ jsx(TableBodyView, { children: Array.from(Array(5)).map((_, i) => /* @__PURE__ */ jsx(TableRowView, { children: /* @__PURE__ */ jsx(TableCellView, { children: /* @__PURE__ */ jsx(SkeletonTextView, { width: "100%" }) }) }, i)) })
18
17
  ] });
19
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TableLoadingView.mjs","sources":["../../../../../../../../../src/components/List/components/Table/components/TableLoadingView.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport React from \"react\";\nimport { SkeletonText } from \"@/components/SkeletonText\";\nimport type { TableSupportedComponentProps } from \"@/components/List/model/table/types\";\nimport TableView from \"@/views/TableView\";\nimport TableColumnView from \"@/views/TableColumnView\";\nimport TableBodyView from \"@/views/TableBodyView\";\nimport TableRowView from \"@/views/TableRowView\";\nimport SkeletonTextView from \"@/views/SkeletonTextView\";\nimport TableHeaderView from \"@/views/TableHeaderView\";\nimport TableCellView from \"@/views/TableCellView\";\n\nexport const TableLoadingView: FC<TableSupportedComponentProps> = (props) => {\n return (\n <TableView {...props}>\n <TableHeaderView>\n <TableColumnView>\n <SkeletonText width=\"100%\" />\n </TableColumnView>\n </TableHeaderView>\n <TableBodyView>\n {Array.from(Array(5)).map((_, i) => (\n <TableRowView key={i}>\n <TableCellView>\n <SkeletonTextView width=\"100%\" />\n </TableCellView>\n </TableRowView>\n ))}\n </TableBodyView>\n </TableView>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;;AAYa,MAAA,gBAAA,GAAqD,CAAC,KAAU,KAAA;AAC3E,EACE,uBAAA,IAAA,CAAC,SAAW,EAAA,EAAA,GAAG,KACb,EAAA,QAAA,EAAA;AAAA,oBAAC,GAAA,CAAA,eAAA,EAAA,EACC,8BAAC,eACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,gBAAa,KAAM,EAAA,MAAA,EAAO,GAC7B,CACF,EAAA,CAAA;AAAA,oBACA,GAAA,CAAC,aACE,EAAA,EAAA,QAAA,EAAA,KAAA,CAAM,IAAK,CAAA,KAAA,CAAM,CAAC,CAAC,CAAA,CAAE,GAAI,CAAA,CAAC,CAAG,EAAA,CAAA,yBAC3B,YACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,aACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,gBAAiB,EAAA,EAAA,KAAA,EAAM,QAAO,CACjC,EAAA,CAAA,EAAA,EAHiB,CAInB,CACD,CACH,EAAA;AAAA,GACF,EAAA,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"TableLoadingView.mjs","sources":["../../../../../../../../../src/components/List/components/Table/components/TableLoadingView.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport React from \"react\";\nimport type { TableSupportedComponentProps } from \"@/components/List/model/table/types\";\nimport TableView from \"@/views/TableView\";\nimport TableColumnView from \"@/views/TableColumnView\";\nimport TableBodyView from \"@/views/TableBodyView\";\nimport TableRowView from \"@/views/TableRowView\";\nimport SkeletonTextView from \"@/views/SkeletonTextView\";\nimport TableHeaderView from \"@/views/TableHeaderView\";\nimport TableCellView from \"@/views/TableCellView\";\n\nexport const TableLoadingView: FC<TableSupportedComponentProps> = (props) => {\n return (\n <TableView {...props}>\n <TableHeaderView>\n <TableColumnView>\n <SkeletonTextView width=\"100%\" />\n </TableColumnView>\n </TableHeaderView>\n <TableBodyView>\n {Array.from(Array(5)).map((_, i) => (\n <TableRowView key={i}>\n <TableCellView>\n <SkeletonTextView width=\"100%\" />\n </TableCellView>\n </TableRowView>\n ))}\n </TableBodyView>\n </TableView>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AAWa,MAAA,gBAAA,GAAqD,CAAC,KAAU,KAAA;AAC3E,EACE,uBAAA,IAAA,CAAC,SAAW,EAAA,EAAA,GAAG,KACb,EAAA,QAAA,EAAA;AAAA,oBAAC,GAAA,CAAA,eAAA,EAAA,EACC,8BAAC,eACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,oBAAiB,KAAM,EAAA,MAAA,EAAO,GACjC,CACF,EAAA,CAAA;AAAA,oBACA,GAAA,CAAC,aACE,EAAA,EAAA,QAAA,EAAA,KAAA,CAAM,IAAK,CAAA,KAAA,CAAM,CAAC,CAAC,CAAA,CAAE,GAAI,CAAA,CAAC,CAAG,EAAA,CAAA,yBAC3B,YACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,aACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,gBAAiB,EAAA,EAAA,KAAA,EAAM,QAAO,CACjC,EAAA,CAAA,EAAA,EAHiB,CAInB,CACD,CACH,EAAA;AAAA,GACF,EAAA,CAAA;AAEJ;;;;"}
@@ -1,7 +1,6 @@
1
1
  "use client"
2
2
  /* */
3
- import { jsx } from 'react/jsx-runtime';
4
- import 'react';
3
+ import { createElement } from 'react';
5
4
  import * as Aria from 'react-aria-components';
6
5
  import clsx from 'clsx';
7
6
  import styles from './Option.module.scss.mjs';
@@ -10,7 +9,17 @@ import { flowComponent } from '../../lib/componentFactory/flowComponent.mjs';
10
9
  const Option = flowComponent("Option", (props) => {
11
10
  const { className, children, value, ref, ...rest } = props;
12
11
  const rootClassName = clsx(styles.option, className);
13
- return /* @__PURE__ */ jsx(Aria.ListBoxItem, { className: rootClassName, ref, ...rest, id: value, children });
12
+ return /* @__PURE__ */ createElement(
13
+ Aria.ListBoxItem,
14
+ {
15
+ className: rootClassName,
16
+ ref,
17
+ ...rest,
18
+ id: value,
19
+ key: value
20
+ },
21
+ children
22
+ );
14
23
  });
15
24
 
16
25
  export { Option, Option as default };
@@ -1 +1 @@
1
- {"version":3,"file":"Option.mjs","sources":["../../../../../../src/components/Option/Option.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport * as Aria from \"react-aria-components\";\nimport clsx from \"clsx\";\nimport styles from \"./Option.module.scss\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\n\nexport interface OptionProps\n extends Omit<Aria.ListBoxItemProps, \"children\" | \"value\" | \"id\">,\n PropsWithChildren,\n FlowComponentProps {\n value?: string | number;\n}\n\n/** @flr-generate all */\nexport const Option = flowComponent(\"Option\", (props) => {\n const { className, children, value, ref, ...rest } = props;\n\n const rootClassName = clsx(styles.option, className);\n\n return (\n <Aria.ListBoxItem className={rootClassName} ref={ref} {...rest} id={value}>\n {children}\n </Aria.ListBoxItem>\n );\n});\n\nexport default Option;\n"],"names":[],"mappings":";;;;;;;AAgBO,MAAM,MAAS,GAAA,aAAA,CAAc,QAAU,EAAA,CAAC,KAAU,KAAA;AACvD,EAAA,MAAM,EAAE,SAAW,EAAA,QAAA,EAAU,OAAO,GAAK,EAAA,GAAG,MAAS,GAAA,KAAA;AAErD,EAAA,MAAM,aAAgB,GAAA,IAAA,CAAK,MAAO,CAAA,MAAA,EAAQ,SAAS,CAAA;AAEnD,EACE,uBAAA,GAAA,CAAC,IAAK,CAAA,WAAA,EAAL,EAAiB,SAAA,EAAW,aAAe,EAAA,GAAA,EAAW,GAAG,IAAA,EAAM,EAAI,EAAA,KAAA,EACjE,QACH,EAAA,CAAA;AAEJ,CAAC;;;;"}
1
+ {"version":3,"file":"Option.mjs","sources":["../../../../../../src/components/Option/Option.tsx"],"sourcesContent":["import { type PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport * as Aria from \"react-aria-components\";\nimport clsx from \"clsx\";\nimport styles from \"./Option.module.scss\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\n\nexport interface OptionProps\n extends Omit<Aria.ListBoxItemProps, \"children\" | \"value\" | \"id\">,\n PropsWithChildren,\n FlowComponentProps {\n value?: string | number;\n}\n\n/** @flr-generate all */\nexport const Option = flowComponent(\"Option\", (props) => {\n const { className, children, value, ref, ...rest } = props;\n\n const rootClassName = clsx(styles.option, className);\n\n return (\n <Aria.ListBoxItem\n className={rootClassName}\n ref={ref}\n {...rest}\n id={value}\n key={value}\n >\n {children}\n </Aria.ListBoxItem>\n );\n});\n\nexport default Option;\n"],"names":[],"mappings":";;;;;;AAgBO,MAAM,MAAS,GAAA,aAAA,CAAc,QAAU,EAAA,CAAC,KAAU,KAAA;AACvD,EAAA,MAAM,EAAE,SAAW,EAAA,QAAA,EAAU,OAAO,GAAK,EAAA,GAAG,MAAS,GAAA,KAAA;AAErD,EAAA,MAAM,aAAgB,GAAA,IAAA,CAAK,MAAO,CAAA,MAAA,EAAQ,SAAS,CAAA;AAEnD,EACE,uBAAA,aAAA;AAAA,IAAC,IAAK,CAAA,WAAA;AAAA,IAAL;AAAA,MACC,SAAW,EAAA,aAAA;AAAA,MACX,GAAA;AAAA,MACC,GAAG,IAAA;AAAA,MACJ,EAAI,EAAA,KAAA;AAAA,MACJ,GAAK,EAAA;AAAA,KAAA;AAAA,IAEJ;AAAA,GACH;AAEJ,CAAC;;;;"}
@@ -54,16 +54,16 @@ function Field(props) {
54
54
  ...fieldProps,
55
55
  isSelected: value
56
56
  },
57
- Select: {
58
- ...fieldProps,
59
- selectedKey: value
60
- },
61
57
  Slider: fieldProps,
62
58
  PasswordCreationField: fieldProps,
63
59
  DatePicker: fieldProps,
64
60
  DateRangePicker: fieldProps,
65
61
  TimeField: fieldProps,
66
62
  SegmentedControl: fieldProps,
63
+ Select: {
64
+ ...fieldProps,
65
+ selectedKey: value
66
+ },
67
67
  ComboBox: {
68
68
  ...fieldPropsWithoutValue,
69
69
  selectedKey: value
@@ -1 +1 @@
1
- {"version":3,"file":"Field.mjs","sources":["../../../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"sourcesContent":["import { useFormContext } from \"@/integrations/react-hook-form/components/context/formContext\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { dynamic, PropsContextProvider } from \"@/lib/propsContext\";\nimport type { PropsWithChildren } from \"react\";\nimport {\n useController,\n type ControllerProps,\n type FieldValues,\n type UseFormReturn,\n} from \"react-hook-form\";\nimport FieldErrorView from \"@/views/FieldErrorView\";\n\nexport interface FieldProps<T extends FieldValues>\n extends Omit<ControllerProps<T>, \"render\" | \"control\">,\n PropsWithChildren {}\n\nexport function Field<T extends FieldValues>(props: FieldProps<T>) {\n const { children, name, defaultValue, ...rest } = props;\n\n const controller = useController(props);\n const formContext = useFormContext<T>();\n const value = controller.field.value;\n\n const fieldProps = {\n ...controller.field,\n name,\n form: formContext.id,\n isRequired: !!rest.rules?.required,\n validationBehavior: \"aria\" as const,\n defaultValue,\n isInvalid: controller.fieldState.invalid,\n children: dynamic((p) => {\n if (controller.fieldState.invalid) {\n return (\n <>\n {p.children}\n <FieldErrorView>\n {controller.fieldState.error?.message}\n </FieldErrorView>\n </>\n );\n }\n\n return p.children;\n }),\n };\n\n const { value: ignoredValue, ...fieldPropsWithoutValue } = fieldProps;\n\n const propsContext: PropsContext = {\n SearchField: fieldProps,\n TextField: fieldProps,\n TextArea: fieldProps,\n\n Checkbox: {\n ...fieldProps,\n isSelected: value,\n },\n CheckboxGroup: fieldProps,\n CheckboxButton: {\n ...fieldProps,\n isSelected: value,\n },\n FileField: fieldProps,\n NumberField: fieldProps,\n RadioGroup: fieldProps,\n Switch: {\n ...fieldProps,\n isSelected: value,\n },\n Select: {\n ...fieldProps,\n selectedKey: value,\n },\n Slider: fieldProps,\n PasswordCreationField: fieldProps,\n DatePicker: fieldProps,\n DateRangePicker: fieldProps,\n TimeField: fieldProps,\n SegmentedControl: fieldProps,\n ComboBox: {\n ...fieldPropsWithoutValue,\n selectedKey: value,\n },\n };\n\n return (\n <PropsContextProvider\n props={propsContext}\n dependencies={[controller.fieldState, controller.field, value]}\n >\n {children}\n </PropsContextProvider>\n );\n}\n\nexport const typedField = <T extends FieldValues>(\n ignoredForm: UseFormReturn<T> | UseFormReturn<T>[\"control\"],\n): typeof Field<T> => Field;\n\nexport default Field;\n"],"names":[],"mappings":";;;;;;;;;;AAgBO,SAAS,MAA6B,KAAsB,EAAA;AACjE,EAAA,MAAM,EAAE,QAAU,EAAA,IAAA,EAAM,YAAc,EAAA,GAAG,MAAS,GAAA,KAAA;AAElD,EAAM,MAAA,UAAA,GAAa,cAAc,KAAK,CAAA;AACtC,EAAA,MAAM,cAAc,cAAkB,EAAA;AACtC,EAAM,MAAA,KAAA,GAAQ,WAAW,KAAM,CAAA,KAAA;AAE/B,EAAA,MAAM,UAAa,GAAA;AAAA,IACjB,GAAG,UAAW,CAAA,KAAA;AAAA,IACd,IAAA;AAAA,IACA,MAAM,WAAY,CAAA,EAAA;AAAA,IAClB,UAAY,EAAA,CAAC,CAAC,IAAA,CAAK,KAAO,EAAA,QAAA;AAAA,IAC1B,kBAAoB,EAAA,MAAA;AAAA,IACpB,YAAA;AAAA,IACA,SAAA,EAAW,WAAW,UAAW,CAAA,OAAA;AAAA,IACjC,QAAA,EAAU,OAAQ,CAAA,CAAC,CAAM,KAAA;AACvB,MAAI,IAAA,UAAA,CAAW,WAAW,OAAS,EAAA;AACjC,QAAA,uBAEK,IAAA,CAAA,QAAA,EAAA,EAAA,QAAA,EAAA;AAAA,UAAE,CAAA,CAAA,QAAA;AAAA,0BACF,GAAA,CAAA,cAAA,EAAA,EACE,QAAW,EAAA,UAAA,CAAA,UAAA,CAAW,OAAO,OAChC,EAAA;AAAA,SACF,EAAA,CAAA;AAAA;AAIJ,MAAA,OAAO,CAAE,CAAA,QAAA;AAAA,KACV;AAAA,GACH;AAEA,EAAA,MAAM,EAAE,KAAA,EAAO,YAAc,EAAA,GAAG,wBAA2B,GAAA,UAAA;AAE3D,EAAA,MAAM,YAA6B,GAAA;AAAA,IACjC,WAAa,EAAA,UAAA;AAAA,IACb,SAAW,EAAA,UAAA;AAAA,IACX,QAAU,EAAA,UAAA;AAAA,IAEV,QAAU,EAAA;AAAA,MACR,GAAG,UAAA;AAAA,MACH,UAAY,EAAA;AAAA,KACd;AAAA,IACA,aAAe,EAAA,UAAA;AAAA,IACf,cAAgB,EAAA;AAAA,MACd,GAAG,UAAA;AAAA,MACH,UAAY,EAAA;AAAA,KACd;AAAA,IACA,SAAW,EAAA,UAAA;AAAA,IACX,WAAa,EAAA,UAAA;AAAA,IACb,UAAY,EAAA,UAAA;AAAA,IACZ,MAAQ,EAAA;AAAA,MACN,GAAG,UAAA;AAAA,MACH,UAAY,EAAA;AAAA,KACd;AAAA,IACA,MAAQ,EAAA;AAAA,MACN,GAAG,UAAA;AAAA,MACH,WAAa,EAAA;AAAA,KACf;AAAA,IACA,MAAQ,EAAA,UAAA;AAAA,IACR,qBAAuB,EAAA,UAAA;AAAA,IACvB,UAAY,EAAA,UAAA;AAAA,IACZ,eAAiB,EAAA,UAAA;AAAA,IACjB,SAAW,EAAA,UAAA;AAAA,IACX,gBAAkB,EAAA,UAAA;AAAA,IAClB,QAAU,EAAA;AAAA,MACR,GAAG,sBAAA;AAAA,MACH,WAAa,EAAA;AAAA;AACf,GACF;AAEA,EACE,uBAAA,GAAA;AAAA,IAAC,oBAAA;AAAA,IAAA;AAAA,MACC,KAAO,EAAA,YAAA;AAAA,MACP,cAAc,CAAC,UAAA,CAAW,UAAY,EAAA,UAAA,CAAW,OAAO,KAAK,CAAA;AAAA,MAE5D;AAAA;AAAA,GACH;AAEJ;AAEa,MAAA,UAAA,GAAa,CACxB,WACoB,KAAA;;;;"}
1
+ {"version":3,"file":"Field.mjs","sources":["../../../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"sourcesContent":["import { useFormContext } from \"@/integrations/react-hook-form/components/context/formContext\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { dynamic, PropsContextProvider } from \"@/lib/propsContext\";\nimport type { PropsWithChildren } from \"react\";\nimport {\n useController,\n type ControllerProps,\n type FieldValues,\n type UseFormReturn,\n} from \"react-hook-form\";\nimport FieldErrorView from \"@/views/FieldErrorView\";\n\nexport interface FieldProps<T extends FieldValues>\n extends Omit<ControllerProps<T>, \"render\">,\n PropsWithChildren {}\n\nexport function Field<T extends FieldValues>(props: FieldProps<T>) {\n const { children, name, defaultValue, ...rest } = props;\n\n const controller = useController(props);\n const formContext = useFormContext<T>();\n const value = controller.field.value;\n\n const fieldProps = {\n ...controller.field,\n name,\n form: formContext.id,\n isRequired: !!rest.rules?.required,\n validationBehavior: \"aria\" as const,\n defaultValue,\n isInvalid: controller.fieldState.invalid,\n children: dynamic((p) => {\n if (controller.fieldState.invalid) {\n return (\n <>\n {p.children}\n <FieldErrorView>\n {controller.fieldState.error?.message}\n </FieldErrorView>\n </>\n );\n }\n\n return p.children;\n }),\n };\n\n const { value: ignoredValue, ...fieldPropsWithoutValue } = fieldProps;\n\n const propsContext: PropsContext = {\n SearchField: fieldProps,\n TextField: fieldProps,\n TextArea: fieldProps,\n\n Checkbox: {\n ...fieldProps,\n isSelected: value,\n },\n CheckboxGroup: fieldProps,\n CheckboxButton: {\n ...fieldProps,\n isSelected: value,\n },\n FileField: fieldProps,\n NumberField: fieldProps,\n RadioGroup: fieldProps,\n Switch: {\n ...fieldProps,\n isSelected: value,\n },\n Slider: fieldProps,\n PasswordCreationField: fieldProps,\n DatePicker: fieldProps,\n DateRangePicker: fieldProps,\n TimeField: fieldProps,\n SegmentedControl: fieldProps,\n Select: {\n ...fieldProps,\n selectedKey: value,\n },\n ComboBox: {\n ...fieldPropsWithoutValue,\n selectedKey: value,\n },\n };\n\n return (\n <PropsContextProvider\n props={propsContext}\n dependencies={[controller.fieldState, controller.field, value]}\n >\n {children}\n </PropsContextProvider>\n );\n}\n\nexport const typedField = <T extends FieldValues>(\n ignoredForm: UseFormReturn<T> | UseFormReturn<T>[\"control\"],\n): typeof Field<T> => Field;\n\nexport default Field;\n"],"names":[],"mappings":";;;;;;;;;;AAgBO,SAAS,MAA6B,KAAsB,EAAA;AACjE,EAAA,MAAM,EAAE,QAAU,EAAA,IAAA,EAAM,YAAc,EAAA,GAAG,MAAS,GAAA,KAAA;AAElD,EAAM,MAAA,UAAA,GAAa,cAAc,KAAK,CAAA;AACtC,EAAA,MAAM,cAAc,cAAkB,EAAA;AACtC,EAAM,MAAA,KAAA,GAAQ,WAAW,KAAM,CAAA,KAAA;AAE/B,EAAA,MAAM,UAAa,GAAA;AAAA,IACjB,GAAG,UAAW,CAAA,KAAA;AAAA,IACd,IAAA;AAAA,IACA,MAAM,WAAY,CAAA,EAAA;AAAA,IAClB,UAAY,EAAA,CAAC,CAAC,IAAA,CAAK,KAAO,EAAA,QAAA;AAAA,IAC1B,kBAAoB,EAAA,MAAA;AAAA,IACpB,YAAA;AAAA,IACA,SAAA,EAAW,WAAW,UAAW,CAAA,OAAA;AAAA,IACjC,QAAA,EAAU,OAAQ,CAAA,CAAC,CAAM,KAAA;AACvB,MAAI,IAAA,UAAA,CAAW,WAAW,OAAS,EAAA;AACjC,QAAA,uBAEK,IAAA,CAAA,QAAA,EAAA,EAAA,QAAA,EAAA;AAAA,UAAE,CAAA,CAAA,QAAA;AAAA,0BACF,GAAA,CAAA,cAAA,EAAA,EACE,QAAW,EAAA,UAAA,CAAA,UAAA,CAAW,OAAO,OAChC,EAAA;AAAA,SACF,EAAA,CAAA;AAAA;AAIJ,MAAA,OAAO,CAAE,CAAA,QAAA;AAAA,KACV;AAAA,GACH;AAEA,EAAA,MAAM,EAAE,KAAA,EAAO,YAAc,EAAA,GAAG,wBAA2B,GAAA,UAAA;AAE3D,EAAA,MAAM,YAA6B,GAAA;AAAA,IACjC,WAAa,EAAA,UAAA;AAAA,IACb,SAAW,EAAA,UAAA;AAAA,IACX,QAAU,EAAA,UAAA;AAAA,IAEV,QAAU,EAAA;AAAA,MACR,GAAG,UAAA;AAAA,MACH,UAAY,EAAA;AAAA,KACd;AAAA,IACA,aAAe,EAAA,UAAA;AAAA,IACf,cAAgB,EAAA;AAAA,MACd,GAAG,UAAA;AAAA,MACH,UAAY,EAAA;AAAA,KACd;AAAA,IACA,SAAW,EAAA,UAAA;AAAA,IACX,WAAa,EAAA,UAAA;AAAA,IACb,UAAY,EAAA,UAAA;AAAA,IACZ,MAAQ,EAAA;AAAA,MACN,GAAG,UAAA;AAAA,MACH,UAAY,EAAA;AAAA,KACd;AAAA,IACA,MAAQ,EAAA,UAAA;AAAA,IACR,qBAAuB,EAAA,UAAA;AAAA,IACvB,UAAY,EAAA,UAAA;AAAA,IACZ,eAAiB,EAAA,UAAA;AAAA,IACjB,SAAW,EAAA,UAAA;AAAA,IACX,gBAAkB,EAAA,UAAA;AAAA,IAClB,MAAQ,EAAA;AAAA,MACN,GAAG,UAAA;AAAA,MACH,WAAa,EAAA;AAAA,KACf;AAAA,IACA,QAAU,EAAA;AAAA,MACR,GAAG,sBAAA;AAAA,MACH,WAAa,EAAA;AAAA;AACf,GACF;AAEA,EACE,uBAAA,GAAA;AAAA,IAAC,oBAAA;AAAA,IAAA;AAAA,MACC,KAAO,EAAA,YAAA;AAAA,MACP,cAAc,CAAC,UAAA,CAAW,UAAY,EAAA,UAAA,CAAW,OAAO,KAAK,CAAA;AAAA,MAE5D;AAAA;AAAA,GACH;AAEJ;AAEa,MAAA,UAAA,GAAa,CACxB,WACoB,KAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableLoadingView.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/List/components/Table/components/TableLoadingView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AASxF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,4BAA4B,CAmB7D,CAAC"}
1
+ {"version":3,"file":"TableLoadingView.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/List/components/Table/components/TableLoadingView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AASxF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,4BAA4B,CAmB7D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/components/Option/Option.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG/E,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,OAAO,GAAG,IAAI,CAAC,EAC9D,iBAAiB,EACjB,kBAAkB;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED,wBAAwB;AACxB,eAAO,MAAM,MAAM,4EAUjB,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/components/Option/Option.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG/E,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,OAAO,GAAG,IAAI,CAAC,EAC9D,iBAAiB,EACjB,kBAAkB;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED,wBAAwB;AACxB,eAAO,MAAM,MAAM,4EAgBjB,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { ControllerProps, FieldValues, UseFormReturn } from 'react-hook-form';
3
- export interface FieldProps<T extends FieldValues> extends Omit<ControllerProps<T>, "render" | "control">, PropsWithChildren {
3
+ export interface FieldProps<T extends FieldValues> extends Omit<ControllerProps<T>, "render">, PropsWithChildren {
4
4
  }
5
5
  export declare function Field<T extends FieldValues>(props: FieldProps<T>): import("react/jsx-runtime").JSX.Element;
6
6
  export declare const typedField: <T extends FieldValues>(ignoredForm: UseFormReturn<T> | UseFormReturn<T>["control"]) => typeof Field<T>;
@@ -1 +1 @@
1
- {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AAGzB,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,WAAW,CAC/C,SAAQ,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC,EACpD,iBAAiB;CAAG;AAExB,wBAAgB,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,2CA8EhE;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,WAAW,EAC9C,aAAa,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAC1D,OAAO,KAAK,CAAC,CAAC,CAAU,CAAC;AAE5B,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,aAAa,EACnB,MAAM,iBAAiB,CAAC;AAGzB,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,WAAW,CAC/C,SAAQ,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EACxC,iBAAiB;CAAG;AAExB,wBAAgB,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,2CA8EhE;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,WAAW,EAC9C,aAAa,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAC1D,OAAO,KAAK,CAAC,CAAC,CAAU,CAAC;AAE5B,eAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.234",
3
+ "version": "0.2.0-alpha.236",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -58,7 +58,7 @@
58
58
  "@chakra-ui/live-region": "^2.1.0",
59
59
  "@internationalized/string-compiler": "^3.2.6",
60
60
  "@mittwald/password-tools-js": "^2.1.4",
61
- "@mittwald/react-tunnel": "0.2.0-alpha.234",
61
+ "@mittwald/react-tunnel": "0.2.0-alpha.236",
62
62
  "@mittwald/react-use-promise": "^3.0.4",
63
63
  "@react-aria/form": "^3.0.16",
64
64
  "@react-aria/utils": "^3.29.0",
@@ -98,7 +98,7 @@
98
98
  "devDependencies": {
99
99
  "@faker-js/faker": "^9.8.0",
100
100
  "@internationalized/date": "^3.8.1",
101
- "@mittwald/flow-design-tokens": "0.2.0-alpha.234",
101
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.236",
102
102
  "@mittwald/react-use-promise": "^3.0.4",
103
103
  "@mittwald/remote-dom-react": "1.2.2-mittwald.3",
104
104
  "@mittwald/typescript-config": "",
@@ -180,5 +180,5 @@
180
180
  "optional": true
181
181
  }
182
182
  },
183
- "gitHead": "4738f3f1fc4db72e3348235cf4baa049e91a896d"
183
+ "gitHead": "7fc6b0c380764c8bf7a174d812b8a0292c9f44f7"
184
184
  }