@mittwald/flow-react-components 0.2.0-alpha.644 → 0.2.0-alpha.646
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 +8 -0
- package/dist/assets/doc-properties.json +374 -393
- package/dist/js/components/src/components/Action/Action.mjs +8 -0
- package/dist/js/components/src/components/Action/Action.mjs.map +1 -1
- package/dist/js/components/src/components/Action/models/ActionExecution.mjs +2 -2
- package/dist/js/components/src/components/Action/models/ActionExecution.mjs.map +1 -1
- package/dist/js/components/src/components/Action/models/getExecutionFunction.mjs +2 -8
- package/dist/js/components/src/components/Action/models/getExecutionFunction.mjs.map +1 -1
- package/dist/js/components/src/components/CopyButton/CopyButton.mjs +1 -1
- package/dist/js/components/src/components/CopyButton/CopyButton.mjs.map +1 -1
- package/dist/js/components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.mjs +1 -1
- package/dist/js/components/src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.mjs.map +1 -1
- package/dist/js/components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.mjs +1 -1
- package/dist/js/components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.mjs.map +1 -1
- package/dist/types/components/Action/Action.d.ts.map +1 -1
- package/dist/types/components/Action/models/getExecutionFunction.d.ts.map +1 -1
- package/dist/types/components/Action/stories/Default.stories.d.ts.map +1 -1
- package/dist/types/components/Action/stories/EdgeCases.stories.d.ts.map +1 -1
- package/dist/types/components/Action/types.d.ts +0 -1
- package/dist/types/components/Action/types.d.ts.map +1 -1
- package/dist/types/components/ActionGroup/stories/Default.stories.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.646](https://github.com/mittwald/flow/compare/0.2.0-alpha.645...0.2.0-alpha.646) (2026-01-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
9
|
+
|
|
10
|
+
# [0.2.0-alpha.645](https://github.com/mittwald/flow/compare/0.2.0-alpha.644...0.2.0-alpha.645) (2026-01-27)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
13
|
+
|
|
6
14
|
# [0.2.0-alpha.644](https://github.com/mittwald/flow/compare/0.2.0-alpha.643...0.2.0-alpha.644) (2026-01-26)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
@@ -239910,25 +239910,6 @@
|
|
|
239910
239910
|
"displayName": "Action",
|
|
239911
239911
|
"methods": [],
|
|
239912
239912
|
"props": {
|
|
239913
|
-
"action": {
|
|
239914
|
-
"defaultValue": null,
|
|
239915
|
-
"description": "",
|
|
239916
|
-
"name": "action",
|
|
239917
|
-
"parent": {
|
|
239918
|
-
"fileName": "components/src/components/Action/types.ts",
|
|
239919
|
-
"name": "ActionProps"
|
|
239920
|
-
},
|
|
239921
|
-
"declarations": [
|
|
239922
|
-
{
|
|
239923
|
-
"fileName": "components/src/components/Action/types.ts",
|
|
239924
|
-
"name": "ActionProps"
|
|
239925
|
-
}
|
|
239926
|
-
],
|
|
239927
|
-
"required": false,
|
|
239928
|
-
"type": {
|
|
239929
|
-
"name": "ActionFn"
|
|
239930
|
-
}
|
|
239931
|
-
},
|
|
239932
239913
|
"onAction": {
|
|
239933
239914
|
"defaultValue": null,
|
|
239934
239915
|
"description": "",
|
|
@@ -274281,10 +274262,10 @@
|
|
|
274281
274262
|
"name": "string"
|
|
274282
274263
|
}
|
|
274283
274264
|
},
|
|
274284
|
-
"
|
|
274265
|
+
"acceptCharset": {
|
|
274285
274266
|
"defaultValue": null,
|
|
274286
274267
|
"description": "",
|
|
274287
|
-
"name": "
|
|
274268
|
+
"name": "acceptCharset",
|
|
274288
274269
|
"parent": {
|
|
274289
274270
|
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
274290
274271
|
"name": "FormHTMLAttributes"
|
|
@@ -274297,13 +274278,13 @@
|
|
|
274297
274278
|
],
|
|
274298
274279
|
"required": false,
|
|
274299
274280
|
"type": {
|
|
274300
|
-
"name": "string
|
|
274281
|
+
"name": "string"
|
|
274301
274282
|
}
|
|
274302
274283
|
},
|
|
274303
|
-
"
|
|
274284
|
+
"action": {
|
|
274304
274285
|
"defaultValue": null,
|
|
274305
274286
|
"description": "",
|
|
274306
|
-
"name": "
|
|
274287
|
+
"name": "action",
|
|
274307
274288
|
"parent": {
|
|
274308
274289
|
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
274309
274290
|
"name": "FormHTMLAttributes"
|
|
@@ -274316,7 +274297,7 @@
|
|
|
274316
274297
|
],
|
|
274317
274298
|
"required": false,
|
|
274318
274299
|
"type": {
|
|
274319
|
-
"name": "string"
|
|
274300
|
+
"name": "string | ((formData: FormData) => void | Promise<void>)"
|
|
274320
274301
|
}
|
|
274321
274302
|
},
|
|
274322
274303
|
"encType": {
|
|
@@ -280804,72 +280785,6 @@
|
|
|
280804
280785
|
}
|
|
280805
280786
|
}
|
|
280806
280787
|
},
|
|
280807
|
-
{
|
|
280808
|
-
"tags": {},
|
|
280809
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
280810
|
-
"description": "",
|
|
280811
|
-
"displayName": "TabList",
|
|
280812
|
-
"methods": [],
|
|
280813
|
-
"props": {
|
|
280814
|
-
"selection": {
|
|
280815
|
-
"defaultValue": null,
|
|
280816
|
-
"description": "",
|
|
280817
|
-
"name": "selection",
|
|
280818
|
-
"parent": {
|
|
280819
|
-
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
280820
|
-
"name": "Props"
|
|
280821
|
-
},
|
|
280822
|
-
"declarations": [
|
|
280823
|
-
{
|
|
280824
|
-
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
280825
|
-
"name": "Props"
|
|
280826
|
-
}
|
|
280827
|
-
],
|
|
280828
|
-
"required": true,
|
|
280829
|
-
"type": {
|
|
280830
|
-
"name": "Key | undefined"
|
|
280831
|
-
}
|
|
280832
|
-
},
|
|
280833
|
-
"onContextMenuSelectionChange": {
|
|
280834
|
-
"defaultValue": null,
|
|
280835
|
-
"description": "",
|
|
280836
|
-
"name": "onContextMenuSelectionChange",
|
|
280837
|
-
"parent": {
|
|
280838
|
-
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
280839
|
-
"name": "Props"
|
|
280840
|
-
},
|
|
280841
|
-
"declarations": [
|
|
280842
|
-
{
|
|
280843
|
-
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
280844
|
-
"name": "Props"
|
|
280845
|
-
}
|
|
280846
|
-
],
|
|
280847
|
-
"required": true,
|
|
280848
|
-
"type": {
|
|
280849
|
-
"name": "(key: Key) => void"
|
|
280850
|
-
}
|
|
280851
|
-
},
|
|
280852
|
-
"disabledKeys": {
|
|
280853
|
-
"defaultValue": null,
|
|
280854
|
-
"description": "",
|
|
280855
|
-
"name": "disabledKeys",
|
|
280856
|
-
"parent": {
|
|
280857
|
-
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
280858
|
-
"name": "Props"
|
|
280859
|
-
},
|
|
280860
|
-
"declarations": [
|
|
280861
|
-
{
|
|
280862
|
-
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
280863
|
-
"name": "Props"
|
|
280864
|
-
}
|
|
280865
|
-
],
|
|
280866
|
-
"required": false,
|
|
280867
|
-
"type": {
|
|
280868
|
-
"name": "Iterable<Key>"
|
|
280869
|
-
}
|
|
280870
|
-
}
|
|
280871
|
-
}
|
|
280872
|
-
},
|
|
280873
280788
|
{
|
|
280874
280789
|
"tags": {},
|
|
280875
280790
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Tabs/components/TabTitle/TabTitleCollapsed.tsx",
|
|
@@ -282672,6 +282587,72 @@
|
|
|
282672
282587
|
}
|
|
282673
282588
|
}
|
|
282674
282589
|
},
|
|
282590
|
+
{
|
|
282591
|
+
"tags": {},
|
|
282592
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
282593
|
+
"description": "",
|
|
282594
|
+
"displayName": "TabList",
|
|
282595
|
+
"methods": [],
|
|
282596
|
+
"props": {
|
|
282597
|
+
"selection": {
|
|
282598
|
+
"defaultValue": null,
|
|
282599
|
+
"description": "",
|
|
282600
|
+
"name": "selection",
|
|
282601
|
+
"parent": {
|
|
282602
|
+
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
282603
|
+
"name": "Props"
|
|
282604
|
+
},
|
|
282605
|
+
"declarations": [
|
|
282606
|
+
{
|
|
282607
|
+
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
282608
|
+
"name": "Props"
|
|
282609
|
+
}
|
|
282610
|
+
],
|
|
282611
|
+
"required": true,
|
|
282612
|
+
"type": {
|
|
282613
|
+
"name": "Key | undefined"
|
|
282614
|
+
}
|
|
282615
|
+
},
|
|
282616
|
+
"onContextMenuSelectionChange": {
|
|
282617
|
+
"defaultValue": null,
|
|
282618
|
+
"description": "",
|
|
282619
|
+
"name": "onContextMenuSelectionChange",
|
|
282620
|
+
"parent": {
|
|
282621
|
+
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
282622
|
+
"name": "Props"
|
|
282623
|
+
},
|
|
282624
|
+
"declarations": [
|
|
282625
|
+
{
|
|
282626
|
+
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
282627
|
+
"name": "Props"
|
|
282628
|
+
}
|
|
282629
|
+
],
|
|
282630
|
+
"required": true,
|
|
282631
|
+
"type": {
|
|
282632
|
+
"name": "(key: Key) => void"
|
|
282633
|
+
}
|
|
282634
|
+
},
|
|
282635
|
+
"disabledKeys": {
|
|
282636
|
+
"defaultValue": null,
|
|
282637
|
+
"description": "",
|
|
282638
|
+
"name": "disabledKeys",
|
|
282639
|
+
"parent": {
|
|
282640
|
+
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
282641
|
+
"name": "Props"
|
|
282642
|
+
},
|
|
282643
|
+
"declarations": [
|
|
282644
|
+
{
|
|
282645
|
+
"fileName": "components/src/components/Tabs/components/TabList/TabList.tsx",
|
|
282646
|
+
"name": "Props"
|
|
282647
|
+
}
|
|
282648
|
+
],
|
|
282649
|
+
"required": false,
|
|
282650
|
+
"type": {
|
|
282651
|
+
"name": "Iterable<Key>"
|
|
282652
|
+
}
|
|
282653
|
+
}
|
|
282654
|
+
}
|
|
282655
|
+
},
|
|
282675
282656
|
{
|
|
282676
282657
|
"tags": {
|
|
282677
282658
|
"flr-generate": "all"
|
|
@@ -299825,6 +299806,55 @@
|
|
|
299825
299806
|
}
|
|
299826
299807
|
}
|
|
299827
299808
|
},
|
|
299809
|
+
{
|
|
299810
|
+
"tags": {
|
|
299811
|
+
"internal": ""
|
|
299812
|
+
},
|
|
299813
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299814
|
+
"description": "",
|
|
299815
|
+
"displayName": "ValidationResultEntry",
|
|
299816
|
+
"methods": [],
|
|
299817
|
+
"props": {
|
|
299818
|
+
"result": {
|
|
299819
|
+
"defaultValue": null,
|
|
299820
|
+
"description": "",
|
|
299821
|
+
"name": "result",
|
|
299822
|
+
"parent": {
|
|
299823
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299824
|
+
"name": "Props"
|
|
299825
|
+
},
|
|
299826
|
+
"declarations": [
|
|
299827
|
+
{
|
|
299828
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299829
|
+
"name": "Props"
|
|
299830
|
+
}
|
|
299831
|
+
],
|
|
299832
|
+
"required": true,
|
|
299833
|
+
"type": {
|
|
299834
|
+
"name": "Partial<RuleValidationResult>"
|
|
299835
|
+
}
|
|
299836
|
+
},
|
|
299837
|
+
"unspecifiedRules": {
|
|
299838
|
+
"defaultValue": null,
|
|
299839
|
+
"description": "",
|
|
299840
|
+
"name": "unspecifiedRules",
|
|
299841
|
+
"parent": {
|
|
299842
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299843
|
+
"name": "Props"
|
|
299844
|
+
},
|
|
299845
|
+
"declarations": [
|
|
299846
|
+
{
|
|
299847
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299848
|
+
"name": "Props"
|
|
299849
|
+
}
|
|
299850
|
+
],
|
|
299851
|
+
"required": false,
|
|
299852
|
+
"type": {
|
|
299853
|
+
"name": "boolean"
|
|
299854
|
+
}
|
|
299855
|
+
}
|
|
299856
|
+
}
|
|
299857
|
+
},
|
|
299828
299858
|
{
|
|
299829
299859
|
"tags": {},
|
|
299830
299860
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
@@ -299910,55 +299940,6 @@
|
|
|
299910
299940
|
}
|
|
299911
299941
|
}
|
|
299912
299942
|
},
|
|
299913
|
-
{
|
|
299914
|
-
"tags": {
|
|
299915
|
-
"internal": ""
|
|
299916
|
-
},
|
|
299917
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299918
|
-
"description": "",
|
|
299919
|
-
"displayName": "ValidationResultEntry",
|
|
299920
|
-
"methods": [],
|
|
299921
|
-
"props": {
|
|
299922
|
-
"result": {
|
|
299923
|
-
"defaultValue": null,
|
|
299924
|
-
"description": "",
|
|
299925
|
-
"name": "result",
|
|
299926
|
-
"parent": {
|
|
299927
|
-
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299928
|
-
"name": "Props"
|
|
299929
|
-
},
|
|
299930
|
-
"declarations": [
|
|
299931
|
-
{
|
|
299932
|
-
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299933
|
-
"name": "Props"
|
|
299934
|
-
}
|
|
299935
|
-
],
|
|
299936
|
-
"required": true,
|
|
299937
|
-
"type": {
|
|
299938
|
-
"name": "Partial<RuleValidationResult>"
|
|
299939
|
-
}
|
|
299940
|
-
},
|
|
299941
|
-
"unspecifiedRules": {
|
|
299942
|
-
"defaultValue": null,
|
|
299943
|
-
"description": "",
|
|
299944
|
-
"name": "unspecifiedRules",
|
|
299945
|
-
"parent": {
|
|
299946
|
-
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299947
|
-
"name": "Props"
|
|
299948
|
-
},
|
|
299949
|
-
"declarations": [
|
|
299950
|
-
{
|
|
299951
|
-
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultEntry/ValidationResultEntry.tsx",
|
|
299952
|
-
"name": "Props"
|
|
299953
|
-
}
|
|
299954
|
-
],
|
|
299955
|
-
"required": false,
|
|
299956
|
-
"type": {
|
|
299957
|
-
"name": "boolean"
|
|
299958
|
-
}
|
|
299959
|
-
}
|
|
299960
|
-
}
|
|
299961
|
-
},
|
|
299962
299943
|
{
|
|
299963
299944
|
"tags": {
|
|
299964
299945
|
"internal": ""
|
|
@@ -306342,6 +306323,87 @@
|
|
|
306342
306323
|
"methods": [],
|
|
306343
306324
|
"props": {}
|
|
306344
306325
|
},
|
|
306326
|
+
{
|
|
306327
|
+
"tags": {},
|
|
306328
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/ListItemView/ListItemView.tsx",
|
|
306329
|
+
"description": "",
|
|
306330
|
+
"displayName": "ListItemView",
|
|
306331
|
+
"methods": [],
|
|
306332
|
+
"props": {
|
|
306333
|
+
"children": {
|
|
306334
|
+
"defaultValue": null,
|
|
306335
|
+
"description": "",
|
|
306336
|
+
"name": "children",
|
|
306337
|
+
"declarations": [
|
|
306338
|
+
{
|
|
306339
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
306340
|
+
"name": "TypeLiteral"
|
|
306341
|
+
}
|
|
306342
|
+
],
|
|
306343
|
+
"required": false,
|
|
306344
|
+
"type": {
|
|
306345
|
+
"name": "ReactNode"
|
|
306346
|
+
}
|
|
306347
|
+
},
|
|
306348
|
+
"s": {
|
|
306349
|
+
"defaultValue": null,
|
|
306350
|
+
"description": "Column layout for container size s.",
|
|
306351
|
+
"name": "s",
|
|
306352
|
+
"parent": {
|
|
306353
|
+
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306354
|
+
"name": "ColumnLayoutProps"
|
|
306355
|
+
},
|
|
306356
|
+
"declarations": [
|
|
306357
|
+
{
|
|
306358
|
+
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306359
|
+
"name": "ColumnLayoutProps"
|
|
306360
|
+
}
|
|
306361
|
+
],
|
|
306362
|
+
"required": false,
|
|
306363
|
+
"type": {
|
|
306364
|
+
"name": "(number | null)[]"
|
|
306365
|
+
}
|
|
306366
|
+
},
|
|
306367
|
+
"m": {
|
|
306368
|
+
"defaultValue": null,
|
|
306369
|
+
"description": "Column layout for container size m.",
|
|
306370
|
+
"name": "m",
|
|
306371
|
+
"parent": {
|
|
306372
|
+
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306373
|
+
"name": "ColumnLayoutProps"
|
|
306374
|
+
},
|
|
306375
|
+
"declarations": [
|
|
306376
|
+
{
|
|
306377
|
+
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306378
|
+
"name": "ColumnLayoutProps"
|
|
306379
|
+
}
|
|
306380
|
+
],
|
|
306381
|
+
"required": false,
|
|
306382
|
+
"type": {
|
|
306383
|
+
"name": "(number | null)[]"
|
|
306384
|
+
}
|
|
306385
|
+
},
|
|
306386
|
+
"l": {
|
|
306387
|
+
"defaultValue": null,
|
|
306388
|
+
"description": "Column layout for container size l.",
|
|
306389
|
+
"name": "l",
|
|
306390
|
+
"parent": {
|
|
306391
|
+
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306392
|
+
"name": "ColumnLayoutProps"
|
|
306393
|
+
},
|
|
306394
|
+
"declarations": [
|
|
306395
|
+
{
|
|
306396
|
+
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306397
|
+
"name": "ColumnLayoutProps"
|
|
306398
|
+
}
|
|
306399
|
+
],
|
|
306400
|
+
"required": false,
|
|
306401
|
+
"type": {
|
|
306402
|
+
"name": "(number | null)[]"
|
|
306403
|
+
}
|
|
306404
|
+
}
|
|
306405
|
+
}
|
|
306406
|
+
},
|
|
306345
306407
|
{
|
|
306346
306408
|
"tags": {
|
|
306347
306409
|
"flr-generate": "all"
|
|
@@ -306465,87 +306527,6 @@
|
|
|
306465
306527
|
}
|
|
306466
306528
|
}
|
|
306467
306529
|
},
|
|
306468
|
-
{
|
|
306469
|
-
"tags": {},
|
|
306470
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/ListItemView/ListItemView.tsx",
|
|
306471
|
-
"description": "",
|
|
306472
|
-
"displayName": "ListItemView",
|
|
306473
|
-
"methods": [],
|
|
306474
|
-
"props": {
|
|
306475
|
-
"children": {
|
|
306476
|
-
"defaultValue": null,
|
|
306477
|
-
"description": "",
|
|
306478
|
-
"name": "children",
|
|
306479
|
-
"declarations": [
|
|
306480
|
-
{
|
|
306481
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
306482
|
-
"name": "TypeLiteral"
|
|
306483
|
-
}
|
|
306484
|
-
],
|
|
306485
|
-
"required": false,
|
|
306486
|
-
"type": {
|
|
306487
|
-
"name": "ReactNode"
|
|
306488
|
-
}
|
|
306489
|
-
},
|
|
306490
|
-
"s": {
|
|
306491
|
-
"defaultValue": null,
|
|
306492
|
-
"description": "Column layout for container size s.",
|
|
306493
|
-
"name": "s",
|
|
306494
|
-
"parent": {
|
|
306495
|
-
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306496
|
-
"name": "ColumnLayoutProps"
|
|
306497
|
-
},
|
|
306498
|
-
"declarations": [
|
|
306499
|
-
{
|
|
306500
|
-
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306501
|
-
"name": "ColumnLayoutProps"
|
|
306502
|
-
}
|
|
306503
|
-
],
|
|
306504
|
-
"required": false,
|
|
306505
|
-
"type": {
|
|
306506
|
-
"name": "(number | null)[]"
|
|
306507
|
-
}
|
|
306508
|
-
},
|
|
306509
|
-
"m": {
|
|
306510
|
-
"defaultValue": null,
|
|
306511
|
-
"description": "Column layout for container size m.",
|
|
306512
|
-
"name": "m",
|
|
306513
|
-
"parent": {
|
|
306514
|
-
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306515
|
-
"name": "ColumnLayoutProps"
|
|
306516
|
-
},
|
|
306517
|
-
"declarations": [
|
|
306518
|
-
{
|
|
306519
|
-
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306520
|
-
"name": "ColumnLayoutProps"
|
|
306521
|
-
}
|
|
306522
|
-
],
|
|
306523
|
-
"required": false,
|
|
306524
|
-
"type": {
|
|
306525
|
-
"name": "(number | null)[]"
|
|
306526
|
-
}
|
|
306527
|
-
},
|
|
306528
|
-
"l": {
|
|
306529
|
-
"defaultValue": null,
|
|
306530
|
-
"description": "Column layout for container size l.",
|
|
306531
|
-
"name": "l",
|
|
306532
|
-
"parent": {
|
|
306533
|
-
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306534
|
-
"name": "ColumnLayoutProps"
|
|
306535
|
-
},
|
|
306536
|
-
"declarations": [
|
|
306537
|
-
{
|
|
306538
|
-
"fileName": "components/src/components/ColumnLayout/ColumnLayout.tsx",
|
|
306539
|
-
"name": "ColumnLayoutProps"
|
|
306540
|
-
}
|
|
306541
|
-
],
|
|
306542
|
-
"required": false,
|
|
306543
|
-
"type": {
|
|
306544
|
-
"name": "(number | null)[]"
|
|
306545
|
-
}
|
|
306546
|
-
}
|
|
306547
|
-
}
|
|
306548
|
-
},
|
|
306549
306530
|
{
|
|
306550
306531
|
"tags": {},
|
|
306551
306532
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Items/Items.tsx",
|
|
@@ -309271,24 +309252,47 @@
|
|
|
309271
309252
|
"tags": {
|
|
309272
309253
|
"flr-generate": "all"
|
|
309273
309254
|
},
|
|
309274
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/ContextMenu/components/
|
|
309255
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/ContextMenu/components/ContextMenuTrigger/ContextMenuTrigger.tsx",
|
|
309275
309256
|
"description": "",
|
|
309276
|
-
"displayName": "
|
|
309257
|
+
"displayName": "ContextMenuTrigger",
|
|
309277
309258
|
"methods": [],
|
|
309278
309259
|
"props": {
|
|
309279
|
-
"
|
|
309260
|
+
"isDefaultOpen": {
|
|
309280
309261
|
"defaultValue": null,
|
|
309281
|
-
"description": "",
|
|
309282
|
-
"name": "
|
|
309262
|
+
"description": "Whether the overlay should be open initially.",
|
|
309263
|
+
"name": "isDefaultOpen",
|
|
309264
|
+
"parent": {
|
|
309265
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
309266
|
+
"name": "OverlayTriggerProps"
|
|
309267
|
+
},
|
|
309283
309268
|
"declarations": [
|
|
309284
309269
|
{
|
|
309285
|
-
"fileName": "
|
|
309286
|
-
"name": "
|
|
309270
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
309271
|
+
"name": "OverlayTriggerProps"
|
|
309287
309272
|
}
|
|
309288
309273
|
],
|
|
309289
309274
|
"required": false,
|
|
309290
309275
|
"type": {
|
|
309291
|
-
"name": "
|
|
309276
|
+
"name": "boolean"
|
|
309277
|
+
}
|
|
309278
|
+
},
|
|
309279
|
+
"controller": {
|
|
309280
|
+
"defaultValue": null,
|
|
309281
|
+
"description": "A controller to control the state of the overlay.",
|
|
309282
|
+
"name": "controller",
|
|
309283
|
+
"parent": {
|
|
309284
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
309285
|
+
"name": "OverlayTriggerProps"
|
|
309286
|
+
},
|
|
309287
|
+
"declarations": [
|
|
309288
|
+
{
|
|
309289
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
309290
|
+
"name": "OverlayTriggerProps"
|
|
309291
|
+
}
|
|
309292
|
+
],
|
|
309293
|
+
"required": false,
|
|
309294
|
+
"type": {
|
|
309295
|
+
"name": "OverlayController"
|
|
309292
309296
|
}
|
|
309293
309297
|
},
|
|
309294
309298
|
"wrapWith": {
|
|
@@ -309367,57 +309371,19 @@
|
|
|
309367
309371
|
"name": "Key | null"
|
|
309368
309372
|
}
|
|
309369
309373
|
},
|
|
309370
|
-
"
|
|
309371
|
-
"defaultValue": null,
|
|
309372
|
-
"description": "The currently selected keys in the collection (controlled).",
|
|
309373
|
-
"name": "selectedKeys",
|
|
309374
|
-
"parent": {
|
|
309375
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.1_react@19.2.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
309376
|
-
"name": "MultipleSelection"
|
|
309377
|
-
},
|
|
309378
|
-
"declarations": [
|
|
309379
|
-
{
|
|
309380
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.1_react@19.2.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
309381
|
-
"name": "MultipleSelection"
|
|
309382
|
-
}
|
|
309383
|
-
],
|
|
309384
|
-
"required": false,
|
|
309385
|
-
"type": {
|
|
309386
|
-
"name": "\"all\" | Iterable<Key>"
|
|
309387
|
-
}
|
|
309388
|
-
},
|
|
309389
|
-
"defaultSelectedKeys": {
|
|
309390
|
-
"defaultValue": null,
|
|
309391
|
-
"description": "The initial selected keys in the collection (uncontrolled).",
|
|
309392
|
-
"name": "defaultSelectedKeys",
|
|
309393
|
-
"parent": {
|
|
309394
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.1_react@19.2.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
309395
|
-
"name": "MultipleSelection"
|
|
309396
|
-
},
|
|
309397
|
-
"declarations": [
|
|
309398
|
-
{
|
|
309399
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.1_react@19.2.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
309400
|
-
"name": "MultipleSelection"
|
|
309401
|
-
}
|
|
309402
|
-
],
|
|
309403
|
-
"required": false,
|
|
309404
|
-
"type": {
|
|
309405
|
-
"name": "\"all\" | Iterable<Key>"
|
|
309406
|
-
}
|
|
309407
|
-
},
|
|
309408
|
-
"selectionMode": {
|
|
309374
|
+
"children": {
|
|
309409
309375
|
"defaultValue": null,
|
|
309410
309376
|
"description": "",
|
|
309411
|
-
"name": "
|
|
309377
|
+
"name": "children",
|
|
309412
309378
|
"declarations": [
|
|
309413
309379
|
{
|
|
309414
|
-
"fileName": "
|
|
309380
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
309415
309381
|
"name": "TypeLiteral"
|
|
309416
309382
|
}
|
|
309417
309383
|
],
|
|
309418
309384
|
"required": false,
|
|
309419
309385
|
"type": {
|
|
309420
|
-
"name": "
|
|
309386
|
+
"name": "ReactNode"
|
|
309421
309387
|
}
|
|
309422
309388
|
}
|
|
309423
309389
|
}
|
|
@@ -309426,47 +309392,24 @@
|
|
|
309426
309392
|
"tags": {
|
|
309427
309393
|
"flr-generate": "all"
|
|
309428
309394
|
},
|
|
309429
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/ContextMenu/components/
|
|
309395
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/ContextMenu/components/ContextMenuSection/ContextMenuSection.tsx",
|
|
309430
309396
|
"description": "",
|
|
309431
|
-
"displayName": "
|
|
309397
|
+
"displayName": "ContextMenuSection",
|
|
309432
309398
|
"methods": [],
|
|
309433
309399
|
"props": {
|
|
309434
|
-
"
|
|
309435
|
-
"defaultValue": null,
|
|
309436
|
-
"description": "Whether the overlay should be open initially.",
|
|
309437
|
-
"name": "isDefaultOpen",
|
|
309438
|
-
"parent": {
|
|
309439
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
309440
|
-
"name": "OverlayTriggerProps"
|
|
309441
|
-
},
|
|
309442
|
-
"declarations": [
|
|
309443
|
-
{
|
|
309444
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
309445
|
-
"name": "OverlayTriggerProps"
|
|
309446
|
-
}
|
|
309447
|
-
],
|
|
309448
|
-
"required": false,
|
|
309449
|
-
"type": {
|
|
309450
|
-
"name": "boolean"
|
|
309451
|
-
}
|
|
309452
|
-
},
|
|
309453
|
-
"controller": {
|
|
309400
|
+
"children": {
|
|
309454
309401
|
"defaultValue": null,
|
|
309455
|
-
"description": "
|
|
309456
|
-
"name": "
|
|
309457
|
-
"parent": {
|
|
309458
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
309459
|
-
"name": "OverlayTriggerProps"
|
|
309460
|
-
},
|
|
309402
|
+
"description": "",
|
|
309403
|
+
"name": "children",
|
|
309461
309404
|
"declarations": [
|
|
309462
309405
|
{
|
|
309463
|
-
"fileName": "
|
|
309464
|
-
"name": "
|
|
309406
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
309407
|
+
"name": "TypeLiteral"
|
|
309465
309408
|
}
|
|
309466
309409
|
],
|
|
309467
309410
|
"required": false,
|
|
309468
309411
|
"type": {
|
|
309469
|
-
"name": "
|
|
309412
|
+
"name": "ReactNode"
|
|
309470
309413
|
}
|
|
309471
309414
|
},
|
|
309472
309415
|
"wrapWith": {
|
|
@@ -309545,19 +309488,57 @@
|
|
|
309545
309488
|
"name": "Key | null"
|
|
309546
309489
|
}
|
|
309547
309490
|
},
|
|
309548
|
-
"
|
|
309491
|
+
"selectedKeys": {
|
|
309492
|
+
"defaultValue": null,
|
|
309493
|
+
"description": "The currently selected keys in the collection (controlled).",
|
|
309494
|
+
"name": "selectedKeys",
|
|
309495
|
+
"parent": {
|
|
309496
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.1_react@19.2.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
309497
|
+
"name": "MultipleSelection"
|
|
309498
|
+
},
|
|
309499
|
+
"declarations": [
|
|
309500
|
+
{
|
|
309501
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.1_react@19.2.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
309502
|
+
"name": "MultipleSelection"
|
|
309503
|
+
}
|
|
309504
|
+
],
|
|
309505
|
+
"required": false,
|
|
309506
|
+
"type": {
|
|
309507
|
+
"name": "\"all\" | Iterable<Key>"
|
|
309508
|
+
}
|
|
309509
|
+
},
|
|
309510
|
+
"defaultSelectedKeys": {
|
|
309511
|
+
"defaultValue": null,
|
|
309512
|
+
"description": "The initial selected keys in the collection (uncontrolled).",
|
|
309513
|
+
"name": "defaultSelectedKeys",
|
|
309514
|
+
"parent": {
|
|
309515
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.1_react@19.2.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
309516
|
+
"name": "MultipleSelection"
|
|
309517
|
+
},
|
|
309518
|
+
"declarations": [
|
|
309519
|
+
{
|
|
309520
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.32.1_react@19.2.1/node_modules/@react-types/shared/src/selection.d.ts",
|
|
309521
|
+
"name": "MultipleSelection"
|
|
309522
|
+
}
|
|
309523
|
+
],
|
|
309524
|
+
"required": false,
|
|
309525
|
+
"type": {
|
|
309526
|
+
"name": "\"all\" | Iterable<Key>"
|
|
309527
|
+
}
|
|
309528
|
+
},
|
|
309529
|
+
"selectionMode": {
|
|
309549
309530
|
"defaultValue": null,
|
|
309550
309531
|
"description": "",
|
|
309551
|
-
"name": "
|
|
309532
|
+
"name": "selectionMode",
|
|
309552
309533
|
"declarations": [
|
|
309553
309534
|
{
|
|
309554
|
-
"fileName": "
|
|
309535
|
+
"fileName": "components/src/components/ContextMenu/components/ContextMenuSection/ContextMenuSection.tsx",
|
|
309555
309536
|
"name": "TypeLiteral"
|
|
309556
309537
|
}
|
|
309557
309538
|
],
|
|
309558
309539
|
"required": false,
|
|
309559
309540
|
"type": {
|
|
309560
|
-
"name": "
|
|
309541
|
+
"name": "ContextMenuSelectionMode"
|
|
309561
309542
|
}
|
|
309562
309543
|
}
|
|
309563
309544
|
}
|
|
@@ -312225,93 +312206,6 @@
|
|
|
312225
312206
|
}
|
|
312226
312207
|
}
|
|
312227
312208
|
},
|
|
312228
|
-
{
|
|
312229
|
-
"tags": {
|
|
312230
|
-
"flr-generate": "all"
|
|
312231
|
-
},
|
|
312232
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/CartesianChart/components/CartesianGrid/CartesianGrid.tsx",
|
|
312233
|
-
"description": "",
|
|
312234
|
-
"displayName": "CartesianGrid",
|
|
312235
|
-
"methods": [],
|
|
312236
|
-
"props": {
|
|
312237
|
-
"className": {
|
|
312238
|
-
"defaultValue": null,
|
|
312239
|
-
"description": "",
|
|
312240
|
-
"name": "className",
|
|
312241
|
-
"parent": {
|
|
312242
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
312243
|
-
"name": "HTMLAttributes"
|
|
312244
|
-
},
|
|
312245
|
-
"declarations": [
|
|
312246
|
-
{
|
|
312247
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
312248
|
-
"name": "HTMLAttributes"
|
|
312249
|
-
}
|
|
312250
|
-
],
|
|
312251
|
-
"required": false,
|
|
312252
|
-
"type": {
|
|
312253
|
-
"name": "string"
|
|
312254
|
-
}
|
|
312255
|
-
},
|
|
312256
|
-
"horizontal": {
|
|
312257
|
-
"defaultValue": null,
|
|
312258
|
-
"description": "",
|
|
312259
|
-
"name": "horizontal",
|
|
312260
|
-
"parent": {
|
|
312261
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.4.1_@types+react@19.2.7_react-dom@19.2.1_react@19.2.1__react-is@19.2.0_react@19.2.1_redux@5.0.1/node_modules/recharts/types/cartesian/CartesianGrid.d.ts",
|
|
312262
|
-
"name": "CartesianGridProps"
|
|
312263
|
-
},
|
|
312264
|
-
"declarations": [
|
|
312265
|
-
{
|
|
312266
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.4.1_@types+react@19.2.7_react-dom@19.2.1_react@19.2.1__react-is@19.2.0_react@19.2.1_redux@5.0.1/node_modules/recharts/types/cartesian/CartesianGrid.d.ts",
|
|
312267
|
-
"name": "CartesianGridProps"
|
|
312268
|
-
}
|
|
312269
|
-
],
|
|
312270
|
-
"required": false,
|
|
312271
|
-
"type": {
|
|
312272
|
-
"name": "GridLineType"
|
|
312273
|
-
}
|
|
312274
|
-
},
|
|
312275
|
-
"vertical": {
|
|
312276
|
-
"defaultValue": null,
|
|
312277
|
-
"description": "",
|
|
312278
|
-
"name": "vertical",
|
|
312279
|
-
"parent": {
|
|
312280
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.4.1_@types+react@19.2.7_react-dom@19.2.1_react@19.2.1__react-is@19.2.0_react@19.2.1_redux@5.0.1/node_modules/recharts/types/cartesian/CartesianGrid.d.ts",
|
|
312281
|
-
"name": "CartesianGridProps"
|
|
312282
|
-
},
|
|
312283
|
-
"declarations": [
|
|
312284
|
-
{
|
|
312285
|
-
"fileName": "flow/node_modules/.pnpm/recharts@3.4.1_@types+react@19.2.7_react-dom@19.2.1_react@19.2.1__react-is@19.2.0_react@19.2.1_redux@5.0.1/node_modules/recharts/types/cartesian/CartesianGrid.d.ts",
|
|
312286
|
-
"name": "CartesianGridProps"
|
|
312287
|
-
}
|
|
312288
|
-
],
|
|
312289
|
-
"required": false,
|
|
312290
|
-
"type": {
|
|
312291
|
-
"name": "GridLineType"
|
|
312292
|
-
}
|
|
312293
|
-
},
|
|
312294
|
-
"strokeDasharray": {
|
|
312295
|
-
"defaultValue": null,
|
|
312296
|
-
"description": "",
|
|
312297
|
-
"name": "strokeDasharray",
|
|
312298
|
-
"parent": {
|
|
312299
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
312300
|
-
"name": "SVGAttributes"
|
|
312301
|
-
},
|
|
312302
|
-
"declarations": [
|
|
312303
|
-
{
|
|
312304
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
312305
|
-
"name": "SVGAttributes"
|
|
312306
|
-
}
|
|
312307
|
-
],
|
|
312308
|
-
"required": false,
|
|
312309
|
-
"type": {
|
|
312310
|
-
"name": "string | number"
|
|
312311
|
-
}
|
|
312312
|
-
}
|
|
312313
|
-
}
|
|
312314
|
-
},
|
|
312315
312209
|
{
|
|
312316
312210
|
"tags": {},
|
|
312317
312211
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/CartesianChart/components/ChartLegend/LegendContent.tsx",
|
|
@@ -321177,6 +321071,93 @@
|
|
|
321177
321071
|
}
|
|
321178
321072
|
}
|
|
321179
321073
|
},
|
|
321074
|
+
{
|
|
321075
|
+
"tags": {
|
|
321076
|
+
"flr-generate": "all"
|
|
321077
|
+
},
|
|
321078
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/CartesianChart/components/CartesianGrid/CartesianGrid.tsx",
|
|
321079
|
+
"description": "",
|
|
321080
|
+
"displayName": "CartesianGrid",
|
|
321081
|
+
"methods": [],
|
|
321082
|
+
"props": {
|
|
321083
|
+
"className": {
|
|
321084
|
+
"defaultValue": null,
|
|
321085
|
+
"description": "",
|
|
321086
|
+
"name": "className",
|
|
321087
|
+
"parent": {
|
|
321088
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
321089
|
+
"name": "HTMLAttributes"
|
|
321090
|
+
},
|
|
321091
|
+
"declarations": [
|
|
321092
|
+
{
|
|
321093
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
321094
|
+
"name": "HTMLAttributes"
|
|
321095
|
+
}
|
|
321096
|
+
],
|
|
321097
|
+
"required": false,
|
|
321098
|
+
"type": {
|
|
321099
|
+
"name": "string"
|
|
321100
|
+
}
|
|
321101
|
+
},
|
|
321102
|
+
"horizontal": {
|
|
321103
|
+
"defaultValue": null,
|
|
321104
|
+
"description": "",
|
|
321105
|
+
"name": "horizontal",
|
|
321106
|
+
"parent": {
|
|
321107
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.4.1_@types+react@19.2.7_react-dom@19.2.1_react@19.2.1__react-is@19.2.0_react@19.2.1_redux@5.0.1/node_modules/recharts/types/cartesian/CartesianGrid.d.ts",
|
|
321108
|
+
"name": "CartesianGridProps"
|
|
321109
|
+
},
|
|
321110
|
+
"declarations": [
|
|
321111
|
+
{
|
|
321112
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.4.1_@types+react@19.2.7_react-dom@19.2.1_react@19.2.1__react-is@19.2.0_react@19.2.1_redux@5.0.1/node_modules/recharts/types/cartesian/CartesianGrid.d.ts",
|
|
321113
|
+
"name": "CartesianGridProps"
|
|
321114
|
+
}
|
|
321115
|
+
],
|
|
321116
|
+
"required": false,
|
|
321117
|
+
"type": {
|
|
321118
|
+
"name": "GridLineType"
|
|
321119
|
+
}
|
|
321120
|
+
},
|
|
321121
|
+
"vertical": {
|
|
321122
|
+
"defaultValue": null,
|
|
321123
|
+
"description": "",
|
|
321124
|
+
"name": "vertical",
|
|
321125
|
+
"parent": {
|
|
321126
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.4.1_@types+react@19.2.7_react-dom@19.2.1_react@19.2.1__react-is@19.2.0_react@19.2.1_redux@5.0.1/node_modules/recharts/types/cartesian/CartesianGrid.d.ts",
|
|
321127
|
+
"name": "CartesianGridProps"
|
|
321128
|
+
},
|
|
321129
|
+
"declarations": [
|
|
321130
|
+
{
|
|
321131
|
+
"fileName": "flow/node_modules/.pnpm/recharts@3.4.1_@types+react@19.2.7_react-dom@19.2.1_react@19.2.1__react-is@19.2.0_react@19.2.1_redux@5.0.1/node_modules/recharts/types/cartesian/CartesianGrid.d.ts",
|
|
321132
|
+
"name": "CartesianGridProps"
|
|
321133
|
+
}
|
|
321134
|
+
],
|
|
321135
|
+
"required": false,
|
|
321136
|
+
"type": {
|
|
321137
|
+
"name": "GridLineType"
|
|
321138
|
+
}
|
|
321139
|
+
},
|
|
321140
|
+
"strokeDasharray": {
|
|
321141
|
+
"defaultValue": null,
|
|
321142
|
+
"description": "",
|
|
321143
|
+
"name": "strokeDasharray",
|
|
321144
|
+
"parent": {
|
|
321145
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
321146
|
+
"name": "SVGAttributes"
|
|
321147
|
+
},
|
|
321148
|
+
"declarations": [
|
|
321149
|
+
{
|
|
321150
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.2.7/node_modules/@types/react/index.d.ts",
|
|
321151
|
+
"name": "SVGAttributes"
|
|
321152
|
+
}
|
|
321153
|
+
],
|
|
321154
|
+
"required": false,
|
|
321155
|
+
"type": {
|
|
321156
|
+
"name": "string | number"
|
|
321157
|
+
}
|
|
321158
|
+
}
|
|
321159
|
+
}
|
|
321160
|
+
},
|
|
321180
321161
|
{
|
|
321181
321162
|
"tags": {},
|
|
321182
321163
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/CartesianChart/components/AreaDot/AreaDot.tsx",
|
|
@@ -48,6 +48,14 @@ const Action = flowComponent(
|
|
|
48
48
|
actionModel: actionModelFromProps,
|
|
49
49
|
...actionProps
|
|
50
50
|
} = props;
|
|
51
|
+
if ("action" in actionProps && typeof actionProps.action === "function") {
|
|
52
|
+
console.warn(
|
|
53
|
+
"The 'action' prop is now deprecated. Use 'onAction' instead."
|
|
54
|
+
);
|
|
55
|
+
if ("onAction" in actionProps === false) {
|
|
56
|
+
actionProps.onAction = actionProps.action;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
51
59
|
const newActionModel = ActionModel.useNew(actionProps);
|
|
52
60
|
const actionModel = actionModelFromProps ?? newActionModel;
|
|
53
61
|
const propsContext = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Action.mjs","sources":["../../../../../../src/components/Action/Action.tsx"],"sourcesContent":["import { ActionModel as ActionModel } from \"@/components/Action/models/ActionModel\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { dynamic, PropsContextProvider } from \"@/lib/propsContext\";\nimport { ActionContextProvider } from \"@/components/Action/context\";\nimport { useActionStateContext } from \"@/components/Action/models/ActionStateContext\";\nimport { useConfirmationModalButtonSlot } from \"@/components/Action/hooks/useConfirmationModalButtonSlot\";\nimport { useActionButtonState } from \"@/components/Action/hooks/useActionButtonState\";\nimport type { ComponentPropsContext } from \"@/lib/propsContext/types\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\n\nconst actionButtonContext: ComponentPropsContext<\"Button\"> = {\n onPress: dynamic((props) => {\n const action = ActionModel.use();\n const confirmAction = ActionModel.useConfirmationAction();\n const isConfirmationButton =\n useConfirmationModalButtonSlot(props) === \"primary\";\n const isAbortButton = useConfirmationModalButtonSlot(props) === \"abort\";\n if (isAbortButton) {\n return action.confirmationModalController.close;\n }\n return isConfirmationButton ? confirmAction.execute : action.execute;\n }),\n\n isPending: dynamic((props) => {\n const actionState = useActionButtonState(props);\n return props.isPending ?? actionState === \"isPending\";\n }),\n\n isSucceeded: dynamic((props) => {\n const actionState = useActionButtonState(props);\n return props.isSucceeded ?? actionState === \"isSucceeded\";\n }),\n\n isFailed: dynamic((props) => {\n const actionState = useActionButtonState(props);\n return props.isFailed ?? actionState === \"isFailed\";\n }),\n\n \"aria-disabled\": dynamic((props) => {\n const state = useActionButtonState(props);\n const someActionInContextIsBusy = useActionStateContext().useIsBusy();\n return (\n props[\"aria-disabled\"] ??\n (state === \"isExecuting\" || someActionInContextIsBusy)\n );\n }),\n};\n\nexport const Action = flowComponent(\n \"Action\",\n (props) => {\n const {\n children,\n actionModel: actionModelFromProps,\n ...actionProps\n } = props;\n const newActionModel = ActionModel.useNew(actionProps);\n const actionModel = actionModelFromProps ?? newActionModel;\n\n const propsContext: PropsContext = {\n Button: actionButtonContext,\n\n Link: {\n onPress: dynamic(() => ActionModel.use().execute),\n },\n\n MenuItem: {\n onAction: dynamic(() => ActionModel.use().execute),\n },\n\n Modal: {\n slot: dynamic((props) => {\n const { slot } = props;\n const action = ActionModel.use();\n action.needsConfirmation = slot === \"actionConfirm\";\n return slot;\n }),\n isDismissable: dynamic((props) => {\n const action = ActionModel.use();\n const actionState = action.state.useValue();\n return actionState === \"isExecuting\" || actionState === \"isPending\"\n ? false\n : props.isDismissable;\n }),\n controller: dynamic(() => {\n const action = ActionModel.use();\n return action.needsConfirmation\n ? action.confirmationModalController\n : action.getOverlayController(\"Modal\");\n }),\n ActionGroup: {\n Button: actionButtonContext,\n },\n },\n };\n\n return (\n <ActionContextProvider value={actionModel}>\n <PropsContextProvider props={propsContext}>\n {children}\n </PropsContextProvider>\n </ActionContextProvider>\n );\n },\n {\n type: \"provider\",\n },\n);\n\nexport default Action;\n"],"names":["props"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Action.mjs","sources":["../../../../../../src/components/Action/Action.tsx"],"sourcesContent":["import { ActionModel as ActionModel } from \"@/components/Action/models/ActionModel\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { dynamic, PropsContextProvider } from \"@/lib/propsContext\";\nimport { ActionContextProvider } from \"@/components/Action/context\";\nimport { useActionStateContext } from \"@/components/Action/models/ActionStateContext\";\nimport { useConfirmationModalButtonSlot } from \"@/components/Action/hooks/useConfirmationModalButtonSlot\";\nimport { useActionButtonState } from \"@/components/Action/hooks/useActionButtonState\";\nimport type { ComponentPropsContext } from \"@/lib/propsContext/types\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport type { ActionFn } from \"@/components/Action/types\";\n\nconst actionButtonContext: ComponentPropsContext<\"Button\"> = {\n onPress: dynamic((props) => {\n const action = ActionModel.use();\n const confirmAction = ActionModel.useConfirmationAction();\n const isConfirmationButton =\n useConfirmationModalButtonSlot(props) === \"primary\";\n const isAbortButton = useConfirmationModalButtonSlot(props) === \"abort\";\n if (isAbortButton) {\n return action.confirmationModalController.close;\n }\n return isConfirmationButton ? confirmAction.execute : action.execute;\n }),\n\n isPending: dynamic((props) => {\n const actionState = useActionButtonState(props);\n return props.isPending ?? actionState === \"isPending\";\n }),\n\n isSucceeded: dynamic((props) => {\n const actionState = useActionButtonState(props);\n return props.isSucceeded ?? actionState === \"isSucceeded\";\n }),\n\n isFailed: dynamic((props) => {\n const actionState = useActionButtonState(props);\n return props.isFailed ?? actionState === \"isFailed\";\n }),\n\n \"aria-disabled\": dynamic((props) => {\n const state = useActionButtonState(props);\n const someActionInContextIsBusy = useActionStateContext().useIsBusy();\n return (\n props[\"aria-disabled\"] ??\n (state === \"isExecuting\" || someActionInContextIsBusy)\n );\n }),\n};\n\nexport const Action = flowComponent(\n \"Action\",\n (props) => {\n const {\n children,\n actionModel: actionModelFromProps,\n ...actionProps\n } = props;\n\n if (\"action\" in actionProps && typeof actionProps.action === \"function\") {\n console.warn(\n \"The 'action' prop is now deprecated. Use 'onAction' instead.\",\n );\n if (\"onAction\" in actionProps === false) {\n actionProps.onAction = actionProps.action as ActionFn;\n }\n }\n\n const newActionModel = ActionModel.useNew(actionProps);\n const actionModel = actionModelFromProps ?? newActionModel;\n\n const propsContext: PropsContext = {\n Button: actionButtonContext,\n\n Link: {\n onPress: dynamic(() => ActionModel.use().execute),\n },\n\n MenuItem: {\n onAction: dynamic(() => ActionModel.use().execute),\n },\n\n Modal: {\n slot: dynamic((props) => {\n const { slot } = props;\n const action = ActionModel.use();\n action.needsConfirmation = slot === \"actionConfirm\";\n return slot;\n }),\n isDismissable: dynamic((props) => {\n const action = ActionModel.use();\n const actionState = action.state.useValue();\n return actionState === \"isExecuting\" || actionState === \"isPending\"\n ? false\n : props.isDismissable;\n }),\n controller: dynamic(() => {\n const action = ActionModel.use();\n return action.needsConfirmation\n ? action.confirmationModalController\n : action.getOverlayController(\"Modal\");\n }),\n ActionGroup: {\n Button: actionButtonContext,\n },\n },\n };\n\n return (\n <ActionContextProvider value={actionModel}>\n <PropsContextProvider props={propsContext}>\n {children}\n </PropsContextProvider>\n </ActionContextProvider>\n );\n },\n {\n type: \"provider\",\n },\n);\n\nexport default Action;\n"],"names":["props"],"mappings":";;;;;;;;;;;AAWA,MAAM,mBAAA,GAAuD;AAAA,EAC3D,OAAA,EAAS,OAAA,CAAQ,CAAC,KAAA,KAAU;AAC1B,IAAA,MAAM,MAAA,GAAS,YAAY,GAAA,EAAI;AAC/B,IAAA,MAAM,aAAA,GAAgB,YAAY,qBAAA,EAAsB;AACxD,IAAA,MAAM,oBAAA,GACJ,8BAAA,CAA+B,KAAK,CAAA,KAAM,SAAA;AAC5C,IAAA,MAAM,aAAA,GAAgB,8BAAA,CAA+B,KAAK,CAAA,KAAM,OAAA;AAChE,IAAA,IAAI,aAAA,EAAe;AACjB,MAAA,OAAO,OAAO,2BAAA,CAA4B,KAAA;AAAA,IAC5C;AACA,IAAA,OAAO,oBAAA,GAAuB,aAAA,CAAc,OAAA,GAAU,MAAA,CAAO,OAAA;AAAA,EAC/D,CAAC,CAAA;AAAA,EAED,SAAA,EAAW,OAAA,CAAQ,CAAC,KAAA,KAAU;AAC5B,IAAA,MAAM,WAAA,GAAc,qBAAqB,KAAK,CAAA;AAC9C,IAAA,OAAO,KAAA,CAAM,aAAa,WAAA,KAAgB,WAAA;AAAA,EAC5C,CAAC,CAAA;AAAA,EAED,WAAA,EAAa,OAAA,CAAQ,CAAC,KAAA,KAAU;AAC9B,IAAA,MAAM,WAAA,GAAc,qBAAqB,KAAK,CAAA;AAC9C,IAAA,OAAO,KAAA,CAAM,eAAe,WAAA,KAAgB,aAAA;AAAA,EAC9C,CAAC,CAAA;AAAA,EAED,QAAA,EAAU,OAAA,CAAQ,CAAC,KAAA,KAAU;AAC3B,IAAA,MAAM,WAAA,GAAc,qBAAqB,KAAK,CAAA;AAC9C,IAAA,OAAO,KAAA,CAAM,YAAY,WAAA,KAAgB,UAAA;AAAA,EAC3C,CAAC,CAAA;AAAA,EAED,eAAA,EAAiB,OAAA,CAAQ,CAAC,KAAA,KAAU;AAClC,IAAA,MAAM,KAAA,GAAQ,qBAAqB,KAAK,CAAA;AACxC,IAAA,MAAM,yBAAA,GAA4B,qBAAA,EAAsB,CAAE,SAAA,EAAU;AACpE,IAAA,OACE,KAAA,CAAM,eAAe,CAAA,KACpB,KAAA,KAAU,aAAA,IAAiB,yBAAA,CAAA;AAAA,EAEhC,CAAC;AACH,CAAA;AAEO,MAAM,MAAA,GAAS,aAAA;AAAA,EACpB,QAAA;AAAA,EACA,CAAC,KAAA,KAAU;AACT,IAAA,MAAM;AAAA,MACJ,QAAA;AAAA,MACA,WAAA,EAAa,oBAAA;AAAA,MACb,GAAG;AAAA,KACL,GAAI,KAAA;AAEJ,IAAA,IAAI,QAAA,IAAY,WAAA,IAAe,OAAO,WAAA,CAAY,WAAW,UAAA,EAAY;AACvE,MAAA,OAAA,CAAQ,IAAA;AAAA,QACN;AAAA,OACF;AACA,MAAA,IAAI,UAAA,IAAc,gBAAgB,KAAA,EAAO;AACvC,QAAA,WAAA,CAAY,WAAW,WAAA,CAAY,MAAA;AAAA,MACrC;AAAA,IACF;AAEA,IAAA,MAAM,cAAA,GAAiB,WAAA,CAAY,MAAA,CAAO,WAAW,CAAA;AACrD,IAAA,MAAM,cAAc,oBAAA,IAAwB,cAAA;AAE5C,IAAA,MAAM,YAAA,GAA6B;AAAA,MACjC,MAAA,EAAQ,mBAAA;AAAA,MAER,IAAA,EAAM;AAAA,QACJ,SAAS,OAAA,CAAQ,MAAM,WAAA,CAAY,GAAA,GAAM,OAAO;AAAA,OAClD;AAAA,MAEA,QAAA,EAAU;AAAA,QACR,UAAU,OAAA,CAAQ,MAAM,WAAA,CAAY,GAAA,GAAM,OAAO;AAAA,OACnD;AAAA,MAEA,KAAA,EAAO;AAAA,QACL,IAAA,EAAM,OAAA,CAAQ,CAACA,MAAAA,KAAU;AACvB,UAAA,MAAM,EAAE,MAAK,GAAIA,MAAAA;AACjB,UAAA,MAAM,MAAA,GAAS,YAAY,GAAA,EAAI;AAC/B,UAAA,MAAA,CAAO,oBAAoB,IAAA,KAAS,eAAA;AACpC,UAAA,OAAO,IAAA;AAAA,QACT,CAAC,CAAA;AAAA,QACD,aAAA,EAAe,OAAA,CAAQ,CAACA,MAAAA,KAAU;AAChC,UAAA,MAAM,MAAA,GAAS,YAAY,GAAA,EAAI;AAC/B,UAAA,MAAM,WAAA,GAAc,MAAA,CAAO,KAAA,CAAM,QAAA,EAAS;AAC1C,UAAA,OAAO,WAAA,KAAgB,aAAA,IAAiB,WAAA,KAAgB,WAAA,GACpD,QACAA,MAAAA,CAAM,aAAA;AAAA,QACZ,CAAC,CAAA;AAAA,QACD,UAAA,EAAY,QAAQ,MAAM;AACxB,UAAA,MAAM,MAAA,GAAS,YAAY,GAAA,EAAI;AAC/B,UAAA,OAAO,OAAO,iBAAA,GACV,MAAA,CAAO,2BAAA,GACP,MAAA,CAAO,qBAAqB,OAAO,CAAA;AAAA,QACzC,CAAC,CAAA;AAAA,QACD,WAAA,EAAa;AAAA,UACX,MAAA,EAAQ;AAAA;AACV;AACF,KACF;AAEA,IAAA,uBACE,GAAA,CAAC,yBAAsB,KAAA,EAAO,WAAA,EAC5B,8BAAC,oBAAA,EAAA,EAAqB,KAAA,EAAO,YAAA,EAC1B,QAAA,EACH,CAAA,EACF,CAAA;AAAA,EAEJ,CAAA;AAAA,EACA;AAAA,IACE,IAAA,EAAM;AAAA;AAEV;;;;"}
|
|
@@ -24,7 +24,7 @@ class ActionExecution {
|
|
|
24
24
|
);
|
|
25
25
|
let skipCount = 0;
|
|
26
26
|
while (currentAction) {
|
|
27
|
-
const {
|
|
27
|
+
const { onAction, break: $break, skip } = currentAction.actionProps;
|
|
28
28
|
if (currentAction.needsConfirmation) {
|
|
29
29
|
currentBatch.addAction(currentAction);
|
|
30
30
|
break;
|
|
@@ -42,7 +42,7 @@ class ActionExecution {
|
|
|
42
42
|
if ($break) {
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
45
|
-
if (
|
|
45
|
+
if (onAction) {
|
|
46
46
|
currentBatch.addAction(currentAction);
|
|
47
47
|
} else {
|
|
48
48
|
batches.push(currentBatch);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionExecution.mjs","sources":["../../../../../../../src/components/Action/models/ActionExecution.tsx"],"sourcesContent":["import type { ActionModel } from \"@/components/Action/models/ActionModel\";\nimport { ActionExecutionBatch } from \"@/components/Action/models/ActionExecutionBatch\";\n\nexport class ActionExecution {\n private readonly action: ActionModel;\n\n public constructor(action: ActionModel) {\n this.action = action;\n }\n\n public execute = (...args: unknown[]): void => {\n const batches = this.getBatchedActions();\n\n const executeAllBatches = async () => {\n for (const batch of batches) {\n await batch.executeBatch(args);\n }\n };\n\n void executeAllBatches().catch((error) => console.error(error));\n };\n\n private getBatchedActions = (): ActionExecutionBatch[] => {\n let currentAction: ActionModel | undefined = this.action;\n\n const batches: ActionExecutionBatch[] = [];\n let currentBatch: ActionExecutionBatch = new ActionExecutionBatch(\n this.action,\n );\n\n let skipCount = 0;\n\n while (currentAction) {\n const {
|
|
1
|
+
{"version":3,"file":"ActionExecution.mjs","sources":["../../../../../../../src/components/Action/models/ActionExecution.tsx"],"sourcesContent":["import type { ActionModel } from \"@/components/Action/models/ActionModel\";\nimport { ActionExecutionBatch } from \"@/components/Action/models/ActionExecutionBatch\";\n\nexport class ActionExecution {\n private readonly action: ActionModel;\n\n public constructor(action: ActionModel) {\n this.action = action;\n }\n\n public execute = (...args: unknown[]): void => {\n const batches = this.getBatchedActions();\n\n const executeAllBatches = async () => {\n for (const batch of batches) {\n await batch.executeBatch(args);\n }\n };\n\n void executeAllBatches().catch((error) => console.error(error));\n };\n\n private getBatchedActions = (): ActionExecutionBatch[] => {\n let currentAction: ActionModel | undefined = this.action;\n\n const batches: ActionExecutionBatch[] = [];\n let currentBatch: ActionExecutionBatch = new ActionExecutionBatch(\n this.action,\n );\n\n let skipCount = 0;\n\n while (currentAction) {\n const { onAction, break: $break, skip } = currentAction.actionProps;\n\n if (currentAction.needsConfirmation) {\n currentBatch.addAction(currentAction);\n break;\n }\n\n if (skip) {\n skipCount = skip === true ? 1 : skip;\n currentAction = currentAction.parentAction;\n continue;\n }\n\n if (skipCount > 0) {\n currentAction = currentAction.parentAction;\n skipCount--;\n continue;\n }\n\n if ($break) {\n break;\n }\n\n if (onAction) {\n currentBatch.addAction(currentAction);\n } else {\n batches.push(currentBatch);\n currentBatch = new ActionExecutionBatch(this.action);\n currentBatch.addAction(currentAction);\n }\n\n currentAction = currentAction.parentAction;\n }\n\n batches.push(currentBatch);\n return batches;\n };\n}\n"],"names":[],"mappings":";;AAGO,MAAM,eAAA,CAAgB;AAAA,EACV,MAAA;AAAA,EAEV,YAAY,MAAA,EAAqB;AACtC,IAAA,IAAA,CAAK,MAAA,GAAS,MAAA;AAAA,EAChB;AAAA,EAEO,OAAA,GAAU,IAAI,IAAA,KAA0B;AAC7C,IAAA,MAAM,OAAA,GAAU,KAAK,iBAAA,EAAkB;AAEvC,IAAA,MAAM,oBAAoB,YAAY;AACpC,MAAA,KAAA,MAAW,SAAS,OAAA,EAAS;AAC3B,QAAA,MAAM,KAAA,CAAM,aAAa,IAAI,CAAA;AAAA,MAC/B;AAAA,IACF,CAAA;AAEA,IAAA,KAAK,iBAAA,GAAoB,KAAA,CAAM,CAAC,UAAU,OAAA,CAAQ,KAAA,CAAM,KAAK,CAAC,CAAA;AAAA,EAChE,CAAA;AAAA,EAEQ,oBAAoB,MAA8B;AACxD,IAAA,IAAI,gBAAyC,IAAA,CAAK,MAAA;AAElD,IAAA,MAAM,UAAkC,EAAC;AACzC,IAAA,IAAI,eAAqC,IAAI,oBAAA;AAAA,MAC3C,IAAA,CAAK;AAAA,KACP;AAEA,IAAA,IAAI,SAAA,GAAY,CAAA;AAEhB,IAAA,OAAO,aAAA,EAAe;AACpB,MAAA,MAAM,EAAE,QAAA,EAAU,KAAA,EAAO,MAAA,EAAQ,IAAA,KAAS,aAAA,CAAc,WAAA;AAExD,MAAA,IAAI,cAAc,iBAAA,EAAmB;AACnC,QAAA,YAAA,CAAa,UAAU,aAAa,CAAA;AACpC,QAAA;AAAA,MACF;AAEA,MAAA,IAAI,IAAA,EAAM;AACR,QAAA,SAAA,GAAY,IAAA,KAAS,OAAO,CAAA,GAAI,IAAA;AAChC,QAAA,aAAA,GAAgB,aAAA,CAAc,YAAA;AAC9B,QAAA;AAAA,MACF;AAEA,MAAA,IAAI,YAAY,CAAA,EAAG;AACjB,QAAA,aAAA,GAAgB,aAAA,CAAc,YAAA;AAC9B,QAAA,SAAA,EAAA;AACA,QAAA;AAAA,MACF;AAEA,MAAA,IAAI,MAAA,EAAQ;AACV,QAAA;AAAA,MACF;AAEA,MAAA,IAAI,QAAA,EAAU;AACZ,QAAA,YAAA,CAAa,UAAU,aAAa,CAAA;AAAA,MACtC,CAAA,MAAO;AACL,QAAA,OAAA,CAAQ,KAAK,YAAY,CAAA;AACzB,QAAA,YAAA,GAAe,IAAI,oBAAA,CAAqB,IAAA,CAAK,MAAM,CAAA;AACnD,QAAA,YAAA,CAAa,UAAU,aAAa,CAAA;AAAA,MACtC;AAEA,MAAA,aAAA,GAAgB,aAAA,CAAc,YAAA;AAAA,IAChC;AAEA,IAAA,OAAA,CAAQ,KAAK,YAAY,CAAA;AACzB,IAAA,OAAO,OAAA;AAAA,EACT,CAAA;AACF;;;;"}
|
|
@@ -12,14 +12,8 @@ function getExecutionFunction(action) {
|
|
|
12
12
|
}
|
|
13
13
|
return from;
|
|
14
14
|
};
|
|
15
|
-
const {
|
|
16
|
-
|
|
17
|
-
onAction: actionFn = actionProp,
|
|
18
|
-
toggleOverlay,
|
|
19
|
-
closeOverlay,
|
|
20
|
-
openOverlay
|
|
21
|
-
} = action.actionProps;
|
|
22
|
-
const maybeAction = actionFn ? actionFn : openOverlay ? getOverlayController(openOverlay)?.open : closeOverlay ? getOverlayController(closeOverlay)?.close : toggleOverlay ? getOverlayController(toggleOverlay)?.toggle : voidAction;
|
|
15
|
+
const { onAction, toggleOverlay, closeOverlay, openOverlay } = action.actionProps;
|
|
16
|
+
const maybeAction = onAction ? onAction : openOverlay ? getOverlayController(openOverlay)?.open : closeOverlay ? getOverlayController(closeOverlay)?.close : toggleOverlay ? getOverlayController(toggleOverlay)?.toggle : voidAction;
|
|
23
17
|
return maybeAction ?? voidAction;
|
|
24
18
|
}
|
|
25
19
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getExecutionFunction.mjs","sources":["../../../../../../../src/components/Action/models/getExecutionFunction.ts"],"sourcesContent":["import type { ActionModel } from \"@/components/Action/models/ActionModel\";\nimport type { ActionFn } from \"@/components/Action\";\nimport type { OverlayController } from \"@/lib/controller\";\nimport type { FlowComponentName } from \"@/components/propTypes\";\n\nconst voidAction = () => {\n // do nothing\n};\n\nexport function getExecutionFunction(action: ActionModel): ActionFn {\n if (action.needsConfirmation) {\n return action.confirmationModalController.open;\n }\n\n const getOverlayController = (\n from: OverlayController | FlowComponentName,\n ): OverlayController | undefined => {\n if (typeof from === \"string\") {\n return action.getOverlayController(from);\n }\n return from;\n };\n\n const {
|
|
1
|
+
{"version":3,"file":"getExecutionFunction.mjs","sources":["../../../../../../../src/components/Action/models/getExecutionFunction.ts"],"sourcesContent":["import type { ActionModel } from \"@/components/Action/models/ActionModel\";\nimport type { ActionFn } from \"@/components/Action\";\nimport type { OverlayController } from \"@/lib/controller\";\nimport type { FlowComponentName } from \"@/components/propTypes\";\n\nconst voidAction = () => {\n // do nothing\n};\n\nexport function getExecutionFunction(action: ActionModel): ActionFn {\n if (action.needsConfirmation) {\n return action.confirmationModalController.open;\n }\n\n const getOverlayController = (\n from: OverlayController | FlowComponentName,\n ): OverlayController | undefined => {\n if (typeof from === \"string\") {\n return action.getOverlayController(from);\n }\n return from;\n };\n\n const { onAction, toggleOverlay, closeOverlay, openOverlay } =\n action.actionProps;\n\n const maybeAction = onAction\n ? onAction\n : openOverlay\n ? getOverlayController(openOverlay)?.open\n : closeOverlay\n ? getOverlayController(closeOverlay)?.close\n : toggleOverlay\n ? getOverlayController(toggleOverlay)?.toggle\n : voidAction;\n\n return maybeAction ?? voidAction;\n}\n"],"names":[],"mappings":"AAKA,MAAM,aAAa,MAAM;AAEzB,CAAA;AAEO,SAAS,qBAAqB,MAAA,EAA+B;AAClE,EAAA,IAAI,OAAO,iBAAA,EAAmB;AAC5B,IAAA,OAAO,OAAO,2BAAA,CAA4B,IAAA;AAAA,EAC5C;AAEA,EAAA,MAAM,oBAAA,GAAuB,CAC3B,IAAA,KACkC;AAClC,IAAA,IAAI,OAAO,SAAS,QAAA,EAAU;AAC5B,MAAA,OAAO,MAAA,CAAO,qBAAqB,IAAI,CAAA;AAAA,IACzC;AACA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAEA,EAAA,MAAM,EAAE,QAAA,EAAU,aAAA,EAAe,YAAA,EAAc,WAAA,KAC7C,MAAA,CAAO,WAAA;AAET,EAAA,MAAM,cAAc,QAAA,GAChB,QAAA,GACA,WAAA,GACE,oBAAA,CAAqB,WAAW,CAAA,EAAG,IAAA,GACnC,YAAA,GACE,oBAAA,CAAqB,YAAY,CAAA,EAAG,KAAA,GACpC,gBACE,oBAAA,CAAqB,aAAa,GAAG,MAAA,GACrC,UAAA;AAEV,EAAA,OAAO,WAAA,IAAe,UAAA;AACxB;;;;"}
|
|
@@ -31,7 +31,7 @@ const CopyButton = flowComponent("CopyButton", (props) => {
|
|
|
31
31
|
copy(onlyText(text));
|
|
32
32
|
};
|
|
33
33
|
return /* @__PURE__ */ jsxs(TooltipTrigger, { children: [
|
|
34
|
-
/* @__PURE__ */ jsx(Action, {
|
|
34
|
+
/* @__PURE__ */ jsx(Action, { onAction: copyValue, showFeedback: true, children: /* @__PURE__ */ jsx(
|
|
35
35
|
Button,
|
|
36
36
|
{
|
|
37
37
|
"aria-label": tooltip,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyButton.mjs","sources":["../../../../../../src/components/CopyButton/CopyButton.tsx"],"sourcesContent":["import copy from \"copy-to-clipboard\";\nimport type { ButtonProps } from \"@/components/Button\";\nimport { Button } from \"@/components/Button\";\nimport { IconCopy } from \"@/components/Icon/components/icons\";\nimport locales from \"./locales/*.locale.json\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport { Tooltip, TooltipTrigger } from \"@/components/Tooltip\";\nimport { onlyText } from \"react-children-utilities\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport { Action } from \"@/components/Action\";\n\nexport interface CopyButtonProps\n extends Omit<ButtonProps, \"onPress\" | \"aria-label\" | \"render\">,\n FlowComponentProps<HTMLButtonElement> {\n /** The text to copy. */\n text?: string;\n}\n\n/** @flr-generate all */\nexport const CopyButton = flowComponent(\"CopyButton\", (props) => {\n const {\n text = \"\",\n ref,\n variant = \"plain\",\n color = \"secondary\",\n ...buttonProps\n } = props;\n\n const stringFormatter = useLocalizedStringFormatter(locales);\n\n const tooltip = stringFormatter.format(\"copyButton.copy\");\n\n const copyValue = () => {\n copy(onlyText(text));\n };\n\n return (\n <TooltipTrigger>\n <Action
|
|
1
|
+
{"version":3,"file":"CopyButton.mjs","sources":["../../../../../../src/components/CopyButton/CopyButton.tsx"],"sourcesContent":["import copy from \"copy-to-clipboard\";\nimport type { ButtonProps } from \"@/components/Button\";\nimport { Button } from \"@/components/Button\";\nimport { IconCopy } from \"@/components/Icon/components/icons\";\nimport locales from \"./locales/*.locale.json\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport { Tooltip, TooltipTrigger } from \"@/components/Tooltip\";\nimport { onlyText } from \"react-children-utilities\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport { Action } from \"@/components/Action\";\n\nexport interface CopyButtonProps\n extends Omit<ButtonProps, \"onPress\" | \"aria-label\" | \"render\">,\n FlowComponentProps<HTMLButtonElement> {\n /** The text to copy. */\n text?: string;\n}\n\n/** @flr-generate all */\nexport const CopyButton = flowComponent(\"CopyButton\", (props) => {\n const {\n text = \"\",\n ref,\n variant = \"plain\",\n color = \"secondary\",\n ...buttonProps\n } = props;\n\n const stringFormatter = useLocalizedStringFormatter(locales);\n\n const tooltip = stringFormatter.format(\"copyButton.copy\");\n\n const copyValue = () => {\n copy(onlyText(text));\n };\n\n return (\n <TooltipTrigger>\n <Action onAction={copyValue} showFeedback>\n <Button\n aria-label={tooltip}\n {...buttonProps}\n ref={ref}\n variant={variant}\n color={color}\n >\n <IconCopy />\n </Button>\n </Action>\n <Tooltip>{tooltip}</Tooltip>\n </TooltipTrigger>\n );\n});\n\nexport default CopyButton;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAoBO,MAAM,UAAA,GAAa,aAAA,CAAc,YAAA,EAAc,CAAC,KAAA,KAAU;AAC/D,EAAA,MAAM;AAAA,IACJ,IAAA,GAAO,EAAA;AAAA,IACP,GAAA;AAAA,IACA,OAAA,GAAU,OAAA;AAAA,IACV,KAAA,GAAQ,WAAA;AAAA,IACR,GAAG;AAAA,GACL,GAAI,KAAA;AAEJ,EAAA,MAAM,eAAA,GAAkB,4BAA4B,OAAO,CAAA;AAE3D,EAAA,MAAM,OAAA,GAAU,eAAA,CAAgB,MAAA,CAAO,iBAAiB,CAAA;AAExD,EAAA,MAAM,YAAY,MAAM;AACtB,IAAA,IAAA,CAAK,QAAA,CAAS,IAAI,CAAC,CAAA;AAAA,EACrB,CAAA;AAEA,EAAA,4BACG,cAAA,EAAA,EACC,QAAA,EAAA;AAAA,oBAAA,GAAA,CAAC,MAAA,EAAA,EAAO,QAAA,EAAU,SAAA,EAAW,YAAA,EAAY,IAAA,EACvC,QAAA,kBAAA,GAAA;AAAA,MAAC,MAAA;AAAA,MAAA;AAAA,QACC,YAAA,EAAY,OAAA;AAAA,QACX,GAAG,WAAA;AAAA,QACJ,GAAA;AAAA,QACA,OAAA;AAAA,QACA,KAAA;AAAA,QAEA,8BAAC,QAAA,EAAA,EAAS;AAAA;AAAA,KACZ,EACF,CAAA;AAAA,oBACA,GAAA,CAAC,WAAS,QAAA,EAAA,OAAA,EAAQ;AAAA,GAAA,EACpB,CAAA;AAEJ,CAAC;;;;"}
|
|
@@ -11,7 +11,7 @@ import '@react-aria/live-announcer';
|
|
|
11
11
|
const PasswordGenerateButton = (props) => {
|
|
12
12
|
const { isDisabled, onGeneratePasswordAction } = props;
|
|
13
13
|
const translate = useLocalizedStringFormatter(locales);
|
|
14
|
-
return /* @__PURE__ */ jsx(Action, {
|
|
14
|
+
return /* @__PURE__ */ jsx(Action, { onAction: onGeneratePasswordAction, showFeedback: false, children: /* @__PURE__ */ jsx(
|
|
15
15
|
Button,
|
|
16
16
|
{
|
|
17
17
|
"data-component": "generatePassword",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordGenerateButton.mjs","sources":["../../../../../../../../src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx"],"sourcesContent":["import { type FC } from \"react\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport locales from \"./../../locales/*.locale.json\";\nimport { Button } from \"@/components/Button\";\nimport { Action, type ActionFn } from \"@/components/Action\";\n\ninterface Props {\n isDisabled?: boolean;\n onGeneratePasswordAction?: ActionFn;\n}\n\nexport const PasswordGenerateButton: FC<Props> = (props) => {\n const { isDisabled, onGeneratePasswordAction } = props;\n const translate = useLocalizedStringFormatter(locales);\n\n return (\n <Action
|
|
1
|
+
{"version":3,"file":"PasswordGenerateButton.mjs","sources":["../../../../../../../../src/components/PasswordCreationField/components/PasswordGenerateButton/PasswordGenerateButton.tsx"],"sourcesContent":["import { type FC } from \"react\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport locales from \"./../../locales/*.locale.json\";\nimport { Button } from \"@/components/Button\";\nimport { Action, type ActionFn } from \"@/components/Action\";\n\ninterface Props {\n isDisabled?: boolean;\n onGeneratePasswordAction?: ActionFn;\n}\n\nexport const PasswordGenerateButton: FC<Props> = (props) => {\n const { isDisabled, onGeneratePasswordAction } = props;\n const translate = useLocalizedStringFormatter(locales);\n\n return (\n <Action onAction={onGeneratePasswordAction} showFeedback={false}>\n <Button\n data-component=\"generatePassword\"\n isDisabled={isDisabled}\n variant=\"plain\"\n color=\"dark\"\n >\n {translate.format(\"button.generate\")}\n </Button>\n </Action>\n );\n};\n"],"names":[],"mappings":";;;;;;;;AAWO,MAAM,sBAAA,GAAoC,CAAC,KAAA,KAAU;AAC1D,EAAA,MAAM,EAAE,UAAA,EAAY,wBAAA,EAAyB,GAAI,KAAA;AACjD,EAAA,MAAM,SAAA,GAAY,4BAA4B,OAAO,CAAA;AAErD,EAAA,uBACE,GAAA,CAAC,MAAA,EAAA,EAAO,QAAA,EAAU,wBAAA,EAA0B,cAAc,KAAA,EACxD,QAAA,kBAAA,GAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACC,gBAAA,EAAe,kBAAA;AAAA,MACf,UAAA;AAAA,MACA,OAAA,EAAQ,OAAA;AAAA,MACR,KAAA,EAAM,MAAA;AAAA,MAEL,QAAA,EAAA,SAAA,CAAU,OAAO,iBAAiB;AAAA;AAAA,GACrC,EACF,CAAA;AAEJ;;;;"}
|
|
@@ -26,7 +26,7 @@ const TogglePasswordVisibilityButton = ({
|
|
|
26
26
|
const tooltipText = translate.format(
|
|
27
27
|
"button.generate.tooltip." + (isVisible ? "hide" : "show")
|
|
28
28
|
);
|
|
29
|
-
return /* @__PURE__ */ jsx(Action, {
|
|
29
|
+
return /* @__PURE__ */ jsx(Action, { onAction: onPress, children: /* @__PURE__ */ jsx(TooltipTrigger, { children: /* @__PURE__ */ jsxs(
|
|
30
30
|
Button,
|
|
31
31
|
{
|
|
32
32
|
className,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TogglePasswordVisibilityButton.mjs","sources":["../../../../../../../../src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx"],"sourcesContent":["import { type FC } from \"react\";\nimport { Tooltip, TooltipTrigger } from \"@/components/Tooltip\";\nimport Button from \"@/components/Button\";\nimport { IconHide, IconShow } from \"@/components/Icon/components/icons\";\nimport { Action, type ActionFn } from \"@/components/Action\";\nimport locales from \"./../../locales/*.locale.json\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport type { PropsWithClassName } from \"@/lib/types/props\";\n\ninterface Props extends PropsWithClassName {\n isDisabled?: boolean;\n isVisible: boolean;\n onPress: ActionFn;\n}\n\n/** @internal */\nexport const TogglePasswordVisibilityButton: FC<Props> = ({\n isVisible,\n isDisabled = false,\n onPress,\n className,\n}) => {\n const translate = useLocalizedStringFormatter(locales);\n\n const icon = isVisible ? <IconHide /> : <IconShow />;\n const tooltipText = translate.format(\n \"button.generate.tooltip.\" + (isVisible ? \"hide\" : \"show\"),\n );\n\n return (\n <Action
|
|
1
|
+
{"version":3,"file":"TogglePasswordVisibilityButton.mjs","sources":["../../../../../../../../src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx"],"sourcesContent":["import { type FC } from \"react\";\nimport { Tooltip, TooltipTrigger } from \"@/components/Tooltip\";\nimport Button from \"@/components/Button\";\nimport { IconHide, IconShow } from \"@/components/Icon/components/icons\";\nimport { Action, type ActionFn } from \"@/components/Action\";\nimport locales from \"./../../locales/*.locale.json\";\nimport { useLocalizedStringFormatter } from \"react-aria\";\nimport type { PropsWithClassName } from \"@/lib/types/props\";\n\ninterface Props extends PropsWithClassName {\n isDisabled?: boolean;\n isVisible: boolean;\n onPress: ActionFn;\n}\n\n/** @internal */\nexport const TogglePasswordVisibilityButton: FC<Props> = ({\n isVisible,\n isDisabled = false,\n onPress,\n className,\n}) => {\n const translate = useLocalizedStringFormatter(locales);\n\n const icon = isVisible ? <IconHide /> : <IconShow />;\n const tooltipText = translate.format(\n \"button.generate.tooltip.\" + (isVisible ? \"hide\" : \"show\"),\n );\n\n return (\n <Action onAction={onPress}>\n <TooltipTrigger>\n <Button\n className={className}\n size=\"m\"\n tunnelId={null}\n variant=\"plain\"\n color=\"secondary\"\n isDisabled={isDisabled}\n data-component=\"toggleRevealPassword\"\n aria-label={tooltipText}\n >\n {icon}\n <Tooltip>{tooltipText}</Tooltip>\n </Button>\n </TooltipTrigger>\n </Action>\n );\n};\n\nexport default TogglePasswordVisibilityButton;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAgBO,MAAM,iCAA4C,CAAC;AAAA,EACxD,SAAA;AAAA,EACA,UAAA,GAAa,KAAA;AAAA,EACb,OAAA;AAAA,EACA;AACF,CAAA,KAAM;AACJ,EAAA,MAAM,SAAA,GAAY,4BAA4B,OAAO,CAAA;AAErD,EAAA,MAAM,OAAO,SAAA,mBAAY,GAAA,CAAC,QAAA,EAAA,EAAS,CAAA,uBAAM,QAAA,EAAA,EAAS,CAAA;AAClD,EAAA,MAAM,cAAc,SAAA,CAAU,MAAA;AAAA,IAC5B,0BAAA,IAA8B,YAAY,MAAA,GAAS,MAAA;AAAA,GACrD;AAEA,EAAA,uBACE,GAAA,CAAC,MAAA,EAAA,EAAO,QAAA,EAAU,OAAA,EAChB,8BAAC,cAAA,EAAA,EACC,QAAA,kBAAA,IAAA;AAAA,IAAC,MAAA;AAAA,IAAA;AAAA,MACC,SAAA;AAAA,MACA,IAAA,EAAK,GAAA;AAAA,MACL,QAAA,EAAU,IAAA;AAAA,MACV,OAAA,EAAQ,OAAA;AAAA,MACR,KAAA,EAAM,WAAA;AAAA,MACN,UAAA;AAAA,MACA,gBAAA,EAAe,sBAAA;AAAA,MACf,YAAA,EAAY,WAAA;AAAA,MAEX,QAAA,EAAA;AAAA,QAAA,IAAA;AAAA,wBACD,GAAA,CAAC,WAAS,QAAA,EAAA,WAAA,EAAY;AAAA;AAAA;AAAA,KAE1B,CAAA,EACF,CAAA;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/components/Action/Action.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/components/Action/Action.tsx"],"names":[],"mappings":"AAiDA,eAAO,MAAM,MAAM,oIAqElB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getExecutionFunction.d.ts","sourceRoot":"","sources":["../../../../../src/components/Action/models/getExecutionFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAQpD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,WAAW,GAAG,QAAQ,
|
|
1
|
+
{"version":3,"file":"getExecutionFunction.d.ts","sourceRoot":"","sources":["../../../../../src/components/Action/models/getExecutionFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAQpD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,WAAW,GAAG,QAAQ,CA4BlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Action/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Action/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAYvD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAsB7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAK/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAKnC,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAkBnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EdgeCases.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Action/stories/EdgeCases.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"EdgeCases.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Action/stories/EdgeCases.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAG7B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,oBAAoB,EAAE,KAWlC,CAAC"}
|
|
@@ -5,7 +5,6 @@ import { FlowComponentName } from '../propTypes';
|
|
|
5
5
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
6
6
|
export type ActionFn = (...args: unknown[]) => unknown;
|
|
7
7
|
export interface ActionProps extends PropsWithChildren, FlowComponentProps {
|
|
8
|
-
action?: ActionFn;
|
|
9
8
|
onAction?: ActionFn;
|
|
10
9
|
actionModel?: ActionModel;
|
|
11
10
|
closeOverlay?: FlowComponentName | OverlayController;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Action/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;AAEvD,MAAM,WAAW,WAAY,SAAQ,iBAAiB,EAAE,kBAAkB;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Action/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;AAEvD,MAAM,WAAW,WAAY,SAAQ,iBAAiB,EAAE,kBAAkB;IACxE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IACrD,WAAW,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IACpD,aAAa,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IACtD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionGroup/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,WAAW,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionGroup/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AASzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAelC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KASpB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAcjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAiBtC,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAc/B,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.646",
|
|
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.646",
|
|
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",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@faker-js/faker": "^10.1.0",
|
|
104
104
|
"@internationalized/date": "^3.10.0",
|
|
105
105
|
"@mittwald/flow-core": "",
|
|
106
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
106
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.646",
|
|
107
107
|
"@mittwald/react-use-promise": "^4.2.2",
|
|
108
108
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.10",
|
|
109
109
|
"@mittwald/typescript-config": "",
|
|
@@ -172,5 +172,5 @@
|
|
|
172
172
|
"optional": true
|
|
173
173
|
}
|
|
174
174
|
},
|
|
175
|
-
"gitHead": "
|
|
175
|
+
"gitHead": "bc2fba7e551b84a3c0f252020673a176fcb06e17"
|
|
176
176
|
}
|