@mittwald/flow-react-components 0.2.0-alpha.61 → 0.2.0-alpha.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.2.0-alpha.63](https://github.com/mittwald/flow/compare/0.2.0-alpha.62...0.2.0-alpha.63) (2025-03-03)
7
+
8
+ ### Features
9
+
10
+ * **Initials:** support aria hidden ([#1225](https://github.com/mittwald/flow/issues/1225)) ([0f6ede3](https://github.com/mittwald/flow/commit/0f6ede36c23fb025b0b6c80a0a57b4066153a919))
11
+
12
+ # [0.2.0-alpha.62](https://github.com/mittwald/flow/compare/0.2.0-alpha.61...0.2.0-alpha.62) (2025-02-28)
13
+
14
+ **Note:** Version bump only for package @mittwald/flow-react-components
15
+
6
16
  # [0.2.0-alpha.61](https://github.com/mittwald/flow/compare/0.2.0-alpha.60...0.2.0-alpha.61) (2025-02-28)
7
17
 
8
18
  ### Features
@@ -56248,6 +56248,201 @@
56248
56248
  }
56249
56249
  }
56250
56250
  },
56251
+ {
56252
+ "tags": {
56253
+ "flr-generate": "all"
56254
+ },
56255
+ "filePath": "src/components/Markdown/Markdown.tsx",
56256
+ "description": "",
56257
+ "displayName": "Markdown",
56258
+ "methods": [],
56259
+ "props": {
56260
+ "color": {
56261
+ "defaultValue": null,
56262
+ "description": "The color schema of the markdown component.",
56263
+ "name": "color",
56264
+ "parent": {
56265
+ "fileName": "src/components/Markdown/Markdown.tsx",
56266
+ "name": "MarkdownProps"
56267
+ },
56268
+ "declarations": [
56269
+ {
56270
+ "fileName": "src/components/Markdown/Markdown.tsx",
56271
+ "name": "MarkdownProps"
56272
+ }
56273
+ ],
56274
+ "required": false,
56275
+ "type": {
56276
+ "name": "\"light\" | \"dark\" | \"default\""
56277
+ }
56278
+ },
56279
+ "children": {
56280
+ "defaultValue": null,
56281
+ "description": "Markdown.",
56282
+ "name": "children",
56283
+ "declarations": [
56284
+ {
56285
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56286
+ "name": "TypeLiteral"
56287
+ }
56288
+ ],
56289
+ "required": false,
56290
+ "type": {
56291
+ "name": "string | null"
56292
+ }
56293
+ },
56294
+ "className": {
56295
+ "defaultValue": null,
56296
+ "description": "Wrap in a `div` with this class name.",
56297
+ "name": "className",
56298
+ "declarations": [
56299
+ {
56300
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56301
+ "name": "TypeLiteral"
56302
+ }
56303
+ ],
56304
+ "required": false,
56305
+ "type": {
56306
+ "name": "string | null"
56307
+ }
56308
+ },
56309
+ "allowElement": {
56310
+ "defaultValue": null,
56311
+ "description": "Filter elements (optional);\n`allowedElements` / `disallowedElements` is used first.",
56312
+ "name": "allowElement",
56313
+ "declarations": [
56314
+ {
56315
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56316
+ "name": "TypeLiteral"
56317
+ }
56318
+ ],
56319
+ "required": false,
56320
+ "type": {
56321
+ "name": "AllowElement | null"
56322
+ }
56323
+ },
56324
+ "allowedElements": {
56325
+ "defaultValue": null,
56326
+ "description": "Tag names to allow (default: all tag names);\ncannot combine w/ `disallowedElements`.",
56327
+ "name": "allowedElements",
56328
+ "declarations": [
56329
+ {
56330
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56331
+ "name": "TypeLiteral"
56332
+ }
56333
+ ],
56334
+ "required": false,
56335
+ "type": {
56336
+ "name": "readonly string[] | null"
56337
+ }
56338
+ },
56339
+ "disallowedElements": {
56340
+ "defaultValue": null,
56341
+ "description": "Tag names to disallow (default: `[]`);\ncannot combine w/ `allowedElements`.",
56342
+ "name": "disallowedElements",
56343
+ "declarations": [
56344
+ {
56345
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56346
+ "name": "TypeLiteral"
56347
+ }
56348
+ ],
56349
+ "required": false,
56350
+ "type": {
56351
+ "name": "readonly string[] | null"
56352
+ }
56353
+ },
56354
+ "rehypePlugins": {
56355
+ "defaultValue": null,
56356
+ "description": "List of rehype plugins to use.",
56357
+ "name": "rehypePlugins",
56358
+ "declarations": [
56359
+ {
56360
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56361
+ "name": "TypeLiteral"
56362
+ }
56363
+ ],
56364
+ "required": false,
56365
+ "type": {
56366
+ "name": "PluggableList | null"
56367
+ }
56368
+ },
56369
+ "remarkPlugins": {
56370
+ "defaultValue": null,
56371
+ "description": "List of remark plugins to use.",
56372
+ "name": "remarkPlugins",
56373
+ "declarations": [
56374
+ {
56375
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56376
+ "name": "TypeLiteral"
56377
+ }
56378
+ ],
56379
+ "required": false,
56380
+ "type": {
56381
+ "name": "PluggableList | null"
56382
+ }
56383
+ },
56384
+ "remarkRehypeOptions": {
56385
+ "defaultValue": null,
56386
+ "description": "Options to pass through to `remark-rehype`.",
56387
+ "name": "remarkRehypeOptions",
56388
+ "declarations": [
56389
+ {
56390
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56391
+ "name": "TypeLiteral"
56392
+ }
56393
+ ],
56394
+ "required": false,
56395
+ "type": {
56396
+ "name": "Readonly<Options> | null"
56397
+ }
56398
+ },
56399
+ "skipHtml": {
56400
+ "defaultValue": null,
56401
+ "description": "Ignore HTML in markdown completely (default: `false`).",
56402
+ "name": "skipHtml",
56403
+ "declarations": [
56404
+ {
56405
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56406
+ "name": "TypeLiteral"
56407
+ }
56408
+ ],
56409
+ "required": false,
56410
+ "type": {
56411
+ "name": "boolean | null"
56412
+ }
56413
+ },
56414
+ "unwrapDisallowed": {
56415
+ "defaultValue": null,
56416
+ "description": "Extract (unwrap) what’s in disallowed elements (default: `false`);\nnormally when say `strong` is not allowed, it and it’s children are dropped,\nwith `unwrapDisallowed` the element itself is replaced by its children.",
56417
+ "name": "unwrapDisallowed",
56418
+ "declarations": [
56419
+ {
56420
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56421
+ "name": "TypeLiteral"
56422
+ }
56423
+ ],
56424
+ "required": false,
56425
+ "type": {
56426
+ "name": "boolean | null"
56427
+ }
56428
+ },
56429
+ "urlTransform": {
56430
+ "defaultValue": null,
56431
+ "description": "Change URLs (default: `defaultUrlTransform`)",
56432
+ "name": "urlTransform",
56433
+ "declarations": [
56434
+ {
56435
+ "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
56436
+ "name": "TypeLiteral"
56437
+ }
56438
+ ],
56439
+ "required": false,
56440
+ "type": {
56441
+ "name": "UrlTransform | null"
56442
+ }
56443
+ }
56444
+ }
56445
+ },
56251
56446
  {
56252
56447
  "tags": {
56253
56448
  "flr-generate": "all"
@@ -65480,201 +65675,6 @@
65480
65675
  }
65481
65676
  }
65482
65677
  },
65483
- {
65484
- "tags": {
65485
- "flr-generate": "all"
65486
- },
65487
- "filePath": "src/components/Markdown/Markdown.tsx",
65488
- "description": "",
65489
- "displayName": "Markdown",
65490
- "methods": [],
65491
- "props": {
65492
- "color": {
65493
- "defaultValue": null,
65494
- "description": "The color schema of the markdown component.",
65495
- "name": "color",
65496
- "parent": {
65497
- "fileName": "src/components/Markdown/Markdown.tsx",
65498
- "name": "MarkdownProps"
65499
- },
65500
- "declarations": [
65501
- {
65502
- "fileName": "src/components/Markdown/Markdown.tsx",
65503
- "name": "MarkdownProps"
65504
- }
65505
- ],
65506
- "required": false,
65507
- "type": {
65508
- "name": "\"light\" | \"dark\" | \"default\""
65509
- }
65510
- },
65511
- "children": {
65512
- "defaultValue": null,
65513
- "description": "Markdown.",
65514
- "name": "children",
65515
- "declarations": [
65516
- {
65517
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65518
- "name": "TypeLiteral"
65519
- }
65520
- ],
65521
- "required": false,
65522
- "type": {
65523
- "name": "string | null"
65524
- }
65525
- },
65526
- "className": {
65527
- "defaultValue": null,
65528
- "description": "Wrap in a `div` with this class name.",
65529
- "name": "className",
65530
- "declarations": [
65531
- {
65532
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65533
- "name": "TypeLiteral"
65534
- }
65535
- ],
65536
- "required": false,
65537
- "type": {
65538
- "name": "string | null"
65539
- }
65540
- },
65541
- "allowElement": {
65542
- "defaultValue": null,
65543
- "description": "Filter elements (optional);\n`allowedElements` / `disallowedElements` is used first.",
65544
- "name": "allowElement",
65545
- "declarations": [
65546
- {
65547
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65548
- "name": "TypeLiteral"
65549
- }
65550
- ],
65551
- "required": false,
65552
- "type": {
65553
- "name": "AllowElement | null"
65554
- }
65555
- },
65556
- "allowedElements": {
65557
- "defaultValue": null,
65558
- "description": "Tag names to allow (default: all tag names);\ncannot combine w/ `disallowedElements`.",
65559
- "name": "allowedElements",
65560
- "declarations": [
65561
- {
65562
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65563
- "name": "TypeLiteral"
65564
- }
65565
- ],
65566
- "required": false,
65567
- "type": {
65568
- "name": "readonly string[] | null"
65569
- }
65570
- },
65571
- "disallowedElements": {
65572
- "defaultValue": null,
65573
- "description": "Tag names to disallow (default: `[]`);\ncannot combine w/ `allowedElements`.",
65574
- "name": "disallowedElements",
65575
- "declarations": [
65576
- {
65577
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65578
- "name": "TypeLiteral"
65579
- }
65580
- ],
65581
- "required": false,
65582
- "type": {
65583
- "name": "readonly string[] | null"
65584
- }
65585
- },
65586
- "rehypePlugins": {
65587
- "defaultValue": null,
65588
- "description": "List of rehype plugins to use.",
65589
- "name": "rehypePlugins",
65590
- "declarations": [
65591
- {
65592
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65593
- "name": "TypeLiteral"
65594
- }
65595
- ],
65596
- "required": false,
65597
- "type": {
65598
- "name": "PluggableList | null"
65599
- }
65600
- },
65601
- "remarkPlugins": {
65602
- "defaultValue": null,
65603
- "description": "List of remark plugins to use.",
65604
- "name": "remarkPlugins",
65605
- "declarations": [
65606
- {
65607
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65608
- "name": "TypeLiteral"
65609
- }
65610
- ],
65611
- "required": false,
65612
- "type": {
65613
- "name": "PluggableList | null"
65614
- }
65615
- },
65616
- "remarkRehypeOptions": {
65617
- "defaultValue": null,
65618
- "description": "Options to pass through to `remark-rehype`.",
65619
- "name": "remarkRehypeOptions",
65620
- "declarations": [
65621
- {
65622
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65623
- "name": "TypeLiteral"
65624
- }
65625
- ],
65626
- "required": false,
65627
- "type": {
65628
- "name": "Readonly<Options> | null"
65629
- }
65630
- },
65631
- "skipHtml": {
65632
- "defaultValue": null,
65633
- "description": "Ignore HTML in markdown completely (default: `false`).",
65634
- "name": "skipHtml",
65635
- "declarations": [
65636
- {
65637
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65638
- "name": "TypeLiteral"
65639
- }
65640
- ],
65641
- "required": false,
65642
- "type": {
65643
- "name": "boolean | null"
65644
- }
65645
- },
65646
- "unwrapDisallowed": {
65647
- "defaultValue": null,
65648
- "description": "Extract (unwrap) what’s in disallowed elements (default: `false`);\nnormally when say `strong` is not allowed, it and it’s children are dropped,\nwith `unwrapDisallowed` the element itself is replaced by its children.",
65649
- "name": "unwrapDisallowed",
65650
- "declarations": [
65651
- {
65652
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65653
- "name": "TypeLiteral"
65654
- }
65655
- ],
65656
- "required": false,
65657
- "type": {
65658
- "name": "boolean | null"
65659
- }
65660
- },
65661
- "urlTransform": {
65662
- "defaultValue": null,
65663
- "description": "Change URLs (default: `defaultUrlTransform`)",
65664
- "name": "urlTransform",
65665
- "declarations": [
65666
- {
65667
- "fileName": "flow/node_modules/.pnpm/react-markdown@9.0.3_@types+react@19.0.10_react@19.0.0/node_modules/react-markdown/lib/index.d.ts",
65668
- "name": "TypeLiteral"
65669
- }
65670
- ],
65671
- "required": false,
65672
- "type": {
65673
- "name": "UrlTransform | null"
65674
- }
65675
- }
65676
- }
65677
- },
65678
65678
  {
65679
65679
  "tags": {},
65680
65680
  "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/List.tsx",
@@ -83112,6 +83112,25 @@
83112
83112
  "displayName": "Initials",
83113
83113
  "methods": [],
83114
83114
  "props": {
83115
+ "aria-hidden": {
83116
+ "defaultValue": null,
83117
+ "description": "",
83118
+ "name": "aria-hidden",
83119
+ "parent": {
83120
+ "fileName": "components/src/components/Initials/Initials.tsx",
83121
+ "name": "InitialsProps"
83122
+ },
83123
+ "declarations": [
83124
+ {
83125
+ "fileName": "components/src/components/Initials/Initials.tsx",
83126
+ "name": "InitialsProps"
83127
+ }
83128
+ ],
83129
+ "required": false,
83130
+ "type": {
83131
+ "name": "boolean"
83132
+ }
83133
+ },
83115
83134
  "children": {
83116
83135
  "defaultValue": null,
83117
83136
  "description": "",
@@ -181672,358 +181691,6 @@
181672
181691
  }
181673
181692
  }
181674
181693
  },
181675
- {
181676
- "tags": {},
181677
- "filePath": "src/components/Action/ActionStateContext.tsx",
181678
- "description": "",
181679
- "displayName": "ActionStateContext",
181680
- "methods": [],
181681
- "props": {
181682
- "isStarted": {
181683
- "defaultValue": null,
181684
- "description": "",
181685
- "name": "isStarted",
181686
- "parent": {
181687
- "fileName": "src/components/Action/ActionStateContext.tsx",
181688
- "name": "Props"
181689
- },
181690
- "declarations": [
181691
- {
181692
- "fileName": "src/components/Action/ActionStateContext.tsx",
181693
- "name": "Props"
181694
- }
181695
- ],
181696
- "required": false,
181697
- "type": {
181698
- "name": "boolean"
181699
- }
181700
- },
181701
- "hasSucceeded": {
181702
- "defaultValue": null,
181703
- "description": "",
181704
- "name": "hasSucceeded",
181705
- "parent": {
181706
- "fileName": "src/components/Action/ActionStateContext.tsx",
181707
- "name": "Props"
181708
- },
181709
- "declarations": [
181710
- {
181711
- "fileName": "src/components/Action/ActionStateContext.tsx",
181712
- "name": "Props"
181713
- }
181714
- ],
181715
- "required": false,
181716
- "type": {
181717
- "name": "boolean"
181718
- }
181719
- },
181720
- "hasFailedWithError": {
181721
- "defaultValue": null,
181722
- "description": "",
181723
- "name": "hasFailedWithError",
181724
- "parent": {
181725
- "fileName": "src/components/Action/ActionStateContext.tsx",
181726
- "name": "Props"
181727
- },
181728
- "declarations": [
181729
- {
181730
- "fileName": "src/components/Action/ActionStateContext.tsx",
181731
- "name": "Props"
181732
- }
181733
- ],
181734
- "required": false,
181735
- "type": {
181736
- "name": "unknown"
181737
- }
181738
- },
181739
- "children": {
181740
- "defaultValue": null,
181741
- "description": "",
181742
- "name": "children",
181743
- "declarations": [
181744
- {
181745
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
181746
- "name": "TypeLiteral"
181747
- }
181748
- ],
181749
- "required": false,
181750
- "type": {
181751
- "name": "ReactNode"
181752
- }
181753
- }
181754
- }
181755
- },
181756
- {
181757
- "tags": {},
181758
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/Action/Action.tsx",
181759
- "description": "",
181760
- "displayName": "Action",
181761
- "methods": [],
181762
- "props": {
181763
- "action": {
181764
- "defaultValue": null,
181765
- "description": "",
181766
- "name": "action",
181767
- "parent": {
181768
- "fileName": "src/components/Action/types.ts",
181769
- "name": "ActionProps"
181770
- },
181771
- "declarations": [
181772
- {
181773
- "fileName": "src/components/Action/types.ts",
181774
- "name": "ActionProps"
181775
- }
181776
- ],
181777
- "required": false,
181778
- "type": {
181779
- "name": "ActionFn"
181780
- }
181781
- },
181782
- "onAction": {
181783
- "defaultValue": null,
181784
- "description": "",
181785
- "name": "onAction",
181786
- "parent": {
181787
- "fileName": "src/components/Action/types.ts",
181788
- "name": "ActionProps"
181789
- },
181790
- "declarations": [
181791
- {
181792
- "fileName": "src/components/Action/types.ts",
181793
- "name": "ActionProps"
181794
- }
181795
- ],
181796
- "required": false,
181797
- "type": {
181798
- "name": "ActionFn"
181799
- }
181800
- },
181801
- "actionModel": {
181802
- "defaultValue": null,
181803
- "description": "",
181804
- "name": "actionModel",
181805
- "parent": {
181806
- "fileName": "src/components/Action/types.ts",
181807
- "name": "ActionProps"
181808
- },
181809
- "declarations": [
181810
- {
181811
- "fileName": "src/components/Action/types.ts",
181812
- "name": "ActionProps"
181813
- }
181814
- ],
181815
- "required": false,
181816
- "type": {
181817
- "name": "ActionModel"
181818
- }
181819
- },
181820
- "closeOverlay": {
181821
- "defaultValue": null,
181822
- "description": "",
181823
- "name": "closeOverlay",
181824
- "parent": {
181825
- "fileName": "src/components/Action/types.ts",
181826
- "name": "ActionProps"
181827
- },
181828
- "declarations": [
181829
- {
181830
- "fileName": "src/components/Action/types.ts",
181831
- "name": "ActionProps"
181832
- }
181833
- ],
181834
- "required": false,
181835
- "type": {
181836
- "name": "keyof FlowComponentPropsTypes | OverlayController"
181837
- }
181838
- },
181839
- "openOverlay": {
181840
- "defaultValue": null,
181841
- "description": "",
181842
- "name": "openOverlay",
181843
- "parent": {
181844
- "fileName": "src/components/Action/types.ts",
181845
- "name": "ActionProps"
181846
- },
181847
- "declarations": [
181848
- {
181849
- "fileName": "src/components/Action/types.ts",
181850
- "name": "ActionProps"
181851
- }
181852
- ],
181853
- "required": false,
181854
- "type": {
181855
- "name": "keyof FlowComponentPropsTypes | OverlayController"
181856
- }
181857
- },
181858
- "toggleOverlay": {
181859
- "defaultValue": null,
181860
- "description": "",
181861
- "name": "toggleOverlay",
181862
- "parent": {
181863
- "fileName": "src/components/Action/types.ts",
181864
- "name": "ActionProps"
181865
- },
181866
- "declarations": [
181867
- {
181868
- "fileName": "src/components/Action/types.ts",
181869
- "name": "ActionProps"
181870
- }
181871
- ],
181872
- "required": false,
181873
- "type": {
181874
- "name": "keyof FlowComponentPropsTypes | OverlayController"
181875
- }
181876
- },
181877
- "break": {
181878
- "defaultValue": null,
181879
- "description": "",
181880
- "name": "break",
181881
- "parent": {
181882
- "fileName": "src/components/Action/types.ts",
181883
- "name": "ActionProps"
181884
- },
181885
- "declarations": [
181886
- {
181887
- "fileName": "src/components/Action/types.ts",
181888
- "name": "ActionProps"
181889
- }
181890
- ],
181891
- "required": false,
181892
- "type": {
181893
- "name": "boolean"
181894
- }
181895
- },
181896
- "skip": {
181897
- "defaultValue": null,
181898
- "description": "",
181899
- "name": "skip",
181900
- "parent": {
181901
- "fileName": "src/components/Action/types.ts",
181902
- "name": "ActionProps"
181903
- },
181904
- "declarations": [
181905
- {
181906
- "fileName": "src/components/Action/types.ts",
181907
- "name": "ActionProps"
181908
- }
181909
- ],
181910
- "required": false,
181911
- "type": {
181912
- "name": "number | boolean"
181913
- }
181914
- },
181915
- "showFeedback": {
181916
- "defaultValue": null,
181917
- "description": "",
181918
- "name": "showFeedback",
181919
- "parent": {
181920
- "fileName": "src/components/Action/types.ts",
181921
- "name": "ActionProps"
181922
- },
181923
- "declarations": [
181924
- {
181925
- "fileName": "src/components/Action/types.ts",
181926
- "name": "ActionProps"
181927
- }
181928
- ],
181929
- "required": false,
181930
- "type": {
181931
- "name": "boolean"
181932
- }
181933
- },
181934
- "children": {
181935
- "defaultValue": null,
181936
- "description": "",
181937
- "name": "children",
181938
- "declarations": [
181939
- {
181940
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
181941
- "name": "TypeLiteral"
181942
- }
181943
- ],
181944
- "required": false,
181945
- "type": {
181946
- "name": "ReactNode"
181947
- }
181948
- },
181949
- "wrapWith": {
181950
- "defaultValue": null,
181951
- "description": "",
181952
- "name": "wrapWith",
181953
- "parent": {
181954
- "fileName": "src/lib/componentFactory/flowComponent.tsx",
181955
- "name": "FlowComponentProps"
181956
- },
181957
- "declarations": [
181958
- {
181959
- "fileName": "src/lib/componentFactory/flowComponent.tsx",
181960
- "name": "FlowComponentProps"
181961
- }
181962
- ],
181963
- "required": false,
181964
- "type": {
181965
- "name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
181966
- }
181967
- },
181968
- "tunnelId": {
181969
- "defaultValue": null,
181970
- "description": "@internal",
181971
- "name": "tunnelId",
181972
- "parent": {
181973
- "fileName": "src/lib/types/props.ts",
181974
- "name": "PropsWithTunnel"
181975
- },
181976
- "declarations": [
181977
- {
181978
- "fileName": "src/lib/types/props.ts",
181979
- "name": "PropsWithTunnel"
181980
- }
181981
- ],
181982
- "required": false,
181983
- "type": {
181984
- "name": "string | null"
181985
- }
181986
- },
181987
- "ref": {
181988
- "defaultValue": null,
181989
- "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}",
181990
- "name": "ref",
181991
- "parent": {
181992
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
181993
- "name": "RefAttributes"
181994
- },
181995
- "declarations": [
181996
- {
181997
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
181998
- "name": "RefAttributes"
181999
- }
182000
- ],
182001
- "required": false,
182002
- "type": {
182003
- "name": "Ref<HTMLDivElement>"
182004
- }
182005
- },
182006
- "key": {
182007
- "defaultValue": null,
182008
- "description": "",
182009
- "name": "key",
182010
- "parent": {
182011
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
182012
- "name": "Attributes"
182013
- },
182014
- "declarations": [
182015
- {
182016
- "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
182017
- "name": "Attributes"
182018
- }
182019
- ],
182020
- "required": false,
182021
- "type": {
182022
- "name": "Key | null"
182023
- }
182024
- }
182025
- }
182026
- },
182027
181694
  {
182028
181695
  "tags": {
182029
181696
  "flr-generate": "all"
@@ -187361,6 +187028,358 @@
187361
187028
  }
187362
187029
  }
187363
187030
  },
187031
+ {
187032
+ "tags": {},
187033
+ "filePath": "src/components/Action/ActionStateContext.tsx",
187034
+ "description": "",
187035
+ "displayName": "ActionStateContext",
187036
+ "methods": [],
187037
+ "props": {
187038
+ "isStarted": {
187039
+ "defaultValue": null,
187040
+ "description": "",
187041
+ "name": "isStarted",
187042
+ "parent": {
187043
+ "fileName": "src/components/Action/ActionStateContext.tsx",
187044
+ "name": "Props"
187045
+ },
187046
+ "declarations": [
187047
+ {
187048
+ "fileName": "src/components/Action/ActionStateContext.tsx",
187049
+ "name": "Props"
187050
+ }
187051
+ ],
187052
+ "required": false,
187053
+ "type": {
187054
+ "name": "boolean"
187055
+ }
187056
+ },
187057
+ "hasSucceeded": {
187058
+ "defaultValue": null,
187059
+ "description": "",
187060
+ "name": "hasSucceeded",
187061
+ "parent": {
187062
+ "fileName": "src/components/Action/ActionStateContext.tsx",
187063
+ "name": "Props"
187064
+ },
187065
+ "declarations": [
187066
+ {
187067
+ "fileName": "src/components/Action/ActionStateContext.tsx",
187068
+ "name": "Props"
187069
+ }
187070
+ ],
187071
+ "required": false,
187072
+ "type": {
187073
+ "name": "boolean"
187074
+ }
187075
+ },
187076
+ "hasFailedWithError": {
187077
+ "defaultValue": null,
187078
+ "description": "",
187079
+ "name": "hasFailedWithError",
187080
+ "parent": {
187081
+ "fileName": "src/components/Action/ActionStateContext.tsx",
187082
+ "name": "Props"
187083
+ },
187084
+ "declarations": [
187085
+ {
187086
+ "fileName": "src/components/Action/ActionStateContext.tsx",
187087
+ "name": "Props"
187088
+ }
187089
+ ],
187090
+ "required": false,
187091
+ "type": {
187092
+ "name": "unknown"
187093
+ }
187094
+ },
187095
+ "children": {
187096
+ "defaultValue": null,
187097
+ "description": "",
187098
+ "name": "children",
187099
+ "declarations": [
187100
+ {
187101
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
187102
+ "name": "TypeLiteral"
187103
+ }
187104
+ ],
187105
+ "required": false,
187106
+ "type": {
187107
+ "name": "ReactNode"
187108
+ }
187109
+ }
187110
+ }
187111
+ },
187112
+ {
187113
+ "tags": {},
187114
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/Action/Action.tsx",
187115
+ "description": "",
187116
+ "displayName": "Action",
187117
+ "methods": [],
187118
+ "props": {
187119
+ "action": {
187120
+ "defaultValue": null,
187121
+ "description": "",
187122
+ "name": "action",
187123
+ "parent": {
187124
+ "fileName": "src/components/Action/types.ts",
187125
+ "name": "ActionProps"
187126
+ },
187127
+ "declarations": [
187128
+ {
187129
+ "fileName": "src/components/Action/types.ts",
187130
+ "name": "ActionProps"
187131
+ }
187132
+ ],
187133
+ "required": false,
187134
+ "type": {
187135
+ "name": "ActionFn"
187136
+ }
187137
+ },
187138
+ "onAction": {
187139
+ "defaultValue": null,
187140
+ "description": "",
187141
+ "name": "onAction",
187142
+ "parent": {
187143
+ "fileName": "src/components/Action/types.ts",
187144
+ "name": "ActionProps"
187145
+ },
187146
+ "declarations": [
187147
+ {
187148
+ "fileName": "src/components/Action/types.ts",
187149
+ "name": "ActionProps"
187150
+ }
187151
+ ],
187152
+ "required": false,
187153
+ "type": {
187154
+ "name": "ActionFn"
187155
+ }
187156
+ },
187157
+ "actionModel": {
187158
+ "defaultValue": null,
187159
+ "description": "",
187160
+ "name": "actionModel",
187161
+ "parent": {
187162
+ "fileName": "src/components/Action/types.ts",
187163
+ "name": "ActionProps"
187164
+ },
187165
+ "declarations": [
187166
+ {
187167
+ "fileName": "src/components/Action/types.ts",
187168
+ "name": "ActionProps"
187169
+ }
187170
+ ],
187171
+ "required": false,
187172
+ "type": {
187173
+ "name": "ActionModel"
187174
+ }
187175
+ },
187176
+ "closeOverlay": {
187177
+ "defaultValue": null,
187178
+ "description": "",
187179
+ "name": "closeOverlay",
187180
+ "parent": {
187181
+ "fileName": "src/components/Action/types.ts",
187182
+ "name": "ActionProps"
187183
+ },
187184
+ "declarations": [
187185
+ {
187186
+ "fileName": "src/components/Action/types.ts",
187187
+ "name": "ActionProps"
187188
+ }
187189
+ ],
187190
+ "required": false,
187191
+ "type": {
187192
+ "name": "keyof FlowComponentPropsTypes | OverlayController"
187193
+ }
187194
+ },
187195
+ "openOverlay": {
187196
+ "defaultValue": null,
187197
+ "description": "",
187198
+ "name": "openOverlay",
187199
+ "parent": {
187200
+ "fileName": "src/components/Action/types.ts",
187201
+ "name": "ActionProps"
187202
+ },
187203
+ "declarations": [
187204
+ {
187205
+ "fileName": "src/components/Action/types.ts",
187206
+ "name": "ActionProps"
187207
+ }
187208
+ ],
187209
+ "required": false,
187210
+ "type": {
187211
+ "name": "keyof FlowComponentPropsTypes | OverlayController"
187212
+ }
187213
+ },
187214
+ "toggleOverlay": {
187215
+ "defaultValue": null,
187216
+ "description": "",
187217
+ "name": "toggleOverlay",
187218
+ "parent": {
187219
+ "fileName": "src/components/Action/types.ts",
187220
+ "name": "ActionProps"
187221
+ },
187222
+ "declarations": [
187223
+ {
187224
+ "fileName": "src/components/Action/types.ts",
187225
+ "name": "ActionProps"
187226
+ }
187227
+ ],
187228
+ "required": false,
187229
+ "type": {
187230
+ "name": "keyof FlowComponentPropsTypes | OverlayController"
187231
+ }
187232
+ },
187233
+ "break": {
187234
+ "defaultValue": null,
187235
+ "description": "",
187236
+ "name": "break",
187237
+ "parent": {
187238
+ "fileName": "src/components/Action/types.ts",
187239
+ "name": "ActionProps"
187240
+ },
187241
+ "declarations": [
187242
+ {
187243
+ "fileName": "src/components/Action/types.ts",
187244
+ "name": "ActionProps"
187245
+ }
187246
+ ],
187247
+ "required": false,
187248
+ "type": {
187249
+ "name": "boolean"
187250
+ }
187251
+ },
187252
+ "skip": {
187253
+ "defaultValue": null,
187254
+ "description": "",
187255
+ "name": "skip",
187256
+ "parent": {
187257
+ "fileName": "src/components/Action/types.ts",
187258
+ "name": "ActionProps"
187259
+ },
187260
+ "declarations": [
187261
+ {
187262
+ "fileName": "src/components/Action/types.ts",
187263
+ "name": "ActionProps"
187264
+ }
187265
+ ],
187266
+ "required": false,
187267
+ "type": {
187268
+ "name": "number | boolean"
187269
+ }
187270
+ },
187271
+ "showFeedback": {
187272
+ "defaultValue": null,
187273
+ "description": "",
187274
+ "name": "showFeedback",
187275
+ "parent": {
187276
+ "fileName": "src/components/Action/types.ts",
187277
+ "name": "ActionProps"
187278
+ },
187279
+ "declarations": [
187280
+ {
187281
+ "fileName": "src/components/Action/types.ts",
187282
+ "name": "ActionProps"
187283
+ }
187284
+ ],
187285
+ "required": false,
187286
+ "type": {
187287
+ "name": "boolean"
187288
+ }
187289
+ },
187290
+ "children": {
187291
+ "defaultValue": null,
187292
+ "description": "",
187293
+ "name": "children",
187294
+ "declarations": [
187295
+ {
187296
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
187297
+ "name": "TypeLiteral"
187298
+ }
187299
+ ],
187300
+ "required": false,
187301
+ "type": {
187302
+ "name": "ReactNode"
187303
+ }
187304
+ },
187305
+ "wrapWith": {
187306
+ "defaultValue": null,
187307
+ "description": "",
187308
+ "name": "wrapWith",
187309
+ "parent": {
187310
+ "fileName": "src/lib/componentFactory/flowComponent.tsx",
187311
+ "name": "FlowComponentProps"
187312
+ },
187313
+ "declarations": [
187314
+ {
187315
+ "fileName": "src/lib/componentFactory/flowComponent.tsx",
187316
+ "name": "FlowComponentProps"
187317
+ }
187318
+ ],
187319
+ "required": false,
187320
+ "type": {
187321
+ "name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
187322
+ }
187323
+ },
187324
+ "tunnelId": {
187325
+ "defaultValue": null,
187326
+ "description": "@internal",
187327
+ "name": "tunnelId",
187328
+ "parent": {
187329
+ "fileName": "src/lib/types/props.ts",
187330
+ "name": "PropsWithTunnel"
187331
+ },
187332
+ "declarations": [
187333
+ {
187334
+ "fileName": "src/lib/types/props.ts",
187335
+ "name": "PropsWithTunnel"
187336
+ }
187337
+ ],
187338
+ "required": false,
187339
+ "type": {
187340
+ "name": "string | null"
187341
+ }
187342
+ },
187343
+ "ref": {
187344
+ "defaultValue": null,
187345
+ "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}",
187346
+ "name": "ref",
187347
+ "parent": {
187348
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
187349
+ "name": "RefAttributes"
187350
+ },
187351
+ "declarations": [
187352
+ {
187353
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
187354
+ "name": "RefAttributes"
187355
+ }
187356
+ ],
187357
+ "required": false,
187358
+ "type": {
187359
+ "name": "Ref<HTMLDivElement>"
187360
+ }
187361
+ },
187362
+ "key": {
187363
+ "defaultValue": null,
187364
+ "description": "",
187365
+ "name": "key",
187366
+ "parent": {
187367
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
187368
+ "name": "Attributes"
187369
+ },
187370
+ "declarations": [
187371
+ {
187372
+ "fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
187373
+ "name": "Attributes"
187374
+ }
187375
+ ],
187376
+ "required": false,
187377
+ "type": {
187378
+ "name": "Key | null"
187379
+ }
187380
+ }
187381
+ }
187382
+ },
187364
187383
  {
187365
187384
  "tags": {
187366
187385
  "flr-generate": "all"
@@ -188380,10 +188399,10 @@
188380
188399
  "name": "() => ArrayIterator<any>"
188381
188400
  }
188382
188401
  },
188383
- "__@unscopables@4591": {
188402
+ "__@unscopables@4592": {
188384
188403
  "defaultValue": null,
188385
188404
  "description": "Is an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",
188386
- "name": "__@unscopables@4591",
188405
+ "name": "__@unscopables@4592",
188387
188406
  "parent": {
188388
188407
  "fileName": "flow/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
188389
188408
  "name": "Array"
@@ -189216,10 +189235,10 @@
189216
189235
  "name": "() => ArrayIterator<unknown>"
189217
189236
  }
189218
189237
  },
189219
- "__@unscopables@4591": {
189238
+ "__@unscopables@4592": {
189220
189239
  "defaultValue": null,
189221
189240
  "description": "Is an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",
189222
- "name": "__@unscopables@4591",
189241
+ "name": "__@unscopables@4592",
189223
189242
  "parent": {
189224
189243
  "fileName": "flow/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
189225
189244
  "name": "Array"
@@ -190052,10 +190071,10 @@
190052
190071
  "name": "() => ArrayIterator<unknown>"
190053
190072
  }
190054
190073
  },
190055
- "__@unscopables@4591": {
190074
+ "__@unscopables@4592": {
190056
190075
  "defaultValue": null,
190057
190076
  "description": "Is an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",
190058
- "name": "__@unscopables@4591",
190077
+ "name": "__@unscopables@4592",
190059
190078
  "parent": {
190060
190079
  "fileName": "flow/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts",
190061
190080
  "name": "Array"
@@ -216672,6 +216691,14 @@
216672
216691
  }
216673
216692
  }
216674
216693
  },
216694
+ {
216695
+ "tags": {},
216696
+ "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Items/components/FallbackItems/FallbackItems.tsx",
216697
+ "description": "",
216698
+ "displayName": "FallbackItems",
216699
+ "methods": [],
216700
+ "props": {}
216701
+ },
216675
216702
  {
216676
216703
  "tags": {},
216677
216704
  "filePath": "src/components/List/components/Items/components/Item/Item.tsx",
@@ -216796,14 +216823,6 @@
216796
216823
  }
216797
216824
  }
216798
216825
  },
216799
- {
216800
- "tags": {},
216801
- "filePath": "/home/runner/work/flow/flow/packages/components/src/components/List/components/Items/components/FallbackItems/FallbackItems.tsx",
216802
- "description": "",
216803
- "displayName": "FallbackItems",
216804
- "methods": [],
216805
- "props": {}
216806
- },
216807
216826
  {
216808
216827
  "tags": {},
216809
216828
  "filePath": "src/components/List/components/Header/components/ViewModeMenu/ViewModeMenu.tsx",
@@ -14,12 +14,21 @@ import { onlyText } from 'react-children-utilities';
14
14
  import { flowComponent } from '../../lib/componentFactory/flowComponent.mjs';
15
15
 
16
16
  const Initials = flowComponent("Initials", (props) => {
17
- const { children, className, ref } = props;
17
+ const { children, className, "aria-hidden": ariaHidden, ref } = props;
18
18
  const textContent = onlyText(children);
19
19
  const initials = getInitialsFromString(textContent);
20
20
  const rootClassName = clsx(styles.initials, className);
21
21
  const initialsElements = initials.map((initial, index) => /* @__PURE__ */ jsx("span", { children: initial }, index));
22
- return /* @__PURE__ */ jsx(ClearPropsContext, { children: /* @__PURE__ */ jsx("div", { "aria-label": textContent, className: rootClassName, ref, children: initialsElements }) });
22
+ return /* @__PURE__ */ jsx(ClearPropsContext, { children: /* @__PURE__ */ jsx(
23
+ "div",
24
+ {
25
+ "aria-hidden": ariaHidden,
26
+ "aria-label": textContent,
27
+ className: rootClassName,
28
+ ref,
29
+ children: initialsElements
30
+ }
31
+ ) });
23
32
  });
24
33
 
25
34
  export { Initials, Initials as default };
@@ -1 +1 @@
1
- {"version":3,"file":"Initials.mjs","sources":["../../../../src/components/Initials/Initials.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport { getInitialsFromString } from \"./lib/getInitialsFromString\";\nimport styles from \"./Initials.module.scss\";\nimport clsx from \"clsx\";\nimport { ClearPropsContext } from \"@/lib/propsContext\";\nimport { onlyText } from \"react-children-utilities\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport type { PropsWithClassName } from \"@/lib/types/props\";\n\nexport interface InitialsProps\n extends PropsWithChildren,\n PropsWithClassName,\n FlowComponentProps {}\n\n/**\n * @flr-generate all\n * @flr-clear-props-context\n */\nexport const Initials = flowComponent(\"Initials\", (props) => {\n const { children, className, ref } = props;\n\n const textContent = onlyText(children);\n const initials = getInitialsFromString(textContent);\n\n const rootClassName = clsx(styles.initials, className);\n\n const initialsElements = initials.map((initial, index) => (\n <span key={index}>{initial}</span>\n ));\n\n return (\n <ClearPropsContext>\n <div aria-label={textContent} className={rootClassName} ref={ref}>\n {initialsElements}\n </div>\n </ClearPropsContext>\n );\n});\n\nexport default Initials;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAoBO,MAAM,QAAW,GAAA,aAAA,CAAc,UAAY,EAAA,CAAC,KAAU,KAAA;AAC3D,EAAA,MAAM,EAAE,QAAA,EAAU,SAAW,EAAA,GAAA,EAAQ,GAAA,KAAA;AAErC,EAAM,MAAA,WAAA,GAAc,SAAS,QAAQ,CAAA;AACrC,EAAM,MAAA,QAAA,GAAW,sBAAsB,WAAW,CAAA;AAElD,EAAA,MAAM,aAAgB,GAAA,IAAA,CAAK,MAAO,CAAA,QAAA,EAAU,SAAS,CAAA;AAErD,EAAM,MAAA,gBAAA,GAAmB,QAAS,CAAA,GAAA,CAAI,CAAC,OAAA,EAAS,0BAC7C,GAAA,CAAA,MAAA,EAAA,EAAkB,QAAR,EAAA,OAAA,EAAA,EAAA,KAAgB,CAC5B,CAAA;AAED,EACE,uBAAA,GAAA,CAAC,iBACC,EAAA,EAAA,QAAA,kBAAA,GAAA,CAAC,KAAI,EAAA,EAAA,YAAA,EAAY,aAAa,SAAW,EAAA,aAAA,EAAe,GACrD,EAAA,QAAA,EAAA,gBAAA,EACH,CACF,EAAA,CAAA;AAEJ,CAAC;;;;"}
1
+ {"version":3,"file":"Initials.mjs","sources":["../../../../src/components/Initials/Initials.tsx"],"sourcesContent":["import type { PropsWithChildren } from \"react\";\nimport React from \"react\";\nimport { getInitialsFromString } from \"./lib/getInitialsFromString\";\nimport styles from \"./Initials.module.scss\";\nimport clsx from \"clsx\";\nimport { ClearPropsContext } from \"@/lib/propsContext\";\nimport { onlyText } from \"react-children-utilities\";\nimport type { FlowComponentProps } from \"@/lib/componentFactory/flowComponent\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport type { PropsWithClassName } from \"@/lib/types/props\";\n\nexport interface InitialsProps\n extends PropsWithChildren,\n PropsWithClassName,\n FlowComponentProps {\n \"aria-hidden\"?: boolean;\n}\n\n/**\n * @flr-generate all\n * @flr-clear-props-context\n */\nexport const Initials = flowComponent(\"Initials\", (props) => {\n const { children, className, \"aria-hidden\": ariaHidden, ref } = props;\n\n const textContent = onlyText(children);\n const initials = getInitialsFromString(textContent);\n\n const rootClassName = clsx(styles.initials, className);\n\n const initialsElements = initials.map((initial, index) => (\n <span key={index}>{initial}</span>\n ));\n\n return (\n <ClearPropsContext>\n <div\n aria-hidden={ariaHidden}\n aria-label={textContent}\n className={rootClassName}\n ref={ref}\n >\n {initialsElements}\n </div>\n </ClearPropsContext>\n );\n});\n\nexport default Initials;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAsBO,MAAM,QAAW,GAAA,aAAA,CAAc,UAAY,EAAA,CAAC,KAAU,KAAA;AAC3D,EAAA,MAAM,EAAE,QAAU,EAAA,SAAA,EAAW,aAAe,EAAA,UAAA,EAAY,KAAQ,GAAA,KAAA;AAEhE,EAAM,MAAA,WAAA,GAAc,SAAS,QAAQ,CAAA;AACrC,EAAM,MAAA,QAAA,GAAW,sBAAsB,WAAW,CAAA;AAElD,EAAA,MAAM,aAAgB,GAAA,IAAA,CAAK,MAAO,CAAA,QAAA,EAAU,SAAS,CAAA;AAErD,EAAM,MAAA,gBAAA,GAAmB,QAAS,CAAA,GAAA,CAAI,CAAC,OAAA,EAAS,0BAC7C,GAAA,CAAA,MAAA,EAAA,EAAkB,QAAR,EAAA,OAAA,EAAA,EAAA,KAAgB,CAC5B,CAAA;AAED,EAAA,2BACG,iBACC,EAAA,EAAA,QAAA,kBAAA,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,aAAa,EAAA,UAAA;AAAA,MACb,YAAY,EAAA,WAAA;AAAA,MACZ,SAAW,EAAA,aAAA;AAAA,MACX,GAAA;AAAA,MAEC,QAAA,EAAA;AAAA;AAAA,GAEL,EAAA,CAAA;AAEJ,CAAC;;;;"}
@@ -2,6 +2,7 @@ import { PropsWithChildren, default as React } from 'react';
2
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
3
  import { PropsWithClassName } from '../../lib/types/props';
4
4
  export interface InitialsProps extends PropsWithChildren, PropsWithClassName, FlowComponentProps {
5
+ "aria-hidden"?: boolean;
5
6
  }
6
7
  /**
7
8
  * @flr-generate all
@@ -1 +1 @@
1
- {"version":3,"file":"Initials.d.ts","sourceRoot":"","sources":["../../../../src/components/Initials/Initials.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,kBAAkB,EAClB,kBAAkB;CAAG;AAEzB;;;GAGG;AACH,eAAO,MAAM,QAAQ,8EAmBnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Initials.d.ts","sourceRoot":"","sources":["../../../../src/components/Initials/Initials.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,kBAAkB,EAClB,kBAAkB;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,8EAwBnB,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.61",
3
+ "version": "0.2.0-alpha.63",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -52,7 +52,7 @@
52
52
  "dependencies": {
53
53
  "@chakra-ui/live-region": "^2.1.0",
54
54
  "@internationalized/string-compiler": "^3.2.6",
55
- "@mittwald/react-tunnel": "0.2.0-alpha.61",
55
+ "@mittwald/react-tunnel": "0.2.0-alpha.63",
56
56
  "@mittwald/react-use-promise": "^2.6.0",
57
57
  "@react-aria/form": "^3.0.12",
58
58
  "@react-aria/utils": "^3.27.0",
@@ -91,7 +91,7 @@
91
91
  "@faker-js/faker": "^9.5.0",
92
92
  "@internationalized/date": "^3.7.0",
93
93
  "@mfalkenberg/remote-dom-react": "^1.2.3",
94
- "@mittwald/flow-design-tokens": "0.2.0-alpha.61",
94
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.63",
95
95
  "@mittwald/react-use-promise": "^2.6.0",
96
96
  "@mittwald/typescript-config": "",
97
97
  "@nx/storybook": "^20.4.5",
@@ -168,5 +168,5 @@
168
168
  "optional": true
169
169
  }
170
170
  },
171
- "gitHead": "24a0f6b4ab09c04086e8ccce31214ec2f6bae06d"
171
+ "gitHead": "e2ec875a4616bd7eb0ad3437d2ebe6261cad43ce"
172
172
  }