Repository navigation
feat!: v11 P1 theme 2, remove 0.10.x deprecated props and components - #3285
Merged
Merged
Conversation
interactivellama
force-pushed
the
feat/v11-p1-1-behavior-fixes
branch
from
November 10, 2026 07:27
91e8f60 to
34a128d
Compare
interactivellama
force-pushed
the
feat/v11-p1-2-removals
branch
from
November 10, 2026 07:34
054d697 to
8704384
Compare
interactivellama
marked this pull request as ready for review
November 10, 2026 08:00
Niznikr
previously approved these changes
Nov 10, 2026
interactivellama
dismissed
Niznikr’s stale review
November 10, 2026 19:32
The base branch was changed.
`tooltip` wrapped the button in a Tooltip. It is no longer rendered; it is
destructured so it never reaches the DOM and warns once in development.
BREAKING CHANGE: Button no longer accepts `tooltip`. Wrap the button in a
Tooltip instead: `<Tooltip content={...} trigger={<Button ... />} />`.
…d assistiveTextOpenCalendar These props already had replacements (`input`, `labels.label`, `labels.placeholder`, `assistiveText.openCalendar`). They are now ignored, never reach the DOM, and warn once in development. BREAKING CHANGE: DatePicker no longer accepts `children` (pass your Input to `input`), `label` (use `labels.label`), `placeholder` (use `labels.placeholder`) or `assistiveTextOpenCalendar` (use `assistiveText.openCalendar`).
A string `assistiveText` is now ignored and warns once in development
(the existing `check-props.js` sunset check, now wired). Combobox examples
and the ScopedNotification test pass `{ label }` instead, and
ScopedNotification no longer converts a string icon `assistiveText`.
BREAKING CHANGE: Icon accepts only `assistiveText={{ label: '...' }}`; a
string is ignored.
Illustration was deprecated and prototype-status, already warned on every render, and its `path` prop is an XSS vector with user-provided SVGs. Removes the component, its examples, stories, tests and snapshots, the `Illustration`/`SLDSIllustration` exports, the `ILLUSTRATION` constant, and the story-only SVGs in `assets/images/illustrations`. BREAKING CHANGE: `Illustration` and `SLDSIllustration` are no longer exported, and `components/illustration` is gone. Copy the markup from https://www.lightningdesignsystem.com/components/illustration/ instead.
`assistiveText.fieldLevelHelpButton` is no longer read and warns once in development. Also delete the dead checks for the `iconCategory`, `iconName`, `iconPosition`, `iconAssistiveText` and `onIconClick` props, which Input stopped accepting long ago. BREAKING CHANGE: Input no longer accepts `assistiveText.fieldLevelHelpButton`. Pass a `Tooltip` to `fieldLevelHelpTooltip` and set its `assistiveText.triggerLearnMoreIcon`.
The three props are no longer read. They are destructured so they never reach the DOM, and each warns once in development. MenuDropdownButtonTrigger drops `tooltip` and `isInline` too. BREAKING CHANGE: MenuDropdown no longer accepts `tooltip`, `offset` or `isInline`. Wrap the trigger in a Tooltip instead of passing `tooltip`; `offset` has no replacement (positioning is automatic); replace `isInline` with `menuPosition="relative"`.
PageHeader never forwards `iconCategory`/`iconName`/`iconPosition`/ `iconSize`/`iconVariant`, `contentRight` or `navRight` to its private variants, so the icon branch, the `contentRight`/`navRight` passthrough, Controls' legacy wrapper branch and their checks could not run. Delete them. `onRenderActions`/`onRenderControls` still work and warn.
The prop no longer overrides the close button label. It is destructured so
it never reaches the DOM and warns once in development.
BREAKING CHANGE: PanelFilterGroup no longer accepts
`assistiveTextCloseFilterPanel`. Use
`assistiveText={{ closeButton: '...' }}` instead.
The two props are no longer read. They are destructured so they never
reach the DOM, and each warns once in development from the existing mount
check. Adds a `sunset-property.d.ts` so TypeScript callers can use the
warning helper.
BREAKING CHANGE: Popover no longer accepts `closeButtonAssistiveText` (use
`assistiveText={{ closeButton: '...' }}`) or `offset` (no replacement;
positioning is automatic).
`label` no longer sets the radio's label. It is destructured so it never
reaches the DOM, and the warning moves from the unwired `checkProps` into
`checkDeprecatedProps`, so it now fires.
BREAKING CHANGE: Radio no longer accepts `label`. Use
`labels={{ label: '...' }}` instead.
`iconName` no longer changes the default icon. It is destructured so it
never reaches the DOM and warns once in development; the component now runs
its `checkProps`. The WithIconName story passes an `Icon` instead (same
markup).
BREAKING CHANGE: ScopedNotification no longer accepts `iconName`. Pass an
Icon element instead:
`icon={<Icon category="utility" name="announcement" size="small" />}`.
…rops
`onChange(selection, event)` is no longer called, and no longer satisfies
the "`onRowChange` is required" check for selectable tables. The six table
`assistiveTextFor*` props and the three column ones
(`assistiveTextForColumnSort`, `assistiveTextForColumnSortedAscending`,
`assistiveTextForColumnSortedDescending`) no longer override
`assistiveText`. All of them warn once in development.
BREAKING CHANGE: SimpleDataTable no longer accepts `onChange`; use
`onRowChange(event, { selection })`. It no longer accepts
`assistiveTextForActionsHeader`, `assistiveTextForColumnSort`,
`assistiveTextForColumnSortedAscending`,
`assistiveTextForColumnSortedDescending`, `assistiveTextForSelectAllRows` or
`assistiveTextForSelectRow`, and SimpleDataTableColumn no longer accepts the
three column-sort ones; pass the matching key in the table's `assistiveText`
(for example `assistiveText={{ columnSort: '...' }}`).
Drop the `lodash.isfunction` import from the item; `onSelect` is typed as a function, so `onSelect?.()` is enough. The dependency stays: tree, simple-data-table, menu-dropdown and input-icon still use it. `displayName` is unchanged (the codebase overview requires it).
interactivellama
force-pushed
the
feat/v11-p1-2-removals
branch
from
November 10, 2026 20:29
8704384 to
eee84dd
Compare
…t header padding Root cause: 67c7731 dropped `slds-table_resizable-cols` from `fixedLayout` tables as vestigial, since column resizing is gone. SLDS still uses the class to set `thead th { padding: 0 }`; `.slds-th__action` supplies the header padding instead. Without it, header cells got SLDS's default `th` padding (`4px 8px`) on top of `.slds-th__action`'s, and the header row grew from 32px to 40px. Body cells were unaffected. Restore the class for `fixedLayout`, as on master. The narrowed `role="grid"` (only with `keyboardNavigation`) stays; roles affect focus styling, not layout. Adds a browser regression test that checks the header cell padding and height with SLDS CSS loaded.
12 of 15 tasks
8 of 15 tasks
interactivellama
added a commit
that referenced
this pull request
Nov 20, 2026
A right-aligned Filter logged "`offset` has reached End-of-Life and has been removed from the API of SLDSPopover" on every mount. Root cause: #3285 removed Popover's `offset` prop and made Popover report it on mount, but Filter still built its popover props with `offset: '0px -35px'` for `align="right"`, plus `silenceDeprecatedPropertyWarning`, which v11 Popover no longer reads. In 0.10.x the offset positioned the dialog and the flag silenced the warning, so this is a v11 regression. Popover ignores `offset` now, so dropping both changes no positioning.
interactivellama
added a commit
that referenced
this pull request
Nov 20, 2026
A right-aligned Filter logged "`offset` has reached End-of-Life and has been removed from the API of SLDSPopover" on every mount. Root cause: #3285 removed Popover's `offset` prop and made Popover report it on mount, but Filter still built its popover props with `offset: '0px -35px'` for `align="right"`, plus `silenceDeprecatedPropertyWarning`, which v11 Popover no longer reads. In 0.10.x the offset positioned the dialog and the flag silenced the warning, so this is a v11 regression. Popover ignores `offset` now, so dropping both changes no positioning.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the theme 2 "removals" items in the ROADMAP.md P1 prop API freeze review.
Stacked on #3284 (theme 1, behavior-fixes). The base is
feat/v11-p1-1-behavior-fixes, so this diff shows only theme 2. Retarget tomasterafter #3284 merges. Theme 3 (callbacks) stacks on this branch; see #3284 for the scope cut applied to themes 3–8, which leaves this PR's scope unchanged.Additional description
Removes props and components that were deprecated in 0.10.x and already warn. Each removed prop is dropped from the types. At runtime it is ignored, kept off the DOM, and logs a one-time development warning that names the replacement (
utilities/warning/sunset-property). This is the v11 major, and anything still deprecated at GA has to stay for all of 11.x.There is one commit per component.
tooltip<Tooltip trigger={<Button … />} content={…} />children,label,placeholder,assistiveTextOpenCalendarinput,labels.label,labels.placeholder,assistiveText.openCalendarassistiveTextassistiveText={{ label }}(matches #3248)SLDSIllustration,ILLUSTRATIONassistiveText.fieldLevelHelpButton, plus dead icon-prop checksassistiveText.triggerLearnMoreIconon thefieldLevelHelpTooltiptooltip,offset,isInlineTooltip; automatic positioning;menuPosition="relative"PanelFilterGroupassistiveTextCloseFilterPanelassistiveText.closeButtoncloseButtonAssistiveText,offsetassistiveText.closeButton; nonelabellabels.labeliconNameicononChange(selection, event), six table and three columnassistiveTextFor*propsonRowChange(event, { selection }), the matchingassistiveTextkeyslodash.isfunctioncall replaced with optional chaining (no API change)Decisions
sunset-propertynaming the replacement. Where a component'scheck-props.jsisn't wired, the warning runs from a named export (radio) or the existing dev-onlyuseEffect(popover), so unwired checks aren't switched on.is-deprecatedwithprototypestatus, already warned, andpathis an XSS vector.onChangeno longer satisfies theonRowChangerequirement.inputonSubmit/onKeyPress,slideronInput,textareaonSubmit.onRenderActions/onRenderControls, popoverfooterClassName.displayName, which is still used for debugging and no longer matched on.lodash.isfunctionstays a dependency because other components still use it.Breaking: every row above except page-header and vertical-navigation. CHANGELOG has a BREAKING entry with a migration line for each.
TinyNod (pre-push, advisory):
findings, 11 total, none fixed. It compared againstmaster, so the findings include theme 1's code. The 3 warnings are false positives:popover.tsx:419andpill/index.tsx:152are already guarded by anif, andillustration.test.jsxis a deleted file. The 8 info findings (bundle size, naming) are generic and not actionable.CONTRIBUTOR checklist (do not remove)
Please complete for every pull request.
Green gate — all of these must pass locally (CI runs the same):
npm run lintpasses with 0 errors (npm run lint:fixto auto-fix). Warnings are the tracked gradual-migration backlog; do not add new errors.npm run typecheckis clean (tsc --noEmit).npm test -- --runpasses — this runs both Vitest projects (jsdomunit+ real-browserbrowser) and the story HTML snapshots. If you changed rendered markup on purpose, update snapshots withnpm test -- --run -uand review the diff.npm run buildsucceeds (type-check + Vite library build +.d.ts+ entry shims).Behavior & docs:
components/button/__tests__). New props and bug fixes should get a regression test. Tests that genuinely need a real browser (focus traversal, layout/measurement, canvas) go in a*.browser.test.jsxfile (thebrowserproject); everything else is jsdom.npm run storybook→ http://localhost:6007/. Confirm the story actually renders and behaves (deprecated Storyshots/Karma are gone; there is no separate browser-tests server).content/visualPickerFigure, render props likerenderItem,iconprops,events), not assumptions — a common source of "component looks broken" reports has been stories authored against the wrong API. Cross-check againstcomponents/<name>/__examples__..d.ts(they're generated by the build); JS consumers rely on them via editor type-acquisition.REVIEWER checklist (do not remove)
CIworkflow: lint, typecheck, test, build). Chromatic visual review, if configured, has been checked.components/__tests__/__snapshots__/story-snapshots.test.jsx.snap).@salesforce/design-system-react/components/<name>and nested paths resolve for ESM, CJS, and types). Removing/renaming a public component or export is a breaking change →feat!:/BREAKING CHANGE:and a major version bump.