@syscore/ui-library 2.0.0-beta-publish-workflow-beta.6 → 2.0.0-beta-publish-workflow-beta.8

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/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-cyan-50, #fafeff);
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%;
@@ -11277,6 +11439,7 @@ body {
11277
11439
 
11278
11440
  .stepper--vertical {
11279
11441
  flex-direction: column;
11442
+ margin: 20px 5px;
11280
11443
  }
11281
11444
 
11282
11445
  /* Size tokens */
@@ -11345,7 +11508,7 @@ body {
11345
11508
  height: var(--stepper-indicator-size);
11346
11509
  border-radius: 9999px;
11347
11510
  border: 2px solid transparent;
11348
- font-size: var(--stepper-font-size);
11511
+ font-size: 13px;
11349
11512
  font-weight: 600;
11350
11513
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
11351
11514
  cursor: default;
@@ -11468,24 +11631,34 @@ body {
11468
11631
  }
11469
11632
 
11470
11633
  .stepper-title {
11471
- font-size: var(--stepper-font-size);
11634
+ font-size: 13px;
11472
11635
  font-weight: 600;
11473
11636
  line-height: 1.4;
11474
11637
  transition: color 0.15s ease;
11475
11638
  }
11476
11639
 
11477
11640
  .stepper-title--complete { color: var(--color-gray-700, #3f5260); }
11478
- .stepper-title--current { color: var(--color-gray-900, #1a282f); }
11641
+ .stepper-title--current { color: var(--color-gray-900, #1a282f); font-weight: 500; }
11479
11642
  .stepper-title--upcoming { color: var(--color-gray-400, #9ba6af); }
11480
11643
 
11481
- .stepper--horizontal .stepper-title {
11644
+ .stepper--horizontal .stepper-title,
11645
+ .stepper--vertical .stepper-title {
11482
11646
  text-transform: uppercase;
11483
- font-size: 0.8125rem;
11647
+ font-size: 13px;
11484
11648
  letter-spacing: 0.02em;
11485
11649
  }
11486
11650
 
11651
+ .stepper-title .inline-link {
11652
+ font-size: inherit;
11653
+ font-weight: inherit;
11654
+ line-height: inherit;
11655
+ letter-spacing: inherit;
11656
+ text-transform: inherit;
11657
+ color: inherit;
11658
+ }
11659
+
11487
11660
  .stepper-description {
11488
- font-size: calc(var(--stepper-font-size) - 0.0625rem);
11661
+ font-size: 13px;
11489
11662
  line-height: 1.4;
11490
11663
  }
11491
11664
 
@@ -13087,6 +13260,7 @@ body {
13087
13260
 
13088
13261
  .stepper--vertical {
13089
13262
  flex-direction: column;
13263
+ margin: 20px 5px;
13090
13264
  }
13091
13265
 
13092
13266
  /* Size tokens */
@@ -13155,7 +13329,7 @@ body {
13155
13329
  height: var(--stepper-indicator-size);
13156
13330
  border-radius: 9999px;
13157
13331
  border: 2px solid transparent;
13158
- font-size: var(--stepper-font-size);
13332
+ font-size: 13px;
13159
13333
  font-weight: 600;
13160
13334
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
13161
13335
  cursor: default;
@@ -13278,24 +13452,34 @@ body {
13278
13452
  }
13279
13453
 
13280
13454
  .stepper-title {
13281
- font-size: var(--stepper-font-size);
13455
+ font-size: 13px;
13282
13456
  font-weight: 600;
13283
13457
  line-height: 1.4;
13284
13458
  transition: color 0.15s ease;
13285
13459
  }
13286
13460
 
13287
13461
  .stepper-title--complete { color: var(--color-gray-700, #3f5260); }
13288
- .stepper-title--current { color: var(--color-gray-900, #1a282f); }
13462
+ .stepper-title--current { color: var(--color-gray-900, #1a282f); font-weight: 500; }
13289
13463
  .stepper-title--upcoming { color: var(--color-gray-400, #9ba6af); }
13290
13464
 
13291
- .stepper--horizontal .stepper-title {
13465
+ .stepper--horizontal .stepper-title,
13466
+ .stepper--vertical .stepper-title {
13292
13467
  text-transform: uppercase;
13293
- font-size: 0.8125rem;
13468
+ font-size: 13px;
13294
13469
  letter-spacing: 0.02em;
13295
13470
  }
13296
13471
 
13472
+ .stepper-title .inline-link {
13473
+ font-size: inherit;
13474
+ font-weight: inherit;
13475
+ line-height: inherit;
13476
+ letter-spacing: inherit;
13477
+ text-transform: inherit;
13478
+ color: inherit;
13479
+ }
13480
+
13297
13481
  .stepper-description {
13298
- font-size: calc(var(--stepper-font-size) - 0.0625rem);
13482
+ font-size: 13px;
13299
13483
  line-height: 1.4;
13300
13484
  }
13301
13485
 
@@ -15100,11 +15284,26 @@ body {
15100
15284
  color: var(--color-coral-800, #bc4324);
15101
15285
  }
15102
15286
 
15287
+ .copy--success {
15288
+ color: var(--color-green-700, #15803d);
15289
+ }
15290
+
15103
15291
  .copy--inverse {
15104
15292
  color: var(--color-white, #fff);
15105
15293
  }
15106
15294
  /* /DS_PENDING_CSS:Copy */
15107
15295
 
15296
+ /* DS_PENDING_CSS:StandardLogoWellVariant */
15297
+ .standard-logo-wordmark {
15298
+ display: inline-block;
15299
+ font-family: var(--font-mazzard);
15300
+ font-size: 26px;
15301
+ line-height: 26px;
15302
+ font-weight: 700;
15303
+ letter-spacing: 0.02em;
15304
+ }
15305
+ /* /DS_PENDING_CSS:StandardLogoWellVariant */
15306
+
15108
15307
  /* DS_PENDING_CSS:LabeledDivider */
15109
15308
  .labeled-divider {
15110
15309
  display: flex;
@@ -15709,3 +15908,38 @@ body {
15709
15908
  height: 1rem;
15710
15909
  }
15711
15910
  /* /DS_PENDING_CSS:ResourceThumbnail */
15911
+
15912
+ /* DS_PENDING_CSS:HeroSplitImage */
15913
+ .hero-split-image-frame {
15914
+ display: block;
15915
+ position: relative;
15916
+ width: calc(100% + 3.5rem);
15917
+ height: 100%;
15918
+ margin: 0 -3.5rem 0 0;
15919
+ border-radius: 0 var(--radius-lg, 12px) var(--radius-lg, 12px) 0;
15920
+ overflow: hidden;
15921
+ }
15922
+
15923
+ .hero-split-image {
15924
+ display: block;
15925
+ position: absolute;
15926
+ inset: 0;
15927
+ width: 100%;
15928
+ height: 100%;
15929
+ object-fit: cover;
15930
+ }
15931
+ /* /DS_PENDING_CSS:HeroSplitImage */
15932
+
15933
+ /* DS_PENDING_CSS:PriceTag */
15934
+ .price-tag {
15935
+ display: inline-block;
15936
+ font-size: 2.75rem;
15937
+ font-weight: 500;
15938
+ line-height: 1.2;
15939
+ color: #41937d;
15940
+ }
15941
+
15942
+ .price-tag--neutral {
15943
+ color: var(--color-gray-900, #1a282f);
15944
+ }
15945
+ /* /DS_PENDING_CSS:PriceTag */
@@ -313,6 +313,32 @@ export const LongContentScroll: Story = {
313
313
  },
314
314
  };
315
315
 
316
+ export const Fullscreen: Story = {
317
+ render: () => {
318
+ const [open, setOpen] = useState(false);
319
+ return (
320
+ <Dialog open={open} onOpenChange={setOpen}>
321
+ <DialogTrigger asChild>
322
+ <Button
323
+ size="large"
324
+ variant="general-primary"
325
+ onClick={() => setOpen(true)}
326
+ >
327
+ Access Course
328
+ </Button>
329
+ </DialogTrigger>
330
+ <DialogContent size="fullscreen">
331
+ <iframe
332
+ title="Course"
333
+ src="about:blank"
334
+ style={{ width: "100%", height: "100%", border: 0 }}
335
+ />
336
+ </DialogContent>
337
+ </Dialog>
338
+ );
339
+ },
340
+ };
341
+
316
342
  export const WithResponsiveDrawer: Story = {
317
343
  render: () => {
318
344
  const [open, setOpen] = useState(false);