@repobit/dex-system-design 3.0.1 → 3.0.2
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 +7 -0
- package/dist/src/_bundled/oxc-project_runtime/helpers/esm/decorate.js +1 -0
- package/dist/src/components/accordion/accordion-bg.css.js +1 -288
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +5 -5
- package/dist/src/components/accordion/accordion-bg.js +15 -210
- package/dist/src/components/accordion/accordion-bg.js.map +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js +1 -89
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion-panel.js +1 -22
- package/dist/src/components/accordion/accordion-panel.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.js +1 -380
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +7 -7
- package/dist/src/components/accordion/accordion.js +16 -138
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -88
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +4 -4
- package/dist/src/components/agent-endpoints/agent-endpoints.js +17 -76
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/alert/alert.css.js +1 -217
- package/dist/src/components/alert/alert.css.js.map +1 -1
- package/dist/src/components/alert/alert.d.ts +4 -4
- package/dist/src/components/alert/alert.js +6 -110
- package/dist/src/components/alert/alert.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.css.js +1 -546
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.d.ts +4 -4
- package/dist/src/components/anchor/anchor-nav.js +23 -567
- package/dist/src/components/anchor/anchor-nav.js.map +1 -1
- package/dist/src/components/annotation/annotation.css.js +1 -64
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.d.ts +2 -2
- package/dist/src/components/annotation/annotation.js +7 -72
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.css.js +1 -122
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +2 -2
- package/dist/src/components/audience-card/audience-card.js +8 -83
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/avatar/avatar.css.js +1 -65
- package/dist/src/components/avatar/avatar.css.js.map +1 -1
- package/dist/src/components/avatar/avatar.d.ts +3 -3
- package/dist/src/components/avatar/avatar.js +6 -76
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/awards-flex.css.js +1 -273
- package/dist/src/components/awards/awards-flex.css.js.map +1 -1
- package/dist/src/components/awards/awards-flex.d.ts +12 -12
- package/dist/src/components/awards/awards-flex.js +33 -264
- package/dist/src/components/awards/awards-flex.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.css.js +1 -161
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +4 -4
- package/dist/src/components/awards/awards-spotlight.js +24 -140
- package/dist/src/components/awards/awards-spotlight.js.map +1 -1
- package/dist/src/components/awards/awards.css.js +1 -401
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +13 -13
- package/dist/src/components/awards/awards.js +26 -179
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.js +1 -131
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.css.js +1 -91
- package/dist/src/components/back/back.css.js.map +1 -1
- package/dist/src/components/back/back.d.ts +1 -1
- package/dist/src/components/back/back.js +8 -71
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -204
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +4 -4
- package/dist/src/components/badge/badge.js +2 -117
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.css.js +16 -150
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-grid.js +10 -189
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -338
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-item.js +10 -94
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -54
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +2 -2
- package/dist/src/components/blockquote/blockquote.js +1 -44
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.css.js +1 -168
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js +9 -166
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -843
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +5 -5
- package/dist/src/components/button/button.js +18 -420
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/caption/caption.css.js +1 -29
- package/dist/src/components/caption/caption.css.js.map +1 -1
- package/dist/src/components/caption/caption.d.ts +3 -3
- package/dist/src/components/caption/caption.js +2 -36
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card-features/card-features.css.js +1 -120
- package/dist/src/components/card-features/card-features.css.js.map +1 -1
- package/dist/src/components/card-features/card-features.d.ts +3 -3
- package/dist/src/components/card-features/card-features.js +12 -145
- package/dist/src/components/card-features/card-features.js.map +1 -1
- package/dist/src/components/cards/card.css.js +1 -369
- package/dist/src/components/cards/card.css.js.map +1 -1
- package/dist/src/components/cards/card.d.ts +3 -3
- package/dist/src/components/cards/card.js +21 -312
- package/dist/src/components/cards/card.js.map +1 -1
- package/dist/src/components/carousel/carousel.css.js +1 -261
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +5 -5
- package/dist/src/components/carousel/carousel.js +13 -297
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.css.js +1 -173
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +2 -2
- package/dist/src/components/checkbox/checkbox.js +5 -138
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.js +1 -73
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +2 -2
- package/dist/src/components/code/code.js +4 -87
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/compare/compare.css.js +1 -478
- package/dist/src/components/compare/compare.css.js.map +1 -1
- package/dist/src/components/compare/compare.d.ts +5 -5
- package/dist/src/components/compare/compare.js +23 -476
- package/dist/src/components/compare/compare.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -141
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +2 -2
- package/dist/src/components/comparison-panel/comparison-panel.js +18 -86
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -391
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +2 -2
- package/dist/src/components/compatibility-table/compatibility-table.js +26 -136
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -97
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +2 -2
- package/dist/src/components/cta-banner/cta-banner.js +8 -51
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/display/display.css.js +1 -95
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +2 -2
- package/dist/src/components/display/display.js +3 -84
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +2 -2
- package/dist/src/components/divider/divider-horizontal.js +4 -63
- package/dist/src/components/divider/divider-horizontal.js.map +1 -1
- package/dist/src/components/divider/divider-vertical.d.ts +2 -2
- package/dist/src/components/divider/divider-vertical.js +6 -61
- package/dist/src/components/divider/divider-vertical.js.map +1 -1
- package/dist/src/components/divider/divider.css.js +1 -20
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.css.js +1 -121
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.d.ts +5 -5
- package/dist/src/components/dropdown/dropdown.js +17 -283
- package/dist/src/components/dropdown/dropdown.js.map +1 -1
- package/dist/src/components/features/features.css.js +1 -123
- package/dist/src/components/features/features.css.js.map +1 -1
- package/dist/src/components/features/features.d.ts +5 -5
- package/dist/src/components/features/features.js +11 -71
- package/dist/src/components/features/features.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.css.js +1 -100
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +5 -5
- package/dist/src/components/features-tab/features-tab.js +9 -70
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.css.js +1 -28
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +2 -2
- package/dist/src/components/fieldset/fieldset.js +3 -31
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-images.js +5 -27
- package/dist/src/components/footer/footer-images.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.css.js +1 -33
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.d.ts +3 -3
- package/dist/src/components/footer/footer-links-group.js +3 -32
- package/dist/src/components/footer/footer-links-group.js.map +1 -1
- package/dist/src/components/footer/footer-locale.js +1 -45
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-lp.d.ts +7 -7
- package/dist/src/components/footer/footer-lp.js +8 -121
- package/dist/src/components/footer/footer-lp.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +1 -61
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.d.ts +3 -3
- package/dist/src/components/footer/footer-nav-menu.js +3 -47
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -1
- package/dist/src/components/footer/footer.css.js +1 -664
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +13 -13
- package/dist/src/components/footer/footer.js +20 -305
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/footer/localeMap.js +1 -1
- package/dist/src/components/footer/localeMap.js.map +1 -1
- package/dist/src/components/grid/grid.css.js +1 -78
- package/dist/src/components/grid/grid.css.js.map +1 -1
- package/dist/src/components/grid/grid.d.ts +2 -2
- package/dist/src/components/grid/grid.js +9 -126
- package/dist/src/components/grid/grid.js.map +1 -1
- package/dist/src/components/header/header-code.css.js +1 -369
- package/dist/src/components/header/header-code.css.js.map +1 -1
- package/dist/src/components/header/header-code.d.ts +4 -4
- package/dist/src/components/header/header-code.js +15 -163
- package/dist/src/components/header/header-code.js.map +1 -1
- package/dist/src/components/header/header.css.js +1 -757
- package/dist/src/components/header/header.css.js.map +1 -1
- package/dist/src/components/header/header.d.ts +7 -7
- package/dist/src/components/header/header.js +4 -212
- package/dist/src/components/header/header.js.map +1 -1
- package/dist/src/components/heading/heading.css.js +1 -89
- package/dist/src/components/heading/heading.css.js.map +1 -1
- package/dist/src/components/heading/heading.d.ts +2 -2
- package/dist/src/components/heading/heading.js +1 -108
- package/dist/src/components/heading/heading.js.map +1 -1
- package/dist/src/components/help-text/help-text.css.js +1 -19
- package/dist/src/components/help-text/help-text.css.js.map +1 -1
- package/dist/src/components/help-text/help-text.d.ts +2 -2
- package/dist/src/components/help-text/help-text.js +3 -31
- package/dist/src/components/help-text/help-text.js.map +1 -1
- package/dist/src/components/hero/hero.css.js +1 -362
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +3 -3
- package/dist/src/components/hero/hero.js +12 -164
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -175
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +3 -3
- package/dist/src/components/highlight/highlight.js +4 -115
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/icons/analysis-icon.d.ts +1 -1
- package/dist/src/components/icons/analysis-icon.js +2 -20
- package/dist/src/components/icons/analysis-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-down-icon.js +2 -20
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-icon.js +2 -48
- package/dist/src/components/icons/arrow-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-right-icon.js +2 -45
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-up-icon.js +2 -33
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -1
- package/dist/src/components/icons/av-comparatives-icon.js +2 -31
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -1
- package/dist/src/components/icons/bd-ai-icon.js +2 -31
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -1
- package/dist/src/components/icons/best-brands-icon.js +2 -31
- package/dist/src/components/icons/best-brands-icon.js.map +1 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +1 -1
- package/dist/src/components/icons/brand-signature-icon.js +2 -46
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -1
- package/dist/src/components/icons/check-icon.d.ts +1 -1
- package/dist/src/components/icons/check-icon.js +2 -31
- package/dist/src/components/icons/check-icon.js.map +1 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +1 -1
- package/dist/src/components/icons/circle-info-icon.js +2 -35
- package/dist/src/components/icons/circle-info-icon.js.map +1 -1
- package/dist/src/components/icons/close-icon.d.ts +1 -1
- package/dist/src/components/icons/close-icon.js +2 -20
- package/dist/src/components/icons/close-icon.js.map +1 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +1 -1
- package/dist/src/components/icons/enterprise-icon.js +2 -22
- package/dist/src/components/icons/enterprise-icon.js.map +1 -1
- package/dist/src/components/icons/family-icon.d.ts +1 -1
- package/dist/src/components/icons/family-icon.js +2 -20
- package/dist/src/components/icons/family-icon.js.map +1 -1
- package/dist/src/components/icons/globe-icon.d.ts +1 -1
- package/dist/src/components/icons/globe-icon.js +2 -20
- package/dist/src/components/icons/globe-icon.js.map +1 -1
- package/dist/src/components/icons/guide-icon.d.ts +1 -1
- package/dist/src/components/icons/guide-icon.js +2 -20
- package/dist/src/components/icons/guide-icon.js.map +1 -1
- package/dist/src/components/icons/home-icon.d.ts +1 -1
- package/dist/src/components/icons/home-icon.js +2 -22
- package/dist/src/components/icons/home-icon.js.map +1 -1
- package/dist/src/components/icons/icon-element.js +1 -162
- package/dist/src/components/icons/icon-element.js.map +1 -1
- package/dist/src/components/icons/icons.d.ts +23 -23
- package/dist/src/components/icons/icons.js +1 -42
- package/dist/src/components/icons/individual-icon.d.ts +1 -1
- package/dist/src/components/icons/individual-icon.js +2 -20
- package/dist/src/components/icons/individual-icon.js.map +1 -1
- package/dist/src/components/icons/laurel-icon.d.ts +1 -1
- package/dist/src/components/icons/laurel-icon.js +2 -24
- package/dist/src/components/icons/laurel-icon.js.map +1 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +1 -1
- package/dist/src/components/icons/machine-learning-icon.js +2 -20
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -1
- package/dist/src/components/icons/marks.d.ts +9 -9
- package/dist/src/components/icons/marks.js +1 -41
- package/dist/src/components/icons/minus-icon.d.ts +1 -1
- package/dist/src/components/icons/minus-icon.js +2 -19
- package/dist/src/components/icons/minus-icon.js.map +1 -1
- package/dist/src/components/icons/missing-icon.d.ts +1 -1
- package/dist/src/components/icons/missing-icon.js +3 -53
- package/dist/src/components/icons/missing-icon.js.map +1 -1
- package/dist/src/components/icons/pause-icon.d.ts +1 -1
- package/dist/src/components/icons/pause-icon.js +2 -22
- package/dist/src/components/icons/pause-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-2024-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-business-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-readers-icon.js +2 -30
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -1
- package/dist/src/components/icons/play-icon.d.ts +1 -1
- package/dist/src/components/icons/play-icon.js +2 -22
- package/dist/src/components/icons/play-icon.js.map +1 -1
- package/dist/src/components/icons/plus-icon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon.js +2 -19
- package/dist/src/components/icons/plus-icon.js.map +1 -1
- package/dist/src/components/icons/quote-icon.d.ts +1 -1
- package/dist/src/components/icons/quote-icon.js +2 -30
- package/dist/src/components/icons/quote-icon.js.map +1 -1
- package/dist/src/components/icons/small-business-icon.d.ts +1 -1
- package/dist/src/components/icons/small-business-icon.js +2 -22
- package/dist/src/components/icons/small-business-icon.js.map +1 -1
- package/dist/src/components/icons/top-product-icon.js +2 -31
- package/dist/src/components/icons/top-product-icon.js.map +1 -1
- package/dist/src/components/image/image.css.js +1 -106
- package/dist/src/components/image/image.css.js.map +1 -1
- package/dist/src/components/image/image.d.ts +2 -2
- package/dist/src/components/image/image.js +10 -115
- package/dist/src/components/image/image.js.map +1 -1
- package/dist/src/components/input/input-clipboard.css.js +1 -93
- package/dist/src/components/input/input-clipboard.css.js.map +1 -1
- package/dist/src/components/input/input-clipboard.d.ts +5 -5
- package/dist/src/components/input/input-clipboard.js +20 -257
- package/dist/src/components/input/input-clipboard.js.map +1 -1
- package/dist/src/components/input/input.css.js +1 -9
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +4 -4
- package/dist/src/components/input/input.js +19 -202
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-options.css.js +1 -308
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +4 -4
- package/dist/src/components/install-options/install-options.js +28 -159
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/label/label.css.js +1 -33
- package/dist/src/components/label/label.css.js.map +1 -1
- package/dist/src/components/label/label.d.ts +3 -3
- package/dist/src/components/label/label.js +3 -135
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +1 -270
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +3 -3
- package/dist/src/components/light-carousel/light-carousel.js +16 -181
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -288
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +3 -3
- package/dist/src/components/link/link.js +6 -233
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -167
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.d.ts +3 -3
- package/dist/src/components/list/list-item/list-item.js +3 -122
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.css.js +1 -180
- package/dist/src/components/list/list.css.js.map +1 -1
- package/dist/src/components/list/list.d.ts +1 -1
- package/dist/src/components/list/list.js +5 -82
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -93
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +3 -3
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -147
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/modal/modal.css.js +1 -203
- package/dist/src/components/modal/modal.css.js.map +1 -1
- package/dist/src/components/modal/modal.d.ts +3 -3
- package/dist/src/components/modal/modal.js +3 -131
- package/dist/src/components/modal/modal.js.map +1 -1
- package/dist/src/components/motion-art/motion-art.d.ts +1 -1
- package/dist/src/components/motion-art/motion-art.js +1 -114
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/overview/overview.css.js +1 -125
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +2 -2
- package/dist/src/components/overview/overview.js +9 -50
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -174
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +2 -2
- package/dist/src/components/page-switcher/page-switcher.js +6 -62
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -160
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +2 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +10 -210
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.css.js +1 -101
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.d.ts +2 -2
- package/dist/src/components/paragraph/paragraph.js +3 -119
- package/dist/src/components/paragraph/paragraph.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -245
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +1 -1
- package/dist/src/components/partner-banner/partner-banner.js +6 -81
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/picture/picture.css.js +1 -208
- package/dist/src/components/picture/picture.css.js.map +1 -1
- package/dist/src/components/picture/picture.d.ts +2 -2
- package/dist/src/components/picture/picture.js +14 -186
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -149
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +2 -2
- package/dist/src/components/post-card/post-card.js +5 -97
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-cards/adopt-styles.js +1 -18
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +2 -2
- package/dist/src/components/pricing-cards/new-pricing-card.js +4 -49
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +1 -74
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +1 -11
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.js +2 -59
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +1 -41
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.js +2 -40
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +1 -82
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +5 -5
- package/dist/src/components/pricing-cards/pricing-card-header.js +7 -70
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +1 -92
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +6 -6
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +7 -87
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +1 -29
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +4 -4
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +5 -41
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +1 -660
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +7 -7
- package/dist/src/components/pricing-cards/pricing-card.js +53 -639
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +1 -34
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.js +2 -22
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.css.js +1 -106
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +5 -5
- package/dist/src/components/process-steps/process-steps.js +10 -78
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/progress/progress.css.js +1 -123
- package/dist/src/components/progress/progress.css.js.map +1 -1
- package/dist/src/components/progress/progress.d.ts +2 -2
- package/dist/src/components/progress/progress.js +6 -72
- package/dist/src/components/progress/progress.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -130
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +2 -2
- package/dist/src/components/quick-answer/quick-answer.js +9 -49
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -41
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +1 -1
- package/dist/src/components/radio/radio-group.js +5 -92
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.js +1 -193
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +4 -4
- package/dist/src/components/radio/radio.js +6 -263
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/radio/toggle-radio.d.ts +2 -2
- package/dist/src/components/radio/toggle-radio.js +3 -39
- package/dist/src/components/radio/toggle-radio.js.map +1 -1
- package/dist/src/components/review/review-grid.css.js +1 -46
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +2 -2
- package/dist/src/components/review/review-grid.js +4 -49
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -54
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +2 -2
- package/dist/src/components/review/review.js +2 -59
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -37
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +1 -1
- package/dist/src/components/section/section.js +1 -50
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -99
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +2 -2
- package/dist/src/components/section-header/section-header.js +4 -85
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/shared/announcer.d.ts +1 -1
- package/dist/src/components/shared/announcer.js +1 -34
- package/dist/src/components/shared/announcer.js.map +1 -1
- package/dist/src/components/shared/controller.media-query.d.ts +1 -1
- package/dist/src/components/shared/controller.media-query.js +1 -57
- package/dist/src/components/shared/controller.media-query.js.map +1 -1
- package/dist/src/components/shared/define-element.js +1 -16
- package/dist/src/components/shared/define-element.js.map +1 -1
- package/dist/src/components/shared/ensemble.css.js +1 -101
- package/dist/src/components/shared/ensemble.css.js.map +1 -1
- package/dist/src/components/shared/events.js +0 -13
- package/dist/src/components/shared/fill-width.css.js +2 -27
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/form-control.d.ts +1 -1
- package/dist/src/components/shared/form-control.js +1 -198
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.js +1 -258
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/prop-vocabulary.js +1 -49
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/token-scales.js +1 -351
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.css.js +1 -32
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.d.ts +2 -2
- package/dist/src/components/skeleton/skeleton.js +4 -36
- package/dist/src/components/skeleton/skeleton.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js +1 -87
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.d.ts +3 -3
- package/dist/src/components/spinner/spinner.js +3 -69
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +1 -105
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +2 -2
- package/dist/src/components/spotlight-section/spotlight-section.js +11 -72
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -1
- package/dist/src/components/stat/stat-highlight.js +6 -82
- package/dist/src/components/stat/stat-highlight.js.map +1 -1
- package/dist/src/components/stat/stat-tile.js +5 -52
- package/dist/src/components/stat/stat-tile.js.map +1 -1
- package/dist/src/components/stat/stat.css.js +1 -145
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +2 -2
- package/dist/src/components/stat/stat.js +1 -3
- package/dist/src/components/switch/switch.css.js +1 -175
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +4 -4
- package/dist/src/components/switch/switch.js +4 -99
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.css.js +1 -289
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.d.ts +1 -1
- package/dist/src/components/tab-list/tab-list.js +13 -191
- package/dist/src/components/tab-list/tab-list.js.map +1 -1
- package/dist/src/components/tabs/tabs.css.js +1 -77
- package/dist/src/components/tabs/tabs.css.js.map +1 -1
- package/dist/src/components/tabs/tabs.d.ts +6 -6
- package/dist/src/components/tabs/tabs.js +8 -220
- package/dist/src/components/tabs/tabs.js.map +1 -1
- package/dist/src/components/tag/tag.css.js +1 -52
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +2 -2
- package/dist/src/components/tag/tag.js +2 -37
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.js +1 -65
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.css.js +1 -409
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.d.ts +5 -5
- package/dist/src/components/terminal/terminal-message.js +28 -183
- package/dist/src/components/terminal/terminal-message.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.css.js +1 -55
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.d.ts +5 -5
- package/dist/src/components/termsOfUse/terms.js +9 -82
- package/dist/src/components/termsOfUse/terms.js.map +1 -1
- package/dist/src/components/textarea/textarea.css.js +1 -49
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +5 -5
- package/dist/src/components/textarea/textarea.js +15 -160
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.css.js +1 -96
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +2 -2
- package/dist/src/components/tooltip/tooltip.js +5 -285
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -228
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +4 -4
- package/dist/src/components/trust-panel/trust-panel.js +25 -104
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.css.js +1 -20
- package/dist/src/components/video/video.css.js.map +1 -1
- package/dist/src/components/video/video.d.ts +2 -2
- package/dist/src/components/video/video.js +5 -88
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.css.js +1 -167
- package/dist/src/components/video-player/video-player.css.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +2 -2
- package/dist/src/components/video-player/video-player.js +15 -150
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.css.js +1 -22
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/src/components/visually-hidden/visually-hidden.js +2 -22
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/src/tokens/brand-layer.js +8 -162
- package/dist/src/tokens/brand-layer.js.map +1 -1
- package/dist/src/tokens/dark-derivation.js +1 -325
- package/dist/src/tokens/dark-derivation.js.map +1 -1
- package/dist/src/tokens/dark-findings.d.ts +1 -1
- package/dist/src/tokens/dark-findings.js +1 -204
- package/dist/src/tokens/dark-findings.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -166
- package/dist/src/tokens/layout.css +1 -61
- package/dist/src/tokens/story-chrome.js +27 -221
- package/dist/src/tokens/story-chrome.js.map +1 -1
- package/dist/src/tokens/themes/bitdefender.js +1 -30
- package/dist/src/tokens/themes/bitdefender.js.map +1 -1
- package/dist/src/tokens/themes/contract.js +1 -7
- package/dist/src/tokens/themes/contract.js.map +1 -1
- package/dist/src/tokens/themes/index.js +1 -39
- package/dist/src/tokens/themes/index.js.map +1 -1
- package/dist/src/tokens/token-map.js +1 -236
- package/dist/src/tokens/token-map.js.map +1 -1
- package/dist/src/tokens/token-purposes.js +1 -259
- package/dist/src/tokens/token-purposes.js.map +1 -1
- package/dist/src/tokens/tokens.css +1 -1809
- package/dist/src/tokens/tokens.js +1 -1865
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/tokens/type-ceiling-words.js +1 -293
- package/dist/src/tokens/type-ceiling-words.js.map +1 -1
- package/package.json +14 -3
- package/schemas/component-manifest.json +1 -1
- package/dist/src/components/icons/icons.js.map +0 -1
- package/dist/src/components/icons/marks.js.map +0 -1
- package/dist/src/components/shared/events.js.map +0 -1
- package/dist/src/components/stat/stat.js.map +0 -1
|
@@ -1,107 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default css `
|
|
3
|
-
@layer bd-components {
|
|
4
|
-
.bd-img {
|
|
5
|
-
display: block;
|
|
6
|
-
max-width: 100%;
|
|
7
|
-
height: auto;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* Object Fit Variants */
|
|
11
|
-
.bd-img.cover {
|
|
12
|
-
object-fit: cover;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.bd-img.contain {
|
|
16
|
-
object-fit: contain;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.bd-img.fill {
|
|
20
|
-
object-fit: fill;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.bd-img.none {
|
|
24
|
-
object-fit: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.bd-img.scale-down {
|
|
28
|
-
object-fit: scale-down;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* Radius Variants - Updated to match radius prop */
|
|
32
|
-
.bd-img.radius-none {
|
|
33
|
-
border-radius: var(--radius-none);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.bd-img.radius-sm {
|
|
37
|
-
border-radius: var(--shape-radius-sm);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.bd-img.radius-md {
|
|
41
|
-
border-radius: var(--shape-radius-md);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.bd-img.radius-lg {
|
|
45
|
-
border-radius: var(--shape-radius-lg);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.bd-img.radius-xl {
|
|
49
|
-
border-radius: var(--shape-radius-xl);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.bd-img.radius-2xl {
|
|
53
|
-
border-radius: var(--shape-radius-2xl);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.bd-img.radius-3xl {
|
|
57
|
-
border-radius: var(--shape-radius-3xl);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.bd-img.radius-full {
|
|
61
|
-
border-radius: var(--radius-full);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/* Shadow Variants - Updated to match shadow prop */
|
|
65
|
-
.bd-img.shadow-none {
|
|
66
|
-
box-shadow: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.bd-img.shadow-sm {
|
|
70
|
-
box-shadow: var(--shadow-sm);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.bd-img.shadow-md {
|
|
74
|
-
box-shadow: var(--shadow-md);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.bd-img.shadow-lg {
|
|
78
|
-
box-shadow: var(--shadow-lg);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* Shadow XL - Additional variant */
|
|
82
|
-
.bd-img.shadow-xl {
|
|
83
|
-
box-shadow: var(--shadow-xl);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* Gone from here, because nothing could reach them: bordered,
|
|
87
|
-
bordered-primary and bordered-thick, responsive, aspect-16-9 / 4-3 /
|
|
88
|
-
1-1, hover-zoom and hover-shadow had no prop, and the only way to set
|
|
89
|
-
one was to pass its name as fit, which now accepts only the five values
|
|
90
|
-
above. :focus-visible styled an <img>, which never takes focus. And the
|
|
91
|
-
:not([src]) loading placeholder could not appear: the template always
|
|
92
|
-
writes a src attribute, and an <img> renders no ::before even without
|
|
93
|
-
one. bd-picture keeps its own placeholder, which does work. */
|
|
94
|
-
|
|
95
|
-
/* Smooth transitions for radius and shadow changes */
|
|
96
|
-
.bd-img {
|
|
97
|
-
transition: border-radius var(--transition-duration-normal) var(--transition-easing-smooth), box-shadow var(--transition-duration-normal) var(--transition-easing-smooth);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@media (prefers-reduced-motion: reduce) {
|
|
101
|
-
.bd-img {
|
|
102
|
-
transition: none;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
`;
|
|
1
|
+
import{css as e}from"lit";var t=e`@layer bd-components{.bd-img{max-width:100%;height:auto;display:block}.bd-img.cover{object-fit:cover}.bd-img.contain{object-fit:contain}.bd-img.fill{object-fit:fill}.bd-img.none{object-fit:none}.bd-img.scale-down{object-fit:scale-down}.bd-img.radius-none{border-radius:var(--radius-none)}.bd-img.radius-sm{border-radius:var(--shape-radius-sm)}.bd-img.radius-md{border-radius:var(--shape-radius-md)}.bd-img.radius-lg{border-radius:var(--shape-radius-lg)}.bd-img.radius-xl{border-radius:var(--shape-radius-xl)}.bd-img.radius-2xl{border-radius:var(--shape-radius-2xl)}.bd-img.radius-3xl{border-radius:var(--shape-radius-3xl)}.bd-img.radius-full{border-radius:var(--radius-full)}.bd-img.shadow-none{box-shadow:none}.bd-img.shadow-sm{box-shadow:var(--shadow-sm)}.bd-img.shadow-md{box-shadow:var(--shadow-md)}.bd-img.shadow-lg{box-shadow:var(--shadow-lg)}.bd-img.shadow-xl{box-shadow:var(--shadow-xl)}.bd-img{transition:border-radius var(--transition-duration-normal) var(--transition-easing-smooth), box-shadow var(--transition-duration-normal) var(--transition-easing-smooth)}@media (prefers-reduced-motion:reduce){.bd-img{transition:none}}}`;export{t as default};
|
|
107
2
|
//# sourceMappingURL=image.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.css.js","
|
|
1
|
+
{"version":3,"file":"image.css.js","names":["image_css_default"],"sources":["../../../../src/components/image/image.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n @layer bd-components {\n .bd-img {\n display: block;\n max-width: 100%;\n height: auto;\n }\n\n /* Object Fit Variants */\n .bd-img.cover {\n object-fit: cover;\n }\n\n .bd-img.contain {\n object-fit: contain;\n }\n\n .bd-img.fill {\n object-fit: fill;\n }\n\n .bd-img.none {\n object-fit: none;\n }\n\n .bd-img.scale-down {\n object-fit: scale-down;\n }\n\n /* Radius Variants - Updated to match radius prop */\n .bd-img.radius-none {\n border-radius: var(--radius-none);\n }\n\n .bd-img.radius-sm {\n border-radius: var(--shape-radius-sm);\n }\n\n .bd-img.radius-md {\n border-radius: var(--shape-radius-md);\n }\n\n .bd-img.radius-lg {\n border-radius: var(--shape-radius-lg);\n }\n\n .bd-img.radius-xl {\n border-radius: var(--shape-radius-xl);\n }\n\n .bd-img.radius-2xl {\n border-radius: var(--shape-radius-2xl);\n }\n\n .bd-img.radius-3xl {\n border-radius: var(--shape-radius-3xl);\n }\n\n .bd-img.radius-full {\n border-radius: var(--radius-full);\n }\n\n /* Shadow Variants - Updated to match shadow prop */\n .bd-img.shadow-none {\n box-shadow: none;\n }\n\n .bd-img.shadow-sm {\n box-shadow: var(--shadow-sm);\n }\n\n .bd-img.shadow-md {\n box-shadow: var(--shadow-md);\n }\n\n .bd-img.shadow-lg {\n box-shadow: var(--shadow-lg);\n }\n\n /* Shadow XL - Additional variant */\n .bd-img.shadow-xl {\n box-shadow: var(--shadow-xl);\n }\n\n /* Gone from here, because nothing could reach them: bordered,\n bordered-primary and bordered-thick, responsive, aspect-16-9 / 4-3 /\n 1-1, hover-zoom and hover-shadow had no prop, and the only way to set\n one was to pass its name as fit, which now accepts only the five values\n above. :focus-visible styled an <img>, which never takes focus. And the\n :not([src]) loading placeholder could not appear: the template always\n writes a src attribute, and an <img> renders no ::before even without\n one. bd-picture keeps its own placeholder, which does work. */\n\n /* Smooth transitions for radius and shadow changes */\n .bd-img {\n transition: border-radius var(--transition-duration-normal) var(--transition-easing-smooth), box-shadow var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .bd-img {\n transition: none;\n }\n }\n }\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,onC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
import type { RadiusStep } from "../shared/token-scales.
|
|
3
|
-
import "../../tokens/tokens.
|
|
2
|
+
import type { RadiusStep } from "../shared/token-scales.js";
|
|
3
|
+
import "../../tokens/tokens.js";
|
|
4
4
|
declare const FITS: readonly ["cover", "contain", "fill", "none", "scale-down"];
|
|
5
5
|
declare const SHADOWS: readonly ["none", "sm", "md", "lg", "xl"];
|
|
6
6
|
type Fit = typeof FITS[number];
|
|
@@ -1,122 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html, nothing } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
|
-
import { defineElement } from "../shared/define-element.js";
|
|
10
|
-
import { isOneOf } from "../shared/prop-vocabulary.js";
|
|
11
|
-
// Installs the design tokens into document scope; see src/tokens/tokens.ts
|
|
12
|
-
import "../../tokens/tokens.js";
|
|
13
|
-
import imgCSS from "./image.css.js";
|
|
14
|
-
// the radius steps image.css.ts implements — the full --radius-* scale
|
|
15
|
-
const RADIUS_STEPS = ['none', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', 'full'];
|
|
16
|
-
/* fit and shadow become class names, so an unknown value used to become a
|
|
17
|
-
class too -- fit="bordered" reached a rule nothing documented. Only the
|
|
18
|
-
values image.css.ts implements get through; anything else is the default. */
|
|
19
|
-
const FITS = ['cover', 'contain', 'fill', 'none', 'scale-down'];
|
|
20
|
-
const SHADOWS = ['none', 'sm', 'md', 'lg', 'xl'];
|
|
21
|
-
let BdImg = class BdImg extends LitElement {
|
|
22
|
-
constructor() {
|
|
23
|
-
super(...arguments);
|
|
24
|
-
this.src = "";
|
|
25
|
-
this.srcset = "";
|
|
26
|
-
this.sizes = "";
|
|
27
|
-
this.alt = "";
|
|
28
|
-
this.width = null;
|
|
29
|
-
this.height = null;
|
|
30
|
-
this.loading = "lazy";
|
|
31
|
-
this.fetchPriority = "";
|
|
32
|
-
this.decoding = "";
|
|
33
|
-
this.fit = "cover";
|
|
34
|
-
this.radius = "none";
|
|
35
|
-
this.shadow = "none";
|
|
36
|
-
}
|
|
37
|
-
render() {
|
|
38
|
-
const baseClass = 'bd-img';
|
|
39
|
-
const fitClass = isOneOf(FITS, this.fit) ? this.fit : 'cover';
|
|
40
|
-
const radius = isOneOf(RADIUS_STEPS, this.radius) ? this.radius : 'none';
|
|
41
|
-
const radiusClass = `radius-${radius}`;
|
|
42
|
-
const shadowClass = `shadow-${isOneOf(SHADOWS, this.shadow) ? this.shadow : 'none'}`;
|
|
43
|
-
const finalClass = `${baseClass} ${fitClass} ${radiusClass} ${shadowClass}`;
|
|
44
|
-
/* fetchpriority="high" marks the image the page is waiting for -- its
|
|
45
|
-
Largest Contentful Paint -- so it is never lazy as well: a lazy image is
|
|
46
|
-
held back until layout puts it near the viewport, which is the very
|
|
47
|
-
delay the priority is there to remove. lazy stays the default for every
|
|
48
|
-
other image. No guard: fetchpriority and decoding are hints, and a
|
|
49
|
-
browser that does not know them loads the image as it always has. */
|
|
50
|
-
const lcp = this.fetchPriority === 'high';
|
|
51
|
-
return html `
|
|
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{isOneOf as n}from"../shared/prop-vocabulary.js";import r from"./image.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=[`none`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`full`],l=[`cover`,`contain`,`fill`,`none`,`scale-down`],u=[`none`,`sm`,`md`,`lg`,`xl`],d=class extends i{constructor(...e){super(...e),this.src=``,this.srcset=``,this.sizes=``,this.alt=``,this.width=null,this.height=null,this.loading=`lazy`,this.fetchPriority=``,this.decoding=``,this.fit=`cover`,this.radius=`none`,this.shadow=`none`}render(){let e=`bd-img ${n(l,this.fit)?this.fit:`cover`} ${`radius-${n(c,this.radius)?this.radius:`none`}`} ${`shadow-${n(u,this.shadow)?this.shadow:`none`}`}`,t=this.fetchPriority===`high`;return a`
|
|
52
2
|
<img
|
|
53
3
|
src="${this.src}"
|
|
54
|
-
srcset="${this.srcset
|
|
55
|
-
sizes="${this.sizes
|
|
4
|
+
srcset="${this.srcset||o}"
|
|
5
|
+
sizes="${this.sizes||o}"
|
|
56
6
|
alt="${this.alt}"
|
|
57
|
-
width="${this.width
|
|
58
|
-
height="${this.height
|
|
59
|
-
loading="${
|
|
60
|
-
fetchpriority="${this.fetchPriority
|
|
61
|
-
decoding="${this.decoding
|
|
62
|
-
class="${
|
|
7
|
+
width="${this.width??o}"
|
|
8
|
+
height="${this.height??o}"
|
|
9
|
+
loading="${t?o:this.loading}"
|
|
10
|
+
fetchpriority="${this.fetchPriority||o}"
|
|
11
|
+
decoding="${this.decoding||o}"
|
|
12
|
+
class="${e}"
|
|
63
13
|
@load="${this._handleLoad}"
|
|
64
14
|
@error="${this._handleError}"
|
|
65
15
|
/>
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
_handleLoad() {
|
|
69
|
-
this.dispatchEvent(new CustomEvent('image-loaded', {
|
|
70
|
-
bubbles: true,
|
|
71
|
-
composed: true
|
|
72
|
-
}));
|
|
73
|
-
}
|
|
74
|
-
_handleError() {
|
|
75
|
-
this.dispatchEvent(new CustomEvent('image-error', {
|
|
76
|
-
bubbles: true,
|
|
77
|
-
composed: true
|
|
78
|
-
}));
|
|
79
|
-
}
|
|
80
|
-
static { this.styles = [imgCSS]; }
|
|
81
|
-
};
|
|
82
|
-
__decorate([
|
|
83
|
-
property({ type: String })
|
|
84
|
-
], BdImg.prototype, "src", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
property({ type: String })
|
|
87
|
-
], BdImg.prototype, "srcset", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
property({ type: String })
|
|
90
|
-
], BdImg.prototype, "sizes", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
property({ type: String })
|
|
93
|
-
], BdImg.prototype, "alt", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
property({ type: Number })
|
|
96
|
-
], BdImg.prototype, "width", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
property({ type: Number })
|
|
99
|
-
], BdImg.prototype, "height", void 0);
|
|
100
|
-
__decorate([
|
|
101
|
-
property({ type: String })
|
|
102
|
-
], BdImg.prototype, "loading", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
property({ type: String, attribute: 'fetchpriority' })
|
|
105
|
-
], BdImg.prototype, "fetchPriority", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
property({ type: String })
|
|
108
|
-
], BdImg.prototype, "decoding", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
property({ type: String })
|
|
111
|
-
], BdImg.prototype, "fit", void 0);
|
|
112
|
-
__decorate([
|
|
113
|
-
property({ type: String })
|
|
114
|
-
], BdImg.prototype, "radius", void 0);
|
|
115
|
-
__decorate([
|
|
116
|
-
property({ type: String })
|
|
117
|
-
], BdImg.prototype, "shadow", void 0);
|
|
118
|
-
BdImg = __decorate([
|
|
119
|
-
defineElement("bd-img")
|
|
120
|
-
], BdImg);
|
|
121
|
-
export { BdImg };
|
|
16
|
+
`}_handleLoad(){this.dispatchEvent(new CustomEvent(`image-loaded`,{bubbles:!0,composed:!0}))}_handleError(){this.dispatchEvent(new CustomEvent(`image-error`,{bubbles:!0,composed:!0}))}static{this.styles=[r]}};t([s({type:String})],d.prototype,`src`,void 0),t([s({type:String})],d.prototype,`srcset`,void 0),t([s({type:String})],d.prototype,`sizes`,void 0),t([s({type:String})],d.prototype,`alt`,void 0),t([s({type:Number})],d.prototype,`width`,void 0),t([s({type:Number})],d.prototype,`height`,void 0),t([s({type:String})],d.prototype,`loading`,void 0),t([s({type:String,attribute:`fetchpriority`})],d.prototype,`fetchPriority`,void 0),t([s({type:String})],d.prototype,`decoding`,void 0),t([s({type:String})],d.prototype,`fit`,void 0),t([s({type:String})],d.prototype,`radius`,void 0),t([s({type:String})],d.prototype,`shadow`,void 0),d=t([e(`bd-img`)],d);export{d as BdImg};
|
|
122
17
|
//# sourceMappingURL=image.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","
|
|
1
|
+
{"version":3,"file":"image.js","names":["imgCSS","_decorate","__decorate","image_css_default","RADIUS_STEPS","FITS","SHADOWS","BdImg","LitElement","_args","finalClass","isOneOf","lcp","nothing","property","defineElement"],"sources":["../../../../src/components/image/image.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\nimport type { RadiusStep } from \"#shared/token-scales.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport imgCSS from \"./image.css.ts\";\n\n// the radius steps image.css.ts implements — the full --radius-* scale\nconst RADIUS_STEPS = ['none', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', 'full'] as const;\n/* fit and shadow become class names, so an unknown value used to become a\n class too -- fit=\"bordered\" reached a rule nothing documented. Only the\n values image.css.ts implements get through; anything else is the default. */\nconst FITS = ['cover', 'contain', 'fill', 'none', 'scale-down'] as const;\nconst SHADOWS = ['none', 'sm', 'md', 'lg', 'xl'] as const;\n\ntype Fit = typeof FITS[number];\ntype Shadow = typeof SHADOWS[number];\n\n@defineElement(\"bd-img\")\nexport class BdImg extends LitElement {\n @property({ type: String })\n src = \"\";\n @property({ type: String })\n srcset = \"\";\n @property({ type: String })\n sizes = \"\";\n @property({ type: String })\n alt = \"\";\n @property({ type: Number })\n width: number | null = null;\n @property({ type: Number })\n height: number | null = null;\n @property({ type: String })\n loading = \"lazy\";\n @property({ type: String, attribute: 'fetchpriority' })\n fetchPriority = \"\";\n @property({ type: String })\n decoding = \"\";\n @property({ type: String })\n fit: Fit = \"cover\";\n @property({ type: String })\n radius: RadiusStep = \"none\";\n @property({ type: String })\n shadow: Shadow = \"none\";\n\n render() {\n const baseClass = 'bd-img';\n const fitClass = isOneOf(FITS, this.fit) ? this.fit : 'cover';\n const radius = isOneOf(RADIUS_STEPS, this.radius) ? this.radius : 'none';\n const radiusClass = `radius-${radius}`;\n const shadowClass = `shadow-${isOneOf(SHADOWS, this.shadow) ? this.shadow : 'none'}`;\n\n const finalClass = `${baseClass} ${fitClass} ${radiusClass} ${shadowClass}`;\n\n /* fetchpriority=\"high\" marks the image the page is waiting for -- its\n Largest Contentful Paint -- so it is never lazy as well: a lazy image is\n held back until layout puts it near the viewport, which is the very\n delay the priority is there to remove. lazy stays the default for every\n other image. No guard: fetchpriority and decoding are hints, and a\n browser that does not know them loads the image as it always has. */\n const lcp = this.fetchPriority === 'high';\n\n return html`\n <img\n src=\"${this.src}\"\n srcset=\"${this.srcset || nothing}\"\n sizes=\"${this.sizes || nothing}\"\n alt=\"${this.alt}\"\n width=\"${this.width ?? nothing}\"\n height=\"${this.height ?? nothing}\"\n loading=\"${lcp ? nothing : this.loading}\"\n fetchpriority=\"${this.fetchPriority || nothing}\"\n decoding=\"${this.decoding || nothing}\"\n class=\"${finalClass}\"\n @load=\"${this._handleLoad}\"\n @error=\"${this._handleError}\"\n />\n `;\n }\n\n _handleLoad() {\n this.dispatchEvent(new CustomEvent('image-loaded', {\n bubbles : true,\n composed: true\n }));\n }\n\n _handleError() {\n this.dispatchEvent(new CustomEvent('image-error', {\n bubbles : true,\n composed: true\n }));\n }\n\n static styles = [imgCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-img\": BdImg;\n }\n interface HTMLElementEventMap {\n \"image-loaded\": CustomEvent<null>;\n \"image-error\" : CustomEvent<null>;\n }\n}\n"],"mappings":"A,+VAUA,IAAMI,EAAe,CAAC,OAAQ,KAAM,KAAM,KAAM,KAAM,MAAO,MAAO,MAAM,EAIpEC,EAAO,CAAC,QAAS,UAAW,OAAQ,OAAQ,YAAY,EACxDC,EAAU,CAAC,OAAQ,KAAM,KAAM,KAAM,IAAI,EAMlCC,EAAN,cAAoBC,CAAW,C,8BAE9B,KAAA,IAAA,GAEG,KAAA,OAAA,GAED,KAAA,MAAA,GAEF,KAAA,IAAA,GAEiB,KAAA,MAAA,KAEC,KAAA,OAAA,KAEd,KAAA,QAAA,OAEM,KAAA,cAAA,GAEL,KAAA,SAAA,GAEA,KAAA,IAAA,QAEU,KAAA,OAAA,OAEJ,KAAA,OAAA,M,CAEjB,QAAS,CAOP,IAAME,EAAa,UALFC,EAAQN,EAAM,KAAK,GAAG,EAAI,KAAK,IAAM,QAKV,GAAG,UAJhCM,EAAQP,EAAc,KAAK,MAAM,EAAI,KAAK,OAAS,SAIP,GAAG,UAFhCO,EAAQL,EAAS,KAAK,MAAM,EAAI,KAAK,OAAS,WAUtEM,EAAM,KAAK,gBAAkB,OAEnC,MAAO,EAAI;;eAEA,KAAK,IAAI;kBACN,KAAK,QAAUC,EAAQ;iBACxB,KAAK,OAASA,EAAQ;eACxB,KAAK,IAAI;iBACP,KAAK,OAASA,EAAQ;kBACrB,KAAK,QAAUA,EAAQ;mBACtBD,EAAMC,EAAU,KAAK,QAAQ;yBACvB,KAAK,eAAiBA,EAAQ;oBACnC,KAAK,UAAYA,EAAQ;iBAC5BH,EAAW;iBACX,KAAK,YAAY;kBAChB,KAAK,aAAa;;KAGlC,CAEA,aAAc,CACZ,KAAK,cAAc,IAAI,YAAY,eAAgB,CACjD,QAAU,GACV,SAAU,EACZ,CAAC,CAAC,CACJ,CAEA,cAAe,CACb,KAAK,cAAc,IAAI,YAAY,cAAe,CAChD,QAAU,GACV,SAAU,EACZ,CAAC,CAAC,CACJ,C,OAEgB,KAAA,OAAA,CAACV,CAAM,C,CACzB,EA3EGC,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,MAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,SAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,MAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,SAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,UAAW,eAAgB,CAAC,CAAA,EAAAP,EAAA,UAAA,gBAAA,IAAA,EAAA,EAErDN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,WAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,MAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,SAAA,IAAA,EAAA,EAEzBN,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAP,EAAA,UAAA,SAAA,IAAA,EAAA,EAxB3B,EAAAN,EAAA,CAAAc,EAAc,QAAQ,CAAA,EAAAR,CAAA,E"}
|
|
@@ -1,94 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
/**
|
|
3
|
-
* What the clipboard field adds to the shared field chrome: a paste button
|
|
4
|
-
* sitting over the right-hand end of the input.
|
|
5
|
-
*
|
|
6
|
-
* Everything else — label, sizes, states, help text — comes from
|
|
7
|
-
* shared/form-field.css.ts.
|
|
8
|
-
*/
|
|
9
|
-
export default css `
|
|
10
|
-
.input-with-button {
|
|
11
|
-
position: relative;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* Clearance for the button. Typed so it outranks the .input-* size classes,
|
|
17
|
-
which set the padding shorthand. */
|
|
18
|
-
input.form-input-bd {
|
|
19
|
-
flex: 1;
|
|
20
|
-
padding-inline-end: var(--spacing-40);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.paste-button {
|
|
24
|
-
position: absolute;
|
|
25
|
-
inset-inline-end: var(--spacing-8);
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
background: transparent;
|
|
29
|
-
border: none;
|
|
30
|
-
padding: 0;
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
font-family: var(--typography-fontFamily-sans);
|
|
33
|
-
/* no role: this button holds one 20x20 svg and no text, so there is no
|
|
34
|
-
text-content type for a role to describe -- the same glyph-box category
|
|
35
|
-
as .bd-arrow's fallback typography.
|
|
36
|
-
.
|
|
37
|
-
Unlike the other rows closed in this pass, this declaration is NOT
|
|
38
|
-
redundant and is marked rather than removed. Measured: at "revert" the
|
|
39
|
-
button falls to the UA's 13.333px, so the line does real work in
|
|
40
|
-
normalising a <button> to the inherited step; it simply has nothing to
|
|
41
|
-
act on today, since the box measures 20x20 at either value. Deleting it
|
|
42
|
-
would let the UA size surface the day the button gains a label. */
|
|
43
|
-
font-size: var(--typography-fontSize-base);
|
|
44
|
-
color: var(--color-text-secondary);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* It is a real button and had no focus indicator at all, which is a 2.4.7
|
|
48
|
-
failure — reachable by keyboard, invisible once reached. The ring is the
|
|
49
|
-
shared one; the radius is the default for an element with no radius of its
|
|
50
|
-
own, so the ring is not a hard rectangle. */
|
|
51
|
-
.paste-button:focus-visible {
|
|
52
|
-
/* forced-colors mode does not paint box-shadow, so the ring
|
|
53
|
-
vanishes there; it does paint an outline, in a system colour. This one
|
|
54
|
-
is transparent everywhere else, and the offset lands it on the ring's
|
|
55
|
-
outer band. */
|
|
56
|
-
outline: var(--border-width-2) solid transparent;
|
|
57
|
-
outline-offset: var(--focus-outline-offset);
|
|
58
|
-
box-shadow: var(--focus-outline-primary);
|
|
59
|
-
border-radius: var(--focus-outline-radius);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/* The live region a paste is announced through; see _say() in
|
|
63
|
-
input-clipboard.ts. Out of view, in the accessibility tree. */
|
|
64
|
-
.paste-status {
|
|
65
|
-
position: absolute;
|
|
66
|
-
/* no token: 1px is the clip idiom's own measure, not a border -- the same
|
|
67
|
-
sanctioned literal as visually-hidden.css.ts. */
|
|
68
|
-
width: 1px;
|
|
69
|
-
height: 1px;
|
|
70
|
-
margin: -1px;
|
|
71
|
-
overflow: hidden;
|
|
72
|
-
clip-path: inset(50%);
|
|
73
|
-
white-space: nowrap;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.paste-button:hover {
|
|
77
|
-
color: var(--color-text-primary);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.paste-button:disabled {
|
|
81
|
-
cursor: not-allowed;
|
|
82
|
-
/* the field expresses disabled with the neutral ramp, not with opacity.
|
|
83
|
-
|
|
84
|
-
The same token the field beside it disables to. This was
|
|
85
|
-
--color-text-disabled, which is neutral-400 and measures 3.23:1 on white
|
|
86
|
-
where every other disabled label in the family -- both text inputs, all
|
|
87
|
-
three selection controls, and bd-button -- measures 4.67:1. Disabled text
|
|
88
|
-
is exempt under 1.4.3, so neither reading was a failure; they were two
|
|
89
|
-
answers to one question inside one component, since the field this button
|
|
90
|
-
sits in already disables to --form-input-disabled-color. */
|
|
91
|
-
color: var(--form-input-disabled-color);
|
|
92
|
-
}
|
|
93
|
-
`;
|
|
1
|
+
import{css as e}from"lit";var t=e`.input-with-button{align-items:center;display:flex;position:relative}input.form-input-bd{flex:1;padding-inline-end:var(--spacing-40)}.paste-button{cursor:pointer;font-family:var(--typography-fontFamily-sans);font-size:var(--typography-fontSize-base);color:var(--color-text-secondary);background:0 0;border:none;align-items:center;padding:0;display:inline-flex;position:absolute;inset-inline-end:var(--spacing-8)}.paste-button:focus-visible{outline:var(--border-width-2) solid transparent;outline-offset:var(--focus-outline-offset);box-shadow:var(--focus-outline-primary);border-radius:var(--focus-outline-radius)}.paste-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.paste-button:hover{color:var(--color-text-primary)}.paste-button:disabled{cursor:not-allowed;color:var(--form-input-disabled-color)}`;export{t as default};
|
|
94
2
|
//# sourceMappingURL=input-clipboard.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-clipboard.css.js","
|
|
1
|
+
{"version":3,"file":"input-clipboard.css.js","names":["input_clipboard_css_default"],"sources":["../../../../src/components/input/input-clipboard.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/**\n * What the clipboard field adds to the shared field chrome: a paste button\n * sitting over the right-hand end of the input.\n *\n * Everything else — label, sizes, states, help text — comes from\n * shared/form-field.css.ts.\n */\nexport default css`\n .input-with-button {\n position: relative;\n display: flex;\n align-items: center;\n }\n\n /* Clearance for the button. Typed so it outranks the .input-* size classes,\n which set the padding shorthand. */\n input.form-input-bd {\n flex: 1;\n padding-inline-end: var(--spacing-40);\n }\n\n .paste-button {\n position: absolute;\n inset-inline-end: var(--spacing-8);\n display: inline-flex;\n align-items: center;\n background: transparent;\n border: none;\n padding: 0;\n cursor: pointer;\n font-family: var(--typography-fontFamily-sans);\n /* no role: this button holds one 20x20 svg and no text, so there is no\n text-content type for a role to describe -- the same glyph-box category\n as .bd-arrow's fallback typography.\n .\n Unlike the other rows closed in this pass, this declaration is NOT\n redundant and is marked rather than removed. Measured: at \"revert\" the\n button falls to the UA's 13.333px, so the line does real work in\n normalising a <button> to the inherited step; it simply has nothing to\n act on today, since the box measures 20x20 at either value. Deleting it\n would let the UA size surface the day the button gains a label. */\n font-size: var(--typography-fontSize-base);\n color: var(--color-text-secondary);\n }\n\n /* It is a real button and had no focus indicator at all, which is a 2.4.7\n failure — reachable by keyboard, invisible once reached. The ring is the\n shared one; the radius is the default for an element with no radius of its\n own, so the ring is not a hard rectangle. */\n .paste-button:focus-visible {\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n border-radius: var(--focus-outline-radius);\n }\n\n /* The live region a paste is announced through; see _say() in\n input-clipboard.ts. Out of view, in the accessibility tree. */\n .paste-status {\n position: absolute;\n /* no token: 1px is the clip idiom's own measure, not a border -- the same\n sanctioned literal as visually-hidden.css.ts. */\n width: 1px;\n height: 1px;\n margin: -1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n }\n\n .paste-button:hover {\n color: var(--color-text-primary);\n }\n\n .paste-button:disabled {\n cursor: not-allowed;\n /* the field expresses disabled with the neutral ramp, not with opacity.\n\n The same token the field beside it disables to. This was\n --color-text-disabled, which is neutral-400 and measures 3.23:1 on white\n where every other disabled label in the family -- both text inputs, all\n three selection controls, and bd-button -- measures 4.67:1. Disabled text\n is exempt under 1.4.3, so neither reading was a failure; they were two\n answers to one question inside one component, since the field this button\n sits in already disables to --form-input-disabled-color. */\n color: var(--form-input-disabled-color);\n }\n`;\n"],"mappings":"A,0BASA,IAAAA,EAAe,CAAG,s2B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement, type PropertyValues } from "lit";
|
|
2
|
-
import "../shared/events.
|
|
3
|
-
import "../../tokens/tokens.
|
|
4
|
-
import { type Size } from
|
|
5
|
-
import { Announcer } from "../shared/announcer.
|
|
6
|
-
declare const CustomInputClipboard_base: (new (...args: any[]) => import("../shared/form-control.
|
|
2
|
+
import "../shared/events.js";
|
|
3
|
+
import "../../tokens/tokens.js";
|
|
4
|
+
import { type Size } from "../shared/prop-vocabulary.js";
|
|
5
|
+
import { Announcer } from "../shared/announcer.js";
|
|
6
|
+
declare const CustomInputClipboard_base: (new (...args: any[]) => import("../shared/form-control.js").ValueControlInterface) & (new (...args: any[]) => import("../shared/form-control.js").FormControlInterface) & typeof LitElement;
|
|
7
7
|
/**
|
|
8
8
|
* A text field with a paste button. Form-associated, as bd-custom-input is
|
|
9
9
|
* (shared/form-control.ts): the <input> is in this shadow root, where it has
|