@twentyfirstmedia/elements 0.5.0 → 0.6.0

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.
@@ -224,6 +224,18 @@
224
224
  {
225
225
  "name": "label",
226
226
  "description": "(string)"
227
+ },
228
+ {
229
+ "name": "layout",
230
+ "description": "`list`: one compact row per option (small picture or icon beside the label), e.g. on phones. (\"grid\" | \"list\")",
231
+ "values": [
232
+ {
233
+ "name": "grid"
234
+ },
235
+ {
236
+ "name": "list"
237
+ }
238
+ ]
227
239
  }
228
240
  ],
229
241
  "references": [
@@ -810,6 +822,11 @@
810
822
  {
811
823
  "name": "width",
812
824
  "description": "(number)"
825
+ },
826
+ {
827
+ "name": "compact",
828
+ "description": "Only the workspace's mark, its name as the accessible name (a collapsed sidebar). (boolean)",
829
+ "valueSet": "v"
813
830
  }
814
831
  ],
815
832
  "references": [
@@ -894,6 +911,14 @@
894
911
  "name": "qr",
895
912
  "description": "(ReactNode)"
896
913
  },
914
+ {
915
+ "name": "qr-value",
916
+ "description": "The otpauth:// link: the kit draws its QR code (instead of `qr`). (string)"
917
+ },
918
+ {
919
+ "name": "trust-device",
920
+ "description": "A \"Trust this device\" checkbox under the code field; a string replaces its label. (boolean | string)"
921
+ },
897
922
  {
898
923
  "name": "secret",
899
924
  "description": "(string)"
@@ -954,6 +979,52 @@
954
979
  }
955
980
  ]
956
981
  },
982
+ {
983
+ "name": "tf-qr-code",
984
+ "description": "A QR code drawn as SVG and encoded on the device, so the text (a sign-in secret, an invite link) never goes to a service.",
985
+ "attributes": [
986
+ {
987
+ "name": "value",
988
+ "description": "The text to encode: an otpauth:// link, a URL … (string)"
989
+ },
990
+ {
991
+ "name": "level",
992
+ "description": "Error correction: L, M (default), Q or H. (\"L\" | \"M\" | \"Q\" | \"H\")",
993
+ "values": [
994
+ {
995
+ "name": "L"
996
+ },
997
+ {
998
+ "name": "M"
999
+ },
1000
+ {
1001
+ "name": "Q"
1002
+ },
1003
+ {
1004
+ "name": "H"
1005
+ }
1006
+ ]
1007
+ },
1008
+ {
1009
+ "name": "size",
1010
+ "description": "Width and height (default: the width of its container). (number | string)"
1011
+ },
1012
+ {
1013
+ "name": "quiet",
1014
+ "description": "Light modules around the code (default 4, the standard quiet zone). (number)"
1015
+ },
1016
+ {
1017
+ "name": "label",
1018
+ "description": "Accessible name (default \"QR code\"). (string)"
1019
+ }
1020
+ ],
1021
+ "references": [
1022
+ {
1023
+ "name": "Docs",
1024
+ "url": "https://ui.twentyfirst.media/halo/components/QrCode/"
1025
+ }
1026
+ ]
1027
+ },
957
1028
  {
958
1029
  "name": "tf-agent-card",
959
1030
  "description": "One agent at a glance (AgentCard) and everything about it beside a chat (AgentDetails).",
@@ -2322,12 +2393,7 @@
2322
2393
  {
2323
2394
  "name": "tf-typing-dots",
2324
2395
  "description": "The TypingDots component as a custom element.",
2325
- "attributes": [
2326
- {
2327
- "name": "label",
2328
- "description": "(string)"
2329
- }
2330
- ],
2396
+ "attributes": [],
2331
2397
  "references": [
2332
2398
  {
2333
2399
  "name": "Docs",
@@ -3030,6 +3096,11 @@
3030
3096
  {
3031
3097
  "name": "current",
3032
3098
  "description": "(number)"
3099
+ },
3100
+ {
3101
+ "name": "compact",
3102
+ "description": "Numbers only, with the label of the current step (screen readers still hear every label). Narrow containers (up to 560px) get this on their own. (boolean)",
3103
+ "valueSet": "v"
3033
3104
  }
3034
3105
  ],
3035
3106
  "references": [
@@ -3096,7 +3167,15 @@
3096
3167
  },
3097
3168
  {
3098
3169
  "name": "price",
3099
- "description": "(number | null)"
3170
+ "description": "A number is formatted as money (0 = \"Free\", null = \"Let's talk\"); any other node is shown as it is, e.g. a placeholder (\"—\") or a price the app formatted itself. (number | null | ReactNode)"
3171
+ },
3172
+ {
3173
+ "name": "price-prefix",
3174
+ "description": "Before the price, e.g. \"from\". (ReactNode)"
3175
+ },
3176
+ {
3177
+ "name": "price-note",
3178
+ "description": "Under the price: net or gross, billed yearly, VAT note … (ReactNode)"
3100
3179
  },
3101
3180
  {
3102
3181
  "name": "was",
@@ -3132,6 +3211,14 @@
3132
3211
  "name": "disabled",
3133
3212
  "description": "Disable the button, e.g. while a checkout starts or when the plan cannot be picked. (boolean)",
3134
3213
  "valueSet": "v"
3214
+ },
3215
+ {
3216
+ "name": "href",
3217
+ "description": "The action as a link (checkout or sign-up page), with `linkAs` for a router's link. (string)"
3218
+ },
3219
+ {
3220
+ "name": "link-as",
3221
+ "description": "(ElementType)"
3135
3222
  }
3136
3223
  ],
3137
3224
  "references": [
@@ -3156,6 +3243,11 @@
3156
3243
  {
3157
3244
  "name": "delay",
3158
3245
  "description": "(number)"
3246
+ },
3247
+ {
3248
+ "name": "animate",
3249
+ "description": "`false`: show the value without counting (it is always the value on the server). (boolean)",
3250
+ "valueSet": "v"
3159
3251
  }
3160
3252
  ],
3161
3253
  "references": [
@@ -3342,7 +3434,11 @@
3342
3434
  "attributes": [
3343
3435
  {
3344
3436
  "name": "crumbs",
3345
- "description": "(string[])"
3437
+ "description": "A breadcrumb above the title (see `Breadcrumb`): labels, or items with `href`/`onClick`. ((string | Crumb)[])"
3438
+ },
3439
+ {
3440
+ "name": "crumb-link-as",
3441
+ "description": "The element crumb links render as, e.g. Next.js `Link`. (ElementType)"
3346
3442
  },
3347
3443
  {
3348
3444
  "name": "title",
@@ -3405,6 +3501,11 @@
3405
3501
  "name": "animate",
3406
3502
  "description": "(boolean)",
3407
3503
  "valueSet": "v"
3504
+ },
3505
+ {
3506
+ "name": "stack",
3507
+ "description": "Cards instead of columns when the table's box is narrow (up to 600px): every row stacks its cells, each with its column label. Without it narrow tables scroll sideways. (boolean)",
3508
+ "valueSet": "v"
3408
3509
  }
3409
3510
  ],
3410
3511
  "references": [
@@ -3459,6 +3560,26 @@
3459
3560
  "name": "active",
3460
3561
  "description": "(boolean)",
3461
3562
  "valueSet": "v"
3563
+ },
3564
+ {
3565
+ "name": "href",
3566
+ "description": "Makes the row a link (with `linkAs` for a router's link). (string)"
3567
+ },
3568
+ {
3569
+ "name": "link-as",
3570
+ "description": "(ElementType)"
3571
+ },
3572
+ {
3573
+ "name": "actions",
3574
+ "description": "Buttons of the row's own (rename, remove …), outside the clickable area so nothing interactive is nested. Without `onClick` and `href` the row is not interactive at all. (ReactNode)"
3575
+ },
3576
+ {
3577
+ "name": "title-lines",
3578
+ "description": "Lines the title may take before it ends in an ellipsis (default: it wraps freely). (number)"
3579
+ },
3580
+ {
3581
+ "name": "subtitle-lines",
3582
+ "description": "Lines the subtitle may take (default 1); badges and facts wrap within them. (number)"
3462
3583
  }
3463
3584
  ],
3464
3585
  "references": [
@@ -4414,6 +4535,15 @@
4414
4535
  }
4415
4536
  ]
4416
4537
  },
4538
+ {
4539
+ "name": "action",
4540
+ "description": "An interactive control at the end of the field (an `IconButton`: clear, copy, locate …). Unlike `suffix` it can be clicked, and it stays when the field shows an error or success mark. (ReactNode)"
4541
+ },
4542
+ {
4543
+ "name": "reveal",
4544
+ "description": "For `type=\"password\"`: a button that shows and hides the password (default true). (boolean)",
4545
+ "valueSet": "v"
4546
+ },
4417
4547
  {
4418
4548
  "name": "name",
4419
4549
  "description": "Field name inside a `Form`: the field shows that name's validation message. (string)"
@@ -4828,6 +4958,15 @@
4828
4958
  "description": "(boolean)",
4829
4959
  "valueSet": "v"
4830
4960
  },
4961
+ {
4962
+ "name": "clear-on-error",
4963
+ "description": "Empties the cells when `error` turns on, ready for the next try (default true). (boolean)",
4964
+ "valueSet": "v"
4965
+ },
4966
+ {
4967
+ "name": "ref",
4968
+ "description": "`ref.current.reset()` empties the cells on demand. (Ref<OtpInputHandle>)"
4969
+ },
4831
4970
  {
4832
4971
  "name": "label",
4833
4972
  "description": "(string)"
@@ -4869,6 +5008,15 @@
4869
5008
  "name": "multiple",
4870
5009
  "description": "(boolean)",
4871
5010
  "valueSet": "v"
5011
+ },
5012
+ {
5013
+ "name": "disabled",
5014
+ "description": "No picking or dropping; the list stays visible. (boolean)",
5015
+ "valueSet": "v"
5016
+ },
5017
+ {
5018
+ "name": "name",
5019
+ "description": "Takes part in a surrounding form under this name: the listed files are submitted with it. (string)"
4872
5020
  }
4873
5021
  ],
4874
5022
  "references": [
@@ -5449,11 +5597,33 @@
5449
5597
  },
5450
5598
  {
5451
5599
  "name": "shortcut",
5452
- "description": "(string)"
5600
+ "description": "The key hint, e.g. \"⌘K\" (hidden on touch screens). (string)"
5601
+ },
5602
+ {
5603
+ "name": "bind-shortcut",
5604
+ "description": "⌘/Ctrl + the hint's last key (K for \"⌘K\") focuses the field, except while typing elsewhere. (boolean)",
5605
+ "valueSet": "v"
5453
5606
  },
5454
5607
  {
5455
5608
  "name": "value",
5456
5609
  "description": "(string)"
5610
+ },
5611
+ {
5612
+ "name": "default-value",
5613
+ "description": "(string)"
5614
+ },
5615
+ {
5616
+ "name": "name",
5617
+ "description": "(string)"
5618
+ },
5619
+ {
5620
+ "name": "auto-focus",
5621
+ "description": "(boolean)",
5622
+ "valueSet": "v"
5623
+ },
5624
+ {
5625
+ "name": "input-props",
5626
+ "description": "For a search with suggestions (combobox): role, aria-controls, aria-activedescendant … (InputHTMLAttributes<HTMLInputElement>)"
5457
5627
  }
5458
5628
  ],
5459
5629
  "references": [
@@ -5592,6 +5762,18 @@
5592
5762
  "description": "(boolean)",
5593
5763
  "valueSet": "v"
5594
5764
  },
5765
+ {
5766
+ "name": "size",
5767
+ "description": "`sm`: a compact trigger, e.g. a sort menu next to a heading. (\"sm\" | \"md\")",
5768
+ "values": [
5769
+ {
5770
+ "name": "sm"
5771
+ },
5772
+ {
5773
+ "name": "md"
5774
+ }
5775
+ ]
5776
+ },
5595
5777
  {
5596
5778
  "name": "label",
5597
5779
  "description": "(string)"
@@ -5828,7 +6010,15 @@
5828
6010
  },
5829
6011
  {
5830
6012
  "name": "start",
5831
- "description": "(number)"
6013
+ "description": "First image when uncontrolled. (number)"
6014
+ },
6015
+ {
6016
+ "name": "index",
6017
+ "description": "The shown image (controlled, 0-based), with `onIndexChange`. (number)"
6018
+ },
6019
+ {
6020
+ "name": "label",
6021
+ "description": "Accessible name of the gallery (default \"Images\"), e.g. the listing's title. (string)"
5832
6022
  },
5833
6023
  {
5834
6024
  "name": "ratio",
@@ -5955,7 +6145,15 @@
5955
6145
  "attributes": [
5956
6146
  {
5957
6147
  "name": "items",
5958
- "description": "(string[])"
6148
+ "description": "The trail; the last one is the current page. Items with `href` are links, with `onClick` buttons. ((string | Crumb)[])"
6149
+ },
6150
+ {
6151
+ "name": "link-as",
6152
+ "description": "The element links render as (default `a`), e.g. Next.js `Link`. (ElementType)"
6153
+ },
6154
+ {
6155
+ "name": "label",
6156
+ "description": "Accessible name of the navigation (default \"Breadcrumb\"). (string)"
5959
6157
  }
5960
6158
  ],
5961
6159
  "references": [
@@ -5980,6 +6178,14 @@
5980
6178
  {
5981
6179
  "name": "default-page",
5982
6180
  "description": "Start page when uncontrolled (default 1). (number)"
6181
+ },
6182
+ {
6183
+ "name": "link-as",
6184
+ "description": "The element links render as (default `a`), e.g. Next.js `Link`. (ElementType)"
6185
+ },
6186
+ {
6187
+ "name": "label",
6188
+ "description": "Accessible name of the navigation (default \"Pagination\"), e.g. \"Search results pages\". (string)"
5983
6189
  }
5984
6190
  ],
5985
6191
  "references": [
@@ -6031,7 +6237,7 @@
6031
6237
  },
6032
6238
  {
6033
6239
  "name": "tf-sidebar",
6034
- "description": "App navigation down the side: groups with headings, counts, one level of nested pages and a collapsed mode with icons only.",
6240
+ "description": "App navigation down the side: groups with headings, counts and badges, one level of nested pages, links, item menus and a collapsed mode with icons only.",
6035
6241
  "attributes": [
6036
6242
  {
6037
6243
  "name": "groups",
@@ -6041,6 +6247,21 @@
6041
6247
  "name": "current",
6042
6248
  "description": "Id (or label) of the current page. (string)"
6043
6249
  },
6250
+ {
6251
+ "name": "variant",
6252
+ "description": "`floating` (default): a card with rounded corners and a shadow. `attached`: full height, flush with the edge of the screen, divided by a line. `shell`: on the dark frame of `AppShell`. (\"floating\" | \"attached\" | \"shell\")",
6253
+ "values": [
6254
+ {
6255
+ "name": "floating"
6256
+ },
6257
+ {
6258
+ "name": "attached"
6259
+ },
6260
+ {
6261
+ "name": "shell"
6262
+ }
6263
+ ]
6264
+ },
6044
6265
  {
6045
6266
  "name": "collapsed",
6046
6267
  "description": "Icons only. (boolean)",
@@ -6051,17 +6272,52 @@
6051
6272
  "description": "(boolean)",
6052
6273
  "valueSet": "v"
6053
6274
  },
6275
+ {
6276
+ "name": "storage-key",
6277
+ "description": "Remember the collapsed state in the browser under this key. (string)"
6278
+ },
6279
+ {
6280
+ "name": "shortcut",
6281
+ "description": "⌘B (Ctrl+B) collapses and expands the sidebar, except while typing in a field. (boolean)",
6282
+ "valueSet": "v"
6283
+ },
6284
+ {
6285
+ "name": "link-as",
6286
+ "description": "The element items with an `href` render as (default `a`), e.g. Next.js `Link`. (ElementType)"
6287
+ },
6288
+ {
6289
+ "name": "mobile-open",
6290
+ "description": "On phones (up to 760px wide): whether the drawer is open (controlled). (boolean)",
6291
+ "valueSet": "v"
6292
+ },
6054
6293
  {
6055
6294
  "name": "header",
6056
- "description": "Top of the sidebar (brand, workspace switcher). (ReactNode)"
6295
+ "description": "Top of the sidebar (brand, `WorkspaceSwitcher`); a function gets the collapsed state. (ReactNode | ((state: { collapsed: boolean }) => ReactNode))"
6057
6296
  },
6058
6297
  {
6059
6298
  "name": "footer",
6060
- "description": "Bottom of the sidebar (account, settings). (ReactNode)"
6299
+ "description": "Bottom of the sidebar (`UserMenu`, settings); a function gets the collapsed state. (ReactNode | ((state: { collapsed: boolean }) => ReactNode))"
6300
+ },
6301
+ {
6302
+ "name": "as",
6303
+ "description": "`nav` (default) for app navigation. `aside` for filters, settings or other tools beside the content: a complementary region instead of a navigation landmark. (\"nav\" | \"aside\")",
6304
+ "values": [
6305
+ {
6306
+ "name": "nav"
6307
+ },
6308
+ {
6309
+ "name": "aside"
6310
+ }
6311
+ ]
6312
+ },
6313
+ {
6314
+ "name": "collapsible",
6315
+ "description": "Offers the collapse button and the icons-only mode (default true; filters usually set false). (boolean)",
6316
+ "valueSet": "v"
6061
6317
  },
6062
6318
  {
6063
6319
  "name": "label",
6064
- "description": "Accessible name of the navigation. (string)"
6320
+ "description": "Accessible name of the navigation (or the aside). (string)"
6065
6321
  }
6066
6322
  ],
6067
6323
  "references": [
@@ -6071,6 +6327,51 @@
6071
6327
  }
6072
6328
  ]
6073
6329
  },
6330
+ {
6331
+ "name": "tf-user-menu",
6332
+ "description": "The signed-in account at the foot of a sidebar: avatar, name and email, opening a menu with profile, settings and sign-out.",
6333
+ "attributes": [
6334
+ {
6335
+ "name": "name",
6336
+ "description": "(string)"
6337
+ },
6338
+ {
6339
+ "name": "email",
6340
+ "description": "(string)"
6341
+ },
6342
+ {
6343
+ "name": "avatar",
6344
+ "description": "Picture URL; initials otherwise. (string)"
6345
+ },
6346
+ {
6347
+ "name": "items",
6348
+ "description": "The menu: profile, settings, sign out … ((MenuItem | \"-\")[])"
6349
+ },
6350
+ {
6351
+ "name": "compact",
6352
+ "description": "Only the avatar (a collapsed sidebar). (boolean)",
6353
+ "valueSet": "v"
6354
+ },
6355
+ {
6356
+ "name": "side",
6357
+ "description": "Where the menu opens (default `top`, for the foot of a sidebar). (\"top\" | \"bottom\")",
6358
+ "values": [
6359
+ {
6360
+ "name": "top"
6361
+ },
6362
+ {
6363
+ "name": "bottom"
6364
+ }
6365
+ ]
6366
+ }
6367
+ ],
6368
+ "references": [
6369
+ {
6370
+ "name": "Docs",
6371
+ "url": "https://ui.twentyfirst.media/halo/components/UserMenu/"
6372
+ }
6373
+ ]
6374
+ },
6074
6375
  {
6075
6376
  "name": "tf-connection-card",
6076
6377
  "description": "Connected services and the live connection: ConnectionCard and ConnectionBanner.",
@@ -6810,6 +7111,11 @@
6810
7111
  "name": "md"
6811
7112
  }
6812
7113
  ]
7114
+ },
7115
+ {
7116
+ "name": "block",
7117
+ "description": "Fills the width and shares it evenly; labels end in an ellipsis when space runs short. (boolean)",
7118
+ "valueSet": "v"
6813
7119
  }
6814
7120
  ],
6815
7121
  "references": [
@@ -7272,7 +7578,7 @@
7272
7578
  "attributes": [
7273
7579
  {
7274
7580
  "name": "brand",
7275
- "description": "(string)"
7581
+ "description": "The product name, or a node (a logo mark with the name). (ReactNode)"
7276
7582
  },
7277
7583
  {
7278
7584
  "name": "tag",
@@ -7318,6 +7624,25 @@
7318
7624
  {
7319
7625
  "name": "bottom",
7320
7626
  "description": "(RailItem[])"
7627
+ },
7628
+ {
7629
+ "name": "expanded",
7630
+ "description": "Names next to the icons (controlled); every button has a tooltip while collapsed. (boolean)",
7631
+ "valueSet": "v"
7632
+ },
7633
+ {
7634
+ "name": "default-expanded",
7635
+ "description": "(boolean)",
7636
+ "valueSet": "v"
7637
+ },
7638
+ {
7639
+ "name": "toggle",
7640
+ "description": "A button at the foot that expands and collapses the rail. (boolean)",
7641
+ "valueSet": "v"
7642
+ },
7643
+ {
7644
+ "name": "label",
7645
+ "description": "Accessible name of the rail (default \"Tools\"). (string)"
7321
7646
  }
7322
7647
  ],
7323
7648
  "references": [
@@ -7375,9 +7700,30 @@
7375
7700
  "name": "bottom",
7376
7701
  "description": "Bar along the bottom edge (dock, playback, a summary). (ReactNode)"
7377
7702
  },
7703
+ {
7704
+ "name": "controls",
7705
+ "description": "Controls of the background (zoom, compass, locate) in the free corner above the bottom bar. (ReactNode)"
7706
+ },
7707
+ {
7708
+ "name": "attribution",
7709
+ "description": "Source notes of the background (map attribution), under `controls`, clear of every slot. (ReactNode)"
7710
+ },
7711
+ {
7712
+ "name": "start-width",
7713
+ "description": "Width of the start column (default 320px) and of the end column (default 340px). (number | string)"
7714
+ },
7715
+ {
7716
+ "name": "end-width",
7717
+ "description": "(number | string)"
7718
+ },
7719
+ {
7720
+ "name": "end-sheet",
7721
+ "description": "Below 720px of width the end slot becomes a bottom sheet over the background, with a handle that expands and collapses it (default true). `false` stacks it with the others. (boolean)",
7722
+ "valueSet": "v"
7723
+ },
7378
7724
  {
7379
7725
  "name": "height",
7380
- "description": "Height of the layout (default 640). Below 720px of width the slots stack: top, start, end, bottom. (number | string)"
7726
+ "description": "Height of the layout (default 640). Below 720px of width the slots stack: top, start, end, bottom. The layout sets `--floating-safe-top/-start/-end/-bottom` (px) to the space its slots take, so map libraries can keep their own controls clear of them. (number | string)"
7381
7727
  },
7382
7728
  {
7383
7729
  "name": "surface",
@@ -7440,7 +7786,7 @@
7440
7786
  },
7441
7787
  {
7442
7788
  "name": "brand",
7443
- "description": "(string)"
7789
+ "description": "The product name, or a node (a logo mark with the name; collapsed sidebars show it whole). (ReactNode)"
7444
7790
  },
7445
7791
  {
7446
7792
  "name": "tag",
@@ -7486,6 +7832,34 @@
7486
7832
  {
7487
7833
  "name": "rail-bottom",
7488
7834
  "description": "(RailItem[])"
7835
+ },
7836
+ {
7837
+ "name": "navigation",
7838
+ "description": "`top` (default): navigation in the top bar, tools in the side rail. `sidebar`: a labelled sidebar on the frame, with groups, nesting and a drawer on phones. (\"top\" | \"sidebar\")",
7839
+ "values": [
7840
+ {
7841
+ "name": "top"
7842
+ },
7843
+ {
7844
+ "name": "sidebar"
7845
+ }
7846
+ ]
7847
+ },
7848
+ {
7849
+ "name": "sidebar-groups",
7850
+ "description": "With `navigation=\"sidebar\"`: groups instead of the flat `nav` list. (SidebarGroup[])"
7851
+ },
7852
+ {
7853
+ "name": "sidebar",
7854
+ "description": "With `navigation=\"sidebar\"`: more sidebar props (collapsed, storageKey, shortcut, linkAs …). (Partial<Omit<SidebarProps, \"variant\" | \"groups\">>)"
7855
+ },
7856
+ {
7857
+ "name": "workspaces",
7858
+ "description": "With `navigation=\"sidebar\"`: the workspace switcher at the top instead of the brand. (WorkspaceSwitcherProps)"
7859
+ },
7860
+ {
7861
+ "name": "user-menu",
7862
+ "description": "The account menu's entries (with `navigation=\"sidebar\"` at the foot of the sidebar). ((MenuItem | \"-\")[])"
7489
7863
  }
7490
7864
  ],
7491
7865
  "references": [
@@ -7559,7 +7933,7 @@
7559
7933
  },
7560
7934
  {
7561
7935
  "name": "categories",
7562
- "description": "({ id: string; label: string; text?: string; required?: boolean; default?: boolean; }[])"
7936
+ "description": "({ id: string; label: string; /** What the category covers; may hold a link to the details. */ text?: ReactNode; required?: boolean; default?: boolean; }[])"
7563
7937
  },
7564
7938
  {
7565
7939
  "name": "open",
@@ -7570,6 +7944,11 @@
7570
7944
  "name": "inline",
7571
7945
  "description": "(boolean)",
7572
7946
  "valueSet": "v"
7947
+ },
7948
+ {
7949
+ "name": "equal-choice",
7950
+ "description": "\"Only necessary\" and \"Accept all\" with the same weight (both secondary buttons), as German data protection authorities expect on the first layer. (boolean)",
7951
+ "valueSet": "v"
7573
7952
  }
7574
7953
  ],
7575
7954
  "references": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twentyfirstmedia/elements",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Every Twentyfirst UI component as a custom element: <tf-button>, <tf-data-table> … for plain HTML, Vue, Svelte, Angular, Astro and server templates.",
5
5
  "license": "MIT",
6
6
  "author": "Twentyfirst Media (https://twentyfirst.media)",
@@ -54,7 +54,7 @@
54
54
  "dist"
55
55
  ],
56
56
  "devDependencies": {
57
- "@twentyfirstmedia/ui-core": "0.5.0",
57
+ "@twentyfirstmedia/ui-core": "0.6.0",
58
58
  "@types/node": "26.6.6",
59
59
  "@types/react": "19.3.0",
60
60
  "@types/react-dom": "19.3.0",