@repobit/dex-system-design 2.5.0 → 2.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.
- package/CHANGELOG.md +91 -0
- package/README.md +2 -1
- package/package.json +14 -27
- package/schemas/component-manifest.json +226 -33
- package/schemas/manifest-omissions.json +23 -0
- package/src/components/accordion/accordion-bg.css.js +39 -30
- package/src/components/accordion/accordion-bg.js +17 -28
- package/src/components/accordion/accordion-bg.stories.js +5 -0
- package/src/components/accordion/accordion-panel.js +24 -0
- package/src/components/accordion/accordion.css.js +105 -111
- package/src/components/accordion/accordion.js +23 -37
- package/src/components/accordion/accordion.stories.js +5 -1
- package/src/components/anchor/anchor-nav.css.js +131 -53
- package/src/components/anchor/anchor-nav.js +276 -201
- package/src/components/annotation/annotation.css.js +7 -4
- package/src/components/architecture.stories.js +8 -7
- package/src/components/audience-card/audience-card.css.js +30 -4
- package/src/components/audience-card/audience-card.js +8 -13
- package/src/components/awards/awards-flex.css.js +23 -6
- package/src/components/awards/awards-flex.js +21 -6
- package/src/components/awards/awards-spotlight.css.js +25 -5
- package/src/components/awards/awards-spotlight.js +19 -7
- package/src/components/awards/awards.css.js +20 -8
- package/src/components/awards/awards.js +30 -91
- package/src/components/awards/awards.stories.js +5 -5
- package/src/components/awards/scroll-slides.js +128 -0
- package/src/components/back/back.css.js +2 -0
- package/src/components/badge/badge.css.js +15 -0
- package/src/components/bento-grid/bento-grid.css.js +105 -11
- package/src/components/bento-grid/bento-grid.js +37 -124
- package/src/components/bento-grid/bento-grid.stories.js +3 -2
- package/src/components/bento-grid/bento-item.css.js +71 -32
- package/src/components/bento-grid/bento-item.js +3 -30
- package/src/components/blockquote/blockquote.css.js +2 -2
- package/src/components/breadcrumb/breadcrumb.css.js +10 -9
- package/src/components/breadcrumb/breadcrumb.js +35 -34
- package/src/components/button/button.css.js +42 -17
- package/src/components/button/button.js +84 -3
- package/src/components/button/button.stories.js +17 -0
- package/src/components/card-features/card-features.css.js +23 -2
- package/src/components/card-features/card-features.js +6 -48
- package/src/components/cards/card.css.js +43 -14
- package/src/components/cards/card.js +43 -177
- package/src/components/cards/card.stories.js +8 -10
- package/src/components/carousel/carousel.css.js +101 -70
- package/src/components/carousel/carousel.js +107 -71
- package/src/components/carousel/carousel.stories.js +18 -16
- package/src/components/checkbox/checkbox.css.js +26 -9
- package/src/components/checkbox/checkbox.js +73 -39
- package/src/components/checkbox/checkbox.stories.js +35 -18
- package/src/components/compare/compare.css.js +68 -10
- package/src/components/compare/compare.js +40 -103
- package/src/components/compare/compare.stories.js +1 -1
- package/src/components/compatibility-table/compatibility-table.css.js +70 -37
- package/src/components/compatibility-table/compatibility-table.js +47 -40
- package/src/components/compatibility-table/compatibility-table.stories.js +78 -1
- package/src/components/display/display.css.js +7 -0
- package/src/components/dropdown/dropdown.css.js +20 -3
- package/src/components/dropdown/dropdown.js +57 -21
- package/src/components/dropdown/dropdown.stories.js +31 -9
- package/src/components/features/features.css.js +56 -21
- package/src/components/features/features.js +7 -117
- package/src/components/fieldset/fieldset.stories.js +68 -0
- package/src/components/footer/footer-images.js +34 -0
- package/src/components/footer/footer-links-group.css.js +10 -10
- package/src/components/footer/footer-locale.js +47 -0
- package/src/components/footer/footer-lp.js +27 -114
- package/src/components/footer/footer-lp.stories.js +2 -2
- package/src/components/footer/footer-nav-menu.css.js +2 -2
- package/src/components/footer/footer-nav-menu.js +8 -3
- package/src/components/footer/footer.css.js +238 -197
- package/src/components/footer/footer.js +109 -187
- package/src/components/footer/footer.stories.js +14 -4
- package/src/components/grid/grid.css.js +64 -5
- package/src/components/header/header-code.css.js +20 -11
- package/src/components/header/header-code.js +1 -1
- package/src/components/header/header.css.js +20 -14
- package/src/components/header/header.js +6 -7
- package/src/components/header/header.stories.js +29 -24
- package/src/components/heading/heading.css.js +11 -0
- package/src/components/hero/hero.js +10 -2
- package/src/components/highlight/highlight.css.js +30 -6
- package/src/components/icons/arrow-icon.js +4 -1
- package/src/components/icons/arrow-right-icon.js +5 -1
- package/src/components/icons/icon-element.js +18 -0
- package/src/components/image/image.js +29 -9
- package/src/components/image/image.stories.js +38 -2
- package/src/components/input/custom-form.stories.js +38 -7
- package/src/components/input/input-clipboard.css.js +15 -1
- package/src/components/input/input-clipboard.js +84 -21
- package/src/components/input/input.js +27 -7
- package/src/components/install-options/install-options.css.js +26 -6
- package/src/components/install-options/install-options.js +32 -8
- package/src/components/label/label.css.js +1 -1
- package/src/components/light-carousel/light-carousel.css.js +100 -48
- package/src/components/light-carousel/light-carousel.js +43 -5
- package/src/components/link/link.css.js +15 -15
- package/src/components/link/link.js +17 -1
- package/src/components/link/link.stories.js +20 -7
- package/src/components/list/list.css.js +3 -3
- package/src/components/logo-marquee/logo-marquee.css.js +12 -1
- package/src/components/logo-marquee/logo-marquee.js +33 -8
- package/src/components/logo-marquee/logo-marquee.stories.js +10 -4
- package/src/components/modal/modal.css.js +74 -40
- package/src/components/modal/modal.js +85 -74
- package/src/components/modal/modal.stories.js +27 -14
- package/src/components/motion-art/motion-art.js +67 -1
- package/src/components/page-switcher/page-switcher.css.js +27 -9
- package/src/components/page-switcher/page-switcher.js +11 -8
- package/src/components/partner-banner/partner-banner.css.js +2 -0
- package/src/components/picture/picture.css.js +4 -4
- package/src/components/picture/picture.js +13 -3
- package/src/components/picture/picture.stories.js +28 -2
- package/src/components/post-card/post-card.css.js +18 -3
- package/src/components/pricing-cards/adopt-styles.js +16 -0
- package/src/components/pricing-cards/new-pricing-card.js +2 -4
- package/src/components/pricing-cards/new-pricing-card.stories.js +20 -22
- package/src/components/pricing-cards/pricing-card-actions.css.js +8 -12
- package/src/components/pricing-cards/pricing-card-actions.js +26 -13
- package/src/components/pricing-cards/pricing-card-container.css.js +4 -3
- package/src/components/pricing-cards/pricing-card-container.js +10 -4
- package/src/components/pricing-cards/pricing-card-header.css.js +5 -4
- package/src/components/pricing-cards/pricing-card-header.js +18 -31
- package/src/components/pricing-cards/pricing-card-pricing.css.js +84 -61
- package/src/components/pricing-cards/pricing-card-pricing.js +38 -24
- package/src/components/pricing-cards/pricing-card-show-more.js +8 -3
- package/src/components/pricing-cards/pricing-card.css.js +75 -41
- package/src/components/pricing-cards/pricing-card.js +356 -308
- package/src/components/progress/progress.css.js +58 -13
- package/src/components/progress/progress.js +13 -10
- package/src/components/progress/progress.stories.js +9 -7
- package/src/components/radio/radio-group.css.js +42 -0
- package/src/components/radio/radio-group.js +89 -0
- package/src/components/radio/radio.css.js +63 -6
- package/src/components/radio/radio.js +173 -140
- package/src/components/radio/radio.stories.js +99 -44
- package/src/components/radio/toggle-radio.js +44 -0
- package/src/components/review/review-grid.css.js +5 -1
- package/src/components/review/review-grid.js +2 -0
- package/src/components/review/review.js +13 -0
- package/src/components/shared/announcer.js +37 -0
- package/src/components/shared/fill-width.css.js +33 -0
- package/src/components/shared/form-control.js +194 -0
- package/src/components/shared/form-field.css.js +31 -3
- package/src/components/shared/token-scales.js +75 -26
- package/src/components/spotlight-section/spotlight-section.js +2 -2
- package/src/components/stat/stat-highlight.js +1 -1
- package/src/components/stat/stat.css.js +18 -3
- package/src/components/switch/switch.css.js +58 -5
- package/src/components/switch/switch.js +53 -5
- package/src/components/switch/switch.stories.js +30 -8
- package/src/components/tab-list/tab-list.css.js +51 -13
- package/src/components/tab-list/tab-list.js +7 -2
- package/src/components/tab-list/tab-list.stories.js +2 -2
- package/src/components/tabs/tabs.css.js +18 -1
- package/src/components/tabs/tabs.js +119 -41
- package/src/components/terminal/terminal-message.css.js +6 -1
- package/src/components/termsOfUse/terms.css.js +4 -2
- package/src/components/textarea/textarea.js +22 -7
- package/src/components/textarea/textarea.stories.js +12 -9
- package/src/components/trust-panel/trust-panel.css.js +13 -3
- package/src/components/ultimate-security-demo.stories.js +5 -5
- package/src/components/video/video.css.js +5 -0
- package/src/components/video/video.js +5 -0
- package/src/components/video/video.stories.js +12 -0
- package/src/components/video-player/video-player.css.js +20 -8
- package/src/components/video-player/video-player.js +74 -20
- package/src/components/video-player/video-player.stories.js +17 -3
- package/src/tokens/brands.stories.js +1 -1
- package/src/tokens/themes/index.js +2 -2
- package/src/tokens/typography.stories.js +4 -3
- package/src/vendor/motion-art/README.md +4 -1
- 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.
|
|
4
|
+
"packageVersion": "2.6.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": "
|
|
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": "
|
|
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": "
|
|
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
|
|
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": "
|
|
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": "
|
|
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
|
},
|
|
@@ -2041,14 +2096,14 @@
|
|
|
2041
2096
|
"type": "string",
|
|
2042
2097
|
"attributeName": "cta-label",
|
|
2043
2098
|
"default": "Buy now",
|
|
2044
|
-
"description": "Visible label on the primary CTA. Defaults to the string this component has always rendered; Header / v2 reads
|
|
2099
|
+
"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
2100
|
},
|
|
2046
2101
|
{
|
|
2047
2102
|
"name": "ctaSecondaryLabel",
|
|
2048
2103
|
"type": "string",
|
|
2049
2104
|
"attributeName": "cta-secondary-label",
|
|
2050
2105
|
"default": "View more plans",
|
|
2051
|
-
"description": "Visible label on the secondary CTA. Defaults to the string this component has always rendered; Header / v2 reads
|
|
2106
|
+
"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
2107
|
},
|
|
2053
2108
|
{
|
|
2054
2109
|
"name": "ctaSecondaryHref",
|
|
@@ -2086,7 +2141,7 @@
|
|
|
2086
2141
|
{
|
|
2087
2142
|
"name": "shadow",
|
|
2088
2143
|
"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
|
|
2144
|
+
"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
2145
|
},
|
|
2091
2146
|
{
|
|
2092
2147
|
"name": "dataLayerEvent",
|
|
@@ -2142,6 +2197,16 @@
|
|
|
2142
2197
|
"name": "src",
|
|
2143
2198
|
"type": "string"
|
|
2144
2199
|
},
|
|
2200
|
+
{
|
|
2201
|
+
"name": "srcset",
|
|
2202
|
+
"type": "string",
|
|
2203
|
+
"description": "Passed to the img's srcset attribute."
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
"name": "sizes",
|
|
2207
|
+
"type": "string",
|
|
2208
|
+
"description": "Passed to the img's sizes attribute."
|
|
2209
|
+
},
|
|
2145
2210
|
{
|
|
2146
2211
|
"name": "alt",
|
|
2147
2212
|
"type": "string"
|
|
@@ -2160,6 +2225,17 @@
|
|
|
2160
2225
|
"name": "loading",
|
|
2161
2226
|
"type": "string"
|
|
2162
2227
|
},
|
|
2228
|
+
{
|
|
2229
|
+
"name": "fetchPriority",
|
|
2230
|
+
"type": "string",
|
|
2231
|
+
"attributeName": "fetchpriority",
|
|
2232
|
+
"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."
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
"name": "decoding",
|
|
2236
|
+
"type": "string",
|
|
2237
|
+
"description": "Passed to the img's decoding attribute."
|
|
2238
|
+
},
|
|
2163
2239
|
{
|
|
2164
2240
|
"name": "fit",
|
|
2165
2241
|
"type": "string",
|
|
@@ -2724,6 +2800,12 @@
|
|
|
2724
2800
|
"role": "content",
|
|
2725
2801
|
"contentModel": "text-or-children",
|
|
2726
2802
|
"props": [
|
|
2803
|
+
{
|
|
2804
|
+
"name": "current",
|
|
2805
|
+
"type": "string",
|
|
2806
|
+
"enum": ["page", "step", "location", "date", "time", "true"],
|
|
2807
|
+
"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."
|
|
2808
|
+
},
|
|
2727
2809
|
{
|
|
2728
2810
|
"name": "description",
|
|
2729
2811
|
"type": "string",
|
|
@@ -3265,6 +3347,17 @@
|
|
|
3265
3347
|
"name": "loading",
|
|
3266
3348
|
"type": "string"
|
|
3267
3349
|
},
|
|
3350
|
+
{
|
|
3351
|
+
"name": "fetchPriority",
|
|
3352
|
+
"type": "string",
|
|
3353
|
+
"attributeName": "fetchpriority",
|
|
3354
|
+
"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."
|
|
3355
|
+
},
|
|
3356
|
+
{
|
|
3357
|
+
"name": "decoding",
|
|
3358
|
+
"type": "string",
|
|
3359
|
+
"description": "Passed to the img's decoding attribute."
|
|
3360
|
+
},
|
|
3268
3361
|
{
|
|
3269
3362
|
"name": "fit",
|
|
3270
3363
|
"type": "string",
|
|
@@ -3365,6 +3458,11 @@
|
|
|
3365
3458
|
{
|
|
3366
3459
|
"name": "shadow",
|
|
3367
3460
|
"type": "boolean"
|
|
3461
|
+
},
|
|
3462
|
+
{
|
|
3463
|
+
"name": "termsHref",
|
|
3464
|
+
"type": "string",
|
|
3465
|
+
"description": "Where \"terms of use\" in each card goes (attribute terms-href). Without it the words are plain text."
|
|
3368
3466
|
}
|
|
3369
3467
|
]
|
|
3370
3468
|
},
|
|
@@ -3412,22 +3510,27 @@
|
|
|
3412
3510
|
{
|
|
3413
3511
|
"name": "name",
|
|
3414
3512
|
"type": "string",
|
|
3415
|
-
"description": "Groups the radios: selecting one clears every other bd-radio with the same name in the same root.
|
|
3513
|
+
"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
3514
|
},
|
|
3417
3515
|
{
|
|
3418
3516
|
"name": "value",
|
|
3419
3517
|
"type": "string",
|
|
3420
|
-
"description": "
|
|
3518
|
+
"description": "Submitted with a form when selected (\"on\" when empty), and emitted in the change event detail."
|
|
3421
3519
|
},
|
|
3422
3520
|
{
|
|
3423
3521
|
"name": "checked",
|
|
3424
3522
|
"type": "boolean",
|
|
3425
|
-
"description": "Whether this option is selected.
|
|
3523
|
+
"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
3524
|
},
|
|
3427
3525
|
{
|
|
3428
3526
|
"name": "disabled",
|
|
3429
3527
|
"type": "boolean",
|
|
3430
|
-
"description": "Blocks selection, greys the circle and label, and removes it from the tab order and from
|
|
3528
|
+
"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."
|
|
3529
|
+
},
|
|
3530
|
+
{
|
|
3531
|
+
"name": "required",
|
|
3532
|
+
"type": "boolean",
|
|
3533
|
+
"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
3534
|
},
|
|
3432
3535
|
{
|
|
3433
3536
|
"name": "label",
|
|
@@ -3436,6 +3539,33 @@
|
|
|
3436
3539
|
}
|
|
3437
3540
|
]
|
|
3438
3541
|
},
|
|
3542
|
+
{
|
|
3543
|
+
"tag": "bd-radio-group",
|
|
3544
|
+
"packageExport": "./radio-group",
|
|
3545
|
+
"module": "./src/components/radio/radio-group.js",
|
|
3546
|
+
"role": "form",
|
|
3547
|
+
"contentModel": "children",
|
|
3548
|
+
"children": [
|
|
3549
|
+
"bd-radio"
|
|
3550
|
+
],
|
|
3551
|
+
"props": [
|
|
3552
|
+
{
|
|
3553
|
+
"name": "label",
|
|
3554
|
+
"type": "string",
|
|
3555
|
+
"description": "The group's question, shown above the options and naming the radiogroup for a screen reader."
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
"name": "name",
|
|
3559
|
+
"type": "string",
|
|
3560
|
+
"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."
|
|
3561
|
+
},
|
|
3562
|
+
{
|
|
3563
|
+
"name": "required",
|
|
3564
|
+
"type": "boolean",
|
|
3565
|
+
"description": "In a form, blocks the submit until one radio is selected; marks the label and announces aria-required."
|
|
3566
|
+
}
|
|
3567
|
+
]
|
|
3568
|
+
},
|
|
3439
3569
|
{
|
|
3440
3570
|
"tag": "bd-skeleton",
|
|
3441
3571
|
"packageExport": "./skeleton",
|
|
@@ -3530,7 +3660,18 @@
|
|
|
3530
3660
|
},
|
|
3531
3661
|
{
|
|
3532
3662
|
"name": "name",
|
|
3533
|
-
"type": "string"
|
|
3663
|
+
"type": "string",
|
|
3664
|
+
"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."
|
|
3665
|
+
},
|
|
3666
|
+
{
|
|
3667
|
+
"name": "value",
|
|
3668
|
+
"type": "string",
|
|
3669
|
+
"description": "Submitted with a form when on; \"on\" when empty, as the native checkbox it is built on."
|
|
3670
|
+
},
|
|
3671
|
+
{
|
|
3672
|
+
"name": "required",
|
|
3673
|
+
"type": "boolean",
|
|
3674
|
+
"description": "In a form, blocks the submit until it is on, with the browser's own message."
|
|
3534
3675
|
}
|
|
3535
3676
|
]
|
|
3536
3677
|
},
|
|
@@ -3637,7 +3778,8 @@
|
|
|
3637
3778
|
},
|
|
3638
3779
|
{
|
|
3639
3780
|
"name": "value",
|
|
3640
|
-
"type": "string"
|
|
3781
|
+
"type": "string",
|
|
3782
|
+
"description": "The field contents. The value attribute is the default a form reset returns to."
|
|
3641
3783
|
},
|
|
3642
3784
|
{
|
|
3643
3785
|
"name": "placeholder",
|
|
@@ -3649,7 +3791,8 @@
|
|
|
3649
3791
|
},
|
|
3650
3792
|
{
|
|
3651
3793
|
"name": "required",
|
|
3652
|
-
"type": "boolean"
|
|
3794
|
+
"type": "boolean",
|
|
3795
|
+
"description": "Marks the label with an asterisk, and in a form an empty field blocks the submit with the browser's own message."
|
|
3653
3796
|
},
|
|
3654
3797
|
{
|
|
3655
3798
|
"name": "tooltip",
|
|
@@ -3658,7 +3801,8 @@
|
|
|
3658
3801
|
},
|
|
3659
3802
|
{
|
|
3660
3803
|
"name": "invalid",
|
|
3661
|
-
"type": "boolean"
|
|
3804
|
+
"type": "boolean",
|
|
3805
|
+
"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
3806
|
},
|
|
3663
3807
|
{
|
|
3664
3808
|
"name": "validated",
|
|
@@ -3666,33 +3810,40 @@
|
|
|
3666
3810
|
},
|
|
3667
3811
|
{
|
|
3668
3812
|
"name": "disabled",
|
|
3669
|
-
"type": "boolean"
|
|
3813
|
+
"type": "boolean",
|
|
3814
|
+
"description": "Disables the field and leaves it out of a form submit. A <fieldset disabled> around it does the same without setting this."
|
|
3670
3815
|
},
|
|
3671
3816
|
{
|
|
3672
3817
|
"name": "name",
|
|
3673
|
-
"type": "string"
|
|
3818
|
+
"type": "string",
|
|
3819
|
+
"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
3820
|
}
|
|
3675
3821
|
]
|
|
3676
3822
|
},
|
|
3677
3823
|
{
|
|
3678
3824
|
"tag": "bd-toggle-radio",
|
|
3679
3825
|
"packageExport": "./radio",
|
|
3680
|
-
"module": "./src/components/radio/radio.js",
|
|
3826
|
+
"module": "./src/components/radio/toggle-radio.js",
|
|
3681
3827
|
"role": "form",
|
|
3682
3828
|
"contentModel": "text-or-children",
|
|
3683
3829
|
"events": [
|
|
3684
3830
|
"change"
|
|
3685
3831
|
],
|
|
3686
3832
|
"props": [
|
|
3833
|
+
{
|
|
3834
|
+
"name": "required",
|
|
3835
|
+
"type": "boolean",
|
|
3836
|
+
"description": "In a form, blocks the submit until it is checked, with the browser's own message."
|
|
3837
|
+
},
|
|
3687
3838
|
{
|
|
3688
3839
|
"name": "name",
|
|
3689
3840
|
"type": "string",
|
|
3690
|
-
"description": "
|
|
3841
|
+
"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
3842
|
},
|
|
3692
3843
|
{
|
|
3693
3844
|
"name": "value",
|
|
3694
3845
|
"type": "string",
|
|
3695
|
-
"description": "
|
|
3846
|
+
"description": "What it submits while checked; on when empty. Also emitted in the change event detail."
|
|
3696
3847
|
},
|
|
3697
3848
|
{
|
|
3698
3849
|
"name": "checked",
|
|
@@ -3710,7 +3861,7 @@
|
|
|
3710
3861
|
"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
3862
|
}
|
|
3712
3863
|
],
|
|
3713
|
-
"deprecated": "Circular styling
|
|
3864
|
+
"deprecated": "Circular styling over a native checkbox, toggling independently — it looks exclusive but is not. Use bd-checkbox."
|
|
3714
3865
|
},
|
|
3715
3866
|
{
|
|
3716
3867
|
"tag": "bd-tooltip",
|
|
@@ -3771,6 +3922,11 @@
|
|
|
3771
3922
|
{
|
|
3772
3923
|
"name": "loop",
|
|
3773
3924
|
"type": "boolean"
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
"name": "preload",
|
|
3928
|
+
"type": "string",
|
|
3929
|
+
"description": "What to fetch before playback: \"metadata\" (the default), \"none\" for a video far down a page, or \"auto\"."
|
|
3774
3930
|
}
|
|
3775
3931
|
]
|
|
3776
3932
|
},
|
|
@@ -3928,6 +4084,16 @@
|
|
|
3928
4084
|
{
|
|
3929
4085
|
"name": "shadow",
|
|
3930
4086
|
"type": "boolean"
|
|
4087
|
+
},
|
|
4088
|
+
{
|
|
4089
|
+
"name": "learnMoreHref",
|
|
4090
|
+
"type": "string",
|
|
4091
|
+
"description": "The product page \"Learn More\" links to (attribute learn-more-href). Without it the card has no Learn More."
|
|
4092
|
+
},
|
|
4093
|
+
{
|
|
4094
|
+
"name": "termsHref",
|
|
4095
|
+
"type": "string",
|
|
4096
|
+
"description": "Where \"terms of use\" goes (attribute terms-href). Without it the words are plain text."
|
|
3931
4097
|
}
|
|
3932
4098
|
]
|
|
3933
4099
|
},
|
|
@@ -3986,6 +4152,16 @@
|
|
|
3986
4152
|
{
|
|
3987
4153
|
"name": "shadow",
|
|
3988
4154
|
"type": "boolean"
|
|
4155
|
+
},
|
|
4156
|
+
{
|
|
4157
|
+
"name": "learnMoreHref",
|
|
4158
|
+
"type": "string",
|
|
4159
|
+
"description": "The product page \"Learn More\" links to (attribute learn-more-href). Without it the card has no Learn More."
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
"name": "termsHref",
|
|
4163
|
+
"type": "string",
|
|
4164
|
+
"description": "Where \"terms of use\" goes (attribute terms-href). Without it the words are plain text."
|
|
3989
4165
|
}
|
|
3990
4166
|
]
|
|
3991
4167
|
},
|
|
@@ -4088,6 +4264,11 @@
|
|
|
4088
4264
|
{
|
|
4089
4265
|
"name": "shadow",
|
|
4090
4266
|
"type": "boolean"
|
|
4267
|
+
},
|
|
4268
|
+
{
|
|
4269
|
+
"name": "panelId",
|
|
4270
|
+
"type": "string",
|
|
4271
|
+
"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
4272
|
}
|
|
4092
4273
|
]
|
|
4093
4274
|
},
|
|
@@ -4202,7 +4383,19 @@
|
|
|
4202
4383
|
{
|
|
4203
4384
|
"name": "paused",
|
|
4204
4385
|
"type": "boolean",
|
|
4205
|
-
"description": "Stopped.
|
|
4386
|
+
"description": "Stopped. The marquee's own pause button sets it, and so can a page."
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
"name": "pauseLabel",
|
|
4390
|
+
"type": "string",
|
|
4391
|
+
"attributeName": "pause-label",
|
|
4392
|
+
"description": "The pause button's accessible name while the logos move."
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
"name": "playLabel",
|
|
4396
|
+
"type": "string",
|
|
4397
|
+
"attributeName": "play-label",
|
|
4398
|
+
"description": "The button's accessible name while the logos are paused."
|
|
4206
4399
|
}
|
|
4207
4400
|
]
|
|
4208
4401
|
},
|