An open source design system that's fully customizable and agent ready
TypeScript
feat(DialogHeader): expose content slot theme targets (#6415)
ksyinge073c9f8df37
diff --git a/.changeset/dialog-header-content-targets.md b/.changeset/dialog-header-content-targets.mdnew file mode 100644index 0000000000..c591dea093--- /dev/null+++ b/.changeset/dialog-header-content-targets.md@@ -0,0 +1,9 @@+---+'@astryxdesign/core': patch+---++[feat] DialogHeader: expose the start- and end-content wrappers as theme targets++Adds `dialog-header-start-content` and `dialog-header-end-content` so themes can style the existing content-slot wrappers without relying on their DOM positions. The end-content slot also contains the optional close button. Default layout and behavior are unchanged.++@ksyingdiff --git a/packages/cli/foundation/discovery/theming-targets.test.mjs b/packages/cli/foundation/discovery/theming-targets.test.mjsindex 34623084e1..34c24500ca 100644--- a/packages/cli/foundation/discovery/theming-targets.test.mjs+++ b/packages/cli/foundation/discovery/theming-targets.test.mjs@@ -265,14 +265,18 @@ describe('collectThemingTargets', () => {expect(doc.subComponentOf).toBe('Dialog');expect(doc.theming.targets).toEqual([{className: 'astryx-dialog-header'},+ {className: 'astryx-dialog-header-start-content'},{className: 'astryx-dialog-header-title-block'},+ {className: 'astryx-dialog-header-end-content'},{className: 'astryx-dialog-header-close-icon'},]);});it.each(['dialog-header',+ 'dialog-header-start-content','dialog-header-title-block',+ 'dialog-header-end-content','dialog-header-close-icon',])('enumerates %s once under its canonical Dialog owner', async key => {const matches = (await enumerated).filter(target => target.key === key);diff --git a/packages/core/src/Dialog/Dialog.doc.mjs b/packages/core/src/Dialog/Dialog.doc.mjsindex 15ca9414a4..234eb90abe 100644--- a/packages/core/src/Dialog/Dialog.doc.mjs+++ b/packages/core/src/Dialog/Dialog.doc.mjs@@ -31,7 +31,9 @@ export const docs = {targets: [{className: 'astryx-dialog', visualProps: ['variant']},{className: 'astryx-dialog-header'},+ {className: 'astryx-dialog-header-start-content'},{className: 'astryx-dialog-header-title-block'},+ {className: 'astryx-dialog-header-end-content'},{className: 'astryx-dialog-header-close-icon'},],vars: [diff --git a/packages/core/src/Dialog/DialogHeader.doc.mjs b/packages/core/src/Dialog/DialogHeader.doc.mjsindex f8c7d0331e..e10d32555a 100644--- a/packages/core/src/Dialog/DialogHeader.doc.mjs+++ b/packages/core/src/Dialog/DialogHeader.doc.mjs@@ -12,7 +12,9 @@ export const docs = {description: 'Use DialogHeader to give a dialog a labelled title area and optional close control.',anatomy: [{name: 'Header row', required: true, description: 'Arranges the title block, optional start/end content, and close control.'},+ {name: 'Start content', required: false, description: 'Wraps optional leading content.'},{name: 'Title block', required: true, description: 'Groups the title and optional subtitle.'},+ {name: 'End content', required: false, description: 'Groups optional trailing content with the optional close control.'},{name: 'Close icon', required: false, description: 'Visual close glyph inside the close button.'},],},@@ -88,7 +90,9 @@ export const docs = {theming: {targets: [{className: 'astryx-dialog-header'},+ {className: 'astryx-dialog-header-start-content'},{className: 'astryx-dialog-header-title-block'},+ {className: 'astryx-dialog-header-end-content'},{className: 'astryx-dialog-header-close-icon'},],},@@ -141,7 +145,9 @@ export const docsZh = {description: '使用 DialogHeader 为对话框提供带标签的标题区和可选的关闭控件。',anatomy: [{name: 'Header row', required: true, description: '排列标题区、可选的首尾内容和关闭控件。'},+ {name: 'Start content', required: false, description: '包装可选的首部内容。'},{name: 'Title block', required: true, description: '组合标题和可选副标题。'},+ {name: 'End content', required: false, description: '组合可选尾部内容和可选关闭控件。'},{name: 'Close icon', required: false, description: '关闭按钮内的关闭图标。'},],},@@ -186,7 +192,9 @@ export const docsZh = {theming: {targets: [{className: 'astryx-dialog-header'},+ {className: 'astryx-dialog-header-start-content'},{className: 'astryx-dialog-header-title-block'},+ {className: 'astryx-dialog-header-end-content'},{className: 'astryx-dialog-header-close-icon'},],},@@ -201,7 +209,9 @@ export const docsDense = {description: 'labelled dialog title area + optional close control',anatomy: [{name: 'Header row', required: true, description: 'arranges title block, optional start/end content, close control'},+ {name: 'Start content', required: false, description: 'wraps optional leading content'},{name: 'Title block', required: true, description: 'groups title + optional subtitle'},+ {name: 'End content', required: false, description: 'groups optional trailing content + optional close control'},{name: 'Close icon', required: false, description: 'close glyph inside close button'},],},diff --git a/packages/core/src/Dialog/DialogHeader.test.tsx b/packages/core/src/Dialog/DialogHeader.test.tsxindex 8d0a77d1b0..595efff8bc 100644--- a/packages/core/src/Dialog/DialogHeader.test.tsx+++ b/packages/core/src/Dialog/DialogHeader.test.tsx@@ -71,7 +71,12 @@ describe('DialogHeader', () => {it('renders close button when onOpenChange is provided', () => {render(<DialogHeader title="Title" onOpenChange={() => {}} />);- expect(screen.getByRole('button', {name: /close/i})).toBeInTheDocument();+ const closeButton = screen.getByRole('button', {name: /close/i});++ expect(closeButton).toBeInTheDocument();+ expect(closeButton.parentElement).toHaveClass(+ 'astryx-dialog-header-end-content',+ );});it('preserves automatic end-slot compensation when the close action renders', () => {@@ -160,32 +165,90 @@ describe('DialogHeader', () => {expect(getEndSlot().className).toBe(inlineClassName);});- it('exposes theme targets for the header row, title block, and close icon', () => {+ it('exposes theme targets for the header row, title block, both content slots, and close icon', () => {const {container} = render(<DialogHeadertitle="Title"subtitle="Subtitle"+ startContent={<button type="button">Back</button>}+ endContent={<button type="button">Custom Action</button>}onOpenChange={() => {}}/>,);expect(container.querySelector('.astryx-dialog-header')).not.toBeNull();+ expect(+ screen.getByRole('button', {name: 'Back'}).parentElement,+ ).toHaveClass('astryx-dialog-header-start-content');expect(screen.getByRole('heading', {level: 2}).parentElement).toHaveClass('astryx-dialog-header-title-block',);+ const endContent = screen.getByRole('button', {+ name: 'Custom Action',+ }).parentElement;+ expect(endContent).toHaveClass('astryx-dialog-header-end-content');+ expect(screen.getByRole('button', {name: /close/i}).parentElement).toBe(+ endContent,+ );+const closeIcon = screen.getByRole('button', {name: /close/i}).querySelector('.astryx-dialog-header-close-icon');expect(closeIcon).toHaveClass('astryx-icon');});- it('lets themes set the two internal gaps and close-icon size', () => {+ it('exposes the start-content target when startContent renders', () => {+ const {container} = render(+ <DialogHeader+ title="Title"+ startContent={<button type="button">Back</button>}+ />,+ );++ expect(+ screen.getByRole('button', {name: 'Back'}).parentElement,+ ).toHaveClass('astryx-dialog-header-start-content');+ expect(+ container.querySelectorAll('.astryx-dialog-header-start-content'),+ ).toHaveLength(1);+ });++ it('exposes the end-content target when endContent renders without a close button', () => {+ const {container} = render(+ <DialogHeader+ title="Title"+ endContent={<button type="button">Custom Action</button>}+ />,+ );++ expect(+ screen.getByRole('button', {name: 'Custom Action'}).parentElement,+ ).toHaveClass('astryx-dialog-header-end-content');+ expect(+ container.querySelectorAll('.astryx-dialog-header-end-content'),+ ).toHaveLength(1);+ });++ it('omits the content-slot targets when their content does not render', () => {+ const {container} = render(<DialogHeader title="Title" />);++ expect(+ container.querySelector('.astryx-dialog-header-start-content'),+ ).toBeNull();+ expect(+ container.querySelector('.astryx-dialog-header-end-content'),+ ).toBeNull();+ });++ it('lets themes set the internal gaps and close-icon size', () => {const theme = defineTheme({name: 'dialog-header-targets-test',components: {'dialog-header': {base: {gap: '8px'}},+ 'dialog-header-start-content': {base: {gap: '5px'}},'dialog-header-title-block': {base: {gap: '4px'}},+ 'dialog-header-end-content': {base: {gap: '6px'}},'dialog-header-close-icon': {base: {width: '16px', height: '16px', fontSize: '16px'},},@@ -195,8 +258,12 @@ describe('DialogHeader', () => {expect(css).toContain('.astryx-dialog-header {');expect(css).toContain('gap: 8px');+ expect(css).toContain('.astryx-dialog-header-start-content {');+ expect(css).toContain('gap: 5px');expect(css).toContain('.astryx-dialog-header-title-block {');expect(css).toContain('gap: 4px');+ expect(css).toContain('.astryx-dialog-header-end-content {');+ expect(css).toContain('gap: 6px');expect(css).toContain('.astryx-dialog-header-close-icon {');expect(css).toContain('width: 16px');expect(css).toContain('height: 16px');diff --git a/packages/core/src/Dialog/DialogHeader.tsx b/packages/core/src/Dialog/DialogHeader.tsxindex ae91882f71..c0266aaf4d 100644--- a/packages/core/src/Dialog/DialogHeader.tsx+++ b/packages/core/src/Dialog/DialogHeader.tsx@@ -193,7 +193,13 @@ export function DialogHeader({stylex.props(styles.container),)}>{startContent && (- <div {...stylex.props(styles.actions)}>{startContent}</div>+ <div+ {...mergeProps(+ themeProps('dialog-header-start-content'),+ stylex.props(styles.actions),+ )}>+ {startContent}+ </div>)}<div{...mergeProps(@@ -216,10 +222,13 @@ export function DialogHeader({</div>{(endContent || onOpenChange) && (<div- {...stylex.props(- styles.actions,- shouldCompensateEndBlock && styles.endBlockEdgeCompensation,- shouldCompensateEndInline && styles.endInlineEdgeCompensation,+ {...mergeProps(+ themeProps('dialog-header-end-content'),+ stylex.props(+ styles.actions,+ shouldCompensateEndBlock && styles.endBlockEdgeCompensation,+ shouldCompensateEndInline && styles.endInlineEdgeCompensation,+ ),)}>{endContent}{onOpenChange && (diff --git a/packages/core/src/Dialog/modules/DialogHeader.spec.md b/packages/core/src/Dialog/modules/DialogHeader.spec.mdindex 4fc03d0212..feaf06c789 100644--- a/packages/core/src/Dialog/modules/DialogHeader.spec.md+++ b/packages/core/src/Dialog/modules/DialogHeader.spec.md@@ -14,6 +14,7 @@ verified_by:[packages/core/src/Dialog/DialogHeader.test.tsx,packages/core/src/theme/themingTargets.test.ts,+ packages/cli/foundation/discovery/theming-targets.test.mjs,scripts/check-knowledge.mjs,]parent_component: component:Dialog@@ -26,15 +27,15 @@ references:## Intent`DialogHeader` presents the title region of a Dialog and its optional close-control. This record owns the stable header-row, title-block, and close-icon-anatomy, their public theming targets, and the fixed compensation applied to the-existing end-content slot.+control. This record owns the stable header-row, start-content, title-block,+end-content, and close-icon anatomy, their public theming targets, and the fixed+compensation applied to the existing end-content slot.## Compatibility and migration- Released default preserved: `yes`-- Compatibility class: one additive prop; omitted layout, paint, interaction,- accessibility, and theming remain unchanged+- Compatibility class: two additive theme targets and one additive prop; omitted+ layout, paint, interaction, accessibility, and theming remain unchanged- Migration decision: noneConsumer migration instructions belong in consumer docs and release notes.@@ -43,14 +44,16 @@ Consumer migration instructions belong in consumer docs and release notes.**Owns**-- The header row that arranges title content and trailing controls.+- The header row that arranges title content and controls.+- The start-content wrapper for optional leading content.- The title block that groups the title and optional subtitle.- The existing end-content wrapper that groups optional trailing content withthe close action.- The fixed end-slot compensation derived from the medium close action'stransparent inset.- The close icon rendered for the optional close action.-- The `dialog-header`, `dialog-header-title-block`, and+- The `dialog-header`, `dialog-header-start-content`,+ `dialog-header-title-block`, `dialog-header-end-content`, and`dialog-header-close-icon` targets.**Does not own / non-goals**@@ -64,31 +67,35 @@ Consumer migration instructions belong in consumer docs and release notes.## Public API and concepts-This contract preserves the three existing theming surfaces and adds one-slot-targeted compensation override.+This contract preserves the three existing theming surfaces, adds two content-+slot targets, and adds one slot-targeted compensation override.-| Concept | Closed values or states | Meaning | Default | Owner | Stability |-| ---------------------------- | --------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------- | --------- |-| Header row target | present | Styles the row that arranges title content and controls | Existing row visuals | `module:Dialog/DialogHeader` | stable |-| Title block target | present | Styles the title/subtitle grouping element | Existing title stack visuals | `module:Dialog/DialogHeader` | stable |-| Close icon target | present when close action renders | Styles the close glyph itself | Existing medium Icon visuals | `module:Dialog/DialogHeader` | stable |-| `endContentEdgeCompensation` | `inline`, `block`, `all` | Selects which axes of the existing end-content wrapper receive its fixed compensation | omitted; preserve automatic close-action compensation | `module:Dialog/DialogHeader` | stable |+| Concept | Closed values or states | Meaning | Default | Owner | Stability |+| ---------------------------- | ------------------------------------------------ | ------------------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------- | --------- |+| Header row target | present | Styles the row that arranges title content and controls | Existing row visuals | `module:Dialog/DialogHeader` | stable |+| Start-content target | present when start content renders | Styles the wrapper for optional leading content | Existing start-content layout | `module:Dialog/DialogHeader` | stable |+| Title block target | present | Styles the title/subtitle grouping element | Existing title stack visuals | `module:Dialog/DialogHeader` | stable |+| End-content target | present when end content or close action renders | Styles the wrapper that groups trailing content with the close action | Existing end-content layout | `module:Dialog/DialogHeader` | stable |+| Close icon target | present when close action renders | Styles the close glyph itself | Existing medium Icon visuals | `module:Dialog/DialogHeader` | stable |+| `endContentEdgeCompensation` | `inline`, `block`, `all` | Selects which axes of the existing end-content wrapper receive its fixed compensation | omitted; preserve automatic close-action compensation | `module:Dialog/DialogHeader` | stable |For this slot-targeted prop, `inline` means the slot's logical inline-end edge,`block` means both block edges, and `all` combines them.## Behavioral contract-| ID | Invariant | Basis | Review state |-| --- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ | ------------ |-| FR1 | The header row MUST carry `dialog-header` on the element that applies its row layout and gap. | Current implementation and owner decision | settled |-| FR2 | The title block MUST carry `dialog-header-title-block` on the element that applies its title/subtitle layout and gap. | Current implementation and owner decision | settled |-| FR3 | The rendered close Icon MUST carry `dialog-header-close-icon` on the glyph element that applies icon presentation. | Current implementation and owner decision | settled |-| FR4 | Omitting `onOpenChange` MUST continue to omit the close action and its optional close-icon anatomy. | Released behavior | settled |-| FR5 | The existing end wrapper MUST continue to group optional `endContent` with the optional close action; this change MUST NOT add another wrapper. | Current implementation | settled |-| FR6 | When `endContentEdgeCompensation` is omitted, rendering the close action MUST preserve the released fixed negative block and logical inline-end inset, whether or not `endContent` is present. Without the close action, no automatic compensation applies. | Released behavior and owner decision | settled |-| FR7 | Explicit `inline` MUST apply only logical inline-end compensation; `block` MUST apply only both block edges; `all` MUST apply both. The explicit value overrides the automatic close-action selection. | `module:Dialog/DialogHeader/DEC-2` | settled |-| FR8 | Compensation MUST use logical inline properties, preserve title, slot, and close-action semantics and hit targets, and expose no caller-controlled margin amount. | `architecture:container-padding`; owner decision | settled |+| ID | Invariant | Basis | Review state |+| ---- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ | ------------ |+| FR1 | The header row MUST carry `dialog-header` on the element that applies its row layout and gap. | Current implementation and owner decision | settled |+| FR2 | The title block MUST carry `dialog-header-title-block` on the element that applies its title/subtitle layout and gap. | Current implementation and owner decision | settled |+| FR3 | The rendered close Icon MUST carry `dialog-header-close-icon` on the glyph element that applies icon presentation. | Current implementation and owner decision | settled |+| FR4 | Omitting `onOpenChange` MUST continue to omit the close action and its optional close-icon anatomy. | Released behavior | settled |+| FR5 | The existing end wrapper MUST continue to group optional `endContent` with the optional close action; this change MUST NOT add another wrapper. | Current implementation | settled |+| FR6 | When `endContentEdgeCompensation` is omitted, rendering the close action MUST preserve the released fixed negative block and logical inline-end inset, whether or not `endContent` is present. Without the close action, no automatic compensation applies. | Released behavior and owner decision | settled |+| FR7 | Explicit `inline` MUST apply only logical inline-end compensation; `block` MUST apply only both block edges; `all` MUST apply both. The explicit value overrides the automatic close-action selection. | `module:Dialog/DialogHeader/DEC-2` | settled |+| FR8 | Compensation MUST use logical inline properties, preserve title, slot, and close-action semantics and hit targets, and expose no caller-controlled margin amount. | `architecture:container-padding`; owner decision | settled |+| FR9 | The leading content wrapper MUST carry `dialog-header-start-content` whenever optional start content renders. | `module:Dialog/DialogHeader/DEC-3` | settled |+| FR10 | The existing trailing content wrapper MUST carry `dialog-header-end-content` whenever optional end content or the close action renders. | `module:Dialog/DialogHeader/DEC-3` | settled |### Transformation and precedence order@@ -96,8 +103,8 @@ For this slot-targeted prop, `inline` means the slot's logical inline-end edge,compensated axes.2. Otherwise, a rendered close action selects `all`; omission of the closeaction selects no compensation.-3. The module applies each existing theme target to its owning element before- normal theme CSS resolves through the shared theming pipeline.+3. The module applies each theme target to its owning element before normal+ theme CSS resolves through the shared theming pipeline.### Performance and resources@@ -106,17 +113,18 @@ For this slot-targeted prop, `inline` means the slot's logical inline-end edge,## Accessibility contract-- Compensation MUST NOT change the title's role, focus behavior, dialog naming,- the close button's accessible name and operation, or any slot child's hit- target.+- Compensation and theme targets MUST NOT change the title's role, focus+ behavior, dialog naming, the close button's accessible name and operation, or+ any slot child's hit target.## Design relationships| Anatomy or state | Design requirement | Representation authority | Module contract || ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | --------------- || Header row | Owns arrangement and spacing among title content and controls. | This module | FR1 |+| Start content | Owns the leading wrapper for optional start content. | This module | FR9 || Title block | Owns title/subtitle grouping and spacing. | This module | FR2 |-| End content | Owns the existing trailing wrapper containing optional end content and the close action, including its fixed slot-targeted compensation. | This module | FR4–FR8 |+| End content | Owns the existing trailing wrapper containing optional end content and the close action, including its fixed slot-targeted compensation. | This module | FR4–FR8, FR10 || Close icon | Owns the close glyph's visual box inside the Button-owned action. | This module with Icon rendering | FR3, FR4 |### Theming anatomy@@ -126,7 +134,9 @@ For this slot-targeted prop, `inline` means the slot's logical inline-end edge,```json{"Header row": {"target": "dialog-header"},+ "Start content": {"target": "dialog-header-start-content"},"Title block": {"target": "dialog-header-title-block"},+ "End content": {"target": "dialog-header-end-content"},"Close icon": {"target": "dialog-header-close-icon"}}```@@ -134,7 +144,7 @@ For this slot-targeted prop, `inline` means the slot's logical inline-end edge,## Parent and system relationships- `component:Dialog` owns modal behavior and the aggregate Dialog contract.-- `component:Layout` owns the composed LayoutHeader region outside the three+- `component:Layout` owns the composed LayoutHeader region outside the fivemodule-owned inner parts.- `component:Button` owns the close action's control behavior, hit target, andouter presentation.@@ -148,13 +158,13 @@ For this slot-targeted prop, `inline` means the slot's logical inline-end edge,## Verification map-| Contract | Verification | Representative states | Mutation or failure expectation |-| ------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |-| FR1–FR3 | Existing target tests, target inventory, generated probe theme, and source inspection | title only, title/subtitle, close action | An existing target is removed or moved away from its owning painter. |-| FR4–FR5 | Existing content and close-button tests | end content only; close only; both | The close action or slot content disappears, reorders, or gains another wrapper. |-| FR6–FR7 | Focused end-slot class-selection assertions | close only; end content only; both; explicit `inline`, `block`, and `all` | An omitted prop changes released geometry, or an explicit value selects the wrong axes. |-| FR8 | Source inspection, RTL CI, interaction tests, and focused real-browser geometry | LTR and RTL; custom end control; close action | Physical margins, caller-controlled amounts, or hit-target changes enter the implementation. |-| Theming anatomy map | `scripts/check-knowledge.mjs` | all three module anatomy entries and targets | Anatomy, docs, runtime targets, and the module map drift. |+| Contract | Verification | Representative states | Mutation or failure expectation |+| ------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |+| FR1–FR3, FR9–FR10 | Target tests, target inventory, generated probe theme, and source inspection | title only, title/subtitle, start content, end content, close action | A target is missing, undocumented, duplicated, or moved away from its owning painter. |+| FR4–FR5 | Existing content and close-button tests | end content only; close only; both | The close action or slot content disappears, reorders, or gains another wrapper. |+| FR6–FR7 | Focused end-slot class-selection assertions | close only; end content only; both; explicit `inline`, `block`, and `all` | An omitted prop changes released geometry, or an explicit value selects the wrong axes. |+| FR8 | Source inspection, RTL CI, interaction tests, and focused real-browser geometry | LTR and RTL; custom end control; close action | Physical margins, caller-controlled amounts, or hit-target changes enter the implementation. |+| Theming anatomy map | `scripts/check-knowledge.mjs` | all five module anatomy entries and targets | Anatomy, docs, runtime targets, and the module map drift. |## Decision logdiff --git a/packages/themes/probe/src/probeTheme.ts b/packages/themes/probe/src/probeTheme.tsindex 35c99806d4..a3a4098dce 100644--- a/packages/themes/probe/src/probeTheme.ts+++ b/packages/themes/probe/src/probeTheme.ts@@ -6,7 +6,7 @@// test fixture. Regenerate with: pnpm visual:probe-theme//// defineTheme takes six things and this covers all six:-// components 285 targets, 920 selectors (generated from the docs)+// components 288 targets, 923 selectors (generated from the docs)// tokens custom properties, read back off the themed element// icons every registry entry swapped for a marked glyph// indicators check / radio / checkbox swapped — the swap that reaches furthest@@ -2096,6 +2096,22 @@ export const probeTheme = defineTheme({outlineColor: 'hsl(215.4 89% 25%)',},},+ 'dialog-header-end-content': {+ base: {+ backgroundColor: 'hsl(269.1 83% 60%)',+ color: 'hsl(133.4 73% 12%)',+ borderColor: 'hsl(189.3 71% 25%)',+ outlineColor: 'hsl(51.2 80% 25%)',+ },+ },+ 'dialog-header-start-content': {+ base: {+ backgroundColor: 'hsl(254.7 74% 47%)',+ color: 'hsl(179.3 84% 12%)',+ borderColor: 'hsl(189.4 72% 25%)',+ outlineColor: 'hsl(294.3 81% 25%)',+ },+ },'dialog-header-title-block': {base: {backgroundColor: 'hsl(279.3 88% 58%)',@@ -5491,6 +5507,14 @@ export const probeTheme = defineTheme({outlineColor: 'hsl(254.9 79% 25%)',},},+ timer: {+ base: {+ backgroundColor: 'hsl(163.4 81% 49%)',+ color: 'hsl(216.3 76% 12%)',+ borderColor: 'hsl(51.6 92% 25%)',+ outlineColor: 'hsl(349.5 72% 25%)',+ },+ },timestamp: {base: {backgroundColor: 'hsl(275.4 82% 46%)',