@repobit/dex-system-design 2.5.1 → 2.7.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.
Files changed (175) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/README.md +2 -1
  3. package/package.json +14 -27
  4. package/schemas/component-manifest.json +233 -33
  5. package/schemas/manifest-omissions.json +23 -0
  6. package/src/components/accordion/accordion-bg.css.js +39 -30
  7. package/src/components/accordion/accordion-bg.js +17 -28
  8. package/src/components/accordion/accordion-bg.stories.js +5 -0
  9. package/src/components/accordion/accordion-panel.js +24 -0
  10. package/src/components/accordion/accordion.css.js +105 -111
  11. package/src/components/accordion/accordion.js +23 -37
  12. package/src/components/accordion/accordion.stories.js +5 -1
  13. package/src/components/anchor/anchor-nav.css.js +131 -53
  14. package/src/components/anchor/anchor-nav.js +276 -201
  15. package/src/components/annotation/annotation.css.js +7 -4
  16. package/src/components/architecture.stories.js +8 -7
  17. package/src/components/audience-card/audience-card.css.js +30 -4
  18. package/src/components/audience-card/audience-card.js +8 -13
  19. package/src/components/awards/awards-flex.css.js +23 -6
  20. package/src/components/awards/awards-flex.js +21 -6
  21. package/src/components/awards/awards-spotlight.css.js +25 -5
  22. package/src/components/awards/awards-spotlight.js +19 -7
  23. package/src/components/awards/awards.css.js +20 -8
  24. package/src/components/awards/awards.js +30 -91
  25. package/src/components/awards/awards.stories.js +5 -5
  26. package/src/components/awards/scroll-slides.js +128 -0
  27. package/src/components/back/back.css.js +2 -0
  28. package/src/components/badge/badge.css.js +15 -0
  29. package/src/components/bento-grid/bento-grid.css.js +105 -11
  30. package/src/components/bento-grid/bento-grid.js +37 -124
  31. package/src/components/bento-grid/bento-grid.stories.js +3 -2
  32. package/src/components/bento-grid/bento-item.css.js +71 -32
  33. package/src/components/bento-grid/bento-item.js +1 -30
  34. package/src/components/blockquote/blockquote.css.js +2 -2
  35. package/src/components/breadcrumb/breadcrumb.css.js +10 -9
  36. package/src/components/breadcrumb/breadcrumb.js +35 -34
  37. package/src/components/button/button.css.js +42 -17
  38. package/src/components/button/button.js +84 -3
  39. package/src/components/button/button.stories.js +17 -0
  40. package/src/components/card-features/card-features.css.js +23 -2
  41. package/src/components/card-features/card-features.js +6 -48
  42. package/src/components/cards/card.css.js +43 -14
  43. package/src/components/cards/card.js +43 -177
  44. package/src/components/cards/card.stories.js +8 -10
  45. package/src/components/carousel/carousel.css.js +101 -70
  46. package/src/components/carousel/carousel.js +107 -71
  47. package/src/components/carousel/carousel.stories.js +18 -16
  48. package/src/components/checkbox/checkbox.css.js +26 -9
  49. package/src/components/checkbox/checkbox.js +73 -39
  50. package/src/components/checkbox/checkbox.stories.js +35 -18
  51. package/src/components/compare/compare.css.js +68 -10
  52. package/src/components/compare/compare.js +40 -103
  53. package/src/components/compare/compare.stories.js +1 -1
  54. package/src/components/compatibility-table/compatibility-table.css.js +70 -37
  55. package/src/components/compatibility-table/compatibility-table.js +47 -40
  56. package/src/components/compatibility-table/compatibility-table.stories.js +78 -1
  57. package/src/components/display/display.css.js +7 -0
  58. package/src/components/dropdown/dropdown.css.js +20 -3
  59. package/src/components/dropdown/dropdown.js +57 -21
  60. package/src/components/dropdown/dropdown.stories.js +31 -9
  61. package/src/components/features/features.css.js +56 -21
  62. package/src/components/features/features.js +7 -117
  63. package/src/components/fieldset/fieldset.stories.js +68 -0
  64. package/src/components/footer/footer-images.js +34 -0
  65. package/src/components/footer/footer-links-group.css.js +10 -10
  66. package/src/components/footer/footer-locale.js +47 -0
  67. package/src/components/footer/footer-lp.js +27 -114
  68. package/src/components/footer/footer-lp.stories.js +2 -2
  69. package/src/components/footer/footer-nav-menu.css.js +2 -2
  70. package/src/components/footer/footer-nav-menu.js +8 -3
  71. package/src/components/footer/footer.css.js +228 -197
  72. package/src/components/footer/footer.js +109 -187
  73. package/src/components/footer/footer.stories.js +14 -4
  74. package/src/components/grid/grid.css.js +56 -20
  75. package/src/components/grid/grid.js +20 -15
  76. package/src/components/grid/grid.stories.js +39 -11
  77. package/src/components/header/header-code.css.js +20 -11
  78. package/src/components/header/header-code.js +1 -1
  79. package/src/components/header/header.css.js +20 -14
  80. package/src/components/header/header.js +6 -7
  81. package/src/components/header/header.stories.js +29 -24
  82. package/src/components/heading/heading.css.js +11 -0
  83. package/src/components/hero/hero.js +10 -2
  84. package/src/components/highlight/highlight.css.js +30 -6
  85. package/src/components/icons/arrow-icon.js +4 -1
  86. package/src/components/icons/arrow-right-icon.js +5 -1
  87. package/src/components/icons/icon-element.js +18 -0
  88. package/src/components/image/image.js +29 -9
  89. package/src/components/image/image.stories.js +38 -2
  90. package/src/components/input/custom-form.stories.js +38 -7
  91. package/src/components/input/input-clipboard.css.js +15 -1
  92. package/src/components/input/input-clipboard.js +84 -21
  93. package/src/components/input/input.js +27 -7
  94. package/src/components/install-options/install-options.css.js +26 -6
  95. package/src/components/install-options/install-options.js +32 -8
  96. package/src/components/label/label.css.js +1 -1
  97. package/src/components/light-carousel/light-carousel.css.js +100 -48
  98. package/src/components/light-carousel/light-carousel.js +43 -5
  99. package/src/components/link/link.css.js +15 -15
  100. package/src/components/link/link.js +17 -1
  101. package/src/components/link/link.stories.js +20 -7
  102. package/src/components/list/list.css.js +3 -3
  103. package/src/components/logo-marquee/logo-marquee.css.js +12 -1
  104. package/src/components/logo-marquee/logo-marquee.js +33 -8
  105. package/src/components/logo-marquee/logo-marquee.stories.js +10 -4
  106. package/src/components/modal/modal.css.js +74 -40
  107. package/src/components/modal/modal.js +85 -74
  108. package/src/components/modal/modal.stories.js +27 -14
  109. package/src/components/motion-art/motion-art.js +67 -1
  110. package/src/components/page-switcher/page-switcher.css.js +27 -9
  111. package/src/components/page-switcher/page-switcher.js +11 -8
  112. package/src/components/partner-banner/partner-banner.css.js +2 -0
  113. package/src/components/picture/picture.css.js +4 -4
  114. package/src/components/picture/picture.js +13 -3
  115. package/src/components/picture/picture.stories.js +28 -2
  116. package/src/components/post-card/post-card.css.js +18 -3
  117. package/src/components/pricing-cards/adopt-styles.js +16 -0
  118. package/src/components/pricing-cards/new-pricing-card.js +2 -4
  119. package/src/components/pricing-cards/new-pricing-card.stories.js +20 -22
  120. package/src/components/pricing-cards/pricing-card-actions.css.js +8 -12
  121. package/src/components/pricing-cards/pricing-card-actions.js +26 -13
  122. package/src/components/pricing-cards/pricing-card-container.css.js +4 -3
  123. package/src/components/pricing-cards/pricing-card-container.js +10 -4
  124. package/src/components/pricing-cards/pricing-card-header.css.js +5 -4
  125. package/src/components/pricing-cards/pricing-card-header.js +18 -31
  126. package/src/components/pricing-cards/pricing-card-pricing.css.js +84 -61
  127. package/src/components/pricing-cards/pricing-card-pricing.js +38 -24
  128. package/src/components/pricing-cards/pricing-card-show-more.js +8 -3
  129. package/src/components/pricing-cards/pricing-card.css.js +75 -41
  130. package/src/components/pricing-cards/pricing-card.js +356 -308
  131. package/src/components/progress/progress.css.js +58 -13
  132. package/src/components/progress/progress.js +13 -10
  133. package/src/components/progress/progress.stories.js +9 -7
  134. package/src/components/radio/radio-group.css.js +42 -0
  135. package/src/components/radio/radio-group.js +89 -0
  136. package/src/components/radio/radio.css.js +63 -6
  137. package/src/components/radio/radio.js +173 -140
  138. package/src/components/radio/radio.stories.js +99 -44
  139. package/src/components/radio/toggle-radio.js +44 -0
  140. package/src/components/review/review-grid.css.js +5 -1
  141. package/src/components/review/review-grid.js +2 -0
  142. package/src/components/review/review.js +13 -0
  143. package/src/components/shared/announcer.js +37 -0
  144. package/src/components/shared/fill-width.css.js +29 -0
  145. package/src/components/shared/form-control.js +194 -0
  146. package/src/components/shared/form-field.css.js +31 -3
  147. package/src/components/shared/token-scales.js +75 -26
  148. package/src/components/spotlight-section/spotlight-section.js +2 -2
  149. package/src/components/stat/stat-highlight.js +1 -1
  150. package/src/components/stat/stat.css.js +18 -3
  151. package/src/components/switch/switch.css.js +58 -5
  152. package/src/components/switch/switch.js +53 -5
  153. package/src/components/switch/switch.stories.js +30 -8
  154. package/src/components/tab-list/tab-list.css.js +51 -13
  155. package/src/components/tab-list/tab-list.js +7 -2
  156. package/src/components/tab-list/tab-list.stories.js +2 -2
  157. package/src/components/tabs/tabs.css.js +18 -1
  158. package/src/components/tabs/tabs.js +119 -41
  159. package/src/components/terminal/terminal-message.css.js +6 -1
  160. package/src/components/termsOfUse/terms.css.js +4 -2
  161. package/src/components/textarea/textarea.js +22 -7
  162. package/src/components/textarea/textarea.stories.js +12 -9
  163. package/src/components/trust-panel/trust-panel.css.js +13 -3
  164. package/src/components/ultimate-security-demo.stories.js +5 -5
  165. package/src/components/video/video.css.js +5 -0
  166. package/src/components/video/video.js +5 -0
  167. package/src/components/video/video.stories.js +12 -0
  168. package/src/components/video-player/video-player.css.js +20 -8
  169. package/src/components/video-player/video-player.js +74 -20
  170. package/src/components/video-player/video-player.stories.js +17 -3
  171. package/src/tokens/brands.stories.js +1 -1
  172. package/src/tokens/themes/index.js +2 -2
  173. package/src/tokens/typography.stories.js +4 -3
  174. package/src/vendor/motion-art/README.md +4 -1
  175. package/src/components/footer/footer-lp.css.js +0 -159
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifestVersion": 1,
3
3
  "package": "@repobit/dex-system-design",
4
- "packageVersion": "2.5.1",
4
+ "packageVersion": "2.7.0",
5
5
  "generatedFrom": [
6
6
  "package.json exports",
7
7
  "Lit static properties",
@@ -194,6 +194,30 @@
194
194
  "role": "form",
195
195
  "contentModel": "none",
196
196
  "props": [
197
+ {
198
+ "name": "autocomplete",
199
+ "type": "string",
200
+ "description": "Native autocomplete token passed to the <input>, e.g. off or one-time-code."
201
+ },
202
+ {
203
+ "name": "spellCheck",
204
+ "type": "string",
205
+ "attributeName": "spellcheck",
206
+ "enum": ["true", "false"],
207
+ "description": "Passed to the <input>. A pasted key or code usually wants false."
208
+ },
209
+ {
210
+ "name": "enterkeyhint",
211
+ "type": "string",
212
+ "enum": ["enter", "done", "go", "next", "previous", "search", "send"],
213
+ "description": "Labels the Enter key on a mobile keyboard."
214
+ },
215
+ {
216
+ "name": "fieldLabel",
217
+ "type": "string",
218
+ "attributeName": "aria-label",
219
+ "description": "The field's accessible name when there is no visible label: aria-label on the element is passed to the <input>. Without either, a <label for> pointing at the element names it."
220
+ },
197
221
  {
198
222
  "name": "size",
199
223
  "type": "string",
@@ -259,7 +283,7 @@
259
283
  {
260
284
  "name": "name",
261
285
  "type": "string",
262
- "description": "Carried on the bd-input and bd-change event detail. NOT submitted with a form — the input lives in a shadow root."
286
+ "description": "The name it submits under in a form: the element is form-associated, so a <form> around it submits name=value. Also carried on the bd-input and bd-change event detail."
263
287
  }
264
288
  ],
265
289
  "events": [
@@ -634,6 +658,13 @@
634
658
  "custom-click"
635
659
  ],
636
660
  "props": [
661
+ {
662
+ "name": "type",
663
+ "type": "string",
664
+ "enum": ["button", "submit", "reset"],
665
+ "default": "button",
666
+ "description": "What the button does to the form it sits in. The element is form-associated: submit submits the form (validating it first, as a native submit button does) and makes it the form's default button; reset resets it; button, the default, does neither. A native <button> defaults to submit; this one does not, so no existing bd-button starts submitting."
667
+ },
637
668
  {
638
669
  "name": "description",
639
670
  "type": "string",
@@ -1039,16 +1070,19 @@
1039
1070
  "module": "./src/components/checkbox/checkbox.js",
1040
1071
  "role": "form",
1041
1072
  "contentModel": "text-or-children",
1073
+ "events": [
1074
+ "change"
1075
+ ],
1042
1076
  "props": [
1043
1077
  {
1044
1078
  "name": "name",
1045
1079
  "type": "string",
1046
- "description": "Carried on the change event only. This element does NOT participate in form submission — a form containing it yields no FormData entry."
1080
+ "description": "The name it submits under in a form: the element is form-associated, so a <form> around it submits name=value when it is checked. Also carried on the change event."
1047
1081
  },
1048
1082
  {
1049
1083
  "name": "value",
1050
1084
  "type": "string",
1051
- "description": "Emitted in the change event detail when checked, null when not. Not submitted with a form."
1085
+ "description": "Submitted with a form when checked (\"on\" when empty, as a native checkbox), and emitted in the change event detail when checked, null when not."
1052
1086
  },
1053
1087
  {
1054
1088
  "name": "checked",
@@ -1063,7 +1097,12 @@
1063
1097
  {
1064
1098
  "name": "disabled",
1065
1099
  "type": "boolean",
1066
- "description": "Blocks interaction, greys the box and label, and sets tabindex=\"-1\"."
1100
+ "description": "Blocks interaction, greys the box and label, and takes it out of the tab order and out of a form submit. A <fieldset disabled> around it does the same without setting this."
1101
+ },
1102
+ {
1103
+ "name": "required",
1104
+ "type": "boolean",
1105
+ "description": "In a form, blocks the submit until the box is checked, with the browser's own message."
1067
1106
  },
1068
1107
  {
1069
1108
  "name": "label",
@@ -1238,13 +1277,19 @@
1238
1277
  "name": "options",
1239
1278
  "type": "array"
1240
1279
  },
1280
+ {
1281
+ "name": "placeholder",
1282
+ "type": "string",
1283
+ "description": "A first option with no value, standing for nothing chosen yet, and chosen until something else is. What lets required fail; without it the first real option is chosen from the start."
1284
+ },
1241
1285
  {
1242
1286
  "name": "kind",
1243
1287
  "type": "string"
1244
1288
  },
1245
1289
  {
1246
1290
  "name": "required",
1247
- "type": "boolean"
1291
+ "type": "boolean",
1292
+ "description": "Marks the label with an asterisk. In a form, blocks the submit while the placeholder option is chosen -- so it needs a placeholder to be able to fail."
1248
1293
  },
1249
1294
  {
1250
1295
  "name": "tooltip",
@@ -1252,7 +1297,8 @@
1252
1297
  },
1253
1298
  {
1254
1299
  "name": "invalid",
1255
- "type": "boolean"
1300
+ "type": "boolean",
1301
+ "description": "Forces the error state and aria-invalid, for a reason only the page knows. A required field left on its placeholder shows the same state once it has been changed and left, or once a submit has been tried."
1256
1302
  },
1257
1303
  {
1258
1304
  "name": "validated",
@@ -1260,17 +1306,18 @@
1260
1306
  },
1261
1307
  {
1262
1308
  "name": "disabled",
1263
- "type": "boolean"
1309
+ "type": "boolean",
1310
+ "description": "Disables the select and leaves it out of a form submit. A <fieldset disabled> around it does the same without setting this."
1264
1311
  },
1265
1312
  {
1266
1313
  "name": "value",
1267
1314
  "type": "string",
1268
- "description": "The chosen option. Read it, or set it to choose one; unset, or set to an option that is not there, it is the first. Carried on the bd-input / bd-change detail."
1315
+ "description": "The chosen option. Read it, or set it to choose one; unset, or set to an option that is not there, it is the first. Carried on the bd-input / bd-change detail. The value attribute is the default a form reset returns to."
1269
1316
  },
1270
1317
  {
1271
1318
  "name": "name",
1272
1319
  "type": "string",
1273
- "description": "Carried on the bd-input and bd-change event detail. NOT submitted with a form — the select lives in a shadow root."
1320
+ "description": "The name it submits under in a form: the element is form-associated, so a <form> around it submits name=value. Also carried on the bd-input and bd-change event detail."
1274
1321
  }
1275
1322
  ],
1276
1323
  "events": [
@@ -1313,7 +1360,8 @@
1313
1360
  },
1314
1361
  {
1315
1362
  "name": "required",
1316
- "type": "boolean"
1363
+ "type": "boolean",
1364
+ "description": "Marks the label with an asterisk, and in a form an empty field blocks the submit with the browser's own message."
1317
1365
  },
1318
1366
  {
1319
1367
  "name": "focused",
@@ -1326,7 +1374,8 @@
1326
1374
  },
1327
1375
  {
1328
1376
  "name": "invalid",
1329
- "type": "boolean"
1377
+ "type": "boolean",
1378
+ "description": "Forces the error state and aria-invalid, for a reason only the page knows. A field that fails its own constraints (required, type) shows the same state once it has been changed and left, or once a submit has been tried."
1330
1379
  },
1331
1380
  {
1332
1381
  "name": "validated",
@@ -1334,17 +1383,18 @@
1334
1383
  },
1335
1384
  {
1336
1385
  "name": "disabled",
1337
- "type": "boolean"
1386
+ "type": "boolean",
1387
+ "description": "Disables the field and leaves it out of a form submit. A <fieldset disabled> around it does the same without setting this."
1338
1388
  },
1339
1389
  {
1340
1390
  "name": "value",
1341
1391
  "type": "string",
1342
- "description": "The field contents. Read it here or from the bd-input / bd-change event detail — a native input event retargets to the host, so e.target.value is undefined."
1392
+ "description": "The field contents. Read it here or from the bd-input / bd-change event detail — a native input event retargets to the host, so e.target.value is undefined. The value attribute is the default a form reset returns to."
1343
1393
  },
1344
1394
  {
1345
1395
  "name": "name",
1346
1396
  "type": "string",
1347
- "description": "Carried on the bd-input and bd-change event detail. NOT submitted with a form — the input lives in a shadow root."
1397
+ "description": "The name it submits under in a form: the element is form-associated, so a <form> around it submits name=value. Also carried on the bd-input and bd-change event detail."
1348
1398
  },
1349
1399
  {
1350
1400
  "name": "inputmode",
@@ -1658,6 +1708,11 @@
1658
1708
  {
1659
1709
  "name": "bold",
1660
1710
  "type": "boolean"
1711
+ },
1712
+ {
1713
+ "name": "label",
1714
+ "type": "string",
1715
+ "description": "The nav landmark's name, \"Footer\" by default. Give each bd-footer-nav in a footer its own, without the word \"navigation\"."
1661
1716
  }
1662
1717
  ]
1663
1718
  },
@@ -1837,6 +1892,13 @@
1837
1892
  "4xl",
1838
1893
  "5xl"
1839
1894
  ]
1895
+ },
1896
+ {
1897
+ "name": "minColWidth",
1898
+ "type": "number",
1899
+ "attributeName": "min-col-width",
1900
+ "default": 0,
1901
+ "description": "The narrowest a column may be, in px at the default text size (laid out in rem, so it grows with the reader's text). Set, each step's cols is the most columns there will be, and the grid takes fewer where that many would not fit. Unset (0), cols is the count."
1840
1902
  }
1841
1903
  ],
1842
1904
  "notes": [
@@ -2041,14 +2103,14 @@
2041
2103
  "type": "string",
2042
2104
  "attributeName": "cta-label",
2043
2105
  "default": "Buy now",
2044
- "description": "Visible label on the primary CTA. Defaults to the string this component has always rendered; Header / v2 reads \u201cGet Protection\u201d. Which words sell a subscription is purchase-funnel copy, so the page sets it. The primary CTA's destination is not a prop \u2014 it carries buyLink, and @repobit/dex-store injects the buy URL at runtime."
2106
+ "description": "Visible label on the primary CTA. Defaults to the string this component has always rendered; Header / v2 reads “Get Protection”. Which words sell a subscription is purchase-funnel copy, so the page sets it. The primary CTA's destination is not a prop — it carries buyLink, and @repobit/dex-store injects the buy URL at runtime."
2045
2107
  },
2046
2108
  {
2047
2109
  "name": "ctaSecondaryLabel",
2048
2110
  "type": "string",
2049
2111
  "attributeName": "cta-secondary-label",
2050
2112
  "default": "View more plans",
2051
- "description": "Visible label on the secondary CTA. Defaults to the string this component has always rendered; Header / v2 reads \u201cStart your 30-day trial\u201d."
2113
+ "description": "Visible label on the secondary CTA. Defaults to the string this component has always rendered; Header / v2 reads “Start your 30-day trial”."
2052
2114
  },
2053
2115
  {
2054
2116
  "name": "ctaSecondaryHref",
@@ -2086,7 +2148,7 @@
2086
2148
  {
2087
2149
  "name": "shadow",
2088
2150
  "type": "boolean",
2089
- "description": "Reflects as an attribute so @repobit/dex-store-elements will walk this component's shadow root for [data-store-render] and [data-store-hide] nodes \u2014 its SHADOW_HOST_SELECTOR is '[shadow], [data-bd-watch-shadow]'. NOT a styling flag, despite the name. Load-bearing: without it the store-driven price zones never render. Defaults to true; leave it set."
2151
+ "description": "Reflects as an attribute so @repobit/dex-store-elements will walk this component's shadow root for [data-store-render] and [data-store-hide] nodes — its SHADOW_HOST_SELECTOR is '[shadow], [data-bd-watch-shadow]'. NOT a styling flag, despite the name. Load-bearing: without it the store-driven price zones never render. Defaults to true; leave it set."
2090
2152
  },
2091
2153
  {
2092
2154
  "name": "dataLayerEvent",
@@ -2142,6 +2204,16 @@
2142
2204
  "name": "src",
2143
2205
  "type": "string"
2144
2206
  },
2207
+ {
2208
+ "name": "srcset",
2209
+ "type": "string",
2210
+ "description": "Passed to the img's srcset attribute."
2211
+ },
2212
+ {
2213
+ "name": "sizes",
2214
+ "type": "string",
2215
+ "description": "Passed to the img's sizes attribute."
2216
+ },
2145
2217
  {
2146
2218
  "name": "alt",
2147
2219
  "type": "string"
@@ -2160,6 +2232,17 @@
2160
2232
  "name": "loading",
2161
2233
  "type": "string"
2162
2234
  },
2235
+ {
2236
+ "name": "fetchPriority",
2237
+ "type": "string",
2238
+ "attributeName": "fetchpriority",
2239
+ "description": "\"high\" for the image the page is waiting for (its Largest Contentful Paint), which also renders it without loading=\"lazy\"; \"low\" for an image above the fold but hidden at first. Unset otherwise."
2240
+ },
2241
+ {
2242
+ "name": "decoding",
2243
+ "type": "string",
2244
+ "description": "Passed to the img's decoding attribute."
2245
+ },
2163
2246
  {
2164
2247
  "name": "fit",
2165
2248
  "type": "string",
@@ -2724,6 +2807,12 @@
2724
2807
  "role": "content",
2725
2808
  "contentModel": "text-or-children",
2726
2809
  "props": [
2810
+ {
2811
+ "name": "current",
2812
+ "type": "string",
2813
+ "enum": ["page", "step", "location", "date", "time", "true"],
2814
+ "description": "Marks the link as the current one in its set, with an aria-current token, set on the inner <a> where a screen reader reads it. The current look is drawn from it, and it reflects, so a container can style the item's box. Replaces active."
2815
+ },
2727
2816
  {
2728
2817
  "name": "description",
2729
2818
  "type": "string",
@@ -3265,6 +3354,17 @@
3265
3354
  "name": "loading",
3266
3355
  "type": "string"
3267
3356
  },
3357
+ {
3358
+ "name": "fetchPriority",
3359
+ "type": "string",
3360
+ "attributeName": "fetchpriority",
3361
+ "description": "\"high\" for the image the page is waiting for (its Largest Contentful Paint), which also renders it without loading=\"lazy\"; \"low\" for an image above the fold but hidden at first. Unset otherwise."
3362
+ },
3363
+ {
3364
+ "name": "decoding",
3365
+ "type": "string",
3366
+ "description": "Passed to the img's decoding attribute."
3367
+ },
3268
3368
  {
3269
3369
  "name": "fit",
3270
3370
  "type": "string",
@@ -3365,6 +3465,11 @@
3365
3465
  {
3366
3466
  "name": "shadow",
3367
3467
  "type": "boolean"
3468
+ },
3469
+ {
3470
+ "name": "termsHref",
3471
+ "type": "string",
3472
+ "description": "Where \"terms of use\" in each card goes (attribute terms-href). Without it the words are plain text."
3368
3473
  }
3369
3474
  ]
3370
3475
  },
@@ -3412,22 +3517,27 @@
3412
3517
  {
3413
3518
  "name": "name",
3414
3519
  "type": "string",
3415
- "description": "Groups the radios: selecting one clears every other bd-radio with the same name in the same root. Carried on the change event. NOT submitted with a form."
3520
+ "description": "Groups the radios outside a bd-radio-group: selecting one clears every other bd-radio with the same name in the same root. Inside a bd-radio-group the group's name is given to it. The selected radio submits name=value with a form (the element is form-associated), and the name is carried on the change event."
3416
3521
  },
3417
3522
  {
3418
3523
  "name": "value",
3419
3524
  "type": "string",
3420
- "description": "Emitted in the change event detail when selected. Not submitted with a form."
3525
+ "description": "Submitted with a form when selected (\"on\" when empty), and emitted in the change event detail."
3421
3526
  },
3422
3527
  {
3423
3528
  "name": "checked",
3424
3529
  "type": "boolean",
3425
- "description": "Whether this option is selected. Exactly one radio per name should be checked."
3530
+ "description": "Whether this option is selected. Setting it clears the rest of the group, as on a native radio; the state a radio is first rendered with is kept as written."
3426
3531
  },
3427
3532
  {
3428
3533
  "name": "disabled",
3429
3534
  "type": "boolean",
3430
- "description": "Blocks selection, greys the circle and label, and removes it from the tab order and from arrow navigation."
3535
+ "description": "Blocks selection, greys the circle and label, and removes it from the tab order, from arrow navigation and from a form submit. A <fieldset disabled> around it does the same without setting this."
3536
+ },
3537
+ {
3538
+ "name": "required",
3539
+ "type": "boolean",
3540
+ "description": "Requires the group: in a form, the submit is blocked until one radio of the group is selected. Setting it on any one radio, or on the bd-radio-group, is enough."
3431
3541
  },
3432
3542
  {
3433
3543
  "name": "label",
@@ -3436,6 +3546,33 @@
3436
3546
  }
3437
3547
  ]
3438
3548
  },
3549
+ {
3550
+ "tag": "bd-radio-group",
3551
+ "packageExport": "./radio-group",
3552
+ "module": "./src/components/radio/radio-group.js",
3553
+ "role": "form",
3554
+ "contentModel": "children",
3555
+ "children": [
3556
+ "bd-radio"
3557
+ ],
3558
+ "props": [
3559
+ {
3560
+ "name": "label",
3561
+ "type": "string",
3562
+ "description": "The group's question, shown above the options and naming the radiogroup for a screen reader."
3563
+ },
3564
+ {
3565
+ "name": "name",
3566
+ "type": "string",
3567
+ "description": "Given to every bd-radio inside, which is the name the selected one submits under. The radios inside exclude each other and nothing else, whatever else on the page shares the name."
3568
+ },
3569
+ {
3570
+ "name": "required",
3571
+ "type": "boolean",
3572
+ "description": "In a form, blocks the submit until one radio is selected; marks the label and announces aria-required."
3573
+ }
3574
+ ]
3575
+ },
3439
3576
  {
3440
3577
  "tag": "bd-skeleton",
3441
3578
  "packageExport": "./skeleton",
@@ -3530,7 +3667,18 @@
3530
3667
  },
3531
3668
  {
3532
3669
  "name": "name",
3533
- "type": "string"
3670
+ "type": "string",
3671
+ "description": "The name it submits under in a form: the element is form-associated, so a <form> around it submits name=value when it is on."
3672
+ },
3673
+ {
3674
+ "name": "value",
3675
+ "type": "string",
3676
+ "description": "Submitted with a form when on; \"on\" when empty, as the native checkbox it is built on."
3677
+ },
3678
+ {
3679
+ "name": "required",
3680
+ "type": "boolean",
3681
+ "description": "In a form, blocks the submit until it is on, with the browser's own message."
3534
3682
  }
3535
3683
  ]
3536
3684
  },
@@ -3637,7 +3785,8 @@
3637
3785
  },
3638
3786
  {
3639
3787
  "name": "value",
3640
- "type": "string"
3788
+ "type": "string",
3789
+ "description": "The field contents. The value attribute is the default a form reset returns to."
3641
3790
  },
3642
3791
  {
3643
3792
  "name": "placeholder",
@@ -3649,7 +3798,8 @@
3649
3798
  },
3650
3799
  {
3651
3800
  "name": "required",
3652
- "type": "boolean"
3801
+ "type": "boolean",
3802
+ "description": "Marks the label with an asterisk, and in a form an empty field blocks the submit with the browser's own message."
3653
3803
  },
3654
3804
  {
3655
3805
  "name": "tooltip",
@@ -3658,7 +3808,8 @@
3658
3808
  },
3659
3809
  {
3660
3810
  "name": "invalid",
3661
- "type": "boolean"
3811
+ "type": "boolean",
3812
+ "description": "Forces the error state and aria-invalid, for a reason only the page knows. A field that fails its own constraints shows the same state once it has been changed and left, or once a submit has been tried."
3662
3813
  },
3663
3814
  {
3664
3815
  "name": "validated",
@@ -3666,33 +3817,40 @@
3666
3817
  },
3667
3818
  {
3668
3819
  "name": "disabled",
3669
- "type": "boolean"
3820
+ "type": "boolean",
3821
+ "description": "Disables the field and leaves it out of a form submit. A <fieldset disabled> around it does the same without setting this."
3670
3822
  },
3671
3823
  {
3672
3824
  "name": "name",
3673
- "type": "string"
3825
+ "type": "string",
3826
+ "description": "The name it submits under in a form: the element is form-associated, so a <form> around it submits name=value. Also carried on the bd-change event detail."
3674
3827
  }
3675
3828
  ]
3676
3829
  },
3677
3830
  {
3678
3831
  "tag": "bd-toggle-radio",
3679
3832
  "packageExport": "./radio",
3680
- "module": "./src/components/radio/radio.js",
3833
+ "module": "./src/components/radio/toggle-radio.js",
3681
3834
  "role": "form",
3682
3835
  "contentModel": "text-or-children",
3683
3836
  "events": [
3684
3837
  "change"
3685
3838
  ],
3686
3839
  "props": [
3840
+ {
3841
+ "name": "required",
3842
+ "type": "boolean",
3843
+ "description": "In a form, blocks the submit until it is checked, with the browser's own message."
3844
+ },
3687
3845
  {
3688
3846
  "name": "name",
3689
3847
  "type": "string",
3690
- "description": "Carried on the change event only. Unlike bd-radio this element does not group or enforce exclusivity. NOT submitted with a form."
3848
+ "description": "The name it submits under in a form: it is form-associated, and submits value (or on) while checked. Also carried on the change event. Unlike bd-radio it does not group or enforce exclusivity."
3691
3849
  },
3692
3850
  {
3693
3851
  "name": "value",
3694
3852
  "type": "string",
3695
- "description": "Emitted in the change event detail when selected. Not submitted with a form."
3853
+ "description": "What it submits while checked; on when empty. Also emitted in the change event detail."
3696
3854
  },
3697
3855
  {
3698
3856
  "name": "checked",
@@ -3710,7 +3868,7 @@
3710
3868
  "description": "Label text, and the fallback for the default slot — slotted content wins, so markup such as a link can go inside the label."
3711
3869
  }
3712
3870
  ],
3713
- "deprecated": "Circular styling with role=\"checkbox\" and independent toggling — it looks exclusive but is not. Use bd-checkbox."
3871
+ "deprecated": "Circular styling over a native checkbox, toggling independently — it looks exclusive but is not. Use bd-checkbox."
3714
3872
  },
3715
3873
  {
3716
3874
  "tag": "bd-tooltip",
@@ -3771,6 +3929,11 @@
3771
3929
  {
3772
3930
  "name": "loop",
3773
3931
  "type": "boolean"
3932
+ },
3933
+ {
3934
+ "name": "preload",
3935
+ "type": "string",
3936
+ "description": "What to fetch before playback: \"metadata\" (the default), \"none\" for a video far down a page, or \"auto\"."
3774
3937
  }
3775
3938
  ]
3776
3939
  },
@@ -3928,6 +4091,16 @@
3928
4091
  {
3929
4092
  "name": "shadow",
3930
4093
  "type": "boolean"
4094
+ },
4095
+ {
4096
+ "name": "learnMoreHref",
4097
+ "type": "string",
4098
+ "description": "The product page \"Learn More\" links to (attribute learn-more-href). Without it the card has no Learn More."
4099
+ },
4100
+ {
4101
+ "name": "termsHref",
4102
+ "type": "string",
4103
+ "description": "Where \"terms of use\" goes (attribute terms-href). Without it the words are plain text."
3931
4104
  }
3932
4105
  ]
3933
4106
  },
@@ -3986,6 +4159,16 @@
3986
4159
  {
3987
4160
  "name": "shadow",
3988
4161
  "type": "boolean"
4162
+ },
4163
+ {
4164
+ "name": "learnMoreHref",
4165
+ "type": "string",
4166
+ "description": "The product page \"Learn More\" links to (attribute learn-more-href). Without it the card has no Learn More."
4167
+ },
4168
+ {
4169
+ "name": "termsHref",
4170
+ "type": "string",
4171
+ "description": "Where \"terms of use\" goes (attribute terms-href). Without it the words are plain text."
3989
4172
  }
3990
4173
  ]
3991
4174
  },
@@ -4088,6 +4271,11 @@
4088
4271
  {
4089
4272
  "name": "shadow",
4090
4273
  "type": "boolean"
4274
+ },
4275
+ {
4276
+ "name": "panelId",
4277
+ "type": "string",
4278
+ "description": "The id of the cards the switch controls, in the switch's own tree (attribute panel-id); its tabs point at it with aria-controls."
4091
4279
  }
4092
4280
  ]
4093
4281
  },
@@ -4202,7 +4390,19 @@
4202
4390
  {
4203
4391
  "name": "paused",
4204
4392
  "type": "boolean",
4205
- "description": "Stopped. There is no pause button; a page sets it."
4393
+ "description": "Stopped. The marquee's own pause button sets it, and so can a page."
4394
+ },
4395
+ {
4396
+ "name": "pauseLabel",
4397
+ "type": "string",
4398
+ "attributeName": "pause-label",
4399
+ "description": "The pause button's accessible name while the logos move."
4400
+ },
4401
+ {
4402
+ "name": "playLabel",
4403
+ "type": "string",
4404
+ "attributeName": "play-label",
4405
+ "description": "The button's accessible name while the logos are paused."
4206
4406
  }
4207
4407
  ]
4208
4408
  },