@repobit/dex-system-design 0.25.12 → 0.26.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 +187 -0
- package/README.md +131 -8
- package/package.json +95 -13
- package/schemas/component-manifest.json +3294 -405
- package/schemas/manifest-omissions.json +173 -0
- package/src/blog/src/breakpoints.js +6 -6
- package/src/blog/src/content/blog-atoms-showcase.js +1 -1
- package/src/blog/src/content/blog-page-layout.js +2 -2
- package/src/blog/src/lib/article-toc.js +7 -7
- package/src/blog/src/shell/blog-shell.js +1 -1
- package/src/blog/src/tokens/blog.js +2 -2
- package/src/blog/src/tokens/core.js +34 -35
- package/src/blog/src/tokens/legacy.js +0 -9
- package/src/blog/tokens/blog.js +2 -2
- package/src/blog/tokens/core.js +34 -35
- package/src/blog/tokens/legacy.js +0 -9
- package/src/blog/tokens.css +36 -46
- package/src/components/accordion/accordion-bg.css.js +83 -59
- package/src/components/accordion/accordion-bg.js +29 -10
- package/src/components/accordion/accordion-bg.stories.js +67 -67
- package/src/components/accordion/accordion-keyboard.js +80 -0
- package/src/components/accordion/accordion.css.js +142 -80
- package/src/components/accordion/accordion.js +37 -10
- package/src/components/accordion/accordion.stories.js +7 -7
- package/src/components/agent-endpoints/agent-endpoints.css.js +36 -39
- package/src/components/agent-endpoints/agent-endpoints.js +30 -20
- package/src/components/agent-endpoints/agent-endpoints.stories.js +1 -1
- package/src/components/ai-guardian-demo.stories.js +91 -91
- package/src/components/alert/alert.css.js +198 -0
- package/src/components/alert/alert.js +103 -0
- package/src/components/alert/alert.stories.js +206 -0
- package/src/components/anchor/anchor-nav.css.js +213 -101
- package/src/components/anchor/anchor-nav.js +26 -40
- package/src/components/anchor/anchor.stories.js +22 -12
- package/src/components/annotation/annotation.css.js +58 -0
- package/src/components/annotation/annotation.js +67 -0
- package/src/components/annotation/annotation.stories.js +63 -0
- package/src/components/architecture.stories.js +285 -0
- package/src/components/atoms.stories.js +342 -0
- package/src/components/avatar/avatar.css.js +67 -0
- package/src/components/avatar/avatar.js +42 -0
- package/src/components/avatar/avatar.stories.js +95 -0
- package/src/components/awards/awards-flex.css.js +209 -23
- package/src/components/awards/awards-flex.js +66 -7
- package/src/components/awards/awards-flex.stories.js +1 -1
- package/src/components/awards/{awards-light.stories.js → awards-summary.stories.js} +54 -64
- package/src/components/awards/awards.css.js +116 -58
- package/src/components/awards/awards.js +102 -28
- package/src/components/awards/awards.stories.js +1 -1
- package/src/components/back/back.css.js +51 -22
- package/src/components/back/back.js +28 -7
- package/src/components/back/back.stories.js +9 -3
- package/src/components/badge/badge.css.js +158 -46
- package/src/components/badge/badge.js +62 -74
- package/src/components/badge/badge.stories.js +176 -248
- package/src/components/bento-grid/bento-grid.css.js +21 -16
- package/src/components/bento-grid/bento-grid.js +16 -4
- package/src/components/bento-grid/bento-grid.stories.js +19 -18
- package/src/components/bento-grid/bento-item.css.js +52 -28
- package/src/components/bento-grid/bento-item.js +2 -2
- package/src/components/blockquote/blockquote.css.js +47 -0
- package/src/components/blockquote/blockquote.js +29 -0
- package/src/components/blockquote/blockquote.stories.js +62 -0
- package/src/components/breadcrumb/breadcrumb.css.js +92 -22
- package/src/components/breadcrumb/breadcrumb.js +56 -11
- package/src/components/button/button.css.js +531 -161
- package/src/components/button/button.js +206 -214
- package/src/components/button/button.stories.js +322 -174
- package/src/components/caption/caption.css.js +21 -0
- package/src/components/caption/caption.js +31 -0
- package/src/components/caption/caption.stories.js +62 -0
- package/src/components/card-features/card-features.css.js +14 -22
- package/src/components/card-features/card-features.js +68 -9
- package/src/components/card-features/card-features.stories.js +11 -11
- package/src/components/cards/card.css.js +60 -81
- package/src/components/cards/card.js +56 -25
- package/src/components/cards/card.stories.js +39 -39
- package/src/components/carousel/carousel.css.js +93 -99
- package/src/components/carousel/carousel.js +32 -4
- package/src/components/checkbox/checkbox.css.js +111 -93
- package/src/components/checkbox/checkbox.js +64 -90
- package/src/components/checkbox/checkbox.stories.js +96 -29
- package/src/components/code/code.css.js +70 -0
- package/src/components/code/code.js +40 -0
- package/src/components/code/code.stories.js +73 -0
- package/src/components/compare/compare.css.js +179 -43
- package/src/components/compare/compare.js +52 -25
- package/src/components/compare/compare.stories.js +61 -4
- package/src/components/comparison-panel/comparison-panel.css.js +38 -51
- package/src/components/comparison-panel/comparison-panel.js +5 -4
- package/src/components/comparison-panel/comparison-panel.stories.js +1 -1
- package/src/components/compatibility-table/compatibility-table.css.js +180 -80
- package/src/components/compatibility-table/compatibility-table.js +37 -9
- package/src/components/control-alignment.stories.js +393 -0
- package/src/components/cta-banner/cta-banner.css.js +41 -13
- package/src/components/cta-banner/cta-banner.js +6 -5
- package/src/components/cta-banner/cta-banner.stories.js +43 -98
- package/src/components/display/display.css.js +25 -1
- package/src/components/display/display.js +46 -13
- package/src/components/display/display.stories.js +270 -40
- package/src/components/divider/divider-horizontal.js +21 -5
- package/src/components/divider/divider-vertical.js +15 -7
- package/src/components/divider/divider.css.js +2 -2
- package/src/components/divider/divider.stories.js +38 -34
- package/src/components/dropdown/dropdown.css.js +93 -126
- package/src/components/dropdown/dropdown.js +114 -34
- package/src/components/dropdown/dropdown.stories.js +56 -24
- package/src/components/features/features.css.js +24 -11
- package/src/components/features/features.js +7 -3
- package/src/components/features/features.stories.js +37 -37
- package/src/components/features-tab/features-tab.css.js +19 -8
- package/src/components/features-tab/features-tab.js +6 -5
- package/src/components/features-tab/features-tab.stories.js +23 -23
- package/src/components/fieldset/fieldset.css.js +30 -0
- package/src/components/fieldset/fieldset.js +28 -0
- package/src/components/fieldset/fieldset.stories.js +84 -0
- package/src/components/footer/footer-links-group.css.js +10 -14
- package/src/components/footer/footer-links-group.js +4 -3
- package/src/components/footer/footer-lp.css.js +59 -30
- package/src/components/footer/footer-lp.js +17 -12
- package/src/components/footer/footer-lp.stories.js +63 -75
- package/src/components/footer/footer-nav-menu.css.js +26 -4
- package/src/components/footer/footer-nav-menu.js +3 -2
- package/src/components/footer/footer.css.js +146 -264
- package/src/components/footer/footer.js +176 -106
- package/src/components/footer/footer.stories.js +9 -9
- package/src/components/footer/localeMap.js +1 -1
- package/src/components/grid/grid.css.js +1 -1
- package/src/components/grid/grid.js +49 -7
- package/src/components/grid/grid.stories.js +111 -0
- package/src/components/header/header-code.css.js +61 -51
- package/src/components/header/header-code.js +28 -14
- package/src/components/header/header-code.stories.js +5 -5
- package/src/components/header/header.css.js +655 -176
- package/src/components/header/header.js +269 -36
- package/src/components/header/header.stories.js +841 -18
- package/src/components/heading/heading.css.js +14 -17
- package/src/components/heading/heading.js +48 -33
- package/src/components/heading/heading.stories.js +27 -25
- package/src/components/help-text/help-text.css.js +21 -0
- package/src/components/help-text/help-text.js +25 -0
- package/src/components/help-text/help-text.stories.js +66 -0
- package/src/components/highlight/highlight.css.js +86 -64
- package/src/components/highlight/highlight.js +18 -27
- package/src/components/highlight/highlight.stories.js +14 -3
- package/src/components/icons/analysis-icon.js +6 -16
- package/src/components/icons/arrow-down-icon.js +6 -19
- package/src/components/icons/arrow-icon.js +44 -0
- package/src/components/icons/arrow-right-icon.js +30 -23
- package/src/components/icons/arrow-up-icon.js +19 -18
- package/src/components/icons/bd-ai-icon.js +1 -1
- package/src/components/icons/brand-marks.stories.js +279 -0
- package/src/components/icons/brand-signature-icon.js +42 -0
- package/src/components/icons/check-icon.js +27 -0
- package/src/components/icons/circle-info-icon.js +33 -0
- package/src/components/icons/close-icon.js +6 -18
- package/src/components/icons/family-icon.js +8 -20
- package/src/components/icons/globe-icon.js +6 -18
- package/src/components/icons/guide-icon.js +6 -18
- package/src/components/icons/icon-element.js +99 -0
- package/src/components/icons/icons.js +36 -0
- package/src/components/icons/icons.stories.js +184 -52
- package/src/components/icons/individual-icon.js +6 -18
- package/src/components/icons/laurel-icon.js +9 -19
- package/src/components/icons/machine-learning-icon.js +6 -17
- package/src/components/icons/marks.js +41 -0
- package/src/components/icons/minus-icon.js +7 -21
- package/src/components/icons/missing-icon.js +52 -0
- package/src/components/icons/plus-icon.js +7 -21
- package/src/components/icons/quote-icon.js +19 -19
- package/src/components/image/image.css.js +72 -25
- package/src/components/image/image.js +11 -6
- package/src/components/image/image.stories.js +2 -2
- package/src/components/input/custom-form.stories.js +214 -62
- package/src/components/input/input-clipboard.css.js +51 -144
- package/src/components/input/input-clipboard.js +31 -15
- package/src/components/input/input.css.js +8 -146
- package/src/components/input/input.js +93 -38
- package/src/components/install-options/install-options.css.js +84 -77
- package/src/components/install-options/install-options.js +33 -30
- package/src/components/install-options/install-options.stories.js +3 -3
- package/src/components/label/label.css.js +35 -0
- package/src/components/label/label.js +38 -0
- package/src/components/label/label.stories.js +82 -0
- package/src/components/light-carousel/light-carousel.css.js +111 -63
- package/src/components/light-carousel/light-carousel.js +85 -11
- package/src/components/light-carousel/light-carousel.stories.js +126 -82
- package/src/components/link/link.css.js +150 -99
- package/src/components/link/link.js +86 -11
- package/src/components/link/link.stories.js +124 -30
- package/src/components/list/list-item/list-item.css.js +74 -22
- package/src/components/list/list-item/list-item.js +32 -10
- package/src/components/list/list-item/list-item.stories.js +23 -23
- package/src/components/list/list.css.js +8 -2
- package/src/components/list/list.js +3 -2
- package/src/components/list/list.stories.js +222 -0
- package/src/components/modal/modal.css.js +114 -24
- package/src/components/modal/modal.js +83 -7
- package/src/components/modal/modal.stories.js +9 -9
- package/src/components/overview/overview.css.js +19 -14
- package/src/components/overview/overview.js +6 -5
- package/src/components/overview/overview.stories.js +10 -10
- package/src/components/page-switcher/page-switcher.css.js +97 -40
- package/src/components/page-switcher/page-switcher.js +28 -5
- package/src/components/page-switcher/page-switcher.stories.js +95 -0
- package/src/components/paragraph/paragraph.css.js +15 -10
- package/src/components/paragraph/paragraph.js +41 -44
- package/src/components/paragraph/paragraph.stories.js +56 -21
- package/src/components/picture/picture.css.js +103 -44
- package/src/components/picture/picture.js +100 -30
- package/src/components/picture/picture.stories.js +1 -1
- package/src/components/pricing-cards/new-pricing-card.js +3 -3
- package/src/components/pricing-cards/new-pricing.css.js +24 -15
- package/src/components/pricing-cards/pricing-card-actions.css.js +1 -1
- package/src/components/pricing-cards/pricing-card-actions.js +3 -4
- package/src/components/pricing-cards/pricing-card-container.css.js +3 -3
- package/src/components/pricing-cards/pricing-card-container.js +3 -2
- package/src/components/pricing-cards/pricing-card-header.css.js +10 -8
- package/src/components/pricing-cards/pricing-card-header.js +6 -7
- package/src/components/pricing-cards/pricing-card-pricing.css.js +16 -9
- package/src/components/pricing-cards/pricing-card-pricing.js +8 -6
- package/src/components/pricing-cards/pricing-card-show-more.css.js +11 -3
- package/src/components/pricing-cards/pricing-card-show-more.js +8 -3
- package/src/components/pricing-cards/pricing-card.css.js +244 -190
- package/src/components/pricing-cards/pricing-card.js +54 -70
- package/src/components/pricing-cards/pricing-feature-item.css.js +25 -8
- package/src/components/pricing-cards/pricing-feature-item.js +8 -3
- package/src/components/process-steps/process-steps.css.js +26 -14
- package/src/components/process-steps/process-steps.js +23 -6
- package/src/components/process-steps/process-steps.stories.js +1 -1
- package/src/components/progress/progress.css.js +80 -0
- package/src/components/progress/progress.js +42 -0
- package/src/components/progress/progress.stories.js +79 -0
- package/src/components/quick-answer/quick-answer.css.js +75 -13
- package/src/components/quick-answer/quick-answer.js +8 -3
- package/src/components/radio/radio.css.js +92 -128
- package/src/components/radio/radio.js +106 -127
- package/src/components/radio/radio.stories.js +54 -19
- package/src/components/review/review-grid.css.js +5 -6
- package/src/components/review/review-grid.js +14 -11
- package/src/components/review/review.css.js +11 -6
- package/src/components/review/review.js +3 -8
- package/src/components/shared/ensemble.css.js +93 -0
- package/src/components/shared/form-field.css.js +206 -0
- package/src/components/shared/prop-vocabulary.js +48 -0
- package/src/components/shared/token-scales.js +306 -0
- package/src/components/skeleton/skeleton.css.js +34 -0
- package/src/components/skeleton/skeleton.js +32 -0
- package/src/components/skeleton/skeleton.stories.js +70 -0
- package/src/components/spinner/spinner.css.js +62 -0
- package/src/components/spinner/spinner.js +38 -0
- package/src/components/spinner/spinner.stories.js +92 -0
- package/src/components/spotlight-section/spotlight-section.css.js +14 -13
- package/src/components/spotlight-section/spotlight-section.js +42 -39
- package/src/components/switch/switch.css.js +103 -0
- package/src/components/switch/switch.js +44 -0
- package/src/components/switch/switch.stories.js +86 -0
- package/src/components/tab-list/content-switcher.stories.js +189 -0
- package/src/components/tab-list/tab-list.css.js +250 -0
- package/src/components/tab-list/tab-list.js +184 -0
- package/src/components/tab-list/tab-list.stories.js +221 -0
- package/src/components/tabs/tabs.css.js +14 -123
- package/src/components/tabs/tabs.js +16 -19
- package/src/components/tabs/tabs.stories.js +95 -95
- package/src/components/tag/tag.css.js +54 -0
- package/src/components/tag/tag.js +32 -0
- package/src/components/tag/tag.stories.js +126 -0
- package/src/components/terminal/terminal-message.css.js +164 -60
- package/src/components/terminal/terminal-message.js +5 -5
- package/src/components/terminal/terminal-message.stories.js +70 -1
- package/src/components/termsOfUse/terms.css.js +25 -20
- package/src/components/termsOfUse/terms.js +13 -9
- package/src/components/termsOfUse/terms.stories.js +1 -1
- package/src/components/textarea/textarea.css.js +51 -0
- package/src/components/textarea/textarea.js +136 -0
- package/src/components/textarea/textarea.stories.js +191 -0
- package/src/components/tooltip/tooltip.css.js +75 -0
- package/src/components/tooltip/tooltip.js +156 -0
- package/src/components/tooltip/tooltip.stories.js +161 -0
- package/src/components/trust-panel/trust-panel.css.js +85 -33
- package/src/components/trust-panel/trust-panel.js +18 -10
- package/src/components/trust-panel/trust-panel.stories.js +1 -1
- package/src/components/ultimate-security-demo.stories.js +431 -0
- package/src/components/video/video.css.js +17 -0
- package/src/components/video/video.js +40 -0
- package/src/components/video/video.stories.js +106 -0
- package/src/components/video-player/video-player.css.js +67 -11
- package/src/components/video-player/video-player.js +35 -4
- package/src/components/video-player/video-player.stories.js +1 -1
- package/src/components/visual-alignment.stories.js +411 -0
- package/src/components/visually-hidden/visually-hidden.css.js +24 -0
- package/src/components/visually-hidden/visually-hidden.js +16 -0
- package/src/components/visually-hidden/visually-hidden.stories.js +56 -0
- package/src/stories/Button.stories.js +17 -17
- package/src/stories/Header.stories.js +10 -10
- package/src/stories/Page.js +1 -1
- package/src/stories/Page.stories.js +6 -6
- package/src/tokens/borders.stories.js +339 -0
- package/src/tokens/color-responsibilities.stories.js +227 -0
- package/src/tokens/dark-derivation.js +309 -0
- package/src/tokens/dark-findings.js +197 -0
- package/src/tokens/dark-mode.stories.js +207 -0
- package/src/tokens/dimension.stories.js +251 -0
- package/src/tokens/elevation.stories.js +143 -0
- package/src/tokens/focus.stories.js +276 -0
- package/src/tokens/fonts.css +20 -20
- package/src/tokens/fonts.stories.js +354 -374
- package/src/tokens/layout.css +25 -11
- package/src/tokens/motion.stories.js +231 -0
- package/src/tokens/shape.stories.js +272 -0
- package/src/tokens/spacing-rhythm.stories.js +359 -0
- package/src/tokens/spacing.stories.js +208 -703
- package/src/tokens/story-chrome.js +503 -0
- package/src/tokens/surfaces.stories.js +224 -0
- package/src/tokens/text-on-surface.stories.js +164 -0
- package/src/tokens/token-map.js +220 -0
- package/src/tokens/token-map.stories.js +257 -0
- package/src/tokens/token-purposes.js +266 -0
- package/src/tokens/tokens-grid.stories.js +388 -900
- package/src/tokens/tokens.css +1633 -1045
- package/src/tokens/tokens.js +1130 -492
- package/src/tokens/tokens.stories.js +137 -47
- package/src/tokens/type-ceiling-words.js +299 -0
- package/src/tokens/typography.stories.js +1003 -965
- package/src/tokens/vertical-rhythm.stories.js +224 -0
- package/src/components/awards/awards-icon.js +0 -56
- package/src/components/awards/awards-light.js +0 -240
- package/src/components/banner/banner.js +0 -60
- package/src/components/banner/banner.stories.js +0 -51
- package/src/components/button/icons.js +0 -24
- package/src/components/input/index.js +0 -0
- package/src/components/light-carousel/light-carousel-simple.css.js +0 -183
- package/src/components/light-carousel/light-carousel-simple.js +0 -74
- package/src/tokens/colors.js +0 -121
- package/src/tokens/typography.css.js +0 -207
- package/src/tokens/typography.js +0 -0
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
|
|
3
|
-
export default css`
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
--background-card-grey: var(--color-neutral-25);
|
|
7
|
-
--border-card-grey: var(--color-neutral-50);
|
|
8
|
-
padding-top: var(--spacing-32);
|
|
9
|
-
padding-bottom: var(--spacing-32);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.bd-section-title-s {
|
|
13
|
-
font-family: var(--typography-fontFamily-sans);
|
|
14
|
-
font-weight: var(--typography-fontWeight-semibold);
|
|
15
|
-
font-size: 2em;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.bd-header-light-carousel-s {
|
|
19
|
-
margin-bottom: 50px;
|
|
20
|
-
margin-top: 50px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.bd-light-carousel-s {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
position: relative;
|
|
28
|
-
width: 100%;
|
|
29
|
-
margin: var(--spacing-0) auto;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
padding-left: var(--spacing-14);
|
|
33
|
-
padding-right: var(--spacing-14);
|
|
34
|
-
max-width: 1400px;
|
|
35
|
-
margin: 0 auto;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.bd-light-carousel-title-s {
|
|
39
|
-
font-size: 28px;
|
|
40
|
-
font-weight: 700;
|
|
41
|
-
text-align: center;
|
|
42
|
-
color: #e4002b;
|
|
43
|
-
margin-bottom: 32px;
|
|
44
|
-
text-transform: uppercase;
|
|
45
|
-
letter-spacing: 0.5px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.bd-light-carousel-track-s {
|
|
49
|
-
scroll-behavior: smooth;
|
|
50
|
-
flex: 1;
|
|
51
|
-
position: relative;
|
|
52
|
-
padding: var(--spacing-0) var(--spacing-20);
|
|
53
|
-
overflow-x: auto;
|
|
54
|
-
overflow-y: hidden;
|
|
55
|
-
scrollbar-width: none;
|
|
56
|
-
-ms-overflow-style: none;
|
|
57
|
-
z-index: 1;
|
|
58
|
-
scroll-snap-type: x mandatory;
|
|
59
|
-
display: grid;
|
|
60
|
-
gap: 1.5rem;
|
|
61
|
-
grid-template-columns: repeat(4, 1fr);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.bd-light-carousel-track-s::-webkit-scrollbar {
|
|
65
|
-
display: none;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.bd-light-box-s {
|
|
69
|
-
flex: var(--spacing-0) var(--spacing-0) auto;
|
|
70
|
-
background: var(--background-card-grey);
|
|
71
|
-
border-radius: 28px;
|
|
72
|
-
padding: var(--spacing-32);
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
align-items: start;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
text-align: start;
|
|
77
|
-
transition: transform 0.2s ease-in-out;
|
|
78
|
-
min-height: 135px;
|
|
79
|
-
position: relative;
|
|
80
|
-
z-index: 2;
|
|
81
|
-
scroll-snap-align: start;
|
|
82
|
-
font-family: var(--typography-fontFamily-sans);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.bd-light-box-s h3 {
|
|
86
|
-
font-size: var(--heading-xsmall);
|
|
87
|
-
margin: var(--spacing-0) var(--spacing-8) var(--spacing-8) var(--spacing-0);
|
|
88
|
-
font-weight: 600;
|
|
89
|
-
font-family: var(--typography-fontFamily-sans);
|
|
90
|
-
text-align: center;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.bd-light-box-s p {
|
|
94
|
-
font-size: var(--spacing-16);
|
|
95
|
-
margin: var(--spacing-0) var(--spacing-0) 1em var(--spacing-0);
|
|
96
|
-
font-family: var(--typography-fontFamily-sans);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.bd-light-icon-s {
|
|
100
|
-
position: relative;
|
|
101
|
-
bottom: var(--spacing-6);
|
|
102
|
-
max-width: 100%;
|
|
103
|
-
height: var(--spacing-44);
|
|
104
|
-
width: var(--spacing-44);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.bd-light-box-header-s {
|
|
108
|
-
display: flex;
|
|
109
|
-
flex-direction: column;
|
|
110
|
-
align-items: flex-start;
|
|
111
|
-
gap: var(--spacing-8);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.bd-light-title-badge-wrapper-s {
|
|
115
|
-
display: flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
gap: var(--spacing-4, 4px);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@media (max-width: 1024px) {
|
|
121
|
-
.bd-light-box-s {
|
|
122
|
-
width: 380px;
|
|
123
|
-
padding: 1.5em;
|
|
124
|
-
}
|
|
125
|
-
.bd-light-box-s h3 {
|
|
126
|
-
font-size: 1.1em;
|
|
127
|
-
}
|
|
128
|
-
.bd-light-box-s p {
|
|
129
|
-
font-size: 0.95em;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.bd-light-carousel-track-s {
|
|
133
|
-
grid-template-columns: repeat(2, 1fr);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
@media (max-width: 768px) {
|
|
138
|
-
.bd-light-carousel-track-s {
|
|
139
|
-
display: flex;
|
|
140
|
-
flex-direction: column;
|
|
141
|
-
gap: var(--spacing-20);
|
|
142
|
-
overflow-x: hidden;
|
|
143
|
-
overflow-y: hidden;
|
|
144
|
-
scroll-behavior: smooth;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.bd-light-box-s {
|
|
148
|
-
width: 100%;
|
|
149
|
-
max-width: 400px;
|
|
150
|
-
margin: var(--spacing-0) auto;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.bd-arrow-s {
|
|
154
|
-
display: none;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
@media (max-width: 480px) {
|
|
159
|
-
.bd-light-box-s {
|
|
160
|
-
width: 100%;
|
|
161
|
-
padding: 1em;
|
|
162
|
-
min-height: 300px;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.bd-light-box-s h3 {
|
|
166
|
-
font-size: 1em;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.bd-light-box-s p {
|
|
170
|
-
font-size: 0.9em;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.bd-light-icon-s {
|
|
174
|
-
bottom: var(--spacing-10);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
@media (max-width: 600px) {
|
|
179
|
-
.bd-light-carousel-track-s {
|
|
180
|
-
grid-template-columns: 1fr;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
`;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { LitElement, html } from "lit";
|
|
2
|
-
import { tokens } from "../../tokens/tokens.js";
|
|
3
|
-
import "../heading/heading.js";
|
|
4
|
-
import carouselCSS from "../light-carousel/light-carousel-simple.css.js";
|
|
5
|
-
|
|
6
|
-
class CustomLightCarouselSimple extends LitElement {
|
|
7
|
-
static properties = {
|
|
8
|
-
title: { type: String }
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
constructor() {
|
|
12
|
-
super();
|
|
13
|
-
this.title = "";
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
render() {
|
|
17
|
-
return html`
|
|
18
|
-
<section class="bd-light-carousel-s">
|
|
19
|
-
${this.title
|
|
20
|
-
? html`
|
|
21
|
-
<div class="bd-header-light-carousel-s">
|
|
22
|
-
<h1 class="bd-section-title-s">${this.title}</h1>
|
|
23
|
-
</div>
|
|
24
|
-
`
|
|
25
|
-
: null}
|
|
26
|
-
<div class="bd-light-carousel-track-s">
|
|
27
|
-
<slot></slot>
|
|
28
|
-
</div>
|
|
29
|
-
</section>
|
|
30
|
-
`;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
class LightCarouselSimpleItem extends LitElement {
|
|
35
|
-
static properties = {
|
|
36
|
-
title: { type: String },
|
|
37
|
-
icon : { type: String }
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
constructor() {
|
|
41
|
-
super();
|
|
42
|
-
this.title = "";
|
|
43
|
-
this.icon = "";
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
render() {
|
|
47
|
-
return html`
|
|
48
|
-
<div class="bd-light-box-s">
|
|
49
|
-
<div class="bd-light-box-header-s">
|
|
50
|
-
${this.icon
|
|
51
|
-
? html`<img
|
|
52
|
-
src="${this.icon}"
|
|
53
|
-
alt="icon"
|
|
54
|
-
class="bd-light-icon-s"
|
|
55
|
-
/>`
|
|
56
|
-
: ""}
|
|
57
|
-
${this.title
|
|
58
|
-
? html`
|
|
59
|
-
<div class="bd-light-title-badge-wrapper-s">
|
|
60
|
-
<bd-h as="h4">${this.title}</bd-h>
|
|
61
|
-
</div>
|
|
62
|
-
`
|
|
63
|
-
: ""}
|
|
64
|
-
</div>
|
|
65
|
-
<slot></slot>
|
|
66
|
-
</div>
|
|
67
|
-
`;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
CustomLightCarouselSimple.styles = [tokens, carouselCSS];
|
|
71
|
-
LightCarouselSimpleItem.styles = [tokens, carouselCSS];
|
|
72
|
-
|
|
73
|
-
customElements.define("bd-light-carousel-simple-item", LightCarouselSimpleItem);
|
|
74
|
-
customElements.define("bd-light-carousel-simple-section", CustomLightCarouselSimple);
|
package/src/tokens/colors.js
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
export const colors = `
|
|
2
|
-
:root {
|
|
3
|
-
/* Colors */
|
|
4
|
-
--color-blue-50: #F0F7FF;
|
|
5
|
-
--color-blue-100: #D6E8FF;
|
|
6
|
-
--color-blue-200: #9EC8FF;
|
|
7
|
-
--color-blue-300: #6BABFF;
|
|
8
|
-
--color-blue-400: #338BFF;
|
|
9
|
-
--color-blue-500: #006eff;
|
|
10
|
-
--color-blue-600: #0059D6;
|
|
11
|
-
--color-blue-700: #0045AD;
|
|
12
|
-
--color-blue-800: #003385;
|
|
13
|
-
--color-blue-900: #00225C;
|
|
14
|
-
--color-blue-950: #001947;
|
|
15
|
-
|
|
16
|
-
--color-red-50: #FFF0F0;
|
|
17
|
-
--color-red-100: #FFD6D6;
|
|
18
|
-
--color-red-200: #FF9E9E;
|
|
19
|
-
--color-red-300: #FF6B6B;
|
|
20
|
-
--color-red-400: #FF3333;
|
|
21
|
-
--color-red-500: #FF0000;
|
|
22
|
-
--color-red-600: #D60000;
|
|
23
|
-
--color-red-700: #AD0000;
|
|
24
|
-
--color-red-800: #850000;
|
|
25
|
-
--color-red-900: #5C0000;
|
|
26
|
-
--color-red-950: #470000;
|
|
27
|
-
|
|
28
|
-
--color-green-50: #EDFDF1;
|
|
29
|
-
--color-green-100: #D1FADC;
|
|
30
|
-
--color-green-200: #9AF4B4;
|
|
31
|
-
--color-green-300: #63EE8D;
|
|
32
|
-
--color-green-400: #2CE767;
|
|
33
|
-
--color-green-500: #15C14F;
|
|
34
|
-
--color-green-600: #12A641;
|
|
35
|
-
--color-green-700: #0E8532;
|
|
36
|
-
--color-green-800: #0B6A26;
|
|
37
|
-
--color-green-900: #084A1A;
|
|
38
|
-
--color-green-950: #063C14;
|
|
39
|
-
|
|
40
|
-
--color-yellow-50: #FFFBF0;
|
|
41
|
-
--color-yellow-100: #FFF5D6;
|
|
42
|
-
--color-yellow-200: #FFE89E;
|
|
43
|
-
--color-yellow-300: #FFDC6B;
|
|
44
|
-
--color-yellow-400: #FFCF33;
|
|
45
|
-
--color-yellow-500: #FFC400;
|
|
46
|
-
--color-yellow-600: #D6A000;
|
|
47
|
-
--color-yellow-700: #AD7F00;
|
|
48
|
-
--color-yellow-800: #855F00;
|
|
49
|
-
--color-yellow-900: #5C4000;
|
|
50
|
-
--color-yellow-950: #473100;
|
|
51
|
-
|
|
52
|
-
--color-neutral-0: #FFFFFF;
|
|
53
|
-
--color-neutral-25: #FAFAFA;
|
|
54
|
-
--color-neutral-50: #f1f2f3;
|
|
55
|
-
--color-neutral-100: #e1e3e5;
|
|
56
|
-
--color-neutral-200: #c5c9ce;
|
|
57
|
-
--color-neutral-300: #a6adb4;
|
|
58
|
-
--color-neutral-400: #88909b;
|
|
59
|
-
--color-neutral-500: #6c7580;
|
|
60
|
-
--color-neutral-600: #565e66;
|
|
61
|
-
--color-neutral-700: #41474d;
|
|
62
|
-
--color-neutral-800: #2c3035;
|
|
63
|
-
--color-neutral-900: #151719;
|
|
64
|
-
--color-neutral-950: #0c0d0e;
|
|
65
|
-
--color-neutral-1000: #000000;
|
|
66
|
-
|
|
67
|
-
/* Display default */
|
|
68
|
-
--display-xxsmall: 44pt;
|
|
69
|
-
--display-xsmall: 48pt;
|
|
70
|
-
--display-small: 52pt;
|
|
71
|
-
--display-medium: 56pt;
|
|
72
|
-
--display-large: 60pt;
|
|
73
|
-
--display-xlarge: 64pt;
|
|
74
|
-
|
|
75
|
-
/* Display mobile */
|
|
76
|
-
--display-xxsmall-mobile: 34pt;
|
|
77
|
-
--display-xsmall-mobile: 36pt;
|
|
78
|
-
--display-small-mobile: 38pt;
|
|
79
|
-
--display-medium-mobile: 40pt;
|
|
80
|
-
--display-large-mobile: 44pt;
|
|
81
|
-
--display-xlarge-mobile: 48pt;
|
|
82
|
-
|
|
83
|
-
/* Heading default */
|
|
84
|
-
--heading-xxsmall: 18pt;
|
|
85
|
-
--heading-xsmall: 20pt;
|
|
86
|
-
--heading-small: 24pt;
|
|
87
|
-
--heading-medium: 28pt;
|
|
88
|
-
--heading-large: 32pt;
|
|
89
|
-
--heading-xlarge: 36pt;
|
|
90
|
-
--heading-xxlarge: 40pt;
|
|
91
|
-
|
|
92
|
-
/* Heading mobile */
|
|
93
|
-
--heading-xxsmall-mobile: 18pt;
|
|
94
|
-
--heading-xsmall-mobile: 20pt;
|
|
95
|
-
--heading-small-mobile: 24pt;
|
|
96
|
-
--heading-medium-mobile: 26pt;
|
|
97
|
-
--heading-large-mobile: 28pt;
|
|
98
|
-
--heading-xlarge-mobile: 30pt;
|
|
99
|
-
--heading-xxlarge-mobile: 32pt;
|
|
100
|
-
|
|
101
|
-
/* Body default */
|
|
102
|
-
--body-small: 13pt;
|
|
103
|
-
--body-medium: 14pt;
|
|
104
|
-
--body-large: 16pt;
|
|
105
|
-
--body-xlarge: 18pt;
|
|
106
|
-
|
|
107
|
-
/* Caption default */
|
|
108
|
-
--caption-small: 11pt;
|
|
109
|
-
--caption-large: 12pt;
|
|
110
|
-
|
|
111
|
-
/* Caption mobile */
|
|
112
|
-
--caption-small-mobile: 11pt;
|
|
113
|
-
--caption-large-mobile: 12pt;
|
|
114
|
-
}
|
|
115
|
-
`;
|
|
116
|
-
|
|
117
|
-
export function applyColors() {
|
|
118
|
-
const style = document.createElement('style');
|
|
119
|
-
style.textContent = colors;
|
|
120
|
-
document.head.appendChild(style);
|
|
121
|
-
}
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { css } from "lit";
|
|
2
|
-
|
|
3
|
-
export default css`
|
|
4
|
-
|
|
5
|
-
/*<!-- typography -->*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/* <!-- display -->/
|
|
10
|
-
/* <!-- desktop -->*/
|
|
11
|
-
.text-display-xlarge {
|
|
12
|
-
font-family: 'Arial',sans-serif;
|
|
13
|
-
font-size: 4em;
|
|
14
|
-
line-height: 1.2;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.text-display-large {
|
|
18
|
-
font-family: 'Arial',sans-serif;
|
|
19
|
-
font-size: 3.75em;
|
|
20
|
-
line-height: 1.2;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.text-display-medium {
|
|
24
|
-
font-family: 'Arial',sans-serif;
|
|
25
|
-
font-size: 3.5em;
|
|
26
|
-
line-height: 1.2;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.text-display-small {
|
|
30
|
-
font-family: 'Arial',sans-serif;
|
|
31
|
-
font-size: 3.25em;
|
|
32
|
-
line-height: 1.2;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.text-display-xsmall {
|
|
36
|
-
font-family: 'Arial',sans-serif;
|
|
37
|
-
font-size: 3em;
|
|
38
|
-
line-height: 1.16;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.text-display-xxsmall {
|
|
42
|
-
font-family: 'Arial',sans-serif;
|
|
43
|
-
font-size: 2.75em;
|
|
44
|
-
line-height: 1.18;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* <!-- mobile -->
|
|
48
|
-
*/
|
|
49
|
-
.text-display-xlarge {
|
|
50
|
-
font-family: 'Arial',sans-serif;
|
|
51
|
-
font-size: 4em;
|
|
52
|
-
line-height: 1.2;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.text-display-large {
|
|
56
|
-
font-family: 'Arial',sans-serif;
|
|
57
|
-
font-size: 3.75em;
|
|
58
|
-
line-height: 1.2;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.text-display-medium {
|
|
62
|
-
font-family: 'Arial',sans-serif;
|
|
63
|
-
font-size: 3.5em;
|
|
64
|
-
line-height: 1.2;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.text-display-small {
|
|
68
|
-
font-family: 'Arial',sans-serif;
|
|
69
|
-
font-size: 3.25em;
|
|
70
|
-
line-height: 1.2;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.text-display-xsmall {
|
|
74
|
-
font-family: 'Arial',sans-serif;
|
|
75
|
-
font-size: 3em;
|
|
76
|
-
line-height: 1.16;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.text-display-xxsmall {
|
|
80
|
-
font-family: 'Arial',sans-serif;
|
|
81
|
-
font-size: 2.75em;
|
|
82
|
-
line-height: 1.18;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
/*<!-- heading -->
|
|
87
|
-
*/
|
|
88
|
-
/* <!-- desktop -->
|
|
89
|
-
*/
|
|
90
|
-
.text-heading-xxlarge {
|
|
91
|
-
font-family: 'Arial',sans-serif;
|
|
92
|
-
font-size: 2.5em;
|
|
93
|
-
line-height: 1.2;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.text-heading-xlarge {
|
|
97
|
-
font-family: 'Arial',sans-serif;
|
|
98
|
-
font-size: 2.25em;
|
|
99
|
-
line-height: 1.2;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.text-heading-large {
|
|
103
|
-
font-family: 'Arial',sans-serif;
|
|
104
|
-
font-size: 2em;
|
|
105
|
-
line-height: 1.25;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.text-heading-medium {
|
|
109
|
-
font-family: 'Arial',sans-serif;
|
|
110
|
-
font-size: 1.75em;
|
|
111
|
-
line-height: 1.28;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.text-heading-small {
|
|
115
|
-
font-family: 'Arial',sans-serif;
|
|
116
|
-
font-size: 1.5em;
|
|
117
|
-
line-height: 1.3;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.text-heading-xsmall {
|
|
121
|
-
font-family: 'Arial',sans-serif;
|
|
122
|
-
font-size: 1.25em;
|
|
123
|
-
line-height: 1.3;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.text-heading-xxsmall {
|
|
127
|
-
font-family: 'Arial',sans-serif;
|
|
128
|
-
font-size: 1.125em;
|
|
129
|
-
line-height: 1.33;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
/* <!-- mobile -->*/
|
|
134
|
-
.text-heading-xxlarge {
|
|
135
|
-
font-family: 'Arial',sans-serif;
|
|
136
|
-
font-size: 2em;
|
|
137
|
-
line-height: 1.25;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.text-heading-xlarge {
|
|
141
|
-
font-family: 'Arial',sans-serif;
|
|
142
|
-
font-size: 1.875em;
|
|
143
|
-
line-height: 1.25;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.text-heading-large {
|
|
147
|
-
font-family: 'Arial',sans-serif;
|
|
148
|
-
font-size: 1.75em;
|
|
149
|
-
line-height: 1.3;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.text-heading-medium {
|
|
153
|
-
font-family: 'Arial',sans-serif;
|
|
154
|
-
font-size: 1.625em;
|
|
155
|
-
line-height: 1.3;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
/*<!-- body -->*/
|
|
162
|
-
/* <!-- desktop & mobile -->
|
|
163
|
-
*/
|
|
164
|
-
|
|
165
|
-
.text-body-xlarge {
|
|
166
|
-
font-family: 'Arial',sans-serif;
|
|
167
|
-
font-size: 1.125em;
|
|
168
|
-
line-height: 1.2;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.text-body-large {
|
|
172
|
-
font-family: 'Arial',sans-serif;
|
|
173
|
-
font-size: 1em;
|
|
174
|
-
line-height: 1.25;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.text-body-medium {
|
|
178
|
-
font-family: 'Arial',sans-serif;
|
|
179
|
-
font-size: 0.875em;
|
|
180
|
-
line-height: 1.25;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.text-body-small {
|
|
184
|
-
font-family: 'Arial',sans-serif;
|
|
185
|
-
font-size: 0.813em;
|
|
186
|
-
line-height: 1.25;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/*<!-- caption -->*/
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
/*<!-- desktop & mobile -->*/
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
.text-body-large {
|
|
196
|
-
font-family: 'Arial',sans-serif;
|
|
197
|
-
font-size: 0.75em;
|
|
198
|
-
line-height: 1.45;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.text-body-small {
|
|
202
|
-
font-family: 'Arial',sans-serif;
|
|
203
|
-
font-size: 0.688em;
|
|
204
|
-
line-height: 1.33;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
`
|
package/src/tokens/typography.js
DELETED
|
File without changes
|