@mittwald/flow-react-components 0.2.0-alpha.536 → 0.2.0-alpha.537
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 +6 -0
- package/dist/assets/doc-properties.json +220 -220
- package/dist/js/components/src/components/List/components/Items/components/Item/Item.mjs +1 -0
- package/dist/js/components/src/components/List/components/Items/components/Item/Item.mjs.map +1 -1
- package/dist/js/components/src/components/List/model/item/ItemView.mjs +3 -0
- package/dist/js/components/src/components/List/model/item/ItemView.mjs.map +1 -1
- package/dist/types/components/List/components/Items/components/Item/Item.d.ts.map +1 -1
- package/dist/types/components/List/model/item/ItemView.d.ts +3 -1
- package/dist/types/components/List/model/item/ItemView.d.ts.map +1 -1
- package/package.json +4 -4
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.537](https://github.com/mittwald/flow/compare/0.2.0-alpha.536...0.2.0-alpha.537) (2025-10-29)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **List:** support target property in list item ([#2096](https://github.com/mittwald/flow/issues/2096)) ([8f7ac45](https://github.com/mittwald/flow/commit/8f7ac45cf10e326e4f2bba4ea65ac09e6f9ba766))
|
|
11
|
+
|
|
6
12
|
# [0.2.0-alpha.536](https://github.com/mittwald/flow/compare/0.2.0-alpha.535...0.2.0-alpha.536) (2025-10-29)
|
|
7
13
|
|
|
8
14
|
### Features
|
|
@@ -279755,159 +279755,204 @@
|
|
|
279755
279755
|
},
|
|
279756
279756
|
{
|
|
279757
279757
|
"tags": {
|
|
279758
|
-
"
|
|
279758
|
+
"internal": ""
|
|
279759
279759
|
},
|
|
279760
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/
|
|
279760
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
279761
279761
|
"description": "",
|
|
279762
|
-
"displayName": "
|
|
279762
|
+
"displayName": "ValidationResultEntry",
|
|
279763
279763
|
"methods": [],
|
|
279764
279764
|
"props": {
|
|
279765
|
-
"
|
|
279765
|
+
"result": {
|
|
279766
279766
|
"defaultValue": null,
|
|
279767
279767
|
"description": "",
|
|
279768
|
-
"name": "
|
|
279768
|
+
"name": "result",
|
|
279769
279769
|
"parent": {
|
|
279770
|
-
"fileName": "components/src/components/
|
|
279771
|
-
"name": "
|
|
279770
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
279771
|
+
"name": "Props"
|
|
279772
279772
|
},
|
|
279773
279773
|
"declarations": [
|
|
279774
279774
|
{
|
|
279775
|
-
"fileName": "components/src/components/
|
|
279776
|
-
"name": "
|
|
279775
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
279776
|
+
"name": "Props"
|
|
279777
279777
|
}
|
|
279778
279778
|
],
|
|
279779
|
-
"required":
|
|
279779
|
+
"required": true,
|
|
279780
279780
|
"type": {
|
|
279781
|
-
"name": "
|
|
279781
|
+
"name": "Partial<RuleValidationResult>"
|
|
279782
279782
|
}
|
|
279783
279783
|
},
|
|
279784
|
-
"
|
|
279784
|
+
"unspecifiedRules": {
|
|
279785
279785
|
"defaultValue": null,
|
|
279786
279786
|
"description": "",
|
|
279787
|
-
"name": "
|
|
279787
|
+
"name": "unspecifiedRules",
|
|
279788
279788
|
"parent": {
|
|
279789
|
-
"fileName": "components/src/components/
|
|
279790
|
-
"name": "
|
|
279789
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
279790
|
+
"name": "Props"
|
|
279791
279791
|
},
|
|
279792
279792
|
"declarations": [
|
|
279793
279793
|
{
|
|
279794
|
-
"fileName": "components/src/components/
|
|
279795
|
-
"name": "
|
|
279794
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
279795
|
+
"name": "Props"
|
|
279796
279796
|
}
|
|
279797
279797
|
],
|
|
279798
279798
|
"required": false,
|
|
279799
279799
|
"type": {
|
|
279800
279800
|
"name": "boolean"
|
|
279801
279801
|
}
|
|
279802
|
-
}
|
|
279803
|
-
|
|
279802
|
+
}
|
|
279803
|
+
}
|
|
279804
|
+
},
|
|
279805
|
+
{
|
|
279806
|
+
"tags": {},
|
|
279807
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
279808
|
+
"description": "",
|
|
279809
|
+
"displayName": "ValidationResultButton",
|
|
279810
|
+
"methods": [],
|
|
279811
|
+
"props": {
|
|
279812
|
+
"policyValidationResult": {
|
|
279804
279813
|
"defaultValue": null,
|
|
279805
279814
|
"description": "",
|
|
279806
|
-
"name": "
|
|
279815
|
+
"name": "policyValidationResult",
|
|
279807
279816
|
"parent": {
|
|
279808
|
-
"fileName": "components/src/components/
|
|
279809
|
-
"name": "
|
|
279817
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
279818
|
+
"name": "Props"
|
|
279810
279819
|
},
|
|
279811
279820
|
"declarations": [
|
|
279812
279821
|
{
|
|
279813
|
-
"fileName": "components/src/components/
|
|
279814
|
-
"name": "
|
|
279822
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
279823
|
+
"name": "Props"
|
|
279815
279824
|
}
|
|
279816
279825
|
],
|
|
279817
279826
|
"required": false,
|
|
279818
279827
|
"type": {
|
|
279819
|
-
"name": "
|
|
279828
|
+
"name": "ResolvedPolicyValidationResult"
|
|
279820
279829
|
}
|
|
279821
279830
|
},
|
|
279822
|
-
"
|
|
279831
|
+
"isDisabled": {
|
|
279823
279832
|
"defaultValue": null,
|
|
279824
279833
|
"description": "",
|
|
279825
|
-
"name": "
|
|
279834
|
+
"name": "isDisabled",
|
|
279826
279835
|
"parent": {
|
|
279827
|
-
"fileName": "components/src/components/
|
|
279828
|
-
"name": "
|
|
279836
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
279837
|
+
"name": "Props"
|
|
279829
279838
|
},
|
|
279830
279839
|
"declarations": [
|
|
279831
279840
|
{
|
|
279832
|
-
"fileName": "components/src/components/
|
|
279833
|
-
"name": "
|
|
279841
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
279842
|
+
"name": "Props"
|
|
279834
279843
|
}
|
|
279835
279844
|
],
|
|
279836
279845
|
"required": false,
|
|
279837
279846
|
"type": {
|
|
279838
|
-
"name": "
|
|
279847
|
+
"name": "boolean"
|
|
279839
279848
|
}
|
|
279840
279849
|
},
|
|
279841
|
-
"
|
|
279850
|
+
"isEmptyValue": {
|
|
279842
279851
|
"defaultValue": null,
|
|
279843
279852
|
"description": "",
|
|
279844
|
-
"name": "
|
|
279853
|
+
"name": "isEmptyValue",
|
|
279845
279854
|
"parent": {
|
|
279846
|
-
"fileName": "components/src/components/
|
|
279847
|
-
"name": "
|
|
279855
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
279856
|
+
"name": "Props"
|
|
279848
279857
|
},
|
|
279849
279858
|
"declarations": [
|
|
279850
279859
|
{
|
|
279851
|
-
"fileName": "components/src/components/
|
|
279852
|
-
"name": "
|
|
279860
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
279861
|
+
"name": "Props"
|
|
279853
279862
|
}
|
|
279854
279863
|
],
|
|
279855
279864
|
"required": true,
|
|
279856
279865
|
"type": {
|
|
279857
|
-
"name": "
|
|
279866
|
+
"name": "boolean"
|
|
279858
279867
|
}
|
|
279859
279868
|
},
|
|
279860
|
-
"
|
|
279869
|
+
"className": {
|
|
279861
279870
|
"defaultValue": null,
|
|
279871
|
+
"description": "The elements class name.",
|
|
279872
|
+
"name": "className",
|
|
279873
|
+
"parent": {
|
|
279874
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
279875
|
+
"name": "PropsWithClassName"
|
|
279876
|
+
},
|
|
279877
|
+
"declarations": [
|
|
279878
|
+
{
|
|
279879
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
279880
|
+
"name": "PropsWithClassName"
|
|
279881
|
+
}
|
|
279882
|
+
],
|
|
279883
|
+
"required": false,
|
|
279884
|
+
"type": {
|
|
279885
|
+
"name": "string"
|
|
279886
|
+
}
|
|
279887
|
+
}
|
|
279888
|
+
}
|
|
279889
|
+
},
|
|
279890
|
+
{
|
|
279891
|
+
"tags": {
|
|
279892
|
+
"internal": ""
|
|
279893
|
+
},
|
|
279894
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
279895
|
+
"description": "",
|
|
279896
|
+
"displayName": "TogglePasswordVisibilityButton",
|
|
279897
|
+
"methods": [],
|
|
279898
|
+
"props": {
|
|
279899
|
+
"isDisabled": {
|
|
279900
|
+
"defaultValue": {
|
|
279901
|
+
"value": "false"
|
|
279902
|
+
},
|
|
279862
279903
|
"description": "",
|
|
279863
|
-
"name": "
|
|
279904
|
+
"name": "isDisabled",
|
|
279864
279905
|
"parent": {
|
|
279865
|
-
"fileName": "components/src/components/
|
|
279866
|
-
"name": "
|
|
279906
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
279907
|
+
"name": "Props"
|
|
279867
279908
|
},
|
|
279868
279909
|
"declarations": [
|
|
279869
279910
|
{
|
|
279870
|
-
"fileName": "components/src/components/
|
|
279871
|
-
"name": "
|
|
279911
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
279912
|
+
"name": "Props"
|
|
279872
279913
|
}
|
|
279873
279914
|
],
|
|
279874
279915
|
"required": false,
|
|
279875
279916
|
"type": {
|
|
279876
|
-
"name": "
|
|
279917
|
+
"name": "boolean"
|
|
279877
279918
|
}
|
|
279878
279919
|
},
|
|
279879
|
-
"
|
|
279920
|
+
"isVisible": {
|
|
279880
279921
|
"defaultValue": null,
|
|
279881
279922
|
"description": "",
|
|
279882
|
-
"name": "
|
|
279923
|
+
"name": "isVisible",
|
|
279883
279924
|
"parent": {
|
|
279884
|
-
"fileName": "components/src/components/
|
|
279885
|
-
"name": "
|
|
279925
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
279926
|
+
"name": "Props"
|
|
279886
279927
|
},
|
|
279887
279928
|
"declarations": [
|
|
279888
279929
|
{
|
|
279889
|
-
"fileName": "components/src/components/
|
|
279890
|
-
"name": "
|
|
279930
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
279931
|
+
"name": "Props"
|
|
279891
279932
|
}
|
|
279892
279933
|
],
|
|
279893
|
-
"required":
|
|
279934
|
+
"required": true,
|
|
279894
279935
|
"type": {
|
|
279895
|
-
"name": "
|
|
279936
|
+
"name": "boolean"
|
|
279896
279937
|
}
|
|
279897
279938
|
},
|
|
279898
|
-
"
|
|
279939
|
+
"onPress": {
|
|
279899
279940
|
"defaultValue": null,
|
|
279900
279941
|
"description": "",
|
|
279901
|
-
"name": "
|
|
279942
|
+
"name": "onPress",
|
|
279943
|
+
"parent": {
|
|
279944
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
279945
|
+
"name": "Props"
|
|
279946
|
+
},
|
|
279902
279947
|
"declarations": [
|
|
279903
279948
|
{
|
|
279904
|
-
"fileName": "
|
|
279905
|
-
"name": "
|
|
279949
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
279950
|
+
"name": "Props"
|
|
279906
279951
|
}
|
|
279907
279952
|
],
|
|
279908
|
-
"required":
|
|
279953
|
+
"required": true,
|
|
279909
279954
|
"type": {
|
|
279910
|
-
"name": "
|
|
279955
|
+
"name": "ActionFn"
|
|
279911
279956
|
}
|
|
279912
279957
|
},
|
|
279913
279958
|
"className": {
|
|
@@ -279933,204 +279978,159 @@
|
|
|
279933
279978
|
},
|
|
279934
279979
|
{
|
|
279935
279980
|
"tags": {
|
|
279936
|
-
"
|
|
279981
|
+
"flr-generate": "all"
|
|
279937
279982
|
},
|
|
279938
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/
|
|
279983
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
279939
279984
|
"description": "",
|
|
279940
|
-
"displayName": "
|
|
279985
|
+
"displayName": "PopoverContent",
|
|
279941
279986
|
"methods": [],
|
|
279942
279987
|
"props": {
|
|
279943
|
-
"
|
|
279988
|
+
"withTip": {
|
|
279944
279989
|
"defaultValue": null,
|
|
279945
279990
|
"description": "",
|
|
279946
|
-
"name": "
|
|
279991
|
+
"name": "withTip",
|
|
279947
279992
|
"parent": {
|
|
279948
|
-
"fileName": "components/src/components/
|
|
279949
|
-
"name": "
|
|
279993
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
279994
|
+
"name": "PopoverContentProps"
|
|
279950
279995
|
},
|
|
279951
279996
|
"declarations": [
|
|
279952
279997
|
{
|
|
279953
|
-
"fileName": "components/src/components/
|
|
279954
|
-
"name": "
|
|
279998
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
279999
|
+
"name": "PopoverContentProps"
|
|
279955
280000
|
}
|
|
279956
280001
|
],
|
|
279957
|
-
"required":
|
|
280002
|
+
"required": false,
|
|
279958
280003
|
"type": {
|
|
279959
|
-
"name": "
|
|
280004
|
+
"name": "boolean"
|
|
279960
280005
|
}
|
|
279961
280006
|
},
|
|
279962
|
-
"
|
|
280007
|
+
"isDialogContent": {
|
|
279963
280008
|
"defaultValue": null,
|
|
279964
280009
|
"description": "",
|
|
279965
|
-
"name": "
|
|
280010
|
+
"name": "isDialogContent",
|
|
279966
280011
|
"parent": {
|
|
279967
|
-
"fileName": "components/src/components/
|
|
279968
|
-
"name": "
|
|
280012
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280013
|
+
"name": "PopoverContentProps"
|
|
279969
280014
|
},
|
|
279970
280015
|
"declarations": [
|
|
279971
280016
|
{
|
|
279972
|
-
"fileName": "components/src/components/
|
|
279973
|
-
"name": "
|
|
280017
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280018
|
+
"name": "PopoverContentProps"
|
|
279974
280019
|
}
|
|
279975
280020
|
],
|
|
279976
280021
|
"required": false,
|
|
279977
280022
|
"type": {
|
|
279978
280023
|
"name": "boolean"
|
|
279979
280024
|
}
|
|
279980
|
-
}
|
|
279981
|
-
|
|
279982
|
-
},
|
|
279983
|
-
{
|
|
279984
|
-
"tags": {},
|
|
279985
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
279986
|
-
"description": "",
|
|
279987
|
-
"displayName": "ValidationResultButton",
|
|
279988
|
-
"methods": [],
|
|
279989
|
-
"props": {
|
|
279990
|
-
"policyValidationResult": {
|
|
280025
|
+
},
|
|
280026
|
+
"isOpen": {
|
|
279991
280027
|
"defaultValue": null,
|
|
279992
280028
|
"description": "",
|
|
279993
|
-
"name": "
|
|
280029
|
+
"name": "isOpen",
|
|
279994
280030
|
"parent": {
|
|
279995
|
-
"fileName": "components/src/components/
|
|
279996
|
-
"name": "
|
|
280031
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280032
|
+
"name": "PopoverContentProps"
|
|
279997
280033
|
},
|
|
279998
280034
|
"declarations": [
|
|
279999
280035
|
{
|
|
280000
|
-
"fileName": "components/src/components/
|
|
280001
|
-
"name": "
|
|
280036
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280037
|
+
"name": "PopoverContentProps"
|
|
280002
280038
|
}
|
|
280003
280039
|
],
|
|
280004
280040
|
"required": false,
|
|
280005
280041
|
"type": {
|
|
280006
|
-
"name": "
|
|
280042
|
+
"name": "boolean"
|
|
280007
280043
|
}
|
|
280008
280044
|
},
|
|
280009
|
-
"
|
|
280045
|
+
"width": {
|
|
280010
280046
|
"defaultValue": null,
|
|
280011
280047
|
"description": "",
|
|
280012
|
-
"name": "
|
|
280048
|
+
"name": "width",
|
|
280013
280049
|
"parent": {
|
|
280014
|
-
"fileName": "components/src/components/
|
|
280015
|
-
"name": "
|
|
280050
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280051
|
+
"name": "PopoverContentProps"
|
|
280016
280052
|
},
|
|
280017
280053
|
"declarations": [
|
|
280018
280054
|
{
|
|
280019
|
-
"fileName": "components/src/components/
|
|
280020
|
-
"name": "
|
|
280055
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280056
|
+
"name": "PopoverContentProps"
|
|
280021
280057
|
}
|
|
280022
280058
|
],
|
|
280023
280059
|
"required": false,
|
|
280024
280060
|
"type": {
|
|
280025
|
-
"name": "
|
|
280061
|
+
"name": "string | number"
|
|
280026
280062
|
}
|
|
280027
280063
|
},
|
|
280028
|
-
"
|
|
280064
|
+
"onOpenChange": {
|
|
280029
280065
|
"defaultValue": null,
|
|
280030
280066
|
"description": "",
|
|
280031
|
-
"name": "
|
|
280067
|
+
"name": "onOpenChange",
|
|
280032
280068
|
"parent": {
|
|
280033
|
-
"fileName": "components/src/components/
|
|
280034
|
-
"name": "
|
|
280069
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280070
|
+
"name": "PopoverContentProps"
|
|
280035
280071
|
},
|
|
280036
280072
|
"declarations": [
|
|
280037
280073
|
{
|
|
280038
|
-
"fileName": "components/src/components/
|
|
280039
|
-
"name": "
|
|
280074
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280075
|
+
"name": "PopoverContentProps"
|
|
280040
280076
|
}
|
|
280041
280077
|
],
|
|
280042
280078
|
"required": true,
|
|
280043
280079
|
"type": {
|
|
280044
|
-
"name": "boolean"
|
|
280080
|
+
"name": "(isOpen: boolean) => void"
|
|
280045
280081
|
}
|
|
280046
280082
|
},
|
|
280047
|
-
"
|
|
280083
|
+
"ref": {
|
|
280048
280084
|
"defaultValue": null,
|
|
280049
|
-
"description": "The elements class name.",
|
|
280050
|
-
"name": "className",
|
|
280051
|
-
"parent": {
|
|
280052
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
280053
|
-
"name": "PropsWithClassName"
|
|
280054
|
-
},
|
|
280055
|
-
"declarations": [
|
|
280056
|
-
{
|
|
280057
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
280058
|
-
"name": "PropsWithClassName"
|
|
280059
|
-
}
|
|
280060
|
-
],
|
|
280061
|
-
"required": false,
|
|
280062
|
-
"type": {
|
|
280063
|
-
"name": "string"
|
|
280064
|
-
}
|
|
280065
|
-
}
|
|
280066
|
-
}
|
|
280067
|
-
},
|
|
280068
|
-
{
|
|
280069
|
-
"tags": {
|
|
280070
|
-
"internal": ""
|
|
280071
|
-
},
|
|
280072
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
280073
|
-
"description": "",
|
|
280074
|
-
"displayName": "TogglePasswordVisibilityButton",
|
|
280075
|
-
"methods": [],
|
|
280076
|
-
"props": {
|
|
280077
|
-
"isDisabled": {
|
|
280078
|
-
"defaultValue": {
|
|
280079
|
-
"value": "false"
|
|
280080
|
-
},
|
|
280081
280085
|
"description": "",
|
|
280082
|
-
"name": "
|
|
280086
|
+
"name": "ref",
|
|
280083
280087
|
"parent": {
|
|
280084
|
-
"fileName": "components/src/components/
|
|
280085
|
-
"name": "
|
|
280088
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280089
|
+
"name": "PopoverContentProps"
|
|
280086
280090
|
},
|
|
280087
280091
|
"declarations": [
|
|
280088
280092
|
{
|
|
280089
|
-
"fileName": "components/src/components/
|
|
280090
|
-
"name": "
|
|
280093
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280094
|
+
"name": "PopoverContentProps"
|
|
280091
280095
|
}
|
|
280092
280096
|
],
|
|
280093
280097
|
"required": false,
|
|
280094
280098
|
"type": {
|
|
280095
|
-
"name": "
|
|
280099
|
+
"name": "Ref<HTMLElement>"
|
|
280096
280100
|
}
|
|
280097
280101
|
},
|
|
280098
|
-
"
|
|
280102
|
+
"triggerRef": {
|
|
280099
280103
|
"defaultValue": null,
|
|
280100
280104
|
"description": "",
|
|
280101
|
-
"name": "
|
|
280105
|
+
"name": "triggerRef",
|
|
280102
280106
|
"parent": {
|
|
280103
|
-
"fileName": "components/src/components/
|
|
280104
|
-
"name": "
|
|
280107
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280108
|
+
"name": "PopoverContentProps"
|
|
280105
280109
|
},
|
|
280106
280110
|
"declarations": [
|
|
280107
280111
|
{
|
|
280108
|
-
"fileName": "components/src/components/
|
|
280109
|
-
"name": "
|
|
280112
|
+
"fileName": "components/src/components/Popover/components/PopoverContent/PopoverContent.tsx",
|
|
280113
|
+
"name": "PopoverContentProps"
|
|
280110
280114
|
}
|
|
280111
280115
|
],
|
|
280112
|
-
"required":
|
|
280116
|
+
"required": false,
|
|
280113
280117
|
"type": {
|
|
280114
|
-
"name": "
|
|
280118
|
+
"name": "RefObject<Element | null>"
|
|
280115
280119
|
}
|
|
280116
280120
|
},
|
|
280117
|
-
"
|
|
280121
|
+
"children": {
|
|
280118
280122
|
"defaultValue": null,
|
|
280119
280123
|
"description": "",
|
|
280120
|
-
"name": "
|
|
280121
|
-
"parent": {
|
|
280122
|
-
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
280123
|
-
"name": "Props"
|
|
280124
|
-
},
|
|
280124
|
+
"name": "children",
|
|
280125
280125
|
"declarations": [
|
|
280126
280126
|
{
|
|
280127
|
-
"fileName": "
|
|
280128
|
-
"name": "
|
|
280127
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
280128
|
+
"name": "TypeLiteral"
|
|
280129
280129
|
}
|
|
280130
280130
|
],
|
|
280131
|
-
"required":
|
|
280131
|
+
"required": false,
|
|
280132
280132
|
"type": {
|
|
280133
|
-
"name": "
|
|
280133
|
+
"name": "ReactNode"
|
|
280134
280134
|
}
|
|
280135
280135
|
},
|
|
280136
280136
|
"className": {
|
|
@@ -316337,6 +316337,30 @@
|
|
|
316337
316337
|
}
|
|
316338
316338
|
}
|
|
316339
316339
|
},
|
|
316340
|
+
{
|
|
316341
|
+
"tags": {},
|
|
316342
|
+
"filePath": "src/integrations/nextjs/components/RouterProvider/RouterProvider.tsx",
|
|
316343
|
+
"description": "",
|
|
316344
|
+
"displayName": "RouterProvider",
|
|
316345
|
+
"methods": [],
|
|
316346
|
+
"props": {
|
|
316347
|
+
"children": {
|
|
316348
|
+
"defaultValue": null,
|
|
316349
|
+
"description": "",
|
|
316350
|
+
"name": "children",
|
|
316351
|
+
"declarations": [
|
|
316352
|
+
{
|
|
316353
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
316354
|
+
"name": "TypeLiteral"
|
|
316355
|
+
}
|
|
316356
|
+
],
|
|
316357
|
+
"required": false,
|
|
316358
|
+
"type": {
|
|
316359
|
+
"name": "ReactNode"
|
|
316360
|
+
}
|
|
316361
|
+
}
|
|
316362
|
+
}
|
|
316363
|
+
},
|
|
316340
316364
|
{
|
|
316341
316365
|
"tags": {},
|
|
316342
316366
|
"filePath": "src/integrations/react-hook-form/components/Field/Field.tsx",
|
|
@@ -317065,61 +317089,11 @@
|
|
|
317065
317089
|
}
|
|
317066
317090
|
}
|
|
317067
317091
|
},
|
|
317068
|
-
{
|
|
317069
|
-
"tags": {},
|
|
317070
|
-
"filePath": "src/integrations/nextjs/components/RouterProvider/RouterProvider.tsx",
|
|
317071
|
-
"description": "",
|
|
317072
|
-
"displayName": "RouterProvider",
|
|
317073
|
-
"methods": [],
|
|
317074
|
-
"props": {
|
|
317075
|
-
"children": {
|
|
317076
|
-
"defaultValue": null,
|
|
317077
|
-
"description": "",
|
|
317078
|
-
"name": "children",
|
|
317079
|
-
"declarations": [
|
|
317080
|
-
{
|
|
317081
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
317082
|
-
"name": "TypeLiteral"
|
|
317083
|
-
}
|
|
317084
|
-
],
|
|
317085
|
-
"required": false,
|
|
317086
|
-
"type": {
|
|
317087
|
-
"name": "ReactNode"
|
|
317088
|
-
}
|
|
317089
|
-
}
|
|
317090
|
-
}
|
|
317091
|
-
},
|
|
317092
|
-
{
|
|
317093
|
-
"tags": {
|
|
317094
|
-
"deprecated": "Use RouterProvider instead"
|
|
317095
|
-
},
|
|
317096
|
-
"filePath": "src/integrations/nextjs/components/LinkProvider/LinkProvider.tsx",
|
|
317097
|
-
"description": "",
|
|
317098
|
-
"displayName": "LinkProvider",
|
|
317099
|
-
"methods": [],
|
|
317100
|
-
"props": {
|
|
317101
|
-
"children": {
|
|
317102
|
-
"defaultValue": null,
|
|
317103
|
-
"description": "",
|
|
317104
|
-
"name": "children",
|
|
317105
|
-
"declarations": [
|
|
317106
|
-
{
|
|
317107
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
317108
|
-
"name": "TypeLiteral"
|
|
317109
|
-
}
|
|
317110
|
-
],
|
|
317111
|
-
"required": false,
|
|
317112
|
-
"type": {
|
|
317113
|
-
"name": "ReactNode"
|
|
317114
|
-
}
|
|
317115
|
-
}
|
|
317116
|
-
}
|
|
317117
|
-
},
|
|
317118
317092
|
{
|
|
317119
317093
|
"tags": {
|
|
317120
317094
|
"deprecated": "Use RouterProvider instead"
|
|
317121
317095
|
},
|
|
317122
|
-
"filePath": "
|
|
317096
|
+
"filePath": "src/integrations/nextjs/components/Link/Link.tsx",
|
|
317123
317097
|
"description": "",
|
|
317124
317098
|
"displayName": "Link",
|
|
317125
317099
|
"methods": [],
|
|
@@ -317129,12 +317103,12 @@
|
|
|
317129
317103
|
"description": "",
|
|
317130
317104
|
"name": "ref",
|
|
317131
317105
|
"parent": {
|
|
317132
|
-
"fileName": "
|
|
317106
|
+
"fileName": "src/integrations/nextjs/components/Link/Link.tsx",
|
|
317133
317107
|
"name": "Props"
|
|
317134
317108
|
},
|
|
317135
317109
|
"declarations": [
|
|
317136
317110
|
{
|
|
317137
|
-
"fileName": "
|
|
317111
|
+
"fileName": "src/integrations/nextjs/components/Link/Link.tsx",
|
|
317138
317112
|
"name": "Props"
|
|
317139
317113
|
}
|
|
317140
317114
|
],
|
|
@@ -317148,12 +317122,12 @@
|
|
|
317148
317122
|
"description": "",
|
|
317149
317123
|
"name": "isDisabled",
|
|
317150
317124
|
"parent": {
|
|
317151
|
-
"fileName": "
|
|
317125
|
+
"fileName": "src/integrations/nextjs/components/Link/Link.tsx",
|
|
317152
317126
|
"name": "Props"
|
|
317153
317127
|
},
|
|
317154
317128
|
"declarations": [
|
|
317155
317129
|
{
|
|
317156
|
-
"fileName": "
|
|
317130
|
+
"fileName": "src/integrations/nextjs/components/Link/Link.tsx",
|
|
317157
317131
|
"name": "Props"
|
|
317158
317132
|
}
|
|
317159
317133
|
],
|
|
@@ -322617,6 +322591,32 @@
|
|
|
322617
322591
|
}
|
|
322618
322592
|
}
|
|
322619
322593
|
},
|
|
322594
|
+
{
|
|
322595
|
+
"tags": {
|
|
322596
|
+
"deprecated": "Use RouterProvider instead"
|
|
322597
|
+
},
|
|
322598
|
+
"filePath": "src/integrations/nextjs/components/LinkProvider/LinkProvider.tsx",
|
|
322599
|
+
"description": "",
|
|
322600
|
+
"displayName": "LinkProvider",
|
|
322601
|
+
"methods": [],
|
|
322602
|
+
"props": {
|
|
322603
|
+
"children": {
|
|
322604
|
+
"defaultValue": null,
|
|
322605
|
+
"description": "",
|
|
322606
|
+
"name": "children",
|
|
322607
|
+
"declarations": [
|
|
322608
|
+
{
|
|
322609
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.2/node_modules/@types/react/index.d.ts",
|
|
322610
|
+
"name": "TypeLiteral"
|
|
322611
|
+
}
|
|
322612
|
+
],
|
|
322613
|
+
"required": false,
|
|
322614
|
+
"type": {
|
|
322615
|
+
"name": "ReactNode"
|
|
322616
|
+
}
|
|
322617
|
+
}
|
|
322618
|
+
}
|
|
322619
|
+
},
|
|
322620
322620
|
{
|
|
322621
322621
|
"tags": {},
|
|
322622
322622
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Table/components/TableLoadingView.tsx",
|
package/dist/js/components/src/components/List/components/Items/components/Item/Item.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.mjs","sources":["../../../../../../../../../../src/components/List/components/Items/components/Item/Item.tsx"],"sourcesContent":["import { useGridItemProps } from \"@/components/List/components/Items/components/Item/hooks/useGridItemProps\";\nimport { useList } from \"@/components/List/hooks/useList\";\nimport ItemsGridListItemView from \"@/views/ItemsGridListItemView\";\nimport type { FC, PropsWithChildren } from \"react\";\nimport { Suspense } from \"react\";\nimport type { Key } from \"react-aria-components\";\nimport styles from \"./Item.module.scss\";\nimport { ListItemSkeletonView } from \"./components/ListItemSkeletonView/ListItemSkeletonView\";\n\ninterface Props extends PropsWithChildren {\n id: Key;\n data: never;\n}\n\nexport const Item = (props: Props) => {\n const { id, data } = props;\n const list = useList();\n\n const itemView = list.itemView;\n\n const { gridItemProps, children } = useGridItemProps(props);\n\n if (!itemView) {\n return null;\n }\n\n const textValue = itemView.textValue ? itemView.textValue(data) : undefined;\n const href = itemView.href ? itemView.href(data) : undefined;\n const hasAction = !!gridItemProps.onAction || !!href;\n\n return (\n <ItemsGridListItemView\n id={id}\n textValue={textValue}\n href={href}\n hasAction={hasAction}\n isTile={list.viewMode === \"tiles\"}\n {...gridItemProps}\n >\n <Suspense fallback={<ListItemSkeletonView viewMode={list.viewMode} />}>\n {children}\n </Suspense>\n </ItemsGridListItemView>\n );\n};\n\nexport const ItemContainer: FC<Props> = (props) => {\n const list = useList();\n return (\n <ItemsGridListItemView\n textValue=\"-\"\n className={styles.item}\n isTile={list.viewMode === \"tiles\"}\n >\n {props.children}\n </ItemsGridListItemView>\n );\n};\n\nexport default Item;\n"],"names":[],"mappings":";;;;;;;;AAcO,MAAM,IAAA,GAAO,CAAC,KAAA,KAAiB;AACpC,EAAA,MAAM,EAAE,EAAA,EAAI,IAAA,EAAK,GAAI,KAAA;AACrB,EAAA,MAAM,OAAO,OAAA,EAAQ;AAErB,EAAA,MAAM,WAAW,IAAA,CAAK,QAAA;AAEtB,EAAA,MAAM,EAAE,aAAA,EAAe,QAAA,EAAS,GAAI,iBAAiB,KAAK,CAAA;AAE1D,EAAA,IAAI,CAAC,QAAA,EAAU;AACb,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,YAAY,QAAA,CAAS,SAAA,GAAY,QAAA,CAAS,SAAA,CAAU,IAAI,CAAA,GAAI,MAAA;AAClE,EAAA,MAAM,OAAO,QAAA,CAAS,IAAA,GAAO,QAAA,CAAS,IAAA,CAAK,IAAI,CAAA,GAAI,MAAA;AACnD,EAAA,MAAM,YAAY,CAAC,CAAC,aAAA,CAAc,QAAA,IAAY,CAAC,CAAC,IAAA;AAEhD,EAAA,uBACE,GAAA;AAAA,IAAC,qBAAA;AAAA,IAAA;AAAA,MACC,EAAA;AAAA,MACA,SAAA;AAAA,MACA,IAAA;AAAA,MACA,SAAA;AAAA,MACA,MAAA,EAAQ,KAAK,QAAA,KAAa,OAAA;AAAA,MACzB,GAAG,aAAA;AAAA,MAEJ,QAAA,kBAAA,GAAA,CAAC,YAAS,QAAA,kBAAU,GAAA,CAAC,wBAAqB,QAAA,EAAU,IAAA,CAAK,QAAA,EAAU,CAAA,EAChE,QAAA,EACH;AAAA;AAAA,GACF;AAEJ;AAEO,MAAM,aAAA,GAA2B,CAAC,KAAA,KAAU;AACjD,EAAA,MAAM,OAAO,OAAA,EAAQ;AACrB,EAAA,uBACE,GAAA;AAAA,IAAC,qBAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAU,GAAA;AAAA,MACV,WAAW,MAAA,CAAO,IAAA;AAAA,MAClB,MAAA,EAAQ,KAAK,QAAA,KAAa,OAAA;AAAA,MAEzB,QAAA,EAAA,KAAA,CAAM;AAAA;AAAA,GACT;AAEJ;;;;"}
|
|
1
|
+
{"version":3,"file":"Item.mjs","sources":["../../../../../../../../../../src/components/List/components/Items/components/Item/Item.tsx"],"sourcesContent":["import { useGridItemProps } from \"@/components/List/components/Items/components/Item/hooks/useGridItemProps\";\nimport { useList } from \"@/components/List/hooks/useList\";\nimport ItemsGridListItemView from \"@/views/ItemsGridListItemView\";\nimport type { FC, PropsWithChildren } from \"react\";\nimport { Suspense } from \"react\";\nimport type { Key } from \"react-aria-components\";\nimport styles from \"./Item.module.scss\";\nimport { ListItemSkeletonView } from \"./components/ListItemSkeletonView/ListItemSkeletonView\";\n\ninterface Props extends PropsWithChildren {\n id: Key;\n data: never;\n}\n\nexport const Item = (props: Props) => {\n const { id, data } = props;\n const list = useList();\n\n const itemView = list.itemView;\n\n const { gridItemProps, children } = useGridItemProps(props);\n\n if (!itemView) {\n return null;\n }\n\n const textValue = itemView.textValue ? itemView.textValue(data) : undefined;\n const href = itemView.href ? itemView.href(data) : undefined;\n const hasAction = !!gridItemProps.onAction || !!href;\n\n return (\n <ItemsGridListItemView\n id={id}\n textValue={textValue}\n href={href}\n target={itemView.target}\n hasAction={hasAction}\n isTile={list.viewMode === \"tiles\"}\n {...gridItemProps}\n >\n <Suspense fallback={<ListItemSkeletonView viewMode={list.viewMode} />}>\n {children}\n </Suspense>\n </ItemsGridListItemView>\n );\n};\n\nexport const ItemContainer: FC<Props> = (props) => {\n const list = useList();\n return (\n <ItemsGridListItemView\n textValue=\"-\"\n className={styles.item}\n isTile={list.viewMode === \"tiles\"}\n >\n {props.children}\n </ItemsGridListItemView>\n );\n};\n\nexport default Item;\n"],"names":[],"mappings":";;;;;;;;AAcO,MAAM,IAAA,GAAO,CAAC,KAAA,KAAiB;AACpC,EAAA,MAAM,EAAE,EAAA,EAAI,IAAA,EAAK,GAAI,KAAA;AACrB,EAAA,MAAM,OAAO,OAAA,EAAQ;AAErB,EAAA,MAAM,WAAW,IAAA,CAAK,QAAA;AAEtB,EAAA,MAAM,EAAE,aAAA,EAAe,QAAA,EAAS,GAAI,iBAAiB,KAAK,CAAA;AAE1D,EAAA,IAAI,CAAC,QAAA,EAAU;AACb,IAAA,OAAO,IAAA;AAAA,EACT;AAEA,EAAA,MAAM,YAAY,QAAA,CAAS,SAAA,GAAY,QAAA,CAAS,SAAA,CAAU,IAAI,CAAA,GAAI,MAAA;AAClE,EAAA,MAAM,OAAO,QAAA,CAAS,IAAA,GAAO,QAAA,CAAS,IAAA,CAAK,IAAI,CAAA,GAAI,MAAA;AACnD,EAAA,MAAM,YAAY,CAAC,CAAC,aAAA,CAAc,QAAA,IAAY,CAAC,CAAC,IAAA;AAEhD,EAAA,uBACE,GAAA;AAAA,IAAC,qBAAA;AAAA,IAAA;AAAA,MACC,EAAA;AAAA,MACA,SAAA;AAAA,MACA,IAAA;AAAA,MACA,QAAQ,QAAA,CAAS,MAAA;AAAA,MACjB,SAAA;AAAA,MACA,MAAA,EAAQ,KAAK,QAAA,KAAa,OAAA;AAAA,MACzB,GAAG,aAAA;AAAA,MAEJ,QAAA,kBAAA,GAAA,CAAC,YAAS,QAAA,kBAAU,GAAA,CAAC,wBAAqB,QAAA,EAAU,IAAA,CAAK,QAAA,EAAU,CAAA,EAChE,QAAA,EACH;AAAA;AAAA,GACF;AAEJ;AAEO,MAAM,aAAA,GAA2B,CAAC,KAAA,KAAU;AACjD,EAAA,MAAM,OAAO,OAAA,EAAQ;AACrB,EAAA,uBACE,GAAA;AAAA,IAAC,qBAAA;AAAA,IAAA;AAAA,MACC,SAAA,EAAU,GAAA;AAAA,MACV,WAAW,MAAA,CAAO,IAAA;AAAA,MAClB,MAAA,EAAQ,KAAK,QAAA,KAAa,OAAA;AAAA,MAEzB,QAAA,EAAA,KAAA,CAAM;AAAA;AAAA,GACT;AAEJ;;;;"}
|
|
@@ -6,6 +6,7 @@ class ItemView {
|
|
|
6
6
|
list;
|
|
7
7
|
textValue;
|
|
8
8
|
href;
|
|
9
|
+
target;
|
|
9
10
|
defaultExpanded;
|
|
10
11
|
fallback;
|
|
11
12
|
showTiles;
|
|
@@ -17,6 +18,7 @@ class ItemView {
|
|
|
17
18
|
fallback,
|
|
18
19
|
textValue,
|
|
19
20
|
href,
|
|
21
|
+
target,
|
|
20
22
|
defaultExpanded,
|
|
21
23
|
renderFn,
|
|
22
24
|
showTiles,
|
|
@@ -27,6 +29,7 @@ class ItemView {
|
|
|
27
29
|
this.textValue = textValue;
|
|
28
30
|
this.renderFn = renderFn;
|
|
29
31
|
this.href = href;
|
|
32
|
+
this.target = target;
|
|
30
33
|
this.defaultExpanded = defaultExpanded;
|
|
31
34
|
this.fallback = fallback;
|
|
32
35
|
this.showTiles = showTiles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemView.mjs","sources":["../../../../../../../../src/components/List/model/item/ItemView.ts"],"sourcesContent":["import type { ReactElement, ReactNode } from \"react\";\nimport { createElement } from \"react\";\nimport type { RenderItemFn } from \"@/components/List/model/item/types\";\nimport type List from \"@/components/List/model/List\";\n\nexport interface ItemViewShape<T> {\n textValue?: (data: T) => string;\n href?: (data: T) => string;\n defaultExpanded?: (data: T) => boolean;\n renderFn?: RenderItemFn<T>;\n fallback?: ReactElement;\n showList?: boolean;\n showTiles?: boolean;\n tileMaxWidth?: number;\n}\n\nexport class ItemView<T> {\n public readonly list: List<T>;\n public readonly textValue?: (data: T) => string;\n public readonly href?: (data: T) => string;\n public readonly defaultExpanded?: (data: T) => boolean;\n public readonly fallback?: ReactElement;\n public readonly showTiles?: boolean;\n public readonly showList?: boolean;\n public readonly tileMaxWidth: number;\n private readonly renderFn?: RenderItemFn<T>;\n\n public constructor(list: List<T>, shape: ItemViewShape<T> = {}) {\n const {\n fallback,\n textValue,\n href,\n defaultExpanded,\n renderFn,\n showTiles,\n showList = true,\n tileMaxWidth = 230,\n } = shape;\n this.list = list;\n this.textValue = textValue;\n this.renderFn = renderFn;\n this.href = href;\n this.defaultExpanded = defaultExpanded;\n this.fallback = fallback;\n this.showTiles = showTiles;\n this.showList = showList;\n this.tileMaxWidth = tileMaxWidth;\n }\n\n private static fallbackRenderItemFn: RenderItemFn<never> = (item) =>\n createElement(\"pre\", undefined, JSON.stringify(item));\n\n public render(data: T): ReactNode {\n const renderFn = (this.renderFn ??\n ItemView.fallbackRenderItemFn) as RenderItemFn<T>;\n return renderFn(data as never, this.list);\n }\n}\n"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ItemView.mjs","sources":["../../../../../../../../src/components/List/model/item/ItemView.ts"],"sourcesContent":["import type { HTMLAttributeAnchorTarget, ReactElement, ReactNode } from \"react\";\nimport { createElement } from \"react\";\nimport type { RenderItemFn } from \"@/components/List/model/item/types\";\nimport type List from \"@/components/List/model/List\";\n\nexport interface ItemViewShape<T> {\n textValue?: (data: T) => string;\n href?: (data: T) => string;\n target?: HTMLAttributeAnchorTarget;\n defaultExpanded?: (data: T) => boolean;\n renderFn?: RenderItemFn<T>;\n fallback?: ReactElement;\n showList?: boolean;\n showTiles?: boolean;\n tileMaxWidth?: number;\n}\n\nexport class ItemView<T> {\n public readonly list: List<T>;\n public readonly textValue?: (data: T) => string;\n public readonly href?: (data: T) => string;\n public readonly target?: HTMLAttributeAnchorTarget;\n public readonly defaultExpanded?: (data: T) => boolean;\n public readonly fallback?: ReactElement;\n public readonly showTiles?: boolean;\n public readonly showList?: boolean;\n public readonly tileMaxWidth: number;\n private readonly renderFn?: RenderItemFn<T>;\n\n public constructor(list: List<T>, shape: ItemViewShape<T> = {}) {\n const {\n fallback,\n textValue,\n href,\n target,\n defaultExpanded,\n renderFn,\n showTiles,\n showList = true,\n tileMaxWidth = 230,\n } = shape;\n this.list = list;\n this.textValue = textValue;\n this.renderFn = renderFn;\n this.href = href;\n this.target = target;\n this.defaultExpanded = defaultExpanded;\n this.fallback = fallback;\n this.showTiles = showTiles;\n this.showList = showList;\n this.tileMaxWidth = tileMaxWidth;\n }\n\n private static fallbackRenderItemFn: RenderItemFn<never> = (item) =>\n createElement(\"pre\", undefined, JSON.stringify(item));\n\n public render(data: T): ReactNode {\n const renderFn = (this.renderFn ??\n ItemView.fallbackRenderItemFn) as RenderItemFn<T>;\n return renderFn(data as never, this.list);\n }\n}\n"],"names":[],"mappings":";;AAiBO,MAAM,QAAA,CAAY;AAAA,EACP,IAAA;AAAA,EACA,SAAA;AAAA,EACA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,eAAA;AAAA,EACA,QAAA;AAAA,EACA,SAAA;AAAA,EACA,QAAA;AAAA,EACA,YAAA;AAAA,EACC,QAAA;AAAA,EAEV,WAAA,CAAY,IAAA,EAAe,KAAA,GAA0B,EAAC,EAAG;AAC9D,IAAA,MAAM;AAAA,MACJ,QAAA;AAAA,MACA,SAAA;AAAA,MACA,IAAA;AAAA,MACA,MAAA;AAAA,MACA,eAAA;AAAA,MACA,QAAA;AAAA,MACA,SAAA;AAAA,MACA,QAAA,GAAW,IAAA;AAAA,MACX,YAAA,GAAe;AAAA,KACjB,GAAI,KAAA;AACJ,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,SAAA,GAAY,SAAA;AACjB,IAAA,IAAA,CAAK,QAAA,GAAW,QAAA;AAChB,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,MAAA,GAAS,MAAA;AACd,IAAA,IAAA,CAAK,eAAA,GAAkB,eAAA;AACvB,IAAA,IAAA,CAAK,QAAA,GAAW,QAAA;AAChB,IAAA,IAAA,CAAK,SAAA,GAAY,SAAA;AACjB,IAAA,IAAA,CAAK,QAAA,GAAW,QAAA;AAChB,IAAA,IAAA,CAAK,YAAA,GAAe,YAAA;AAAA,EACtB;AAAA,EAEA,OAAe,oBAAA,GAA4C,CAAC,IAAA,KAC1D,aAAA,CAAc,OAAO,MAAA,EAAW,IAAA,CAAK,SAAA,CAAU,IAAI,CAAC,CAAA;AAAA,EAE/C,OAAO,IAAA,EAAoB;AAChC,IAAA,MAAM,QAAA,GAAY,IAAA,CAAK,QAAA,IACrB,QAAA,CAAS,oBAAA;AACX,IAAA,OAAO,QAAA,CAAS,IAAA,EAAe,IAAA,CAAK,IAAI,CAAA;AAAA,EAC1C;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Items/components/Item/Item.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAIjD,UAAU,KAAM,SAAQ,iBAAiB;IACvC,EAAE,EAAE,GAAG,CAAC;IACR,IAAI,EAAE,KAAK,CAAC;CACb;AAED,eAAO,MAAM,IAAI,GAAI,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Items/components/Item/Item.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAIjD,UAAU,KAAM,SAAQ,iBAAiB;IACvC,EAAE,EAAE,GAAG,CAAC;IACR,IAAI,EAAE,KAAK,CAAC;CACb;AAED,eAAO,MAAM,IAAI,GAAI,OAAO,KAAK,mDA+BhC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAWnC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
1
|
+
import { HTMLAttributeAnchorTarget, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { RenderItemFn } from './types';
|
|
3
3
|
import { default as List } from '../List';
|
|
4
4
|
export interface ItemViewShape<T> {
|
|
5
5
|
textValue?: (data: T) => string;
|
|
6
6
|
href?: (data: T) => string;
|
|
7
|
+
target?: HTMLAttributeAnchorTarget;
|
|
7
8
|
defaultExpanded?: (data: T) => boolean;
|
|
8
9
|
renderFn?: RenderItemFn<T>;
|
|
9
10
|
fallback?: ReactElement;
|
|
@@ -15,6 +16,7 @@ export declare class ItemView<T> {
|
|
|
15
16
|
readonly list: List<T>;
|
|
16
17
|
readonly textValue?: (data: T) => string;
|
|
17
18
|
readonly href?: (data: T) => string;
|
|
19
|
+
readonly target?: HTMLAttributeAnchorTarget;
|
|
18
20
|
readonly defaultExpanded?: (data: T) => boolean;
|
|
19
21
|
readonly fallback?: ReactElement;
|
|
20
22
|
readonly showTiles?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/item/ItemView.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ItemView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/item/ItemView.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AAErD,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAChC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IACvC,QAAQ,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAC3B,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,QAAQ,CAAC,CAAC;IACrB,SAAgB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC9B,SAAgB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAChD,SAAgB,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC3C,SAAgB,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnD,SAAgB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IACvD,SAAgB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxC,SAAgB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpC,SAAgB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnC,SAAgB,YAAY,EAAE,MAAM,CAAC;IACrC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAkB;gBAEzB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,GAAE,aAAa,CAAC,CAAC,CAAM;IAwB9D,OAAO,CAAC,MAAM,CAAC,oBAAoB,CACqB;IAEjD,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,SAAS;CAKlC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.537",
|
|
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.
|
|
61
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.537",
|
|
62
62
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
63
63
|
"@react-aria/form": "^3.1.2",
|
|
64
64
|
"@react-aria/live-announcer": "^3.4.4",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@faker-js/faker": "^10.1.0",
|
|
102
102
|
"@internationalized/date": "^3.10.0",
|
|
103
103
|
"@mittwald/flow-core": "",
|
|
104
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
104
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.537",
|
|
105
105
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
106
106
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.10",
|
|
107
107
|
"@mittwald/typescript-config": "",
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
"optional": true
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "5d7d227638c56a8b4de7a4b02d5cf07fdbe7204b"
|
|
178
178
|
}
|