@repobit/dex-system-design 4.4.0 → 5.0.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 +34 -0
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +15 -6
- package/dist/src/components/cta-banner/cta-banner.js +14 -11
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.css.js +1 -1
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +1 -0
- package/dist/src/components/features-tab/features-tab.js +4 -4
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/{pricing-card/pricing-group.css.d.ts → icon-columns-banner/icon-columns-banner-item.css.d.ts} +0 -1
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.css.js +2 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.css.js.map +1 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.d.ts +25 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.js +6 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.js.map +1 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.css.d.ts +2 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.css.js +2 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.css.js.map +1 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.d.ts +36 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.js +9 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.js.map +1 -0
- package/dist/src/components/icons/arrow-back.d.ts +1 -0
- package/dist/src/components/icons/arrow-back.js +6 -0
- package/dist/src/components/icons/arrow-back.js.map +1 -0
- package/dist/src/components/icons/icons.d.ts +1 -0
- package/dist/src/components/icons/icons.js +1 -1
- package/dist/src/components/pricing-card/pricing-card.css.d.ts +1 -0
- package/dist/src/components/pricing-card/pricing-card.css.js +1 -1
- package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -1
- package/dist/src/components/pricing-card/pricing-card.d.ts +65 -49
- package/dist/src/components/pricing-card/pricing-card.js +7 -9
- package/dist/src/components/pricing-card/pricing-card.js.map +1 -1
- package/dist/src/components/pricing-card/pricing-feature-group.css.js +1 -1
- package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -1
- package/dist/src/components/pricing-card/pricing-feature-group.d.ts +7 -1
- package/dist/src/components/pricing-card/pricing-feature-group.js +5 -2
- package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -1
- package/dist/src/components/pricing-card/pricing-feature.css.js +1 -1
- package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -1
- package/dist/src/components/pricing-card/pricing-price.css.js +1 -1
- package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -1
- package/dist/src/components/pricing-card/pricing-price.d.ts +31 -2
- package/dist/src/components/pricing-card/pricing-price.js +3 -3
- package/dist/src/components/pricing-card/pricing-price.js.map +1 -1
- package/dist/src/components/shared/prop-vocabulary.js +1 -1
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/loader/registry.js +1 -1
- package/dist/src/loader/registry.js.map +1 -1
- package/package.json +6 -2
- package/schemas/component-manifest.json +214 -99
- package/schemas/figma-component-map.json +15 -10
- package/dist/src/components/pricing-card/pricing-group.css.js +0 -2
- package/dist/src/components/pricing-card/pricing-group.css.js.map +0 -1
- package/dist/src/components/pricing-card/pricing-group.d.ts +0 -48
- package/dist/src/components/pricing-card/pricing-group.js +0 -6
- package/dist/src/components/pricing-card/pricing-group.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifestVersion": 1,
|
|
3
3
|
"package": "@repobit/dex-system-design",
|
|
4
|
-
"packageVersion": "
|
|
4
|
+
"packageVersion": "5.0.0",
|
|
5
5
|
"generatedFrom": [
|
|
6
6
|
"package.json exports",
|
|
7
7
|
"Lit reactive properties (static properties or @property/@state)",
|
|
@@ -1705,6 +1705,16 @@
|
|
|
1705
1705
|
}
|
|
1706
1706
|
],
|
|
1707
1707
|
"props": [
|
|
1708
|
+
{
|
|
1709
|
+
"name": "appearance",
|
|
1710
|
+
"type": "string",
|
|
1711
|
+
"enum": [
|
|
1712
|
+
"default",
|
|
1713
|
+
"contained"
|
|
1714
|
+
],
|
|
1715
|
+
"default": "default",
|
|
1716
|
+
"description": "Contained adds a rounded surface and equal columns; images fill the media half."
|
|
1717
|
+
},
|
|
1708
1718
|
{
|
|
1709
1719
|
"name": "reverse",
|
|
1710
1720
|
"type": "boolean",
|
|
@@ -3349,61 +3359,34 @@
|
|
|
3349
3359
|
]
|
|
3350
3360
|
},
|
|
3351
3361
|
{
|
|
3352
|
-
"tag": "bd-pricing-
|
|
3362
|
+
"tag": "bd-pricing-price",
|
|
3353
3363
|
"packageExport": "./pricing-card",
|
|
3354
|
-
"module": "./dist/src/components/pricing-card/pricing-
|
|
3355
|
-
"role": "
|
|
3364
|
+
"module": "./dist/src/components/pricing-card/pricing-price.js",
|
|
3365
|
+
"role": "subcomponent",
|
|
3356
3366
|
"contentModel": "children",
|
|
3357
|
-
"children": [
|
|
3358
|
-
"bd-pricing-card"
|
|
3359
|
-
],
|
|
3360
3367
|
"slots": [
|
|
3361
3368
|
{
|
|
3362
3369
|
"name": "",
|
|
3363
|
-
"accepts":
|
|
3364
|
-
|
|
3365
|
-
"
|
|
3366
|
-
"
|
|
3367
|
-
"bd-option"
|
|
3368
|
-
]
|
|
3369
|
-
}
|
|
3370
|
-
],
|
|
3371
|
-
"props": [],
|
|
3372
|
-
"notes": [
|
|
3373
|
-
"A row of bd-pricing-card children on the brand band (3.x pricing-cards-container, and bd-pricing-container's band). Write each card bare or inside the store's <bd-context>/<bd-product>/<bd-option>; the wrappers draw no box here, so a wrapped card lays out as a bare one does.",
|
|
3374
|
-
"One column below xl, each card up to 426 wide and centred; from xl one row of as many equal columns as there are cards. The band sits in the page column, and in a column it is already in (a bd-tab-group panel) it fills it.",
|
|
3375
|
-
"For plans behind a switch, write <bd-tab-group appearance=\"switcher\" label=\"Plan type\"> with one bd-tab and one bd-tab-panel per plan, each panel holding a bd-pricing-group: that is what bd-pricing-container drew."
|
|
3376
|
-
]
|
|
3377
|
-
},
|
|
3378
|
-
{
|
|
3379
|
-
"tag": "bd-pricing-card",
|
|
3380
|
-
"packageExport": "./pricing-card",
|
|
3381
|
-
"module": "./dist/src/components/pricing-card/pricing-card.js",
|
|
3382
|
-
"role": "item",
|
|
3383
|
-
"contentModel": "children",
|
|
3384
|
-
"children": [
|
|
3385
|
-
"bd-pricing-price",
|
|
3386
|
-
"bd-pricing-feature-group",
|
|
3387
|
-
"bd-accordion-item"
|
|
3388
|
-
],
|
|
3389
|
-
"slots": [
|
|
3390
|
-
{
|
|
3391
|
-
"name": "",
|
|
3392
|
-
"accepts": [
|
|
3393
|
-
"bd-pricing-feature-group",
|
|
3394
|
-
"bd-accordion-item"
|
|
3370
|
+
"accepts": "text",
|
|
3371
|
+
"owns": [
|
|
3372
|
+
"size",
|
|
3373
|
+
"ink"
|
|
3395
3374
|
]
|
|
3396
3375
|
},
|
|
3397
3376
|
{
|
|
3398
|
-
"name": "
|
|
3399
|
-
"accepts": "
|
|
3377
|
+
"name": "caption",
|
|
3378
|
+
"accepts": "text",
|
|
3379
|
+
"owns": [
|
|
3380
|
+
"size",
|
|
3381
|
+
"ink"
|
|
3382
|
+
]
|
|
3400
3383
|
},
|
|
3401
3384
|
{
|
|
3402
|
-
"name": "
|
|
3385
|
+
"name": "discount",
|
|
3403
3386
|
"accepts": "atoms"
|
|
3404
3387
|
},
|
|
3405
3388
|
{
|
|
3406
|
-
"name": "
|
|
3389
|
+
"name": "full",
|
|
3407
3390
|
"accepts": "text",
|
|
3408
3391
|
"owns": [
|
|
3409
3392
|
"size",
|
|
@@ -3411,20 +3394,56 @@
|
|
|
3411
3394
|
]
|
|
3412
3395
|
},
|
|
3413
3396
|
{
|
|
3414
|
-
"name": "
|
|
3397
|
+
"name": "period",
|
|
3415
3398
|
"accepts": "text",
|
|
3416
3399
|
"owns": [
|
|
3417
3400
|
"size",
|
|
3418
3401
|
"ink"
|
|
3419
3402
|
]
|
|
3403
|
+
}
|
|
3404
|
+
],
|
|
3405
|
+
"props": [
|
|
3406
|
+
{
|
|
3407
|
+
"name": "appearance",
|
|
3408
|
+
"type": "string",
|
|
3409
|
+
"enum": ["card", "hero"],
|
|
3410
|
+
"default": "card",
|
|
3411
|
+
"description": "Where the zone stands, which decides the discount's look: card, the bd-badge in discount drawn in the success shade; hero, the solid success fill at size lg, as bd-product-hero's. The zone sets the slotted badge's variant, appearance and size itself. Reflected."
|
|
3420
3412
|
},
|
|
3421
3413
|
{
|
|
3422
|
-
"name": "
|
|
3414
|
+
"name": "size",
|
|
3415
|
+
"type": "string",
|
|
3416
|
+
"enum": ["md", "lg"],
|
|
3417
|
+
"default": "md",
|
|
3418
|
+
"description": "How big a card's discount pill is: md, as 3.x v1 drew it, or lg, as bd-pricing-card draws it (Figma's Badge size=lg). A hero's is always lg. Reflected."
|
|
3419
|
+
}
|
|
3420
|
+
],
|
|
3421
|
+
"notes": [
|
|
3422
|
+
"A pricing card's price zone, all page markup: <s slot=\"full\" data-store-render data-store-price=\"full\" data-store-hide=\"!it.option.price.discounted\">, a <bd-badge slot=\"discount\" data-store-hide=\"!it.option.price.discounted\">Save <span data-store-render data-store-discount=\"percentage\"></span></bd-badge>, the price as <span data-store-render data-store-price=\"discounted||full\"> in the default slot, <span slot=\"period\">/year</span>, and the small print in caption with its terms link a bd-link inline.",
|
|
3423
|
+
"Drawn at 3.x's roles: the full price at body-small, the price and its period at heading-h3 (a paragraph, not a heading), the caption at body-small. For a monthly price write data-store-price=\"discounted-monthly||full-monthly\" and \"full-monthly\", and \"/month\".",
|
|
3424
|
+
"Write the discount as a bare <bd-badge slot=\"discount\">: appearance=\"card\" (the default) draws it in the success shade for a row of cards, appearance=\"hero\" in the solid success fill at size lg for a hero banner's one price. In a card, size=\"lg\" is bd-pricing-card's pill; size=\"md\", the default, 3.x v1's."
|
|
3425
|
+
]
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"tag": "bd-pricing-feature-group",
|
|
3429
|
+
"packageExport": "./pricing-card",
|
|
3430
|
+
"module": "./dist/src/components/pricing-card/pricing-feature-group.js",
|
|
3431
|
+
"role": "container",
|
|
3432
|
+
"contentModel": "children",
|
|
3433
|
+
"children": [
|
|
3434
|
+
"bd-pricing-feature"
|
|
3435
|
+
],
|
|
3436
|
+
"slots": [
|
|
3437
|
+
{
|
|
3438
|
+
"name": "",
|
|
3423
3439
|
"accepts": [
|
|
3424
|
-
"bd-pricing-
|
|
3425
|
-
"bd-tab-group"
|
|
3440
|
+
"bd-pricing-feature"
|
|
3426
3441
|
]
|
|
3427
3442
|
},
|
|
3443
|
+
{
|
|
3444
|
+
"name": "icon",
|
|
3445
|
+
"accepts": "atoms"
|
|
3446
|
+
},
|
|
3428
3447
|
{
|
|
3429
3448
|
"name": "title",
|
|
3430
3449
|
"accepts": "heading",
|
|
@@ -3433,39 +3452,39 @@
|
|
|
3433
3452
|
]
|
|
3434
3453
|
}
|
|
3435
3454
|
],
|
|
3436
|
-
"props": [
|
|
3437
|
-
{
|
|
3438
|
-
"name": "highlight",
|
|
3439
|
-
"type": "boolean",
|
|
3440
|
-
"default": false,
|
|
3441
|
-
"description": "The highlighted plan: a green edge, and the banner slot's ribbon drawn over the card's top edge. Reflected."
|
|
3442
|
-
}
|
|
3443
|
-
],
|
|
3455
|
+
"props": [],
|
|
3444
3456
|
"notes": [
|
|
3445
|
-
"A
|
|
3446
|
-
"
|
|
3447
|
-
"Name each button with its label, as 3.x did: label=\"Buy Now, {title}\" and label=\"Learn more about {title}\". The title is the page's words as written; nothing is parsed out of it.",
|
|
3448
|
-
"A billing choice is a <bd-tab-group slot=\"price\" appearance=\"switcher\" label=\"Billing period\"> with one bd-pricing-price per panel. A list of further features is a <bd-accordion-item appearance=\"chevron\"> in the default slot holding a bd-pricing-feature-group.",
|
|
3449
|
-
"No part has a fallback, and each part's box is hidden while its slot is empty; the banner is drawn only with highlight."
|
|
3457
|
+
"A <bd-icon slot=\"icon\"> sits before the heading in the brand's text ink, drawn only with a title: <bd-icon slot=\"icon\" name=\"arrow-back\"> before \"Everything from Total Security and:\" in bd-pricing-card.",
|
|
3458
|
+
"A titled list of a card's features (3.x's five feature lists): <bd-h slot=\"title\" as=\"h4\"> drawn at heading-h4, and bd-pricing-feature children, a list named by the title. One feature's description is open at a time."
|
|
3450
3459
|
]
|
|
3451
3460
|
},
|
|
3452
3461
|
{
|
|
3453
|
-
"tag": "bd-pricing-
|
|
3462
|
+
"tag": "bd-pricing-card",
|
|
3454
3463
|
"packageExport": "./pricing-card",
|
|
3455
|
-
"module": "./dist/src/components/pricing-card/pricing-
|
|
3456
|
-
"role": "
|
|
3464
|
+
"module": "./dist/src/components/pricing-card/pricing-card.js",
|
|
3465
|
+
"role": "item",
|
|
3457
3466
|
"contentModel": "children",
|
|
3467
|
+
"children": [
|
|
3468
|
+
"bd-pricing-price",
|
|
3469
|
+
"bd-pricing-feature-group"
|
|
3470
|
+
],
|
|
3458
3471
|
"slots": [
|
|
3459
3472
|
{
|
|
3460
3473
|
"name": "",
|
|
3461
|
-
"accepts":
|
|
3462
|
-
|
|
3463
|
-
"size",
|
|
3464
|
-
"ink"
|
|
3474
|
+
"accepts": [
|
|
3475
|
+
"bd-pricing-feature-group"
|
|
3465
3476
|
]
|
|
3466
3477
|
},
|
|
3467
3478
|
{
|
|
3468
|
-
"name": "
|
|
3479
|
+
"name": "actions",
|
|
3480
|
+
"accepts": "atoms"
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"name": "badge",
|
|
3484
|
+
"accepts": "atoms"
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
"name": "banner",
|
|
3469
3488
|
"accepts": "text",
|
|
3470
3489
|
"owns": [
|
|
3471
3490
|
"size",
|
|
@@ -3473,11 +3492,7 @@
|
|
|
3473
3492
|
]
|
|
3474
3493
|
},
|
|
3475
3494
|
{
|
|
3476
|
-
"name": "
|
|
3477
|
-
"accepts": "atoms"
|
|
3478
|
-
},
|
|
3479
|
-
{
|
|
3480
|
-
"name": "full",
|
|
3495
|
+
"name": "caption",
|
|
3481
3496
|
"accepts": "text",
|
|
3482
3497
|
"owns": [
|
|
3483
3498
|
"size",
|
|
@@ -3485,34 +3500,20 @@
|
|
|
3485
3500
|
]
|
|
3486
3501
|
},
|
|
3487
3502
|
{
|
|
3488
|
-
"name": "
|
|
3489
|
-
"accepts":
|
|
3503
|
+
"name": "description",
|
|
3504
|
+
"accepts": [
|
|
3505
|
+
"bd-p"
|
|
3506
|
+
],
|
|
3490
3507
|
"owns": [
|
|
3491
3508
|
"size",
|
|
3492
3509
|
"ink"
|
|
3493
3510
|
]
|
|
3494
|
-
}
|
|
3495
|
-
],
|
|
3496
|
-
"props": [],
|
|
3497
|
-
"notes": [
|
|
3498
|
-
"A pricing card's price zone, all page markup: <s slot=\"full\" data-store-render data-store-price=\"full\" data-store-hide=\"!it.option.price.discounted\">, a <bd-badge slot=\"discount\" variant=\"success\" appearance=\"shade\" data-store-hide=\"!it.option.price.discounted\">Save <span data-store-render data-store-discount=\"percentage\"></span></bd-badge>, the price as <span data-store-render data-store-price=\"discounted||full\"> in the default slot, <span slot=\"period\">/year</span>, and the small print in caption with its terms link a bd-link inline.",
|
|
3499
|
-
"Drawn at 3.x's roles: the full price at body-small, the price and its period at heading-h3 (a paragraph, not a heading), the caption at body-small. For a monthly price write data-store-price=\"discounted-monthly||full-monthly\" and \"full-monthly\", and \"/month\"."
|
|
3500
|
-
]
|
|
3501
|
-
},
|
|
3502
|
-
{
|
|
3503
|
-
"tag": "bd-pricing-feature-group",
|
|
3504
|
-
"packageExport": "./pricing-card",
|
|
3505
|
-
"module": "./dist/src/components/pricing-card/pricing-feature-group.js",
|
|
3506
|
-
"role": "container",
|
|
3507
|
-
"contentModel": "children",
|
|
3508
|
-
"children": [
|
|
3509
|
-
"bd-pricing-feature"
|
|
3510
|
-
],
|
|
3511
|
-
"slots": [
|
|
3511
|
+
},
|
|
3512
3512
|
{
|
|
3513
|
-
"name": "",
|
|
3513
|
+
"name": "price",
|
|
3514
3514
|
"accepts": [
|
|
3515
|
-
"bd-pricing-
|
|
3515
|
+
"bd-pricing-price",
|
|
3516
|
+
"bd-tab-group"
|
|
3516
3517
|
]
|
|
3517
3518
|
},
|
|
3518
3519
|
{
|
|
@@ -3523,9 +3524,19 @@
|
|
|
3523
3524
|
]
|
|
3524
3525
|
}
|
|
3525
3526
|
],
|
|
3526
|
-
"props": [
|
|
3527
|
+
"props": [
|
|
3528
|
+
{
|
|
3529
|
+
"name": "highlight",
|
|
3530
|
+
"type": "boolean",
|
|
3531
|
+
"default": false,
|
|
3532
|
+
"description": "The recommended plan: a brand edge, and the banner slot's tab drawn over the card's top edge. Reflected."
|
|
3533
|
+
}
|
|
3534
|
+
],
|
|
3527
3535
|
"notes": [
|
|
3528
|
-
"A
|
|
3536
|
+
"A plan's pricing card: a <bd-badge slot=\"badge\" variant=\"brand\" size=\"lg\">, <bd-h slot=\"title\" as=\"h3\"> at heading-h5 in bold whatever its level (a word in <em> -- \"Ultimate Security <em>Plus</em>\" -- drawn upright in the brand's text ink), one <bd-p slot=\"description\"> per paragraph (what the plan covers, then its pitch), a <bd-pricing-price slot=\"price\">, the Buy Now <bd-button buy-link appearance=\"accent\" full-width> and Learn More <bd-button href appearance=\"ghost\" full-width> in actions, the guarantee in caption, and bd-pricing-feature-groups in the default slot, drawn in the card's scale.",
|
|
3537
|
+
"Lay a row out in <bd-grid gap=\"lg\" gap-md=\"md\" item-rows=\"8\">, the cards 24 apart from md and 32 stacked below it, where the recommended card's tab overhangs the card above: each card is a subgrid of the grid's eight rows (badge, title, description, rule, price, actions, caption, features), so the parts line up across the row. Wrapped in <bd-context><bd-product product-id><bd-option devices subscription data-layer-event>, the wrappers draw no box in a bd-grid and the card is still the subgrid.",
|
|
3538
|
+
"The version without features is the same card with nothing in caption and the default slot. Name each button with its label (\"Buy Now, {title}\", \"Learn More, {title}\").",
|
|
3539
|
+
"No part has a fallback, and each part's box is hidden while its slot is empty; the banner is drawn only with highlight."
|
|
3529
3540
|
]
|
|
3530
3541
|
},
|
|
3531
3542
|
{
|
|
@@ -5624,6 +5635,84 @@
|
|
|
5624
5635
|
"The card sets the title's size (the h4 role) and the description's muted ink; the page picks the title's level with `as`."
|
|
5625
5636
|
]
|
|
5626
5637
|
},
|
|
5638
|
+
{
|
|
5639
|
+
"tag": "bd-icon-columns-banner",
|
|
5640
|
+
"packageExport": "./icon-columns-banner",
|
|
5641
|
+
"module": "./dist/src/components/icon-columns-banner/icon-columns-banner.js",
|
|
5642
|
+
"role": "section",
|
|
5643
|
+
"contentModel": "children",
|
|
5644
|
+
"children": [
|
|
5645
|
+
"bd-icon-columns-banner-item"
|
|
5646
|
+
],
|
|
5647
|
+
"slots": [
|
|
5648
|
+
{
|
|
5649
|
+
"name": "",
|
|
5650
|
+
"accepts": [
|
|
5651
|
+
"bd-icon-columns-banner-item"
|
|
5652
|
+
]
|
|
5653
|
+
},
|
|
5654
|
+
{
|
|
5655
|
+
"name": "corner-end",
|
|
5656
|
+
"accepts": [
|
|
5657
|
+
"bd-img"
|
|
5658
|
+
]
|
|
5659
|
+
},
|
|
5660
|
+
{
|
|
5661
|
+
"name": "corner-start",
|
|
5662
|
+
"accepts": [
|
|
5663
|
+
"bd-img"
|
|
5664
|
+
]
|
|
5665
|
+
},
|
|
5666
|
+
{
|
|
5667
|
+
"name": "title",
|
|
5668
|
+
"accepts": "heading",
|
|
5669
|
+
"owns": [
|
|
5670
|
+
"size",
|
|
5671
|
+
"ink"
|
|
5672
|
+
]
|
|
5673
|
+
}
|
|
5674
|
+
],
|
|
5675
|
+
"props": [],
|
|
5676
|
+
"notes": [
|
|
5677
|
+
"A soft brand surface: a centred title and a row of bd-icon-columns-banner-item children, three to a row, stacking at 600px. The page's art in corner-start and corner-end is anchored to the top corners behind the copy and hidden from assistive technology.",
|
|
5678
|
+
"The banner sets the title's size (the h2 role); the page picks its level with `as`."
|
|
5679
|
+
]
|
|
5680
|
+
},
|
|
5681
|
+
{
|
|
5682
|
+
"tag": "bd-icon-columns-banner-item",
|
|
5683
|
+
"packageExport": "./icon-columns-banner",
|
|
5684
|
+
"module": "./dist/src/components/icon-columns-banner/icon-columns-banner-item.js",
|
|
5685
|
+
"role": "item",
|
|
5686
|
+
"contentModel": "children",
|
|
5687
|
+
"slots": [
|
|
5688
|
+
{
|
|
5689
|
+
"name": "description",
|
|
5690
|
+
"accepts": "atoms",
|
|
5691
|
+
"owns": [
|
|
5692
|
+
"ink"
|
|
5693
|
+
]
|
|
5694
|
+
},
|
|
5695
|
+
{
|
|
5696
|
+
"name": "icon",
|
|
5697
|
+
"accepts": [
|
|
5698
|
+
"bd-img"
|
|
5699
|
+
]
|
|
5700
|
+
},
|
|
5701
|
+
{
|
|
5702
|
+
"name": "title",
|
|
5703
|
+
"accepts": "heading",
|
|
5704
|
+
"owns": [
|
|
5705
|
+
"size",
|
|
5706
|
+
"ink"
|
|
5707
|
+
]
|
|
5708
|
+
}
|
|
5709
|
+
],
|
|
5710
|
+
"props": [],
|
|
5711
|
+
"notes": [
|
|
5712
|
+
"A column of bd-icon-columns-banner. The three parts share the banner's rows, so neighbouring columns line up.",
|
|
5713
|
+
"The item sets the title's size (the h4 role); the page picks its level with `as`."
|
|
5714
|
+
]
|
|
5715
|
+
},
|
|
5627
5716
|
{
|
|
5628
5717
|
"tag": "bd-process-steps",
|
|
5629
5718
|
"packageExport": "./process-steps",
|
|
@@ -5704,6 +5793,10 @@
|
|
|
5704
5793
|
"role": "section",
|
|
5705
5794
|
"contentModel": "children",
|
|
5706
5795
|
"slots": [
|
|
5796
|
+
{
|
|
5797
|
+
"name": "media",
|
|
5798
|
+
"accepts": "atoms"
|
|
5799
|
+
},
|
|
5707
5800
|
{
|
|
5708
5801
|
"name": "title",
|
|
5709
5802
|
"accepts": "heading",
|
|
@@ -5733,9 +5826,31 @@
|
|
|
5733
5826
|
"accepts": "atoms"
|
|
5734
5827
|
}
|
|
5735
5828
|
],
|
|
5736
|
-
"props": [
|
|
5829
|
+
"props": [
|
|
5830
|
+
{
|
|
5831
|
+
"name": "appearance",
|
|
5832
|
+
"type": "string",
|
|
5833
|
+
"enum": [
|
|
5834
|
+
"brand",
|
|
5835
|
+
"brand-soft",
|
|
5836
|
+
"brand-deep"
|
|
5837
|
+
],
|
|
5838
|
+
"default": "brand",
|
|
5839
|
+
"description": "The surface look: the original gradient, a pale brand wash, or a solid deep brand fill."
|
|
5840
|
+
},
|
|
5841
|
+
{
|
|
5842
|
+
"name": "width",
|
|
5843
|
+
"type": "string",
|
|
5844
|
+
"enum": [
|
|
5845
|
+
"full",
|
|
5846
|
+
"contained"
|
|
5847
|
+
],
|
|
5848
|
+
"default": "full",
|
|
5849
|
+
"description": "Whether the banner surface spans the host or is centred at the content max width."
|
|
5850
|
+
}
|
|
5851
|
+
],
|
|
5737
5852
|
"notes": [
|
|
5738
|
-
"
|
|
5853
|
+
"The title and description take ink appropriate to the selected appearance, and the caption uses the mono role. Buttons keep their own bd-button appearance and surface; the red accent on brand-deep is an exploratory combination below the 3:1 UI-boundary contrast floor."
|
|
5739
5854
|
]
|
|
5740
5855
|
},
|
|
5741
5856
|
{
|
|
@@ -2978,16 +2978,6 @@
|
|
|
2978
2978
|
"packageExport": "./pagination-dots",
|
|
2979
2979
|
"role": "navigation"
|
|
2980
2980
|
},
|
|
2981
|
-
{
|
|
2982
|
-
"tag": "bd-pricing-group",
|
|
2983
|
-
"packageExport": "./pricing-card",
|
|
2984
|
-
"role": "container"
|
|
2985
|
-
},
|
|
2986
|
-
{
|
|
2987
|
-
"tag": "bd-pricing-card",
|
|
2988
|
-
"packageExport": "./pricing-card",
|
|
2989
|
-
"role": "item"
|
|
2990
|
-
},
|
|
2991
2981
|
{
|
|
2992
2982
|
"tag": "bd-pricing-price",
|
|
2993
2983
|
"packageExport": "./pricing-card",
|
|
@@ -2998,6 +2988,11 @@
|
|
|
2998
2988
|
"packageExport": "./pricing-card",
|
|
2999
2989
|
"role": "container"
|
|
3000
2990
|
},
|
|
2991
|
+
{
|
|
2992
|
+
"tag": "bd-pricing-card",
|
|
2993
|
+
"packageExport": "./pricing-card",
|
|
2994
|
+
"role": "item"
|
|
2995
|
+
},
|
|
3001
2996
|
{
|
|
3002
2997
|
"tag": "bd-pricing-feature",
|
|
3003
2998
|
"packageExport": "./pricing-card",
|
|
@@ -3148,6 +3143,16 @@
|
|
|
3148
3143
|
"packageExport": "./trust-panel",
|
|
3149
3144
|
"role": "item"
|
|
3150
3145
|
},
|
|
3146
|
+
{
|
|
3147
|
+
"tag": "bd-icon-columns-banner",
|
|
3148
|
+
"packageExport": "./icon-columns-banner",
|
|
3149
|
+
"role": "section"
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
"tag": "bd-icon-columns-banner-item",
|
|
3153
|
+
"packageExport": "./icon-columns-banner",
|
|
3154
|
+
"role": "item"
|
|
3155
|
+
},
|
|
3151
3156
|
{
|
|
3152
3157
|
"tag": "bd-process-steps",
|
|
3153
3158
|
"packageExport": "./process-steps",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{display:block}:host([hidden]){display:none}.band{justify-items:center;gap:var(--spacing-52) var(--spacing-24);box-sizing:border-box;padding:var(--spacing-64) var(--spacing-16) var(--spacing-48);background:var(--status-brand-surface);border-radius:var(--shape-radius-2xl);grid-template-columns:minmax(0,1fr);display:grid}@media (width>=576px){.band{padding-inline:var(--spacing-32)}}@media (width>=1200px){.band{row-gap:var(--spacing-24);grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}}`,n=e`:where(bd-pricing-group) :is(bd-context,bd-product,bd-option):has(bd-pricing-card):not(bd-pricing-card *){display:contents}`;export{t as default,n as storeWrapperCSS};
|
|
2
|
-
//# sourceMappingURL=pricing-group.css.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pricing-group.css.js","names":["pricing_group_css_default","storeWrapperCSS"],"sources":["../../../../src/components/pricing-card/pricing-group.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above } from \"#shared/token-scales.ts\";\n\n/* bd-pricing-group: the band bd-pricing-container drew behind v1's cards\n (pricing-card.css.ts's .pricing-cards), and the row in it. */\nexport default css`\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n /* The band the cards sit on: the brand wash, 3.x's 2xl corner, and an\n inset taller at the top for the highlighted card's banner, which\n overhangs its card. Three adjacent plans need telling apart from each\n other, not just from the page, so the cards are white with an edge on a\n tint, which separates them by hue (3.x's note on .pricing-cards).\n\n Below sm the band's sides are 16, not 32: the band sits in the page\n column now, whose own 16 gutter 3.x's band did not have, and 16 keeps a\n phone's card at the 311 it measured at 375.\n\n ONE COLUMN BELOW XL, centred, each card as wide as 3.x's (the card's own\n max-width), 52 apart, as v1's stacked below 1024. FROM XL ONE ROW of as\n many equal columns as there are cards, 24 apart, each as tall as the\n row: 3.x's count, which v2's container reflected to give two cards a\n half and three a third, as a grid's auto-flow. */\n .band {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: center;\n gap: var(--spacing-52) var(--spacing-24);\n box-sizing: border-box;\n padding: var(--spacing-64) var(--spacing-16) var(--spacing-48);\n background: var(--status-brand-surface);\n border-radius: var(--shape-radius-2xl);\n }\n\n @media ${unsafeCSS(above(\"sm\"))} {\n .band {\n padding-inline: var(--spacing-32);\n }\n }\n\n @media ${unsafeCSS(above(\"xl\"))} {\n .band {\n grid-template-columns: none;\n grid-auto-flow: column;\n grid-auto-columns: minmax(0, 1fr);\n row-gap: var(--spacing-24);\n }\n }\n`;\n\n/* Adopted into the tree the group sits in (adoptStyles, in connectedCallback):\n the store's elements between the group and a card draw no box, so the card\n is the row's item. bd-context, bd-product and bd-option set no display of\n their own; each is an inline box with a slot in it, and a card inside one\n was the block inside an inline -- never the row's item, never as tall as\n its row. Only the wrappers around a card, and none inside one. */\nexport const storeWrapperCSS = css`\n :where(bd-pricing-group) :is(bd-context, bd-product, bd-option):has(bd-pricing-card):not(bd-pricing-card *) {\n display: contents;\n }\n`;\n"],"mappings":"A,4DAKA,IAAAA,EAAe,CAAG,ghBAyDLC,EAAkB,CAAG,8H"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import "../../tokens/tokens.js";
|
|
3
|
-
/**
|
|
4
|
-
* A row of pricing cards on the brand band they are drawn for.
|
|
5
|
-
*
|
|
6
|
-
* <bd-pricing-group>
|
|
7
|
-
* <bd-product product-id="ts_i">
|
|
8
|
-
* <bd-option devices="5" subscription="1" data-layer-event="info">
|
|
9
|
-
* <bd-pricing-card>…</bd-pricing-card>
|
|
10
|
-
* </bd-option>
|
|
11
|
-
* </bd-product>
|
|
12
|
-
* <bd-pricing-card>…</bd-pricing-card>
|
|
13
|
-
* </bd-pricing-group>
|
|
14
|
-
*
|
|
15
|
-
* It was 3.x's pricing-cards-container (v2's row), and it draws the band
|
|
16
|
-
* bd-pricing-container drew behind v1's cards: the brand wash, the card
|
|
17
|
-
* corner and an inset that holds the highlighted card's banner. The cards'
|
|
18
|
-
* white ground and edge are drawn for that band (CLAUDE.md, A card's ground
|
|
19
|
-
* and its edge), so v2's cards, which sat on the page, sit on it too.
|
|
20
|
-
*
|
|
21
|
-
* Its cards are its children, bare or wrapped in the bd-context, bd-product
|
|
22
|
-
* and bd-option the store reads them through. Those set no display of their
|
|
23
|
-
* own -- each is an inline box with a slot in it -- so a wrapped card would
|
|
24
|
-
* be the block inside an inline, never the row's item, and never as tall as
|
|
25
|
-
* its row. The wrappers between this group and a card draw no box, then
|
|
26
|
-
* (storeWrapperCSS, adopted into the tree the group sits in, because no
|
|
27
|
-
* shadow-root rule reaches past a slotted element): the card is the row's
|
|
28
|
-
* item whichever way the page wrote it.
|
|
29
|
-
*
|
|
30
|
-
* 3.x's `count` -- the cards counted on every slotchange and reflected, so the
|
|
31
|
-
* stylesheet could give each a half, a third or a quarter -- is CSS now. The
|
|
32
|
-
* cards are one column below xl, each as wide as 3.x's card and centred, as
|
|
33
|
-
* v1's stacked below 1024; from xl they are one row of equal columns, as many
|
|
34
|
-
* as there are cards (a grid's auto-flow), which is what the count chose for
|
|
35
|
-
* two and three. 3.x's `padding: 0 240px` drew nothing -- the host was inline,
|
|
36
|
-
* so the padding never reached the row inside it -- and the row is the page
|
|
37
|
-
* column now (bd-ensemble), which collapses into a column it is already in.
|
|
38
|
-
*/
|
|
39
|
-
export declare class BdPricingGroup extends LitElement {
|
|
40
|
-
static styles: import("lit").CSSResult[];
|
|
41
|
-
connectedCallback(): void;
|
|
42
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
43
|
-
}
|
|
44
|
-
declare global {
|
|
45
|
-
interface HTMLElementTagNameMap {
|
|
46
|
-
"bd-pricing-group": BdPricingGroup;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{ensembleCSS as n}from"../shared/ensemble.css.js";import{adoptStyles as r}from"../shared/adopt-styles.js";import i,{storeWrapperCSS as a}from"./pricing-group.css.js";import{LitElement as o,html as s}from"lit";var c=class extends o{static{this.styles=[n,i]}connectedCallback(){super.connectedCallback(),r(this,`bd-pricing-group`,a)}render(){return s`
|
|
2
|
-
<div class="bd-ensemble">
|
|
3
|
-
<div class="band"><slot></slot></div>
|
|
4
|
-
</div>
|
|
5
|
-
`}};c=t([e(`bd-pricing-group`)],c);export{c as BdPricingGroup};
|
|
6
|
-
//# sourceMappingURL=pricing-group.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pricing-group.js","names":["pricingGroupCSS","_decorate","__decorate","pricing_group_css_default","BdPricingGroup","LitElement","ensembleCSS","adoptStyles","storeWrapperCSS","defineElement"],"sources":["../../../../src/components/pricing-card/pricing-group.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { adoptStyles } from \"#shared/adopt-styles.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport pricingGroupCSS, { storeWrapperCSS } from \"./pricing-group.css.ts\";\n\n/**\n * A row of pricing cards on the brand band they are drawn for.\n *\n * <bd-pricing-group>\n * <bd-product product-id=\"ts_i\">\n * <bd-option devices=\"5\" subscription=\"1\" data-layer-event=\"info\">\n * <bd-pricing-card>…</bd-pricing-card>\n * </bd-option>\n * </bd-product>\n * <bd-pricing-card>…</bd-pricing-card>\n * </bd-pricing-group>\n *\n * It was 3.x's pricing-cards-container (v2's row), and it draws the band\n * bd-pricing-container drew behind v1's cards: the brand wash, the card\n * corner and an inset that holds the highlighted card's banner. The cards'\n * white ground and edge are drawn for that band (CLAUDE.md, A card's ground\n * and its edge), so v2's cards, which sat on the page, sit on it too.\n *\n * Its cards are its children, bare or wrapped in the bd-context, bd-product\n * and bd-option the store reads them through. Those set no display of their\n * own -- each is an inline box with a slot in it -- so a wrapped card would\n * be the block inside an inline, never the row's item, and never as tall as\n * its row. The wrappers between this group and a card draw no box, then\n * (storeWrapperCSS, adopted into the tree the group sits in, because no\n * shadow-root rule reaches past a slotted element): the card is the row's\n * item whichever way the page wrote it.\n *\n * 3.x's `count` -- the cards counted on every slotchange and reflected, so the\n * stylesheet could give each a half, a third or a quarter -- is CSS now. The\n * cards are one column below xl, each as wide as 3.x's card and centred, as\n * v1's stacked below 1024; from xl they are one row of equal columns, as many\n * as there are cards (a grid's auto-flow), which is what the count chose for\n * two and three. 3.x's `padding: 0 240px` drew nothing -- the host was inline,\n * so the padding never reached the row inside it -- and the row is the page\n * column now (bd-ensemble), which collapses into a column it is already in.\n */\n@defineElement(\"bd-pricing-group\")\nexport class BdPricingGroup extends LitElement {\n static styles = [ensembleCSS, pricingGroupCSS];\n\n connectedCallback() {\n super.connectedCallback();\n adoptStyles(this, \"bd-pricing-group\", storeWrapperCSS);\n }\n\n render() {\n return html`\n <div class=\"bd-ensemble\">\n <div class=\"band\"><slot></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-pricing-group\": BdPricingGroup;\n }\n}\n"],"mappings":"A,4XA6CO,IAAMI,EAAN,cAA6BC,CAAW,C,OAC7B,KAAA,OAAA,CAACC,EAAaN,CAAe,C,CAE7C,mBAAoB,CAClB,MAAM,kBAAkB,EACxBO,EAAY,KAAM,mBAAoBC,CAAe,CACvD,CAEA,QAAS,CACP,MAAO,EAAI;;;;KAKb,CACF,EAhBC,EAAAP,EAAA,CAAAQ,EAAc,kBAAkB,CAAA,EAAAL,CAAA,E"}
|