@tangible/ui 0.2.31 → 0.2.33

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.
@@ -215,7 +215,10 @@ function SidebarRoot(props) {
215
215
  function SidebarHeader(props) {
216
216
  const { children, className } = props;
217
217
  const headerClassName = ['tui-sidebar__header', className].filter(Boolean).join(' ');
218
- return _jsx("header", { className: headerClassName, children: children });
218
+ // A div, not <header>: outside a sectioning element <header> maps to
219
+ // banner, and a drawer's dialog doesn't scope it, so an open drawer added a
220
+ // second banner to the page. Inside the static <aside> it was generic anyway.
221
+ return _jsx("div", { className: headerClassName, children: children });
219
222
  }
220
223
  // =============================================================================
221
224
  // Sidebar.Footer
@@ -223,7 +226,8 @@ function SidebarHeader(props) {
223
226
  function SidebarFooter(props) {
224
227
  const { children, className } = props;
225
228
  const footerClassName = ['tui-sidebar__footer', className].filter(Boolean).join(' ');
226
- return _jsx("footer", { className: footerClassName, children: children });
229
+ // A div for the same reason as Sidebar.Header: <footer> maps to contentinfo.
230
+ return _jsx("div", { className: footerClassName, children: children });
227
231
  }
228
232
  // =============================================================================
229
233
  // Sidebar.Nav
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { memo } from 'react';
3
- import { defaultStepIndicatorLabels } from './types.js';
3
+ import { inferStepStatus, stepIndicatorLabel } from './label.js';
4
4
  import { Progress } from '../Progress/index.js';
5
5
  import { Icon } from '../Icon/index.js';
6
6
  import { Checkmark as CheckmarkIcon } from '../../icons/lms/index.js';
@@ -13,23 +13,12 @@ const statusIcons = {
13
13
  locked: LockOutlineIcon,
14
14
  };
15
15
  // =============================================================================
16
- // Status inference
17
- // =============================================================================
18
- function inferStatus(value) {
19
- if (value <= 0)
20
- return 'not-started';
21
- if (value >= 100)
22
- return 'complete';
23
- return 'in-progress';
24
- }
25
- // =============================================================================
26
16
  // Component
27
17
  // =============================================================================
28
18
  export const StepIndicator = memo(function StepIndicator(props) {
29
- const { value = 0, status: statusOverride, icon: customIcon, size = 'sm', showValue = false, label, className, labels: labelsProp, } = props;
30
- const labels = { ...defaultStepIndicatorLabels, ...labelsProp };
19
+ const { value = 0, status: statusOverride, icon: customIcon, size = 'sm', showValue = false, attention = false, label, className, labels, } = props;
31
20
  // Infer status from value, allow override
32
- const status = statusOverride ?? inferStatus(value);
21
+ const status = statusOverride ?? inferStepStatus(value);
33
22
  // When status is explicit, the visual should match the status, not the value
34
23
  // - not-started: always show empty (0%)
35
24
  // - complete: always show full (100%)
@@ -47,28 +36,24 @@ export const StepIndicator = memo(function StepIndicator(props) {
47
36
  const iconName = hasStatusIcon ? statusIcons[status] : customIcon;
48
37
  // Use solid variant for complete state (filled circle)
49
38
  const variant = status === 'complete' ? 'solid' : 'ring';
50
- // Resolve status display name from labels
51
- const statusLabelMap = {
52
- 'not-started': labels.notStarted,
53
- 'in-progress': labels.inProgress,
54
- complete: labels.complete,
55
- locked: labels.locked,
56
- };
57
- // Accessible label — when a percentage is visible, it must be announced too
58
- const showsValue = showValue && status === 'in-progress';
59
- const ariaLabel = label ??
60
- (showsValue
61
- ? labels.statusWithValue(statusLabelMap[status], Math.round(displayValue))
62
- : labels.status(statusLabelMap[status]));
39
+ const ariaLabel = stepIndicatorLabel({
40
+ value: displayValue,
41
+ status,
42
+ label,
43
+ labels,
44
+ showValue,
45
+ attention,
46
+ });
63
47
  // Build class names
64
48
  const rootClassName = [
65
49
  'tui-step-indicator',
66
50
  `is-size-${size}`,
67
51
  `is-status-${status}`,
68
52
  hasIcon && 'has-icon',
53
+ attention && 'has-attention',
69
54
  className,
70
55
  ]
71
56
  .filter(Boolean)
72
57
  .join(' ');
73
- return (_jsx("div", { className: rootClassName, children: _jsxs(Progress, { mode: "circle", variant: variant, size: size, value: displayValue, showLabels: showValue || hasIcon, labelPosition: "inside", "aria-label": ariaLabel, children: [hasIcon && iconName && (_jsx(Icon, { name: iconName })), showValue && status === 'in-progress' && (_jsxs("span", { className: "tui-step-indicator__value", children: [Math.round(displayValue), "%"] }))] }) }));
58
+ return (_jsxs("div", { className: rootClassName, children: [_jsxs(Progress, { mode: "circle", variant: variant, size: size, value: displayValue, showLabels: showValue || hasIcon, labelPosition: "inside", "aria-label": ariaLabel, children: [hasIcon && iconName && (_jsx(Icon, { name: iconName })), showValue && status === 'in-progress' && (_jsxs("span", { className: "tui-step-indicator__value", children: [Math.round(displayValue), "%"] }))] }), attention && _jsx("span", { className: "tui-step-indicator__attention", "aria-hidden": "true" })] }));
74
59
  });
@@ -0,0 +1,13 @@
1
+ import type { StepIndicatorLabels, StepStatus } from './types';
2
+ export declare function inferStepStatus(value: number): StepStatus;
3
+ type LabelOptions = {
4
+ value: number;
5
+ status?: StepStatus;
6
+ label?: string;
7
+ labels?: StepIndicatorLabels;
8
+ showValue?: boolean;
9
+ attention?: boolean;
10
+ };
11
+ /** The accessible name a StepIndicator would announce. @internal */
12
+ export declare function stepIndicatorLabel(options: LabelOptions): string;
13
+ export {};
@@ -0,0 +1,29 @@
1
+ import { defaultStepIndicatorLabels } from './types.js';
2
+ // Shared by StepIndicator (its progressbar's aria-label) and StepList (the
3
+ // item's hidden status text). Kept out of StepIndicator.tsx so that file
4
+ // stays component-only for fast refresh.
5
+ export function inferStepStatus(value) {
6
+ if (value <= 0)
7
+ return 'not-started';
8
+ if (value >= 100)
9
+ return 'complete';
10
+ return 'in-progress';
11
+ }
12
+ /** The accessible name a StepIndicator would announce. @internal */
13
+ export function stepIndicatorLabel(options) {
14
+ const { value, status: statusOverride, label, showValue = false, attention = false } = options;
15
+ const labels = { ...defaultStepIndicatorLabels, ...options.labels };
16
+ const status = statusOverride ?? inferStepStatus(value);
17
+ const statusLabelMap = {
18
+ 'not-started': labels.notStarted,
19
+ 'in-progress': labels.inProgress,
20
+ complete: labels.complete,
21
+ locked: labels.locked,
22
+ };
23
+ // When a percentage is visible, it must be announced too
24
+ const base = label ??
25
+ (showValue && status === 'in-progress'
26
+ ? labels.statusWithValue(statusLabelMap[status], Math.round(value))
27
+ : labels.status(statusLabelMap[status]));
28
+ return attention ? labels.withAttention(base) : base;
29
+ }
@@ -23,6 +23,9 @@ export type StepIndicatorLabels = {
23
23
  /** aria-label template when a visible percentage is shown (showValue +
24
24
  * in-progress) — the label must carry what the eye can see. */
25
25
  statusWithValue?: (statusLabel: string, value: number) => string;
26
+ /** Wraps the accessible name when `attention` is set. Receives the name
27
+ * the indicator would otherwise have (the status, or `label`). */
28
+ withAttention?: (name: string) => string;
26
29
  };
27
30
  export declare const defaultStepIndicatorLabels: Required<StepIndicatorLabels>;
28
31
  export type StepIndicatorProps = {
@@ -71,6 +74,16 @@ export type StepIndicatorProps = {
71
74
  * @default false
72
75
  */
73
76
  showValue?: boolean;
77
+ /**
78
+ * Flag the step as needing attention (its inputs changed, it's stale, it
79
+ * needs review). Adds a warning dot and appends "needs attention" to the
80
+ * accessible name via `labels.withAttention`.
81
+ *
82
+ * Separate from `status` on purpose: a complete step can still need
83
+ * attention.
84
+ * @default false
85
+ */
86
+ attention?: boolean;
74
87
  /**
75
88
  * Accessible label for the indicator.
76
89
  * Used as aria-label when the indicator conveys unique information.
@@ -5,4 +5,5 @@ export const defaultStepIndicatorLabels = {
5
5
  locked: 'Locked',
6
6
  status: (statusLabel) => `Step status: ${statusLabel}`,
7
7
  statusWithValue: (statusLabel, value) => `Step status: ${statusLabel}, ${value}%`,
8
+ withAttention: (name) => `${name}, needs attention`,
8
9
  };
@@ -1,31 +1,46 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useMemo } from 'react';
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { Children, isValidElement, useMemo, useRef } from 'react';
3
3
  import { cx } from '../../utils/cx.js';
4
4
  import { isDev } from '../../utils/is-dev.js';
5
+ import { defaultStepListLabels } from './types.js';
5
6
  import { StepListContext, useStepListContext } from './StepListContext.js';
6
7
  import { StepIndicator } from '../StepIndicator/index.js';
8
+ import { stepIndicatorLabel } from '../StepIndicator/label.js';
7
9
  // =============================================================================
8
10
  // StepList (Root)
9
11
  // =============================================================================
10
12
  function StepListRoot(props) {
11
- const { 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ariaCurrent = 'step', current, onSelect, children, className, } = props;
13
+ const { 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ariaCurrent = 'step', current, onSelect, labels: labelsProp, children, className, } = props;
12
14
  // Dev warning for missing nav label
13
15
  if (isDev() && !ariaLabel && !ariaLabelledBy) {
14
- console.warn('StepList: Navigation landmark requires a label. ' +
16
+ console.warn('StepList: the list needs a label. ' +
15
17
  'Provide either `aria-label` or `aria-labelledby` prop for screen reader users.');
16
18
  }
17
19
  const rootClassName = cx('tui-steplist', className);
20
+ // A list with nothing to select or follow isn't navigation. Only direct
21
+ // children are inspected: an Item wrapped in another component keeps its
22
+ // own rendering, but the root can't see its href and won't be a nav.
23
+ const isNav = !!onSelect ||
24
+ Children.toArray(children).some((child) => isValidElement(child) && !!child.props.href);
18
25
  // Memoize context value to prevent unnecessary re-renders of all items
19
- const contextValue = useMemo(() => ({ current, ariaCurrent, onSelect }), [current, ariaCurrent, onSelect]);
20
- return (_jsx(StepListContext.Provider, { value: contextValue, children: _jsx("nav", { className: rootClassName, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, children: _jsx("ul", { role: "list", className: "tui-steplist__list", children: children }) }) }));
26
+ const contextValue = useMemo(() => ({ current, ariaCurrent, onSelect, labels: { ...defaultStepListLabels, ...labelsProp }, isNav }), [current, ariaCurrent, onSelect, labelsProp, isNav]);
27
+ return (_jsx(StepListContext.Provider, { value: contextValue, children: isNav ? (_jsx("nav", { className: rootClassName, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, children: _jsx("ul", { role: "list", className: "tui-steplist__list", children: children }) })) : (_jsx("div", { className: rootClassName, children: _jsx("ul", { role: "list", className: "tui-steplist__list", "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, children: children }) })) }));
21
28
  }
22
29
  // =============================================================================
23
30
  // StepList.Item
24
31
  // =============================================================================
25
32
  function StepListItem(props) {
26
- const { value, status = 'not-started', progress, icon, href, disabled = false, children, className, } = props;
27
- const { current, ariaCurrent, onSelect } = useStepListContext();
33
+ const { value, status = 'not-started', progress, icon, attention = false, href, disabled = false, children, className, } = props;
34
+ const { current, ariaCurrent, onSelect, labels, isNav } = useStepListContext();
35
+ const warnedRef = useRef(false);
36
+ if (isDev() && href && !isNav && !warnedRef.current) {
37
+ warnedRef.current = true;
38
+ console.warn(`StepList.Item "${value}" is a link, but the StepList didn't render a nav: ` +
39
+ 'the root only sees direct children, so an Item wrapped in a fragment or ' +
40
+ 'another component hides its href. Pass `onSelect`, or render Items as direct children.');
41
+ }
28
42
  const isCurrent = current === value;
43
+ const isStatic = !href && !onSelect;
29
44
  // Compute StepIndicator value based on status and progress
30
45
  const indicatorValue = status === 'complete'
31
46
  ? 100
@@ -39,9 +54,16 @@ function StepListItem(props) {
39
54
  }
40
55
  onSelect?.(value);
41
56
  };
42
- const itemClassName = cx('tui-steplist__item', isCurrent && 'is-current', disabled && 'is-disabled', `is-status-${status}`, className);
43
- // Shared content for both anchor and button variants
44
- const content = (_jsxs(_Fragment, { children: [_jsx(StepIndicator, { value: indicatorValue, status: status, icon: icon, size: "xs", className: "tui-steplist__indicator" }), _jsx("span", { className: "tui-steplist__content", children: children })] }));
57
+ const itemClassName = cx('tui-steplist__item', isStatic && 'is-static', isCurrent && 'is-current', disabled && 'is-disabled', `is-status-${status}`, className);
58
+ // Shared content for every variant. The indicator is hidden from AT and
59
+ // its status is spoken after the label instead: a progressbar inside a
60
+ // button or link contributes its *value* to the name, so the item read
61
+ // "100 Import" and the status never reached AT.
62
+ // Static rows say "current" themselves: aria-current on a plain row isn't
63
+ // reliably announced. Buttons and links announce it natively.
64
+ const statusText = stepIndicatorLabel({ value: indicatorValue, status, labels, attention }) +
65
+ (isStatic && isCurrent ? `, ${labels.current}` : '');
66
+ const content = (_jsxs(_Fragment, { children: [_jsx("span", { className: "tui-steplist__indicator", "aria-hidden": "true", children: _jsx(StepIndicator, { value: indicatorValue, status: status, icon: icon, attention: attention, size: "xs", labels: labels }) }), _jsxs("span", { className: "tui-steplist__content", children: [children, _jsxs("span", { className: "tui-visually-hidden", children: [", ", statusText] })] })] }));
45
67
  // Render as anchor if href provided (and not disabled)
46
68
  // Disabled anchors have href removed to prevent navigation
47
69
  if (href && !disabled) {
@@ -51,6 +73,11 @@ function StepListItem(props) {
51
73
  if (href && disabled) {
52
74
  return (_jsx("li", { children: _jsx("a", { className: itemClassName, "aria-current": isCurrent ? ariaCurrent : undefined, "aria-disabled": "true", tabIndex: -1, role: "link", onClick: handleClick, children: content }) }));
53
75
  }
76
+ // Nothing to select or follow: plain content. aria-current is a global
77
+ // attribute, so the current step is still announced.
78
+ if (isStatic) {
79
+ return (_jsx("li", { children: _jsx("div", { className: itemClassName, "aria-current": isCurrent ? ariaCurrent : undefined, children: content }) }));
80
+ }
54
81
  // Otherwise render as button
55
82
  return (_jsx("li", { children: _jsx("button", { type: "button", className: itemClassName, "aria-current": isCurrent ? ariaCurrent : undefined, disabled: disabled, onClick: handleClick, children: content }) }));
56
83
  }
@@ -1,2 +1,3 @@
1
1
  export { StepList } from './StepList';
2
- export type { StepListProps, StepListItemProps, StepStatus, } from './types';
2
+ export type { StepListProps, StepListItemProps, StepListLabels, StepStatus, } from './types';
3
+ export { defaultStepListLabels } from './types';
@@ -1 +1,2 @@
1
1
  export { StepList } from './StepList.js';
2
+ export { defaultStepListLabels } from './types.js';
@@ -1,7 +1,18 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { StepStatus } from '../StepIndicator/types';
2
+ import type { StepIndicatorLabels, StepStatus } from '../StepIndicator/types';
3
3
  import type { IconSource } from '../Icon/Icon';
4
4
  export type { StepStatus };
5
+ /**
6
+ * Strings each item speaks after its label: "Import, Complete, needs
7
+ * attention". The status words are StepIndicator's; `statusWithValue` is left
8
+ * out because an item never shows a percentage.
9
+ */
10
+ export type StepListLabels = Omit<StepIndicatorLabels, 'statusWithValue'> & {
11
+ /** Spoken on the current row of a status-only list, where aria-current on a
12
+ * plain row is unreliably announced. Buttons and links announce it natively. */
13
+ current?: string;
14
+ };
15
+ export declare const defaultStepListLabels: Required<StepListLabels>;
5
16
  export type StepListProps = {
6
17
  /**
7
18
  * Accessible label for the navigation landmark.
@@ -27,8 +38,17 @@ export type StepListProps = {
27
38
  current?: string;
28
39
  /**
29
40
  * Callback when a step is selected (clicked or activated).
41
+ *
42
+ * Without `onSelect`, an item with no `href` renders as plain content, not
43
+ * a button: a status-only list has nothing to activate. If no item has an
44
+ * `href` either, the root is a labelled list instead of a `nav` landmark.
30
45
  */
31
46
  onSelect?: (value: string) => void;
47
+ /**
48
+ * Override the strings each item announces after its label
49
+ * ("Complete", "needs attention", "current step").
50
+ */
51
+ labels?: StepListLabels;
32
52
  /**
33
53
  * StepList.Item children.
34
54
  */
@@ -65,6 +85,13 @@ export type StepListItemProps = {
65
85
  * @example icon="lms/question-mark"
66
86
  */
67
87
  icon?: IconSource;
88
+ /**
89
+ * Flag the step as needing attention (stale inputs, needs review). Shows a
90
+ * warning dot on the indicator and adds "needs attention" to its name.
91
+ * Independent of `status`.
92
+ * @default false
93
+ */
94
+ attention?: boolean;
68
95
  /**
69
96
  * URL to navigate to. When provided, renders as an anchor element.
70
97
  */
@@ -73,6 +100,8 @@ export type StepListItemProps = {
73
100
  * Prevent interaction with this step.
74
101
  * - Buttons: uses native `disabled` attribute
75
102
  * - Anchors: uses `aria-disabled="true"` + `tabIndex={-1}` + prevents click
103
+ * - Plain rows (no `href`, no `onSelect`): visual only, since there's nothing
104
+ * to disable. Use `status="locked"` to say a step can't be reached.
76
105
  */
77
106
  disabled?: boolean;
78
107
  /**
@@ -88,4 +117,7 @@ export type StepListContextValue = {
88
117
  current: string | undefined;
89
118
  ariaCurrent: 'step' | 'page';
90
119
  onSelect: ((value: string) => void) | undefined;
120
+ labels: Required<StepListLabels>;
121
+ /** Whether the root rendered a nav (for the link-in-a-list dev warning). */
122
+ isNav: boolean;
91
123
  };
@@ -1,4 +1,14 @@
1
1
  // =============================================================================
2
2
  // StepList Types
3
3
  // =============================================================================
4
- export {};
4
+ import { defaultStepIndicatorLabels } from '../StepIndicator/types.js';
5
+ export const defaultStepListLabels = {
6
+ notStarted: defaultStepIndicatorLabels.notStarted,
7
+ inProgress: defaultStepIndicatorLabels.inProgress,
8
+ complete: defaultStepIndicatorLabels.complete,
9
+ locked: defaultStepIndicatorLabels.locked,
10
+ // The row's label already says which step; "Step status:" on every row is noise.
11
+ status: (statusLabel) => statusLabel,
12
+ withAttention: defaultStepIndicatorLabels.withAttention,
13
+ current: 'current step',
14
+ };
@@ -34,8 +34,8 @@ export { SegmentedControl } from './SegmentedControl';
34
34
  export { Slider } from './Slider';
35
35
  export { Sidebar, defaultSidebarToggleLabels } from './Sidebar';
36
36
  export { NavMenu, defaultNavMenuLabels } from './NavMenu';
37
- export { StepIndicator } from './StepIndicator';
38
- export { StepList } from './StepList';
37
+ export { StepIndicator, defaultStepIndicatorLabels } from './StepIndicator';
38
+ export { StepList, defaultStepListLabels } from './StepList';
39
39
  export { DataTable } from './Table';
40
40
  export { SearchInput } from './SearchInput';
41
41
  export { SecretInput, defaultSecretInputLabels } from './SecretInput';
@@ -79,8 +79,8 @@ export type { RatingProps } from './Rating';
79
79
  export type { SegmentedControlProps, SegmentedControlItemProps, SegmentedControlValue, SegmentedControlVariant, SegmentedControlSize, SegmentedControlOrientation, } from './SegmentedControl';
80
80
  export type { SidebarProps, SidebarHeaderProps, SidebarFooterProps, SidebarNavProps, SidebarToggleProps, SidebarToggleLabels, } from './Sidebar';
81
81
  export type { NavMenuProps, NavMenuOrientation, NavMenuFlyoutTrigger, NavMenuLabels, NavMenuGroupProps, NavMenuGroupLabelElement, NavMenuItemProps, NavMenuItemAsLink, NavMenuItemAsButton, NavMenuItemAsChild, NavMenuCurrent, NavMenuSubProps, } from './NavMenu';
82
- export type { StepIndicatorProps, StepStatus } from './StepIndicator';
83
- export type { StepListProps, StepListItemProps } from './StepList';
82
+ export type { StepIndicatorProps, StepStatus, StepIndicatorLabels } from './StepIndicator';
83
+ export type { StepListProps, StepListItemProps, StepListLabels } from './StepList';
84
84
  export type { DataTableProps } from './Table';
85
85
  export type { TabsProps, TabsListProps, TabProps, TabPanelProps, TabsVariant, TabsActivationMode, TabsOrientation, } from './Tabs';
86
86
  export type { SearchInputProps } from './SearchInput';
@@ -32,8 +32,8 @@ export { SegmentedControl } from './SegmentedControl/index.js';
32
32
  export { Slider } from './Slider/index.js';
33
33
  export { Sidebar, defaultSidebarToggleLabels } from './Sidebar/index.js';
34
34
  export { NavMenu, defaultNavMenuLabels } from './NavMenu/index.js';
35
- export { StepIndicator } from './StepIndicator/index.js';
36
- export { StepList } from './StepList/index.js';
35
+ export { StepIndicator, defaultStepIndicatorLabels } from './StepIndicator/index.js';
36
+ export { StepList, defaultStepListLabels } from './StepList/index.js';
37
37
  export { DataTable } from './Table/index.js';
38
38
  export { SearchInput } from './SearchInput/index.js';
39
39
  export { SecretInput, defaultSecretInputLabels } from './SecretInput/index.js';
package/figma-tokens.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.31",
2
+ "version": "0.2.33",
3
3
  "source": "publish/styles/all.expanded.css",
4
4
  "prefix": "tui-",
5
5
  "note": "Layer 1 primitives only. Component API tokens (--tui-{component}-*) are never defined in CSS — they exist only as fallback reads — so they have no Figma representation. CONTRACT: consumers read TUI defaults from this file at build time (variables[].cssVar, the \"Light\"/\"Dark\" mode names, and alias chains into TUI/Primitives). Renaming a cssVar or a mode is a breaking change to those consumers even when the CSS value is unchanged — a rename silently becomes an undefined default downstream — so treat it as at least a minor bump and call it out in the CHANGELOG.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangible/ui",
3
- "version": "0.2.31",
3
+ "version": "0.2.33",
4
4
  "description": "Tangible Design System",
5
5
  "type": "module",
6
6
  "main": "./components/index.js",
@@ -82,8 +82,8 @@ their full `--tui-<component>-*` API — the only shipped listing, since consume
82
82
 
83
83
  - **Nearly every `*Labels` type** (the i18n prop): `ButtonLabels`, `FieldLabels`,
84
84
  `ComboboxLabels`, `MultiSelectLabels`, `RatingLabels`, `DataTableLabels`, `AvatarLabels`,
85
- `StepIndicatorLabels`, `CalendarLabels`, … (`PagerLabels` is the exception — exported since
86
- 0.2.12.)
85
+ `CalendarLabels`, … (exceptions: `PagerLabels`, plus `StepIndicatorLabels` and `StepListLabels`
86
+ with their defaults.)
87
87
  - **Most union / variant aliases**: `AccordionVariant`, `ContentIndicatorSize`,
88
88
  `ComboboxFilterMode`, `IconButton`'s `Shape`/`Variant`, `NoticeHandle`, `ProgressSegment`,
89
89
  `OptionValue`, `TooltipTheme`, … (`SidebarFooterProps` was on this list until 0.2.18, which
@@ -313,7 +313,8 @@ Oct 24 2026.
313
313
  | SearchSelect | `search`, `clearSearch`, `noResults` |
314
314
  | SecretInput | `reveal`, `hide`, `shown`, `hidden`, `valueSet`, `valueSetDescription`, `locked` |
315
315
  | Sidebar.Toggle | `collapse`, `expand` |
316
- | StepIndicator | `notStarted`, `inProgress`, `complete`, `locked`, `status`, `statusWithValue` |
316
+ | StepIndicator | `notStarted`, `inProgress`, `complete`, `locked`, `status`, `statusWithValue`, `withAttention` |
317
+ | StepList | the same minus `statusWithValue`, plus `current` (status-only lists); `status` defaults to the bare word, since the row's label names the step |
317
318
 
318
319
  Some keys are functions (counts, page status, value texts); the type says which.
319
320