Skip to content

feat(Table): the sort indicator resolves its glyph through the table-sort-indicator icon slot - #9831

Merged
imdreamrunner merged 20 commits into
mainfrom
icons/ast087-slots-table-sort
Nov 5, 2026
Merged

imdreamrunner merged 20 commits into
mainfrom
icons/ast087-slots-table-sort

Conversation

@imdreamrunner

@imdreamrunner imdreamrunner commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Specified by #10045 (the record PR for the first component icon slots); this PR merges after it.

Stack: on #9828 (component icon slots and CodeBlock's code-block-copy). Review and merge after it.

User need

The arrows in a sortable Table header are the most visible directional icons in data-heavy products. A theme that wants carets or chevrons there, or no glyph for unsorted columns, can today only remap arrowUp, arrowDown, and arrowsUpDown. That also changes every other place those names appear: a chat send button uses arrowUp. A theme needs to change the sort indicator alone, per direction.

Problem and solution fit

  • The table-sort-indicator slot, with state {direction: 'ascending' | 'descending' | 'none'}, is declared in ComponentIconSlotMap.
  • useTableSortable's indicator resolves through the slot with the shared ComponentIcon renderer.
    • Fallbacks: arrowUp, arrowDown, and arrowsUpDown, as before.
    • The indicator's colour (accent when sorted, secondary otherwise) stays component-owned.
  • Table.doc.mjs gains its theming.componentIcons entry. astryx component Table lists it.
  • The Table record's FR5 text is in spec: record component icon slots in CodeBlock, Timestamp, and Table #10045.

Name check: table-sort-indicator is <component-kebab>-<semantic-role>, and the spec's anatomy calls this part the "Sort indicator glyph". The state is the column's sort direction. 'none' stands for an unsorted column, where the sort config holds null, so a slot function never sees a nullable state field.

Current specification

Public delta and caller burden

  • New slot table-sort-indicator (type {readonly direction: 'ascending' | 'descending' | 'none'}) in ComponentIconSlotMap.
  • Visible default: unchanged.
  • Opt-in only:
defineTheme({
  name: 'brand',
  componentIcons: {
    'table-sort-indicator': ({direction}) =>
      direction === 'none'
        ? null
        : {icon: direction === 'ascending' ? 'chevronRight' : 'chevronDown'},
  },
});
  • null hides the glyph. The Sort control keeps its label (the column name), its click and keyboard sorting, and the header's aria-sort. A request size changes only the glyph.
  • The context menu's "Sort ascending" and "Sort descending" item icons are menu-item icons, not the indicator, and are unchanged.

Design and alternatives

One slot with a direction state, rather than three slots, so a theme maps the whole indicator in one place, and a static value still applies to every direction. Rejected: passing the multi-sort rank in the state, because the rank is drawn as text beside the glyph, not by it.

Evidence

useTableSortable.test.tsx has a new sort indicator icon slot suite. It covers:

  • the fallback for each direction, and the switch after a click;
  • the direction reaching a slot function, none included, with a null result hiding the unsorted glyph;
  • null hiding only the glyph while aria-sort and sorting still work;
  • a size request changing only the icon.

componentIconSlots.test.ts checks that the slot is declared, rendered by the Table plugin, and listed in Table.doc.mjs. componentIcons.test.tsx checks the slot name type.

Scope

  • One capability is added.
  • Unrelated fixes, cleanup, and policy changes were removed or split.
  • Consumer docs, focused tests, and migration evidence ship with the feature.
  • Public text and artifacts contain no internal Meta context.

Testing

  • pnpm vitest run --project ui packages/core/src/Table packages/core/src/Icon packages/core/src/theme/themingTargets.test.ts (32 files, 1,102 tests)
  • pnpm vitest run --project node packages/cli/test/experimental-isolation.test.mjs packages/cli/test/core-doc-quality.test.mjs
  • pnpm check:knowledge; pnpm review:pre --base icons/ast087-slots-code-block; core typecheck.

…g with CodeBlock's copy button

defineTheme({componentIcons}) maps a component icon slot to a shared icon
name, null, a partial {icon, variant, size} request, or a pure function of
the slot's state. One shared resolution applies caller content, then the
theme's slot, then the component's fallback, field by field, and ignores a
malformed field with one development warning. CodeBlock's copy button is the
first slot, code-block-copy, with state {copied}. The static view reads back
through theme.componentIcons; theme build carries static slot values and
fails on a slot function. Component docs, the CLI, and the docsite registry
list a component's slots.
@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 5, 2026 7:13pm UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 5, 2026, 7:24 PM UTC

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 3, 2026
… values

DefinedTheme['componentIcons'] keeps the same shape as a Partial<Record>, so
documentation that names DefinedTheme does not have to enumerate every icon
name a slot may hold.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the rewritten component:Table FR5, and one fix is needed.

Spec decision. FR5 now adds the table-sort-indicator component icon slot and the matching ComponentIconSlotMap member:

  • state {direction: 'ascending' | 'descending' | 'none'};
  • fallbacks arrowUp, arrowDown, and arrowsUpDown;
  • null hides only the glyph;
  • a request size changes only the glyph.

This changes a current record, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request. The author may do this as an engineering owner. The decision should also cover that null can hide a sorted column's only visual sort cue.

Blocking finding

  • A theme value {size: 'lg'} grows the Sort control from 21 px to 24 px and the header row from 37.5 px to 40.5 px. The indicator wrapper in useTableSortable.tsx has no fixed block size, which contradicts AST-087 FR14 and INV8 of the icon-slot architecture. Give the wrapper a fixed block size and check the header height for lg in a browser test; the current size test only checks data-size="sm".

The default glyphs, the direction passed to a slot function, null behaviour, the docs, and the CLI listing all check out.

[Automated review]

Comment on lines +308 to +311
<ComponentIcon
slot="table-sort-indicator"
state={{direction: direction ?? 'none'}}
fallback={{icon: indicator, size: 'xsm'}}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A theme request {size: 'lg'} makes this glyph 24 px. The wrapper span around it (styles at lines 158-168) has no fixed block size, so the Sort control grows from 21 px to 24 px and the header row from 37.5 px to 40.5 px (Chromium, neutral theme, balanced density). AST-087 FR14 and INV8 keep the control's height with the component. Give the indicator wrapper a fixed block size, for example the label's line height, and let a larger glyph overflow it.

const icon = screen
.getByRole('button', {name: 'Name'})
.querySelector('.astryx-icon');
expect(icon).toHaveAttribute('data-size', 'sm');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sm (16 px) fits inside the 21 px line box, so this passes while lg still moves the header. jsdom has no layout. A browser assertion that the Sort control's and header's heights stay the same for {size: 'lg'} would cover FR14.

@imdreamrunner

Copy link
Copy Markdown
Contributor Author

Fixed in 79408fb: the indicator wrapper now takes no block size, so a larger glyph overflows it instead of growing the Sort control or the header row. A new browser spec (__tests__/TableSortIndicatorSlot.a11y.browser.spec.ts, over a new IndicatorSlotSize story) checks that the Sort control and header heights match the default glyph's heights with {size: 'lg'}. It passes in Chromium and WebKit locally against a fresh Storybook build. The default glyph's position is unchanged, because the wrapper is still centred in the control. FR5's verification row now names the spec.

…template's componentIcons example builds

The icon slot architecture record's baseline points to ComponentIconSlotMap
and each owning component's docs for Core's slots. The theme template's
componentIcons example is a static value, which astryx theme build carries.
…sort-indicator icon slot

A sortable column's indicator passes {direction} ('ascending', 'descending',
or 'none') to the theme's componentIcons['table-sort-indicator'] and keeps
arrowUp, arrowDown, and arrowsUpDown as its fallbacks. null hides only the
glyph; the sort control keeps its label, its sorting, and aria-sort.
…ight

The indicator wrapper takes no block size, so a theme's size request for the
table-sort-indicator slot overflows it instead of growing the Sort control
and the header row. A browser spec over a new IndicatorSlotSize story checks
both heights in Chromium and WebKit.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the rewritten component:Table FR5; nothing else blocks.

Spec decision. FR5 now adds the table-sort-indicator component icon slot and the matching ComponentIconSlotMap member:

  • state {direction: 'ascending' | 'descending' | 'none'};
  • fallbacks arrowUp, arrowDown and arrowsUpDown;
  • null hides only the glyph;
  • a request size changes only the glyph.

This changes a current record, so an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do this as an engineering owner. The decision should also cover that null can hide a sorted column's only visible sort cue.

The earlier size finding is fixed: a {size: 'lg'} glyph now keeps the Sort control at 21 px and the header row at 37.5 px, and the new browser spec guards it.

Non-blocking suggestion

  • With null, the empty indicator wrapper keeps the button's 4 px gap, so an end-aligned header label ends 4 px short of its figures; collapsing the empty wrapper (for example ':empty' → display: 'none') fixes it.

[Automated review]

iconWrapperUnsorted: {
// The wrapper takes no block size, so a theme's larger glyph overflows it
// instead of growing the Sort control or the header row.
iconWrapper: {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: when the slot resolves null, this wrapper still renders empty, and the button's 4 px gap stays beside it. In an align: 'end' column the label then ends 4 px short of the figures below (648 px vs 652 px in Chromium). Collapsing the empty wrapper keeps the header aligned:

iconWrapper: {
  display: {default: 'inline-flex', ':empty': 'none'},
  alignItems: 'center',
  blockSize: 0,
},

When the table-sort-indicator slot resolves null, the empty indicator
wrapper collapses, so the button's gap does not offset an end-aligned label.
The browser spec checks the hidden case in Chromium and WebKit.
@imdreamrunner

Copy link
Copy Markdown
Contributor Author

Took the non-blocking suggestion in f8d4396: when the slot resolves null, the empty indicator wrapper collapses (':empty' → display: 'none'), so the button's 4 px gap no longer offsets an end-aligned label. The IndicatorSlotSize story gains a hidden-indicator table. The browser spec checks that the label is the Sort control's only laid-out child there, and it passes in Chromium and WebKit locally against a fresh Storybook build.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the rewritten component:Table FR5; no code change is needed.

Spec decision. FR5 now adds the table-sort-indicator component icon slot and its ComponentIconSlotMap member, an intentional update to a current spec that an engineering owner must approve, covering:

  • state {direction: 'ascending' | 'descending' | 'none'}, with none for an unsorted column;
  • fallbacks arrowUp, arrowDown and arrowsUpDown;
  • null hides only the glyph, which on a sorted column leaves aria-sort as the only sort cue;
  • a request size changes only the glyph.

An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do this as an engineering owner.

The earlier suggestion is taken: with null the empty indicator wrapper collapses, so an end-aligned header label lines up with its figures, and tables without a theme entry render unchanged.

[Automated review]

@humbertovirtudes humbertovirtudes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Table-scoped review of exact head f8d4396d9f5c924490048d2bd77b45dd5f82a1d4.

The earlier large-glyph height regression and empty-wrapper gap are fixed at this head. No blocking code defect remains in the authored sorter change. The FR5 decision must cover the table-sort-indicator slot, direction values, fallbacks, glyph-only sizing and null on a sorted column. Keep the current size/empty-wrapper browser regressions and verify them on the eventual integrated head; current stack-base CI does not execute those suites. Two optional documentation corrections remain: qualify the representative glyph requirement for null, and attribute aria-sort to the column header rather than the button. Approval remains pending for the record decision and validation, not for the fixed geometry defects.

@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 4, 2026
…de-block

# Conflicts:
#	docs/specs/components/CodeBlock/CodeBlock.spec.md
#	packages/cli/test/__golden__/no-icon-set/search-icon-set.json
#	packages/cli/test/__golden__/no-icon-set/search-icon-set.txt

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the new table-sort-indicator slot, and one fix is needed.

Spec decision. No current record covers this slot: component:Table FR5 names only an Icon-owned sort glyph, and the slot is recorded only in the open record pull request #10045. An engineering owner provides the governing spec by approving the slot as #10045 records it, with #10045 merged first, and records that decision here with /approve-spec <full head SHA>; the author may do this as an engineering owner. It covers:

  • the slot name and its {direction: 'ascending' | 'descending' | 'none'} state, with none for an unsorted column;
  • the fallbacks arrowUp, arrowDown and arrowsUpDown;
  • null hiding only the glyph, which leaves a sorted column with aria-sort as its only sort cue;
  • a size that changes only the glyph;
  • the new public ComponentIconSlotMap['table-sort-indicator'] member.

Blocking finding

  • Regression: TableSortIndicatorSlot.a11y.browser.spec.ts imports expect and test from @playwright/test, which the browser-spec lint rule now on the base branch rejects, so import them from @astryxdesign/a11y-spec/playwright as the other Table specs do.

Non-blocking

  • Miss: the whenNull text in Table.doc.mjs says the sort control keeps aria-sort, but the column header carries it, as the changeset says.

[Automated review]

* @position Regression proof for the sort indicator wrapper's fixed block size
*/

import {expect, test} from '@playwright/test';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regression: the browser-spec lint rule now on the base branch rejects this import (no-restricted-imports), so pnpm lint fails. Import from the shared base test, as the other Table specs do:

import {expect, test} from '@astryxdesign/a11y-spec/playwright';

Comment thread packages/core/src/Table/Table.doc.mjs Outdated
},
],
whenNull:
'Hides the glyph. The sort control keeps its label, its `aria-sort` direction, and its click and keyboard sorting.',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: aria-sort is on the column header, not the sort control (the changeset says "the header's aria-sort"). Suggested:

'Hides the glyph. The Sort control keeps its label and its click and keyboard sorting; the column header keeps `aria-sort`.',

@imdreamrunner

Copy link
Copy Markdown
Contributor Author

Addressed in 1fc96db, which also merges the updated #9828 branch, now including current main:

  • Browser spec import: TableSortIndicatorSlot.a11y.browser.spec.ts now imports expect and test from @astryxdesign/a11y-spec/playwright. ESLint is clean, and the spec passes in Chromium and WebKit locally.
  • Doc wording: the slot's whenNull text now says the Sort control keeps its label and its click and keyboard sorting, and the column header keeps aria-sort.
  • The slot is recorded as component:Table FR5 in spec: record component icon slots in CodeBlock, Timestamp, and Table #10045, which merges first.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the new table-sort-indicator slot; no code change is needed.

Spec decision. No current record covers this slot: component:Table FR5 names only an Icon-owned sort glyph, and the slot is recorded only in the open record pull request #10045. An engineering owner provides the governing spec by approving the slot as #10045 records it, with #10045 merged first, and records that decision here with /approve-spec <full head SHA>; the author may do this as an engineering owner. The decision covers:

  • the slot name and its {direction: 'ascending' | 'descending' | 'none'} state, with none for an unsorted column;

  • the fallbacks arrowUp, arrowDown and arrowsUpDown;

  • null hiding only the glyph, which leaves a sorted column with aria-sort as its only sort cue;

  • a size that changes only the glyph;

  • the new public ComponentIconSlotMap['table-sort-indicator'] member.

  • Miss: null hiding the glyph also contradicts the current Table "Sortable column" state, which requires the glyph; #10045 already amends that row, so the same decision covers it.

The browser spec's import and the whenNull wording are fixed, and nothing else blocks.

[Automated review]

…de-block

# Conflicts:
#	packages/cli/test/__golden__/no-icon-set/search-icon-set.json
#	packages/cli/test/__golden__/no-icon-set/search-icon-set.txt

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on the new table-sort-indicator slot; no code change is needed.

Spec decision. No current record covers this slot: component:Table FR5 names only an Icon-owned sort glyph, and the slot is recorded only in the open record pull request #10045. An engineering owner provides the governing spec by approving the slot as #10045 records it, with #10045 merged first, and records that decision here by commenting /approve-spec <full head SHA>; the author may do this as an engineering owner. The decision covers:

  • the slot name and its {direction: 'ascending' | 'descending' | 'none'} state, with none for an unsorted column;
  • the fallbacks arrowUp, arrowDown and arrowsUpDown;
  • a theme null that hides only the glyph and takes no space, so a sorted column keeps only aria-sort as its sort cue;
  • a request size that never grows the Sort control or the header row;
  • the new ComponentIconSlotMap['table-sort-indicator'] member exported from @astryxdesign/core and @astryxdesign/core/Icon.

[Automated review]

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: CI has not run on this head yet. CI runs only for pull requests that target main, so it runs once this pull request is retargeted after #9828 merges.

The table-sort-indicator slot now has its governing spec: component:Table FR5, recorded on main by #10045, covers the slot name and its {direction} state, the arrowUp / arrowDown / arrowsUpDown fallbacks, a null that hides only the glyph, and a size that changes only the glyph, and this change implements exactly that. With no theme entry the sortable headers render as before; a {size: 'lg'} glyph keeps the Sort control and header row height, and null leaves no gap while the header keeps aria-sort.

[Automated review]

@imdreamrunner
imdreamrunner changed the base branch from icons/ast087-slots-code-block to main November 5, 2026 19:00
main now carries #9828, #9829, and #9830 as squash commits; this merge keeps
main's version of everything they contained and leaves only this branch's
own change: the table-sort-indicator slot, listed beside timestamp-copy in
the slot map and its type test.
@github-actions github-actions Bot added the needs:design-review Affects visuals — Design should review label Nov 5, 2026
@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 5, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

The table-sort-indicator slot implements component:Table FR5 as it now stands on main: the {direction} state with none for an unsorted column, the arrowUp / arrowDown / arrowsUpDown fallbacks, a null that hides only the glyph and leaves no gap, and a size that changes only the glyph. Tables with no theme entry render exactly as before, CI passes on this head, and the new browser spec passes in Chromium.

[Automated review]

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · 55b5678

Storybook · Sandbox · built from this PR's head

Modified components

Component Size LoC Visual · A11y · RTL
TableBody 3.5 kB (0) · 3.3 kB CSS (0) — ✓ · ✓ · ✗
TableFooter 3.5 kB (0) · 3.3 kB CSS (0) — ✓ · ✓ · ✗
TableHeader 3.5 kB (0) · 3.3 kB CSS (0) — ✓ · ✓ · ✗
82 more components
Component Size LoC Visual · A11y · RTL
TableRow 6.7 kB (0) · 3.9 kB CSS (0) — ✓ · ✓ · ✗
AppShell 80.3 kB (0) · 12.3 kB CSS (0) — — · — · —
Banner 52.5 kB (0) · 9.3 kB CSS (0) — — · — · —
BaseTypeahead 60.9 kB (0) · 9.7 kB CSS (0) — — · — · —
BreadcrumbItem 75.2 kB (0) · 11.4 kB CSS (0) — — · — · —
Calendar 61.4 kB (0) · 9.3 kB CSS (0) — — · — · —
Carousel 57.4 kB (0) · 9.5 kB CSS (0) — — · — · —
ChatComposer 67.1 kB (0) · 10.6 kB CSS (0) — — · — · —
ChatDictationButton 51.1 kB (0) · 8.8 kB CSS (0) — — · — · —
ChatLayout 53.8 kB (0) · 9.3 kB CSS (0) — — · — · —
ChatLayoutScrollButton 51.1 kB (0) · 8.9 kB CSS (0) — — · — · —
ChatMessageMetadata 19.9 kB (0) · 4.1 kB CSS (0) — — · — · —
ChatSendButton 51.0 kB (0) · 8.7 kB CSS (0) — — · — · —
ChatToolCalls 26.1 kB (0) · 8.3 kB CSS (0) — — · — · —
Citation 20.2 kB (0) · 4.4 kB CSS (0) — — · — · —
CodeBlock 65.0 kB (0) · 10.0 kB CSS (0) — — · — · —
Collapsible 25.0 kB (0) · 4.5 kB CSS (0) — — · — · —
CommandPalette 58.7 kB (0) · 12.4 kB CSS (0) — — · — · —
CommandPaletteInput 27.0 kB (0) · 7.5 kB CSS (0) — — · — · —
ComplexSelector 61.4 kB (0) · 10.5 kB CSS (0) — — · — · —
ContextMenu 88.0 kB (0) · 16.4 kB CSS (0) — — · — · —
ContextMenuItem 26.4 kB (0) · 6.1 kB CSS (0) — — · — · —
DateInput 165.8 kB (0) · 15.6 kB CSS (0) — — · — · —
DateRangeInput 80.4 kB (0) · 11.3 kB CSS (0) — — · — · —
DateTimeInput 188.3 kB (0) · 17.3 kB CSS (0) — — · — · —
DrawerHeader 53.6 kB (0) · 11.7 kB CSS (0) — — · — · —
DropdownMenu 85.0 kB (0) · 16.5 kB CSS (0) — — · — · —
DropdownMenuCheckboxItem 21.1 kB (0) · 6.4 kB CSS (0) — — · — · —
DropdownMenuItem 20.3 kB (0) · 6.0 kB CSS (0) — — · — · —
DropdownMenuRadioItem 21.1 kB (0) · 6.4 kB CSS (0) — — · — · —
DropdownMenuSubMenu 63.6 kB (0) · 9.4 kB CSS (0) — — · — · —
FileInput 59.2 kB (0) · 9.7 kB CSS (0) — — · — · —
Icon · Storybook 7.8 kB (0) · 681 B CSS (0) 925 (+3) ✓ · ✓ · —
Lightbox 58.7 kB (0) · 9.2 kB CSS (0) — — · — · —
Link 48.1 kB (0) · 6.9 kB CSS (0) — — · — · —
Markdown 159.1 kB (0) · 19.3 kB CSS (0) — — · — · —
MobileNav 60.4 kB (0) · 9.4 kB CSS (0) — — · — · —
MobileNavToggle 50.9 kB (0) · 8.7 kB CSS (0) — — · — · —
MoreMenu 85.2 kB (0) · 16.5 kB CSS (0) — — · — · —
MultiSelector 84.9 kB (0) · 15.7 kB CSS (0) — — · — · —
NumberInput 61.7 kB (0) · 10.2 kB CSS (0) — — · — · —
Pagination 98.0 kB (0) · 16.7 kB CSS (0) — — · — · —
PowerSearch 262.5 kB (0) · 22.7 kB CSS (0) — — · — · —
Selector 88.0 kB (0) · 16.3 kB CSS (0) — — · — · —
SelectorOption 19.3 kB (0) · 5.8 kB CSS (0) — — · — · —
SideNav 80.3 kB (0) · 10.2 kB CSS (0) — — · — · —
SideNavCollapseButton 51.4 kB (0) · 8.8 kB CSS (0) — — · — · —
SideNavHeading 65.4 kB (0) · 10.0 kB CSS (0) — — · — · —
SideNavItem 60.5 kB (0) · 9.9 kB CSS (0) — — · — · —
Step 29.6 kB (0) · 5.6 kB CSS (0) — — · — · —
Stepper 52.2 kB (0) · 8.9 kB CSS (0) — — · — · —
Table 97.3 kB (0) · 17.0 kB CSS (0) — ✓ · ✓ · —
TableCell 89.2 kB (0) · 16.8 kB CSS (0) — ✓ · ✓ · ✓
TableHeaderCell 88.8 kB (0) · 16.5 kB CSS (0) — ✓ · ✓ · ✓
TableSelectionToolbar 60.1 kB (0) · 11.9 kB CSS (0) — ✓ · ✓ · ✓
TabList 40.1 kB (0) · 6.4 kB CSS (0) — — · — · —
TabMenu 62.0 kB (0) · 9.9 kB CSS (0) — — · — · —
TextArea 53.3 kB (0) · 8.9 kB CSS (0) — — · — · —
Thumbnail 54.8 kB (0) · 10.3 kB CSS (0) — — · — · —
TimeInput 142.6 kB (0) · 14.6 kB CSS (0) — — · — · —
Toast 64.5 kB (0) · 9.1 kB CSS (0) — — · — · —
Token 27.2 kB (0) · 4.7 kB CSS (0) — — · — · —
Tokenizer 79.2 kB (0) · 17.2 kB CSS (0) — — · — · —
TopNav 62.1 kB (0) · 9.7 kB CSS (0) — — · — · —
TopNavHeading 64.8 kB (0) · 9.9 kB CSS (0) — — · — · —
TopNavMegaMenu 59.9 kB (0) · 10.6 kB CSS (0) — — · — · —
TopNavMenu 64.8 kB (0) · 10.0 kB CSS (0) — — · — · —
TreeList 41.2 kB (0) · 5.4 kB CSS (0) — — · — · —
Typeahead 68.8 kB (0) · 11.3 kB CSS (0) — — · — · —
lab/CommentComposer 114.2 kB (0) · 1.9 kB CSS (0) — — · — · —
lab/CommentPin 52.2 kB (0) · 1.2 kB CSS (0) — — · — · —
lab/Comments 279.2 kB (0) · 2.5 kB CSS (0) — — · — · —
lab/CommentThread 273.4 kB (0) · 2.4 kB CSS (0) — — · — · —
lab/DiffViewer 76.9 kB (0) · 2.1 kB CSS (0) — — · — · —
lab/EmojiPicker 76.3 kB (0) · 722 B CSS (0) — — · — · —
lab/ListInput 90.0 kB (0) · 1.6 kB CSS (0) — — · — · —
lab/Schedule 69.0 kB (0) · 3.9 kB CSS (0) — — · — · —
lab/TransferList 84.7 kB (0) · 1.7 kB CSS (0) — — · — · —
lab/TransferListSelector 91.8 kB (0) · 1.9 kB CSS (0) — — · — · —
richtext/RichTextEditor 287.5 kB (0) · 2.6 kB CSS (0) — — · — · —
richtext/RichTextEditorToolbar 238.6 kB (0) · 454 B CSS (0) — — · — · —
richtext/RichTextView 267.8 kB (0) · 2.3 kB CSS (0) — — · — · —

Package size: @astryxdesign/core 6.61 MB packed (+711 B); no new dependencies.

API changes: core +1 · ~0 · −0

Committed API report behind this build: cli 19 rows, core 23 rows; run pnpm api:report.

1 API change (advisory)
Package Where Signature Usage
+ core . · Types · interface ComponentIconSlotMap table-sort-indicator: { readonly direction: 'ascending' | 'descending' | 'none' } import type {ComponentIconSlotMap} from '@astryxdesign/core'; const x: ComponentIconSlotMap = {table-sort-indicator: …}

Touched components checked; add ci:run-visual, ci:run-a11y or ci:run-rtl to run the full suites.


Generated by PR Enrichment workflow | View full report

@imdreamrunner
imdreamrunner merged commit f85b201 into main Nov 5, 2026
65 checks passed
imdreamrunner added a commit that referenced this pull request Nov 5, 2026
main now carries #9828 through #9831 as squash commits; this merge keeps
main's version of everything they contained and leaves only this branch's
own change: the table-row-expand slot, listed beside the other slots in the
slot map, its type test, and Table's componentIcons docs.
@github-actions
github-actions Bot deleted the icons/ast087-slots-table-sort branch November 6, 2026 06:04

This branch was successfully deployed

1 active deployment
Preview — 55b56780 Deployed Nov 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants