@keystone-sites/marketing-design-system 1.0.26 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -67
- package/fonts/gt-america-300-italic.woff2 +0 -0
- package/fonts/gt-america-300.woff2 +0 -0
- package/fonts/gt-america-400-italic.woff2 +0 -0
- package/fonts/gt-america-400.woff2 +0 -0
- package/fonts/gt-america-500.woff2 +0 -0
- package/fonts/gt-america-extended-300.woff2 +0 -0
- package/fonts/gt-america-extended-400.woff2 +0 -0
- package/fonts/gt-america-extended-500.woff2 +0 -0
- package/fonts/gt-america-extended-700.woff2 +0 -0
- package/fonts/gt-america-mono-300.woff2 +0 -0
- package/fonts/gt-america-mono-500.woff2 +0 -0
- package/fonts/pp-kyoto-vf.woff2 +0 -0
- package/package.json +46 -203
- package/src/base.css +300 -0
- package/src/fonts.css +131 -0
- package/src/hue.ts +17 -0
- package/src/icon.tsx +56 -0
- package/src/mark.tsx +14 -0
- package/src/motion.ts +123 -0
- package/src/parts/chip.css +84 -0
- package/src/parts/chip.tsx +40 -0
- package/src/parts/composer.css +195 -0
- package/src/parts/composer.tsx +220 -0
- package/src/parts/cx.ts +2 -0
- package/src/parts/faq.css +77 -0
- package/src/parts/faq.tsx +25 -0
- package/src/parts/footer.css +51 -0
- package/src/parts/footer.tsx +27 -0
- package/src/parts/nav.css +180 -0
- package/src/parts/nav.tsx +101 -0
- package/src/parts/photo.css +15 -0
- package/src/parts/photo.tsx +24 -0
- package/src/parts/plans.css +89 -0
- package/src/parts/plans.tsx +56 -0
- package/src/parts/prose.css +86 -0
- package/src/parts/prose.tsx +49 -0
- package/src/parts/shape.css +47 -0
- package/src/parts/shape.tsx +68 -0
- package/src/parts/split.tsx +49 -0
- package/src/parts/stamp.css +85 -0
- package/src/parts/stamp.tsx +36 -0
- package/src/parts/work-card.css +51 -0
- package/src/parts/work-card.tsx +40 -0
- package/src/set.css +439 -0
- package/src/styles.css +20 -0
- package/src/tokens/color.css +471 -0
- package/src/tokens/roles.css +12 -0
- package/src/tokens/type.css +11 -0
- package/src/wordmark.tsx +34 -0
- package/AGENTS.md +0 -192
- package/assets/media/brand/ks-lockup.svg +0 -13
- package/assets/media/brand/ks-logomark.svg +0 -4
- package/assets/media/brand/ks-wordmark-inline.svg +0 -13
- package/assets/media/brand/ks-wordmark.svg +0 -11
- package/assets/media/fonts/gt-standard-standard-vf.woff2 +0 -0
- package/assets/media/fonts/pp-kyoto-variable-upright-vf.woff2 +0 -0
- package/base.css +0 -113
- package/css-vars.d.ts +0 -10
- package/grid/engine.css +0 -367
- package/grid/field-hash.ts +0 -31
- package/grid/field.tsx +0 -48
- package/grid/gates.cjs +0 -35
- package/grid/region.tsx +0 -97
- package/icons.tsx +0 -1282
- package/index.css +0 -89
- package/lib/autoplay-gate.ts +0 -88
- package/lib/focus-trap.ts +0 -42
- package/lib/grader.ts +0 -123
- package/lib/legal-data.ts +0 -1
- package/lib/legal.ts +0 -41
- package/lib/noise.tsx +0 -114
- package/lib/phone.ts +0 -294
- package/lib/render-boundary.tsx +0 -27
- package/lib/scroll-lock.ts +0 -25
- package/lib/swipe.ts +0 -124
- package/lib/use-active-section.ts +0 -43
- package/lib/use-count-up.ts +0 -26
- package/lib/use-grader-search.ts +0 -143
- package/lib/use-popover.ts +0 -30
- package/lib/use-video-carousel.ts +0 -271
- package/media.ts +0 -558
- package/primitives/breadcrumb.css +0 -51
- package/primitives/breadcrumb.tsx +0 -46
- package/primitives/business-picker.css +0 -135
- package/primitives/business-picker.tsx +0 -298
- package/primitives/button-inline.css +0 -52
- package/primitives/button-inline.tsx +0 -38
- package/primitives/buttons.css +0 -551
- package/primitives/buttons.tsx +0 -330
- package/primitives/case-study-button.css +0 -71
- package/primitives/case-study-button.tsx +0 -28
- package/primitives/case-study-card.css +0 -318
- package/primitives/case-study-card.tsx +0 -116
- package/primitives/chip.css +0 -127
- package/primitives/chip.tsx +0 -53
- package/primitives/closer-row.css +0 -14
- package/primitives/closer-row.tsx +0 -22
- package/primitives/cta-row.css +0 -41
- package/primitives/cta-row.tsx +0 -39
- package/primitives/disclosure.css +0 -302
- package/primitives/disclosure.tsx +0 -277
- package/primitives/faq-question.css +0 -220
- package/primitives/faq-question.tsx +0 -55
- package/primitives/field.css +0 -279
- package/primitives/field.tsx +0 -376
- package/primitives/footer-item.css +0 -72
- package/primitives/footer-item.tsx +0 -42
- package/primitives/glyph-toggle.css +0 -62
- package/primitives/glyph-toggle.tsx +0 -42
- package/primitives/grader-menu.tsx +0 -84
- package/primitives/grader.css +0 -369
- package/primitives/grader.tsx +0 -285
- package/primitives/keystone-score.css +0 -156
- package/primitives/keystone-score.tsx +0 -204
- package/primitives/modal.css +0 -194
- package/primitives/modal.tsx +0 -204
- package/primitives/month-range.css +0 -80
- package/primitives/month-range.tsx +0 -183
- package/primitives/notice.css +0 -39
- package/primitives/notice.tsx +0 -56
- package/primitives/persona-card.css +0 -374
- package/primitives/persona-card.tsx +0 -74
- package/primitives/picture.css +0 -11
- package/primitives/picture.tsx +0 -41
- package/primitives/plan-card.css +0 -398
- package/primitives/plan-card.tsx +0 -153
- package/primitives/prose.css +0 -164
- package/primitives/prose.tsx +0 -194
- package/primitives/ramps.css +0 -77
- package/primitives/report-nav.css +0 -382
- package/primitives/report-nav.tsx +0 -353
- package/primitives/report.css +0 -601
- package/primitives/report.tsx +0 -357
- package/primitives/skeleton.css +0 -82
- package/primitives/skeleton.tsx +0 -56
- package/primitives/slider.css +0 -179
- package/primitives/slider.tsx +0 -69
- package/primitives/slug.css +0 -87
- package/primitives/slug.tsx +0 -37
- package/primitives/status.css +0 -427
- package/primitives/status.tsx +0 -323
- package/primitives/strip.css +0 -40
- package/primitives/surface.css +0 -88
- package/primitives/surface.tsx +0 -100
- package/primitives/table.css +0 -227
- package/primitives/table.tsx +0 -122
- package/primitives/tabs.css +0 -85
- package/primitives/tabs.tsx +0 -122
- package/primitives/tag.css +0 -46
- package/primitives/tag.tsx +0 -33
- package/primitives/text.css +0 -127
- package/primitives/toc.css +0 -65
- package/primitives/toc.tsx +0 -42
- package/primitives/tooltip.css +0 -56
- package/primitives/tooltip.tsx +0 -103
- package/rules/design-system.md +0 -154
- package/rules/grid-and-layout.md +0 -166
- package/scripts/generate-exports.mjs +0 -61
- package/scripts/generate-type-css.mjs +0 -130
- package/sections/faq-island.tsx +0 -102
- package/sections/faq.css +0 -213
- package/sections/faq.tsx +0 -46
- package/sections/footer-nav.tsx +0 -95
- package/sections/footer-signature.css +0 -223
- package/sections/footer-signature.tsx +0 -127
- package/sections/footer.css +0 -735
- package/sections/footer.tsx +0 -286
- package/sections/gallery-overlay.css +0 -213
- package/sections/gallery-overlay.tsx +0 -267
- package/sections/landing-benefits.css +0 -59
- package/sections/landing-benefits.tsx +0 -81
- package/sections/landing-closer.css +0 -23
- package/sections/landing-closer.tsx +0 -26
- package/sections/landing-hero.css +0 -80
- package/sections/landing-hero.tsx +0 -69
- package/sections/landing-quote.css +0 -19
- package/sections/landing-quote.tsx +0 -30
- package/sections/landing-sample.ts +0 -66
- package/sections/landing.css +0 -45
- package/sections/landing.tsx +0 -69
- package/sections/load-orchestrator.tsx +0 -43
- package/sections/load.css +0 -138
- package/sections/nav-desktop.css +0 -530
- package/sections/nav-desktop.tsx +0 -155
- package/sections/nav-menu.css +0 -57
- package/sections/nav-menu.tsx +0 -112
- package/sections/nav-mobile.css +0 -571
- package/sections/nav-mobile.tsx +0 -222
- package/sections/nav.css +0 -127
- package/sections/nav.tsx +0 -394
- package/sections/site-chat-data.ts +0 -16
- package/sections/site-chat-open.tsx +0 -25
- package/sections/site-chat.tsx +0 -67
- package/site-links.ts +0 -41
- package/site.ts +0 -2
- package/themes/inverted.css +0 -139
- package/tokens/fonts.css +0 -38
- package/tokens/motion.css +0 -150
- package/tokens/primitives.css +0 -163
- package/tokens/semantic.css +0 -159
- package/tokens/type-styles.json +0 -145
- package/tokens/type.css +0 -1548
- package/widgets.css +0 -78
package/widgets.css
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/* Chat widget utilities compile without preflight because base.css owns
|
|
2
|
-
normalization. Utilities stay unlayered so class rules beat the
|
|
3
|
-
unlayered element reset. `source(none)` limits scanning to the package.
|
|
4
|
-
Site tokens win shared `:root` names.
|
|
5
|
-
|
|
6
|
-
The consent panel's accents are locals on its root so a theme can
|
|
7
|
-
restate them (themes/inverted.css lifts them for the dark ground). */
|
|
8
|
-
|
|
9
|
-
@import "tailwindcss/theme.css" layer(theme);
|
|
10
|
-
@import "tailwindcss/utilities.css" source(none);
|
|
11
|
-
@import "@keystone-sites/widgets/theme.css";
|
|
12
|
-
|
|
13
|
-
.ks-chat-panel.pointer-events-none {
|
|
14
|
-
--ks-chat-accent-ink: var(--color-teal-700);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/* Match the prompt glyphs to the Grader arrow ink. */
|
|
18
|
-
.ks-chat-panel.pointer-events-none svg {
|
|
19
|
-
color: var(--color-teal-500);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* The mobile nav sheet owns the viewport while it is open. */
|
|
23
|
-
body:has(.knav-m[data-open]) .ks-chat-panel {
|
|
24
|
-
visibility: hidden;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* CookieConsentModal does not expose theme props. These overrides stay
|
|
28
|
-
scoped to its root class and map the packaged surface to site tokens. */
|
|
29
|
-
@layer primitives {
|
|
30
|
-
.ks-consent-panel {
|
|
31
|
-
--consent-accent: var(--color-teal-700);
|
|
32
|
-
--consent-accent-wash: color-mix(in srgb, var(--color-teal-700) 7%, transparent);
|
|
33
|
-
--consent-outline: var(--color-teal-500);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ks-consent-panel.ks-consent-panel,
|
|
38
|
-
.ks-consent-panel.ks-consent-panel * {
|
|
39
|
-
font-family: var(--font-sans) !important;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ks-consent-panel .ks-consent-serif.ks-consent-serif {
|
|
43
|
-
font-family: var(--font-serif) !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.ks-consent-panel > div {
|
|
47
|
-
color: var(--color-text-200) !important;
|
|
48
|
-
background-color: var(--color-bg-100) !important;
|
|
49
|
-
border-color: var(--color-border-000) !important;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ks-consent-panel a {
|
|
53
|
-
color: inherit !important;
|
|
54
|
-
text-decoration-color: var(--color-border-200) !important;
|
|
55
|
-
text-decoration-skip-ink: auto !important;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.ks-consent-panel button[class~="bg-[#2b2620]"] {
|
|
59
|
-
color: var(--color-teal-700) !important;
|
|
60
|
-
background-color: var(--color-teal-250) !important;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.ks-consent-panel button[class~="bg-[#2b2620]"]:hover {
|
|
64
|
-
background-color: var(--color-teal-300) !important;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.ks-consent-panel button[class~="border-[#2b2620]/[0.22]"] {
|
|
68
|
-
color: var(--consent-accent) !important;
|
|
69
|
-
border-color: var(--consent-accent) !important;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.ks-consent-panel button[class~="border-[#2b2620]/[0.22]"]:hover {
|
|
73
|
-
background-color: var(--consent-accent-wash) !important;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.ks-consent-panel :is(a, button):focus-visible {
|
|
77
|
-
outline-color: var(--consent-outline) !important;
|
|
78
|
-
}
|