@ethlete/components 1.0.0-next.90 → 1.0.0-next.92

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/design/notification.ts +1 -1
  3. package/design/sdk/components/carousel/carousel.ts +0 -1
  4. package/design/sdk/components/checkbox/checkbox.ts +1 -8
  5. package/design/sdk/components/input/input.css +5 -5
  6. package/design/sdk/components/input/input.ts +1 -1
  7. package/design/sdk/components/loader/loader.ts +0 -1
  8. package/design/sdk/components/otp-input/otp-input.css +1 -1
  9. package/design/sdk/components/otp-input/otp-input.ts +1 -1
  10. package/design/sdk/components/scheduler/scheduler.ts +2 -8
  11. package/design/sdk/components/scrollable/scrollable.ts +2 -7
  12. package/design/sdk/components/scrollbar/scrollbar.ts +3 -3
  13. package/design/sdk/components/stream/stream.ts +1 -1
  14. package/design/sdk/components/switch/switch.ts +4 -1
  15. package/design/sdk/components/textarea/textarea.css +5 -5
  16. package/design/sdk/components/textarea/textarea.ts +1 -6
  17. package/design/sdk/foundations/colors/colors.css +2 -2
  18. package/design/sdk/ready.json +15 -40
  19. package/fesm2022/ethlete-components.mjs +600 -153
  20. package/fesm2022/ethlete-components.mjs.map +1 -1
  21. package/generators/icons/generator.js +35 -1
  22. package/package.json +1 -1
  23. package/src/lib/accordion/accordion.component.css +26 -5
  24. package/src/lib/forms/checkbox/checkbox.component.css +8 -3
  25. package/src/lib/forms/choice-field/choice-field-card-styles.component.css +7 -0
  26. package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +11 -8
  27. package/src/lib/forms/otp-input/otp-input.component.css +11 -2
  28. package/src/lib/forms/selection-card-styles.component.css +15 -3
  29. package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +7 -2
  30. package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +9 -2
  31. package/src/lib/forms/selection-list/radio-group/radio.component.css +9 -2
  32. package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +47 -3
  33. package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +8 -2
  34. package/src/lib/progress-steps/progress-step.component.css +51 -7
  35. package/src/lib/scrollable/headless/scrollable-buttons.component.css +65 -0
  36. package/src/lib/scrollable/headless/scrollable-masks.component.css +17 -7
  37. package/src/lib/standings/standings.component.css +40 -7
  38. package/src/lib/stream/pip/pip-window.component.css +3 -4
  39. package/src/lib/tabs/tab-bar-styles.component.css +34 -4
  40. package/types/ethlete-components.d.ts +200 -17
package/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0-next.92
4
+
5
+ ### Minor Changes
6
+
7
+ - Add `CarouselDirective.hasMultipleSlides()` and a `data-single-slide` host attribute so a carousel with one slide can hide its controls. Autoplay does not run with one slide.
8
+ - Add `scrollToTopOnlyUp` to `FloatingActionDirective` (input and `provideFloatingActionConfig`): `scrollToTop()` then scrolls only when the target lies above the top edge, stopping at its `scroll-margin-top`. The default is unchanged.
9
+ - Add `provideScrollableConfig` to enable the scrollable's prev/next buttons app-wide, with `enabled` and `position` per breakpoint, and a new `'inline'` button position beside the track. `etScrollableButtons` on an instance overrides the config.
10
+ - Add `--et-scrollable-mask-inset-start` and `--et-scrollable-mask-inset-end` so a sticky child of `et-scrollable` stays fully opaque over the edge fade. Both default to `0px`, which leaves the fade unchanged.
11
+ - `et-segmented-button` registers itself as the active child of a surrounding `et-scrollable`: the checked segment is scrolled into view initially and whenever the selection changes, with no extra attribute.
12
+ - Add `provideTabsConfig` and `activeUnderline` / `underlineWidth` inputs to tab bars, plus the `--et-tab-baseline-color`, `--et-tab-active-color` and `--et-tab-inactive-color` tokens.
13
+
14
+ ### Patch Changes
15
+
16
+ - Fix the picture-in-picture window background extending below the window while the title bar is hidden.
17
+ - Fix the tab bar baseline painting over the bottom row of the active underline when a tab forms its own stacking context, so a thicker underline next to a thinner baseline shows at full size.
18
+
19
+ ## 1.0.0-next.91
20
+
21
+ ### Minor Changes
22
+
23
+ - Add accordion tokens for the header outset, the hover tint inset, the chevron color and stroke width and the panel's top padding.
24
+ - Add accordion trigger hover and active background tokens, a header end inset token and provideAccordionConfig for an app-wide lastDivider default.
25
+ - `et-button` and `et-icon-button` take a `pressedVariant` input that sets the variant shown while `pressed`; without it the fixed per-flavor swap stays. `variant="outline" pressedVariant="outline"` keeps an outline toggle outlined, with border and text in the `pressedColor` theme.
26
+ - Add `--et-form-field-label-color` and `--et-form-field-label-color-active` to set the form field label colour at rest and when focused or filled.
27
+ - The `icons` generator now resolves Font Awesome alias names (`times`, `cog`, `home`, …), so an icon list written for Font Awesome 7 also generates on Font Awesome 6.
28
+ - Add progress-steps tokens: connector width and colours, an opt-in filled current marker with a dot, done and upcoming label font weights, and the description line height.
29
+ - `et-segmented-button-group` now defaults to `overflow="scroll"`: segments shrink to their full label, then the track scrolls; `'truncate'` keeps the ellipsis look.
30
+ - Add an `overflow` input (`'truncate' | 'scroll'`) to `et-segmented-button-group`: `'scroll'` keeps full labels, scrolls the track and centers the selected segment.
31
+ - Add segmented button group tokens: inactive label colour and weight, track background, stretch track size and column count.
32
+ - Add `etStandingsFormTooltip` to `et-standings`: an `ng-template` that replaces the text tooltip of a labelled form result with your own content, receiving the form entry and the row.
33
+ - Add an optional `strength` (0-1) to `StandingsZone`, exposed as `--et-standings-zone-strength` on the zone band and its legend swatch, so two zones of one type can differ. Unset renders as before.
34
+
35
+ ### Patch Changes
36
+
37
+ - An anchored dialog with an `arrowAnchor` now grows from and shrinks to that anchor, not the centre of its origin.
38
+ - Fix `et-segmented-button-group` collapsing to its padding as a direct child of an auto-sized `et-scrollable`.
39
+ - Add `--et-progress-step-upcoming-marker-content` and `--et-progress-step-upcoming-marker-background` to style the marker of upcoming progress steps, for example an empty ring.
40
+ - Add `--et-accordion-header-hover-text-decoration` (default `none`) to decorate the accordion title on header hover, for example an underline.
41
+ - Text fields draw a quieter resting frame, about 3:1 against their surface in light and dark, instead of a near-white frame in dark mode.
42
+ - `ButtonComponent.pressedVariant` is the input and reads `undefined` unless set; `ACCORDION_CONFIG_TOKEN` is gone, use `injectAccordionConfig()`.
43
+ - Accordion, progress step and segmented button tokens now put the element or state before the part, e.g. `--et-accordion-header-hover-background`.
44
+ - Text fields draw their hovered frame near 4.5:1 against the surface in light and dark, using the same surface text mix as the resting frame, instead of a near-white frame in dark mode.
45
+ - Checkbox, radio, selection card and OTP borders now rest near 3:1 like text fields, and every control's border hovers in its label's hover colour.
46
+ - Name icon-only controls by aria-label instead of a native title
47
+ - An overflowing `et-nav-tabs` now opens with the active link centered instead of at scroll position 0.
48
+ - A progress step marker stays round when the step's label or description fills the row.
49
+ - A custom `etStandingsFormTooltip` template no longer throws on hover: the form entry's label is passed as the tooltip's accessible description.
50
+
3
51
  ## 1.0.0-next.90
4
52
 
5
53
  ### Minor Changes
@@ -77,7 +77,7 @@ export const notificationStyles = /* @__PURE__ */ [
77
77
  const spinner = () => {
78
78
  const circle = `<svg viewBox="0 0 8 8" class="et-spinner-circle-graphic" xmlns="http://www.w3.org/2000/svg" focusable="false"><circle r="3" cx="50%" cy="50%"></circle></svg>`;
79
79
 
80
- return `<et-spinner data-et-skip="CLIPPED" class="et-notification-spinner et-notification-mock-spinner et-color--inherited et-spinner" role="progressbar" aria-label="Loading"><div class="et-spinner-indeterminate"><div class="et-spinner-indeterminate-container" aria-hidden="true"><div class="et-spinner-layer"><div class="et-spinner-circle-clipper et-spinner-circle-left">${circle}</div><div class="et-spinner-gap-patch">${circle}</div><div class="et-spinner-circle-clipper et-spinner-circle-right">${circle}</div></div></div></div></et-spinner>`;
80
+ return `<et-spinner class="et-notification-spinner et-notification-mock-spinner et-color--inherited et-spinner" role="progressbar" aria-label="Loading"><div class="et-spinner-indeterminate"><div class="et-spinner-indeterminate-container" aria-hidden="true"><div class="et-spinner-layer"><div class="et-spinner-circle-clipper et-spinner-circle-left">${circle}</div><div class="et-spinner-gap-patch">${circle}</div><div class="et-spinner-circle-clipper et-spinner-circle-right">${circle}</div></div></div></div></et-spinner>`;
81
81
  };
82
82
 
83
83
  const dismissButton = (color: string | undefined, attributes?: string) => {
@@ -39,7 +39,6 @@ const render = ({ count = 5, longCaption = false, previous, next, playToggle, do
39
39
  `${INDEX_CHANGE} ${dot?.index === index ? force(dot.interaction) : ''}`,
40
40
  ]),
41
41
  ),
42
- trackAttributes: 'data-et-skip="CLIPPED"',
43
42
  }).replaceAll(
44
43
  'class="et-carousel-dot-progress-half"',
45
44
  'data-et-skip="CLIPPED" class="et-carousel-dot-progress-half"',
@@ -87,14 +87,7 @@ const marked = (markup: string) =>
87
87
  );
88
88
 
89
89
  const render = (props: Props) =>
90
- 'group' in props
91
- ? marked(checkboxGroup(props.group))
92
- : marked(
93
- checkbox(props.checkbox).replace(
94
- 'class="et-choice-field-label-area',
95
- 'data-et-skip="CLIPPED" class="et-choice-field-label-area',
96
- ),
97
- );
90
+ 'group' in props ? marked(checkboxGroup(props.group)) : marked(checkbox(props.checkbox));
98
91
 
99
92
  export default definePart({
100
93
  note: "The SDK checkbox (et-checkbox) in flow, first drawing, drawn by the mock from @ethlete/components/design/checkbox with the real markup and CSS: et-checkbox alone and inside et-choice-field (label, et-description, hint, error, required marker), the card variant (et-selection-card), and et-checkbox-group with et-checkbox-group-select-all and et-checkbox-option, plus the color-interactive and focus-ring sheets; the brand theme, danger as the error theme. Fixtures are fictional: a match-report preferences form (Send me the match report, One email per match, no ads., hint We send it after the final whistle.; I accept the terms of use, required, error Accept the terms to continue.; card Weekly digest, A summary of every match day, each Monday.; group Notify me about with All events over Kick-off, Goals, Half-time, Full-time; horizontal group Show matches: Home, Away, Neutral ground). Framed as a page with 16px padding at 360 and 640. States: a grid of unchecked, checked and indeterminate by rest, hover, focus-visible, active, disabled and readonly (all labelled); box-only (checked, no label); support (description and hint); invalid and invalid-focus-visible; card-rest, card-checked, card-hover, card-focus-visible, card-checked-focus-visible; group-unchecked, group-partial (2 of 4, select-all mixed), group-checked, group-option-hover, group-option-pressed (force hover and active), group-option-focus-visible, group-select-all-focus-visible and group-horizontal. Numbers (light / dark), from shot pixels at scale 2 at 360, brand mint, a: unchecked box border (surface border) vs page 1.26 / 1.73, the same for the option and select-all boxes and the card edge; hover border 10.37 / 13.07; checked and indeterminate fill (primary) vs page 1.33 / 13.50, check and dash on it 15.82; checked hover fill (-hover) 1.37 / 13.06, 1.03 from rest; active fill 2.24 / 8.01; focus-visible fill (-focus) 1.37 / 13.06; focus ring on a checked or indeterminate box (primary -focus) 1.37 / 13.06, on an unchecked box (surface text colour) 17.93 / 17.18; card checked edge and card ring (primary) 1.33 / 13.50; option and select-all ring 1.37 / 13.06; invalid box border (danger) 4.83 / 3.71, its focus ring (danger -focus) 6.47 / 2.77; disabled checked fill 2.20 / 1.70, disabled unchecked border 1.12 / 1.27 (exempt under 1.4.11). Decided rules that arise: Q88 (the checked and indeterminate ring, the invalid ring, the card ring, the option and select-all rings in ink; the unchecked ring is the surface text colour, not a primary ring, so it stays), Q99a (the card checked and focus edge and the focused option, select-all and card box borders take light-dark(ink, primary); the checked and indeterminate box, the checked option box and the checked or mixed select-all box are mint fills, so they take a 1px inset ink edge, an outline at -1px as in the table round; on the option and select-all the focus ring owns the outline, so the edge leaves while it shows) and Q101 (a filled checked or indeterminate box hovers to -active). The ink edge on a mint fill arises, so Q102 arises: b draws the edges in both schemes, c keeps dark as today (light-dark(ink, transparent)). The error border is the danger theme, not mint, and passes 3:1, so it is kept. Findings for later: (1) lib bug: .et-checkbox-box, .et-checkbox-option-box and .et-checkbox-group-select-all-box were content-box, so --et-checkbox-size 20px drew a 24px box (48 sheet px at scale 2) in an app without a global border-box reset, and the hint and error started 4px left of the label column. Fixed in the lib (box-sizing: border-box on the three boxes): every box draws 20px (40 sheet px), and the label, description and hint share one column (44 CSS px from the frame edge). (2) WCAG 1.4.11: the unchecked box border is 1.26 / 1.73 vs page, under 3:1; it is the only edge of an unchecked box (the same question as the switch off track, switch r1, open). Not drawn. (3) The required marker takes the error theme primary: 3.71:1 in dark, under 4.5:1; exempted here. (4) Focus-visible lightens the checked fill to -focus (1.37 vs page, light), so a focused checked box reads paler than at rest; the ink ring carries the state in b and c. (5) Readonly draws exactly like rest (no affordance by design); a checked readonly box cannot be told from an editable one. (6) Mock: et-description now has its own stylesheet (description.component.css, f5722a1f5), so the mock's inline copy can import it instead. Later rounds, left out here: the sizes sm and lg, the card with the control at start, a coloured (non-brand) checkbox, the group's bulk-edit mixed state (dashed option boxes, a primary mark that Q99a would reach), a disabled or readonly group, a group with error and the group card variant, long labels that wrap, RTL and the check and uncheck animation.",
@@ -10,12 +10,12 @@
10
10
 
11
11
  @layer components {
12
12
  et-form-field[data-text-shell] {
13
- --_et-form-field-frame-border: var(--et-surface-interaction-solid);
14
- --_et-form-field-frame-border-hover: color-mix(
15
- in srgb,
16
- var(--et-surface-interaction-solid) 75%,
17
- var(--et-surface-color-solid)
13
+ --_et-form-field-frame-border: color-mix(
14
+ in oklab,
15
+ var(--et-surface-color-solid) 43%,
16
+ var(--et-surface-background-solid)
18
17
  );
18
+ --_et-form-field-frame-border-hover: var(--et-surface-color-solid);
19
19
  }
20
20
 
21
21
  et-form-field[data-text-shell][data-error] {
@@ -19,7 +19,7 @@ const INVALID = {
19
19
 
20
20
  export default definePart({
21
21
  note: 'scale of the decided shape, Q182, lead merge',
22
- madeBy: ['claude-opus-5-5'],
22
+ madeBy: ['claude-opus-5-5', 'design check'],
23
23
  states: {
24
24
  empty: email({ placeholder: undefined }),
25
25
  placeholder: email(),
@@ -69,7 +69,6 @@ export default definePart({
69
69
  'Progress bars in brand, danger and warning; check that each fill and track takes its theme color.',
70
70
  'brand-loader': 'The brand loader; check that the mark shows whole and centered in the frame.',
71
71
  },
72
- checks: { skip: ['CLIPPED'] },
73
72
  widths: [480],
74
73
  frame: (body) => `<div class="loader-frame">${body}</div>`,
75
74
  render: (props: Props) =>
@@ -25,7 +25,7 @@
25
25
 
26
26
  @media (hover: hover) {
27
27
  et-otp-input:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]) {
28
- border-color: var(--et-surface-interaction-hover-solid);
28
+ border-color: var(--et-surface-color-solid);
29
29
  }
30
30
 
31
31
  et-otp-input[data-error]:not(:has(.et-otp-input-native:read-only)):hover .et-otp-input-segment:not([data-caret]) {
@@ -20,7 +20,7 @@ const INVALID = {
20
20
 
21
21
  export default definePart({
22
22
  note: 'The SDK otp input (et-otp-input), first drawing, drawn by the mock from @ethlete/components/design/otp-input with the real markup and CSS: et-label with the required marker, the segment row, the invisible native input over it, et-form-support with hint and error; the brand theme, danger as the error theme. The field has no :focus or :hover CSS of its own: focus is the data-caret segment (a 1px border plus a 1px inset outline in primary, and a blinking 2px caret bar in an empty one), which the mock draws with focused. Fixtures are fictional: Verification code, 6 digits 482193, hint We sent it to +49 151 0000 0000., required with error Enter the code from the SMS.; a 4-digit masked PIN. Framed as a page with 16px padding at 320, 360 and 640. States: empty, partial, filled, hover, focus-empty, focus-partial, focus-filled, hint, required, invalid, invalid-partial, invalid-focus, disabled, disabled-filled, readonly, readonly-focus, pin-partial and pin-focus. Numbers (light / dark), from shot pixels at scale 2 at 360, brand mint, a: segment 44px outer (border-box, fixed in 00072d935), gap 8px, row 304px, digits 19.8px; empty and filled segment border (surface border) vs page 1.26 / 1.73, the only edge of a segment; caret segment edge and caret bar (primary) 1.33 / 13.50; required marker (brand primary) 1.33 / 13.50; invalid border (danger) 4.83 / 3.71; label (muted) 7.81 / 6.94; disabled digits 2.55 / 3.72 (opacity 0.4, exempt). Decided rules that arise: Q88 (focus in ink: the caret segment edge and the caret bar take ink, the invalid one the danger ink) and Q99a (a mint mark on light takes ink: the required marker light-dark(ink, primary)). Hover follows the text field (form-field-text-shell: the frame border to surface-interaction-hover, the error frame to ink, none when readonly or disabled), on the host since the host is the click target (otp.activate()). The filled segment edge in c is my proposal, not a decided rule (Q103). Findings for later, lib bugs apart: (L1) a 6-digit field needed 304px and never shrank; at 320 with 16px page padding it overflowed by 16px (drawn at 320). Now fixed: the segments shrink, 41.3px at 320, and the render at 640 is unchanged. (L2) a readonly field showed the focus caret segment and, when not full, the blinking caret bar, though nothing can be typed (readonly-focus). Now fixed: no caret when readonly. Design: (1) WCAG 1.4.11: the segment border 1.26 / 1.73 is the only edge of an empty segment, as with the checkbox box and the radio circle. Not drawn. (2) A filled segment looks like an empty one apart from its digit; c answers it. (3) The error border is the full danger primary, while the text field draws its error frame at 50 % danger; kept, it passes 3:1. (4) Hover (10.37 / 13.07) outshines the focus edge (5.48 / 13.50) in b and c, as it does on the text field. (5) The masked dot is a 19.8px bullet, about 5px wide. (6) The error marker 3.71 in dark, exempted as in checkbox r1. Later rounds, left out here: data-warning (no CSS of its own), a coloured field, alphanumeric codes, other lengths and segment sizes via the custom properties, RTL and the pop-in animation.',
23
- madeBy: ['claude-opus-5-5'],
23
+ madeBy: ['claude-opus-5-5', 'design check'],
24
24
  states: {
25
25
  empty: code(),
26
26
  partial: code({ value: '482' }),
@@ -231,14 +231,8 @@ const declareActions = (markup: string) =>
231
231
  : appointment.replace('<button ', `<button ${action('emit:selectedAppointmentIdChange')} `),
232
232
  );
233
233
 
234
- const skipClipped = (markup: string) =>
235
- markup.replaceAll(
236
- 'class="et-scheduler-time-grid-block',
237
- 'data-et-skip="CLIPPED" class="et-scheduler-time-grid-block',
238
- );
239
-
240
234
  export default definePart({
241
- note: "The SDK scheduler (et-scheduler) in flow, first drawing, drawn by the mock from @ethlete/components/design/scheduler with the real markup and CSS: the wide header (outline Today button, filled Add appointment, previous and next icon buttons, the range label, the tabs view switch), et-scheduler-time-grid-view (week and day), et-scheduler-month-view and et-scheduler-agenda-view, the appointment badges (color dot, title, time range, location, chain count) and the resize handles; default labels, en-US times. Fixtures are fictional: one week (Mon March 2 to Sun March 8, 2026, today Wed March 4) with a daily sync, an overlapping parent and nested child (Roadmap planning / Budget check), a selected appointment (Design review, brand), a two-day all-day Conference, Hiring panel and Retro; the colors are the sdk product's registered themes brand (default), warning and danger. The time grid draws 8:00 to 18:00 as if the scrolling body sat on that window, with business hours 9 to 17 on weekdays and the weekend outside them; the current time line sits on today at 11:15. Framed as a page with 16px padding. Widths 560, 800 and 1200 (all above the 480px container width where the header switches to floating action buttons). States: week, week-dragging (Retro lifted, with the drag shadow), appointment-hover, appointment-focus-visible (Daily sync on Monday forced), slot-focus-visible (Thursday 11:00 forced), day, month (outside-month days, today, a +3 more trigger, the selected appointment), month-cell-focus-visible, agenda (a month heading, today, nested rows with tree guides, the selected appointment). Numbers (light / dark), from shot pixels at scale 2 at 800, brand mint, a: appointment tint (14 %) vs page 1.07 / 1.37, its title ink on it 5.12 / 9.84; selected appointment (mint fill) vs page 1.33 / 13.50, its text 15.82 / 15.82; today date circle (mint fill) vs page 1.33 / 13.50, its digit 15.82; current time line and its dot vs the today column 1.29 / 12.14; focus ring (primary) vs page 1.35 / 13.50, vs the appointment tint 1.26 / 9.84; Add appointment fill vs page 1.33 / 13.50, its label 15.82. Q98 numbers only: grid lines (hour rows, day columns, header and all-day edges, month cells) vs page 1.26 / 1.73; the non-business band 1.07 / 1.08; the today column tint is 6 % mint. Decided rules that arise: Q88 (every focus ring: slots, all-day cells, month cells, appointments, the overflow trigger, the view switch, the header buttons), Q99a (the current time line and its dot, the appointment color dot; the selected appointment, the today date circles and the filled Add appointment button are mint fills, so they take a 1px inset ink edge) and Q101 (the filled button hover = -active). The ink edge on a mint fill arises, so Q102 arises: b draws the edges in both schemes, c keeps dark as today (light-dark(ink, transparent)). The 32 / 38 / 44 % selection step does not arise: a selected appointment is a solid mint fill, not a tint. Findings for later: (1) lib bug: the badge pieces render inside their component hosts (et-scheduler-badge-color-dot, -title, -time-range, -location, -chain-count), which are inline, so the flex rules on the inner spans never apply: the color dot is 0 x 0 and never shows (also in Storybook), the title does not take flex: 1 or ellipsis, and the time range and location are cut hard at the block edge (the agenda location shrinks to one letter while the title has room). Fixed in the lib (display: contents on the five hosts; the time range and location shrink with an ellipsis before the title). Narrow week blocks still clip, because the gaps, the dot and the chain count alone are wider than the block (31 px at 560), so data-et-skip CLIPPED stays on every time grid block; the month cell skip is gone. (2) The first hour label sat half above the scroll body (translateY(-50%)) and was clipped by its overflow; fixed in the lib with a top padding of half the label line height. (3) Outside-month dates read nearly like in-month ones. (4) The selected appointment edge and the drag shadow share box-shadow, so a selected appointment being dragged would lose one (not drawn); the lib has no selected edge yet, so whoever merges b or c must list the edge and the drag shadow in one rule on [data-selected][data-dragging]. (5) The Add appointment hover (Q101) is not forced here; it is the same et-button as in the stream round (hover 1.69 from rest). Later rounds, left out here: the edit surface (scheduler-edit-surface and its parts, an overlay), the month +n more menu, the narrow header with floating action buttons, the drag-to-create draft and committed blocks, month draft and drop-target cells, the scrollbar, custom badge adornments, the read-only scheduler, RTL and long labels.",
235
+ note: "The SDK scheduler (et-scheduler) in flow, first drawing, drawn by the mock from @ethlete/components/design/scheduler with the real markup and CSS: the wide header (outline Today button, filled Add appointment, previous and next icon buttons, the range label, the tabs view switch), et-scheduler-time-grid-view (week and day), et-scheduler-month-view and et-scheduler-agenda-view, the appointment badges (color dot, title, time range, location, chain count) and the resize handles; default labels, en-US times. Fixtures are fictional: one week (Mon March 2 to Sun March 8, 2026, today Wed March 4) with a daily sync, an overlapping parent and nested child (Roadmap planning / Budget check), a selected appointment (Design review, brand), a two-day all-day Conference, Hiring panel and Retro; the colors are the sdk product's registered themes brand (default), warning and danger. The time grid draws 8:00 to 18:00 as if the scrolling body sat on that window, with business hours 9 to 17 on weekdays and the weekend outside them; the current time line sits on today at 11:15. Framed as a page with 16px padding. Widths 560, 800 and 1200 (all above the 480px container width where the header switches to floating action buttons). States: week, week-dragging (Retro lifted, with the drag shadow), appointment-hover, appointment-focus-visible (Daily sync on Monday forced), slot-focus-visible (Thursday 11:00 forced), day, month (outside-month days, today, a +3 more trigger, the selected appointment), month-cell-focus-visible, agenda (a month heading, today, nested rows with tree guides, the selected appointment). Numbers (light / dark), from shot pixels at scale 2 at 800, brand mint, a: appointment tint (14 %) vs page 1.07 / 1.37, its title ink on it 5.12 / 9.84; selected appointment (mint fill) vs page 1.33 / 13.50, its text 15.82 / 15.82; today date circle (mint fill) vs page 1.33 / 13.50, its digit 15.82; current time line and its dot vs the today column 1.29 / 12.14; focus ring (primary) vs page 1.35 / 13.50, vs the appointment tint 1.26 / 9.84; Add appointment fill vs page 1.33 / 13.50, its label 15.82. Q98 numbers only: grid lines (hour rows, day columns, header and all-day edges, month cells) vs page 1.26 / 1.73; the non-business band 1.07 / 1.08; the today column tint is 6 % mint. Decided rules that arise: Q88 (every focus ring: slots, all-day cells, month cells, appointments, the overflow trigger, the view switch, the header buttons), Q99a (the current time line and its dot, the appointment color dot; the selected appointment, the today date circles and the filled Add appointment button are mint fills, so they take a 1px inset ink edge) and Q101 (the filled button hover = -active). The ink edge on a mint fill arises, so Q102 arises: b draws the edges in both schemes, c keeps dark as today (light-dark(ink, transparent)). The 32 / 38 / 44 % selection step does not arise: a selected appointment is a solid mint fill, not a tint. Findings for later: (1) lib bug: the badge pieces render inside their component hosts (et-scheduler-badge-color-dot, -title, -time-range, -location, -chain-count), which are inline, so the flex rules on the inner spans never apply: the color dot is 0 x 0 and never shows (also in Storybook), the title does not take flex: 1 or ellipsis, and the time range and location are cut hard at the block edge (the agenda location shrinks to one letter while the title has room). Fixed in the lib (display: contents on the five hosts; the time range and location shrink with an ellipsis before the title). Narrow week blocks still clip, because the gaps, the dot and the chain count alone are wider than the block (31 px at 560), and the check finds no clipped block, so no skip is needed; the month cell skip is gone. (2) The first hour label sat half above the scroll body (translateY(-50%)) and was clipped by its overflow; fixed in the lib with a top padding of half the label line height. (3) Outside-month dates read nearly like in-month ones. (4) The selected appointment edge and the drag shadow share box-shadow, so a selected appointment being dragged would lose one (not drawn); the lib has no selected edge yet, so whoever merges b or c must list the edge and the drag shadow in one rule on [data-selected][data-dragging]. (5) The Add appointment hover (Q101) is not forced here; it is the same et-button as in the stream round (hover 1.69 from rest). Later rounds, left out here: the edit surface (scheduler-edit-surface and its parts, an overlay), the month +n more menu, the narrow header with floating action buttons, the drag-to-create draft and committed blocks, month draft and drop-target cells, the scrollbar, custom badge adornments, the read-only scheduler, RTL and long labels.",
242
236
  madeBy: ['claude-opus-5-5'],
243
237
  states: {
244
238
  week: { view: 'week' },
@@ -267,7 +261,7 @@ export default definePart({
267
261
  frame: (body) => `<div class="t-frame">${body}</div>`,
268
262
  render: (props: Props) =>
269
263
  drawing({
270
- body: skipClipped(declareActions(render(props))),
264
+ body: declareActions(render(props)),
271
265
  styles: [schedulerStyles, frame].join('\n'),
272
266
  }),
273
267
  });
@@ -59,7 +59,7 @@ const render = (props: Props) => {
59
59
  const active = position === 'end' ? items - 1 : position === 'start' ? 0 : best;
60
60
  const buttons = props.buttons ?? 'inside';
61
61
 
62
- const markup = scrollable({
62
+ return scrollable({
63
63
  direction,
64
64
  canScroll,
65
65
  position,
@@ -71,7 +71,7 @@ const render = (props: Props) => {
71
71
  itemGap: GAP,
72
72
  color: props.color,
73
73
  endButtonAttributes: props.endButton ? `data-et-force="${props.endButton}"` : undefined,
74
- containerAttributes: `data-et-skip="CLIPPED" style="--scrollable-offset: -${offset}px"`,
74
+ containerAttributes: `style="--scrollable-offset: -${offset}px"`,
75
75
  items: Array.from({ length: items }, (_, index) => ({
76
76
  tag: 'button',
77
77
  content: `Item ${index}`,
@@ -85,11 +85,6 @@ const render = (props: Props) => {
85
85
  .join(' '),
86
86
  })),
87
87
  });
88
-
89
- return markup.replace(
90
- 'class="et-scrollable-progress-bar"',
91
- 'data-et-skip="CLIPPED" class="et-scrollable-progress-bar"',
92
- );
93
88
  };
94
89
 
95
90
  export default definePart({
@@ -65,7 +65,7 @@ const render = (props: Props) => {
65
65
  const count = props.items ?? 24;
66
66
 
67
67
  return (
68
- `<div class="${scrollbarHostClass} scrollbar-viewport" data-et-skip="CLIPPED" data-layout="vertical">` +
68
+ `<div class="${scrollbarHostClass} scrollbar-viewport" data-layout="vertical">` +
69
69
  `<div class="scrollbar-content" style="margin-block-start: -${scroll}px">${items(count, 'Row')}</div></div>` +
70
70
  bar('vertical', VIEWPORT_BLOCK, extent(count, ROW), scroll, props)
71
71
  );
@@ -81,7 +81,7 @@ const render = (props: Props) => {
81
81
  ).join('');
82
82
 
83
83
  return (
84
- `<div class="${scrollbarHostClass} scrollbar-viewport" data-et-skip="CLIPPED" data-layout="both">` +
84
+ `<div class="${scrollbarHostClass} scrollbar-viewport" data-layout="both">` +
85
85
  `<div class="scrollbar-content" style="margin-block-start: -${scroll}px; margin-inline-start: -${scrollInline}px">${grid}</div></div>` +
86
86
  bar('vertical', VIEWPORT_BLOCK, extent(rows, CELL_BLOCK), scroll, props) +
87
87
  bar('horizontal', VIEWPORT_INLINE, extent(columns, CELL_INLINE), scrollInline, props)
@@ -91,7 +91,7 @@ const render = (props: Props) => {
91
91
  const count = props.items ?? 14;
92
92
 
93
93
  return (
94
- `<div class="${scrollbarHostClass} scrollbar-viewport" data-et-skip="CLIPPED" data-layout="horizontal">` +
94
+ `<div class="${scrollbarHostClass} scrollbar-viewport" data-layout="horizontal">` +
95
95
  `<div class="scrollbar-content" style="margin-inline-start: -${scrollInline}px">${items(count, 'Card')}</div></div>` +
96
96
  bar('horizontal', VIEWPORT_INLINE, extent(count, CARD), scrollInline, props)
97
97
  );
@@ -57,7 +57,7 @@ export default definePart({
57
57
  state: props.state,
58
58
  player: VIDEO,
59
59
  buttonAttributes: buttonAttributes(props.state, props.button),
60
- }).replace('<et-spinner ', '<et-spinner data-et-skip="CLIPPED" '),
60
+ }),
61
61
  styles: [streamStyles, frame].join('\n'),
62
62
  }),
63
63
  });
@@ -85,7 +85,10 @@ export default definePart({
85
85
  .join(' '),
86
86
  })
87
87
  .replace('<et-choice-field ', '<et-choice-field data-et-control="switch" ')
88
- .replace('class="et-choice-field-label-area', 'data-et-skip="CLIPPED" class="et-choice-field-label-area'),
88
+ .replace(
89
+ 'class="et-choice-field-label-area',
90
+ `${options.variant === 'card' ? '' : 'data-et-skip="CLIPPED" '}class="et-choice-field-label-area`,
91
+ ),
89
92
  styles: switchStyles,
90
93
  }),
91
94
  });
@@ -10,12 +10,12 @@
10
10
 
11
11
  @layer components {
12
12
  et-form-field[data-text-shell] {
13
- --_et-form-field-frame-border: var(--et-surface-interaction-solid);
14
- --_et-form-field-frame-border-hover: color-mix(
15
- in srgb,
16
- var(--et-surface-interaction-solid) 75%,
17
- var(--et-surface-color-solid)
13
+ --_et-form-field-frame-border: color-mix(
14
+ in oklab,
15
+ var(--et-surface-color-solid) 43%,
16
+ var(--et-surface-background-solid)
18
17
  );
18
+ --_et-form-field-frame-border-hover: var(--et-surface-color-solid);
19
19
  }
20
20
 
21
21
  et-form-field[data-text-shell][data-error] {
@@ -115,12 +115,7 @@ export default definePart({
115
115
  scrolls: ['long-max-rows', 'manual-resize-overflow'],
116
116
  render: (props: Props) =>
117
117
  drawing({
118
- body: props.scrolled
119
- ? markControl(textareaField(props.field)).replace(
120
- '<div class="et-form-field-control-frame"',
121
- '$& data-et-skip="CLIPPED"',
122
- )
123
- : markControl(textareaField(props.field)),
118
+ body: markControl(textareaField(props.field)),
124
119
  styles: [textareaFieldStyles, frame].join('\n'),
125
120
  }),
126
121
  });
@@ -635,8 +635,8 @@
635
635
  }
636
636
 
637
637
  :root {
638
- --et-font-family: 'Noto Sans', system-ui, sans-serif;
639
- --et-font-family-mono: 'Noto Sans Mono', ui-monospace, monospace;
638
+ --et-font-family: 'Source Sans 3', system-ui, sans-serif;
639
+ --et-font-family-mono: 'Source Code Pro', ui-monospace, monospace;
640
640
  --font-ui: var(--et-font-family);
641
641
  --font-code: var(--et-font-family-mono);
642
642
  font-size: 62.5%;
@@ -195,33 +195,33 @@
195
195
  "pid": 1954846
196
196
  },
197
197
  "components/checkbox": {
198
- "hash": "9742cba358b835be",
198
+ "hash": "96646dc8c2c3db73",
199
199
  "files": {
200
200
  ".ethlete/design/sdk/components/checkbox/checkbox.css": "253ffe23f4cbbde8",
201
- ".ethlete/design/sdk/components/checkbox/checkbox.ts": "9e51c30d3b087477",
201
+ ".ethlete/design/sdk/components/checkbox/checkbox.ts": "e72b6978bda370b1",
202
202
  "libs/components/design/checkbox.ts": "e3471aa943b7b829",
203
203
  "libs/components/design/control.ts": "b0244bc4c0f922a6",
204
204
  "libs/components/src/lib/focus-ring/focus-ring-styles.component.css": "df6f86f168edd72e",
205
- "libs/components/src/lib/forms/checkbox/checkbox.component.css": "1a70555c97fc391f",
206
- "libs/components/src/lib/forms/choice-field/choice-field-card-styles.component.css": "4c3b18fe180cb96b",
205
+ "libs/components/src/lib/forms/checkbox/checkbox.component.css": "a6cf189cc5637379",
206
+ "libs/components/src/lib/forms/choice-field/choice-field-card-styles.component.css": "0b2e289e74176c77",
207
207
  "libs/components/src/lib/forms/choice-field/choice-field.component.css": "7c64ce9249466135",
208
208
  "libs/components/src/lib/forms/description/description.component.css": "3d19c0933b5da17b",
209
209
  "libs/components/src/lib/forms/form-field/form-support-styles.component.css": "0f81cadca44d8370",
210
210
  "libs/components/src/lib/forms/form-field/headless/label.directive.css": "9aceda0d26b46524",
211
- "libs/components/src/lib/forms/selection-card-styles.component.css": "190d2cb203d8058f",
212
- "libs/components/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css": "4f4f5c7a5bdeea91",
211
+ "libs/components/src/lib/forms/selection-card-styles.component.css": "fe93518f845ebdb5",
212
+ "libs/components/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css": "bfdfa636cf5eae85",
213
213
  "libs/components/src/lib/forms/selection-list/checkbox-group/checkbox-group.component.css": "598181b0bea3821a",
214
- "libs/components/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css": "65cb9b4f17584782",
214
+ "libs/components/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css": "8c612644d38bfa45",
215
215
  "libs/core/design/interactive-styles.ts": "781528322bd34499",
216
216
  "libs/core/src/lib/theming/color-interactive-styles.component.css": "86c7eef5dbeddc7f",
217
217
  "libs/core/src/lib/theming/surface-interactive-styles.component.css": "e52765c5a323da05"
218
218
  },
219
219
  "actions": [],
220
220
  "builder": "designer",
221
- "at": "2026-11-18T14:09:13.893Z",
222
- "by": "claude-opus-5-5",
221
+ "at": "2026-11-20T10:53:32.771Z",
222
+ "by": "claude-sonnet-5-5",
223
223
  "cmd": "ready",
224
- "pid": 1956826
224
+ "pid": 2836014
225
225
  },
226
226
  "components/chip": {
227
227
  "hash": "1a4d90e7c910658f",
@@ -456,9 +456,9 @@
456
456
  "pid": 2851297
457
457
  },
458
458
  "components/switch": {
459
- "hash": "8aed70e2054a5b0c",
459
+ "hash": "c34268cf88fe215f",
460
460
  "files": {
461
- ".ethlete/design/sdk/components/switch/switch.ts": "81dfcd97eed60151",
461
+ ".ethlete/design/sdk/components/switch/switch.ts": "d70fc1043010bbd1",
462
462
  "libs/components/design/switch.ts": "a91a9e4b9c826d0d",
463
463
  "libs/components/src/lib/forms/choice-field/choice-field-card-styles.component.css": "4c3b18fe180cb96b",
464
464
  "libs/components/src/lib/forms/choice-field/choice-field.component.css": "7c64ce9249466135",
@@ -471,39 +471,14 @@
471
471
  },
472
472
  "actions": [],
473
473
  "builder": "designer",
474
- "at": "2026-11-18T13:03:04.734Z",
474
+ "at": "2026-11-19T01:57:33.876Z",
475
475
  "by": "claude-opus-5-5",
476
476
  "cmd": "ready",
477
- "pid": 1264709
477
+ "pid": 3133782
478
478
  },
479
479
  "components/textarea": {
480
- "hash": "48a1911479461cc4",
481
- "files": {
482
- ".ethlete/design/sdk/components/textarea/textarea.css": "e0a2d2284eeab65d",
483
- ".ethlete/design/sdk/components/textarea/textarea.ts": "d8ef7e9a68136852",
484
- "libs/components/design/form-field.ts": "6910b0bf23eb0f3c",
485
- "libs/components/design/textarea.ts": "d111b478450a84d9",
486
- "libs/components/src/lib/forms/description/description.component.css": "3d19c0933b5da17b",
487
- "libs/components/src/lib/forms/form-field/form-field-suffix-overlap-styles.component.css": "02d9835f3a282213",
488
- "libs/components/src/lib/forms/form-field/form-field-text-shell-styles.component.css": "e4f70765b72267ab",
489
- "libs/components/src/lib/forms/form-field/form-field-textarea-styles.component.css": "3cdff8e980e47658",
490
- "libs/components/src/lib/forms/form-field/form-field.component.css": "934d0fc0e7a53ff4",
491
- "libs/components/src/lib/forms/form-field/headless/label.directive.css": "9aceda0d26b46524",
492
- "libs/components/src/lib/forms/form-field/hint.component.css": "b1531941f843c188",
493
- "libs/components/src/lib/forms/input/input.component.css": "fb9a4e64341faf2a",
494
- "libs/components/src/lib/forms/textarea/textarea-autosize-styles.component.css": "5b69cdc878fe83fc",
495
- "libs/components/src/lib/forms/textarea/textarea.component.css": "0983f19962cc1c64",
496
- "libs/components/src/lib/icon/headless/icon-styles.component.css": "95703f321e08a70b",
497
- "libs/core/design/interactive-styles.ts": "781528322bd34499",
498
- "libs/core/src/lib/theming/color-interactive-styles.component.css": "86c7eef5dbeddc7f",
499
- "libs/core/src/lib/theming/surface-interactive-styles.component.css": "e52765c5a323da05"
500
- },
501
480
  "actions": [],
502
- "builder": "designer",
503
- "at": "2026-11-17T20:18:45.858Z",
504
- "by": "claude-opus-5-5",
505
- "cmd": "ready",
506
- "pid": 804051
481
+ "at": "2026-11-19T12:19:10.115Z"
507
482
  },
508
483
  "foundations/colors": {
509
484
  "hash": "5dce981a59c816ce",