@mittwald/flow-react-components 0.2.0-alpha.671 → 0.2.0-alpha.673

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,16 @@
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.673](https://github.com/mittwald/flow/compare/0.2.0-alpha.672...0.2.0-alpha.673) (2026-02-10)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **List:** fix radios in all filters modal ([#2308](https://github.com/mittwald/flow/issues/2308)) ([9cbca80](https://github.com/mittwald/flow/commit/9cbca80034e6a9025c65cba3eb5eae84b98245c8))
11
+
12
+ # [0.2.0-alpha.672](https://github.com/mittwald/flow/compare/0.2.0-alpha.671...0.2.0-alpha.672) (2026-02-09)
13
+
14
+ **Note:** Version bump only for package @mittwald/flow-react-components
15
+
6
16
  # [0.2.0-alpha.671](https://github.com/mittwald/flow/compare/0.2.0-alpha.670...0.2.0-alpha.671) (2026-02-09)
7
17
 
8
18
  **Note:** Version bump only for package @mittwald/flow-react-components
@@ -223835,110 +223835,6 @@
223835
223835
  }
223836
223836
  }
223837
223837
  },
223838
- {
223839
- "tags": {
223840
- "flr-generate": "all"
223841
- },
223842
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/AvatarStack/AvatarStack.tsx",
223843
- "description": "",
223844
- "displayName": "AvatarStack",
223845
- "methods": [],
223846
- "props": {
223847
- "totalCount": {
223848
- "defaultValue": null,
223849
- "description": "The total count of items, as avatars should only be displayed for the first\nview",
223850
- "name": "totalCount",
223851
- "parent": {
223852
- "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
223853
- "name": "AvatarStackProps"
223854
- },
223855
- "declarations": [
223856
- {
223857
- "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
223858
- "name": "AvatarStackProps"
223859
- }
223860
- ],
223861
- "required": false,
223862
- "type": {
223863
- "name": "number"
223864
- }
223865
- },
223866
- "onCountPress": {
223867
- "defaultValue": null,
223868
- "description": "The onPress action of the additional items count element",
223869
- "name": "onCountPress",
223870
- "parent": {
223871
- "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
223872
- "name": "AvatarStackProps"
223873
- },
223874
- "declarations": [
223875
- {
223876
- "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
223877
- "name": "AvatarStackProps"
223878
- }
223879
- ],
223880
- "required": false,
223881
- "type": {
223882
- "name": "(() => void)"
223883
- }
223884
- },
223885
- "size": {
223886
- "defaultValue": {
223887
- "value": "\"m\""
223888
- },
223889
- "description": "The size of the avatars inside the stack.",
223890
- "name": "size",
223891
- "parent": {
223892
- "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
223893
- "name": "AvatarStackProps"
223894
- },
223895
- "declarations": [
223896
- {
223897
- "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
223898
- "name": "AvatarStackProps"
223899
- }
223900
- ],
223901
- "required": false,
223902
- "type": {
223903
- "name": "\"s\" | \"xs\" | \"m\" | \"l\""
223904
- }
223905
- },
223906
- "className": {
223907
- "defaultValue": null,
223908
- "description": "The elements class name.",
223909
- "name": "className",
223910
- "parent": {
223911
- "fileName": "components/src/lib/types/props.ts",
223912
- "name": "PropsWithClassName"
223913
- },
223914
- "declarations": [
223915
- {
223916
- "fileName": "components/src/lib/types/props.ts",
223917
- "name": "PropsWithClassName"
223918
- }
223919
- ],
223920
- "required": false,
223921
- "type": {
223922
- "name": "string"
223923
- }
223924
- },
223925
- "children": {
223926
- "defaultValue": null,
223927
- "description": "",
223928
- "name": "children",
223929
- "declarations": [
223930
- {
223931
- "fileName": "flow/node_modules/.pnpm/@types+react@19.2.10/node_modules/@types/react/index.d.ts",
223932
- "name": "TypeLiteral"
223933
- }
223934
- ],
223935
- "required": false,
223936
- "type": {
223937
- "name": "ReactNode"
223938
- }
223939
- }
223940
- }
223941
- },
223942
223838
  {
223943
223839
  "tags": {
223944
223840
  "flr-generate": "all"
@@ -224138,6 +224034,110 @@
224138
224034
  }
224139
224035
  }
224140
224036
  },
224037
+ {
224038
+ "tags": {
224039
+ "flr-generate": "all"
224040
+ },
224041
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/AvatarStack/AvatarStack.tsx",
224042
+ "description": "",
224043
+ "displayName": "AvatarStack",
224044
+ "methods": [],
224045
+ "props": {
224046
+ "totalCount": {
224047
+ "defaultValue": null,
224048
+ "description": "The total count of items, as avatars should only be displayed for the first\nview",
224049
+ "name": "totalCount",
224050
+ "parent": {
224051
+ "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
224052
+ "name": "AvatarStackProps"
224053
+ },
224054
+ "declarations": [
224055
+ {
224056
+ "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
224057
+ "name": "AvatarStackProps"
224058
+ }
224059
+ ],
224060
+ "required": false,
224061
+ "type": {
224062
+ "name": "number"
224063
+ }
224064
+ },
224065
+ "onCountPress": {
224066
+ "defaultValue": null,
224067
+ "description": "The onPress action of the additional items count element",
224068
+ "name": "onCountPress",
224069
+ "parent": {
224070
+ "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
224071
+ "name": "AvatarStackProps"
224072
+ },
224073
+ "declarations": [
224074
+ {
224075
+ "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
224076
+ "name": "AvatarStackProps"
224077
+ }
224078
+ ],
224079
+ "required": false,
224080
+ "type": {
224081
+ "name": "(() => void)"
224082
+ }
224083
+ },
224084
+ "size": {
224085
+ "defaultValue": {
224086
+ "value": "\"m\""
224087
+ },
224088
+ "description": "The size of the avatars inside the stack.",
224089
+ "name": "size",
224090
+ "parent": {
224091
+ "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
224092
+ "name": "AvatarStackProps"
224093
+ },
224094
+ "declarations": [
224095
+ {
224096
+ "fileName": "components/src/components/AvatarStack/AvatarStack.tsx",
224097
+ "name": "AvatarStackProps"
224098
+ }
224099
+ ],
224100
+ "required": false,
224101
+ "type": {
224102
+ "name": "\"s\" | \"xs\" | \"m\" | \"l\""
224103
+ }
224104
+ },
224105
+ "className": {
224106
+ "defaultValue": null,
224107
+ "description": "The elements class name.",
224108
+ "name": "className",
224109
+ "parent": {
224110
+ "fileName": "components/src/lib/types/props.ts",
224111
+ "name": "PropsWithClassName"
224112
+ },
224113
+ "declarations": [
224114
+ {
224115
+ "fileName": "components/src/lib/types/props.ts",
224116
+ "name": "PropsWithClassName"
224117
+ }
224118
+ ],
224119
+ "required": false,
224120
+ "type": {
224121
+ "name": "string"
224122
+ }
224123
+ },
224124
+ "children": {
224125
+ "defaultValue": null,
224126
+ "description": "",
224127
+ "name": "children",
224128
+ "declarations": [
224129
+ {
224130
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.2.10/node_modules/@types/react/index.d.ts",
224131
+ "name": "TypeLiteral"
224132
+ }
224133
+ ],
224134
+ "required": false,
224135
+ "type": {
224136
+ "name": "ReactNode"
224137
+ }
224138
+ }
224139
+ }
224140
+ },
224141
224141
  {
224142
224142
  "tags": {
224143
224143
  "flr-generate": "all"
@@ -299726,34 +299726,6 @@
299726
299726
  }
299727
299727
  }
299728
299728
  },
299729
- {
299730
- "tags": {},
299731
- "filePath": "src/components/Popover/components/PopoverTip/PopoverTip.tsx",
299732
- "description": "",
299733
- "displayName": "PopoverTip",
299734
- "methods": [],
299735
- "props": {
299736
- "className": {
299737
- "defaultValue": null,
299738
- "description": "The elements class name.",
299739
- "name": "className",
299740
- "parent": {
299741
- "fileName": "components/src/lib/types/props.ts",
299742
- "name": "PropsWithClassName"
299743
- },
299744
- "declarations": [
299745
- {
299746
- "fileName": "components/src/lib/types/props.ts",
299747
- "name": "PropsWithClassName"
299748
- }
299749
- ],
299750
- "required": false,
299751
- "type": {
299752
- "name": "string"
299753
- }
299754
- }
299755
- }
299756
- },
299757
299729
  {
299758
299730
  "tags": {
299759
299731
  "flr-generate": "all"
@@ -299932,6 +299904,34 @@
299932
299904
  }
299933
299905
  }
299934
299906
  },
299907
+ {
299908
+ "tags": {},
299909
+ "filePath": "src/components/Popover/components/PopoverTip/PopoverTip.tsx",
299910
+ "description": "",
299911
+ "displayName": "PopoverTip",
299912
+ "methods": [],
299913
+ "props": {
299914
+ "className": {
299915
+ "defaultValue": null,
299916
+ "description": "The elements class name.",
299917
+ "name": "className",
299918
+ "parent": {
299919
+ "fileName": "components/src/lib/types/props.ts",
299920
+ "name": "PropsWithClassName"
299921
+ },
299922
+ "declarations": [
299923
+ {
299924
+ "fileName": "components/src/lib/types/props.ts",
299925
+ "name": "PropsWithClassName"
299926
+ }
299927
+ ],
299928
+ "required": false,
299929
+ "type": {
299930
+ "name": "string"
299931
+ }
299932
+ }
299933
+ }
299934
+ },
299935
299935
  {
299936
299936
  "tags": {
299937
299937
  "internal": ""
@@ -300066,6 +300066,53 @@
300066
300066
  }
300067
300067
  }
300068
300068
  },
300069
+ {
300070
+ "tags": {},
300071
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300072
+ "description": "",
300073
+ "displayName": "PasswordGenerateButton",
300074
+ "methods": [],
300075
+ "props": {
300076
+ "isDisabled": {
300077
+ "defaultValue": null,
300078
+ "description": "",
300079
+ "name": "isDisabled",
300080
+ "parent": {
300081
+ "fileName": "components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300082
+ "name": "Props"
300083
+ },
300084
+ "declarations": [
300085
+ {
300086
+ "fileName": "components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300087
+ "name": "Props"
300088
+ }
300089
+ ],
300090
+ "required": false,
300091
+ "type": {
300092
+ "name": "boolean"
300093
+ }
300094
+ },
300095
+ "onGeneratePasswordAction": {
300096
+ "defaultValue": null,
300097
+ "description": "",
300098
+ "name": "onGeneratePasswordAction",
300099
+ "parent": {
300100
+ "fileName": "components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300101
+ "name": "Props"
300102
+ },
300103
+ "declarations": [
300104
+ {
300105
+ "fileName": "components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300106
+ "name": "Props"
300107
+ }
300108
+ ],
300109
+ "required": false,
300110
+ "type": {
300111
+ "name": "ActionFn"
300112
+ }
300113
+ }
300114
+ }
300115
+ },
300069
300116
  {
300070
300117
  "tags": {
300071
300118
  "internal": ""
@@ -300155,53 +300202,6 @@
300155
300202
  }
300156
300203
  }
300157
300204
  },
300158
- {
300159
- "tags": {},
300160
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300161
- "description": "",
300162
- "displayName": "PasswordGenerateButton",
300163
- "methods": [],
300164
- "props": {
300165
- "isDisabled": {
300166
- "defaultValue": null,
300167
- "description": "",
300168
- "name": "isDisabled",
300169
- "parent": {
300170
- "fileName": "components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300171
- "name": "Props"
300172
- },
300173
- "declarations": [
300174
- {
300175
- "fileName": "components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300176
- "name": "Props"
300177
- }
300178
- ],
300179
- "required": false,
300180
- "type": {
300181
- "name": "boolean"
300182
- }
300183
- },
300184
- "onGeneratePasswordAction": {
300185
- "defaultValue": null,
300186
- "description": "",
300187
- "name": "onGeneratePasswordAction",
300188
- "parent": {
300189
- "fileName": "components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300190
- "name": "Props"
300191
- },
300192
- "declarations": [
300193
- {
300194
- "fileName": "components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx",
300195
- "name": "Props"
300196
- }
300197
- ],
300198
- "required": false,
300199
- "type": {
300200
- "name": "ActionFn"
300201
- }
300202
- }
300203
- }
300204
- },
300205
300205
  {
300206
300206
  "tags": {
300207
300207
  "internal": ""
@@ -305948,6 +305948,14 @@
305948
305948
  }
305949
305949
  }
305950
305950
  },
305951
+ {
305952
+ "tags": {},
305953
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/Modal/components/OffCanvasSuspenseFallback/OffCanvasSuspenseFallback.tsx",
305954
+ "description": "",
305955
+ "displayName": "OffCanvasSuspenseFallback",
305956
+ "methods": [],
305957
+ "props": {}
305958
+ },
305951
305959
  {
305952
305960
  "tags": {},
305953
305961
  "filePath": "/home/runner/work/flow/flow/packages/components/src/components/Modal/components/ModalTrigger/ModalTrigger.tsx",
@@ -306086,14 +306094,6 @@
306086
306094
  }
306087
306095
  }
306088
306096
  },
306089
- {
306090
- "tags": {},
306091
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/Modal/components/OffCanvasSuspenseFallback/OffCanvasSuspenseFallback.tsx",
306092
- "description": "",
306093
- "displayName": "OffCanvasSuspenseFallback",
306094
- "methods": [],
306095
- "props": {}
306096
- },
306097
306097
  {
306098
306098
  "tags": {
306099
306099
  "flr-generate": "all"
@@ -306661,14 +306661,6 @@
306661
306661
  "methods": [],
306662
306662
  "props": {}
306663
306663
  },
306664
- {
306665
- "tags": {},
306666
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Footer/Footer.tsx",
306667
- "description": "",
306668
- "displayName": "Footer",
306669
- "methods": [],
306670
- "props": {}
306671
- },
306672
306664
  {
306673
306665
  "tags": {},
306674
306666
  "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/Header.tsx",
@@ -306697,6 +306689,14 @@
306697
306689
  }
306698
306690
  }
306699
306691
  },
306692
+ {
306693
+ "tags": {},
306694
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Footer/Footer.tsx",
306695
+ "description": "",
306696
+ "displayName": "Footer",
306697
+ "methods": [],
306698
+ "props": {}
306699
+ },
306700
306700
  {
306701
306701
  "tags": {},
306702
306702
  "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/DataLoader/DataLoaderSuspense.tsx",
@@ -335487,6 +335487,249 @@
335487
335487
  "methods": [],
335488
335488
  "props": {}
335489
335489
  },
335490
+ {
335491
+ "tags": {},
335492
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeMenuItem.tsx",
335493
+ "description": "",
335494
+ "displayName": "ViewModeMenuItem",
335495
+ "methods": [],
335496
+ "props": {
335497
+ "viewMode": {
335498
+ "defaultValue": null,
335499
+ "description": "",
335500
+ "name": "viewMode",
335501
+ "parent": {
335502
+ "fileName": "components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeMenuItem.tsx",
335503
+ "name": "Props"
335504
+ },
335505
+ "declarations": [
335506
+ {
335507
+ "fileName": "components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeMenuItem.tsx",
335508
+ "name": "Props"
335509
+ }
335510
+ ],
335511
+ "required": true,
335512
+ "type": {
335513
+ "name": "ListViewMode"
335514
+ }
335515
+ }
335516
+ }
335517
+ },
335518
+ {
335519
+ "tags": {},
335520
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeContextMenu.tsx",
335521
+ "description": "",
335522
+ "displayName": "ViewModeContextMenu",
335523
+ "methods": [],
335524
+ "props": {}
335525
+ },
335526
+ {
335527
+ "tags": {},
335528
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/SortingContextMenu/SortingMenuItem.tsx",
335529
+ "description": "",
335530
+ "displayName": "SortingMenuItem",
335531
+ "methods": [],
335532
+ "props": {
335533
+ "sorting": {
335534
+ "defaultValue": null,
335535
+ "description": "",
335536
+ "name": "sorting",
335537
+ "parent": {
335538
+ "fileName": "components/src/components/List/components/Header/components/SortingContextMenu/SortingMenuItem.tsx",
335539
+ "name": "Props"
335540
+ },
335541
+ "declarations": [
335542
+ {
335543
+ "fileName": "components/src/components/List/components/Header/components/SortingContextMenu/SortingMenuItem.tsx",
335544
+ "name": "Props"
335545
+ }
335546
+ ],
335547
+ "required": true,
335548
+ "type": {
335549
+ "name": "Sorting<never>"
335550
+ }
335551
+ }
335552
+ }
335553
+ },
335554
+ {
335555
+ "tags": {},
335556
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/SortingContextMenu/SortingContextMenu.tsx",
335557
+ "description": "",
335558
+ "displayName": "SortingContextMenu",
335559
+ "methods": [],
335560
+ "props": {}
335561
+ },
335562
+ {
335563
+ "tags": {},
335564
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/SearchField/SearchField.tsx",
335565
+ "description": "",
335566
+ "displayName": "SearchField",
335567
+ "methods": [],
335568
+ "props": {
335569
+ "search": {
335570
+ "defaultValue": null,
335571
+ "description": "",
335572
+ "name": "search",
335573
+ "parent": {
335574
+ "fileName": "components/src/components/List/components/Header/components/SearchField/SearchField.tsx",
335575
+ "name": "Props"
335576
+ },
335577
+ "declarations": [
335578
+ {
335579
+ "fileName": "components/src/components/List/components/Header/components/SearchField/SearchField.tsx",
335580
+ "name": "Props"
335581
+ }
335582
+ ],
335583
+ "required": true,
335584
+ "type": {
335585
+ "name": "Search<never>"
335586
+ }
335587
+ },
335588
+ "className": {
335589
+ "defaultValue": null,
335590
+ "description": "The elements class name.",
335591
+ "name": "className",
335592
+ "parent": {
335593
+ "fileName": "components/src/lib/types/props.ts",
335594
+ "name": "PropsWithClassName"
335595
+ },
335596
+ "declarations": [
335597
+ {
335598
+ "fileName": "components/src/lib/types/props.ts",
335599
+ "name": "PropsWithClassName"
335600
+ }
335601
+ ],
335602
+ "required": false,
335603
+ "type": {
335604
+ "name": "string"
335605
+ }
335606
+ }
335607
+ }
335608
+ },
335609
+ {
335610
+ "tags": {},
335611
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/AllFiltersModal/ViewModeAccordion.tsx",
335612
+ "description": "",
335613
+ "displayName": "ViewModeAccordion",
335614
+ "methods": [],
335615
+ "props": {}
335616
+ },
335617
+ {
335618
+ "tags": {},
335619
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/AllFiltersModal/SortingAccordion.tsx",
335620
+ "description": "",
335621
+ "displayName": "SortingAccordion",
335622
+ "methods": [],
335623
+ "props": {}
335624
+ },
335625
+ {
335626
+ "tags": {},
335627
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx",
335628
+ "description": "",
335629
+ "displayName": "FilterAccordion",
335630
+ "methods": [],
335631
+ "props": {
335632
+ "filter": {
335633
+ "defaultValue": null,
335634
+ "description": "",
335635
+ "name": "filter",
335636
+ "parent": {
335637
+ "fileName": "components/src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx",
335638
+ "name": "Props"
335639
+ },
335640
+ "declarations": [
335641
+ {
335642
+ "fileName": "components/src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx",
335643
+ "name": "Props"
335644
+ }
335645
+ ],
335646
+ "required": true,
335647
+ "type": {
335648
+ "name": "Filter<never, never, never>"
335649
+ }
335650
+ }
335651
+ }
335652
+ },
335653
+ {
335654
+ "tags": {},
335655
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.tsx",
335656
+ "description": "",
335657
+ "displayName": "AllFiltersModal",
335658
+ "methods": [],
335659
+ "props": {}
335660
+ },
335661
+ {
335662
+ "tags": {},
335663
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterMenuItem.tsx",
335664
+ "description": "",
335665
+ "displayName": "FilterMenuItem",
335666
+ "methods": [],
335667
+ "props": {
335668
+ "filterValue": {
335669
+ "defaultValue": null,
335670
+ "description": "",
335671
+ "name": "filterValue",
335672
+ "parent": {
335673
+ "fileName": "components/src/components/List/components/Header/components/FilterContextMenu/FilterMenuItem.tsx",
335674
+ "name": "Props"
335675
+ },
335676
+ "declarations": [
335677
+ {
335678
+ "fileName": "components/src/components/List/components/Header/components/FilterContextMenu/FilterMenuItem.tsx",
335679
+ "name": "Props"
335680
+ }
335681
+ ],
335682
+ "required": true,
335683
+ "type": {
335684
+ "name": "FilterValue"
335685
+ }
335686
+ }
335687
+ }
335688
+ },
335689
+ {
335690
+ "tags": {},
335691
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenus.tsx",
335692
+ "description": "",
335693
+ "displayName": "FilterContextMenus",
335694
+ "methods": [],
335695
+ "props": {}
335696
+ },
335697
+ {
335698
+ "tags": {},
335699
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.tsx",
335700
+ "description": "",
335701
+ "displayName": "FilterContextMenu",
335702
+ "methods": [],
335703
+ "props": {
335704
+ "filter": {
335705
+ "defaultValue": null,
335706
+ "description": "",
335707
+ "name": "filter",
335708
+ "parent": {
335709
+ "fileName": "components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.tsx",
335710
+ "name": "Props"
335711
+ },
335712
+ "declarations": [
335713
+ {
335714
+ "fileName": "components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.tsx",
335715
+ "name": "Props"
335716
+ }
335717
+ ],
335718
+ "required": true,
335719
+ "type": {
335720
+ "name": "Filter<never, never, never>"
335721
+ }
335722
+ }
335723
+ }
335724
+ },
335725
+ {
335726
+ "tags": {},
335727
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/ActiveFilters/ActiveFilters.tsx",
335728
+ "description": "",
335729
+ "displayName": "ActiveFilters",
335730
+ "methods": [],
335731
+ "props": {}
335732
+ },
335490
335733
  {
335491
335734
  "tags": {},
335492
335735
  "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Footer/components/ShowNextBatchButton/ShowNextBatchButton.tsx",
@@ -343318,247 +343561,47 @@
343318
343561
  },
343319
343562
  {
343320
343563
  "tags": {},
343321
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeMenuItem.tsx",
343322
- "description": "",
343323
- "displayName": "ViewModeMenuItem",
343324
- "methods": [],
343325
- "props": {
343326
- "viewMode": {
343327
- "defaultValue": null,
343328
- "description": "",
343329
- "name": "viewMode",
343330
- "parent": {
343331
- "fileName": "components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeMenuItem.tsx",
343332
- "name": "Props"
343333
- },
343334
- "declarations": [
343335
- {
343336
- "fileName": "components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeMenuItem.tsx",
343337
- "name": "Props"
343338
- }
343339
- ],
343340
- "required": true,
343341
- "type": {
343342
- "name": "ListViewMode"
343343
- }
343344
- }
343345
- }
343346
- },
343347
- {
343348
- "tags": {},
343349
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/ViewModeContextMenu/ViewModeContextMenu.tsx",
343350
- "description": "",
343351
- "displayName": "ViewModeContextMenu",
343352
- "methods": [],
343353
- "props": {}
343354
- },
343355
- {
343356
- "tags": {},
343357
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/SortingContextMenu/SortingMenuItem.tsx",
343358
- "description": "",
343359
- "displayName": "SortingMenuItem",
343360
- "methods": [],
343361
- "props": {
343362
- "sorting": {
343363
- "defaultValue": null,
343364
- "description": "",
343365
- "name": "sorting",
343366
- "parent": {
343367
- "fileName": "components/src/components/List/components/Header/components/SortingContextMenu/SortingMenuItem.tsx",
343368
- "name": "Props"
343369
- },
343370
- "declarations": [
343371
- {
343372
- "fileName": "components/src/components/List/components/Header/components/SortingContextMenu/SortingMenuItem.tsx",
343373
- "name": "Props"
343374
- }
343375
- ],
343376
- "required": true,
343377
- "type": {
343378
- "name": "Sorting<never>"
343379
- }
343380
- }
343381
- }
343382
- },
343383
- {
343384
- "tags": {},
343385
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/SortingContextMenu/SortingContextMenu.tsx",
343386
- "description": "",
343387
- "displayName": "SortingContextMenu",
343388
- "methods": [],
343389
- "props": {}
343390
- },
343391
- {
343392
- "tags": {},
343393
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/SearchField/SearchField.tsx",
343564
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Items/components/Item/hooks/useGridItemProps.tsx",
343394
343565
  "description": "",
343395
- "displayName": "SearchField",
343566
+ "displayName": "useGridItemProps",
343396
343567
  "methods": [],
343397
343568
  "props": {
343398
- "search": {
343569
+ "data": {
343399
343570
  "defaultValue": null,
343400
343571
  "description": "",
343401
- "name": "search",
343572
+ "name": "data",
343402
343573
  "parent": {
343403
- "fileName": "components/src/components/List/components/Header/components/SearchField/SearchField.tsx",
343404
- "name": "Props"
343574
+ "fileName": "components/src/components/List/components/Items/components/Item/hooks/useGridItemProps.tsx",
343575
+ "name": "P"
343405
343576
  },
343406
343577
  "declarations": [
343407
343578
  {
343408
- "fileName": "components/src/components/List/components/Header/components/SearchField/SearchField.tsx",
343409
- "name": "Props"
343579
+ "fileName": "components/src/components/List/components/Items/components/Item/hooks/useGridItemProps.tsx",
343580
+ "name": "P"
343410
343581
  }
343411
343582
  ],
343412
343583
  "required": true,
343413
343584
  "type": {
343414
- "name": "Search<never>"
343585
+ "name": "never"
343415
343586
  }
343416
343587
  },
343417
- "className": {
343418
- "defaultValue": null,
343419
- "description": "The elements class name.",
343420
- "name": "className",
343421
- "parent": {
343422
- "fileName": "components/src/lib/types/props.ts",
343423
- "name": "PropsWithClassName"
343424
- },
343425
- "declarations": [
343426
- {
343427
- "fileName": "components/src/lib/types/props.ts",
343428
- "name": "PropsWithClassName"
343429
- }
343430
- ],
343431
- "required": false,
343432
- "type": {
343433
- "name": "string"
343434
- }
343435
- }
343436
- }
343437
- },
343438
- {
343439
- "tags": {},
343440
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterMenuItem.tsx",
343441
- "description": "",
343442
- "displayName": "FilterMenuItem",
343443
- "methods": [],
343444
- "props": {
343445
- "filterValue": {
343446
- "defaultValue": null,
343447
- "description": "",
343448
- "name": "filterValue",
343449
- "parent": {
343450
- "fileName": "components/src/components/List/components/Header/components/FilterContextMenu/FilterMenuItem.tsx",
343451
- "name": "Props"
343452
- },
343453
- "declarations": [
343454
- {
343455
- "fileName": "components/src/components/List/components/Header/components/FilterContextMenu/FilterMenuItem.tsx",
343456
- "name": "Props"
343457
- }
343458
- ],
343459
- "required": true,
343460
- "type": {
343461
- "name": "FilterValue"
343462
- }
343463
- }
343464
- }
343465
- },
343466
- {
343467
- "tags": {},
343468
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenus.tsx",
343469
- "description": "",
343470
- "displayName": "FilterContextMenus",
343471
- "methods": [],
343472
- "props": {}
343473
- },
343474
- {
343475
- "tags": {},
343476
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.tsx",
343477
- "description": "",
343478
- "displayName": "FilterContextMenu",
343479
- "methods": [],
343480
- "props": {
343481
- "filter": {
343482
- "defaultValue": null,
343483
- "description": "",
343484
- "name": "filter",
343485
- "parent": {
343486
- "fileName": "components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.tsx",
343487
- "name": "Props"
343488
- },
343489
- "declarations": [
343490
- {
343491
- "fileName": "components/src/components/List/components/Header/components/FilterContextMenu/FilterContextMenu.tsx",
343492
- "name": "Props"
343493
- }
343494
- ],
343495
- "required": true,
343496
- "type": {
343497
- "name": "Filter<never, never, never>"
343498
- }
343499
- }
343500
- }
343501
- },
343502
- {
343503
- "tags": {},
343504
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/AllFiltersModal/ViewModeAccordion.tsx",
343505
- "description": "",
343506
- "displayName": "ViewModeAccordion",
343507
- "methods": [],
343508
- "props": {}
343509
- },
343510
- {
343511
- "tags": {},
343512
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/AllFiltersModal/SortingAccordion.tsx",
343513
- "description": "",
343514
- "displayName": "SortingAccordion",
343515
- "methods": [],
343516
- "props": {}
343517
- },
343518
- {
343519
- "tags": {},
343520
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx",
343521
- "description": "",
343522
- "displayName": "FilterAccordion",
343523
- "methods": [],
343524
- "props": {
343525
- "filter": {
343588
+ "children": {
343526
343589
  "defaultValue": null,
343527
343590
  "description": "",
343528
- "name": "filter",
343529
- "parent": {
343530
- "fileName": "components/src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx",
343531
- "name": "Props"
343532
- },
343591
+ "name": "children",
343533
343592
  "declarations": [
343534
343593
  {
343535
- "fileName": "components/src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx",
343536
- "name": "Props"
343594
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.2.10/node_modules/@types/react/index.d.ts",
343595
+ "name": "TypeLiteral"
343537
343596
  }
343538
343597
  ],
343539
- "required": true,
343598
+ "required": false,
343540
343599
  "type": {
343541
- "name": "Filter<never, never, never>"
343600
+ "name": "ReactNode"
343542
343601
  }
343543
343602
  }
343544
343603
  }
343545
343604
  },
343546
- {
343547
- "tags": {},
343548
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.tsx",
343549
- "description": "",
343550
- "displayName": "AllFiltersModal",
343551
- "methods": [],
343552
- "props": {}
343553
- },
343554
- {
343555
- "tags": {},
343556
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Header/components/ActiveFilters/ActiveFilters.tsx",
343557
- "description": "",
343558
- "displayName": "ActiveFilters",
343559
- "methods": [],
343560
- "props": {}
343561
- },
343562
343605
  {
343563
343606
  "tags": {},
343564
343607
  "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Items/components/Item/components/AccordionButton.tsx",
@@ -343640,49 +343683,6 @@
343640
343683
  }
343641
343684
  }
343642
343685
  },
343643
- {
343644
- "tags": {},
343645
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Items/components/Item/hooks/useGridItemProps.tsx",
343646
- "description": "",
343647
- "displayName": "useGridItemProps",
343648
- "methods": [],
343649
- "props": {
343650
- "data": {
343651
- "defaultValue": null,
343652
- "description": "",
343653
- "name": "data",
343654
- "parent": {
343655
- "fileName": "components/src/components/List/components/Items/components/Item/hooks/useGridItemProps.tsx",
343656
- "name": "P"
343657
- },
343658
- "declarations": [
343659
- {
343660
- "fileName": "components/src/components/List/components/Items/components/Item/hooks/useGridItemProps.tsx",
343661
- "name": "P"
343662
- }
343663
- ],
343664
- "required": true,
343665
- "type": {
343666
- "name": "never"
343667
- }
343668
- },
343669
- "children": {
343670
- "defaultValue": null,
343671
- "description": "",
343672
- "name": "children",
343673
- "declarations": [
343674
- {
343675
- "fileName": "flow/node_modules/.pnpm/@types+react@19.2.10/node_modules/@types/react/index.d.ts",
343676
- "name": "TypeLiteral"
343677
- }
343678
- ],
343679
- "required": false,
343680
- "type": {
343681
- "name": "ReactNode"
343682
- }
343683
- }
343684
- }
343685
- },
343686
343686
  {
343687
343687
  "tags": {},
343688
343688
  "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Items/components/Item/components/OptionsButton/index.tsx",
@@ -54,7 +54,9 @@ const AllFiltersModal = () => {
54
54
  const hasSecondaryFilters = list.filters.some(
55
55
  (f) => f.priority === "secondary"
56
56
  );
57
- const controller = useOverlayController("Modal");
57
+ const controller = useOverlayController("Modal", {
58
+ reuseControllerFromContext: false
59
+ });
58
60
  if (accordions.length === 0) {
59
61
  return null;
60
62
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AllFiltersModal.mjs","sources":["../../../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport React from \"react\";\nimport { IconFilter } from \"@/components/Icon/components/icons\";\nimport ButtonView from \"@/views/ButtonView\";\nimport { useList } from \"@/components/List\";\nimport styles from \"@/components/List/components/Header/Header.module.css\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport locales from \"../../../../locales/*.locale.json\";\nimport ContentView from \"@/views/ContentView\";\nimport SectionView from \"@/views/SectionView\";\nimport { FilterAccordion } from \"@/components/List/components/Header/components/AllFiltersModal/FilterAccordion\";\nimport { ViewModeAccordion } from \"@/components/List/components/Header/components/AllFiltersModal/ViewModeAccordion\";\nimport TextView from \"@/views/TextView\";\nimport { SortingAccordion } from \"@/components/List/components/Header/components/AllFiltersModal/SortingAccordion\";\nimport ActionGroupView from \"@/views/ActionGroupView\";\nimport { useOverlayController } from \"@/lib/controller\";\nimport HeadingView from \"@/views/HeadingView\";\nimport clsx from \"clsx\";\nimport Modal, { ModalTrigger } from \"@/components/Modal\";\nimport { SkeletonText } from \"@/components/SkeletonText\";\n\nexport const AllFiltersModal: FC = () => {\n const list = useList();\n const stringFormatter = useLocalizedStringFormatter(locales);\n\n const isInitiallyLoading = list.loader.useIsInitiallyLoading();\n const totalItemCount =\n list.batches.getTotalItemsCount() ?? list.items.entries.length;\n\n const filterAccordions = list.filters.map((f) => (\n <FilterAccordion filter={f} key={f.name} />\n ));\n\n const accordions = [\n <ViewModeAccordion key=\"viewMode\" />,\n <SortingAccordion key=\"sorting\" />,\n ...filterAccordions,\n ].filter(Boolean);\n\n const hasSecondaryFilters = list.filters.some(\n (f) => f.priority === \"secondary\",\n );\n\n const controller = useOverlayController(\"Modal\");\n\n if (accordions.length === 0) {\n return null;\n }\n\n return (\n <ModalTrigger controller={controller}>\n <ButtonView\n className={clsx(\n styles.hideOnMobile,\n hasSecondaryFilters ? undefined : styles.hideOnDesktop,\n )}\n variant=\"outline\"\n color=\"secondary\"\n >\n <TextView>{stringFormatter.format(\"list.filters.all\")}</TextView>\n <IconFilter />\n </ButtonView>\n\n <ButtonView\n className={styles.hideOnDesktop}\n variant=\"outline\"\n color=\"secondary\"\n aria-label={stringFormatter.format(\"list.filters.all\")}\n >\n <IconFilter />\n </ButtonView>\n\n <Modal offCanvas controller={controller}>\n <HeadingView>{stringFormatter.format(\"list.filters.all\")}</HeadingView>\n <ContentView>\n <SectionView>{...accordions}</SectionView>\n </ContentView>\n\n <ActionGroupView>\n <ButtonView onPress={() => controller.close()}>\n <TextView>\n {isInitiallyLoading ? (\n <SkeletonText width=\"16ch\" />\n ) : (\n stringFormatter.format(\"list.results.show\", {\n totalItemCount,\n })\n )}\n </TextView>\n </ButtonView>\n <ButtonView\n color=\"secondary\"\n variant=\"soft\"\n onPress={() => {\n list.resetFilters();\n controller.close();\n }}\n >\n {stringFormatter.format(\"list.reset\")}\n </ButtonView>\n </ActionGroupView>\n </Modal>\n </ModalTrigger>\n );\n};\n"],"names":["styles"],"mappings":"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"}
1
+ {"version":3,"file":"AllFiltersModal.mjs","sources":["../../../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport React from \"react\";\nimport { IconFilter } from \"@/components/Icon/components/icons\";\nimport ButtonView from \"@/views/ButtonView\";\nimport { useList } from \"@/components/List\";\nimport styles from \"@/components/List/components/Header/Header.module.css\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport locales from \"../../../../locales/*.locale.json\";\nimport ContentView from \"@/views/ContentView\";\nimport SectionView from \"@/views/SectionView\";\nimport { FilterAccordion } from \"@/components/List/components/Header/components/AllFiltersModal/FilterAccordion\";\nimport { ViewModeAccordion } from \"@/components/List/components/Header/components/AllFiltersModal/ViewModeAccordion\";\nimport TextView from \"@/views/TextView\";\nimport { SortingAccordion } from \"@/components/List/components/Header/components/AllFiltersModal/SortingAccordion\";\nimport ActionGroupView from \"@/views/ActionGroupView\";\nimport { useOverlayController } from \"@/lib/controller\";\nimport HeadingView from \"@/views/HeadingView\";\nimport clsx from \"clsx\";\nimport Modal, { ModalTrigger } from \"@/components/Modal\";\nimport { SkeletonText } from \"@/components/SkeletonText\";\n\nexport const AllFiltersModal: FC = () => {\n const list = useList();\n const stringFormatter = useLocalizedStringFormatter(locales);\n\n const isInitiallyLoading = list.loader.useIsInitiallyLoading();\n const totalItemCount =\n list.batches.getTotalItemsCount() ?? list.items.entries.length;\n\n const filterAccordions = list.filters.map((f) => (\n <FilterAccordion filter={f} key={f.name} />\n ));\n\n const accordions = [\n <ViewModeAccordion key=\"viewMode\" />,\n <SortingAccordion key=\"sorting\" />,\n ...filterAccordions,\n ].filter(Boolean);\n\n const hasSecondaryFilters = list.filters.some(\n (f) => f.priority === \"secondary\",\n );\n\n const controller = useOverlayController(\"Modal\", {\n reuseControllerFromContext: false,\n });\n\n if (accordions.length === 0) {\n return null;\n }\n\n return (\n <ModalTrigger controller={controller}>\n <ButtonView\n className={clsx(\n styles.hideOnMobile,\n hasSecondaryFilters ? undefined : styles.hideOnDesktop,\n )}\n variant=\"outline\"\n color=\"secondary\"\n >\n <TextView>{stringFormatter.format(\"list.filters.all\")}</TextView>\n <IconFilter />\n </ButtonView>\n\n <ButtonView\n className={styles.hideOnDesktop}\n variant=\"outline\"\n color=\"secondary\"\n aria-label={stringFormatter.format(\"list.filters.all\")}\n >\n <IconFilter />\n </ButtonView>\n\n <Modal offCanvas controller={controller}>\n <HeadingView>{stringFormatter.format(\"list.filters.all\")}</HeadingView>\n <ContentView>\n <SectionView>{...accordions}</SectionView>\n </ContentView>\n\n <ActionGroupView>\n <ButtonView onPress={() => controller.close()}>\n <TextView>\n {isInitiallyLoading ? (\n <SkeletonText width=\"16ch\" />\n ) : (\n stringFormatter.format(\"list.results.show\", {\n totalItemCount,\n })\n )}\n </TextView>\n </ButtonView>\n <ButtonView\n color=\"secondary\"\n variant=\"soft\"\n onPress={() => {\n list.resetFilters();\n controller.close();\n }}\n >\n {stringFormatter.format(\"list.reset\")}\n </ButtonView>\n </ActionGroupView>\n </Modal>\n </ModalTrigger>\n );\n};\n"],"names":["styles"],"mappings":"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"}
@@ -16,7 +16,19 @@ const FilterAccordion = (props) => {
16
16
  return /* @__PURE__ */ jsxs(AccordionView, { children: [
17
17
  /* @__PURE__ */ jsx(HeadingView, { children: filter.name ?? filter.property }),
18
18
  /* @__PURE__ */ jsxs(ContentView, { children: [
19
- filter.mode === "one" && /* @__PURE__ */ jsx(RadioGroupView, { value: activeKeys[0], m: [1, 1], children: filter.values.map((v) => /* @__PURE__ */ jsx(RadioView, { value: v.id, onPress: () => v.toggle(), children: v.render() }, v.id)) }),
19
+ filter.mode === "one" && /* @__PURE__ */ jsx(RadioGroupView, { value: activeKeys[0], m: [1, 1], children: filter.values.map((v) => /* @__PURE__ */ jsx(
20
+ RadioView,
21
+ {
22
+ value: v.id,
23
+ onPress: () => {
24
+ if (!v.isActive) {
25
+ v.toggle();
26
+ }
27
+ },
28
+ children: v.render()
29
+ },
30
+ v.id
31
+ )) }),
20
32
  filter.mode !== "one" && /* @__PURE__ */ jsx(CheckboxGroupView, { value: activeKeys, m: [1, 1], children: filter.values.map((v) => /* @__PURE__ */ jsx(CheckboxView, { value: v.id, onPress: () => v.toggle(), children: v.render() }, v.id)) })
21
33
  ] })
22
34
  ] });
@@ -1 +1 @@
1
- {"version":3,"file":"FilterAccordion.mjs","sources":["../../../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx"],"sourcesContent":["import React, { type FC } from \"react\";\nimport AccordionView from \"@/views/AccordionView\";\nimport HeadingView from \"@/views/HeadingView\";\nimport ContentView from \"@/views/ContentView\";\nimport RadioGroupView from \"@/views/RadioGroupView\";\nimport RadioView from \"@/views/RadioView\";\nimport CheckboxGroupView from \"@/views/CheckboxGroupView\";\nimport CheckboxView from \"@/views/CheckboxView\";\nimport type { Filter } from \"@/components/List/model/filter/Filter\";\n\ninterface Props {\n filter: Filter<never, never, never>;\n}\n\nexport const FilterAccordion: FC<Props> = (props) => {\n const { filter } = props;\n\n const activeKeys = filter.values.filter((v) => v.isActive).map((v) => v.id);\n\n return (\n <AccordionView>\n <HeadingView>{filter.name ?? filter.property}</HeadingView>\n <ContentView>\n {filter.mode === \"one\" && (\n <RadioGroupView value={activeKeys[0]} m={[1, 1]}>\n {filter.values.map((v) => (\n <RadioView key={v.id} value={v.id} onPress={() => v.toggle()}>\n {v.render()}\n </RadioView>\n ))}\n </RadioGroupView>\n )}\n {filter.mode !== \"one\" && (\n <CheckboxGroupView value={activeKeys} m={[1, 1]}>\n {filter.values.map((v) => (\n <CheckboxView key={v.id} value={v.id} onPress={() => v.toggle()}>\n {v.render()}\n </CheckboxView>\n ))}\n </CheckboxGroupView>\n )}\n </ContentView>\n </AccordionView>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AAcO,MAAM,eAAA,GAA6B,CAAC,KAAA,KAAU;AACnD,EAAA,MAAM,EAAE,QAAO,GAAI,KAAA;AAEnB,EAAA,MAAM,UAAA,GAAa,MAAA,CAAO,MAAA,CAAO,MAAA,CAAO,CAAC,CAAA,KAAM,CAAA,CAAE,QAAQ,CAAA,CAAE,GAAA,CAAI,CAAC,CAAA,KAAM,EAAE,EAAE,CAAA;AAE1E,EAAA,4BACG,aAAA,EAAA,EACC,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,WAAA,EAAA,EAAa,QAAA,EAAA,MAAA,CAAO,IAAA,IAAQ,MAAA,CAAO,QAAA,EAAS,CAAA;AAAA,yBAC5C,WAAA,EAAA,EACE,QAAA,EAAA;AAAA,MAAA,MAAA,CAAO,IAAA,KAAS,KAAA,oBACf,GAAA,CAAC,cAAA,EAAA,EAAe,OAAO,UAAA,CAAW,CAAC,CAAA,EAAG,CAAA,EAAG,CAAC,CAAA,EAAG,CAAC,CAAA,EAC3C,QAAA,EAAA,MAAA,CAAO,OAAO,GAAA,CAAI,CAAC,CAAA,qBAClB,GAAA,CAAC,SAAA,EAAA,EAAqB,KAAA,EAAO,CAAA,CAAE,EAAA,EAAI,SAAS,MAAM,CAAA,CAAE,MAAA,EAAO,EACxD,YAAE,MAAA,EAAO,EAAA,EADI,CAAA,CAAE,EAElB,CACD,CAAA,EACH,CAAA;AAAA,MAED,MAAA,CAAO,IAAA,KAAS,KAAA,oBACf,GAAA,CAAC,qBAAkB,KAAA,EAAO,UAAA,EAAY,CAAA,EAAG,CAAC,CAAA,EAAG,CAAC,CAAA,EAC3C,QAAA,EAAA,MAAA,CAAO,OAAO,GAAA,CAAI,CAAC,CAAA,qBAClB,GAAA,CAAC,YAAA,EAAA,EAAwB,KAAA,EAAO,CAAA,CAAE,EAAA,EAAI,SAAS,MAAM,CAAA,CAAE,MAAA,EAAO,EAC3D,YAAE,MAAA,EAAO,EAAA,EADO,CAAA,CAAE,EAErB,CACD,CAAA,EACH;AAAA,KAAA,EAEJ;AAAA,GAAA,EACF,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"FilterAccordion.mjs","sources":["../../../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx"],"sourcesContent":["import React, { type FC } from \"react\";\nimport AccordionView from \"@/views/AccordionView\";\nimport HeadingView from \"@/views/HeadingView\";\nimport ContentView from \"@/views/ContentView\";\nimport RadioGroupView from \"@/views/RadioGroupView\";\nimport RadioView from \"@/views/RadioView\";\nimport CheckboxGroupView from \"@/views/CheckboxGroupView\";\nimport CheckboxView from \"@/views/CheckboxView\";\nimport type { Filter } from \"@/components/List/model/filter/Filter\";\n\ninterface Props {\n filter: Filter<never, never, never>;\n}\n\nexport const FilterAccordion: FC<Props> = (props) => {\n const { filter } = props;\n\n const activeKeys = filter.values.filter((v) => v.isActive).map((v) => v.id);\n\n return (\n <AccordionView>\n <HeadingView>{filter.name ?? filter.property}</HeadingView>\n <ContentView>\n {filter.mode === \"one\" && (\n <RadioGroupView value={activeKeys[0]} m={[1, 1]}>\n {filter.values.map((v) => (\n <RadioView\n key={v.id}\n value={v.id}\n onPress={() => {\n if (!v.isActive) {\n v.toggle();\n }\n }}\n >\n {v.render()}\n </RadioView>\n ))}\n </RadioGroupView>\n )}\n {filter.mode !== \"one\" && (\n <CheckboxGroupView value={activeKeys} m={[1, 1]}>\n {filter.values.map((v) => (\n <CheckboxView key={v.id} value={v.id} onPress={() => v.toggle()}>\n {v.render()}\n </CheckboxView>\n ))}\n </CheckboxGroupView>\n )}\n </ContentView>\n </AccordionView>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AAcO,MAAM,eAAA,GAA6B,CAAC,KAAA,KAAU;AACnD,EAAA,MAAM,EAAE,QAAO,GAAI,KAAA;AAEnB,EAAA,MAAM,UAAA,GAAa,MAAA,CAAO,MAAA,CAAO,MAAA,CAAO,CAAC,CAAA,KAAM,CAAA,CAAE,QAAQ,CAAA,CAAE,GAAA,CAAI,CAAC,CAAA,KAAM,EAAE,EAAE,CAAA;AAE1E,EAAA,4BACG,aAAA,EAAA,EACC,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,WAAA,EAAA,EAAa,QAAA,EAAA,MAAA,CAAO,IAAA,IAAQ,MAAA,CAAO,QAAA,EAAS,CAAA;AAAA,yBAC5C,WAAA,EAAA,EACE,QAAA,EAAA;AAAA,MAAA,MAAA,CAAO,SAAS,KAAA,oBACf,GAAA,CAAC,cAAA,EAAA,EAAe,KAAA,EAAO,WAAW,CAAC,CAAA,EAAG,CAAA,EAAG,CAAC,GAAG,CAAC,CAAA,EAC3C,iBAAO,MAAA,CAAO,GAAA,CAAI,CAAC,CAAA,qBAClB,GAAA;AAAA,QAAC,SAAA;AAAA,QAAA;AAAA,UAEC,OAAO,CAAA,CAAE,EAAA;AAAA,UACT,SAAS,MAAM;AACb,YAAA,IAAI,CAAC,EAAE,QAAA,EAAU;AACf,cAAA,CAAA,CAAE,MAAA,EAAO;AAAA,YACX;AAAA,UACF,CAAA;AAAA,UAEC,YAAE,MAAA;AAAO,SAAA;AAAA,QARL,CAAA,CAAE;AAAA,OAUV,CAAA,EACH,CAAA;AAAA,MAED,MAAA,CAAO,IAAA,KAAS,KAAA,oBACf,GAAA,CAAC,qBAAkB,KAAA,EAAO,UAAA,EAAY,CAAA,EAAG,CAAC,CAAA,EAAG,CAAC,CAAA,EAC3C,QAAA,EAAA,MAAA,CAAO,OAAO,GAAA,CAAI,CAAC,CAAA,qBAClB,GAAA,CAAC,YAAA,EAAA,EAAwB,KAAA,EAAO,CAAA,CAAE,EAAA,EAAI,SAAS,MAAM,CAAA,CAAE,MAAA,EAAO,EAC3D,YAAE,MAAA,EAAO,EAAA,EADO,CAAA,CAAE,EAErB,CACD,CAAA,EACH;AAAA,KAAA,EAEJ;AAAA,GAAA,EACF,CAAA;AAEJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"AllFiltersModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAqBhC,eAAO,MAAM,eAAe,EAAE,EAmF7B,CAAC"}
1
+ {"version":3,"file":"AllFiltersModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/AllFiltersModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAqBhC,eAAO,MAAM,eAAe,EAAE,EAqF7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FilterAccordion.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAQvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAEpE,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CA8BrC,CAAC"}
1
+ {"version":3,"file":"FilterAccordion.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Header/components/AllFiltersModal/FilterAccordion.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAQvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAEpE,UAAU,KAAK;IACb,MAAM,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;CACrC;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CAsCrC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.671",
3
+ "version": "0.2.0-alpha.673",
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
  "dependencies": {
59
59
  "@internationalized/string-compiler": "^3.2.6",
60
60
  "@mittwald/password-tools-js": "3.0.0-alpha.18",
61
- "@mittwald/react-tunnel": "0.2.0-alpha.671",
61
+ "@mittwald/react-tunnel": "0.2.0-alpha.673",
62
62
  "@mittwald/react-use-promise": "^4.2.2",
63
63
  "@react-aria/form": "^3.1.3",
64
64
  "@react-aria/live-announcer": "^3.4.4",
@@ -104,7 +104,7 @@
104
104
  "@faker-js/faker": "^10.2.0",
105
105
  "@internationalized/date": "^3.10.1",
106
106
  "@mittwald/flow-core": "",
107
- "@mittwald/flow-design-tokens": "0.2.0-alpha.671",
107
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.673",
108
108
  "@mittwald/react-use-promise": "^4.2.2",
109
109
  "@mittwald/remote-dom-react": "1.2.2-mittwald.10",
110
110
  "@mittwald/typescript-config": "",
@@ -172,5 +172,5 @@
172
172
  "optional": true
173
173
  }
174
174
  },
175
- "gitHead": "85e3990b03113ceec872782ca9dc0915b56f1bbd"
175
+ "gitHead": "254c8df3e3f20f2a986d0a4a8caa5bf4bd9aa134"
176
176
  }