@mittwald/flow-react-components 0.2.0-alpha.515 → 0.2.0-alpha.516
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 +7 -0
- package/dist/assets/doc-properties.json +367 -367
- package/dist/js/components/src/components/CheckboxGroup/CheckboxGroup.mjs +1 -1
- package/dist/js/components/src/components/CheckboxGroup/CheckboxGroup.mjs.map +1 -1
- package/dist/js/components/src/integrations/react-hook-form/components/Field/Field.mjs +1 -3
- package/dist/js/components/src/integrations/react-hook-form/components/Field/Field.mjs.map +1 -1
- package/dist/js/components/src/lib/componentFactory/flowComponent.mjs +7 -5
- package/dist/js/components/src/lib/componentFactory/flowComponent.mjs.map +1 -1
- package/dist/js/components/src/lib/propsContext/components/PropsContextProvider.mjs +4 -3
- package/dist/js/components/src/lib/propsContext/components/PropsContextProvider.mjs.map +1 -1
- package/dist/js/components/src/lib/propsContext/nestedPropsContext/lib.mjs +3 -2
- package/dist/js/components/src/lib/propsContext/nestedPropsContext/lib.mjs.map +1 -1
- package/dist/types/integrations/react-hook-form/components/Field/Field.d.ts.map +1 -1
- package/dist/types/lib/componentFactory/flowComponent.d.ts.map +1 -1
- package/dist/types/lib/propsContext/components/PropsContextProvider.d.ts.map +1 -1
- package/dist/types/lib/propsContext/nestedPropsContext/lib.d.ts +80 -1
- package/dist/types/lib/propsContext/nestedPropsContext/lib.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
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.516](https://github.com/mittwald/flow/compare/0.2.0-alpha.515...0.2.0-alpha.516) (2025-10-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **Checkbox:** fix issue with RHF ([a8951e4](https://github.com/mittwald/flow/commit/a8951e49a7cae87abce0d5ea2e0522f8563b9599))
|
|
11
|
+
* **PropsContext:** fix nesting level changes during re-render ([#2068](https://github.com/mittwald/flow/issues/2068)) ([31773e3](https://github.com/mittwald/flow/commit/31773e335bbb6b76a2d192d461c248c3a331b48b))
|
|
12
|
+
|
|
6
13
|
# [0.2.0-alpha.515](https://github.com/mittwald/flow/compare/0.2.0-alpha.514...0.2.0-alpha.515) (2025-10-09)
|
|
7
14
|
|
|
8
15
|
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
@@ -193980,11 +193980,49 @@
|
|
|
193980
193980
|
"tags": {
|
|
193981
193981
|
"flr-generate": "all"
|
|
193982
193982
|
},
|
|
193983
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/
|
|
193983
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/ContextMenu/ContextMenu.tsx",
|
|
193984
193984
|
"description": "",
|
|
193985
|
-
"displayName": "
|
|
193985
|
+
"displayName": "ContextMenu",
|
|
193986
193986
|
"methods": [],
|
|
193987
193987
|
"props": {
|
|
193988
|
+
"selectionMode": {
|
|
193989
|
+
"defaultValue": null,
|
|
193990
|
+
"description": "The type of selection that is allowed in the context menu.",
|
|
193991
|
+
"name": "selectionMode",
|
|
193992
|
+
"parent": {
|
|
193993
|
+
"fileName": "components/src/components/ContextMenu/ContextMenu.tsx",
|
|
193994
|
+
"name": "ContextMenuProps"
|
|
193995
|
+
},
|
|
193996
|
+
"declarations": [
|
|
193997
|
+
{
|
|
193998
|
+
"fileName": "components/src/components/ContextMenu/ContextMenu.tsx",
|
|
193999
|
+
"name": "ContextMenuProps"
|
|
194000
|
+
}
|
|
194001
|
+
],
|
|
194002
|
+
"required": false,
|
|
194003
|
+
"type": {
|
|
194004
|
+
"name": "ContextMenuSelectionMode"
|
|
194005
|
+
}
|
|
194006
|
+
},
|
|
194007
|
+
"width": {
|
|
194008
|
+
"defaultValue": null,
|
|
194009
|
+
"description": "Sets the context menu to a fixed width.",
|
|
194010
|
+
"name": "width",
|
|
194011
|
+
"parent": {
|
|
194012
|
+
"fileName": "components/src/components/ContextMenu/ContextMenu.tsx",
|
|
194013
|
+
"name": "ContextMenuProps"
|
|
194014
|
+
},
|
|
194015
|
+
"declarations": [
|
|
194016
|
+
{
|
|
194017
|
+
"fileName": "components/src/components/ContextMenu/ContextMenu.tsx",
|
|
194018
|
+
"name": "ContextMenuProps"
|
|
194019
|
+
}
|
|
194020
|
+
],
|
|
194021
|
+
"required": false,
|
|
194022
|
+
"type": {
|
|
194023
|
+
"name": "string | number"
|
|
194024
|
+
}
|
|
194025
|
+
},
|
|
193988
194026
|
"children": {
|
|
193989
194027
|
"defaultValue": null,
|
|
193990
194028
|
"description": "",
|
|
@@ -195781,25 +195819,6 @@
|
|
|
195781
195819
|
"name": "string | null"
|
|
195782
195820
|
}
|
|
195783
195821
|
},
|
|
195784
|
-
"width": {
|
|
195785
|
-
"defaultValue": null,
|
|
195786
|
-
"description": "A fixed width for the popover.",
|
|
195787
|
-
"name": "width",
|
|
195788
|
-
"parent": {
|
|
195789
|
-
"fileName": "components/src/components/Popover/Popover.tsx",
|
|
195790
|
-
"name": "PopoverProps"
|
|
195791
|
-
},
|
|
195792
|
-
"declarations": [
|
|
195793
|
-
{
|
|
195794
|
-
"fileName": "components/src/components/Popover/Popover.tsx",
|
|
195795
|
-
"name": "PopoverProps"
|
|
195796
|
-
}
|
|
195797
|
-
],
|
|
195798
|
-
"required": false,
|
|
195799
|
-
"type": {
|
|
195800
|
-
"name": "string | number"
|
|
195801
|
-
}
|
|
195802
|
-
},
|
|
195803
195822
|
"controller": {
|
|
195804
195823
|
"defaultValue": null,
|
|
195805
195824
|
"description": "An overlay controller to control the popover state.",
|
|
@@ -196016,56 +196035,132 @@
|
|
|
196016
196035
|
"type": {
|
|
196017
196036
|
"name": "boolean"
|
|
196018
196037
|
}
|
|
196019
|
-
}
|
|
196020
|
-
|
|
196021
|
-
},
|
|
196022
|
-
{
|
|
196023
|
-
"tags": {
|
|
196024
|
-
"flr-generate": "all"
|
|
196025
|
-
},
|
|
196026
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/ContextMenu/ContextMenu.tsx",
|
|
196027
|
-
"description": "",
|
|
196028
|
-
"displayName": "ContextMenu",
|
|
196029
|
-
"methods": [],
|
|
196030
|
-
"props": {
|
|
196031
|
-
"selectionMode": {
|
|
196038
|
+
},
|
|
196039
|
+
"onSelectionChange": {
|
|
196032
196040
|
"defaultValue": null,
|
|
196033
|
-
"description": "
|
|
196034
|
-
"name": "
|
|
196041
|
+
"description": "Handler that is called when the selection changes.",
|
|
196042
|
+
"name": "onSelectionChange",
|
|
196035
196043
|
"parent": {
|
|
196036
|
-
"fileName": "
|
|
196037
|
-
"name": "
|
|
196044
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
196045
|
+
"name": "MultipleSelection"
|
|
196038
196046
|
},
|
|
196039
196047
|
"declarations": [
|
|
196040
196048
|
{
|
|
196041
|
-
"fileName": "
|
|
196042
|
-
"name": "
|
|
196049
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
196050
|
+
"name": "MultipleSelection"
|
|
196043
196051
|
}
|
|
196044
196052
|
],
|
|
196045
196053
|
"required": false,
|
|
196046
196054
|
"type": {
|
|
196047
|
-
"name": "
|
|
196055
|
+
"name": "((keys: Selection) => void)"
|
|
196048
196056
|
}
|
|
196049
196057
|
},
|
|
196050
|
-
"
|
|
196058
|
+
"disabledKeys": {
|
|
196051
196059
|
"defaultValue": null,
|
|
196052
|
-
"description": "
|
|
196053
|
-
"name": "
|
|
196060
|
+
"description": "The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with.",
|
|
196061
|
+
"name": "disabledKeys",
|
|
196054
196062
|
"parent": {
|
|
196055
|
-
"fileName": "
|
|
196056
|
-
"name": "
|
|
196063
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/collections.d.ts",
|
|
196064
|
+
"name": "CollectionBase"
|
|
196057
196065
|
},
|
|
196058
196066
|
"declarations": [
|
|
196059
196067
|
{
|
|
196060
|
-
"fileName": "
|
|
196061
|
-
"name": "
|
|
196068
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/collections.d.ts",
|
|
196069
|
+
"name": "CollectionBase"
|
|
196062
196070
|
}
|
|
196063
196071
|
],
|
|
196064
196072
|
"required": false,
|
|
196065
196073
|
"type": {
|
|
196066
|
-
"name": "
|
|
196074
|
+
"name": "Iterable<Key>"
|
|
196067
196075
|
}
|
|
196068
196076
|
},
|
|
196077
|
+
"selectedKeys": {
|
|
196078
|
+
"defaultValue": null,
|
|
196079
|
+
"description": "The currently selected keys in the collection (controlled).",
|
|
196080
|
+
"name": "selectedKeys",
|
|
196081
|
+
"parent": {
|
|
196082
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
196083
|
+
"name": "MultipleSelection"
|
|
196084
|
+
},
|
|
196085
|
+
"declarations": [
|
|
196086
|
+
{
|
|
196087
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
196088
|
+
"name": "MultipleSelection"
|
|
196089
|
+
}
|
|
196090
|
+
],
|
|
196091
|
+
"required": false,
|
|
196092
|
+
"type": {
|
|
196093
|
+
"name": "\"all\" | Iterable<Key>"
|
|
196094
|
+
}
|
|
196095
|
+
},
|
|
196096
|
+
"defaultSelectedKeys": {
|
|
196097
|
+
"defaultValue": null,
|
|
196098
|
+
"description": "The initial selected keys in the collection (uncontrolled).",
|
|
196099
|
+
"name": "defaultSelectedKeys",
|
|
196100
|
+
"parent": {
|
|
196101
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
196102
|
+
"name": "MultipleSelection"
|
|
196103
|
+
},
|
|
196104
|
+
"declarations": [
|
|
196105
|
+
{
|
|
196106
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
196107
|
+
"name": "MultipleSelection"
|
|
196108
|
+
}
|
|
196109
|
+
],
|
|
196110
|
+
"required": false,
|
|
196111
|
+
"type": {
|
|
196112
|
+
"name": "\"all\" | Iterable<Key>"
|
|
196113
|
+
}
|
|
196114
|
+
},
|
|
196115
|
+
"renderEmptyState": {
|
|
196116
|
+
"defaultValue": null,
|
|
196117
|
+
"description": "Provides content to display when there are no items in the list.",
|
|
196118
|
+
"name": "renderEmptyState",
|
|
196119
|
+
"parent": {
|
|
196120
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-aria-components/dist/types.d.ts",
|
|
196121
|
+
"name": "ListBoxProps"
|
|
196122
|
+
},
|
|
196123
|
+
"declarations": [
|
|
196124
|
+
{
|
|
196125
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-aria-components/dist/types.d.ts",
|
|
196126
|
+
"name": "ListBoxProps"
|
|
196127
|
+
}
|
|
196128
|
+
],
|
|
196129
|
+
"required": false,
|
|
196130
|
+
"type": {
|
|
196131
|
+
"name": "((props: ListBoxRenderProps) => ReactNode)"
|
|
196132
|
+
}
|
|
196133
|
+
},
|
|
196134
|
+
"onAction": {
|
|
196135
|
+
"defaultValue": null,
|
|
196136
|
+
"description": "Handler that is called when an item is selected.",
|
|
196137
|
+
"name": "onAction",
|
|
196138
|
+
"parent": {
|
|
196139
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+menu@3.10.4_react@19.1.1/node_modules/@react-types/menu/src/index.d.ts",
|
|
196140
|
+
"name": "MenuProps"
|
|
196141
|
+
},
|
|
196142
|
+
"declarations": [
|
|
196143
|
+
{
|
|
196144
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+menu@3.10.4_react@19.1.1/node_modules/@react-types/menu/src/index.d.ts",
|
|
196145
|
+
"name": "MenuProps"
|
|
196146
|
+
}
|
|
196147
|
+
],
|
|
196148
|
+
"required": false,
|
|
196149
|
+
"type": {
|
|
196150
|
+
"name": "((key: Key) => void)"
|
|
196151
|
+
}
|
|
196152
|
+
}
|
|
196153
|
+
}
|
|
196154
|
+
},
|
|
196155
|
+
{
|
|
196156
|
+
"tags": {
|
|
196157
|
+
"flr-generate": "all"
|
|
196158
|
+
},
|
|
196159
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/ContextualHelp/ContextualHelp.tsx",
|
|
196160
|
+
"description": "",
|
|
196161
|
+
"displayName": "ContextualHelp",
|
|
196162
|
+
"methods": [],
|
|
196163
|
+
"props": {
|
|
196069
196164
|
"children": {
|
|
196070
196165
|
"defaultValue": null,
|
|
196071
196166
|
"description": "",
|
|
@@ -197862,6 +197957,25 @@
|
|
|
197862
197957
|
"name": "string | null"
|
|
197863
197958
|
}
|
|
197864
197959
|
},
|
|
197960
|
+
"width": {
|
|
197961
|
+
"defaultValue": null,
|
|
197962
|
+
"description": "A fixed width for the popover.",
|
|
197963
|
+
"name": "width",
|
|
197964
|
+
"parent": {
|
|
197965
|
+
"fileName": "components/src/components/Popover/Popover.tsx",
|
|
197966
|
+
"name": "PopoverProps"
|
|
197967
|
+
},
|
|
197968
|
+
"declarations": [
|
|
197969
|
+
{
|
|
197970
|
+
"fileName": "components/src/components/Popover/Popover.tsx",
|
|
197971
|
+
"name": "PopoverProps"
|
|
197972
|
+
}
|
|
197973
|
+
],
|
|
197974
|
+
"required": false,
|
|
197975
|
+
"type": {
|
|
197976
|
+
"name": "string | number"
|
|
197977
|
+
}
|
|
197978
|
+
},
|
|
197865
197979
|
"controller": {
|
|
197866
197980
|
"defaultValue": null,
|
|
197867
197981
|
"description": "An overlay controller to control the popover state.",
|
|
@@ -198078,120 +198192,6 @@
|
|
|
198078
198192
|
"type": {
|
|
198079
198193
|
"name": "boolean"
|
|
198080
198194
|
}
|
|
198081
|
-
},
|
|
198082
|
-
"onSelectionChange": {
|
|
198083
|
-
"defaultValue": null,
|
|
198084
|
-
"description": "Handler that is called when the selection changes.",
|
|
198085
|
-
"name": "onSelectionChange",
|
|
198086
|
-
"parent": {
|
|
198087
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
198088
|
-
"name": "MultipleSelection"
|
|
198089
|
-
},
|
|
198090
|
-
"declarations": [
|
|
198091
|
-
{
|
|
198092
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
198093
|
-
"name": "MultipleSelection"
|
|
198094
|
-
}
|
|
198095
|
-
],
|
|
198096
|
-
"required": false,
|
|
198097
|
-
"type": {
|
|
198098
|
-
"name": "((keys: Selection) => void)"
|
|
198099
|
-
}
|
|
198100
|
-
},
|
|
198101
|
-
"disabledKeys": {
|
|
198102
|
-
"defaultValue": null,
|
|
198103
|
-
"description": "The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with.",
|
|
198104
|
-
"name": "disabledKeys",
|
|
198105
|
-
"parent": {
|
|
198106
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/collections.d.ts",
|
|
198107
|
-
"name": "CollectionBase"
|
|
198108
|
-
},
|
|
198109
|
-
"declarations": [
|
|
198110
|
-
{
|
|
198111
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/collections.d.ts",
|
|
198112
|
-
"name": "CollectionBase"
|
|
198113
|
-
}
|
|
198114
|
-
],
|
|
198115
|
-
"required": false,
|
|
198116
|
-
"type": {
|
|
198117
|
-
"name": "Iterable<Key>"
|
|
198118
|
-
}
|
|
198119
|
-
},
|
|
198120
|
-
"selectedKeys": {
|
|
198121
|
-
"defaultValue": null,
|
|
198122
|
-
"description": "The currently selected keys in the collection (controlled).",
|
|
198123
|
-
"name": "selectedKeys",
|
|
198124
|
-
"parent": {
|
|
198125
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
198126
|
-
"name": "MultipleSelection"
|
|
198127
|
-
},
|
|
198128
|
-
"declarations": [
|
|
198129
|
-
{
|
|
198130
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
198131
|
-
"name": "MultipleSelection"
|
|
198132
|
-
}
|
|
198133
|
-
],
|
|
198134
|
-
"required": false,
|
|
198135
|
-
"type": {
|
|
198136
|
-
"name": "\"all\" | Iterable<Key>"
|
|
198137
|
-
}
|
|
198138
|
-
},
|
|
198139
|
-
"defaultSelectedKeys": {
|
|
198140
|
-
"defaultValue": null,
|
|
198141
|
-
"description": "The initial selected keys in the collection (uncontrolled).",
|
|
198142
|
-
"name": "defaultSelectedKeys",
|
|
198143
|
-
"parent": {
|
|
198144
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
198145
|
-
"name": "MultipleSelection"
|
|
198146
|
-
},
|
|
198147
|
-
"declarations": [
|
|
198148
|
-
{
|
|
198149
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.0_react@19.1.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
198150
|
-
"name": "MultipleSelection"
|
|
198151
|
-
}
|
|
198152
|
-
],
|
|
198153
|
-
"required": false,
|
|
198154
|
-
"type": {
|
|
198155
|
-
"name": "\"all\" | Iterable<Key>"
|
|
198156
|
-
}
|
|
198157
|
-
},
|
|
198158
|
-
"renderEmptyState": {
|
|
198159
|
-
"defaultValue": null,
|
|
198160
|
-
"description": "Provides content to display when there are no items in the list.",
|
|
198161
|
-
"name": "renderEmptyState",
|
|
198162
|
-
"parent": {
|
|
198163
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-aria-components/dist/types.d.ts",
|
|
198164
|
-
"name": "ListBoxProps"
|
|
198165
|
-
},
|
|
198166
|
-
"declarations": [
|
|
198167
|
-
{
|
|
198168
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-aria-components/dist/types.d.ts",
|
|
198169
|
-
"name": "ListBoxProps"
|
|
198170
|
-
}
|
|
198171
|
-
],
|
|
198172
|
-
"required": false,
|
|
198173
|
-
"type": {
|
|
198174
|
-
"name": "((props: ListBoxRenderProps) => ReactNode)"
|
|
198175
|
-
}
|
|
198176
|
-
},
|
|
198177
|
-
"onAction": {
|
|
198178
|
-
"defaultValue": null,
|
|
198179
|
-
"description": "Handler that is called when an item is selected.",
|
|
198180
|
-
"name": "onAction",
|
|
198181
|
-
"parent": {
|
|
198182
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+menu@3.10.4_react@19.1.1/node_modules/@react-types/menu/src/index.d.ts",
|
|
198183
|
-
"name": "MenuProps"
|
|
198184
|
-
},
|
|
198185
|
-
"declarations": [
|
|
198186
|
-
{
|
|
198187
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+menu@3.10.4_react@19.1.1/node_modules/@react-types/menu/src/index.d.ts",
|
|
198188
|
-
"name": "MenuProps"
|
|
198189
|
-
}
|
|
198190
|
-
],
|
|
198191
|
-
"required": false,
|
|
198192
|
-
"type": {
|
|
198193
|
-
"name": "((key: Key) => void)"
|
|
198194
|
-
}
|
|
198195
198195
|
}
|
|
198196
198196
|
}
|
|
198197
198197
|
},
|
|
@@ -215903,6 +215903,70 @@
|
|
|
215903
215903
|
}
|
|
215904
215904
|
}
|
|
215905
215905
|
},
|
|
215906
|
+
{
|
|
215907
|
+
"tags": {
|
|
215908
|
+
"flr-generate": "all"
|
|
215909
|
+
},
|
|
215910
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Chat/Chat.tsx",
|
|
215911
|
+
"description": "",
|
|
215912
|
+
"displayName": "Chat",
|
|
215913
|
+
"methods": [],
|
|
215914
|
+
"props": {
|
|
215915
|
+
"height": {
|
|
215916
|
+
"defaultValue": null,
|
|
215917
|
+
"description": "",
|
|
215918
|
+
"name": "height",
|
|
215919
|
+
"parent": {
|
|
215920
|
+
"fileName": "components/src/components/Chat/Chat.tsx",
|
|
215921
|
+
"name": "ChatProps"
|
|
215922
|
+
},
|
|
215923
|
+
"declarations": [
|
|
215924
|
+
{
|
|
215925
|
+
"fileName": "components/src/components/Chat/Chat.tsx",
|
|
215926
|
+
"name": "ChatProps"
|
|
215927
|
+
}
|
|
215928
|
+
],
|
|
215929
|
+
"required": false,
|
|
215930
|
+
"type": {
|
|
215931
|
+
"name": "Height<string | number>"
|
|
215932
|
+
}
|
|
215933
|
+
},
|
|
215934
|
+
"children": {
|
|
215935
|
+
"defaultValue": null,
|
|
215936
|
+
"description": "",
|
|
215937
|
+
"name": "children",
|
|
215938
|
+
"declarations": [
|
|
215939
|
+
{
|
|
215940
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
215941
|
+
"name": "TypeLiteral"
|
|
215942
|
+
}
|
|
215943
|
+
],
|
|
215944
|
+
"required": false,
|
|
215945
|
+
"type": {
|
|
215946
|
+
"name": "ReactNode"
|
|
215947
|
+
}
|
|
215948
|
+
},
|
|
215949
|
+
"className": {
|
|
215950
|
+
"defaultValue": null,
|
|
215951
|
+
"description": "The elements class name.",
|
|
215952
|
+
"name": "className",
|
|
215953
|
+
"parent": {
|
|
215954
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
215955
|
+
"name": "PropsWithClassName"
|
|
215956
|
+
},
|
|
215957
|
+
"declarations": [
|
|
215958
|
+
{
|
|
215959
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
215960
|
+
"name": "PropsWithClassName"
|
|
215961
|
+
}
|
|
215962
|
+
],
|
|
215963
|
+
"required": false,
|
|
215964
|
+
"type": {
|
|
215965
|
+
"name": "string"
|
|
215966
|
+
}
|
|
215967
|
+
}
|
|
215968
|
+
}
|
|
215969
|
+
},
|
|
215906
215970
|
{
|
|
215907
215971
|
"tags": {
|
|
215908
215972
|
"flr-generate": "all"
|
|
@@ -218059,70 +218123,6 @@
|
|
|
218059
218123
|
}
|
|
218060
218124
|
}
|
|
218061
218125
|
},
|
|
218062
|
-
{
|
|
218063
|
-
"tags": {
|
|
218064
|
-
"flr-generate": "all"
|
|
218065
|
-
},
|
|
218066
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Chat/Chat.tsx",
|
|
218067
|
-
"description": "",
|
|
218068
|
-
"displayName": "Chat",
|
|
218069
|
-
"methods": [],
|
|
218070
|
-
"props": {
|
|
218071
|
-
"height": {
|
|
218072
|
-
"defaultValue": null,
|
|
218073
|
-
"description": "",
|
|
218074
|
-
"name": "height",
|
|
218075
|
-
"parent": {
|
|
218076
|
-
"fileName": "components/src/components/Chat/Chat.tsx",
|
|
218077
|
-
"name": "ChatProps"
|
|
218078
|
-
},
|
|
218079
|
-
"declarations": [
|
|
218080
|
-
{
|
|
218081
|
-
"fileName": "components/src/components/Chat/Chat.tsx",
|
|
218082
|
-
"name": "ChatProps"
|
|
218083
|
-
}
|
|
218084
|
-
],
|
|
218085
|
-
"required": false,
|
|
218086
|
-
"type": {
|
|
218087
|
-
"name": "Height<string | number>"
|
|
218088
|
-
}
|
|
218089
|
-
},
|
|
218090
|
-
"children": {
|
|
218091
|
-
"defaultValue": null,
|
|
218092
|
-
"description": "",
|
|
218093
|
-
"name": "children",
|
|
218094
|
-
"declarations": [
|
|
218095
|
-
{
|
|
218096
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
218097
|
-
"name": "TypeLiteral"
|
|
218098
|
-
}
|
|
218099
|
-
],
|
|
218100
|
-
"required": false,
|
|
218101
|
-
"type": {
|
|
218102
|
-
"name": "ReactNode"
|
|
218103
|
-
}
|
|
218104
|
-
},
|
|
218105
|
-
"className": {
|
|
218106
|
-
"defaultValue": null,
|
|
218107
|
-
"description": "The elements class name.",
|
|
218108
|
-
"name": "className",
|
|
218109
|
-
"parent": {
|
|
218110
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
218111
|
-
"name": "PropsWithClassName"
|
|
218112
|
-
},
|
|
218113
|
-
"declarations": [
|
|
218114
|
-
{
|
|
218115
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
218116
|
-
"name": "PropsWithClassName"
|
|
218117
|
-
}
|
|
218118
|
-
],
|
|
218119
|
-
"required": false,
|
|
218120
|
-
"type": {
|
|
218121
|
-
"name": "string"
|
|
218122
|
-
}
|
|
218123
|
-
}
|
|
218124
|
-
}
|
|
218125
|
-
},
|
|
218126
218126
|
{
|
|
218127
218127
|
"tags": {
|
|
218128
218128
|
"flr-generate": "all"
|
|
@@ -300620,146 +300620,6 @@
|
|
|
300620
300620
|
}
|
|
300621
300621
|
}
|
|
300622
300622
|
},
|
|
300623
|
-
{
|
|
300624
|
-
"tags": {
|
|
300625
|
-
"flr-generate": "all"
|
|
300626
|
-
},
|
|
300627
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/ContextualHelp/components/ContextualHelpTrigger/ContextualHelpTrigger.tsx",
|
|
300628
|
-
"description": "",
|
|
300629
|
-
"displayName": "ContextualHelpTrigger",
|
|
300630
|
-
"methods": [],
|
|
300631
|
-
"props": {
|
|
300632
|
-
"isDefaultOpen": {
|
|
300633
|
-
"defaultValue": null,
|
|
300634
|
-
"description": "Whether the overlay should be open initially.",
|
|
300635
|
-
"name": "isDefaultOpen",
|
|
300636
|
-
"parent": {
|
|
300637
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
300638
|
-
"name": "OverlayTriggerProps"
|
|
300639
|
-
},
|
|
300640
|
-
"declarations": [
|
|
300641
|
-
{
|
|
300642
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
300643
|
-
"name": "OverlayTriggerProps"
|
|
300644
|
-
}
|
|
300645
|
-
],
|
|
300646
|
-
"required": false,
|
|
300647
|
-
"type": {
|
|
300648
|
-
"name": "boolean"
|
|
300649
|
-
}
|
|
300650
|
-
},
|
|
300651
|
-
"controller": {
|
|
300652
|
-
"defaultValue": null,
|
|
300653
|
-
"description": "A controller to control the state of the overlay.",
|
|
300654
|
-
"name": "controller",
|
|
300655
|
-
"parent": {
|
|
300656
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
300657
|
-
"name": "OverlayTriggerProps"
|
|
300658
|
-
},
|
|
300659
|
-
"declarations": [
|
|
300660
|
-
{
|
|
300661
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
300662
|
-
"name": "OverlayTriggerProps"
|
|
300663
|
-
}
|
|
300664
|
-
],
|
|
300665
|
-
"required": false,
|
|
300666
|
-
"type": {
|
|
300667
|
-
"name": "OverlayController"
|
|
300668
|
-
}
|
|
300669
|
-
},
|
|
300670
|
-
"wrapWith": {
|
|
300671
|
-
"defaultValue": null,
|
|
300672
|
-
"description": "",
|
|
300673
|
-
"name": "wrapWith",
|
|
300674
|
-
"parent": {
|
|
300675
|
-
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
300676
|
-
"name": "FlowComponentProps"
|
|
300677
|
-
},
|
|
300678
|
-
"declarations": [
|
|
300679
|
-
{
|
|
300680
|
-
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
300681
|
-
"name": "FlowComponentProps"
|
|
300682
|
-
}
|
|
300683
|
-
],
|
|
300684
|
-
"required": false,
|
|
300685
|
-
"type": {
|
|
300686
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
300687
|
-
}
|
|
300688
|
-
},
|
|
300689
|
-
"tunnelId": {
|
|
300690
|
-
"defaultValue": null,
|
|
300691
|
-
"description": "@internal",
|
|
300692
|
-
"name": "tunnelId",
|
|
300693
|
-
"parent": {
|
|
300694
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
300695
|
-
"name": "PropsWithTunnel"
|
|
300696
|
-
},
|
|
300697
|
-
"declarations": [
|
|
300698
|
-
{
|
|
300699
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
300700
|
-
"name": "PropsWithTunnel"
|
|
300701
|
-
}
|
|
300702
|
-
],
|
|
300703
|
-
"required": false,
|
|
300704
|
-
"type": {
|
|
300705
|
-
"name": "string | null"
|
|
300706
|
-
}
|
|
300707
|
-
},
|
|
300708
|
-
"ref": {
|
|
300709
|
-
"defaultValue": null,
|
|
300710
|
-
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
|
|
300711
|
-
"name": "ref",
|
|
300712
|
-
"parent": {
|
|
300713
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
300714
|
-
"name": "RefAttributes"
|
|
300715
|
-
},
|
|
300716
|
-
"declarations": [
|
|
300717
|
-
{
|
|
300718
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
300719
|
-
"name": "RefAttributes"
|
|
300720
|
-
}
|
|
300721
|
-
],
|
|
300722
|
-
"required": false,
|
|
300723
|
-
"type": {
|
|
300724
|
-
"name": "Ref<HTMLInputElement>"
|
|
300725
|
-
}
|
|
300726
|
-
},
|
|
300727
|
-
"key": {
|
|
300728
|
-
"defaultValue": null,
|
|
300729
|
-
"description": "",
|
|
300730
|
-
"name": "key",
|
|
300731
|
-
"parent": {
|
|
300732
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
300733
|
-
"name": "Attributes"
|
|
300734
|
-
},
|
|
300735
|
-
"declarations": [
|
|
300736
|
-
{
|
|
300737
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
300738
|
-
"name": "Attributes"
|
|
300739
|
-
}
|
|
300740
|
-
],
|
|
300741
|
-
"required": false,
|
|
300742
|
-
"type": {
|
|
300743
|
-
"name": "Key | null"
|
|
300744
|
-
}
|
|
300745
|
-
},
|
|
300746
|
-
"children": {
|
|
300747
|
-
"defaultValue": null,
|
|
300748
|
-
"description": "",
|
|
300749
|
-
"name": "children",
|
|
300750
|
-
"declarations": [
|
|
300751
|
-
{
|
|
300752
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
300753
|
-
"name": "TypeLiteral"
|
|
300754
|
-
}
|
|
300755
|
-
],
|
|
300756
|
-
"required": false,
|
|
300757
|
-
"type": {
|
|
300758
|
-
"name": "ReactNode"
|
|
300759
|
-
}
|
|
300760
|
-
}
|
|
300761
|
-
}
|
|
300762
|
-
},
|
|
300763
300623
|
{
|
|
300764
300624
|
"tags": {
|
|
300765
300625
|
"flr-generate": "all"
|
|
@@ -302854,6 +302714,146 @@
|
|
|
302854
302714
|
}
|
|
302855
302715
|
}
|
|
302856
302716
|
},
|
|
302717
|
+
{
|
|
302718
|
+
"tags": {
|
|
302719
|
+
"flr-generate": "all"
|
|
302720
|
+
},
|
|
302721
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/ContextualHelp/components/ContextualHelpTrigger/ContextualHelpTrigger.tsx",
|
|
302722
|
+
"description": "",
|
|
302723
|
+
"displayName": "ContextualHelpTrigger",
|
|
302724
|
+
"methods": [],
|
|
302725
|
+
"props": {
|
|
302726
|
+
"isDefaultOpen": {
|
|
302727
|
+
"defaultValue": null,
|
|
302728
|
+
"description": "Whether the overlay should be open initially.",
|
|
302729
|
+
"name": "isDefaultOpen",
|
|
302730
|
+
"parent": {
|
|
302731
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
302732
|
+
"name": "OverlayTriggerProps"
|
|
302733
|
+
},
|
|
302734
|
+
"declarations": [
|
|
302735
|
+
{
|
|
302736
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
302737
|
+
"name": "OverlayTriggerProps"
|
|
302738
|
+
}
|
|
302739
|
+
],
|
|
302740
|
+
"required": false,
|
|
302741
|
+
"type": {
|
|
302742
|
+
"name": "boolean"
|
|
302743
|
+
}
|
|
302744
|
+
},
|
|
302745
|
+
"controller": {
|
|
302746
|
+
"defaultValue": null,
|
|
302747
|
+
"description": "A controller to control the state of the overlay.",
|
|
302748
|
+
"name": "controller",
|
|
302749
|
+
"parent": {
|
|
302750
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
302751
|
+
"name": "OverlayTriggerProps"
|
|
302752
|
+
},
|
|
302753
|
+
"declarations": [
|
|
302754
|
+
{
|
|
302755
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
302756
|
+
"name": "OverlayTriggerProps"
|
|
302757
|
+
}
|
|
302758
|
+
],
|
|
302759
|
+
"required": false,
|
|
302760
|
+
"type": {
|
|
302761
|
+
"name": "OverlayController"
|
|
302762
|
+
}
|
|
302763
|
+
},
|
|
302764
|
+
"wrapWith": {
|
|
302765
|
+
"defaultValue": null,
|
|
302766
|
+
"description": "",
|
|
302767
|
+
"name": "wrapWith",
|
|
302768
|
+
"parent": {
|
|
302769
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
302770
|
+
"name": "FlowComponentProps"
|
|
302771
|
+
},
|
|
302772
|
+
"declarations": [
|
|
302773
|
+
{
|
|
302774
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
302775
|
+
"name": "FlowComponentProps"
|
|
302776
|
+
}
|
|
302777
|
+
],
|
|
302778
|
+
"required": false,
|
|
302779
|
+
"type": {
|
|
302780
|
+
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
302781
|
+
}
|
|
302782
|
+
},
|
|
302783
|
+
"tunnelId": {
|
|
302784
|
+
"defaultValue": null,
|
|
302785
|
+
"description": "@internal",
|
|
302786
|
+
"name": "tunnelId",
|
|
302787
|
+
"parent": {
|
|
302788
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
302789
|
+
"name": "PropsWithTunnel"
|
|
302790
|
+
},
|
|
302791
|
+
"declarations": [
|
|
302792
|
+
{
|
|
302793
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
302794
|
+
"name": "PropsWithTunnel"
|
|
302795
|
+
}
|
|
302796
|
+
],
|
|
302797
|
+
"required": false,
|
|
302798
|
+
"type": {
|
|
302799
|
+
"name": "string | null"
|
|
302800
|
+
}
|
|
302801
|
+
},
|
|
302802
|
+
"ref": {
|
|
302803
|
+
"defaultValue": null,
|
|
302804
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
|
|
302805
|
+
"name": "ref",
|
|
302806
|
+
"parent": {
|
|
302807
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
302808
|
+
"name": "RefAttributes"
|
|
302809
|
+
},
|
|
302810
|
+
"declarations": [
|
|
302811
|
+
{
|
|
302812
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
302813
|
+
"name": "RefAttributes"
|
|
302814
|
+
}
|
|
302815
|
+
],
|
|
302816
|
+
"required": false,
|
|
302817
|
+
"type": {
|
|
302818
|
+
"name": "Ref<HTMLInputElement>"
|
|
302819
|
+
}
|
|
302820
|
+
},
|
|
302821
|
+
"key": {
|
|
302822
|
+
"defaultValue": null,
|
|
302823
|
+
"description": "",
|
|
302824
|
+
"name": "key",
|
|
302825
|
+
"parent": {
|
|
302826
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
302827
|
+
"name": "Attributes"
|
|
302828
|
+
},
|
|
302829
|
+
"declarations": [
|
|
302830
|
+
{
|
|
302831
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
302832
|
+
"name": "Attributes"
|
|
302833
|
+
}
|
|
302834
|
+
],
|
|
302835
|
+
"required": false,
|
|
302836
|
+
"type": {
|
|
302837
|
+
"name": "Key | null"
|
|
302838
|
+
}
|
|
302839
|
+
},
|
|
302840
|
+
"children": {
|
|
302841
|
+
"defaultValue": null,
|
|
302842
|
+
"description": "",
|
|
302843
|
+
"name": "children",
|
|
302844
|
+
"declarations": [
|
|
302845
|
+
{
|
|
302846
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.13/node_modules/@types/react/index.d.ts",
|
|
302847
|
+
"name": "TypeLiteral"
|
|
302848
|
+
}
|
|
302849
|
+
],
|
|
302850
|
+
"required": false,
|
|
302851
|
+
"type": {
|
|
302852
|
+
"name": "ReactNode"
|
|
302853
|
+
}
|
|
302854
|
+
}
|
|
302855
|
+
}
|
|
302856
|
+
},
|
|
302857
302857
|
{
|
|
302858
302858
|
"tags": {
|
|
302859
302859
|
"flr-generate": "all"
|
|
@@ -47,7 +47,7 @@ const CheckboxGroup = flowComponent("CheckboxGroup", (props) => {
|
|
|
47
47
|
className: rootClassName,
|
|
48
48
|
ref: localCheckboxGroupRef,
|
|
49
49
|
children: [
|
|
50
|
-
/* @__PURE__ */ jsx(PropsContextProvider, { props: propsContext, children: /* @__PURE__ */ jsxs(TunnelProvider, { children: [
|
|
50
|
+
/* @__PURE__ */ jsx(PropsContextProvider, { props: propsContext, clear: true, children: /* @__PURE__ */ jsxs(TunnelProvider, { children: [
|
|
51
51
|
children,
|
|
52
52
|
/* @__PURE__ */ jsx(ColumnLayout, { s, m, l, className: styles.checkboxGroup, children: /* @__PURE__ */ jsx(TunnelExit, { id: "checkboxButtons" }) }),
|
|
53
53
|
/* @__PURE__ */ jsx(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxGroup.mjs","sources":["../../../../../../src/components/CheckboxGroup/CheckboxGroup.tsx"],"sourcesContent":["import type { ColumnLayoutProps } from \"@/components/ColumnLayout\";\nimport { ColumnLayout } from \"@/components/ColumnLayout\";\nimport { FieldError } from \"@/components/FieldError\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { PropsContextProvider } from \"@/lib/propsContext\";\nimport { TunnelExit, TunnelProvider } from \"@mittwald/react-tunnel\";\nimport clsx from \"clsx\";\nimport type { PropsWithChildren } from \"react\";\nimport * as Aria from \"react-aria-components\";\nimport formFieldStyles from \"../FormField/FormField.module.scss\";\nimport styles from \"./CheckboxGroup.module.scss\";\nimport { useObjectRef } from \"@react-aria/utils\";\nimport { useMakeFocusable } from \"@/lib/hooks/dom/useMakeFocusable\";\n\nexport interface CheckboxGroupProps\n extends PropsWithChildren<Omit<Aria.CheckboxGroupProps, \"children\">>,\n Pick<ColumnLayoutProps, \"s\" | \"m\" | \"l\">,\n FlowComponentProps {}\n\n/** @flr-generate all */\nexport const CheckboxGroup = flowComponent(\"CheckboxGroup\", (props) => {\n const { children, className, s, m, l, ref, ...rest } = props;\n\n const rootClassName = clsx(formFieldStyles.formField, className);\n\n const propsContext: PropsContext = {\n Label: {\n className: formFieldStyles.label,\n },\n FieldDescription: {\n className: formFieldStyles.fieldDescription,\n tunnelId: \"fieldDescription\",\n },\n FieldError: {\n className: formFieldStyles.customFieldError,\n tunnelId: \"fieldError\",\n },\n Checkbox: {\n tunnelId: \"checkboxes\",\n className: styles.checkbox,\n },\n CheckboxButton: {\n tunnelId: \"checkboxButtons\",\n className: styles.checkboxButton,\n },\n };\n\n const localCheckboxGroupRef = useObjectRef(ref);\n useMakeFocusable(localCheckboxGroupRef);\n\n return (\n <Aria.CheckboxGroup\n {...rest}\n className={rootClassName}\n ref={localCheckboxGroupRef}\n >\n <PropsContextProvider props={propsContext}>\n <TunnelProvider>\n {children}\n\n <ColumnLayout s={s} m={m} l={l} className={styles.checkboxGroup}>\n <TunnelExit id=\"checkboxButtons\" />\n </ColumnLayout>\n\n <ColumnLayout\n s={s ?? [1]}\n m={m ?? [1]}\n l={l ?? [1]}\n rowGap=\"s\"\n className={styles.checkboxGroup}\n >\n <TunnelExit id=\"checkboxes\" />\n </ColumnLayout>\n\n <TunnelExit id=\"fieldDescription\" />\n <TunnelExit id=\"fieldError\" />\n </TunnelProvider>\n </PropsContextProvider>\n <FieldError className={formFieldStyles.fieldError} />\n </Aria.CheckboxGroup>\n );\n});\n\nexport default CheckboxGroup;\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAsBO,MAAM,aAAgB,GAAA,aAAA,CAAc,eAAiB,EAAA,CAAC,KAAU,KAAA;AACrE,EAAM,MAAA,EAAE,UAAU,SAAW,EAAA,CAAA,EAAG,GAAG,CAAG,EAAA,GAAA,EAAK,GAAG,IAAA,EAAS,GAAA,KAAA;AAEvD,EAAA,MAAM,aAAgB,GAAA,IAAA,CAAK,eAAgB,CAAA,SAAA,EAAW,SAAS,CAAA;AAE/D,EAAA,MAAM,YAA6B,GAAA;AAAA,IACjC,KAAO,EAAA;AAAA,MACL,WAAW,eAAgB,CAAA;AAAA,KAC7B;AAAA,IACA,gBAAkB,EAAA;AAAA,MAChB,WAAW,eAAgB,CAAA,gBAAA;AAAA,MAC3B,QAAU,EAAA;AAAA,KACZ;AAAA,IACA,UAAY,EAAA;AAAA,MACV,WAAW,eAAgB,CAAA,gBAAA;AAAA,MAC3B,QAAU,EAAA;AAAA,KACZ;AAAA,IACA,QAAU,EAAA;AAAA,MACR,QAAU,EAAA,YAAA;AAAA,MACV,WAAW,MAAO,CAAA;AAAA,KACpB;AAAA,IACA,cAAgB,EAAA;AAAA,MACd,QAAU,EAAA,iBAAA;AAAA,MACV,WAAW,MAAO,CAAA;AAAA;AACpB,GACF;AAEA,EAAM,MAAA,qBAAA,GAAwB,aAAa,GAAG,CAAA;AAC9C,EAAA,gBAAA,CAAiB,qBAAqB,CAAA;AAEtC,EACE,uBAAA,IAAA;AAAA,IAAC,IAAK,CAAA,aAAA;AAAA,IAAL;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,SAAW,EAAA,aAAA;AAAA,MACX,GAAK,EAAA,qBAAA;AAAA,MAEL,QAAA,EAAA;AAAA,wBAAA,GAAA,CAAC,
|
|
1
|
+
{"version":3,"file":"CheckboxGroup.mjs","sources":["../../../../../../src/components/CheckboxGroup/CheckboxGroup.tsx"],"sourcesContent":["import type { ColumnLayoutProps } from \"@/components/ColumnLayout\";\nimport { ColumnLayout } from \"@/components/ColumnLayout\";\nimport { FieldError } from \"@/components/FieldError\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { PropsContextProvider } from \"@/lib/propsContext\";\nimport { TunnelExit, TunnelProvider } from \"@mittwald/react-tunnel\";\nimport clsx from \"clsx\";\nimport type { PropsWithChildren } from \"react\";\nimport * as Aria from \"react-aria-components\";\nimport formFieldStyles from \"../FormField/FormField.module.scss\";\nimport styles from \"./CheckboxGroup.module.scss\";\nimport { useObjectRef } from \"@react-aria/utils\";\nimport { useMakeFocusable } from \"@/lib/hooks/dom/useMakeFocusable\";\n\nexport interface CheckboxGroupProps\n extends PropsWithChildren<Omit<Aria.CheckboxGroupProps, \"children\">>,\n Pick<ColumnLayoutProps, \"s\" | \"m\" | \"l\">,\n FlowComponentProps {}\n\n/** @flr-generate all */\nexport const CheckboxGroup = flowComponent(\"CheckboxGroup\", (props) => {\n const { children, className, s, m, l, ref, ...rest } = props;\n\n const rootClassName = clsx(formFieldStyles.formField, className);\n\n const propsContext: PropsContext = {\n Label: {\n className: formFieldStyles.label,\n },\n FieldDescription: {\n className: formFieldStyles.fieldDescription,\n tunnelId: \"fieldDescription\",\n },\n FieldError: {\n className: formFieldStyles.customFieldError,\n tunnelId: \"fieldError\",\n },\n Checkbox: {\n tunnelId: \"checkboxes\",\n className: styles.checkbox,\n },\n CheckboxButton: {\n tunnelId: \"checkboxButtons\",\n className: styles.checkboxButton,\n },\n };\n\n const localCheckboxGroupRef = useObjectRef(ref);\n useMakeFocusable(localCheckboxGroupRef);\n\n return (\n <Aria.CheckboxGroup\n {...rest}\n className={rootClassName}\n ref={localCheckboxGroupRef}\n >\n <PropsContextProvider props={propsContext} clear>\n <TunnelProvider>\n {children}\n\n <ColumnLayout s={s} m={m} l={l} className={styles.checkboxGroup}>\n <TunnelExit id=\"checkboxButtons\" />\n </ColumnLayout>\n\n <ColumnLayout\n s={s ?? [1]}\n m={m ?? [1]}\n l={l ?? [1]}\n rowGap=\"s\"\n className={styles.checkboxGroup}\n >\n <TunnelExit id=\"checkboxes\" />\n </ColumnLayout>\n\n <TunnelExit id=\"fieldDescription\" />\n <TunnelExit id=\"fieldError\" />\n </TunnelProvider>\n </PropsContextProvider>\n <FieldError className={formFieldStyles.fieldError} />\n </Aria.CheckboxGroup>\n );\n});\n\nexport default CheckboxGroup;\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAsBO,MAAM,aAAgB,GAAA,aAAA,CAAc,eAAiB,EAAA,CAAC,KAAU,KAAA;AACrE,EAAM,MAAA,EAAE,UAAU,SAAW,EAAA,CAAA,EAAG,GAAG,CAAG,EAAA,GAAA,EAAK,GAAG,IAAA,EAAS,GAAA,KAAA;AAEvD,EAAA,MAAM,aAAgB,GAAA,IAAA,CAAK,eAAgB,CAAA,SAAA,EAAW,SAAS,CAAA;AAE/D,EAAA,MAAM,YAA6B,GAAA;AAAA,IACjC,KAAO,EAAA;AAAA,MACL,WAAW,eAAgB,CAAA;AAAA,KAC7B;AAAA,IACA,gBAAkB,EAAA;AAAA,MAChB,WAAW,eAAgB,CAAA,gBAAA;AAAA,MAC3B,QAAU,EAAA;AAAA,KACZ;AAAA,IACA,UAAY,EAAA;AAAA,MACV,WAAW,eAAgB,CAAA,gBAAA;AAAA,MAC3B,QAAU,EAAA;AAAA,KACZ;AAAA,IACA,QAAU,EAAA;AAAA,MACR,QAAU,EAAA,YAAA;AAAA,MACV,WAAW,MAAO,CAAA;AAAA,KACpB;AAAA,IACA,cAAgB,EAAA;AAAA,MACd,QAAU,EAAA,iBAAA;AAAA,MACV,WAAW,MAAO,CAAA;AAAA;AACpB,GACF;AAEA,EAAM,MAAA,qBAAA,GAAwB,aAAa,GAAG,CAAA;AAC9C,EAAA,gBAAA,CAAiB,qBAAqB,CAAA;AAEtC,EACE,uBAAA,IAAA;AAAA,IAAC,IAAK,CAAA,aAAA;AAAA,IAAL;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,SAAW,EAAA,aAAA;AAAA,MACX,GAAK,EAAA,qBAAA;AAAA,MAEL,QAAA,EAAA;AAAA,wBAAA,GAAA,CAAC,wBAAqB,KAAO,EAAA,YAAA,EAAc,KAAK,EAAA,IAAA,EAC9C,+BAAC,cACE,EAAA,EAAA,QAAA,EAAA;AAAA,UAAA,QAAA;AAAA,0BAEA,GAAA,CAAA,YAAA,EAAA,EAAa,CAAM,EAAA,CAAA,EAAM,CAAM,EAAA,SAAA,EAAW,MAAO,CAAA,aAAA,EAChD,QAAC,kBAAA,GAAA,CAAA,UAAA,EAAA,EAAW,EAAG,EAAA,iBAAA,EAAkB,CACnC,EAAA,CAAA;AAAA,0BAEA,GAAA;AAAA,YAAC,YAAA;AAAA,YAAA;AAAA,cACC,CAAA,EAAG,CAAK,IAAA,CAAC,CAAC,CAAA;AAAA,cACV,CAAA,EAAG,CAAK,IAAA,CAAC,CAAC,CAAA;AAAA,cACV,CAAA,EAAG,CAAK,IAAA,CAAC,CAAC,CAAA;AAAA,cACV,MAAO,EAAA,GAAA;AAAA,cACP,WAAW,MAAO,CAAA,aAAA;AAAA,cAElB,QAAA,kBAAA,GAAA,CAAC,UAAW,EAAA,EAAA,EAAA,EAAG,YAAa,EAAA;AAAA;AAAA,WAC9B;AAAA,0BAEA,GAAA,CAAC,UAAW,EAAA,EAAA,EAAA,EAAG,kBAAmB,EAAA,CAAA;AAAA,0BAClC,GAAA,CAAC,UAAW,EAAA,EAAA,EAAA,EAAG,YAAa,EAAA;AAAA,SAAA,EAC9B,CACF,EAAA,CAAA;AAAA,wBACC,GAAA,CAAA,UAAA,EAAA,EAAW,SAAW,EAAA,eAAA,CAAgB,UAAY,EAAA;AAAA;AAAA;AAAA,GACrD;AAEJ,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.mjs","sources":["../../../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"sourcesContent":["import { useFormContext } from \"@/integrations/react-hook-form/components/context/formContext\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { dynamic, PropsContextProvider } from \"@/lib/propsContext\";\nimport type { PropsWithChildren } from \"react\";\nimport {\n type ControllerProps,\n type FieldValues,\n useController,\n type UseFormReturn,\n useWatch,\n} from \"react-hook-form\";\nimport FieldErrorView from \"@/views/FieldErrorView\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport locales from \"./locales/*.locale.json\";\nimport { inheritProps } from \"@/lib/propsContext/inherit/types\";\n\nexport interface FieldProps<T extends FieldValues>\n extends Omit<ControllerProps<T>, \"render\">,\n PropsWithChildren {}\n\nexport function Field<T extends FieldValues>(props: FieldProps<T>) {\n const { children, name, defaultValue, ...rest } = props;\n\n const stringFormatter = useLocalizedStringFormatter(locales);\n\n const controller = useController({\n ...props,\n rules: {\n ...props.rules,\n minLength:\n typeof rest.rules?.minLength === \"number\"\n ? {\n value: rest.rules.minLength,\n message: stringFormatter.format(\"minLength\", {\n number: rest.rules.minLength,\n }),\n }\n : rest.rules?.minLength,\n maxLength:\n typeof rest.rules?.maxLength === \"number\"\n ? {\n value: rest.rules.maxLength,\n message: stringFormatter.format(\"maxLength\", {\n number: rest.rules.maxLength,\n }),\n }\n : rest.rules?.maxLength,\n },\n });\n const formContext = useFormContext<T>();\n /**\n * We don't use controller.field.value here, because it doesn't update when\n * the form value is updated outside of this field (e.g. when setting values\n * with form.setValue or resetting the form), and the Field unmounts in\n * between. This is generally a feature of React Hook Form, but this breaks\n * dynamic forms where fields are conditionally rendered.\n *\n * By using formContext.form.watch(name), we ensure that the field value is\n * always in sync with the form state. See:\n * https://react-hook-form.com/api/usecontroller/controller/\n */\n const value =\n useWatch({\n control: formContext.form.control,\n name,\n }) ?? controller.field.value;\n\n const fieldProps = {\n ...inheritProps,\n ...controller.field,\n value,\n name,\n form: formContext.id,\n isRequired: !!rest.rules?.required,\n validationBehavior: \"aria\" as const,\n defaultValue,\n isInvalid: controller.fieldState.invalid,\n children: dynamic((p) => {\n if (controller.fieldState.invalid) {\n return (\n <>\n {p.children}\n <FieldErrorView>\n {controller.fieldState.error?.message}\n </FieldErrorView>\n </>\n );\n }\n\n return p.children;\n }),\n };\n\n const { value: ignoredValue, ...fieldPropsWithoutValue } = fieldProps;\n\n const propsContext: PropsContext = {\n SearchField: fieldProps,\n TextField: fieldProps,\n TextArea: fieldProps,\n MarkdownEditor: fieldProps,\n Checkbox: {\n ...fieldProps,\n isSelected: value,\n },\n CheckboxGroup: {\n ...fieldProps,\n
|
|
1
|
+
{"version":3,"file":"Field.mjs","sources":["../../../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"sourcesContent":["import { useFormContext } from \"@/integrations/react-hook-form/components/context/formContext\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { dynamic, PropsContextProvider } from \"@/lib/propsContext\";\nimport type { PropsWithChildren } from \"react\";\nimport {\n type ControllerProps,\n type FieldValues,\n useController,\n type UseFormReturn,\n useWatch,\n} from \"react-hook-form\";\nimport FieldErrorView from \"@/views/FieldErrorView\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport locales from \"./locales/*.locale.json\";\nimport { inheritProps } from \"@/lib/propsContext/inherit/types\";\n\nexport interface FieldProps<T extends FieldValues>\n extends Omit<ControllerProps<T>, \"render\">,\n PropsWithChildren {}\n\nexport function Field<T extends FieldValues>(props: FieldProps<T>) {\n const { children, name, defaultValue, ...rest } = props;\n\n const stringFormatter = useLocalizedStringFormatter(locales);\n\n const controller = useController({\n ...props,\n rules: {\n ...props.rules,\n minLength:\n typeof rest.rules?.minLength === \"number\"\n ? {\n value: rest.rules.minLength,\n message: stringFormatter.format(\"minLength\", {\n number: rest.rules.minLength,\n }),\n }\n : rest.rules?.minLength,\n maxLength:\n typeof rest.rules?.maxLength === \"number\"\n ? {\n value: rest.rules.maxLength,\n message: stringFormatter.format(\"maxLength\", {\n number: rest.rules.maxLength,\n }),\n }\n : rest.rules?.maxLength,\n },\n });\n const formContext = useFormContext<T>();\n /**\n * We don't use controller.field.value here, because it doesn't update when\n * the form value is updated outside of this field (e.g. when setting values\n * with form.setValue or resetting the form), and the Field unmounts in\n * between. This is generally a feature of React Hook Form, but this breaks\n * dynamic forms where fields are conditionally rendered.\n *\n * By using formContext.form.watch(name), we ensure that the field value is\n * always in sync with the form state. See:\n * https://react-hook-form.com/api/usecontroller/controller/\n */\n const value =\n useWatch({\n control: formContext.form.control,\n name,\n }) ?? controller.field.value;\n\n const fieldProps = {\n ...inheritProps,\n ...controller.field,\n value,\n name,\n form: formContext.id,\n isRequired: !!rest.rules?.required,\n validationBehavior: \"aria\" as const,\n defaultValue,\n isInvalid: controller.fieldState.invalid,\n children: dynamic((p) => {\n if (controller.fieldState.invalid) {\n return (\n <>\n {p.children}\n <FieldErrorView>\n {controller.fieldState.error?.message}\n </FieldErrorView>\n </>\n );\n }\n\n return p.children;\n }),\n };\n\n const { value: ignoredValue, ...fieldPropsWithoutValue } = fieldProps;\n\n const propsContext: PropsContext = {\n SearchField: fieldProps,\n TextField: fieldProps,\n TextArea: fieldProps,\n MarkdownEditor: fieldProps,\n Checkbox: {\n ...fieldProps,\n isSelected: value,\n },\n CheckboxGroup: {\n ...fieldProps,\n },\n CheckboxButton: {\n ...fieldProps,\n isSelected: value,\n },\n FileField: fieldProps,\n FileDropZone: fieldProps,\n NumberField: fieldProps,\n RadioGroup: fieldProps,\n Switch: {\n ...fieldProps,\n isSelected: value,\n },\n Slider: fieldProps,\n PasswordCreationField: fieldProps,\n DatePicker: fieldProps,\n DateRangePicker: fieldProps,\n TimeField: fieldProps,\n SegmentedControl: fieldProps,\n Select: {\n ...fieldProps,\n selectedKey: value,\n },\n ComboBox: {\n ...fieldPropsWithoutValue,\n selectedKey: value,\n },\n };\n\n return (\n <PropsContextProvider\n props={propsContext}\n dependencies={[controller.fieldState, controller.field, value]}\n >\n {children}\n </PropsContextProvider>\n );\n}\n\nexport const typedField = <T extends FieldValues>(\n ignoredForm: UseFormReturn<T> | UseFormReturn<T>[\"control\"],\n): typeof Field<T> => Field;\n\nexport default Field;\n"],"names":[],"mappings":";;;;;;;;;;;AAoBO,SAAS,MAA6B,KAAsB,EAAA;AACjE,EAAA,MAAM,EAAE,QAAU,EAAA,IAAA,EAAM,YAAc,EAAA,GAAG,MAAS,GAAA,KAAA;AAElD,EAAM,MAAA,eAAA,GAAkB,4BAA4B,OAAO,CAAA;AAE3D,EAAA,MAAM,aAAa,aAAc,CAAA;AAAA,IAC/B,GAAG,KAAA;AAAA,IACH,KAAO,EAAA;AAAA,MACL,GAAG,KAAM,CAAA,KAAA;AAAA,MACT,SACE,EAAA,OAAO,IAAK,CAAA,KAAA,EAAO,cAAc,QAC7B,GAAA;AAAA,QACE,KAAA,EAAO,KAAK,KAAM,CAAA,SAAA;AAAA,QAClB,OAAA,EAAS,eAAgB,CAAA,MAAA,CAAO,WAAa,EAAA;AAAA,UAC3C,MAAA,EAAQ,KAAK,KAAM,CAAA;AAAA,SACpB;AAAA,OACH,GACA,KAAK,KAAO,EAAA,SAAA;AAAA,MAClB,SACE,EAAA,OAAO,IAAK,CAAA,KAAA,EAAO,cAAc,QAC7B,GAAA;AAAA,QACE,KAAA,EAAO,KAAK,KAAM,CAAA,SAAA;AAAA,QAClB,OAAA,EAAS,eAAgB,CAAA,MAAA,CAAO,WAAa,EAAA;AAAA,UAC3C,MAAA,EAAQ,KAAK,KAAM,CAAA;AAAA,SACpB;AAAA,OACH,GACA,KAAK,KAAO,EAAA;AAAA;AACpB,GACD,CAAA;AACD,EAAA,MAAM,cAAc,cAAkB,EAAA;AAYtC,EAAA,MAAM,QACJ,QAAS,CAAA;AAAA,IACP,OAAA,EAAS,YAAY,IAAK,CAAA,OAAA;AAAA,IAC1B;AAAA,GACD,CAAK,IAAA,UAAA,CAAW,KAAM,CAAA,KAAA;AAEzB,EAAA,MAAM,UAAa,GAAA;AAAA,IACjB,GAAG,YAAA;AAAA,IACH,GAAG,UAAW,CAAA,KAAA;AAAA,IACd,KAAA;AAAA,IACA,IAAA;AAAA,IACA,MAAM,WAAY,CAAA,EAAA;AAAA,IAClB,UAAY,EAAA,CAAC,CAAC,IAAA,CAAK,KAAO,EAAA,QAAA;AAAA,IAC1B,kBAAoB,EAAA,MAAA;AAAA,IACpB,YAAA;AAAA,IACA,SAAA,EAAW,WAAW,UAAW,CAAA,OAAA;AAAA,IACjC,QAAA,EAAU,OAAQ,CAAA,CAAC,CAAM,KAAA;AACvB,MAAI,IAAA,UAAA,CAAW,WAAW,OAAS,EAAA;AACjC,QAAA,uBAEK,IAAA,CAAA,QAAA,EAAA,EAAA,QAAA,EAAA;AAAA,UAAE,CAAA,CAAA,QAAA;AAAA,0BACF,GAAA,CAAA,cAAA,EAAA,EACE,QAAW,EAAA,UAAA,CAAA,UAAA,CAAW,OAAO,OAChC,EAAA;AAAA,SACF,EAAA,CAAA;AAAA;AAIJ,MAAA,OAAO,CAAE,CAAA,QAAA;AAAA,KACV;AAAA,GACH;AAEA,EAAA,MAAM,EAAE,KAAA,EAAO,YAAc,EAAA,GAAG,wBAA2B,GAAA,UAAA;AAE3D,EAAA,MAAM,YAA6B,GAAA;AAAA,IACjC,WAAa,EAAA,UAAA;AAAA,IACb,SAAW,EAAA,UAAA;AAAA,IACX,QAAU,EAAA,UAAA;AAAA,IACV,cAAgB,EAAA,UAAA;AAAA,IAChB,QAAU,EAAA;AAAA,MACR,GAAG,UAAA;AAAA,MACH,UAAY,EAAA;AAAA,KACd;AAAA,IACA,aAAe,EAAA;AAAA,MACb,GAAG;AAAA,KACL;AAAA,IACA,cAAgB,EAAA;AAAA,MACd,GAAG,UAAA;AAAA,MACH,UAAY,EAAA;AAAA,KACd;AAAA,IACA,SAAW,EAAA,UAAA;AAAA,IACX,YAAc,EAAA,UAAA;AAAA,IACd,WAAa,EAAA,UAAA;AAAA,IACb,UAAY,EAAA,UAAA;AAAA,IACZ,MAAQ,EAAA;AAAA,MACN,GAAG,UAAA;AAAA,MACH,UAAY,EAAA;AAAA,KACd;AAAA,IACA,MAAQ,EAAA,UAAA;AAAA,IACR,qBAAuB,EAAA,UAAA;AAAA,IACvB,UAAY,EAAA,UAAA;AAAA,IACZ,eAAiB,EAAA,UAAA;AAAA,IACjB,SAAW,EAAA,UAAA;AAAA,IACX,gBAAkB,EAAA,UAAA;AAAA,IAClB,MAAQ,EAAA;AAAA,MACN,GAAG,UAAA;AAAA,MACH,WAAa,EAAA;AAAA,KACf;AAAA,IACA,QAAU,EAAA;AAAA,MACR,GAAG,sBAAA;AAAA,MACH,WAAa,EAAA;AAAA;AACf,GACF;AAEA,EACE,uBAAA,GAAA;AAAA,IAAC,oBAAA;AAAA,IAAA;AAAA,MACC,KAAO,EAAA,YAAA;AAAA,MACP,cAAc,CAAC,UAAA,CAAW,UAAY,EAAA,UAAA,CAAW,OAAO,KAAK,CAAA;AAAA,MAE5D;AAAA;AAAA,GACH;AAEJ;AAEa,MAAA,UAAA,GAAa,CACxB,WACoB,KAAA;;;;"}
|
|
@@ -20,16 +20,18 @@ function flowComponent(componentName, ImplementationComponentType, options = {})
|
|
|
20
20
|
props
|
|
21
21
|
);
|
|
22
22
|
const implementationTypeProps = propsWithContext;
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
|
|
23
|
+
const componentProps = useComponentPropsContext(componentName);
|
|
24
|
+
const componentPropsToUse = useMemo(
|
|
25
|
+
() => increaseNestingLevel(componentProps ?? {}),
|
|
26
|
+
[componentProps]
|
|
27
|
+
);
|
|
26
28
|
ImplementationComponentType.displayName = `FlowComponentImpl(${componentName})`;
|
|
27
29
|
let element = /* @__PURE__ */ jsx(MemoizedImplementationComponentType, { ...implementationTypeProps });
|
|
28
30
|
if (isRemoteComponent) {
|
|
29
31
|
element = /* @__PURE__ */ jsx(
|
|
30
32
|
ComponentPropsContextProvider,
|
|
31
33
|
{
|
|
32
|
-
componentProps,
|
|
34
|
+
componentProps: componentPropsToUse,
|
|
33
35
|
levelModel: propsContextLevelMode,
|
|
34
36
|
children: element
|
|
35
37
|
}
|
|
@@ -38,7 +40,7 @@ function flowComponent(componentName, ImplementationComponentType, options = {})
|
|
|
38
40
|
element = /* @__PURE__ */ jsx(
|
|
39
41
|
ComponentPropsContextProviderView,
|
|
40
42
|
{
|
|
41
|
-
componentProps,
|
|
43
|
+
componentProps: componentPropsToUse,
|
|
42
44
|
levelModel: propsContextLevelMode,
|
|
43
45
|
children: element
|
|
44
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flowComponent.mjs","sources":["../../../../../../src/lib/componentFactory/flowComponent.tsx"],"sourcesContent":["import type {\n FlowComponentName,\n FlowComponentProps as FlowComponentPropsOfName,\n} from \"@/components/propTypes\";\nimport type {\n ComponentProps,\n ComponentType,\n ReactElement,\n ReactNode,\n RefAttributes,\n FunctionComponent,\n} from \"react\";\nimport { cloneElement, memo, useMemo } from \"react\";\nimport type { PropsWithTunnel } from \"@/lib/types/props\";\nimport { TunnelEntry } from \"@mittwald/react-tunnel\";\nimport SlotContextProvider from \"@/lib/slotContext/SlotContextProvider\";\nimport { useProps } from \"@/lib/hooks/useProps\";\nimport { useComponentPropsContext } from \"@/lib/propsContext/propsContext\";\nimport { increaseNestingLevel } from \"@/lib/propsContext/nestedPropsContext/lib\";\nimport { ComponentPropsContextProvider } from \"@/components/ComponentPropsContextProvider\";\nimport type { PropsContextLevelMode } from \"@/lib/propsContext/inherit/types\";\nimport ComponentPropsContextProviderView from \"@/views/ComponentPropsContextProviderView\";\n\ntype RefType<T> = T extends RefAttributes<infer R> ? R : undefined;\n\nexport interface FlowComponentProps<R = HTMLDivElement>\n extends PropsWithTunnel,\n RefAttributes<R> {\n wrapWith?: ReactElement;\n}\n\ntype FlowComponentImplementationProps<C extends FlowComponentName> = Omit<\n FlowComponentPropsOfName<C>,\n keyof FlowComponentProps\n> &\n RefAttributes<RefType<FlowComponentPropsOfName<C>>>;\n\ntype FlowComponentImplementationType<C extends FlowComponentName> =\n ComponentType<FlowComponentImplementationProps<C>>;\n\ntype FlowComponentType<C extends FlowComponentName> = FunctionComponent<\n FlowComponentPropsOfName<C> &\n RefAttributes<RefType<FlowComponentPropsOfName<C>>>\n>;\n\ntype FlowComponentProvisionType = \"provider\" | \"ui\";\n\ninterface Options {\n type?: FlowComponentProvisionType;\n isRemoteComponent?: boolean;\n}\n\nexport function flowComponent<C extends FlowComponentName>(\n componentName: C,\n ImplementationComponentType: FlowComponentImplementationType<C>,\n options: Options = {},\n): FlowComponentType<C> {\n type Props = FlowComponentPropsOfName<C> &\n RefAttributes<RefType<FlowComponentPropsOfName<C>>>;\n\n const { type = \"ui\", isRemoteComponent = false } = options;\n\n const propsContextLevelMode: PropsContextLevelMode =\n type === \"ui\" ? \"increment\" : \"keep\";\n\n const MemoizedImplementationComponentType = memo(ImplementationComponentType);\n\n function Component(props: Props) {\n const { tunnelId, wrapWith, ...propsWithContext } = useProps(\n componentName,\n props as FlowComponentPropsOfName<C>,\n ) as FlowComponentProps<RefType<FlowComponentPropsOfName<C>>>;\n\n const implementationTypeProps = propsWithContext as ComponentProps<\n typeof ImplementationComponentType\n >;\n\n const
|
|
1
|
+
{"version":3,"file":"flowComponent.mjs","sources":["../../../../../../src/lib/componentFactory/flowComponent.tsx"],"sourcesContent":["import type {\n FlowComponentName,\n FlowComponentProps as FlowComponentPropsOfName,\n} from \"@/components/propTypes\";\nimport type {\n ComponentProps,\n ComponentType,\n ReactElement,\n ReactNode,\n RefAttributes,\n FunctionComponent,\n} from \"react\";\nimport { cloneElement, memo, useMemo } from \"react\";\nimport type { PropsWithTunnel } from \"@/lib/types/props\";\nimport { TunnelEntry } from \"@mittwald/react-tunnel\";\nimport SlotContextProvider from \"@/lib/slotContext/SlotContextProvider\";\nimport { useProps } from \"@/lib/hooks/useProps\";\nimport { useComponentPropsContext } from \"@/lib/propsContext/propsContext\";\nimport { increaseNestingLevel } from \"@/lib/propsContext/nestedPropsContext/lib\";\nimport { ComponentPropsContextProvider } from \"@/components/ComponentPropsContextProvider\";\nimport type { PropsContextLevelMode } from \"@/lib/propsContext/inherit/types\";\nimport ComponentPropsContextProviderView from \"@/views/ComponentPropsContextProviderView\";\n\ntype RefType<T> = T extends RefAttributes<infer R> ? R : undefined;\n\nexport interface FlowComponentProps<R = HTMLDivElement>\n extends PropsWithTunnel,\n RefAttributes<R> {\n wrapWith?: ReactElement;\n}\n\ntype FlowComponentImplementationProps<C extends FlowComponentName> = Omit<\n FlowComponentPropsOfName<C>,\n keyof FlowComponentProps\n> &\n RefAttributes<RefType<FlowComponentPropsOfName<C>>>;\n\ntype FlowComponentImplementationType<C extends FlowComponentName> =\n ComponentType<FlowComponentImplementationProps<C>>;\n\ntype FlowComponentType<C extends FlowComponentName> = FunctionComponent<\n FlowComponentPropsOfName<C> &\n RefAttributes<RefType<FlowComponentPropsOfName<C>>>\n>;\n\ntype FlowComponentProvisionType = \"provider\" | \"ui\";\n\ninterface Options {\n type?: FlowComponentProvisionType;\n isRemoteComponent?: boolean;\n}\n\nexport function flowComponent<C extends FlowComponentName>(\n componentName: C,\n ImplementationComponentType: FlowComponentImplementationType<C>,\n options: Options = {},\n): FlowComponentType<C> {\n type Props = FlowComponentPropsOfName<C> &\n RefAttributes<RefType<FlowComponentPropsOfName<C>>>;\n\n const { type = \"ui\", isRemoteComponent = false } = options;\n\n const propsContextLevelMode: PropsContextLevelMode =\n type === \"ui\" ? \"increment\" : \"keep\";\n\n const MemoizedImplementationComponentType = memo(ImplementationComponentType);\n\n function Component(props: Props) {\n const { tunnelId, wrapWith, ...propsWithContext } = useProps(\n componentName,\n props as FlowComponentPropsOfName<C>,\n ) as FlowComponentProps<RefType<FlowComponentPropsOfName<C>>>;\n\n const implementationTypeProps = propsWithContext as ComponentProps<\n typeof ImplementationComponentType\n >;\n\n const componentProps = useComponentPropsContext(componentName);\n const componentPropsToUse = useMemo(\n () => increaseNestingLevel(componentProps ?? {}),\n [componentProps],\n );\n\n ImplementationComponentType.displayName = `FlowComponentImpl(${componentName})`;\n\n let element: ReactNode = (\n <MemoizedImplementationComponentType {...implementationTypeProps} />\n );\n\n if (isRemoteComponent) {\n element = (\n <ComponentPropsContextProvider\n componentProps={componentPropsToUse}\n levelModel={propsContextLevelMode}\n >\n {element}\n </ComponentPropsContextProvider>\n );\n } else {\n /**\n * In case of a Flow component that does not have a remote counterpart\n * (like the List component), the ComponentPropsContext must be applied on\n * the host side, so that nesting and inheritance is working correctly.\n */\n element = (\n <ComponentPropsContextProviderView\n componentProps={componentPropsToUse}\n levelModel={propsContextLevelMode}\n >\n {element}\n </ComponentPropsContextProviderView>\n );\n }\n\n if (\"slot\" in props && !!props.slot && typeof props.slot === \"string\") {\n element = (\n <SlotContextProvider slot={props.slot} component={componentName}>\n {element}\n </SlotContextProvider>\n );\n }\n\n if (wrapWith) {\n element = cloneElement(wrapWith, undefined, element);\n }\n\n if (tunnelId) {\n element = <TunnelEntry id={tunnelId}>{element}</TunnelEntry>;\n }\n return element;\n }\n\n Component.displayName = `FlowComponent(${componentName})`;\n return memo(Component);\n}\n"],"names":[],"mappings":";;;;;;;;;;AAoDO,SAAS,aACd,CAAA,aAAA,EACA,2BACA,EAAA,OAAA,GAAmB,EACG,EAAA;AAItB,EAAA,MAAM,EAAE,IAAA,GAAO,IAAM,EAAA,iBAAA,GAAoB,OAAU,GAAA,OAAA;AAEnD,EAAM,MAAA,qBAAA,GACJ,IAAS,KAAA,IAAA,GAAO,WAAc,GAAA,MAAA;AAEhC,EAAM,MAAA,mCAAA,GAAsC,KAAK,2BAA2B,CAAA;AAE5E,EAAA,SAAS,UAAU,KAAc,EAAA;AAC/B,IAAA,MAAM,EAAE,QAAA,EAAU,QAAU,EAAA,GAAG,kBAAqB,GAAA,QAAA;AAAA,MAClD,aAAA;AAAA,MACA;AAAA,KACF;AAEA,IAAA,MAAM,uBAA0B,GAAA,gBAAA;AAIhC,IAAM,MAAA,cAAA,GAAiB,yBAAyB,aAAa,CAAA;AAC7D,IAAA,MAAM,mBAAsB,GAAA,OAAA;AAAA,MAC1B,MAAM,oBAAA,CAAqB,cAAkB,IAAA,EAAE,CAAA;AAAA,MAC/C,CAAC,cAAc;AAAA,KACjB;AAEA,IAA4B,2BAAA,CAAA,WAAA,GAAc,qBAAqB,aAAa,CAAA,CAAA,CAAA;AAE5E,IAAA,IAAI,OACF,mBAAA,GAAA,CAAC,mCAAqC,EAAA,EAAA,GAAG,uBAAyB,EAAA,CAAA;AAGpE,IAAA,IAAI,iBAAmB,EAAA;AACrB,MACE,OAAA,mBAAA,GAAA;AAAA,QAAC,6BAAA;AAAA,QAAA;AAAA,UACC,cAAgB,EAAA,mBAAA;AAAA,UAChB,UAAY,EAAA,qBAAA;AAAA,UAEX,QAAA,EAAA;AAAA;AAAA,OACH;AAAA,KAEG,MAAA;AAML,MACE,OAAA,mBAAA,GAAA;AAAA,QAAC,iCAAA;AAAA,QAAA;AAAA,UACC,cAAgB,EAAA,mBAAA;AAAA,UAChB,UAAY,EAAA,qBAAA;AAAA,UAEX,QAAA,EAAA;AAAA;AAAA,OACH;AAAA;AAIJ,IAAI,IAAA,MAAA,IAAU,SAAS,CAAC,CAAC,MAAM,IAAQ,IAAA,OAAO,KAAM,CAAA,IAAA,KAAS,QAAU,EAAA;AACrE,MAAA,OAAA,uBACG,mBAAoB,EAAA,EAAA,IAAA,EAAM,MAAM,IAAM,EAAA,SAAA,EAAW,eAC/C,QACH,EAAA,OAAA,EAAA,CAAA;AAAA;AAIJ,IAAA,IAAI,QAAU,EAAA;AACZ,MAAU,OAAA,GAAA,YAAA,CAAa,QAAU,EAAA,MAAA,EAAW,OAAO,CAAA;AAAA;AAGrD,IAAA,IAAI,QAAU,EAAA;AACZ,MAAA,OAAA,mBAAW,GAAA,CAAA,WAAA,EAAA,EAAY,EAAI,EAAA,QAAA,EAAW,QAAQ,EAAA,OAAA,EAAA,CAAA;AAAA;AAEhD,IAAO,OAAA,OAAA;AAAA;AAGT,EAAU,SAAA,CAAA,WAAA,GAAc,iBAAiB,aAAa,CAAA,CAAA,CAAA;AACtD,EAAA,OAAO,KAAK,SAAS,CAAA;AACvB;;;;"}
|
|
@@ -14,7 +14,8 @@ const PropsContextProvider = memo((props) => {
|
|
|
14
14
|
props: providedProps,
|
|
15
15
|
dependencies = [],
|
|
16
16
|
levelMode = "reset",
|
|
17
|
-
children
|
|
17
|
+
children,
|
|
18
|
+
clear = false
|
|
18
19
|
} = props;
|
|
19
20
|
const parentPropsContext = usePropsContext();
|
|
20
21
|
const readPropsContextLevel = usePropsContextLevel(
|
|
@@ -22,11 +23,11 @@ const PropsContextProvider = memo((props) => {
|
|
|
22
23
|
);
|
|
23
24
|
const propsWithParentPropsContext = useMemo(
|
|
24
25
|
() => mergePropsContext(
|
|
25
|
-
parentPropsContext,
|
|
26
|
+
clear ? void 0 : parentPropsContext,
|
|
26
27
|
providedProps,
|
|
27
28
|
readPropsContextLevel
|
|
28
29
|
),
|
|
29
|
-
[parentPropsContext, readPropsContextLevel, ...dependencies]
|
|
30
|
+
[parentPropsContext, clear, readPropsContextLevel, ...dependencies]
|
|
30
31
|
);
|
|
31
32
|
return /* @__PURE__ */ jsx(PropsContextLevelProvider, { mode: levelMode, children: /* @__PURE__ */ jsx(Provider, { value: propsWithParentPropsContext, children }) });
|
|
32
33
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropsContextProvider.mjs","sources":["../../../../../../../src/lib/propsContext/components/PropsContextProvider.tsx"],"sourcesContent":["import { usePropsContextLevel } from \"@/lib/propsContext/inherit/propsContextLevel\";\nimport { PropsContextLevelProvider } from \"@/lib/propsContext/inherit/PropsContextLevelProvider\";\nimport type { PropsContextLevelMode } from \"@/lib/propsContext/inherit/types\";\nimport mergePropsContext from \"@/lib/propsContext/mergePropsContext\";\nimport { propsContext, usePropsContext } from \"@/lib/propsContext/propsContext\";\nimport type { PropsContext as PropsContextShape } from \"@/lib/propsContext/types\";\nimport type { DependencyList, FC, PropsWithChildren } from \"react\";\nimport { memo, useMemo } from \"react\";\n\ninterface Props extends PropsWithChildren {\n props: PropsContextShape;\n dependencies?: DependencyList;\n clear?: boolean;\n levelMode?: PropsContextLevelMode;\n}\n\nconst Provider = memo(propsContext.Provider);\nProvider.displayName = \"PropsContextProviderInner\";\n\nexport const PropsContextProvider: FC<Props> = memo((props) => {\n const {\n props: providedProps,\n dependencies = [],\n levelMode = \"reset\",\n children,\n } = props;\n\n const parentPropsContext = usePropsContext();\n\n const readPropsContextLevel = usePropsContextLevel(\n levelMode === \"keep\" ? \"decrement\" : levelMode,\n );\n\n const propsWithParentPropsContext = useMemo(\n () =>\n mergePropsContext(\n parentPropsContext,\n providedProps,\n readPropsContextLevel,\n ),\n [parentPropsContext, readPropsContextLevel, ...dependencies],\n );\n\n return (\n <PropsContextLevelProvider mode={levelMode}>\n <Provider value={propsWithParentPropsContext}>{children}</Provider>\n </PropsContextLevelProvider>\n );\n});\n\nPropsContextProvider.displayName = \"PropsContextProvider\";\n\nexport default PropsContextProvider;\n"],"names":[],"mappings":";;;;;;;AAgBA,MAAM,QAAA,GAAW,IAAK,CAAA,YAAA,CAAa,QAAQ,CAAA;AAC3C,QAAA,CAAS,WAAc,GAAA,2BAAA;AAEV,MAAA,oBAAA,GAAkC,IAAK,CAAA,CAAC,KAAU,KAAA;AAC7D,EAAM,MAAA;AAAA,IACJ,KAAO,EAAA,aAAA;AAAA,IACP,eAAe,EAAC;AAAA,IAChB,SAAY,GAAA,OAAA;AAAA,IACZ;AAAA,
|
|
1
|
+
{"version":3,"file":"PropsContextProvider.mjs","sources":["../../../../../../../src/lib/propsContext/components/PropsContextProvider.tsx"],"sourcesContent":["import { usePropsContextLevel } from \"@/lib/propsContext/inherit/propsContextLevel\";\nimport { PropsContextLevelProvider } from \"@/lib/propsContext/inherit/PropsContextLevelProvider\";\nimport type { PropsContextLevelMode } from \"@/lib/propsContext/inherit/types\";\nimport mergePropsContext from \"@/lib/propsContext/mergePropsContext\";\nimport { propsContext, usePropsContext } from \"@/lib/propsContext/propsContext\";\nimport type { PropsContext as PropsContextShape } from \"@/lib/propsContext/types\";\nimport type { DependencyList, FC, PropsWithChildren } from \"react\";\nimport { memo, useMemo } from \"react\";\n\ninterface Props extends PropsWithChildren {\n props: PropsContextShape;\n dependencies?: DependencyList;\n clear?: boolean;\n levelMode?: PropsContextLevelMode;\n}\n\nconst Provider = memo(propsContext.Provider);\nProvider.displayName = \"PropsContextProviderInner\";\n\nexport const PropsContextProvider: FC<Props> = memo((props) => {\n const {\n props: providedProps,\n dependencies = [],\n levelMode = \"reset\",\n children,\n clear = false,\n } = props;\n\n const parentPropsContext = usePropsContext();\n\n const readPropsContextLevel = usePropsContextLevel(\n levelMode === \"keep\" ? \"decrement\" : levelMode,\n );\n\n const propsWithParentPropsContext = useMemo(\n () =>\n mergePropsContext(\n clear ? undefined : parentPropsContext,\n providedProps,\n readPropsContextLevel,\n ),\n [parentPropsContext, clear, readPropsContextLevel, ...dependencies],\n );\n\n return (\n <PropsContextLevelProvider mode={levelMode}>\n <Provider value={propsWithParentPropsContext}>{children}</Provider>\n </PropsContextLevelProvider>\n );\n});\n\nPropsContextProvider.displayName = \"PropsContextProvider\";\n\nexport default PropsContextProvider;\n"],"names":[],"mappings":";;;;;;;AAgBA,MAAM,QAAA,GAAW,IAAK,CAAA,YAAA,CAAa,QAAQ,CAAA;AAC3C,QAAA,CAAS,WAAc,GAAA,2BAAA;AAEV,MAAA,oBAAA,GAAkC,IAAK,CAAA,CAAC,KAAU,KAAA;AAC7D,EAAM,MAAA;AAAA,IACJ,KAAO,EAAA,aAAA;AAAA,IACP,eAAe,EAAC;AAAA,IAChB,SAAY,GAAA,OAAA;AAAA,IACZ,QAAA;AAAA,IACA,KAAQ,GAAA;AAAA,GACN,GAAA,KAAA;AAEJ,EAAA,MAAM,qBAAqB,eAAgB,EAAA;AAE3C,EAAA,MAAM,qBAAwB,GAAA,oBAAA;AAAA,IAC5B,SAAA,KAAc,SAAS,WAAc,GAAA;AAAA,GACvC;AAEA,EAAA,MAAM,2BAA8B,GAAA,OAAA;AAAA,IAClC,MACE,iBAAA;AAAA,MACE,QAAQ,MAAY,GAAA,kBAAA;AAAA,MACpB,aAAA;AAAA,MACA;AAAA,KACF;AAAA,IACF,CAAC,kBAAA,EAAoB,KAAO,EAAA,qBAAA,EAAuB,GAAG,YAAY;AAAA,GACpE;AAEA,EACE,uBAAA,GAAA,CAAC,6BAA0B,IAAM,EAAA,SAAA,EAC/B,8BAAC,QAAS,EAAA,EAAA,KAAA,EAAO,2BAA8B,EAAA,QAAA,EAAS,CAC1D,EAAA,CAAA;AAEJ,CAAC;AAED,oBAAA,CAAqB,WAAc,GAAA,sBAAA;;;;"}
|
|
@@ -13,9 +13,10 @@ const getNestingLevel = (props) => {
|
|
|
13
13
|
};
|
|
14
14
|
const increaseNestingLevel = (propsContext) => {
|
|
15
15
|
const currentNestingLevel = getNestingLevel(propsContext);
|
|
16
|
-
|
|
16
|
+
return {
|
|
17
|
+
...propsContext,
|
|
17
18
|
[nestingLevelKey]: currentNestingLevel + 1
|
|
18
|
-
}
|
|
19
|
+
};
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
export { getNestingLevel, increaseNestingLevel, isNestingLevelKey, isNestingProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.mjs","sources":["../../../../../../../src/lib/propsContext/nestedPropsContext/lib.ts"],"sourcesContent":["import type { PropsContext } from \"@/lib/propsContext/types\";\nimport {\n nestingLevelKey,\n type NestingLevelProps,\n} from \"@/lib/propsContext/nestedPropsContext/types\";\n\nexport function isNestingProps(\n propsContext: PropsContext,\n): propsContext is NestingLevelProps {\n return (\n nestingLevelKey in propsContext &&\n typeof propsContext[nestingLevelKey] === \"number\"\n );\n}\n\nexport function isNestingLevelKey(key: string) {\n return key === nestingLevelKey;\n}\n\nexport const getNestingLevel = (props: PropsContext) => {\n return isNestingProps(props) ? (props[nestingLevelKey] ?? 0) : 0;\n};\n\nexport const increaseNestingLevel = (propsContext: PropsContext) => {\n const currentNestingLevel = getNestingLevel(propsContext);\n
|
|
1
|
+
{"version":3,"file":"lib.mjs","sources":["../../../../../../../src/lib/propsContext/nestedPropsContext/lib.ts"],"sourcesContent":["import type { PropsContext } from \"@/lib/propsContext/types\";\nimport {\n nestingLevelKey,\n type NestingLevelProps,\n} from \"@/lib/propsContext/nestedPropsContext/types\";\n\nexport function isNestingProps(\n propsContext: PropsContext,\n): propsContext is NestingLevelProps {\n return (\n nestingLevelKey in propsContext &&\n typeof propsContext[nestingLevelKey] === \"number\"\n );\n}\n\nexport function isNestingLevelKey(key: string) {\n return key === nestingLevelKey;\n}\n\nexport const getNestingLevel = (props: PropsContext) => {\n return isNestingProps(props) ? (props[nestingLevelKey] ?? 0) : 0;\n};\n\nexport const increaseNestingLevel = (propsContext: PropsContext) => {\n const currentNestingLevel = getNestingLevel(propsContext);\n return {\n ...propsContext,\n [nestingLevelKey]: currentNestingLevel + 1,\n };\n};\n"],"names":[],"mappings":";;AAMO,SAAS,eACd,YACmC,EAAA;AACnC,EAAA,OACE,eAAmB,IAAA,YAAA,IACnB,OAAO,YAAA,CAAa,eAAe,CAAM,KAAA,QAAA;AAE7C;AAEO,SAAS,kBAAkB,GAAa,EAAA;AAC7C,EAAA,OAAO,GAAQ,KAAA,eAAA;AACjB;AAEa,MAAA,eAAA,GAAkB,CAAC,KAAwB,KAAA;AACtD,EAAA,OAAO,eAAe,KAAK,CAAA,GAAK,KAAM,CAAA,eAAe,KAAK,CAAK,GAAA,CAAA;AACjE;AAEa,MAAA,oBAAA,GAAuB,CAAC,YAA+B,KAAA;AAClE,EAAM,MAAA,mBAAA,GAAsB,gBAAgB,YAAY,CAAA;AACxD,EAAO,OAAA;AAAA,IACL,GAAG,YAAA;AAAA,IACH,CAAC,eAAe,GAAG,mBAAsB,GAAA;AAAA,GAC3C;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAEhB,KAAK,aAAa,EAEnB,MAAM,iBAAiB,CAAC;AAMzB,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,WAAW,CAC/C,SAAQ,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EACxC,iBAAiB;CAAG;AAExB,wBAAgB,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAEhB,KAAK,aAAa,EAEnB,MAAM,iBAAiB,CAAC;AAMzB,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,WAAW,CAC/C,SAAQ,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EACxC,iBAAiB;CAAG;AAExB,wBAAgB,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,2CA2HhE;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,WAAW,EAC9C,aAAa,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAC1D,OAAO,KAAK,CAAC,CAAC,CAAU,CAAC;AAE5B,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flowComponent.d.ts","sourceRoot":"","sources":["../../../../src/lib/componentFactory/flowComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,IAAI,wBAAwB,EAC/C,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAEV,aAAa,EACb,YAAY,EAEZ,aAAa,EACb,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAUzD,KAAK,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;AAEnE,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,cAAc,CACpD,SAAQ,eAAe,EACrB,aAAa,CAAC,CAAC,CAAC;IAClB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB;AAED,KAAK,gCAAgC,CAAC,CAAC,SAAS,iBAAiB,IAAI,IAAI,CACvE,wBAAwB,CAAC,CAAC,CAAC,EAC3B,MAAM,kBAAkB,CACzB,GACC,aAAa,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEtD,KAAK,+BAA+B,CAAC,CAAC,SAAS,iBAAiB,IAC9D,aAAa,CAAC,gCAAgC,CAAC,CAAC,CAAC,CAAC,CAAC;AAErD,KAAK,iBAAiB,CAAC,CAAC,SAAS,iBAAiB,IAAI,iBAAiB,CACrE,wBAAwB,CAAC,CAAC,CAAC,GACzB,aAAa,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CACtD,CAAC;AAEF,KAAK,0BAA0B,GAAG,UAAU,GAAG,IAAI,CAAC;AAEpD,UAAU,OAAO;IACf,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,iBAAiB,EACvD,aAAa,EAAE,CAAC,EAChB,2BAA2B,EAAE,+BAA+B,CAAC,CAAC,CAAC,EAC/D,OAAO,GAAE,OAAY,GACpB,iBAAiB,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"flowComponent.d.ts","sourceRoot":"","sources":["../../../../src/lib/componentFactory/flowComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,IAAI,wBAAwB,EAC/C,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAEV,aAAa,EACb,YAAY,EAEZ,aAAa,EACb,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAUzD,KAAK,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;AAEnE,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,cAAc,CACpD,SAAQ,eAAe,EACrB,aAAa,CAAC,CAAC,CAAC;IAClB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB;AAED,KAAK,gCAAgC,CAAC,CAAC,SAAS,iBAAiB,IAAI,IAAI,CACvE,wBAAwB,CAAC,CAAC,CAAC,EAC3B,MAAM,kBAAkB,CACzB,GACC,aAAa,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEtD,KAAK,+BAA+B,CAAC,CAAC,SAAS,iBAAiB,IAC9D,aAAa,CAAC,gCAAgC,CAAC,CAAC,CAAC,CAAC,CAAC;AAErD,KAAK,iBAAiB,CAAC,CAAC,SAAS,iBAAiB,IAAI,iBAAiB,CACrE,wBAAwB,CAAC,CAAC,CAAC,GACzB,aAAa,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CACtD,CAAC;AAEF,KAAK,0BAA0B,GAAG,UAAU,GAAG,IAAI,CAAC;AAEpD,UAAU,OAAO;IACf,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,iBAAiB,EACvD,aAAa,EAAE,CAAC,EAChB,2BAA2B,EAAE,+BAA+B,CAAC,CAAC,CAAC,EAC/D,OAAO,GAAE,OAAY,GACpB,iBAAiB,CAAC,CAAC,CAAC,CA8EtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropsContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/PropsContextProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnE,UAAU,KAAM,SAAQ,iBAAiB;IACvC,KAAK,EAAE,iBAAiB,CAAC;IACzB,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACnC;AAKD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"PropsContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/PropsContextProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnE,UAAU,KAAM,SAAQ,iBAAiB;IACvC,KAAK,EAAE,iBAAiB,CAAC;IACzB,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACnC;AAKD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CA8BzC,CAAC;AAIH,eAAe,oBAAoB,CAAC"}
|
|
@@ -3,5 +3,84 @@ import { NestingLevelProps } from './types';
|
|
|
3
3
|
export declare function isNestingProps(propsContext: PropsContext): propsContext is NestingLevelProps;
|
|
4
4
|
export declare function isNestingLevelKey(key: string): key is "___nestingLevel";
|
|
5
5
|
export declare const getNestingLevel: (props: PropsContext) => number;
|
|
6
|
-
export declare const increaseNestingLevel: (propsContext: PropsContext) =>
|
|
6
|
+
export declare const increaseNestingLevel: (propsContext: PropsContext) => {
|
|
7
|
+
___nestingLevel: number;
|
|
8
|
+
AccentBox?: import('../types').ComponentPropsContext<"AccentBox"> | undefined;
|
|
9
|
+
Action?: import('../types').ComponentPropsContext<"Action"> | undefined;
|
|
10
|
+
ActionGroup?: import('../types').ComponentPropsContext<"ActionGroup"> | undefined;
|
|
11
|
+
Alert?: import('../types').ComponentPropsContext<"Alert"> | undefined;
|
|
12
|
+
AlertBadge?: import('../types').ComponentPropsContext<"AlertBadge"> | undefined;
|
|
13
|
+
AlertIcon?: import('../types').ComponentPropsContext<"AlertIcon"> | undefined;
|
|
14
|
+
Align?: import('../types').ComponentPropsContext<"Align"> | undefined;
|
|
15
|
+
Avatar?: import('../types').ComponentPropsContext<"Avatar"> | undefined;
|
|
16
|
+
Autocomplete?: import('../types').ComponentPropsContext<"Autocomplete"> | undefined;
|
|
17
|
+
Badge?: import('../types').ComponentPropsContext<"Badge"> | undefined;
|
|
18
|
+
Button?: import('../types').ComponentPropsContext<"Button"> | undefined;
|
|
19
|
+
Checkbox?: import('../types').ComponentPropsContext<"Checkbox"> | undefined;
|
|
20
|
+
CheckboxButton?: import('../types').ComponentPropsContext<"CheckboxButton"> | undefined;
|
|
21
|
+
CheckboxGroup?: import('../types').ComponentPropsContext<"CheckboxGroup"> | undefined;
|
|
22
|
+
ColumnLayout?: import('../types').ComponentPropsContext<"ColumnLayout"> | undefined;
|
|
23
|
+
ComboBox?: import('../types').ComponentPropsContext<"ComboBox"> | undefined;
|
|
24
|
+
Content?: import('../types').ComponentPropsContext<"Content"> | undefined;
|
|
25
|
+
ContextMenu?: import('../types').ComponentPropsContext<"ContextMenu"> | undefined;
|
|
26
|
+
ContextMenuSection?: import('../types').ComponentPropsContext<"ContextMenuSection"> | undefined;
|
|
27
|
+
ContextMenuTrigger?: import('../types').ComponentPropsContext<"ContextMenuTrigger"> | undefined;
|
|
28
|
+
ContextualHelp?: import('../types').ComponentPropsContext<"ContextualHelp"> | undefined;
|
|
29
|
+
ContextualHelpTrigger?: import('../types').ComponentPropsContext<"ContextualHelpTrigger"> | undefined;
|
|
30
|
+
CopyButton?: import('../types').ComponentPropsContext<"CopyButton"> | undefined;
|
|
31
|
+
CounterBadge?: import('../types').ComponentPropsContext<"CounterBadge"> | undefined;
|
|
32
|
+
CountryOptions?: import('../types').ComponentPropsContext<"CountryOptions"> | undefined;
|
|
33
|
+
DatePicker?: import('../types').ComponentPropsContext<"DatePicker"> | undefined;
|
|
34
|
+
DateRangePicker?: import('../types').ComponentPropsContext<"DateRangePicker"> | undefined;
|
|
35
|
+
FieldDescription?: import('../types').ComponentPropsContext<"FieldDescription"> | undefined;
|
|
36
|
+
FieldError?: import('../types').ComponentPropsContext<"FieldError"> | undefined;
|
|
37
|
+
FileCard?: import('../types').ComponentPropsContext<"FileCard"> | undefined;
|
|
38
|
+
FileCardList?: import('../types').ComponentPropsContext<"FileCardList"> | undefined;
|
|
39
|
+
FileField?: import('../types').ComponentPropsContext<"FileField"> | undefined;
|
|
40
|
+
FileDropZone?: import('../types').ComponentPropsContext<"FileDropZone"> | undefined;
|
|
41
|
+
Header?: import('../types').ComponentPropsContext<"Header"> | undefined;
|
|
42
|
+
Heading?: import('../types').ComponentPropsContext<"Heading"> | undefined;
|
|
43
|
+
Icon?: import('../types').ComponentPropsContext<"Icon"> | undefined;
|
|
44
|
+
Image?: import('../types').ComponentPropsContext<"Image"> | undefined;
|
|
45
|
+
Initials?: import('../types').ComponentPropsContext<"Initials"> | undefined;
|
|
46
|
+
Label?: import('../types').ComponentPropsContext<"Label"> | undefined;
|
|
47
|
+
LayoutCard?: import('../types').ComponentPropsContext<"LayoutCard"> | undefined;
|
|
48
|
+
LightBox?: import('../types').ComponentPropsContext<"LightBox"> | undefined;
|
|
49
|
+
Link?: import('../types').ComponentPropsContext<"Link"> | undefined;
|
|
50
|
+
List?: import('../types').ComponentPropsContext<"List"> | undefined;
|
|
51
|
+
ListSummary?: import('../types').ComponentPropsContext<"ListSummary"> | undefined;
|
|
52
|
+
MarkdownEditor?: import('../types').ComponentPropsContext<"MarkdownEditor"> | undefined;
|
|
53
|
+
MenuItem?: import('../types').ComponentPropsContext<"MenuItem"> | undefined;
|
|
54
|
+
MenuTrigger?: import('../types').ComponentPropsContext<"MenuTrigger"> | undefined;
|
|
55
|
+
Message?: import('../types').ComponentPropsContext<"Message"> | undefined;
|
|
56
|
+
MessageThread?: import('../types').ComponentPropsContext<"MessageThread"> | undefined;
|
|
57
|
+
Modal?: import('../types').ComponentPropsContext<"Modal"> | undefined;
|
|
58
|
+
Navigation?: import('../types').ComponentPropsContext<"Navigation"> | undefined;
|
|
59
|
+
NavigationGroup?: import('../types').ComponentPropsContext<"NavigationGroup"> | undefined;
|
|
60
|
+
NumberField?: import('../types').ComponentPropsContext<"NumberField"> | undefined;
|
|
61
|
+
Option?: import('../types').ComponentPropsContext<"Option"> | undefined;
|
|
62
|
+
Options?: import('../types').ComponentPropsContext<"Options"> | undefined;
|
|
63
|
+
Popover?: import('../types').ComponentPropsContext<"Popover"> | undefined;
|
|
64
|
+
PopoverTrigger?: import('../types').ComponentPropsContext<"PopoverTrigger"> | undefined;
|
|
65
|
+
PasswordCreationField?: import('../types').ComponentPropsContext<"PasswordCreationField"> | undefined;
|
|
66
|
+
ProgressBar?: import('../types').ComponentPropsContext<"ProgressBar"> | undefined;
|
|
67
|
+
Radio?: import('../types').ComponentPropsContext<"Radio"> | undefined;
|
|
68
|
+
RadioButton?: import('../types').ComponentPropsContext<"RadioButton"> | undefined;
|
|
69
|
+
RadioGroup?: import('../types').ComponentPropsContext<"RadioGroup"> | undefined;
|
|
70
|
+
SearchField?: import('../types').ComponentPropsContext<"SearchField"> | undefined;
|
|
71
|
+
Section?: import('../types').ComponentPropsContext<"Section"> | undefined;
|
|
72
|
+
Segment?: import('../types').ComponentPropsContext<"Segment"> | undefined;
|
|
73
|
+
SegmentedControl?: import('../types').ComponentPropsContext<"SegmentedControl"> | undefined;
|
|
74
|
+
Select?: import('../types').ComponentPropsContext<"Select"> | undefined;
|
|
75
|
+
Slider?: import('../types').ComponentPropsContext<"Slider"> | undefined;
|
|
76
|
+
Switch?: import('../types').ComponentPropsContext<"Switch"> | undefined;
|
|
77
|
+
Tabs?: import('../types').ComponentPropsContext<"Tabs"> | undefined;
|
|
78
|
+
TabTitle?: import('../types').ComponentPropsContext<"TabTitle"> | undefined;
|
|
79
|
+
Text?: import('../types').ComponentPropsContext<"Text"> | undefined;
|
|
80
|
+
TextArea?: import('../types').ComponentPropsContext<"TextArea"> | undefined;
|
|
81
|
+
TextField?: import('../types').ComponentPropsContext<"TextField"> | undefined;
|
|
82
|
+
TimeField?: import('../types').ComponentPropsContext<"TimeField"> | undefined;
|
|
83
|
+
TestComponent?: import('../types').ComponentPropsContext<"TestComponent"> | undefined;
|
|
84
|
+
___inherit?: boolean;
|
|
85
|
+
};
|
|
7
86
|
//# sourceMappingURL=lib.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/nestedPropsContext/lib.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,6CAA6C,CAAC;AAErD,wBAAgB,cAAc,CAC5B,YAAY,EAAE,YAAY,GACzB,YAAY,IAAI,iBAAiB,CAKnC;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,4BAE5C;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,YAAY,WAElD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,cAAc,YAAY,
|
|
1
|
+
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/nestedPropsContext/lib.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,6CAA6C,CAAC;AAErD,wBAAgB,cAAc,CAC5B,YAAY,EAAE,YAAY,GACzB,YAAY,IAAI,iBAAiB,CAKnC;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,4BAE5C;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,YAAY,WAElD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,cAAc,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM9D,CAAC"}
|
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.516",
|
|
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.516",
|
|
62
62
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
63
63
|
"@react-aria/form": "^3.1.1",
|
|
64
64
|
"@react-aria/live-announcer": "^3.4.4",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@faker-js/faker": "^9.9.0",
|
|
102
102
|
"@internationalized/date": "^3.9.0",
|
|
103
103
|
"@mittwald/flow-core": "",
|
|
104
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
104
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.516",
|
|
105
105
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
106
106
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.3",
|
|
107
107
|
"@mittwald/typescript-config": "",
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
"optional": true
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "2722020f2c6783e726dbc1f687551dc290113e3f"
|
|
178
178
|
}
|