@syscore/ui-library 2.0.0-beta-publish-workflow-beta.6 → 2.0.0-beta-publish-workflow-beta.7
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/client/components/icons/StandardLogo.tsx +16 -0
- package/client/components/icons/seals/IWBILogo.tsx +16 -3
- package/client/components/ui/card.tsx +26 -12
- package/client/components/ui/copy.tsx +3 -2
- package/client/components/ui/dialog.tsx +23 -3
- package/client/components/ui/hero-split-image.tsx +15 -0
- package/client/components/ui/price-tag.tsx +21 -0
- package/client/components/ui/section-badge.tsx +3 -0
- package/client/components/ui/standard-navigation.tsx +16 -3
- package/client/components/ui/stepper.tsx +14 -0
- package/client/global.css +241 -11
- package/client/ui/Dialog.stories.tsx +26 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.es.js +157 -46
- package/package.json +1 -1
|
@@ -3,10 +3,26 @@ import { cn } from "@/lib/utils";
|
|
|
3
3
|
export const StandardLogo = ({
|
|
4
4
|
className = "",
|
|
5
5
|
dark = false,
|
|
6
|
+
variant = "standard",
|
|
6
7
|
}: {
|
|
7
8
|
className?: string;
|
|
8
9
|
dark?: boolean;
|
|
10
|
+
variant?: "standard" | "well";
|
|
9
11
|
}) => {
|
|
12
|
+
if (variant === "well") {
|
|
13
|
+
return (
|
|
14
|
+
<span
|
|
15
|
+
className={cn(
|
|
16
|
+
"standard-logo-wordmark",
|
|
17
|
+
dark ? "text-gray-700" : "text-white",
|
|
18
|
+
className,
|
|
19
|
+
)}
|
|
20
|
+
>
|
|
21
|
+
WELL
|
|
22
|
+
</span>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
10
26
|
return (
|
|
11
27
|
<svg
|
|
12
28
|
width="93"
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
const SIZES = {
|
|
2
|
+
default: { width: 277, height: 180 },
|
|
3
|
+
medium: { width: 100, height: 65 },
|
|
4
|
+
small: { width: 64, height: 42 },
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export const IWBILogo = ({
|
|
8
|
+
className,
|
|
9
|
+
size = "default",
|
|
10
|
+
}: {
|
|
11
|
+
className?: string;
|
|
12
|
+
size?: "default" | "medium" | "small";
|
|
13
|
+
}) => {
|
|
14
|
+
const { width, height } = SIZES[size];
|
|
2
15
|
return (
|
|
3
16
|
<svg
|
|
4
|
-
width=
|
|
5
|
-
height=
|
|
17
|
+
width={width}
|
|
18
|
+
height={height}
|
|
6
19
|
viewBox="0 0 277 180"
|
|
7
20
|
fill="none"
|
|
8
21
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -13,9 +13,14 @@ const cardVariants = cva("card", {
|
|
|
13
13
|
filled: "card--filled",
|
|
14
14
|
interactive: "card--interactive",
|
|
15
15
|
},
|
|
16
|
+
padding: {
|
|
17
|
+
default: "",
|
|
18
|
+
spacious: "card--padding-spacious",
|
|
19
|
+
},
|
|
16
20
|
},
|
|
17
21
|
defaultVariants: {
|
|
18
22
|
variant: "default",
|
|
23
|
+
padding: "default",
|
|
19
24
|
},
|
|
20
25
|
});
|
|
21
26
|
|
|
@@ -24,10 +29,10 @@ interface CardProps
|
|
|
24
29
|
VariantProps<typeof cardVariants> {}
|
|
25
30
|
|
|
26
31
|
const Card = React.forwardRef<HTMLDivElement, CardProps>(
|
|
27
|
-
({ className, variant, ...props }, ref) => (
|
|
32
|
+
({ className, variant, padding, ...props }, ref) => (
|
|
28
33
|
<div
|
|
29
34
|
ref={ref}
|
|
30
|
-
className={cn(cardVariants({ variant }), className)}
|
|
35
|
+
className={cn(cardVariants({ variant, padding }), className)}
|
|
31
36
|
{...props}
|
|
32
37
|
/>
|
|
33
38
|
),
|
|
@@ -66,16 +71,25 @@ const CardDescription = React.forwardRef<
|
|
|
66
71
|
));
|
|
67
72
|
CardDescription.displayName = "CardDescription";
|
|
68
73
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
75
|
+
tinted?: boolean;
|
|
76
|
+
pinBottom?: boolean;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const CardContent = React.forwardRef<HTMLDivElement, CardContentProps>(
|
|
80
|
+
({ className, tinted = false, pinBottom = false, ...props }, ref) => (
|
|
81
|
+
<div
|
|
82
|
+
ref={ref}
|
|
83
|
+
className={cn(
|
|
84
|
+
"card-content body-base",
|
|
85
|
+
tinted && "card-content--tinted",
|
|
86
|
+
pinBottom && "card-content--pin-bottom",
|
|
87
|
+
className,
|
|
88
|
+
)}
|
|
89
|
+
{...props}
|
|
90
|
+
/>
|
|
91
|
+
),
|
|
92
|
+
);
|
|
79
93
|
CardContent.displayName = "CardContent";
|
|
80
94
|
|
|
81
95
|
const CardFooter = React.forwardRef<
|
|
@@ -14,8 +14,8 @@ import { cn } from "@/lib/utils";
|
|
|
14
14
|
* (`.body-base.copy`) so it wins on specificity without `!important`.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
type CopyTone = "default" | "muted" | "subtle" | "link" | "error" | "inverse";
|
|
18
|
-
type CopySize = "base" | "small";
|
|
17
|
+
type CopyTone = "default" | "muted" | "subtle" | "link" | "error" | "success" | "inverse";
|
|
18
|
+
type CopySize = "large" | "base" | "small";
|
|
19
19
|
type CopyWeight = "regular" | "medium" | "semibold";
|
|
20
20
|
type CopyAlign = "start" | "center" | "end";
|
|
21
21
|
|
|
@@ -29,6 +29,7 @@ interface CopyProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
const sizeClass: Record<CopySize, string> = {
|
|
32
|
+
large: "body-large",
|
|
32
33
|
base: "body-base",
|
|
33
34
|
small: "body-small",
|
|
34
35
|
};
|
|
@@ -50,22 +50,42 @@ function DialogContent({
|
|
|
50
50
|
closeClassName,
|
|
51
51
|
children,
|
|
52
52
|
showCloseButton = true,
|
|
53
|
+
size = "default",
|
|
53
54
|
...props
|
|
54
55
|
}: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
55
56
|
showCloseButton?: boolean;
|
|
56
57
|
innerClassName?: string;
|
|
57
58
|
closeClassName?: string;
|
|
59
|
+
/** `"fullscreen"` — PRD-009 course-access iframe: near-full-viewport chrome
|
|
60
|
+
* (`height: calc(100vh - 90px)`), no fixed max-width. Default is the
|
|
61
|
+
* existing centered modal. */
|
|
62
|
+
size?: "default" | "fullscreen";
|
|
58
63
|
}) {
|
|
59
64
|
return (
|
|
60
65
|
<DialogPortal data-slot="dialog-portal">
|
|
61
|
-
<DialogOverlay
|
|
66
|
+
<DialogOverlay
|
|
67
|
+
className={cn(
|
|
68
|
+
"overflow-y-auto",
|
|
69
|
+
size === "fullscreen" && "dialog-overlay--fullscreen",
|
|
70
|
+
)}
|
|
71
|
+
>
|
|
62
72
|
<DialogPrimitive.Content
|
|
63
73
|
data-slot="dialog-content"
|
|
64
|
-
className={cn(
|
|
74
|
+
className={cn(
|
|
75
|
+
"dialog-content",
|
|
76
|
+
size === "fullscreen" && "dialog-content--fullscreen",
|
|
77
|
+
className,
|
|
78
|
+
)}
|
|
65
79
|
{...props}
|
|
66
80
|
>
|
|
67
81
|
<div className="dialog-content-wrapper">
|
|
68
|
-
<div
|
|
82
|
+
<div
|
|
83
|
+
className={cn(
|
|
84
|
+
"dialog-content-inner",
|
|
85
|
+
size === "fullscreen" && "dialog-content-inner--fullscreen",
|
|
86
|
+
innerClassName,
|
|
87
|
+
)}
|
|
88
|
+
>
|
|
69
89
|
{children}
|
|
70
90
|
</div>
|
|
71
91
|
{showCloseButton && (
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
export interface HeroSplitImageProps {
|
|
4
|
+
src: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const HeroSplitImage = React.forwardRef<HTMLImageElement, HeroSplitImageProps>(
|
|
9
|
+
({ src, alt = '' }, ref) => (
|
|
10
|
+
<span className="hero-split-image-frame">
|
|
11
|
+
<img ref={ref} src={src} alt={alt} className="hero-split-image" />
|
|
12
|
+
</span>
|
|
13
|
+
),
|
|
14
|
+
);
|
|
15
|
+
HeroSplitImage.displayName = 'HeroSplitImage';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { cn } from '@/lib/utils';
|
|
3
|
+
|
|
4
|
+
export interface PriceTagProps {
|
|
5
|
+
amount: string | number;
|
|
6
|
+
currency?: string;
|
|
7
|
+
tone?: 'brand' | 'neutral';
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const PriceTag = React.forwardRef<HTMLSpanElement, PriceTagProps>(
|
|
11
|
+
({ amount, currency = '$', tone = 'brand' }, ref) => (
|
|
12
|
+
<span
|
|
13
|
+
ref={ref}
|
|
14
|
+
className={cn('price-tag', tone === 'neutral' && 'price-tag--neutral')}
|
|
15
|
+
>
|
|
16
|
+
{currency}
|
|
17
|
+
{amount}
|
|
18
|
+
</span>
|
|
19
|
+
),
|
|
20
|
+
);
|
|
21
|
+
PriceTag.displayName = 'PriceTag';
|
|
@@ -2,15 +2,18 @@ import { cn } from "@/lib/utils";
|
|
|
2
2
|
|
|
3
3
|
function SectionBadge({
|
|
4
4
|
children,
|
|
5
|
+
size = "default",
|
|
5
6
|
className,
|
|
6
7
|
}: {
|
|
7
8
|
children: React.ReactNode;
|
|
9
|
+
size?: "default" | "compact";
|
|
8
10
|
className?: string;
|
|
9
11
|
}) {
|
|
10
12
|
return (
|
|
11
13
|
<span
|
|
12
14
|
className={cn(
|
|
13
15
|
"section-badge overline-large",
|
|
16
|
+
size === "compact" && "section-badge--compact",
|
|
14
17
|
className,
|
|
15
18
|
)}
|
|
16
19
|
>
|
|
@@ -438,7 +438,7 @@ export const StandardNavigation: React.FC<NavigationProps> = ({
|
|
|
438
438
|
</NavLink>
|
|
439
439
|
</div>
|
|
440
440
|
|
|
441
|
-
{
|
|
441
|
+
{navLinks.length > 0 ? (
|
|
442
442
|
<div className="navigation-nav-container">
|
|
443
443
|
<ul className="navigation-nav-list">
|
|
444
444
|
{navLinks.map((item, index) => (
|
|
@@ -448,11 +448,24 @@ export const StandardNavigation: React.FC<NavigationProps> = ({
|
|
|
448
448
|
onMouseEnter={() => handleNavItemMouseEnter(index)}
|
|
449
449
|
>
|
|
450
450
|
{item.href ? (
|
|
451
|
-
<NavLink
|
|
451
|
+
<NavLink
|
|
452
|
+
href={item.href}
|
|
453
|
+
className={cn(
|
|
454
|
+
"navigation-nav-link",
|
|
455
|
+
isStrategy && "navigation-nav-link--strategy",
|
|
456
|
+
)}
|
|
457
|
+
>
|
|
452
458
|
{item.label}
|
|
453
459
|
</NavLink>
|
|
454
460
|
) : (
|
|
455
|
-
<span
|
|
461
|
+
<span
|
|
462
|
+
className={cn(
|
|
463
|
+
"navigation-nav-link",
|
|
464
|
+
isStrategy && "navigation-nav-link--strategy",
|
|
465
|
+
)}
|
|
466
|
+
>
|
|
467
|
+
{item.label}
|
|
468
|
+
</span>
|
|
456
469
|
)}
|
|
457
470
|
|
|
458
471
|
{/* Underline */}
|
|
@@ -45,6 +45,18 @@ const CheckIcon = () => (
|
|
|
45
45
|
</svg>
|
|
46
46
|
);
|
|
47
47
|
|
|
48
|
+
const PlusIcon = () => (
|
|
49
|
+
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" aria-hidden="true">
|
|
50
|
+
<path
|
|
51
|
+
d="M7 2.5V11.5M2.5 7H11.5"
|
|
52
|
+
stroke="currentColor"
|
|
53
|
+
strokeWidth="2"
|
|
54
|
+
strokeLinecap="round"
|
|
55
|
+
strokeLinejoin="round"
|
|
56
|
+
/>
|
|
57
|
+
</svg>
|
|
58
|
+
);
|
|
59
|
+
|
|
48
60
|
// ---------------------------------------------------------------------------
|
|
49
61
|
// Stepper
|
|
50
62
|
// ---------------------------------------------------------------------------
|
|
@@ -106,6 +118,8 @@ const Stepper = React.forwardRef<HTMLDivElement, StepperProps>(
|
|
|
106
118
|
>
|
|
107
119
|
{status === "complete" ? (
|
|
108
120
|
<CheckIcon />
|
|
121
|
+
) : status === "current" ? (
|
|
122
|
+
<PlusIcon />
|
|
109
123
|
) : (
|
|
110
124
|
<span className="stepper-indicator-number">{index + 1}</span>
|
|
111
125
|
)}
|
package/client/global.css
CHANGED
|
@@ -1497,6 +1497,25 @@ body {
|
|
|
1497
1497
|
margin-bottom: 2rem;
|
|
1498
1498
|
}
|
|
1499
1499
|
|
|
1500
|
+
.section-badge--compact {
|
|
1501
|
+
align-self: flex-start;
|
|
1502
|
+
width: fit-content;
|
|
1503
|
+
border-radius: 999px;
|
|
1504
|
+
padding: 0.25rem 0.75rem;
|
|
1505
|
+
margin-bottom: 0;
|
|
1506
|
+
background-color: var(--color-cyan-100, #d6f4fb);
|
|
1507
|
+
color: var(--color-cyan-800, #0f748a);
|
|
1508
|
+
font-size: 0.75rem;
|
|
1509
|
+
font-weight: 600;
|
|
1510
|
+
line-height: 24px;
|
|
1511
|
+
text-transform: uppercase;
|
|
1512
|
+
letter-spacing: 0.02em;
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
.section-badge.section-badge--compact {
|
|
1516
|
+
line-height: 24px;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1500
1519
|
/* Label Styles */
|
|
1501
1520
|
.label {
|
|
1502
1521
|
color: var(--color-gray-600, #52545d);
|
|
@@ -2064,10 +2083,14 @@ body {
|
|
|
2064
2083
|
overflow: hidden;
|
|
2065
2084
|
}
|
|
2066
2085
|
|
|
2086
|
+
.card--padding-spacious {
|
|
2087
|
+
padding: 2.5rem;
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2067
2090
|
/* Card Variants */
|
|
2068
2091
|
.card--default {
|
|
2069
2092
|
border: 1px solid var(--color-gray-100, #eff1f2);
|
|
2070
|
-
background-color: var(--color-
|
|
2093
|
+
background-color: var(--color-white, #fff);
|
|
2071
2094
|
}
|
|
2072
2095
|
|
|
2073
2096
|
.card--outlined {
|
|
@@ -2139,6 +2162,38 @@ body {
|
|
|
2139
2162
|
color: var(--color-gray-800, #282a31);
|
|
2140
2163
|
}
|
|
2141
2164
|
|
|
2165
|
+
.card-content--tinted {
|
|
2166
|
+
margin-left: -1.5rem;
|
|
2167
|
+
margin-right: -1.5rem;
|
|
2168
|
+
padding: 1rem 1.5rem;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
.card-content--pin-bottom {
|
|
2172
|
+
margin-top: auto;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
.card-content--tinted ul {
|
|
2176
|
+
list-style: none;
|
|
2177
|
+
margin: 0;
|
|
2178
|
+
padding: 0;
|
|
2179
|
+
display: flex;
|
|
2180
|
+
flex-direction: column;
|
|
2181
|
+
gap: 0.5rem;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
.card-content--tinted li {
|
|
2185
|
+
position: relative;
|
|
2186
|
+
padding-left: 1.5rem;
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
.card-content--tinted li::before {
|
|
2190
|
+
content: "\2713";
|
|
2191
|
+
position: absolute;
|
|
2192
|
+
left: 0;
|
|
2193
|
+
color: var(--color-blue-600, #2e74ad);
|
|
2194
|
+
font-weight: 700;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2142
2197
|
.card-footer {
|
|
2143
2198
|
display: flex;
|
|
2144
2199
|
align-items: center;
|
|
@@ -4942,6 +4997,27 @@ body {
|
|
|
4942
4997
|
color: var(--color-blue-600, #2e74ad);
|
|
4943
4998
|
}
|
|
4944
4999
|
|
|
5000
|
+
/* Accessibility utilities — several components (Dialog/Sheet close buttons,
|
|
5001
|
+
Carousel prev/next, Pagination "more", Sidebar toggle, Breadcrumb "more")
|
|
5002
|
+
render a visually-hidden label via `className="sr-only"` assuming a
|
|
5003
|
+
Tailwind-style utility exists in the consumer's stylesheet. This package
|
|
5004
|
+
ships its own compiled CSS (no Tailwind at runtime for consumers), so
|
|
5005
|
+
that class was never actually defined anywhere — every one of those
|
|
5006
|
+
labels rendered as plain visible text instead of being screen-reader-only
|
|
5007
|
+
(found via the Dialog close button showing a visible "Close" next to its
|
|
5008
|
+
icon). Standard implementation, matches Tailwind's own `.sr-only`. */
|
|
5009
|
+
.sr-only {
|
|
5010
|
+
position: absolute;
|
|
5011
|
+
width: 1px;
|
|
5012
|
+
height: 1px;
|
|
5013
|
+
padding: 0;
|
|
5014
|
+
margin: -1px;
|
|
5015
|
+
overflow: hidden;
|
|
5016
|
+
clip: rect(0, 0, 0, 0);
|
|
5017
|
+
white-space: nowrap;
|
|
5018
|
+
border-width: 0;
|
|
5019
|
+
}
|
|
5020
|
+
|
|
4945
5021
|
/* Dialog Styles */
|
|
4946
5022
|
.dialog-overlay {
|
|
4947
5023
|
position: fixed;
|
|
@@ -5021,6 +5097,85 @@ body {
|
|
|
5021
5097
|
}
|
|
5022
5098
|
}
|
|
5023
5099
|
|
|
5100
|
+
/* size="fullscreen" (PRD-009 course-access iframe) — a large, centered,
|
|
5101
|
+
rounded panel with a visible gray margin on every side (matching the
|
|
5102
|
+
reference "Telling the WELL Story" launch card), not a true edge-to-edge
|
|
5103
|
+
cover. An earlier version went full-bleed (`align-items: stretch`, zero
|
|
5104
|
+
border-radius) because a *padded but see-through* overlay had let the real
|
|
5105
|
+
page's own top nav visibly peek through at the very top edge, which read
|
|
5106
|
+
as a broken second header. The actual bug there was the overlay's
|
|
5107
|
+
background being too transparent for its size, not the padding itself —
|
|
5108
|
+
the reference proves a padded, rounded panel reads as intentional chrome
|
|
5109
|
+
as long as the scrim behind it is opaque enough that nothing behind it is
|
|
5110
|
+
legible. Fixed here by keeping `.dialog-overlay`'s own opaque-enough scrim
|
|
5111
|
+
and just giving the fullscreen panel real margin + radius again. */
|
|
5112
|
+
.dialog-overlay--fullscreen {
|
|
5113
|
+
align-items: center;
|
|
5114
|
+
justify-content: center;
|
|
5115
|
+
padding: 2.5rem;
|
|
5116
|
+
}
|
|
5117
|
+
|
|
5118
|
+
.dialog-content--fullscreen {
|
|
5119
|
+
width: 100%;
|
|
5120
|
+
height: 100%;
|
|
5121
|
+
max-width: none;
|
|
5122
|
+
}
|
|
5123
|
+
|
|
5124
|
+
.dialog-content--fullscreen .dialog-content-wrapper {
|
|
5125
|
+
height: 100%;
|
|
5126
|
+
border: 0;
|
|
5127
|
+
/* `--radius-modal` (24px) is tuned for a small, normal-sized dialog — on a
|
|
5128
|
+
near-full-viewport panel that same absolute radius reads as oversized
|
|
5129
|
+
and cartoonish, not clean. A smaller fixed radius stays proportionate at
|
|
5130
|
+
this scale. */
|
|
5131
|
+
border-radius: 8px;
|
|
5132
|
+
overflow: hidden;
|
|
5133
|
+
}
|
|
5134
|
+
|
|
5135
|
+
.dialog-content-inner--fullscreen {
|
|
5136
|
+
height: 100%;
|
|
5137
|
+
padding: 0;
|
|
5138
|
+
/* The base `.dialog-content-inner` rule sets `border-radius: var(--radius-modal)`
|
|
5139
|
+
(24px) unconditionally — this modifier never overrode it, so this element's
|
|
5140
|
+
OWN background still rendered at 24px even after `.dialog-content-wrapper`
|
|
5141
|
+
(its parent) was clipped down to 8px. `overflow: hidden` on the wrapper
|
|
5142
|
+
geometrically clips to the wrapper's own curve regardless, but leaving this
|
|
5143
|
+
element's radius mismatched is still wrong on its own terms — it should
|
|
5144
|
+
match the wrapper it's glued to, not the small default modal's radius. */
|
|
5145
|
+
border-radius: 8px;
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
/* The required accessible DialogTitle sits above the iframe in fullscreen
|
|
5149
|
+
mode — give it a small header strip instead of touching the dialog edge
|
|
5150
|
+
(the shared `.dialog-title` rule itself stays untouched for every other
|
|
5151
|
+
dialog, which relies on DialogHeader for its spacing). */
|
|
5152
|
+
.dialog-content-inner--fullscreen .dialog-title {
|
|
5153
|
+
padding: 1rem 1.5rem 0;
|
|
5154
|
+
margin: 0;
|
|
5155
|
+
text-align: left;
|
|
5156
|
+
}
|
|
5157
|
+
|
|
5158
|
+
/* `.dialog-content-inner--fullscreen` makes ITSELF a full-height flex column,
|
|
5159
|
+
but the caller's own direct child (typically a title + one thing meant to
|
|
5160
|
+
fill the rest, e.g. a `StackItem size="fill"` iframe) has no forced height
|
|
5161
|
+
of its own by default — a plain `<Stack>` sizes to its content, so its
|
|
5162
|
+
"fill" descendant had no real extra space to grow into and just shrank to
|
|
5163
|
+
content size, leaving dead space below it. Forcing the direct child itself
|
|
5164
|
+
into the same flex-fill contract closes that gap without the caller
|
|
5165
|
+
needing any className. Every `size="fullscreen"` dialog gets this for
|
|
5166
|
+
free, not just the course-access iframe it was written for. */
|
|
5167
|
+
.dialog-content-inner--fullscreen > * {
|
|
5168
|
+
display: flex;
|
|
5169
|
+
flex-direction: column;
|
|
5170
|
+
flex: 1 1 auto;
|
|
5171
|
+
min-height: 0;
|
|
5172
|
+
}
|
|
5173
|
+
|
|
5174
|
+
.dialog-content-inner--fullscreen iframe {
|
|
5175
|
+
width: 100%;
|
|
5176
|
+
border: 0;
|
|
5177
|
+
}
|
|
5178
|
+
|
|
5024
5179
|
.dialog-close {
|
|
5025
5180
|
position: absolute;
|
|
5026
5181
|
top: 1rem;
|
|
@@ -9841,6 +9996,13 @@ body {
|
|
|
9841
9996
|
cursor: pointer;
|
|
9842
9997
|
}
|
|
9843
9998
|
|
|
9999
|
+
/* Strategy mode's bar is light (--color-gray-50), not dark, so the default
|
|
10000
|
+
white nav-link text was invisible — nav links were also never rendered at
|
|
10001
|
+
all in this mode until the JSX gate was fixed alongside this rule. */
|
|
10002
|
+
.navigation-nav-link--strategy {
|
|
10003
|
+
color: var(--color-gray-800, #292a2e);
|
|
10004
|
+
}
|
|
10005
|
+
|
|
9844
10006
|
.navigation-actions {
|
|
9845
10007
|
display: flex;
|
|
9846
10008
|
height: 100%;
|
|
@@ -11345,7 +11507,7 @@ body {
|
|
|
11345
11507
|
height: var(--stepper-indicator-size);
|
|
11346
11508
|
border-radius: 9999px;
|
|
11347
11509
|
border: 2px solid transparent;
|
|
11348
|
-
font-size:
|
|
11510
|
+
font-size: 13px;
|
|
11349
11511
|
font-weight: 600;
|
|
11350
11512
|
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
|
|
11351
11513
|
cursor: default;
|
|
@@ -11468,24 +11630,33 @@ body {
|
|
|
11468
11630
|
}
|
|
11469
11631
|
|
|
11470
11632
|
.stepper-title {
|
|
11471
|
-
font-size:
|
|
11633
|
+
font-size: 13px;
|
|
11472
11634
|
font-weight: 600;
|
|
11473
11635
|
line-height: 1.4;
|
|
11474
11636
|
transition: color 0.15s ease;
|
|
11475
11637
|
}
|
|
11476
11638
|
|
|
11477
11639
|
.stepper-title--complete { color: var(--color-gray-700, #3f5260); }
|
|
11478
|
-
.stepper-title--current { color: var(--color-gray-900, #1a282f); }
|
|
11640
|
+
.stepper-title--current { color: var(--color-gray-900, #1a282f); font-weight: 500; }
|
|
11479
11641
|
.stepper-title--upcoming { color: var(--color-gray-400, #9ba6af); }
|
|
11480
11642
|
|
|
11481
11643
|
.stepper--horizontal .stepper-title {
|
|
11482
11644
|
text-transform: uppercase;
|
|
11483
|
-
font-size:
|
|
11645
|
+
font-size: 13px;
|
|
11484
11646
|
letter-spacing: 0.02em;
|
|
11485
11647
|
}
|
|
11486
11648
|
|
|
11649
|
+
.stepper-title .inline-link {
|
|
11650
|
+
font-size: inherit;
|
|
11651
|
+
font-weight: inherit;
|
|
11652
|
+
line-height: inherit;
|
|
11653
|
+
letter-spacing: inherit;
|
|
11654
|
+
text-transform: inherit;
|
|
11655
|
+
color: inherit;
|
|
11656
|
+
}
|
|
11657
|
+
|
|
11487
11658
|
.stepper-description {
|
|
11488
|
-
font-size:
|
|
11659
|
+
font-size: 13px;
|
|
11489
11660
|
line-height: 1.4;
|
|
11490
11661
|
}
|
|
11491
11662
|
|
|
@@ -13155,7 +13326,7 @@ body {
|
|
|
13155
13326
|
height: var(--stepper-indicator-size);
|
|
13156
13327
|
border-radius: 9999px;
|
|
13157
13328
|
border: 2px solid transparent;
|
|
13158
|
-
font-size:
|
|
13329
|
+
font-size: 13px;
|
|
13159
13330
|
font-weight: 600;
|
|
13160
13331
|
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
|
|
13161
13332
|
cursor: default;
|
|
@@ -13278,24 +13449,33 @@ body {
|
|
|
13278
13449
|
}
|
|
13279
13450
|
|
|
13280
13451
|
.stepper-title {
|
|
13281
|
-
font-size:
|
|
13452
|
+
font-size: 13px;
|
|
13282
13453
|
font-weight: 600;
|
|
13283
13454
|
line-height: 1.4;
|
|
13284
13455
|
transition: color 0.15s ease;
|
|
13285
13456
|
}
|
|
13286
13457
|
|
|
13287
13458
|
.stepper-title--complete { color: var(--color-gray-700, #3f5260); }
|
|
13288
|
-
.stepper-title--current { color: var(--color-gray-900, #1a282f); }
|
|
13459
|
+
.stepper-title--current { color: var(--color-gray-900, #1a282f); font-weight: 500; }
|
|
13289
13460
|
.stepper-title--upcoming { color: var(--color-gray-400, #9ba6af); }
|
|
13290
13461
|
|
|
13291
13462
|
.stepper--horizontal .stepper-title {
|
|
13292
13463
|
text-transform: uppercase;
|
|
13293
|
-
font-size:
|
|
13464
|
+
font-size: 13px;
|
|
13294
13465
|
letter-spacing: 0.02em;
|
|
13295
13466
|
}
|
|
13296
13467
|
|
|
13468
|
+
.stepper-title .inline-link {
|
|
13469
|
+
font-size: inherit;
|
|
13470
|
+
font-weight: inherit;
|
|
13471
|
+
line-height: inherit;
|
|
13472
|
+
letter-spacing: inherit;
|
|
13473
|
+
text-transform: inherit;
|
|
13474
|
+
color: inherit;
|
|
13475
|
+
}
|
|
13476
|
+
|
|
13297
13477
|
.stepper-description {
|
|
13298
|
-
font-size:
|
|
13478
|
+
font-size: 13px;
|
|
13299
13479
|
line-height: 1.4;
|
|
13300
13480
|
}
|
|
13301
13481
|
|
|
@@ -15100,11 +15280,26 @@ body {
|
|
|
15100
15280
|
color: var(--color-coral-800, #bc4324);
|
|
15101
15281
|
}
|
|
15102
15282
|
|
|
15283
|
+
.copy--success {
|
|
15284
|
+
color: var(--color-green-700, #15803d);
|
|
15285
|
+
}
|
|
15286
|
+
|
|
15103
15287
|
.copy--inverse {
|
|
15104
15288
|
color: var(--color-white, #fff);
|
|
15105
15289
|
}
|
|
15106
15290
|
/* /DS_PENDING_CSS:Copy */
|
|
15107
15291
|
|
|
15292
|
+
/* DS_PENDING_CSS:StandardLogoWellVariant */
|
|
15293
|
+
.standard-logo-wordmark {
|
|
15294
|
+
display: inline-block;
|
|
15295
|
+
font-family: var(--font-mazzard);
|
|
15296
|
+
font-size: 26px;
|
|
15297
|
+
line-height: 26px;
|
|
15298
|
+
font-weight: 700;
|
|
15299
|
+
letter-spacing: 0.02em;
|
|
15300
|
+
}
|
|
15301
|
+
/* /DS_PENDING_CSS:StandardLogoWellVariant */
|
|
15302
|
+
|
|
15108
15303
|
/* DS_PENDING_CSS:LabeledDivider */
|
|
15109
15304
|
.labeled-divider {
|
|
15110
15305
|
display: flex;
|
|
@@ -15709,3 +15904,38 @@ body {
|
|
|
15709
15904
|
height: 1rem;
|
|
15710
15905
|
}
|
|
15711
15906
|
/* /DS_PENDING_CSS:ResourceThumbnail */
|
|
15907
|
+
|
|
15908
|
+
/* DS_PENDING_CSS:HeroSplitImage */
|
|
15909
|
+
.hero-split-image-frame {
|
|
15910
|
+
display: block;
|
|
15911
|
+
position: relative;
|
|
15912
|
+
width: calc(100% + 3.5rem);
|
|
15913
|
+
height: 100%;
|
|
15914
|
+
margin: 0 -3.5rem 0 0;
|
|
15915
|
+
border-radius: 0 var(--radius-lg, 12px) var(--radius-lg, 12px) 0;
|
|
15916
|
+
overflow: hidden;
|
|
15917
|
+
}
|
|
15918
|
+
|
|
15919
|
+
.hero-split-image {
|
|
15920
|
+
display: block;
|
|
15921
|
+
position: absolute;
|
|
15922
|
+
inset: 0;
|
|
15923
|
+
width: 100%;
|
|
15924
|
+
height: 100%;
|
|
15925
|
+
object-fit: cover;
|
|
15926
|
+
}
|
|
15927
|
+
/* /DS_PENDING_CSS:HeroSplitImage */
|
|
15928
|
+
|
|
15929
|
+
/* DS_PENDING_CSS:PriceTag */
|
|
15930
|
+
.price-tag {
|
|
15931
|
+
display: inline-block;
|
|
15932
|
+
font-size: 2.75rem;
|
|
15933
|
+
font-weight: 500;
|
|
15934
|
+
line-height: 1.2;
|
|
15935
|
+
color: #41937d;
|
|
15936
|
+
}
|
|
15937
|
+
|
|
15938
|
+
.price-tag--neutral {
|
|
15939
|
+
color: var(--color-gray-900, #1a282f);
|
|
15940
|
+
}
|
|
15941
|
+
/* /DS_PENDING_CSS:PriceTag */
|