@mittwald/flow-react-components 0.2.0-alpha.323 → 0.2.0-alpha.325
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 +10 -0
- package/dist/assets/doc-properties.json +218 -218
- package/dist/js/components/src/components/TextArea/TextArea.mjs +0 -2
- package/dist/js/components/src/components/TextArea/TextArea.mjs.map +1 -1
- package/dist/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.2.0-alpha.325](https://github.com/mittwald/flow/compare/0.2.0-alpha.324...0.2.0-alpha.325) (2025-07-03)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **TextArea:** fix default value ([#1711](https://github.com/mittwald/flow/issues/1711)) ([26106fb](https://github.com/mittwald/flow/commit/26106fbdb21d26ce6880bc735eefac53e24171bc))
|
|
11
|
+
|
|
12
|
+
# [0.2.0-alpha.324](https://github.com/mittwald/flow/compare/0.2.0-alpha.323...0.2.0-alpha.324) (2025-07-03)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
15
|
+
|
|
6
16
|
# [0.2.0-alpha.323](https://github.com/mittwald/flow/compare/0.2.0-alpha.322...0.2.0-alpha.323) (2025-07-03)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
@@ -128698,166 +128698,6 @@
|
|
|
128698
128698
|
}
|
|
128699
128699
|
}
|
|
128700
128700
|
},
|
|
128701
|
-
{
|
|
128702
|
-
"tags": {
|
|
128703
|
-
"flr-generate": "all",
|
|
128704
|
-
"flr-clear-props-context": ""
|
|
128705
|
-
},
|
|
128706
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/FieldError/FieldError.tsx",
|
|
128707
|
-
"description": "",
|
|
128708
|
-
"displayName": "FieldError",
|
|
128709
|
-
"methods": [],
|
|
128710
|
-
"props": {
|
|
128711
|
-
"className": {
|
|
128712
|
-
"defaultValue": null,
|
|
128713
|
-
"description": "The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.",
|
|
128714
|
-
"name": "className",
|
|
128715
|
-
"parent": {
|
|
128716
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
128717
|
-
"name": "StyleRenderProps"
|
|
128718
|
-
},
|
|
128719
|
-
"declarations": [
|
|
128720
|
-
{
|
|
128721
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
128722
|
-
"name": "StyleRenderProps"
|
|
128723
|
-
}
|
|
128724
|
-
],
|
|
128725
|
-
"required": false,
|
|
128726
|
-
"type": {
|
|
128727
|
-
"name": "string | ((values: FieldErrorRenderProps & { defaultClassName: string; }) => string)"
|
|
128728
|
-
}
|
|
128729
|
-
},
|
|
128730
|
-
"id": {
|
|
128731
|
-
"defaultValue": null,
|
|
128732
|
-
"description": "The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).",
|
|
128733
|
-
"name": "id",
|
|
128734
|
-
"parent": {
|
|
128735
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.29.1_react@19.1.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
128736
|
-
"name": "DOMProps"
|
|
128737
|
-
},
|
|
128738
|
-
"declarations": [
|
|
128739
|
-
{
|
|
128740
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.29.1_react@19.1.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
128741
|
-
"name": "DOMProps"
|
|
128742
|
-
}
|
|
128743
|
-
],
|
|
128744
|
-
"required": false,
|
|
128745
|
-
"type": {
|
|
128746
|
-
"name": "string"
|
|
128747
|
-
}
|
|
128748
|
-
},
|
|
128749
|
-
"style": {
|
|
128750
|
-
"defaultValue": null,
|
|
128751
|
-
"description": "The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state.",
|
|
128752
|
-
"name": "style",
|
|
128753
|
-
"parent": {
|
|
128754
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
128755
|
-
"name": "StyleRenderProps"
|
|
128756
|
-
},
|
|
128757
|
-
"declarations": [
|
|
128758
|
-
{
|
|
128759
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
128760
|
-
"name": "StyleRenderProps"
|
|
128761
|
-
}
|
|
128762
|
-
],
|
|
128763
|
-
"required": false,
|
|
128764
|
-
"type": {
|
|
128765
|
-
"name": "CSSProperties | ((values: FieldErrorRenderProps & { defaultStyle: CSSProperties; }) => CSSProperties)"
|
|
128766
|
-
}
|
|
128767
|
-
},
|
|
128768
|
-
"children": {
|
|
128769
|
-
"defaultValue": null,
|
|
128770
|
-
"description": "",
|
|
128771
|
-
"name": "children",
|
|
128772
|
-
"declarations": [
|
|
128773
|
-
{
|
|
128774
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
128775
|
-
"name": "TypeLiteral"
|
|
128776
|
-
}
|
|
128777
|
-
],
|
|
128778
|
-
"required": false,
|
|
128779
|
-
"type": {
|
|
128780
|
-
"name": "ReactNode"
|
|
128781
|
-
}
|
|
128782
|
-
},
|
|
128783
|
-
"wrapWith": {
|
|
128784
|
-
"defaultValue": null,
|
|
128785
|
-
"description": "",
|
|
128786
|
-
"name": "wrapWith",
|
|
128787
|
-
"parent": {
|
|
128788
|
-
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
128789
|
-
"name": "FlowComponentProps"
|
|
128790
|
-
},
|
|
128791
|
-
"declarations": [
|
|
128792
|
-
{
|
|
128793
|
-
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
128794
|
-
"name": "FlowComponentProps"
|
|
128795
|
-
}
|
|
128796
|
-
],
|
|
128797
|
-
"required": false,
|
|
128798
|
-
"type": {
|
|
128799
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
128800
|
-
}
|
|
128801
|
-
},
|
|
128802
|
-
"tunnelId": {
|
|
128803
|
-
"defaultValue": null,
|
|
128804
|
-
"description": "@internal",
|
|
128805
|
-
"name": "tunnelId",
|
|
128806
|
-
"parent": {
|
|
128807
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
128808
|
-
"name": "PropsWithTunnel"
|
|
128809
|
-
},
|
|
128810
|
-
"declarations": [
|
|
128811
|
-
{
|
|
128812
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
128813
|
-
"name": "PropsWithTunnel"
|
|
128814
|
-
}
|
|
128815
|
-
],
|
|
128816
|
-
"required": false,
|
|
128817
|
-
"type": {
|
|
128818
|
-
"name": "string | null"
|
|
128819
|
-
}
|
|
128820
|
-
},
|
|
128821
|
-
"ref": {
|
|
128822
|
-
"defaultValue": null,
|
|
128823
|
-
"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}",
|
|
128824
|
-
"name": "ref",
|
|
128825
|
-
"parent": {
|
|
128826
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
128827
|
-
"name": "RefAttributes"
|
|
128828
|
-
},
|
|
128829
|
-
"declarations": [
|
|
128830
|
-
{
|
|
128831
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
128832
|
-
"name": "RefAttributes"
|
|
128833
|
-
}
|
|
128834
|
-
],
|
|
128835
|
-
"required": false,
|
|
128836
|
-
"type": {
|
|
128837
|
-
"name": "Ref<HTMLDivElement>"
|
|
128838
|
-
}
|
|
128839
|
-
},
|
|
128840
|
-
"key": {
|
|
128841
|
-
"defaultValue": null,
|
|
128842
|
-
"description": "",
|
|
128843
|
-
"name": "key",
|
|
128844
|
-
"parent": {
|
|
128845
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
128846
|
-
"name": "Attributes"
|
|
128847
|
-
},
|
|
128848
|
-
"declarations": [
|
|
128849
|
-
{
|
|
128850
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
128851
|
-
"name": "Attributes"
|
|
128852
|
-
}
|
|
128853
|
-
],
|
|
128854
|
-
"required": false,
|
|
128855
|
-
"type": {
|
|
128856
|
-
"name": "Key | null"
|
|
128857
|
-
}
|
|
128858
|
-
}
|
|
128859
|
-
}
|
|
128860
|
-
},
|
|
128861
128701
|
{
|
|
128862
128702
|
"tags": {
|
|
128863
128703
|
"flr-generate": "all"
|
|
@@ -134413,6 +134253,166 @@
|
|
|
134413
134253
|
}
|
|
134414
134254
|
}
|
|
134415
134255
|
},
|
|
134256
|
+
{
|
|
134257
|
+
"tags": {
|
|
134258
|
+
"flr-generate": "all",
|
|
134259
|
+
"flr-clear-props-context": ""
|
|
134260
|
+
},
|
|
134261
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/FieldError/FieldError.tsx",
|
|
134262
|
+
"description": "",
|
|
134263
|
+
"displayName": "FieldError",
|
|
134264
|
+
"methods": [],
|
|
134265
|
+
"props": {
|
|
134266
|
+
"className": {
|
|
134267
|
+
"defaultValue": null,
|
|
134268
|
+
"description": "The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.",
|
|
134269
|
+
"name": "className",
|
|
134270
|
+
"parent": {
|
|
134271
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
134272
|
+
"name": "StyleRenderProps"
|
|
134273
|
+
},
|
|
134274
|
+
"declarations": [
|
|
134275
|
+
{
|
|
134276
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
134277
|
+
"name": "StyleRenderProps"
|
|
134278
|
+
}
|
|
134279
|
+
],
|
|
134280
|
+
"required": false,
|
|
134281
|
+
"type": {
|
|
134282
|
+
"name": "string | ((values: FieldErrorRenderProps & { defaultClassName: string; }) => string)"
|
|
134283
|
+
}
|
|
134284
|
+
},
|
|
134285
|
+
"id": {
|
|
134286
|
+
"defaultValue": null,
|
|
134287
|
+
"description": "The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).",
|
|
134288
|
+
"name": "id",
|
|
134289
|
+
"parent": {
|
|
134290
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.29.1_react@19.1.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
134291
|
+
"name": "DOMProps"
|
|
134292
|
+
},
|
|
134293
|
+
"declarations": [
|
|
134294
|
+
{
|
|
134295
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.29.1_react@19.1.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
134296
|
+
"name": "DOMProps"
|
|
134297
|
+
}
|
|
134298
|
+
],
|
|
134299
|
+
"required": false,
|
|
134300
|
+
"type": {
|
|
134301
|
+
"name": "string"
|
|
134302
|
+
}
|
|
134303
|
+
},
|
|
134304
|
+
"style": {
|
|
134305
|
+
"defaultValue": null,
|
|
134306
|
+
"description": "The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state.",
|
|
134307
|
+
"name": "style",
|
|
134308
|
+
"parent": {
|
|
134309
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
134310
|
+
"name": "StyleRenderProps"
|
|
134311
|
+
},
|
|
134312
|
+
"declarations": [
|
|
134313
|
+
{
|
|
134314
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
134315
|
+
"name": "StyleRenderProps"
|
|
134316
|
+
}
|
|
134317
|
+
],
|
|
134318
|
+
"required": false,
|
|
134319
|
+
"type": {
|
|
134320
|
+
"name": "CSSProperties | ((values: FieldErrorRenderProps & { defaultStyle: CSSProperties; }) => CSSProperties)"
|
|
134321
|
+
}
|
|
134322
|
+
},
|
|
134323
|
+
"children": {
|
|
134324
|
+
"defaultValue": null,
|
|
134325
|
+
"description": "",
|
|
134326
|
+
"name": "children",
|
|
134327
|
+
"declarations": [
|
|
134328
|
+
{
|
|
134329
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
134330
|
+
"name": "TypeLiteral"
|
|
134331
|
+
}
|
|
134332
|
+
],
|
|
134333
|
+
"required": false,
|
|
134334
|
+
"type": {
|
|
134335
|
+
"name": "ReactNode"
|
|
134336
|
+
}
|
|
134337
|
+
},
|
|
134338
|
+
"wrapWith": {
|
|
134339
|
+
"defaultValue": null,
|
|
134340
|
+
"description": "",
|
|
134341
|
+
"name": "wrapWith",
|
|
134342
|
+
"parent": {
|
|
134343
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
134344
|
+
"name": "FlowComponentProps"
|
|
134345
|
+
},
|
|
134346
|
+
"declarations": [
|
|
134347
|
+
{
|
|
134348
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
134349
|
+
"name": "FlowComponentProps"
|
|
134350
|
+
}
|
|
134351
|
+
],
|
|
134352
|
+
"required": false,
|
|
134353
|
+
"type": {
|
|
134354
|
+
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
134355
|
+
}
|
|
134356
|
+
},
|
|
134357
|
+
"tunnelId": {
|
|
134358
|
+
"defaultValue": null,
|
|
134359
|
+
"description": "@internal",
|
|
134360
|
+
"name": "tunnelId",
|
|
134361
|
+
"parent": {
|
|
134362
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
134363
|
+
"name": "PropsWithTunnel"
|
|
134364
|
+
},
|
|
134365
|
+
"declarations": [
|
|
134366
|
+
{
|
|
134367
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
134368
|
+
"name": "PropsWithTunnel"
|
|
134369
|
+
}
|
|
134370
|
+
],
|
|
134371
|
+
"required": false,
|
|
134372
|
+
"type": {
|
|
134373
|
+
"name": "string | null"
|
|
134374
|
+
}
|
|
134375
|
+
},
|
|
134376
|
+
"ref": {
|
|
134377
|
+
"defaultValue": null,
|
|
134378
|
+
"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}",
|
|
134379
|
+
"name": "ref",
|
|
134380
|
+
"parent": {
|
|
134381
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
134382
|
+
"name": "RefAttributes"
|
|
134383
|
+
},
|
|
134384
|
+
"declarations": [
|
|
134385
|
+
{
|
|
134386
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
134387
|
+
"name": "RefAttributes"
|
|
134388
|
+
}
|
|
134389
|
+
],
|
|
134390
|
+
"required": false,
|
|
134391
|
+
"type": {
|
|
134392
|
+
"name": "Ref<HTMLDivElement>"
|
|
134393
|
+
}
|
|
134394
|
+
},
|
|
134395
|
+
"key": {
|
|
134396
|
+
"defaultValue": null,
|
|
134397
|
+
"description": "",
|
|
134398
|
+
"name": "key",
|
|
134399
|
+
"parent": {
|
|
134400
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
134401
|
+
"name": "Attributes"
|
|
134402
|
+
},
|
|
134403
|
+
"declarations": [
|
|
134404
|
+
{
|
|
134405
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.6/node_modules/@types/react/index.d.ts",
|
|
134406
|
+
"name": "Attributes"
|
|
134407
|
+
}
|
|
134408
|
+
],
|
|
134409
|
+
"required": false,
|
|
134410
|
+
"type": {
|
|
134411
|
+
"name": "Key | null"
|
|
134412
|
+
}
|
|
134413
|
+
}
|
|
134414
|
+
}
|
|
134415
|
+
},
|
|
134416
134416
|
{
|
|
134417
134417
|
"tags": {
|
|
134418
134418
|
"flr-generate": "all",
|
|
@@ -214202,12 +214202,10 @@
|
|
|
214202
214202
|
}
|
|
214203
214203
|
},
|
|
214204
214204
|
{
|
|
214205
|
-
"tags": {
|
|
214206
|
-
|
|
214207
|
-
},
|
|
214208
|
-
"filePath": "src/integrations/nextjs/components/LinkProvider/LinkProvider.tsx",
|
|
214205
|
+
"tags": {},
|
|
214206
|
+
"filePath": "src/integrations/nextjs/components/RouterProvider/RouterProvider.tsx",
|
|
214209
214207
|
"description": "",
|
|
214210
|
-
"displayName": "
|
|
214208
|
+
"displayName": "RouterProvider",
|
|
214211
214209
|
"methods": [],
|
|
214212
214210
|
"props": {
|
|
214213
214211
|
"children": {
|
|
@@ -214228,10 +214226,12 @@
|
|
|
214228
214226
|
}
|
|
214229
214227
|
},
|
|
214230
214228
|
{
|
|
214231
|
-
"tags": {
|
|
214232
|
-
|
|
214229
|
+
"tags": {
|
|
214230
|
+
"deprecated": "Use RouterProvider instead"
|
|
214231
|
+
},
|
|
214232
|
+
"filePath": "src/integrations/nextjs/components/LinkProvider/LinkProvider.tsx",
|
|
214233
214233
|
"description": "",
|
|
214234
|
-
"displayName": "
|
|
214234
|
+
"displayName": "LinkProvider",
|
|
214235
214235
|
"methods": [],
|
|
214236
214236
|
"props": {
|
|
214237
214237
|
"children": {
|
|
@@ -224697,71 +224697,67 @@
|
|
|
224697
224697
|
}
|
|
224698
224698
|
},
|
|
224699
224699
|
{
|
|
224700
|
-
"tags": {
|
|
224701
|
-
|
|
224702
|
-
},
|
|
224703
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
224700
|
+
"tags": {},
|
|
224701
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
224704
224702
|
"description": "",
|
|
224705
|
-
"displayName": "
|
|
224703
|
+
"displayName": "ValidationResultButton",
|
|
224706
224704
|
"methods": [],
|
|
224707
224705
|
"props": {
|
|
224708
|
-
"
|
|
224709
|
-
"defaultValue":
|
|
224710
|
-
"value": "false"
|
|
224711
|
-
},
|
|
224706
|
+
"policyValidationResult": {
|
|
224707
|
+
"defaultValue": null,
|
|
224712
224708
|
"description": "",
|
|
224713
|
-
"name": "
|
|
224709
|
+
"name": "policyValidationResult",
|
|
224714
224710
|
"parent": {
|
|
224715
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224711
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
224716
224712
|
"name": "Props"
|
|
224717
224713
|
},
|
|
224718
224714
|
"declarations": [
|
|
224719
224715
|
{
|
|
224720
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224716
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
224721
224717
|
"name": "Props"
|
|
224722
224718
|
}
|
|
224723
224719
|
],
|
|
224724
224720
|
"required": false,
|
|
224725
224721
|
"type": {
|
|
224726
|
-
"name": "
|
|
224722
|
+
"name": "ResolvedPolicyValidationResult"
|
|
224727
224723
|
}
|
|
224728
224724
|
},
|
|
224729
|
-
"
|
|
224725
|
+
"isDisabled": {
|
|
224730
224726
|
"defaultValue": null,
|
|
224731
224727
|
"description": "",
|
|
224732
|
-
"name": "
|
|
224728
|
+
"name": "isDisabled",
|
|
224733
224729
|
"parent": {
|
|
224734
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224730
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
224735
224731
|
"name": "Props"
|
|
224736
224732
|
},
|
|
224737
224733
|
"declarations": [
|
|
224738
224734
|
{
|
|
224739
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224735
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
224740
224736
|
"name": "Props"
|
|
224741
224737
|
}
|
|
224742
224738
|
],
|
|
224743
|
-
"required":
|
|
224739
|
+
"required": false,
|
|
224744
224740
|
"type": {
|
|
224745
224741
|
"name": "boolean"
|
|
224746
224742
|
}
|
|
224747
224743
|
},
|
|
224748
|
-
"
|
|
224744
|
+
"isEmptyValue": {
|
|
224749
224745
|
"defaultValue": null,
|
|
224750
224746
|
"description": "",
|
|
224751
|
-
"name": "
|
|
224747
|
+
"name": "isEmptyValue",
|
|
224752
224748
|
"parent": {
|
|
224753
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224749
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
224754
224750
|
"name": "Props"
|
|
224755
224751
|
},
|
|
224756
224752
|
"declarations": [
|
|
224757
224753
|
{
|
|
224758
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224754
|
+
"fileName": "components/src/components/PasswordCreationField/components/ValidationResultButton/ValidationResultButton.tsx",
|
|
224759
224755
|
"name": "Props"
|
|
224760
224756
|
}
|
|
224761
224757
|
],
|
|
224762
224758
|
"required": true,
|
|
224763
224759
|
"type": {
|
|
224764
|
-
"name": "
|
|
224760
|
+
"name": "boolean"
|
|
224765
224761
|
}
|
|
224766
224762
|
},
|
|
224767
224763
|
"className": {
|
|
@@ -224786,67 +224782,71 @@
|
|
|
224786
224782
|
}
|
|
224787
224783
|
},
|
|
224788
224784
|
{
|
|
224789
|
-
"tags": {
|
|
224790
|
-
|
|
224785
|
+
"tags": {
|
|
224786
|
+
"internal": ""
|
|
224787
|
+
},
|
|
224788
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
224791
224789
|
"description": "",
|
|
224792
|
-
"displayName": "
|
|
224790
|
+
"displayName": "TogglePasswordVisibilityButton",
|
|
224793
224791
|
"methods": [],
|
|
224794
224792
|
"props": {
|
|
224795
|
-
"
|
|
224796
|
-
"defaultValue":
|
|
224793
|
+
"isDisabled": {
|
|
224794
|
+
"defaultValue": {
|
|
224795
|
+
"value": "false"
|
|
224796
|
+
},
|
|
224797
224797
|
"description": "",
|
|
224798
|
-
"name": "
|
|
224798
|
+
"name": "isDisabled",
|
|
224799
224799
|
"parent": {
|
|
224800
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224800
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
224801
224801
|
"name": "Props"
|
|
224802
224802
|
},
|
|
224803
224803
|
"declarations": [
|
|
224804
224804
|
{
|
|
224805
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224805
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
224806
224806
|
"name": "Props"
|
|
224807
224807
|
}
|
|
224808
224808
|
],
|
|
224809
224809
|
"required": false,
|
|
224810
224810
|
"type": {
|
|
224811
|
-
"name": "
|
|
224811
|
+
"name": "boolean"
|
|
224812
224812
|
}
|
|
224813
224813
|
},
|
|
224814
|
-
"
|
|
224814
|
+
"isVisible": {
|
|
224815
224815
|
"defaultValue": null,
|
|
224816
224816
|
"description": "",
|
|
224817
|
-
"name": "
|
|
224817
|
+
"name": "isVisible",
|
|
224818
224818
|
"parent": {
|
|
224819
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224819
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
224820
224820
|
"name": "Props"
|
|
224821
224821
|
},
|
|
224822
224822
|
"declarations": [
|
|
224823
224823
|
{
|
|
224824
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224824
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
224825
224825
|
"name": "Props"
|
|
224826
224826
|
}
|
|
224827
224827
|
],
|
|
224828
|
-
"required":
|
|
224828
|
+
"required": true,
|
|
224829
224829
|
"type": {
|
|
224830
224830
|
"name": "boolean"
|
|
224831
224831
|
}
|
|
224832
224832
|
},
|
|
224833
|
-
"
|
|
224833
|
+
"onPress": {
|
|
224834
224834
|
"defaultValue": null,
|
|
224835
224835
|
"description": "",
|
|
224836
|
-
"name": "
|
|
224836
|
+
"name": "onPress",
|
|
224837
224837
|
"parent": {
|
|
224838
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224838
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
224839
224839
|
"name": "Props"
|
|
224840
224840
|
},
|
|
224841
224841
|
"declarations": [
|
|
224842
224842
|
{
|
|
224843
|
-
"fileName": "components/src/components/PasswordCreationField/components/
|
|
224843
|
+
"fileName": "components/src/components/PasswordCreationField/components/TogglePasswordVisibilityButton/TogglePasswordVisibilityButton.tsx",
|
|
224844
224844
|
"name": "Props"
|
|
224845
224845
|
}
|
|
224846
224846
|
],
|
|
224847
224847
|
"required": true,
|
|
224848
224848
|
"type": {
|
|
224849
|
-
"name": "
|
|
224849
|
+
"name": "ActionFn"
|
|
224850
224850
|
}
|
|
224851
224851
|
},
|
|
224852
224852
|
"className": {
|
|
@@ -231105,6 +231105,14 @@
|
|
|
231105
231105
|
"methods": [],
|
|
231106
231106
|
"props": {}
|
|
231107
231107
|
},
|
|
231108
|
+
{
|
|
231109
|
+
"tags": {},
|
|
231110
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Table/Table.tsx",
|
|
231111
|
+
"description": "",
|
|
231112
|
+
"displayName": "Table",
|
|
231113
|
+
"methods": [],
|
|
231114
|
+
"props": {}
|
|
231115
|
+
},
|
|
231108
231116
|
{
|
|
231109
231117
|
"tags": {
|
|
231110
231118
|
"flr-generate": "all"
|
|
@@ -231228,14 +231236,6 @@
|
|
|
231228
231236
|
}
|
|
231229
231237
|
}
|
|
231230
231238
|
},
|
|
231231
|
-
{
|
|
231232
|
-
"tags": {},
|
|
231233
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Table/Table.tsx",
|
|
231234
|
-
"description": "",
|
|
231235
|
-
"displayName": "Table",
|
|
231236
|
-
"methods": [],
|
|
231237
|
-
"props": {}
|
|
231238
|
-
},
|
|
231239
231239
|
{
|
|
231240
231240
|
"tags": {},
|
|
231241
231241
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/ListItemView/ListItemView.tsx",
|
|
@@ -14,7 +14,6 @@ const TextArea = flowComponent("TextArea", (props) => {
|
|
|
14
14
|
const {
|
|
15
15
|
children,
|
|
16
16
|
placeholder,
|
|
17
|
-
defaultValue,
|
|
18
17
|
rows = 5,
|
|
19
18
|
autoResizeMaxRows = rows,
|
|
20
19
|
ref,
|
|
@@ -44,7 +43,6 @@ const TextArea = flowComponent("TextArea", (props) => {
|
|
|
44
43
|
className: styles.textArea,
|
|
45
44
|
ref: mergeRefs(localRef, ref),
|
|
46
45
|
onChange: updateHeight,
|
|
47
|
-
defaultValue,
|
|
48
46
|
style: {
|
|
49
47
|
minHeight: getHeight(rows),
|
|
50
48
|
maxHeight: getHeight(autoResizeMaxRows)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.mjs","sources":["../../../../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import { useRef } from \"react\";\nimport * as Aria from \"react-aria-components\";\nimport type { TextFieldBaseProps } from \"@/components/TextFieldBase\";\nimport { TextFieldBase } from \"@/components/TextFieldBase\";\nimport styles from \"./TextArea.module.scss\";\nimport ClearPropsContext from \"@/components/ClearPropsContext/ClearPropsContext\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport { mergeRefs } from \"@react-aria/utils\";\nimport { ReactAriaControlledValueFix } from \"@/lib/react/ReactAriaControlledValueFix\";\n\nexport interface TextAreaProps\n extends Omit<TextFieldBaseProps, \"input\" | \"ref\">,\n Pick<Aria.TextAreaProps, \"placeholder\" | \"rows\">,\n FlowComponentProps<HTMLTextAreaElement> {\n /**\n * Whether the text area should grow if its content gets longer than its\n * initial height.\n */\n autoResizeMaxRows?: number;\n}\n\n/**\n * @flr-generate all\n * @flr-clear-props-context\n */\nexport const TextArea = flowComponent(\"TextArea\", (props) => {\n const {\n children,\n placeholder,\n
|
|
1
|
+
{"version":3,"file":"TextArea.mjs","sources":["../../../../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import { useRef } from \"react\";\nimport * as Aria from \"react-aria-components\";\nimport type { TextFieldBaseProps } from \"@/components/TextFieldBase\";\nimport { TextFieldBase } from \"@/components/TextFieldBase\";\nimport styles from \"./TextArea.module.scss\";\nimport ClearPropsContext from \"@/components/ClearPropsContext/ClearPropsContext\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport { mergeRefs } from \"@react-aria/utils\";\nimport { ReactAriaControlledValueFix } from \"@/lib/react/ReactAriaControlledValueFix\";\n\nexport interface TextAreaProps\n extends Omit<TextFieldBaseProps, \"input\" | \"ref\">,\n Pick<Aria.TextAreaProps, \"placeholder\" | \"rows\">,\n FlowComponentProps<HTMLTextAreaElement> {\n /**\n * Whether the text area should grow if its content gets longer than its\n * initial height.\n */\n autoResizeMaxRows?: number;\n}\n\n/**\n * @flr-generate all\n * @flr-clear-props-context\n */\nexport const TextArea = flowComponent(\"TextArea\", (props) => {\n const {\n children,\n placeholder,\n rows = 5,\n autoResizeMaxRows = rows,\n ref,\n ...rest\n } = props;\n\n const localRef = useRef<HTMLTextAreaElement>(null);\n\n const getHeight = (rows: number) => {\n return `calc(var(--line-height--m) * ${rows} + (var(--form-control--padding-y) * 2))`;\n };\n\n const updateHeight = () => {\n if (localRef.current && rows !== autoResizeMaxRows) {\n // https://stackoverflow.com/a/60795884\n localRef.current.style.height = \"0px\";\n const scrollHeight = localRef.current.scrollHeight;\n localRef.current.style.height = scrollHeight + \"px\";\n }\n };\n\n const input = (\n <ReactAriaControlledValueFix\n inputContext={Aria.TextAreaContext}\n props={props}\n >\n <Aria.TextArea\n rows={rows}\n placeholder={placeholder}\n className={styles.textArea}\n ref={mergeRefs(localRef, ref)}\n onChange={updateHeight}\n style={{\n minHeight: getHeight(rows),\n maxHeight: getHeight(autoResizeMaxRows),\n }}\n />\n </ReactAriaControlledValueFix>\n );\n\n return (\n <ClearPropsContext>\n <TextFieldBase {...rest} input={input}>\n {children}\n </TextFieldBase>\n </ClearPropsContext>\n );\n});\n\nexport default TextArea;\n"],"names":["rows"],"mappings":";;;;;;;;;;AA0BO,MAAM,QAAW,GAAA,aAAA,CAAc,UAAY,EAAA,CAAC,KAAU,KAAA;AAC3D,EAAM,MAAA;AAAA,IACJ,QAAA;AAAA,IACA,WAAA;AAAA,IACA,IAAO,GAAA,CAAA;AAAA,IACP,iBAAoB,GAAA,IAAA;AAAA,IACpB,GAAA;AAAA,IACA,GAAG;AAAA,GACD,GAAA,KAAA;AAEJ,EAAM,MAAA,QAAA,GAAW,OAA4B,IAAI,CAAA;AAEjD,EAAM,MAAA,SAAA,GAAY,CAACA,KAAiB,KAAA;AAClC,IAAA,OAAO,gCAAgCA,KAAI,CAAA,wCAAA,CAAA;AAAA,GAC7C;AAEA,EAAA,MAAM,eAAe,MAAM;AACzB,IAAI,IAAA,QAAA,CAAS,OAAW,IAAA,IAAA,KAAS,iBAAmB,EAAA;AAElD,MAAS,QAAA,CAAA,OAAA,CAAQ,MAAM,MAAS,GAAA,KAAA;AAChC,MAAM,MAAA,YAAA,GAAe,SAAS,OAAQ,CAAA,YAAA;AACtC,MAAS,QAAA,CAAA,OAAA,CAAQ,KAAM,CAAA,MAAA,GAAS,YAAe,GAAA,IAAA;AAAA;AACjD,GACF;AAEA,EAAA,MAAM,KACJ,mBAAA,GAAA;AAAA,IAAC,2BAAA;AAAA,IAAA;AAAA,MACC,cAAc,IAAK,CAAA,eAAA;AAAA,MACnB,KAAA;AAAA,MAEA,QAAA,kBAAA,GAAA;AAAA,QAAC,IAAK,CAAA,QAAA;AAAA,QAAL;AAAA,UACC,IAAA;AAAA,UACA,WAAA;AAAA,UACA,WAAW,MAAO,CAAA,QAAA;AAAA,UAClB,GAAA,EAAK,SAAU,CAAA,QAAA,EAAU,GAAG,CAAA;AAAA,UAC5B,QAAU,EAAA,YAAA;AAAA,UACV,KAAO,EAAA;AAAA,YACL,SAAA,EAAW,UAAU,IAAI,CAAA;AAAA,YACzB,SAAA,EAAW,UAAU,iBAAiB;AAAA;AACxC;AAAA;AACF;AAAA,GACF;AAGF,EACE,uBAAA,GAAA,CAAC,qBACC,QAAC,kBAAA,GAAA,CAAA,aAAA,EAAA,EAAe,GAAG,IAAM,EAAA,KAAA,EACtB,UACH,CACF,EAAA,CAAA;AAEJ,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAIrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAK/E,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,KAAK,CAAC,EAC/C,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAAC,EAChD,kBAAkB,CAAC,mBAAmB,CAAC;IACzC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAIrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAK/E,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,KAAK,CAAC,EAC/C,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAAC,EAChD,kBAAkB,CAAC,mBAAmB,CAAC;IACzC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,uGAmDnB,CAAC;AAEH,eAAe,QAAQ,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.325",
|
|
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
|
"@chakra-ui/live-region": "^2.1.0",
|
|
59
59
|
"@internationalized/string-compiler": "^3.2.6",
|
|
60
60
|
"@mittwald/password-tools-js": "^2.1.4",
|
|
61
|
-
"@mittwald/react-tunnel": "0.2.0-alpha.
|
|
61
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.325",
|
|
62
62
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
63
63
|
"@react-aria/form": "^3.0.16",
|
|
64
64
|
"@react-aria/utils": "^3.29.0",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@faker-js/faker": "^9.8.0",
|
|
100
100
|
"@internationalized/date": "^3.8.1",
|
|
101
101
|
"@mittwald/flow-core": "",
|
|
102
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
102
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.325",
|
|
103
103
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
104
104
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.3",
|
|
105
105
|
"@mittwald/typescript-config": "",
|
|
@@ -181,5 +181,5 @@
|
|
|
181
181
|
"optional": true
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
|
-
"gitHead": "
|
|
184
|
+
"gitHead": "6bac55604aeffa85a8672f71682230c48032224e"
|
|
185
185
|
}
|