@mittwald/flow-react-components 0.2.0-alpha.133 → 0.2.0-alpha.134

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/assets/doc-properties.json +272 -272
  3. package/dist/js/components/src/integrations/react-hook-form/components/Field/Field.mjs +4 -1
  4. package/dist/js/components/src/integrations/react-hook-form/components/Field/Field.mjs.map +1 -1
  5. package/dist/types/integrations/react-hook-form/components/Field/Field.d.ts.map +1 -1
  6. package/dist/types/integrations/react-hook-form/components/Field/stories/Checkbox.stories.d.ts +7 -0
  7. package/dist/types/integrations/react-hook-form/components/Field/stories/Checkbox.stories.d.ts.map +1 -0
  8. package/dist/types/integrations/react-hook-form/components/Field/stories/CheckboxGroup.stories.d.ts +7 -0
  9. package/dist/types/integrations/react-hook-form/components/Field/stories/CheckboxGroup.stories.d.ts.map +1 -0
  10. package/dist/types/integrations/react-hook-form/components/Field/stories/ComboBox.stories.d.ts +7 -0
  11. package/dist/types/integrations/react-hook-form/components/Field/stories/ComboBox.stories.d.ts.map +1 -0
  12. package/dist/types/integrations/react-hook-form/components/Field/stories/DatePicker.stories.d.ts +7 -0
  13. package/dist/types/integrations/react-hook-form/components/Field/stories/DatePicker.stories.d.ts.map +1 -0
  14. package/dist/types/integrations/react-hook-form/components/Field/stories/DateRangePicker.stories.d.ts +7 -0
  15. package/dist/types/integrations/react-hook-form/components/Field/stories/DateRangePicker.stories.d.ts.map +1 -0
  16. package/dist/types/integrations/react-hook-form/components/Field/stories/NumberField.stories.d.ts +7 -0
  17. package/dist/types/integrations/react-hook-form/components/Field/stories/NumberField.stories.d.ts.map +1 -0
  18. package/dist/types/integrations/react-hook-form/components/Field/stories/RadioGroup.stories.d.ts +7 -0
  19. package/dist/types/integrations/react-hook-form/components/Field/stories/RadioGroup.stories.d.ts.map +1 -0
  20. package/dist/types/integrations/react-hook-form/components/Field/stories/{Default.stories.d.ts → Select.stories.d.ts} +1 -1
  21. package/dist/types/integrations/react-hook-form/components/Field/stories/Select.stories.d.ts.map +1 -0
  22. package/dist/types/integrations/react-hook-form/components/Field/stories/Slider.stories.d.ts +7 -0
  23. package/dist/types/integrations/react-hook-form/components/Field/stories/Slider.stories.d.ts.map +1 -0
  24. package/dist/types/integrations/react-hook-form/components/Field/stories/TextArea.stories.d.ts +7 -0
  25. package/dist/types/integrations/react-hook-form/components/Field/stories/TextArea.stories.d.ts.map +1 -0
  26. package/dist/types/integrations/react-hook-form/components/Field/stories/TextField.stories.d.ts +7 -0
  27. package/dist/types/integrations/react-hook-form/components/Field/stories/TextField.stories.d.ts.map +1 -0
  28. package/dist/types/integrations/react-hook-form/components/Field/stories/TimeField.stories.d.ts +7 -0
  29. package/dist/types/integrations/react-hook-form/components/Field/stories/TimeField.stories.d.ts.map +1 -0
  30. package/package.json +4 -4
  31. package/dist/types/integrations/react-hook-form/components/Field/stories/Default.stories.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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.134](https://github.com/mittwald/flow/compare/0.2.0-alpha.133...0.2.0-alpha.134) (2025-04-09)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **ComboBox:** fix default value + add react hook form stories ([#1352](https://github.com/mittwald/flow/issues/1352)) ([63be0ef](https://github.com/mittwald/flow/commit/63be0ef0973cbd50c0820a995d4a0e27344bbb2f))
11
+
6
12
  # [0.2.0-alpha.133](https://github.com/mittwald/flow/compare/0.2.0-alpha.132...0.2.0-alpha.133) (2025-04-08)
7
13
 
8
14
  ### Features
@@ -66710,6 +66710,168 @@
66710
66710
  }
66711
66711
  }
66712
66712
  },
66713
+ {
66714
+ "tags": {
66715
+ "flr-generate": "all",
66716
+ "flr-clear-props-context": ""
66717
+ },
66718
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/LightBox/LightBox.tsx",
66719
+ "description": "",
66720
+ "displayName": "LightBox",
66721
+ "methods": [],
66722
+ "props": {
66723
+ "controller": {
66724
+ "defaultValue": null,
66725
+ "description": "An overlay controller to control the light box state.",
66726
+ "name": "controller",
66727
+ "parent": {
66728
+ "fileName": "components/src/components/LightBox/LightBox.tsx",
66729
+ "name": "LightBoxProps"
66730
+ },
66731
+ "declarations": [
66732
+ {
66733
+ "fileName": "components/src/components/LightBox/LightBox.tsx",
66734
+ "name": "LightBoxProps"
66735
+ }
66736
+ ],
66737
+ "required": false,
66738
+ "type": {
66739
+ "name": "OverlayController"
66740
+ }
66741
+ },
66742
+ "fitScreen": {
66743
+ "defaultValue": {
66744
+ "value": "true"
66745
+ },
66746
+ "description": "Whether content can be displayed larger than the available space in the\nscreen.",
66747
+ "name": "fitScreen",
66748
+ "parent": {
66749
+ "fileName": "components/src/components/LightBox/LightBox.tsx",
66750
+ "name": "LightBoxProps"
66751
+ },
66752
+ "declarations": [
66753
+ {
66754
+ "fileName": "components/src/components/LightBox/LightBox.tsx",
66755
+ "name": "LightBoxProps"
66756
+ }
66757
+ ],
66758
+ "required": false,
66759
+ "type": {
66760
+ "name": "boolean"
66761
+ }
66762
+ },
66763
+ "children": {
66764
+ "defaultValue": null,
66765
+ "description": "",
66766
+ "name": "children",
66767
+ "declarations": [
66768
+ {
66769
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
66770
+ "name": "TypeLiteral"
66771
+ }
66772
+ ],
66773
+ "required": false,
66774
+ "type": {
66775
+ "name": "ReactNode"
66776
+ }
66777
+ },
66778
+ "wrapWith": {
66779
+ "defaultValue": null,
66780
+ "description": "",
66781
+ "name": "wrapWith",
66782
+ "parent": {
66783
+ "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
66784
+ "name": "FlowComponentProps"
66785
+ },
66786
+ "declarations": [
66787
+ {
66788
+ "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
66789
+ "name": "FlowComponentProps"
66790
+ }
66791
+ ],
66792
+ "required": false,
66793
+ "type": {
66794
+ "name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
66795
+ }
66796
+ },
66797
+ "tunnelId": {
66798
+ "defaultValue": null,
66799
+ "description": "@internal",
66800
+ "name": "tunnelId",
66801
+ "parent": {
66802
+ "fileName": "components/src/lib/types/props.ts",
66803
+ "name": "PropsWithTunnel"
66804
+ },
66805
+ "declarations": [
66806
+ {
66807
+ "fileName": "components/src/lib/types/props.ts",
66808
+ "name": "PropsWithTunnel"
66809
+ }
66810
+ ],
66811
+ "required": false,
66812
+ "type": {
66813
+ "name": "string | null"
66814
+ }
66815
+ },
66816
+ "className": {
66817
+ "defaultValue": null,
66818
+ "description": "The elements class name.",
66819
+ "name": "className",
66820
+ "parent": {
66821
+ "fileName": "components/src/lib/types/props.ts",
66822
+ "name": "PropsWithClassName"
66823
+ },
66824
+ "declarations": [
66825
+ {
66826
+ "fileName": "components/src/lib/types/props.ts",
66827
+ "name": "PropsWithClassName"
66828
+ }
66829
+ ],
66830
+ "required": false,
66831
+ "type": {
66832
+ "name": "string"
66833
+ }
66834
+ },
66835
+ "ref": {
66836
+ "defaultValue": null,
66837
+ "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}",
66838
+ "name": "ref",
66839
+ "parent": {
66840
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
66841
+ "name": "RefAttributes"
66842
+ },
66843
+ "declarations": [
66844
+ {
66845
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
66846
+ "name": "RefAttributes"
66847
+ }
66848
+ ],
66849
+ "required": false,
66850
+ "type": {
66851
+ "name": "Ref<HTMLDivElement>"
66852
+ }
66853
+ },
66854
+ "key": {
66855
+ "defaultValue": null,
66856
+ "description": "",
66857
+ "name": "key",
66858
+ "parent": {
66859
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
66860
+ "name": "Attributes"
66861
+ },
66862
+ "declarations": [
66863
+ {
66864
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
66865
+ "name": "Attributes"
66866
+ }
66867
+ ],
66868
+ "required": false,
66869
+ "type": {
66870
+ "name": "Key | null"
66871
+ }
66872
+ }
66873
+ }
66874
+ },
66713
66875
  {
66714
66876
  "tags": {
66715
66877
  "flr-generate": "all",
@@ -67480,168 +67642,6 @@
67480
67642
  }
67481
67643
  }
67482
67644
  },
67483
- {
67484
- "tags": {
67485
- "flr-generate": "all",
67486
- "flr-clear-props-context": ""
67487
- },
67488
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/LightBox/LightBox.tsx",
67489
- "description": "",
67490
- "displayName": "LightBox",
67491
- "methods": [],
67492
- "props": {
67493
- "controller": {
67494
- "defaultValue": null,
67495
- "description": "An overlay controller to control the light box state.",
67496
- "name": "controller",
67497
- "parent": {
67498
- "fileName": "components/src/components/LightBox/LightBox.tsx",
67499
- "name": "LightBoxProps"
67500
- },
67501
- "declarations": [
67502
- {
67503
- "fileName": "components/src/components/LightBox/LightBox.tsx",
67504
- "name": "LightBoxProps"
67505
- }
67506
- ],
67507
- "required": false,
67508
- "type": {
67509
- "name": "OverlayController"
67510
- }
67511
- },
67512
- "fitScreen": {
67513
- "defaultValue": {
67514
- "value": "true"
67515
- },
67516
- "description": "Whether content can be displayed larger than the available space in the\nscreen.",
67517
- "name": "fitScreen",
67518
- "parent": {
67519
- "fileName": "components/src/components/LightBox/LightBox.tsx",
67520
- "name": "LightBoxProps"
67521
- },
67522
- "declarations": [
67523
- {
67524
- "fileName": "components/src/components/LightBox/LightBox.tsx",
67525
- "name": "LightBoxProps"
67526
- }
67527
- ],
67528
- "required": false,
67529
- "type": {
67530
- "name": "boolean"
67531
- }
67532
- },
67533
- "children": {
67534
- "defaultValue": null,
67535
- "description": "",
67536
- "name": "children",
67537
- "declarations": [
67538
- {
67539
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
67540
- "name": "TypeLiteral"
67541
- }
67542
- ],
67543
- "required": false,
67544
- "type": {
67545
- "name": "ReactNode"
67546
- }
67547
- },
67548
- "wrapWith": {
67549
- "defaultValue": null,
67550
- "description": "",
67551
- "name": "wrapWith",
67552
- "parent": {
67553
- "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
67554
- "name": "FlowComponentProps"
67555
- },
67556
- "declarations": [
67557
- {
67558
- "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
67559
- "name": "FlowComponentProps"
67560
- }
67561
- ],
67562
- "required": false,
67563
- "type": {
67564
- "name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
67565
- }
67566
- },
67567
- "tunnelId": {
67568
- "defaultValue": null,
67569
- "description": "@internal",
67570
- "name": "tunnelId",
67571
- "parent": {
67572
- "fileName": "components/src/lib/types/props.ts",
67573
- "name": "PropsWithTunnel"
67574
- },
67575
- "declarations": [
67576
- {
67577
- "fileName": "components/src/lib/types/props.ts",
67578
- "name": "PropsWithTunnel"
67579
- }
67580
- ],
67581
- "required": false,
67582
- "type": {
67583
- "name": "string | null"
67584
- }
67585
- },
67586
- "className": {
67587
- "defaultValue": null,
67588
- "description": "The elements class name.",
67589
- "name": "className",
67590
- "parent": {
67591
- "fileName": "components/src/lib/types/props.ts",
67592
- "name": "PropsWithClassName"
67593
- },
67594
- "declarations": [
67595
- {
67596
- "fileName": "components/src/lib/types/props.ts",
67597
- "name": "PropsWithClassName"
67598
- }
67599
- ],
67600
- "required": false,
67601
- "type": {
67602
- "name": "string"
67603
- }
67604
- },
67605
- "ref": {
67606
- "defaultValue": null,
67607
- "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}",
67608
- "name": "ref",
67609
- "parent": {
67610
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
67611
- "name": "RefAttributes"
67612
- },
67613
- "declarations": [
67614
- {
67615
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
67616
- "name": "RefAttributes"
67617
- }
67618
- ],
67619
- "required": false,
67620
- "type": {
67621
- "name": "Ref<HTMLDivElement>"
67622
- }
67623
- },
67624
- "key": {
67625
- "defaultValue": null,
67626
- "description": "",
67627
- "name": "key",
67628
- "parent": {
67629
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
67630
- "name": "Attributes"
67631
- },
67632
- "declarations": [
67633
- {
67634
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
67635
- "name": "Attributes"
67636
- }
67637
- ],
67638
- "required": false,
67639
- "type": {
67640
- "name": "Key | null"
67641
- }
67642
- }
67643
- }
67644
- },
67645
67645
  {
67646
67646
  "tags": {
67647
67647
  "flr-generate": "all"
@@ -203795,6 +203795,14 @@
203795
203795
  }
203796
203796
  }
203797
203797
  },
203798
+ {
203799
+ "tags": {},
203800
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/integrations/react-hook-form/components/AutoFormResetEffect/AutoFormResetEffect.tsx",
203801
+ "description": "This effect has its own component to prevent unnecessary re-renders of the\nentire form when the form state changes (useFormState).",
203802
+ "displayName": "AutoFormResetEffect",
203803
+ "methods": [],
203804
+ "props": {}
203805
+ },
203798
203806
  {
203799
203807
  "tags": {},
203800
203808
  "filePath": "src/integrations/react-hook-form/components/Field/Field.tsx",
@@ -204143,14 +204151,6 @@
204143
204151
  }
204144
204152
  }
204145
204153
  },
204146
- {
204147
- "tags": {},
204148
- "filePath": "/home/runner/work/flow/flow/packages/components/src/integrations/react-hook-form/components/AutoFormResetEffect/AutoFormResetEffect.tsx",
204149
- "description": "This effect has its own component to prevent unnecessary re-renders of the\nentire form when the form state changes (useFormState).",
204150
- "displayName": "AutoFormResetEffect",
204151
- "methods": [],
204152
- "props": {}
204153
- },
204154
204154
  {
204155
204155
  "tags": {},
204156
204156
  "filePath": "/home/runner/work/flow/flow/packages/components/src/integrations/react-hook-form/components/ActionGroupWrapper/SubmitButtonStateProvider.tsx",
@@ -220623,6 +220623,108 @@
220623
220623
  "methods": [],
220624
220624
  "props": {}
220625
220625
  },
220626
+ {
220627
+ "tags": {
220628
+ "flr-generate": "all"
220629
+ },
220630
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.tsx",
220631
+ "description": "",
220632
+ "displayName": "LightBoxTrigger",
220633
+ "methods": [],
220634
+ "props": {
220635
+ "isDefaultOpen": {
220636
+ "defaultValue": null,
220637
+ "description": "Whether the overlay should be open initially.",
220638
+ "name": "isDefaultOpen",
220639
+ "parent": {
220640
+ "fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
220641
+ "name": "OverlayTriggerProps"
220642
+ },
220643
+ "declarations": [
220644
+ {
220645
+ "fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
220646
+ "name": "OverlayTriggerProps"
220647
+ }
220648
+ ],
220649
+ "required": false,
220650
+ "type": {
220651
+ "name": "boolean"
220652
+ }
220653
+ },
220654
+ "controller": {
220655
+ "defaultValue": null,
220656
+ "description": "A controller to control the state of the overlay.",
220657
+ "name": "controller",
220658
+ "parent": {
220659
+ "fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
220660
+ "name": "OverlayTriggerProps"
220661
+ },
220662
+ "declarations": [
220663
+ {
220664
+ "fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
220665
+ "name": "OverlayTriggerProps"
220666
+ }
220667
+ ],
220668
+ "required": false,
220669
+ "type": {
220670
+ "name": "OverlayController"
220671
+ }
220672
+ },
220673
+ "wrapWith": {
220674
+ "defaultValue": null,
220675
+ "description": "",
220676
+ "name": "wrapWith",
220677
+ "parent": {
220678
+ "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
220679
+ "name": "FlowComponentProps"
220680
+ },
220681
+ "declarations": [
220682
+ {
220683
+ "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
220684
+ "name": "FlowComponentProps"
220685
+ }
220686
+ ],
220687
+ "required": false,
220688
+ "type": {
220689
+ "name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
220690
+ }
220691
+ },
220692
+ "tunnelId": {
220693
+ "defaultValue": null,
220694
+ "description": "@internal",
220695
+ "name": "tunnelId",
220696
+ "parent": {
220697
+ "fileName": "components/src/lib/types/props.ts",
220698
+ "name": "PropsWithTunnel"
220699
+ },
220700
+ "declarations": [
220701
+ {
220702
+ "fileName": "components/src/lib/types/props.ts",
220703
+ "name": "PropsWithTunnel"
220704
+ }
220705
+ ],
220706
+ "required": false,
220707
+ "type": {
220708
+ "name": "string | null"
220709
+ }
220710
+ },
220711
+ "children": {
220712
+ "defaultValue": null,
220713
+ "description": "",
220714
+ "name": "children",
220715
+ "declarations": [
220716
+ {
220717
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
220718
+ "name": "TypeLiteral"
220719
+ }
220720
+ ],
220721
+ "required": false,
220722
+ "type": {
220723
+ "name": "ReactNode"
220724
+ }
220725
+ }
220726
+ }
220727
+ },
220626
220728
  {
220627
220729
  "tags": {},
220628
220730
  "filePath": "/home/runner/work/flow/flow/packages/components/src/components/Link/components/LinkIcon/LinkIcon.tsx",
@@ -221352,108 +221454,6 @@
221352
221454
  }
221353
221455
  }
221354
221456
  },
221355
- {
221356
- "tags": {
221357
- "flr-generate": "all"
221358
- },
221359
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.tsx",
221360
- "description": "",
221361
- "displayName": "LightBoxTrigger",
221362
- "methods": [],
221363
- "props": {
221364
- "isDefaultOpen": {
221365
- "defaultValue": null,
221366
- "description": "Whether the overlay should be open initially.",
221367
- "name": "isDefaultOpen",
221368
- "parent": {
221369
- "fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
221370
- "name": "OverlayTriggerProps"
221371
- },
221372
- "declarations": [
221373
- {
221374
- "fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
221375
- "name": "OverlayTriggerProps"
221376
- }
221377
- ],
221378
- "required": false,
221379
- "type": {
221380
- "name": "boolean"
221381
- }
221382
- },
221383
- "controller": {
221384
- "defaultValue": null,
221385
- "description": "A controller to control the state of the overlay.",
221386
- "name": "controller",
221387
- "parent": {
221388
- "fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
221389
- "name": "OverlayTriggerProps"
221390
- },
221391
- "declarations": [
221392
- {
221393
- "fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
221394
- "name": "OverlayTriggerProps"
221395
- }
221396
- ],
221397
- "required": false,
221398
- "type": {
221399
- "name": "OverlayController"
221400
- }
221401
- },
221402
- "wrapWith": {
221403
- "defaultValue": null,
221404
- "description": "",
221405
- "name": "wrapWith",
221406
- "parent": {
221407
- "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
221408
- "name": "FlowComponentProps"
221409
- },
221410
- "declarations": [
221411
- {
221412
- "fileName": "components/src/lib/componentFactory/flowComponent.tsx",
221413
- "name": "FlowComponentProps"
221414
- }
221415
- ],
221416
- "required": false,
221417
- "type": {
221418
- "name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
221419
- }
221420
- },
221421
- "tunnelId": {
221422
- "defaultValue": null,
221423
- "description": "@internal",
221424
- "name": "tunnelId",
221425
- "parent": {
221426
- "fileName": "components/src/lib/types/props.ts",
221427
- "name": "PropsWithTunnel"
221428
- },
221429
- "declarations": [
221430
- {
221431
- "fileName": "components/src/lib/types/props.ts",
221432
- "name": "PropsWithTunnel"
221433
- }
221434
- ],
221435
- "required": false,
221436
- "type": {
221437
- "name": "string | null"
221438
- }
221439
- },
221440
- "children": {
221441
- "defaultValue": null,
221442
- "description": "",
221443
- "name": "children",
221444
- "declarations": [
221445
- {
221446
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
221447
- "name": "TypeLiteral"
221448
- }
221449
- ],
221450
- "required": false,
221451
- "type": {
221452
- "name": "ReactNode"
221453
- }
221454
- }
221455
- }
221456
- },
221457
221457
  {
221458
221458
  "tags": {},
221459
221459
  "filePath": "/home/runner/work/flow/flow/packages/components/src/components/Legend/components/LegendItem/LegendItem.tsx",
@@ -63,7 +63,10 @@ function Field(props) {
63
63
  DateRangePicker: formControlProps,
64
64
  TimeField: formControlProps,
65
65
  SegmentedControl: formControlProps,
66
- ComboBox: formControlProps,
66
+ ComboBox: {
67
+ ...formControlProps,
68
+ defaultInputValue: formControlProps.value
69
+ },
67
70
  SearchField: formControlProps
68
71
  };
69
72
  return /* @__PURE__ */ jsx(
@@ -1 +1 @@
1
- {"version":3,"file":"Field.mjs","sources":["../../../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport type {\n ControllerProps,\n FieldValues,\n UseFormReturn,\n} from \"react-hook-form\";\nimport { Controller } from \"react-hook-form\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { dynamic, PropsContextProvider } from \"@/lib/propsContext\";\nimport { useFormContext } from \"@/integrations/react-hook-form/components/context/formContext\";\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, control, ...rest } = props;\n\n const formContext = useFormContext<T>();\n const controlFromContext = formContext.form?.control;\n\n return (\n <Controller\n {...rest}\n control={control ?? controlFromContext}\n render={(renderProps) => {\n const {\n field,\n fieldState: { error, invalid },\n } = renderProps;\n\n const formControlProps = {\n ...field,\n form: formContext.id,\n isRequired: !!rest.rules?.required,\n isInvalid: invalid,\n validationBehavior: \"aria\" as const,\n children: dynamic((p) => (\n <>\n {p.children}\n <FieldErrorView>{error?.message}</FieldErrorView>\n </>\n )),\n };\n\n const propsContext: PropsContext = {\n Checkbox: {\n ...formControlProps,\n isSelected: formControlProps.value,\n },\n CheckboxGroup: formControlProps,\n CheckboxButton: {\n ...formControlProps,\n isSelected: formControlProps.value,\n },\n FileField: formControlProps,\n NumberField: formControlProps,\n RadioGroup: formControlProps,\n Switch: {\n ...formControlProps,\n isSelected: formControlProps.value,\n },\n TextArea: formControlProps,\n TextField: formControlProps,\n Select: {\n ...formControlProps,\n selectedKey: formControlProps.value,\n },\n Slider: formControlProps,\n DatePicker: formControlProps,\n DateRangePicker: formControlProps,\n TimeField: formControlProps,\n SegmentedControl: formControlProps,\n ComboBox: formControlProps,\n SearchField: formControlProps,\n };\n\n return (\n <PropsContextProvider\n props={propsContext}\n dependencies={[renderProps]}\n >\n {children}\n </PropsContextProvider>\n );\n }}\n />\n );\n}\n\nexport const typedField = <T extends FieldValues>(\n ignoredForm: UseFormReturn<T>,\n): typeof Field<T> => Field;\n"],"names":[],"mappings":";;;;;;;;;;AAiBO,SAAS,MAA6B,KAAsB,EAAA;AACjE,EAAA,MAAM,EAAE,QAAA,EAAU,OAAS,EAAA,GAAG,MAAS,GAAA,KAAA;AAEvC,EAAA,MAAM,cAAc,cAAkB,EAAA;AACtC,EAAM,MAAA,kBAAA,GAAqB,YAAY,IAAM,EAAA,OAAA;AAE7C,EACE,uBAAA,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,SAAS,OAAW,IAAA,kBAAA;AAAA,MACpB,MAAA,EAAQ,CAAC,WAAgB,KAAA;AACvB,QAAM,MAAA;AAAA,UACJ,KAAA;AAAA,UACA,UAAA,EAAY,EAAE,KAAA,EAAO,OAAQ;AAAA,SAC3B,GAAA,WAAA;AAEJ,QAAA,MAAM,gBAAmB,GAAA;AAAA,UACvB,GAAG,KAAA;AAAA,UACH,MAAM,WAAY,CAAA,EAAA;AAAA,UAClB,UAAY,EAAA,CAAC,CAAC,IAAA,CAAK,KAAO,EAAA,QAAA;AAAA,UAC1B,SAAW,EAAA,OAAA;AAAA,UACX,kBAAoB,EAAA,MAAA;AAAA,UACpB,QAAU,EAAA,OAAA,CAAQ,CAAC,CAAA,qBAEd,IAAA,CAAA,QAAA,EAAA,EAAA,QAAA,EAAA;AAAA,YAAE,CAAA,CAAA,QAAA;AAAA,4BACH,GAAA,CAAC,cAAgB,EAAA,EAAA,QAAA,EAAA,KAAA,EAAO,OAAQ,EAAA;AAAA,WAAA,EAClC,CACD;AAAA,SACH;AAEA,QAAA,MAAM,YAA6B,GAAA;AAAA,UACjC,QAAU,EAAA;AAAA,YACR,GAAG,gBAAA;AAAA,YACH,YAAY,gBAAiB,CAAA;AAAA,WAC/B;AAAA,UACA,aAAe,EAAA,gBAAA;AAAA,UACf,cAAgB,EAAA;AAAA,YACd,GAAG,gBAAA;AAAA,YACH,YAAY,gBAAiB,CAAA;AAAA,WAC/B;AAAA,UACA,SAAW,EAAA,gBAAA;AAAA,UACX,WAAa,EAAA,gBAAA;AAAA,UACb,UAAY,EAAA,gBAAA;AAAA,UACZ,MAAQ,EAAA;AAAA,YACN,GAAG,gBAAA;AAAA,YACH,YAAY,gBAAiB,CAAA;AAAA,WAC/B;AAAA,UACA,QAAU,EAAA,gBAAA;AAAA,UACV,SAAW,EAAA,gBAAA;AAAA,UACX,MAAQ,EAAA;AAAA,YACN,GAAG,gBAAA;AAAA,YACH,aAAa,gBAAiB,CAAA;AAAA,WAChC;AAAA,UACA,MAAQ,EAAA,gBAAA;AAAA,UACR,UAAY,EAAA,gBAAA;AAAA,UACZ,eAAiB,EAAA,gBAAA;AAAA,UACjB,SAAW,EAAA,gBAAA;AAAA,UACX,gBAAkB,EAAA,gBAAA;AAAA,UAClB,QAAU,EAAA,gBAAA;AAAA,UACV,WAAa,EAAA;AAAA,SACf;AAEA,QACE,uBAAA,GAAA;AAAA,UAAC,oBAAA;AAAA,UAAA;AAAA,YACC,KAAO,EAAA,YAAA;AAAA,YACP,YAAA,EAAc,CAAC,WAAW,CAAA;AAAA,YAEzB;AAAA;AAAA,SACH;AAAA;AAEJ;AAAA,GACF;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 type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport type {\n ControllerProps,\n FieldValues,\n UseFormReturn,\n} from \"react-hook-form\";\nimport { Controller } from \"react-hook-form\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { dynamic, PropsContextProvider } from \"@/lib/propsContext\";\nimport { useFormContext } from \"@/integrations/react-hook-form/components/context/formContext\";\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, control, ...rest } = props;\n\n const formContext = useFormContext<T>();\n const controlFromContext = formContext.form?.control;\n\n return (\n <Controller\n {...rest}\n control={control ?? controlFromContext}\n render={(renderProps) => {\n const {\n field,\n fieldState: { error, invalid },\n } = renderProps;\n\n const formControlProps = {\n ...field,\n form: formContext.id,\n isRequired: !!rest.rules?.required,\n isInvalid: invalid,\n validationBehavior: \"aria\" as const,\n children: dynamic((p) => (\n <>\n {p.children}\n <FieldErrorView>{error?.message}</FieldErrorView>\n </>\n )),\n };\n\n const propsContext: PropsContext = {\n Checkbox: {\n ...formControlProps,\n isSelected: formControlProps.value,\n },\n CheckboxGroup: formControlProps,\n CheckboxButton: {\n ...formControlProps,\n isSelected: formControlProps.value,\n },\n FileField: formControlProps,\n NumberField: formControlProps,\n RadioGroup: formControlProps,\n Switch: {\n ...formControlProps,\n isSelected: formControlProps.value,\n },\n TextArea: formControlProps,\n TextField: formControlProps,\n Select: {\n ...formControlProps,\n selectedKey: formControlProps.value,\n },\n Slider: formControlProps,\n DatePicker: formControlProps,\n DateRangePicker: formControlProps,\n TimeField: formControlProps,\n SegmentedControl: formControlProps,\n ComboBox: {\n ...formControlProps,\n defaultInputValue: formControlProps.value,\n },\n SearchField: formControlProps,\n };\n\n return (\n <PropsContextProvider\n props={propsContext}\n dependencies={[renderProps]}\n >\n {children}\n </PropsContextProvider>\n );\n }}\n />\n );\n}\n\nexport const typedField = <T extends FieldValues>(\n ignoredForm: UseFormReturn<T>,\n): typeof Field<T> => Field;\n"],"names":[],"mappings":";;;;;;;;;;AAiBO,SAAS,MAA6B,KAAsB,EAAA;AACjE,EAAA,MAAM,EAAE,QAAA,EAAU,OAAS,EAAA,GAAG,MAAS,GAAA,KAAA;AAEvC,EAAA,MAAM,cAAc,cAAkB,EAAA;AACtC,EAAM,MAAA,kBAAA,GAAqB,YAAY,IAAM,EAAA,OAAA;AAE7C,EACE,uBAAA,GAAA;AAAA,IAAC,UAAA;AAAA,IAAA;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,SAAS,OAAW,IAAA,kBAAA;AAAA,MACpB,MAAA,EAAQ,CAAC,WAAgB,KAAA;AACvB,QAAM,MAAA;AAAA,UACJ,KAAA;AAAA,UACA,UAAA,EAAY,EAAE,KAAA,EAAO,OAAQ;AAAA,SAC3B,GAAA,WAAA;AAEJ,QAAA,MAAM,gBAAmB,GAAA;AAAA,UACvB,GAAG,KAAA;AAAA,UACH,MAAM,WAAY,CAAA,EAAA;AAAA,UAClB,UAAY,EAAA,CAAC,CAAC,IAAA,CAAK,KAAO,EAAA,QAAA;AAAA,UAC1B,SAAW,EAAA,OAAA;AAAA,UACX,kBAAoB,EAAA,MAAA;AAAA,UACpB,QAAU,EAAA,OAAA,CAAQ,CAAC,CAAA,qBAEd,IAAA,CAAA,QAAA,EAAA,EAAA,QAAA,EAAA;AAAA,YAAE,CAAA,CAAA,QAAA;AAAA,4BACH,GAAA,CAAC,cAAgB,EAAA,EAAA,QAAA,EAAA,KAAA,EAAO,OAAQ,EAAA;AAAA,WAAA,EAClC,CACD;AAAA,SACH;AAEA,QAAA,MAAM,YAA6B,GAAA;AAAA,UACjC,QAAU,EAAA;AAAA,YACR,GAAG,gBAAA;AAAA,YACH,YAAY,gBAAiB,CAAA;AAAA,WAC/B;AAAA,UACA,aAAe,EAAA,gBAAA;AAAA,UACf,cAAgB,EAAA;AAAA,YACd,GAAG,gBAAA;AAAA,YACH,YAAY,gBAAiB,CAAA;AAAA,WAC/B;AAAA,UACA,SAAW,EAAA,gBAAA;AAAA,UACX,WAAa,EAAA,gBAAA;AAAA,UACb,UAAY,EAAA,gBAAA;AAAA,UACZ,MAAQ,EAAA;AAAA,YACN,GAAG,gBAAA;AAAA,YACH,YAAY,gBAAiB,CAAA;AAAA,WAC/B;AAAA,UACA,QAAU,EAAA,gBAAA;AAAA,UACV,SAAW,EAAA,gBAAA;AAAA,UACX,MAAQ,EAAA;AAAA,YACN,GAAG,gBAAA;AAAA,YACH,aAAa,gBAAiB,CAAA;AAAA,WAChC;AAAA,UACA,MAAQ,EAAA,gBAAA;AAAA,UACR,UAAY,EAAA,gBAAA;AAAA,UACZ,eAAiB,EAAA,gBAAA;AAAA,UACjB,SAAW,EAAA,gBAAA;AAAA,UACX,gBAAkB,EAAA,gBAAA;AAAA,UAClB,QAAU,EAAA;AAAA,YACR,GAAG,gBAAA;AAAA,YACH,mBAAmB,gBAAiB,CAAA;AAAA,WACtC;AAAA,UACA,WAAa,EAAA;AAAA,SACf;AAEA,QACE,uBAAA,GAAA;AAAA,UAAC,oBAAA;AAAA,UAAA;AAAA,YACC,KAAO,EAAA,YAAA;AAAA,YACP,YAAA,EAAc,CAAC,WAAW,CAAA;AAAA,YAEzB;AAAA;AAAA,SACH;AAAA;AAEJ;AAAA,GACF;AAEJ;AAEa,MAAA,UAAA,GAAa,CACxB,WACoB,KAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EACV,eAAe,EACf,WAAW,EACX,aAAa,EACd,MAAM,iBAAiB,CAAC;AAOzB,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,2CAyEhE;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,WAAW,EAC9C,aAAa,aAAa,CAAC,CAAC,CAAC,KAC5B,OAAO,KAAK,CAAC,CAAC,CAAU,CAAC"}
1
+ {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EACV,eAAe,EACf,WAAW,EACX,aAAa,EACd,MAAM,iBAAiB,CAAC;AAOzB,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,2CA4EhE;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,WAAW,EAC9C,aAAa,aAAa,CAAC,CAAC,CAAC,KAC5B,OAAO,KAAK,CAAC,CAAC,CAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=Checkbox.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AASzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA+C5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=CheckboxGroup.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/CheckboxGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAWzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA+F5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=ComboBox.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComboBox.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/ComboBox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAUzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA8D5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=DatePicker.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/DatePicker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAWzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA6D5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=DateRangePicker.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateRangePicker.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/DateRangePicker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAWzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAgE5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=NumberField.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberField.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/NumberField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAUzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAmE5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=RadioGroup.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroup.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/RadioGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AASzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAiE5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -4,4 +4,4 @@ declare const meta: Meta<typeof Field>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Field>;
6
6
  export declare const Default: Story;
7
- //# sourceMappingURL=Default.stories.d.ts.map
7
+ //# sourceMappingURL=Select.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/Select.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAUzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAiE5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=Slider.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/Slider.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AASzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA4C5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=TextArea.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextArea.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/TextArea.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAUzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAgE5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=TextField.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextField.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/TextField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAQzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAgE5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Field } from '../../..';
3
+ declare const meta: Meta<typeof Field>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Field>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=TimeField.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimeField.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/TimeField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAUzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAsD5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.133",
3
+ "version": "0.2.0-alpha.134",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -53,7 +53,7 @@
53
53
  "dependencies": {
54
54
  "@chakra-ui/live-region": "^2.1.0",
55
55
  "@internationalized/string-compiler": "^3.2.6",
56
- "@mittwald/react-tunnel": "0.2.0-alpha.133",
56
+ "@mittwald/react-tunnel": "0.2.0-alpha.134",
57
57
  "@mittwald/react-use-promise": "^3.0.4",
58
58
  "@react-aria/form": "^3.0.14",
59
59
  "@react-aria/utils": "^3.28.1",
@@ -92,7 +92,7 @@
92
92
  "devDependencies": {
93
93
  "@faker-js/faker": "^9.6.0",
94
94
  "@internationalized/date": "^3.7.0",
95
- "@mittwald/flow-design-tokens": "0.2.0-alpha.133",
95
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.134",
96
96
  "@mittwald/react-use-promise": "^2.6.0",
97
97
  "@mittwald/remote-dom-react": "1.2.2-mittwald.3",
98
98
  "@mittwald/typescript-config": "",
@@ -173,5 +173,5 @@
173
173
  "optional": true
174
174
  }
175
175
  },
176
- "gitHead": "403b6589d60bf64d0d9abfadc4848ad90db9186b"
176
+ "gitHead": "90c225f128bcad20cd28c6df945726133e496023"
177
177
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAuBzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA+K5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}