Skip to content

feat!: tighten v11 prop types and add the related props and fixes - #3303

Merged
interactivellama merged 50 commits into
masterfrom
feat/v11-p1-7-typing
Nov 13, 2026
Merged

interactivellama merged 50 commits into
masterfrom
feat/v11-p1-7-typing

Conversation

@interactivellama

@interactivellama interactivellama commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Additional description

This PR tightens the v11 prop types so they match what each component actually renders. A prop that a variant ignores is now a compile error instead of being dropped silently. It also adds a few props and fixes found while typing the same components.

  • Breaking for TypeScript consumers. 30 commits are marked !. Each has a BREAKING CHANGE: footer with the migration, and the CHANGELOG has one line per component. These have to land before 11.0 GA, because a narrowed type can't ship in an 11.x minor.
  • Runtime changes are limited to the toast close button, the radio size default and the filter popover open state. Deprecated forms keep working and warn once.
  • Tests: each new union has a *.type-test.tsx checked by npm run typecheck, and the filter fix, the progress-indicator fallback and tooltip isDisabled have regression tests.

Breaking (types)

Component Change Migration
button icon variants are a union; iconVariant/iconSize only with an icon variant; extends ButtonHTMLAttributes; tabIndex is a number (also on ButtonStateful) drop icon props from non-icon buttons; pass tabIndex={-1}
card the default empty state moves to isEmpty; empty is custom content only empty → isEmpty for the built-in state
checkbox variant is a discriminated union; className/errorText/required/tabIndex are rejected on button-group/visual-picker; tabIndex is a number remove the ignored props
combobox option icon must be an Icon element pass <Icon … />
dynamic-icon variant is a union; waffle takes onClick; strengthLevel is a number from -3 to 3; title is optional pass a number for strengthLevel
edit-dialog (popover) no index signature; takes the base Popover props remove props Popover doesn't take
expandable-section nonCollapsible rejects isOpen/defaultIsOpen={false} remove them; the section is always open
files labels.title is required (href keeps its '#' default) pass labels.title
grid flavor is a union; Column is exported by name (Grid.Column stays) replace other flavor strings with a modifier or className
icon/button-icon no index signature; adds xx-small; ButtonStateful stops passing the unused disabled remove unknown props
icon/input-icon clickable or decorative union keyed on onClick; a clickable icon needs assistiveText.icon; category is IconCategory add assistiveText.icon to clickable icons
input variant is a union (counter owns minValue/maxValue/step); label/assistiveText.label and fixedTextLeft/fixedTextRight are exclusive; tabIndex/maxLength/minLength are numbers pass numbers; use one of each pair
menu-dropdown trigger, width (no 'bottom'), length (no null), tabIndex (number), iconVariant (no 'small') and assistiveText are typed; buttonVariant="icon" needs iconName or trigger as listed
page-header union on variant; details flavor is n-of-m, and details take an optional id key remove props the variant doesn't render
panel filtering PanelFilterGroup is a union on variant; no index signature the panel callbacks need variant="panel"
pill href only on links; icon XOR avatar; labels.label XOR children; tabIndex is a number use one of each pair
pill-container PillOption.id is required (it's the React key); no index signature; onRequestRemove always gets an index add an id to every option
popover icon only on feature; heading XOR ariaLabelledby; the overlay callback is typed use one of heading/ariaLabelledby
progress-indicator union on type/variant: type="path" rejects the marker props, and setup-assistant is vertical only remove the ignored props
progress-ring icon only with hasIcon add hasIcon or remove icon
radio union on variant; style only on swatch; size defaults to medium (no slds-visual-picker_undefined); description removed; tabIndex is a number move the visual-picker props onto that variant
radio-group style only on button-group remove it from base
setup-assistant progressBar only with isCard add isCard or remove it
simple-data-table no index signatures; item type is 'header-row' or unset; row action options use the MenuDropdown option type remove unknown keys
textarea aria props come from TextareaHTMLAttributes pass React aria values
toast the close button renders only with dismissible (matches Alert) add dismissible where a close button is wanted
tree labels.heading XOR assistiveText.heading; FlattenedNode not exported use one heading prop
trial-bar TrialBarDropdown omits inverse (it was always forced) remove inverse
truncate, dialog passthrough typed as HTMLAttributes<HTMLDivElement> instead of [key: string] remove invalid div attributes
visual-picker union on links; vertical isn't coerced; className without a cast remove the fieldset-only props from link pickers

Additive and fixes

Component Change
alert, toast variant optional, default info (the type was wrong)
button-group variant explicit union; labels ReactNode
builder-header nav-dropdown props typed against MenuDropdownBaseProps
carousel itemsPerPanel validated; examples use string ids (id stays string)
checkbox className on the root of every variant
color-picker consumer id rendered on the root
date-picker onCalendarFocus direction is 'next' | 'previous'
spinner placement: 'container' | 'inline' | 'input'; isInline/isInput deprecated
trial-bar TrialBarButton merges the consumer className/style (fix)
docked-composer defaultIsOpen for an uncontrolled composer; the body stays unmounted while closed
filter fix: a custom popover's isOpen controls the open state after mount, and defaultIsOpen seeds it otherwise. Root cause: the state was seeded once from isOpen, then overridden by the merged popover props
progress-indicator one status per step; selectedStep by id; completedSteps/disabledSteps/errorSteps and an id-less selectedStep object are deprecated, still work and warn
tooltip isDisabled turns a tooltip off whatever isOpen is

Testing

npm run test:ci passes (typecheck, 81 files / 1648 tests, build, lint 0 errors). Story snapshots are unchanged.

Every export (151)
  • 🔴 components/builder-header/nav-dropdown BuilderHeaderNavDropdownProps: Incompatible in both directions.
  • 🔴 components/builder-header/nav-dropdown default: Incompatible props: iconVariant, length, tabIndex, width.
  • 🔴 components/button ButtonProps: Incompatible in both directions.
  • 🔴 components/button default: Incompatible props: tabIndex.
  • 🔴 components/button-stateful ButtonStatefulProps: Incompatible in both directions.
  • 🔴 components/button-stateful default: Incompatible props: tabIndex.
  • 🔴 components/card/filter CardFilterProps: Incompatible in both directions.
  • 🔴 components/card/filter default: Incompatible props: iconLeft, iconRight, maxLength, minLength, tabIndex; removed: assistiveText, fixedTextLeft, fixedTextRight, label, maxValue, minValue, step, variant.
  • 🔴 components/carousel CarouselProps: Incompatible in both directions.
  • 🔴 components/carousel CarouselRenderItem: Incompatible in both directions.
  • 🔴 components/carousel CarouselRenderItemData: Incompatible in both directions.
  • 🔴 components/carousel default: Incompatible props: onItemClick, onRenderItem, renderItem.
  • 🔴 components/checkbox CheckboxProps: Incompatible in both directions.
  • 🔴 components/checkbox default: Incompatible props: tabIndex.
  • 🔴 components/combobox default: Incompatible props: events, input, menuItem, onRenderMenuItem, options, optionsAddItem, optionsSearchEntity, popover, … (9 total).
  • 🔴 components/combobox/combobox ComboboxActionItem: Incompatible in both directions.
  • 🔴 components/combobox/combobox ComboboxEvents: Incompatible in both directions.
  • 🔴 components/combobox/combobox ComboboxProps: Incompatible in both directions.
  • 🔴 components/combobox/combobox default: Incompatible props: events, input, menuItem, onRenderMenuItem, options, optionsAddItem, optionsSearchEntity, popover, … (9 total).
  • 🔴 components/dynamic-icon default: Old props/arguments are no longer accepted.
  • 🔴 components/dynamic-icon DynamicIconProps: Incompatible in both directions.
  • 🔴 components/expandable-section default: Old props/arguments are no longer accepted.
  • 🔴 components/files default: Incompatible props: children.
  • 🔴 components/files FilesProps: Incompatible in both directions.
  • 🔴 components/files/file default: Incompatible props: labels (now required), moreActionsDropdown.
  • 🔴 components/files/file FileProps: Incompatible in both directions.
  • 🔴 components/grid default: Incompatible props: flavor.
  • 🔴 components/icon/input-icon default: Incompatible props: category.
  • 🔴 components/icon/input-icon InputIconProps: Incompatible in both directions.
  • 🔴 components/input default: Incompatible props: iconLeft, iconRight, maxLength, minLength, tabIndex.
  • 🔴 components/input InputProps: Incompatible in both directions.
  • 🔴 components/input/search default: Incompatible props: maxLength, minLength, tabIndex; removed: fixedTextLeft, fixedTextRight, label, maxValue, minValue, step, variant.
  • 🔴 components/menu-dropdown/button-trigger ButtonTriggerProps: Incompatible in both directions.
  • 🔴 components/menu-dropdown/button-trigger default: Incompatible props: children, tabIndex.
  • 🔴 components/menu-dropdown/menu-dropdown default: Incompatible props: iconVariant, length, tabIndex, width.
  • 🔴 components/menu-dropdown/menu-dropdown MenuDropdownProps: Incompatible in both directions.
  • 🔴 components/page-header default: Incompatible props: details.
  • 🔴 components/page-header DetailBlock: Incompatible props: flavor.
  • 🔴 components/page-header DetailRow: Incompatible props: details.
  • 🔴 components/panel/filtering/group default: Old props/arguments are no longer accepted.
  • 🔴 components/panel/filtering/group PanelFilterGroupProps: Incompatible in both directions.
  • 🔴 components/pill default: Incompatible props: tabIndex.
  • 🔴 components/pill-container default: Incompatible props: events, onClickPill, onRequestRemovePill, options.
  • 🔴 components/pill-container PillContainerEvents: Incompatible in both directions.
  • 🔴 components/pill-container PillContainerProps: Incompatible in both directions.
  • 🔴 components/pill-container PillEventData: Incompatible in both directions.
  • 🔴 components/pill-container PillOption: Incompatible in both directions.
  • 🔴 components/popover/edit-dialog default: Incompatible props: body (new, required).
  • 🔴 components/popover/edit-dialog EditDialogProps: Incompatible in both directions.
  • 🔴 components/popover/popover default: Old props/arguments are no longer accepted.
  • 🔴 components/progress-indicator default: Old props/arguments are no longer accepted.
  • 🔴 components/progress-indicator ProgressIndicatorProps: Incompatible in both directions.
  • 🔴 components/progress-ring default: Old props/arguments are no longer accepted.
  • 🔴 components/radio default: Incompatible props: tabIndex; removed: defaultChecked, description, label.
  • 🔴 components/radio RadioGroupItemProps: Incompatible in both directions.
  • 🔴 components/radio RadioProps: Incompatible in both directions.
  • 🔴 components/radio-button-group default: Incompatible props: children.
  • 🔴 components/radio-button-group RadioButtonGroupProps: Incompatible in both directions.
  • 🔴 components/radio-button-group/radio default: Incompatible props: tabIndex; removed: description.
  • 🔴 components/radio-group default: Incompatible props: children.
  • 🔴 components/radio-group RadioGroupProps: Incompatible in both directions.
  • 🔴 components/radio-group/radio default: Incompatible props: tabIndex; removed: description.
  • 🔴 components/setup-assistant default: Old props/arguments are no longer accepted.
  • 🔴 components/simple-data-table default: Incompatible props: children, disabledSelection, items, onRenderSubHeadingRow, renderSubHeadingRow, selection.
  • 🔴 components/simple-data-table/row-actions default: Incompatible props: dropdown, options.
  • 🔴 components/simple-data-table/types SimpleDataTableBaseProps: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableCellProps: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableColumnConfig: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableColumnProps: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableHeadProps: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableHighlightCellProps: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableNonSelectableProps: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableProps: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableRenderSubHeadingRowData: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableRowActionsProps: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableRowProps: Incompatible in both directions.
  • 🔴 components/simple-data-table/types SimpleDataTableSelectableProps: Incompatible in both directions.
  • 🔴 components/spinner default: Old props/arguments are no longer accepted.
  • 🔴 components/split-view/header default: Incompatible props: details.
  • 🔴 components/textarea default: Incompatible props: aria-autocomplete.
  • 🔴 components/textarea TextareaProps: Incompatible in both directions.
  • 🔴 components/tree FlattenedNode: Export removed.
  • 🔴 components/tree/tree default: Old props/arguments are no longer accepted.
  • 🔴 components/trial-bar/button default: Incompatible props: tabIndex.
  • 🔴 components/trial-bar/dropdown default: Incompatible props: iconVariant, length, tabIndex, width; removed: buttonVariant, iconName, inverse, trigger.
  • 🔴 components/trial-bar/dropdown TrialBarDropdownProps: Incompatible in both directions.
  • 🔴 components/visual-picker default: Incompatible props: children.
  • 🔴 components/visual-picker VisualPickerProps: Incompatible in both directions.
  • 🟠 components/alert AlertProps: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/builder-header/toolbar BuilderHeaderToolbarProps: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/button-group ButtonGroupLabels: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/button-group ButtonGroupProps: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/button-group ButtonGroupVariant: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/combobox ComboboxActionOption: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/combobox ComboboxItemOption: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/combobox ComboboxOption: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/combobox/combobox ComboboxRenderMenuItemData: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/combobox/combobox ComboboxVariantProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/date-picker/date-picker DatePickerProps: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/dynamic-icon StrengthLevel: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/expandable-section ExpandableSectionProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/grid GridProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/icon/button-icon ButtonIconProps: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/input/search SearchProps: Removed properties: fixedTextLeft, fixedTextRight, label, maxValue, minValue, step, variant. Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/page-header PageHeaderDetail: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/page-header PageHeaderProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/pill PillProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/popover/popover PopoverProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/progress-ring ProgressRingProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/setup-assistant SetupAssistantProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/simple-data-table/types SimpleDataTableAssistiveText: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/simple-data-table/types SimpleDataTableHeaderCellProps: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/simple-data-table/types SimpleDataTableItem: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/simple-data-table/types SimpleDataTableRowActionData: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/simple-data-table/types SimpleDataTableRowChangeData: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/simple-data-table/types SimpleDataTableRowChangeHandler: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/simple-data-table/types SimpleDataTableSelection: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/spinner SpinnerProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/split-view/header SplitViewHeaderProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟠 components/toast ToastProps: Widened: new values may not fit the old type, which breaks consumers who read values of this type.
  • 🟠 components/tree/tree TreeProps: Narrowed: old values no longer fit, which breaks consumers who create values of this type.
  • 🟢 components/alert default: Accepts more than before (widened).
  • 🟢 components/builder-header/toolbar default: Accepts more than before (widened).
  • 🟢 components/button ButtonBaseProps: Export added.
  • 🟢 components/button-group default: Accepts more than before (widened).
  • 🟢 components/card CardProps: Added properties: isEmpty.
  • 🟢 components/card default: Added props: isEmpty.
  • 🟢 components/date-picker default: Accepts more than before (widened).
  • 🟢 components/date-picker/date-picker DatePickerFocusDirection: Export added.
  • 🟢 components/date-picker/date-picker default: Accepts more than before (widened).
  • 🟢 components/docked-composer default: Added props: defaultIsOpen.
  • 🟢 components/docked-composer DockedComposerProps: Added properties: defaultIsOpen.
  • 🟢 components/grid Column: Export added.
  • 🟢 components/grid GridFlavor: Export added.
  • 🟢 components/icon/button-icon default: Accepts more than before (widened).
  • 🟢 components/icon/input-icon InputIconClickableProps: Export added.
  • 🟢 components/icon/input-icon InputIconDecorativeProps: Export added.
  • 🟢 components/input InputBaseProps: Export added.
  • 🟢 components/menu-dropdown/menu-dropdown MenuDropdownBaseProps: Export added.
  • 🟢 components/popover/popover PopoverBaseProps: Export added.
  • 🟢 components/popover/popover PopoverLabelProps: Export added.
  • 🟢 components/progress-indicator ProgressStep: Added properties: status.
  • 🟢 components/progress-indicator ProgressStepStatus: Export added.
  • 🟢 components/simple-data-table/column default: Added props: fixedLayout, id, items, search.
  • 🟢 components/simple-data-table/column SimpleDataTableColumnProps: Added properties: fixedLayout, id, items, search.
  • 🟢 components/spinner SpinnerPlacement: Export added.
  • 🟢 components/toast default: Added props: dismissible.
  • 🟢 components/tooltip default: Added props: isDisabled.
  • 🟢 components/tooltip TooltipProps: Added properties: isDisabled.

Types only. New defaults that change rendered output and removed styling hooks need review by hand.

Notes for reviewers. The table above comes from the checker. The hand-written tables under "Additional description" give the migrations. The checker found these changes that those tables leave out or call additive:

  • 🔴 card/filter: CardFilterProps now comes from InputBaseProps, so variant, label, assistiveText, fixedText*, min/maxValue and step are no longer accepted. Missing from the hand table.
  • 🔴 spinner: isInline, isInput and placement are exclusive, so passing more than one no longer compiles. Single deprecated props still work, as the PR says.
  • 🔴 split-view/header: its props extend PageHeaderProps, so the page-header variant union applies to it. details must match the chosen variant.
  • 🟠 alert, toast, button-group, date-picker: widened types (optional variant, ReactNode labels, the direction union). These break only code that reads these props types as narrower than they now are. I don't expect real-world impact.

CONTRIBUTOR checklist (do not remove)

  • npm run lint passes with 0 errors
  • npm run typecheck is clean
  • npm test -- --run passes (unit, browser and story snapshots)
  • npm run build succeeds
  • Type-tests for every new union; regression tests for the fixes and new props
  • Storybook stories reviewed
  • Stories and examples use the real prop API (the progress-indicator examples moved to steps[].status)
  • Storybook a11y panel not checked
  • Types are the contract; .d.ts generated by the build
  • npm run api:compat -- --pr output is in "Public type changes"

REVIEWER checklist (do not remove)

  • CI is green. Chromatic visual review checked.
  • Change has adequate test coverage; bug fixes include a regression test.
  • Reviewed the affected Storybook stories and their a11y panels.
  • Rendered markup still conforms to SLDS (story snapshot diff).
  • Public API / package surface: deep imports still resolve; breaking changes are marked !.

@interactivellama
interactivellama changed the base branch from feat/v11-p1-6-root-and-refs to master November 12, 2026 18:49
@interactivellama interactivellama changed the title feat!: v11 P1 theme 7 — typing feat!: v11 typing contract (P1 theme 7, with theme 8 data models) Nov 12, 2026
@interactivellama interactivellama changed the title feat!: v11 typing contract (P1 theme 7, with theme 8 data models) feat!: tighten v11 prop types and add the related props and fixes Nov 13, 2026
…ples

itemsPerPanel must be a positive integer; other values fall back to 1
and warn in development. CarouselItemData.id stays a string, so the
examples and tests now pass string ids instead of numbers.
…ithout casts

BREAKING CHANGE: `icon` on a combobox option must be an `<Icon>`
element, not any ReactNode.
…mber

BREAKING CHANGE: `indeterminate` is not accepted with `toggle`, and
`className`, `errorText`, `required` and `tabIndex` are not accepted
with `button-group` or `visual-picker`. `tabIndex` is a number.
BREAKING CHANGE: `nonCollapsible` cannot be combined with
`isOpen={false}` or `defaultIsOpen={false}`; the section is always open.
…e take onClick

BREAKING CHANGE: `scorePolarity`, `strengthLevel` and `trendDirection` are
only accepted with their variant. `strengthLevel` is a number from -3 to 3.
`title` is optional.
labels.title is documented as required and is used as the file's name,
so the type now requires it. href keeps its '#' default, so onClickImage
can handle the click without a URL.

BREAKING CHANGE: `labels.title` is required on `File`.
ButtonIcon adds the xx-small size and drops its index signature.
ButtonStateful no longer passes disabled to its ButtonIcon children;
ButtonIcon never applied it.

BREAKING CHANGE: ButtonIcon rejects unknown props. disabled was never
applied to the icon; remove it.
…nion

InputIcon drops its index signature and types category as IconCategory.
onClick selects between an icon Button and a decorative UtilityIcon.

BREAKING CHANGE: InputIcon rejects unknown props. Remove any extra
props passed to it.
Grid.Column stays as a static property.

BREAKING CHANGE: Grid flavor only accepts the SLDS grid modifiers.
Replace any other flavor string with a supported modifier or className.
…th props

minValue, maxValue and step belong to the counter variant. label and
assistiveText.label, and fixedTextLeft and fixedTextRight, are exclusive.
tabIndex, maxLength and minLength are numbers.

BREAKING CHANGE: Input rejects counter props on the base variant.
Pass numbers to tabIndex, maxLength and minLength, not strings.
Use only one of label and assistiveText.label.
Use only one of fixedTextLeft and fixedTextRight.
buttonVariant="icon" needs an iconName or a trigger. assistiveText is
typed. tabIndex is a number. width loses 'bottom', length loses null and
iconVariant loses 'small'.

BREAKING CHANGE: MenuDropdown tabIndex is a number, not a string.
Pass tabIndex={-1} instead of tabIndex="-1".
Remove width="bottom", length={null} and iconVariant="small".
Give an icon-variant MenuDropdown an iconName or a trigger.
Each variant accepts only the props it renders. details flavor is an
n-of-m width and details take an optional id used as the React key.

BREAKING CHANGE: PageHeader rejects props its variant ignores.
Remove trail, label or details from the base variant.
Remove details from object-home and related-list, and icon from related-list.
Use an n-of-m string such as 1-of-4 for details flavor.
…through

EditDialog drops its index signature. It accepts the base Popover props
and the same heading or ariaLabelledby choice.

BREAKING CHANGE: EditDialog rejects unknown props.
Remove any props that Popover does not take.
type="path" rejects the marker props and variant. variant="setup-assistant"
is always vertical, so orientation can only be vertical there.

BREAKING CHANGE: ProgressIndicator rejects props its pattern ignores.
Remove errorSteps, disabledSteps, tooltip, orientation and variant from type="path".
Remove orientation="horizontal" from variant="setup-assistant".
BREAKING CHANGE: ProgressRing icon requires hasIcon.
Add hasIcon to any ProgressRing that passes icon, or remove icon.
Visual-picker props are rejected by the other variants, and swatch is the
only variant that takes style. size now defaults to medium, so
slds-visual-picker_undefined is no longer emitted. description was never
rendered and is removed.

BREAKING CHANGE: Radio rejects props its variant ignores.
Move coverable, vertical, size and visualPicker* to variant="visual-picker".
Move style to variant="swatch". Remove description.
Pass tabIndex as a number, not a string.
BREAKING CHANGE: RadioGroup style requires variant="button-group".
Remove style from variant="base" groups, which never applied it.
BREAKING CHANGE: SetupAssistant progressBar requires isCard.
Add isCard, or remove progressBar, which was never rendered without it.
…ptions

Item type is 'header-row' or unset, options and onAction use the
MenuDropdown option type, and the row and head share the types in types.ts
instead of keeping copies.

BREAKING CHANGE: SimpleDataTable types reject unknown keys.
Remove unknown keys from assistiveText and column props.
Use type: 'header-row' or omit type on items.
BREAKING CHANGE: Textarea aria props use the React DOM types.
Pass aria-haspopup as a React value such as "listbox", or true.
Pass aria-autocomplete as none, inline, list or both.
Matches Alert, where dismissible is opt-in. variant was already optional
with an info default.

BREAKING CHANGE: Toast no longer always renders its close button.
Add dismissible to any Toast that should show the close button.
…nedNode

BREAKING CHANGE: Tree rejects a visible and a hidden heading together.
Pass labels.heading or assistiveText.heading, not both.
FlattenedNode is no longer exported from components/tree.
TrialBarDropdown forces inverse after the spread, so a consumer's value
was silently ignored.

BREAKING CHANGE: TrialBarDropdown no longer accepts inverse.
Remove inverse from TrialBarDropdown; it is always inverse.
VisualPicker is now a union on `links`. A links picker takes
VisualPickerLink children and rejects the fieldset-only props.
`vertical` is no longer coerced to a boolean, and `className`
accepts string, array or object without a cast.

BREAKING CHANGE: `links` pickers no longer accept `className`, `id`,
`label`, `coverable`, `size` or `vertical`. They were ignored; remove them.
TruncateProps no longer has a string index signature; the props
spread onto the element are HTMLAttributes<HTMLDivElement>.
DialogContainerProps is HTMLAttributes<HTMLDivElement> too.

BREAKING CHANGE: Truncate and Dialog containerProps reject props
that are not valid div attributes. Remove or correct them.
An omitted isOpen now makes the composer manage its own state, starting
closed. The body stays unmounted while closed.
A custom popover's isOpen now controls the filter popover; without it the
state is internal, seeded from the popover's defaultIsOpen. Previously the
state was seeded once from isOpen and then overridden by the merged props,
so isOpen on a custom popover was effectively ignored after mount.

A custom popover that sets isOpen now needs to update it (for example from
the popover's onRequestClose), or drop it and use defaultIsOpen.
A step now carries its own status ('completed' | 'disabled' | 'error'), so
it cannot be both error and completed. selectedStep takes a step id, and a
step object is matched by its id. An invalid steps prop now warns before
falling back to the default steps.

completedSteps, disabledSteps and errorSteps are deprecated in favor of
steps[].status and still work with a warning. A selectedStep object without
an id is still matched by its content, as in 0.10.x, with a deprecation
warning.
isDisabled turns a tooltip off independently of isOpen: it never opens
and renders no dialog, while the trigger still renders.
@interactivellama
interactivellama marked this pull request as ready for review November 13, 2026 08:24
@interactivellama
interactivellama merged commit 70b377c into master Nov 13, 2026
11 checks passed
@interactivellama
interactivellama deleted the feat/v11-p1-7-typing branch November 13, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants