@syscore/ui-library 2.0.0-beta-publish-workflow-beta.12 → 2.0.0-beta-publish-workflow-beta.14

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.
@@ -10,6 +10,10 @@ const alertVariants = cva(
10
10
  variant: {
11
11
  default: "alert--default",
12
12
  destructive: "alert--destructive",
13
+ // Neutral help/explainer callout — e.g. the activity-type guidance
14
+ // text on the WELL AP "Report CE hours" form. Blue, not red/coral:
15
+ // informational, not a warning or error.
16
+ info: "alert--info",
13
17
  },
14
18
  },
15
19
  defaultVariants: {
@@ -16,6 +16,11 @@ const buttonVariants = cva(
16
16
  "primary-dark": "button--primary-dark",
17
17
  "secondary-light": "button--secondary-light",
18
18
  "tertiary-light": "button--tertiary-light",
19
+ // Same pill shape as tertiary-light, red instead of blue — for a
20
+ // destructive inline action (e.g. "Remove" on an applied discount
21
+ // code) that isn't severe enough for a confirm dialog but shouldn't
22
+ // read as a neutral/affirmative action either.
23
+ "tertiary-danger": "button--tertiary-danger",
19
24
  // Utility variants
20
25
  "general-primary": "button--general-primary",
21
26
  "general-secondary": "button--general-secondary",
@@ -12,6 +12,10 @@ const cardVariants = cva("card", {
12
12
  elevated: "card--elevated",
13
13
  filled: "card--filled",
14
14
  interactive: "card--interactive",
15
+ // A dark, colored promo banner (e.g. the WELL AP credentials page's
16
+ // "WELL Forum" callout) — content on it needs the inverse text tone,
17
+ // same as any other dark surface in the app.
18
+ gradient: "card--gradient",
15
19
  /** A bordered 16px-radius panel for a side summary. */
16
20
  panel: "card--panel",
17
21
  /** A bordered 12px-radius box nested inside a form or another card. */
@@ -20,6 +24,7 @@ const cardVariants = cva("card", {
20
24
  padding: {
21
25
  default: "",
22
26
  spacious: "card--padding-spacious",
27
+ compact: "card--padding-compact",
23
28
  },
24
29
  /** `relaxed` — more air between heading, description and content (dense back-office pages). */
25
30
  spacing: {
@@ -58,9 +63,19 @@ Card.displayName = "Card";
58
63
 
59
64
  const CardHeader = React.forwardRef<
60
65
  HTMLDivElement,
61
- React.HTMLAttributes<HTMLDivElement>
62
- >(({ className, ...props }, ref) => (
63
- <div ref={ref} className={cn("card-header", className)} {...props} />
66
+ React.HTMLAttributes<HTMLDivElement> & {
67
+ /** A light gray strip, full-bleed to the card edges with a bottom
68
+ * divider — for a receipt/invoice-style card whose header reads as a
69
+ * distinct band from the body below it (e.g. "Receipt: #123" + a status
70
+ * pill), rather than the default header that's just extra top padding. */
71
+ tinted?: boolean;
72
+ }
73
+ >(({ className, tinted = false, ...props }, ref) => (
74
+ <div
75
+ ref={ref}
76
+ className={cn("card-header", tinted && "card-header--tinted", className)}
77
+ {...props}
78
+ />
64
79
  ));
65
80
  CardHeader.displayName = "CardHeader";
66
81
 
@@ -158,6 +173,30 @@ const CardActions = React.forwardRef<
158
173
  ));
159
174
  CardActions.displayName = "CardActions";
160
175
 
176
+ /**
177
+ * Swatch — a small solid rounded-square accent, e.g. preceding a metric
178
+ * label/value pair inside a stat card. Purely decorative; no icon/content
179
+ * slot by design (a blank color block, not an icon wrapper).
180
+ */
181
+ type SwatchTone = "primary" | "muted";
182
+ type SwatchSize = "sm" | "md";
183
+
184
+ interface SwatchProps extends React.HTMLAttributes<HTMLDivElement> {
185
+ tone?: SwatchTone;
186
+ size?: SwatchSize;
187
+ }
188
+
189
+ const Swatch = React.forwardRef<HTMLDivElement, SwatchProps>(
190
+ ({ className, tone = "primary", size = "md", ...props }, ref) => (
191
+ <div
192
+ ref={ref}
193
+ className={cn("swatch", `swatch--${tone}`, `swatch--${size}`, className)}
194
+ {...props}
195
+ />
196
+ ),
197
+ );
198
+ Swatch.displayName = "Swatch";
199
+
161
200
  interface CardMetricProps extends React.HTMLAttributes<HTMLDivElement> {
162
201
  value: string | number;
163
202
  label: string;
@@ -217,4 +256,5 @@ export {
217
256
  CardActions,
218
257
  CardMetric,
219
258
  CardWithIcon,
259
+ Swatch,
220
260
  };
@@ -14,7 +14,7 @@ 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" | "success" | "inverse";
17
+ type CopyTone = "default" | "muted" | "subtle" | "link" | "error" | "success" | "inverse" | "coral";
18
18
  type CopySize = "large" | "base" | "small";
19
19
  type CopyWeight = "regular" | "medium" | "semibold";
20
20
  type CopyAlign = "start" | "center" | "end";
@@ -58,9 +58,12 @@ function DialogContent({
58
58
  innerClassName?: string;
59
59
  closeClassName?: string;
60
60
  /** `"fullscreen"` — PRD-009 course-access iframe: near-full-viewport chrome
61
- * (`height: calc(100vh - 90px)`), no fixed max-width. Default is the
62
- * existing centered modal. */
63
- size?: "default" | "fullscreen";
61
+ * (`height: calc(100vh - 90px)`), no fixed max-width. `"lg"` — a wider
62
+ * centered modal (`width: min(42rem, calc(100% - 2rem))`) for a longer
63
+ * single-column form (e.g. the WELL AP "Report CE hours" form) where the
64
+ * default modal's intrinsic auto-grid width leaves every input reading as
65
+ * narrow. Default is the existing centered modal, sized to its content. */
66
+ size?: "default" | "fullscreen" | "lg";
64
67
  /** `"form"` — the back-office dialog: a 560px panel with roomier padding, a
65
68
  * left-aligned title and description (16px, page font) and a 12px footer gap.
66
69
  * Default is the centred customer-facing modal, unchanged. */
@@ -79,16 +82,23 @@ function DialogContent({
79
82
  className={cn(
80
83
  "dialog-content",
81
84
  size === "fullscreen" && "dialog-content--fullscreen",
85
+ size === "lg" && "dialog-content--lg",
82
86
  appearance === "form" && "dialog-content--form",
83
87
  className,
84
88
  )}
85
89
  {...props}
86
90
  >
87
- <div className="dialog-content-wrapper">
91
+ <div
92
+ className={cn(
93
+ "dialog-content-wrapper",
94
+ size === "lg" && "dialog-content-wrapper--lg",
95
+ )}
96
+ >
88
97
  <div
89
98
  className={cn(
90
99
  "dialog-content-inner",
91
100
  size === "fullscreen" && "dialog-content-inner--fullscreen",
101
+ size === "lg" && "dialog-content-inner--lg",
92
102
  innerClassName,
93
103
  )}
94
104
  >
@@ -115,11 +125,20 @@ function DialogContent({
115
125
  );
116
126
  }
117
127
 
118
- function DialogHeader({ className, ...props }: React.ComponentProps<"div">) {
128
+ function DialogHeader({
129
+ className,
130
+ spacious = false,
131
+ ...props
132
+ }: React.ComponentProps<"div"> & {
133
+ /** Extra top/bottom padding around the header — for a `size="lg"` dialog
134
+ * whose title otherwise sits flush against the overlay edge and the first
135
+ * field below it. */
136
+ spacious?: boolean;
137
+ }) {
119
138
  return (
120
139
  <div
121
140
  data-slot="dialog-header"
122
- className={cn("dialog-header", className)}
141
+ className={cn("dialog-header", spacious && "dialog-header--spacious", className)}
123
142
  {...props}
124
143
  />
125
144
  );
@@ -137,12 +156,20 @@ function DialogFooter({ className, ...props }: React.ComponentProps<"div">) {
137
156
 
138
157
  function DialogTitle({
139
158
  className,
159
+ size = "default",
140
160
  ...props
141
- }: React.ComponentProps<typeof DialogPrimitive.Title>) {
161
+ }: React.ComponentProps<typeof DialogPrimitive.Title> & {
162
+ /** `"md"` — `heading-xsmall` (22px). `"lg"` — `heading-small` (30px), for a
163
+ * dialog wide enough to carry it. Default (`heading-xxsmall`, 20px) stays
164
+ * unchanged for every existing dialog. */
165
+ size?: "default" | "md" | "lg";
166
+ }) {
167
+ const sizeClass =
168
+ size === "lg" ? "heading-small" : size === "md" ? "heading-xsmall" : "heading-xxsmall";
142
169
  return (
143
170
  <DialogPrimitive.Title
144
171
  data-slot="dialog-title"
145
- className={cn("dialog-title heading-xxsmall text-center", className)}
172
+ className={cn("dialog-title text-center", sizeClass, className)}
146
173
  {...props}
147
174
  />
148
175
  );
@@ -323,12 +323,13 @@ const Grid = React.forwardRef<HTMLElement, GridProps>(
323
323
  )}
324
324
  style={{
325
325
  gridTemplateColumns: template,
326
- gap:
327
- rowGap === undefined && resolvedColumnGap === undefined
328
- ? gapCss(gap)
329
- : undefined,
330
- rowGap: gapCss(rowGap),
331
- columnGap: gapCss(resolvedColumnGap),
326
+ // Never emit the `gap` shorthand alongside `rowGap`/`columnGap` —
327
+ // React warns on mixing a shorthand and its longhands in the same
328
+ // style object across re-renders, even when one side is
329
+ // `undefined`. Decomposing into the two longhands always, with
330
+ // `gap` as their shared fallback, avoids the shorthand entirely.
331
+ rowGap: gapCss(rowGap ?? gap),
332
+ columnGap: gapCss(resolvedColumnGap ?? gap),
332
333
  width: toCssSize(width),
333
334
  height: toCssSize(height),
334
335
  maxWidth: toCssSize(maxWidth),
@@ -454,12 +455,10 @@ const Columns = React.forwardRef<HTMLElement, ColumnsProps>(
454
455
  )}
455
456
  style={{
456
457
  gridTemplateColumns: template ?? ColumnsPresetMap[preset],
457
- gap:
458
- rowGap === undefined && resolvedColumnGap === undefined
459
- ? gapCss(gap)
460
- : undefined,
461
- rowGap: gapCss(rowGap),
462
- columnGap: gapCss(resolvedColumnGap),
458
+ // See Grid's identical comment — never mix the `gap` shorthand
459
+ // with `rowGap`/`columnGap` longhands in the same style object.
460
+ rowGap: gapCss(rowGap ?? gap),
461
+ columnGap: gapCss(resolvedColumnGap ?? gap),
463
462
  ...style,
464
463
  }}
465
464
  {...props}
@@ -49,6 +49,11 @@ const defaultElementMap: Record<Variant, React.ElementType> = {
49
49
  interface TextProps extends React.HTMLAttributes<HTMLElement> {
50
50
  variant?: Variant;
51
51
  as?: React.ElementType;
52
+ /** Widens line-height beyond the DS variant's tight default — for a
53
+ * heading that wraps onto multiple lines (e.g. a page title in a narrow
54
+ * column) where the default reads cramped between the wrapped lines.
55
+ * Opt-in only; every existing `Text` keeps its variant's own line-height. */
56
+ loose?: boolean;
52
57
  /** `muted` — quieter helper text (hints, secondary lines). Default inherits the surrounding colour. */
53
58
  tone?: "default" | "muted";
54
59
  /** `strong` — semibold, for a label inside running text. */
@@ -67,6 +72,7 @@ const Text = React.forwardRef<HTMLElement, TextProps>(
67
72
  className,
68
73
  variant = "body-base",
69
74
  as,
75
+ loose = false,
70
76
  tone = "default",
71
77
  strong = false,
72
78
  align,
@@ -83,6 +89,7 @@ const Text = React.forwardRef<HTMLElement, TextProps>(
83
89
  ref={ref}
84
90
  className={cn(
85
91
  typographyVariants({ variant }),
92
+ loose && "typography--loose",
86
93
  tone === "muted" && "typo--muted",
87
94
  strong && "typo--strong",
88
95
  align === "center" && "typo--center",
package/client/global.css CHANGED
@@ -1004,6 +1004,22 @@ body {
1004
1004
  0 0 0 4px var(--color-white, #fff);
1005
1005
  }
1006
1006
 
1007
+ .button--tertiary-danger {
1008
+ background-color: var(--color-red-50, #fef2f2);
1009
+ border: 1px solid var(--color-red-200, #fecaca);
1010
+ color: var(--color-red-600, #dc2626);
1011
+ }
1012
+
1013
+ .button--tertiary-danger:hover {
1014
+ background-color: var(--color-red-100, #fee2e2);
1015
+ }
1016
+
1017
+ .button--tertiary-danger:focus-visible {
1018
+ box-shadow:
1019
+ 0 0 0 2px var(--color-red-200, #fecaca),
1020
+ 0 0 0 4px var(--color-white, #fff);
1021
+ }
1022
+
1007
1023
  .button--general-primary {
1008
1024
  background-color: var(--color-blue-600, #2e74ad);
1009
1025
  color: var(--color-white, #fff);
@@ -2199,6 +2215,10 @@ body {
2199
2215
  padding: 2.5rem;
2200
2216
  }
2201
2217
 
2218
+ .card--padding-compact {
2219
+ padding: 1rem;
2220
+ }
2221
+
2202
2222
  /* Card spacing="relaxed": more air between the heading, its description and the content (headings
2203
2223
  are trimmed to cap height, so the default gap reads as tight on dense back-office pages). */
2204
2224
  .card--spacing-relaxed {
@@ -2272,6 +2292,19 @@ body {
2272
2292
  color: var(--color-gray-300, #cbcdd2);
2273
2293
  }
2274
2294
 
2295
+ .card--gradient {
2296
+ border: none;
2297
+ background: linear-gradient(152deg, #985f8c -7.86%, #204b6d 29.11%, #2f7d91 98.38%);
2298
+ color: var(--color-white, #fff);
2299
+ }
2300
+
2301
+ .card--gradient .card-title,
2302
+ .card--gradient .card-description,
2303
+ .card--gradient .card-content,
2304
+ .card--gradient .card-footer {
2305
+ color: var(--color-white, #fff);
2306
+ }
2307
+
2275
2308
  .card--interactive {
2276
2309
  border: 1px solid var(--color-gray-100, #eff1f2);
2277
2310
  background-color: var(--color-white, #fff);
@@ -2300,6 +2333,17 @@ body {
2300
2333
  gap: 0.5rem;
2301
2334
  }
2302
2335
 
2336
+ .card-header--tinted {
2337
+ flex-direction: row;
2338
+ align-items: center;
2339
+ justify-content: space-between;
2340
+ gap: 1rem;
2341
+ margin: -1.5rem -1.5rem 0;
2342
+ padding: 1rem 1.5rem;
2343
+ background-color: var(--color-gray-50, #f9f9fa);
2344
+ border-bottom: 1px solid var(--color-gray-100, #eff1f2);
2345
+ }
2346
+
2303
2347
  .card-title {
2304
2348
  color: var(--color-gray-800, #282a31);
2305
2349
  }
@@ -2412,6 +2456,30 @@ body {
2412
2456
  margin-top: auto;
2413
2457
  }
2414
2458
 
2459
+ /* Swatch */
2460
+ .swatch {
2461
+ flex-shrink: 0;
2462
+ border-radius: 8px;
2463
+ }
2464
+
2465
+ .swatch--sm {
2466
+ width: 24px;
2467
+ height: 24px;
2468
+ }
2469
+
2470
+ .swatch--md {
2471
+ width: 32px;
2472
+ height: 32px;
2473
+ }
2474
+
2475
+ .swatch--primary {
2476
+ background-color: var(--color-blue-700, #286495);
2477
+ }
2478
+
2479
+ .swatch--muted {
2480
+ background-color: var(--color-gray-200, #dedfe3);
2481
+ }
2482
+
2415
2483
  /* Card Metric */
2416
2484
  .card-metric {
2417
2485
  display: flex;
@@ -2739,6 +2807,16 @@ body {
2739
2807
  color: hsl(var(--destructive));
2740
2808
  }
2741
2809
 
2810
+ .alert--info {
2811
+ background-color: var(--color-blue-50, #fbfdfe);
2812
+ border-color: var(--color-blue-200, #cbe0f1);
2813
+ color: var(--color-blue-800, #1d4e74);
2814
+ }
2815
+
2816
+ .alert--info > svg {
2817
+ color: var(--color-blue-600, #2e74ad);
2818
+ }
2819
+
2742
2820
  .alert-title {
2743
2821
  margin-bottom: 0.25rem;
2744
2822
  font-weight: 500;
@@ -4798,6 +4876,83 @@ body {
4798
4876
  }
4799
4877
  }
4800
4878
 
4879
+ /* Sheet panel slides — the `slide-in-from-*`/`slide-out-to-*` keyframes above
4880
+ move only 0.5rem, which is correct for a dropdown/tooltip nudging in next
4881
+ to its trigger, but reads as barely-there jitter on a full-height side
4882
+ panel that should visibly travel in from off-screen. Sheet gets its own
4883
+ 100%-of-self keyframes instead of reusing the small ones. */
4884
+ @keyframes sheet-slide-in-from-right {
4885
+ from {
4886
+ transform: translateX(100%);
4887
+ }
4888
+ to {
4889
+ transform: translateX(0);
4890
+ }
4891
+ }
4892
+
4893
+ @keyframes sheet-slide-out-to-right {
4894
+ from {
4895
+ transform: translateX(0);
4896
+ }
4897
+ to {
4898
+ transform: translateX(100%);
4899
+ }
4900
+ }
4901
+
4902
+ @keyframes sheet-slide-in-from-left {
4903
+ from {
4904
+ transform: translateX(-100%);
4905
+ }
4906
+ to {
4907
+ transform: translateX(0);
4908
+ }
4909
+ }
4910
+
4911
+ @keyframes sheet-slide-out-to-left {
4912
+ from {
4913
+ transform: translateX(0);
4914
+ }
4915
+ to {
4916
+ transform: translateX(-100%);
4917
+ }
4918
+ }
4919
+
4920
+ @keyframes sheet-slide-in-from-top {
4921
+ from {
4922
+ transform: translateY(-100%);
4923
+ }
4924
+ to {
4925
+ transform: translateY(0);
4926
+ }
4927
+ }
4928
+
4929
+ @keyframes sheet-slide-out-to-top {
4930
+ from {
4931
+ transform: translateY(0);
4932
+ }
4933
+ to {
4934
+ transform: translateY(-100%);
4935
+ }
4936
+ }
4937
+
4938
+ @keyframes sheet-slide-in-from-bottom {
4939
+ from {
4940
+ transform: translateY(100%);
4941
+ }
4942
+ to {
4943
+ transform: translateY(0);
4944
+ }
4945
+ }
4946
+
4947
+ @keyframes sheet-slide-out-to-bottom {
4948
+ from {
4949
+ transform: translateY(0);
4950
+ }
4951
+ to {
4952
+ transform: translateY(100%);
4953
+ }
4954
+ }
4955
+
4801
4956
  /* Tabs Styles */
4802
4957
  .tabs {
4803
4958
  width: 100%;
@@ -5355,6 +5510,27 @@ body {
5355
5510
  }
5356
5511
  }
5357
5512
 
5513
+ /* size="lg" — the default modal has no explicit width at all (it sizes to
5514
+ its content's intrinsic grid track), which reads fine for a short form but
5515
+ leaves every input looking cramped/narrow on a longer single-column form
5516
+ (e.g. "Report CE hours", ~10 fields). Give it a real target width instead
5517
+ of relying on content to stretch it out. */
5518
+ .dialog-content--lg {
5519
+ width: min(42rem, calc(100% - 2rem));
5520
+ }
5521
+
5522
+ /* `--radius-modal` (24px) is tuned for the default small dialog — on a wider
5523
+ `size="lg"` panel that same radius reads as slightly too round. A smaller
5524
+ fixed radius (keeping the wrapper's +12px concentric relationship) stays
5525
+ proportionate at this width. */
5526
+ .dialog-content-wrapper--lg {
5527
+ border-radius: calc(16px + 12px);
5528
+ }
5529
+
5530
+ .dialog-content-inner--lg {
5531
+ border-radius: 16px;
5532
+ }
5533
+
5358
5534
  /* size="fullscreen" (PRD-009 course-access iframe) — a large, centered,
5359
5535
  rounded panel with a visible gray margin on every side (matching the
5360
5536
  reference "Telling the WELL Story" launch card), not a true edge-to-edge
@@ -5488,6 +5664,11 @@ body {
5488
5664
  }
5489
5665
  }
5490
5666
 
5667
+ .dialog-header--spacious {
5668
+ padding-top: 0.5rem;
5669
+ padding-bottom: 1rem;
5670
+ }
5671
+
5491
5672
  .dialog-footer {
5492
5673
  display: flex;
5493
5674
  flex-direction: column-reverse;
@@ -7060,8 +7241,11 @@ body {
7060
7241
  }
7061
7242
 
7062
7243
  .dropdown-menu-item:focus {
7063
- background-color: hsl(var(--accent));
7064
- color: hsl(var(--accent-foreground));
7244
+ /* `--accent` (255 85% 55%, indigo/purple) is a generic shadcn token never
7245
+ tuned for this app's brand — swapping in the real brand teal here
7246
+ instead, same fix as the calendar "today" cell. */
7247
+ background-color: var(--color-blue-50, #fbfdfe);
7248
+ color: var(--color-blue-800, #1d4e74);
7065
7249
  }
7066
7250
 
7067
7251
  .dropdown-menu-item[data-disabled] {
@@ -7416,12 +7600,10 @@ body {
7416
7600
  box-shadow:
7417
7601
  0 10px 15px -3px rgba(0, 0, 0, 0.1),
7418
7602
  0 4px 6px -4px rgba(0, 0, 0, 0.1);
7419
- transition: all 0.3s ease-in-out;
7420
- animation: slide-in 0.5s ease-in-out;
7421
- }
7422
-
7423
- .sheet-content[data-state="closed"] {
7424
- animation: slide-out 0.3s ease-in-out;
7603
+ /* `animation` (not `transition`) drives the open/close motion end to end —
7604
+ a `transition: all` here used to run alongside it and could fight the
7605
+ animation's own transform on the same frame, reading as jank rather than
7606
+ a clean slide. Side-specific rules below set the real keyframes. */
7425
7607
  }
7426
7608
 
7427
7609
  .sheet-content--top {
@@ -7431,12 +7613,12 @@ body {
7431
7613
  border-bottom: 1px solid hsl(var(--border));
7432
7614
  }
7433
7615
 
7434
- .sheet-content--top[data-state="closed"] {
7435
- animation: slide-out-to-top 0.3s ease-in-out;
7616
+ .sheet-content--top[data-state="open"] {
7617
+ animation: sheet-slide-in-from-top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
7436
7618
  }
7437
7619
 
7438
- .sheet-content--top[data-state="open"] {
7439
- animation: slide-in-from-top 0.5s ease-in-out;
7620
+ .sheet-content--top[data-state="closed"] {
7621
+ animation: sheet-slide-out-to-top 0.25s cubic-bezier(0.4, 0, 1, 1);
7440
7622
  }
7441
7623
 
7442
7624
  .sheet-content--bottom {
@@ -7446,12 +7628,12 @@ body {
7446
7628
  border-top: 1px solid hsl(var(--border));
7447
7629
  }
7448
7630
 
7449
- .sheet-content--bottom[data-state="closed"] {
7450
- animation: slide-out-to-bottom 0.3s ease-in-out;
7631
+ .sheet-content--bottom[data-state="open"] {
7632
+ animation: sheet-slide-in-from-bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
7451
7633
  }
7452
7634
 
7453
- .sheet-content--bottom[data-state="open"] {
7454
- animation: slide-in-from-bottom 0.5s ease-in-out;
7635
+ .sheet-content--bottom[data-state="closed"] {
7636
+ animation: sheet-slide-out-to-bottom 0.25s cubic-bezier(0.4, 0, 1, 1);
7455
7637
  }
7456
7638
 
7457
7639
  .sheet-content--left {
@@ -7463,12 +7645,12 @@ body {
7463
7645
  border-right: 1px solid hsl(var(--border));
7464
7646
  }
7465
7647
 
7466
- .sheet-content--left[data-state="closed"] {
7467
- animation: slide-out-to-left 0.3s ease-in-out;
7648
+ .sheet-content--left[data-state="open"] {
7649
+ animation: sheet-slide-in-from-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
7468
7650
  }
7469
7651
 
7470
- .sheet-content--left[data-state="open"] {
7471
- animation: slide-in-from-left 0.5s ease-in-out;
7652
+ .sheet-content--left[data-state="closed"] {
7653
+ animation: sheet-slide-out-to-left 0.25s cubic-bezier(0.4, 0, 1, 1);
7472
7654
  }
7473
7655
 
7474
7656
  @media (min-width: 640px) {
@@ -7486,12 +7668,12 @@ body {
7486
7668
  border-left: 1px solid hsl(var(--border));
7487
7669
  }
7488
7670
 
7489
- .sheet-content--right[data-state="closed"] {
7490
- animation: slide-out-to-right 0.3s ease-in-out;
7671
+ .sheet-content--right[data-state="open"] {
7672
+ animation: sheet-slide-in-from-right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
7491
7673
  }
7492
7674
 
7493
- .sheet-content--right[data-state="open"] {
7494
- animation: slide-in-from-right 0.5s ease-in-out;
7675
+ .sheet-content--right[data-state="closed"] {
7676
+ animation: sheet-slide-out-to-right 0.25s cubic-bezier(0.4, 0, 1, 1);
7495
7677
  }
7496
7678
 
7497
7679
  @media (min-width: 640px) {
@@ -8886,14 +9068,17 @@ body {
8886
9068
  }
8887
9069
 
8888
9070
  .calendar-day-selected {
9071
+ background-color: hsl(var(--primary));
8889
9072
  color: hsl(var(--primary-foreground));
8890
9073
  }
8891
9074
 
8892
9075
  .calendar-day-selected:hover {
9076
+ background-color: hsl(var(--primary));
8893
9077
  color: hsl(var(--primary-foreground));
8894
9078
  }
8895
9079
 
8896
9080
  .calendar-day-selected:focus {
9081
+ background-color: hsl(var(--primary));
8897
9082
  color: hsl(var(--primary-foreground));
8898
9083
  }
8899
9084
 
@@ -8910,9 +9095,14 @@ body {
8910
9095
  box-shadow: none;
8911
9096
  }
8912
9097
 
9098
+ /* `--accent` (255 85% 55%, a vivid indigo/blue-violet) is a generic shadcn
9099
+ token never tuned for this calendar — on today's cell it reads as a loud,
9100
+ off-brand blue box in an otherwise neutral white/gray grid. A light tint of
9101
+ the real brand `--primary` (teal) reads as an intentional "today" marker
9102
+ instead, consistent with the rest of the calendar's selected-day fill. */
8913
9103
  .calendar-day-today {
8914
- background-color: hsl(var(--accent));
8915
- color: hsl(var(--accent-foreground));
9104
+ background-color: hsl(var(--primary) / 0.12);
9105
+ color: hsl(var(--primary));
8916
9106
  }
8917
9107
 
8918
9108
  .calendar-day-outside {
@@ -10687,6 +10877,13 @@ body {
10687
10877
  letter-spacing: -0.34px;
10688
10878
  }
10689
10879
 
10880
+ /* `Text loose` — a combined selector so it beats the variant's own
10881
+ line-height on specificity without an inline style. Generic across
10882
+ variants rather than one-off per heading size. */
10883
+ .typography--loose {
10884
+ line-height: 1.4;
10885
+ }
10886
+
10690
10887
  .heading-medium::before {
10691
10888
  content: "";
10692
10889
  margin-bottom: -0.2734em;
@@ -15670,6 +15867,13 @@ body {
15670
15867
  .copy--inverse {
15671
15868
  color: var(--color-white, #fff);
15672
15869
  }
15870
+
15871
+ /* The "eyebrow" label on a dark/gradient promo banner (e.g. "THE WELL
15872
+ FORUM") — a warm coral tint, not plain white, so it reads as a distinct
15873
+ label above the heading rather than blending into it. */
15874
+ .copy--coral {
15875
+ color: var(--color-coral-400, #f0aa99);
15876
+ }
15673
15877
  /* /DS_PENDING_CSS:Copy */
15674
15878
 
15675
15879
  /* DS_PENDING_CSS:StandardLogoWellVariant */