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

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 (35) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/design/notification.ts +1 -1
  3. package/design/sdk/components/carousel/carousel.ts +0 -1
  4. package/design/sdk/components/input/input.css +5 -5
  5. package/design/sdk/components/input/input.ts +1 -1
  6. package/design/sdk/components/loader/loader.ts +0 -1
  7. package/design/sdk/components/otp-input/otp-input.css +1 -1
  8. package/design/sdk/components/otp-input/otp-input.ts +1 -1
  9. package/design/sdk/components/scheduler/scheduler.ts +2 -8
  10. package/design/sdk/components/scrollable/scrollable.ts +2 -7
  11. package/design/sdk/components/scrollbar/scrollbar.ts +3 -3
  12. package/design/sdk/components/stream/stream.ts +1 -1
  13. package/design/sdk/components/switch/switch.ts +4 -1
  14. package/design/sdk/components/textarea/textarea.css +5 -5
  15. package/design/sdk/components/textarea/textarea.ts +1 -6
  16. package/design/sdk/foundations/colors/colors.css +2 -2
  17. package/design/sdk/ready.json +5 -30
  18. package/fesm2022/ethlete-components.mjs +409 -108
  19. package/fesm2022/ethlete-components.mjs.map +1 -1
  20. package/generators/icons/generator.js +35 -1
  21. package/package.json +1 -1
  22. package/src/lib/accordion/accordion.component.css +26 -5
  23. package/src/lib/forms/checkbox/checkbox.component.css +8 -3
  24. package/src/lib/forms/choice-field/choice-field-card-styles.component.css +7 -0
  25. package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +11 -8
  26. package/src/lib/forms/otp-input/otp-input.component.css +11 -2
  27. package/src/lib/forms/selection-card-styles.component.css +15 -3
  28. package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +7 -2
  29. package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +9 -2
  30. package/src/lib/forms/selection-list/radio-group/radio.component.css +9 -2
  31. package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +47 -3
  32. package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +8 -2
  33. package/src/lib/progress-steps/progress-step.component.css +51 -7
  34. package/src/lib/standings/standings.component.css +40 -7
  35. package/types/ethlete-components.d.ts +85 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0-next.91
4
+
5
+ ### Minor Changes
6
+
7
+ - Add accordion tokens for the header outset, the hover tint inset, the chevron color and stroke width and the panel's top padding.
8
+ - Add accordion trigger hover and active background tokens, a header end inset token and provideAccordionConfig for an app-wide lastDivider default.
9
+ - `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.
10
+ - 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.
11
+ - 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.
12
+ - 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.
13
+ - `et-segmented-button-group` now defaults to `overflow="scroll"`: segments shrink to their full label, then the track scrolls; `'truncate'` keeps the ellipsis look.
14
+ - Add an `overflow` input (`'truncate' | 'scroll'`) to `et-segmented-button-group`: `'scroll'` keeps full labels, scrolls the track and centers the selected segment.
15
+ - Add segmented button group tokens: inactive label colour and weight, track background, stretch track size and column count.
16
+ - 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.
17
+ - 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.
18
+
19
+ ### Patch Changes
20
+
21
+ - An anchored dialog with an `arrowAnchor` now grows from and shrinks to that anchor, not the centre of its origin.
22
+ - Fix `et-segmented-button-group` collapsing to its padding as a direct child of an auto-sized `et-scrollable`.
23
+ - 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.
24
+ - Add `--et-accordion-header-hover-text-decoration` (default `none`) to decorate the accordion title on header hover, for example an underline.
25
+ - 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.
26
+ - `ButtonComponent.pressedVariant` is the input and reads `undefined` unless set; `ACCORDION_CONFIG_TOKEN` is gone, use `injectAccordionConfig()`.
27
+ - Accordion, progress step and segmented button tokens now put the element or state before the part, e.g. `--et-accordion-header-hover-background`.
28
+ - 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.
29
+ - 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.
30
+ - Name icon-only controls by aria-label instead of a native title
31
+ - An overflowing `et-nav-tabs` now opens with the active link centered instead of at scroll position 0.
32
+ - A progress step marker stays round when the step's label or description fills the row.
33
+ - A custom `etStandingsFormTooltip` template no longer throws on hover: the form entry's label is passed as the tooltip's accessible description.
34
+
3
35
  ## 1.0.0-next.90
4
36
 
5
37
  ### 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"',
@@ -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%;
@@ -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",