Repository navigation
feat: Modernize to React 19 + current toolchain (Vite 8, Vitest 4, ESLint 10, TypeScript 7) - #3195
Conversation
- Upgrade React to v19, replace Webpack/Karma with Vite/Vitest - Add TypeScript configuration and tooling - Convert components to TypeScript functional components: - Button, Badge, Spinner, Card, Alert - Checkbox, Textarea, Icon, IconSettings, UtilityIcon - Migrate Storybook to v8 with Vite builder - Convert stories to Component Story Format (CSF) - Add dark mode support with storybook-dark-mode addon - Update design-tokens to ES modules - Add type declarations for components still in JSX - Create MODERNIZATION_PLAN.md with roadmap
Storybook Upgrade (8.x -> 10.1.4): - Upgraded Storybook from 8.6.14 to 10.1.4 - Ran automigrations for consolidated imports and package updates - Removed incompatible storybook-dark-mode addon (will revisit) - Removed @storybook/blocks and @storybook/test (consolidated in v10) - Added type: module to package.json to fix Vite CJS warning New TypeScript Components: - BrandBand (CSF stories) - BuilderHeader (TypeScript + CSF stories) - Files (TypeScript + CSF stories) - GlobalNavigationBar (TypeScript + CSF stories) - Expression (TypeScript + CSF stories) - LocationMap (TypeScript + CSF stories) - AppLauncher (TypeScript + CSF stories) Type Definitions: - Updated Modal.d.ts with missing props - Added BuilderHeader utilities/nav-link type declarations - Added Expression group type declarations Total: 52 components migrated to TypeScript
- Installed @vueless/storybook-dark-mode (Storybook 10 compatible fork) - Configured dark mode with SLDS color scheme classes - Updated MODERNIZATION_PLAN.md
Carousel: - Converted from class to functional component with hooks - Added useState, useEffect, useRef, useCallback for state management - Created type declarations for private components - Added CSF Storybook stories Popover: - Converted from class to functional component with hooks - Removed react-onclickoutside HOC (Dialog handles click-outside) - Added comprehensive TypeScript types - Added CSF Storybook stories with all variants - Added future work note: migrate from Popper.js to @floating-ui/react Total: 54 components migrated to TypeScript
- Converted Tooltip from class to functional component - Added useState, useEffect, useRef, useCallback hooks - Converted FieldLevelHelpTooltip private component - Added comprehensive TypeScript types - Created CSF Storybook stories with all variants - Added check-props.d.ts type declaration Total: 55 components migrated to TypeScript
…ies to CSF format Components converted to TypeScript functional components: - ColorPicker (main + 7 private subcomponents) - TimePicker (main + dropdown-trigger) - DatePicker stories updated (removed moment.js dependency) Story files renamed to ComponentName.stories.jsx/tsx format: - Renamed 64+ story files from storybook-stories.jsx - Updated .storybook/main.ts with all new paths - Added proper 'Components/ComponentName' title format Other improvements: - Fixed check-props.js null checks for optional props - Updated useClickOutside hook - Added type definitions for various components - Updated MODERNIZATION_PLAN.md with progress
Major TypeScript conversions: - DataTable: Full conversion with typed props, contexts, and sub-components - Filter: Converted to functional component with hooks - MenuPicklist: Converted with proper TypeScript interfaces - Tree: Full conversion including branch/item rendering Additional improvements: - Added displayName to 40+ components for better debugging - Updated Stories to CSF format with proper TypeScript - Added shared types.ts files for each converted component - Registered new stories in Storybook main.ts This continues the React 19 + TypeScript modernization effort.
- Update README.md to reflect React 19, Vite, Vitest, Storybook 10 - Remove outdated React 16 references and Babel preset info - Add Node.js 20.19.0+ requirement - Move internal docs (SLDS2_ANALYSIS.md, MODERNIZATION_PLAN.md) to .planning/ - Add .planning/ to .gitignore (internal work product) - Add cursor rule for planning file conventions
Deleted (obsolete): - docs/browser-compatibility.md - IE11/polyfill references - docs/create-react-app.md - CRA 1.x deprecated - docs/create-react-app-2x.md - CRA 2.x deprecated - docs/webpack.md - Now using Vite - docs/getting-started.md - Duplicated README, template vars - docs/faq.md - Links to deleted files - docs/legacy-release-branches.md - Outdated process Moved to .planning/ (internal): - docs/release.md - Internal release process - RELEASENOTES.md - 2000+ lines of legacy history Updated: - CONTRIBUTING.md - Vitest, TypeScript, modern workflow - docs/codebase-overview.md - Functional components, hooks patterns - docs/README-dist.md - React 19, modern usage - docs/SUPPORT.md - Simplified Added: - CHANGELOG.md - Simplified changelog for modernization
Deleted (replaced by Vite): - webpack.config.js - webpack.config.test.js Deleted (Heroku deployment - not used): - app.js - app.json - Procfile Deleted (old CI/tooling): - .circleci/ - Used Node 12, old test commands - preset/ - Babel preset for IE11/Node 8 - .jest/ - Old Jest configuration - .snyk - Old vulnerability ignores Deleted (deprecated testing): - tests/enzyme-helpers.js - Enzyme replaced by React Testing Library
- Add highlights section featuring SLDS 2, dark mode, React 19, TypeScript - Add dark mode usage instructions in Styling section
- Create ROADMAP.md with reader-friendly status summary - Add callout banner to README linking to roadmap - Document what's ready, in progress, and known limitations
- Change stylesheet reference to bundled slds-plus.css - Add note that this is temporary until SLDS 2 is on npm - Add collapsible section for SLDS 1 fallback - Update install command (SLDS styles now bundled) - Add SLDS+ CSS to known limitations in ROADMAP.md
…st status Full 21-agent audit of the feat/typescript-modernization branch found the ROADMAP's completion claims (React 19 done, 63 TS-converted, Vitest replacing Karma) do not survive contact with the tree: 1 of 71 components genuinely migrated, no root tsconfig, 1 collectable test, ~47 Enzyme suites, broken publish pipeline. Adds the detailed audit + dependency-ordered roadmap and rewrites ROADMAP.md to reflect verified reality.
…ports - Add root tsconfig.json covering components/**, utilities/**, types/** with path aliases and strict mode; tsc --noEmit now actually type-checks the tree (was inert with no root config). Passes clean. - Fix Storybook startup crash: remove self-referential optimizeDeps.include ['design-system-react'] that forced Vite to resolve the unbuilt dist/. - Fix package exports map: order types first; emit real .cjs for CommonJS (was .umd.js under type:module → ERR_REQUIRE_ESM); add sideEffects:false. - Convert utilities/index.js to standard ESM re-exports (Babel-only 'export X from' syntax broke tsc parsing). - Fix radio/index.tsx type error (Swatch color: string | undefined). - Regenerate package-lock against public npm registry (was Nexus-bound).
- Replace react-onclickoutside HOC in lookup/index.jsx with the existing React-19-compatible useClickOutside hook (only real import of the lib; the ~25 other references are just the ignore-react-onclickoutside CSS class name and are unaffected). react-onclickoutside capped its peer at React 18 and was the sole cause of the ERESOLVE install failure. - Declare prop-types explicitly (was a phantom transitive dep via react-modal; imported directly in 129 files). - Remove dead deps with zero imports: create-react-class, react-required-if, react-text-truncate. Verified: npm install now succeeds with 0 ERESOLVE errors and no --legacy-peer-deps; tsc --noEmit passes; Storybook boots.
- vite-plugin-dts now emits declarations for the real published surface (components barrel + sidecar .d.ts/.tsx, utilities, types) instead of only the shared types/ folder; copyDtsFiles picks up hand-written .d.ts. The emitted dist/types/components/index.d.ts now matches components/index.js. - Point package types + exports.types at the emitted component barrel (was dist/types/index.d.ts, which re-exported a nonexistent path). - Add files field (dist + README/LICENSE/RELEASENOTES) so publish ships only build output — verified npm pack: 275 files, 0 source/test leaks. - Add prepack -> build so the Vite artifact is always fresh before publish. Verified: npm run build (tsc --noEmit && vite build) exits 0, emits .es.js + .cjs + full type tree; npm pack --dry-run ships a clean dist-only package.
- Add .github/workflows/ci.yml: on push/PR, Node 20.19, npm ci, then typecheck + test + build as blocking gates (all pass today). Lint runs non-blocking (continue-on-error) because the repo has ~379 pre-existing lint errors tracked as P4; flip to blocking once cleared. - Rewrite npm-publish.yml: Node 14 -> 20.19; drop the nonexistent build:npm-package script and .tmp-npm Babel artifact; run typecheck/test/build then > [email protected] prepack > npm run build > [email protected] build > tsc --noEmit && vite build vite v5.4.21 building for production... transforming... ✓ 393 modules transformed. rendering chunks... [vite:dts] Start generate declaration files... computing gzip size... dist/design-system-react.es.js 906.53 kB │ gzip: 222.50 kB │ map: 3,426.06 kB [vite:dts] Declaration files built in 1595ms. dist/design-system-react.cjs 542.24 kB │ gzip: 159.29 kB │ map: 3,315.37 kB ✓ built in 2.45s (prepack rebuilds dist, files field scopes the tarball). Add id-token permission for provenance. Verified locally: typecheck exits 0, vitest run exits 0 (1 file/8 tests — the true current suite), build exits 0.
…guide - Migrate spinner and alert test suites to Vitest + React Testing Library - Delete legacy .browser-test.jsx for both (they were never collected/ran) - Add enzyme-to-rtl-migration-guide.md as the canonical pattern for the remaining ~52 suites - Enhance vitest.setup.ts polyfills (IntersectionObserver, scrollIntoView, getBoundingClientRect) for overlay-based components
Fan-out migration of every legacy .browser-test.jsx to .test.jsx using
React Testing Library + Vitest, following enzyme-to-rtl-migration-guide.md.
Full suite: 660 passed | 46 skipped | 0 failed across 56 files (~3.3s).
typecheck clean. All 54 legacy .browser-test.jsx removed (they were never
collected by the vitest glob and imported a nonexistent tests/enzyme-helpers,
so they had not actually run).
The 46 skips are documented in migration-discovered-bugs.md and fall into:
- jsdom limitations (focus traps, real layout/scroll, canvas truncation)
- Enzyme instance/state access with no RTL equivalent (data-table keyboard nav)
- genuine pre-existing React 19 bugs surfaced by the migration:
* components/utilities/dialog/portal.jsx uses removed React APIs
(unstable_renderSubtreeIntoContainer, unmountComponentAtNode)
* lookup menu crashes on React 19 ref validation (15 skips)
* menu-dropdown keyboard nav TypeError (5 skips)
* data-table/visual-picker leak invalid props to React.Fragment
* react-highlighter-ts incompatible with React 19 (tree, data-table, app-launcher)
These are tracked for P2 (real TS + hooks conversion).
The Enzyme suites are fully migrated to Vitest+RTL, so the legacy runner and its generated artifacts are now dead weight and actively misleading: - karma.conf.js (references removed webpack.config + karma-* packages) - 54 *.storyshot DOM snapshots + 415 *.png image snapshots (storyshots/ jest-image-snapshot visual regression — tooling already removed) - 2 *.dom-snapshot-test.jsx + their .snap (imported the deleted tests/snapshot-helpers) - tests/ story-based + browser-test harness (story-based-tests.*, browser-tests*, storyshots-helpers, axe-*, snapshot-helpers, exclude-story-config, settings, url, index.html, __mocks__, __image_snapshots__) — all referenced removed deps (enzyme/chai/sinon/puppeteer/mocha/karma) and nothing live imported them - drop the now-empty tests/** glob from vitest.config.ts - rewrite tests/README.md for the Vitest + RTL workflow Full suite unchanged: 660 passed | 46 skipped | 0 failed (56 files). typecheck clean.
components/utilities/dialog/portal.jsx used unstable_renderSubtreeIntoContainer and unmountComponentAtNode, both removed in React 19 — a real runtime crash for any overlay rendered through the dialog overflowBoundaryElement path, not just a test-env issue. Rewritten as a function component over ReactDOM.createPortal: - useEffect creates/appends the portal container node on mount and removes it on unmount (React auto-unmounts the portal children) - id/className/style sync + onUpdate preserved via a second effect - onMount/onOpen/onUpdate/renderTag/renderTo semantics preserved; PortalSettings context renderTo precedence preserved - dropped the Enzyme-only portalMount internal branch (dead with Enzyme removed); the public portalMount prop pass-through is retained/ignored Re-enabled the 2 filter suite tests (previously skipped for this exact bug); they pass stably. Full suite: 662 passed | 44 skipped | 0 failed. typecheck clean.
components/lookup/private/item.jsx attached a string ref (ref={id}) to the menu
item anchor. String refs were removed in React 19, so opening the Lookup menu
threw 'Expected ref to be a function, an object returned by React.createRef(),
or undefined/null' and crashed the whole component.
The string ref was dead code: this.refs is never read anywhere in the lookup
tree, and the anchor already sets id={id} independently (that's what drives the
input's aria-activedescendant). Removed the ref line.
Re-enabled all 15 lookup tests that open the menu (keyboard focus, filtering,
selection, esc-to-close, aria-expanded). Lookup suite: 21/21 pass.
Full suite: 677 passed | 29 skipped | 0 failed. typecheck clean.
Three compounding React-19 causes broke keyboard navigation in menu-dropdown and (latently) menu-picklist: - menu-list attached a ref to the ListItem *class component*, so itemRefs got the instance instead of the <li> DOM node -> focusMenuItem's getElementsByTagName threw. Added a nodeRef callback prop to ListItem, wired it to all three <li> roots, and switched menu-list/index.jsx to nodeRef=. - keyboard-navigate.js used ReactDOM.findDOMNode (removed in React 19); replaced with a resolveTriggerNode helper (trigger is already a DOM node). - openMenuKeys omitted KEYS.DOWN, so Down-arrow-opens-menu never fired. Re-enabled 5 menu-dropdown + 3 menu-picklist skipped tests. Full suite: 685 passed, 21 skipped, 0 failed. tsc --noEmit clean.
Both components cloneElement()'d props onto a React.Fragment, which only accepts key/children — React warned and silently dropped the props, so the intended styling/props never applied (latent bugs, not warning-only). - data-table header-cell: getHeaderCellContent wrapped its single child in a Fragment on the fixedLayout path; callers injected `style` via cloneElement. Return the sub-render element directly instead. - visual-picker: React.Children.map cloned picker props onto Fragment-grouped children. Added a decorateOption helper that recurses into Fragment children and clones onto the real elements. 0 Fragment warnings in both suites. Full suite: 685 passed, 21 skipped, 0 failed. tsc --noEmit clean.
[email protected] declares react@^17 as a hard dependency (not a peer), so npm installed a nested React 17 under it. Its react/jsx-runtime produced React-17 elements that React 19 rejects with 'A React Element from an older version of React was rendered', crashing every highlight render path (tree searchTerm, data-table HighlightCell). - Added a package.json `overrides` block pinning react/react-dom to ^19.2.0, so no nested copy is installed (verified: react-highlighter-ts no longer has its own node_modules; lockfile regenerated). - Added resolve.dedupe ['react','react-dom'] to vite + vitest configs as a belt-and-suspenders single-instance guarantee. Re-enabled the tree highlight test and the data-table HighlightCell test. Full suite: 687 passed, 19 skipped, 0 failed. tsc --noEmit clean.
…+ right actions
The Interactive story only rendered a bare `<p>` per expanded step, missing the
component's actual layout. Replace it with an `ExpandableSteps` story that
mirrors the documented reference (design-system-react-site
.../components/setup-assistant/):
- `progress` + `estimatedTime` on each step → large progress-ring/check icon on
the left and the "N mins" estimate on the right of the summary.
- `onRenderContent` → a vertical `ProgressIndicator variant="setup-assistant"`
whose sub-steps carry `onRenderSetupAssistantAction`, rendering the interactive
controls on the right: a working toggle, a "View in Trailhead" link, and an
"Add Users" button, plus a ScopedNotification ("View Duplicates").
All the machinery already existed in the converted TS components (step
`progress`/`estimatedTime`, ProgressIndicator `setup-assistant` variant +
`onRenderSetupAssistantAction`); the story just wasn't using it.
Verified in a real browser: 3 steps with left progress icons, right-aligned
estimates, and the toggle/link/button/notification actions all render.
Snapshot updated; typecheck, 1152 tests, lint (0 errors) green.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
UX Foundations design stakeholders via Slack have approved full removal of the following components cc: @cliffseal |
BREAKING CHANGE: deletes the long-standing relocation shims that only logged a `componentHasMoved` deprecation warning and re-exported the real component. Removed (use the canonical path instead): - components/bread-crumb -> components/breadcrumb - components/navigation -> components/vertical-navigation - components/popover-tooltip -> components/tooltip - components/forms/textarea -> components/textarea - components/forms/radio -> components/radio - components/forms/input/index -> components/input (moved shim) - components/forms/input/search -> components/input/search (alias) Kept (NOT shims): `components/forms/input/inline` (the real InlineEdit component, still exported from the barrel) with its tests/docs, `components/forms/checkbox` (a behavioral back-compat alias applying oldEventParameterOrder — not a relocation), and `components/forms/private/label`. Also repointed the two consumers of deleted alias paths to the canonical modules: `tree/__examples__/default.jsx` (Search) and `forms/input/__tests__/inline.test.jsx` (Input). The barrel already exported the canonical components, so no index.js/index.d.ts changes were needed. Verified: deleted paths absent from dist, canonical + InlineEdit still resolve; typecheck, 1152 tests, lint (0 errors), and library build all green. Co-Authored-By: Claude Opus 4.8 <[email protected]>
…rning
The TS rewrite commented out `import checkProps from './check-props'` and dropped
the call, so Illustration silently lost its dev-mode deprecation warning — the
one that tells consumers the component is deprecated (imported SVGs bypass SLDS
styles via shadow DOM) and, critically, that using `path` with user-provided
SVGs is an XSS vector. The orphaned check-props.js was still in the tree.
Re-wire `checkProps(ILLUSTRATION, {...props})` at the top of the component so the
`componentIsDeprecated` warning fires again in development. The existing runtime
`sanitizePath` guard stays as defense-in-depth; this restores the explicit
"stop using this / don't pass untrusted paths" guidance.
Verified: the warning fires on render (test asserts deprecation/XSS text);
typecheck, illustration suite (17), and full suite (1152) green.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
…lNavigationBar, LocationMap
BREAKING CHANGE: removes six components (and all their subcomponents/exports)
that are not supported patterns in SLDS 2. UX Foundations design stakeholders
approved removal; Design System React is an SLDS-2-only library as of this
update.
Removed component trees:
- brand-band (BrandBand)
- app-launcher (AppLauncher + ExpandableSection/Link/Tile)
- expression (Expression + Condition/Formula/Group)
- global-header (GlobalHeader + Button/Dropdown/Favorites/Help/
Notifications/Profile/Search/Setup/Task)
- global-navigation-bar (GlobalNavigationBar + Button/Dropdown/Label/Link/Region)
- location-map (LocationMap)
- Stripped ~50 barrel exports each from components/index.js and index.d.ts
(including the stale `GlobalHeaderButton`/`SLDSGlobalHeaderButton` aliases that
re-pointed at ./button).
- Removed the 6 Storybook story registrations and the 6 site-stories.js example
blocks; refreshed the docgen `setDisplayName` comment to cite a surviving
component (SetupAssistant) instead of the removed GlobalNavigationBar.
No keeper component imported any of the six (verified). Regenerated story
snapshots (17 pruned). typecheck clean, 988 tests pass, lint 0 errors, library
build (six absent from dist, keepers intact) + Storybook build succeed.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Replace the hand-maintained 48-entry `stories` list with a single glob (`../components/**/__docs__/**/*.stories.@(jsx|tsx)`). New component stories now appear automatically instead of needing a manual registration, and the list can't drift out of sync with the tree. Side effect (intended): this also surfaces 10 valid CSF stories that existed on disk but were never registered (Icon, IconSettings, Illustration, MediaObject, PortalSettings, RadioButtonGroup, TrialBar, WelcomeMat, InlineInput, SearchInput) — 57 story files total now. Verified: storybook production build and dev smoke test both succeed. Co-Authored-By: Claude Opus 4.8 <[email protected]>
The modal and data-table browser tests drove real-browser interactions (`.focus()`, `userEvent.keyboard`) that trigger React state updates outside act()'s tracking — react-modal's focus scope/trap and DataTable's activeCell/mode + column-resizer — so React logged "not wrapped in act(...)" for every keystroke. Tests passed, but the output was noisy. Wrap the focus/keyboard interactions in `act(async () => …)` so the updates flush inside act. No behavioral change; browser project still 5/5 green with zero act warnings. (The app-launcher browser test cited in the original report was already removed with the app-launcher component.) Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Congrats on merging your first pull request to Design System React! 🎉 |
#3211) (#3213) * fix(combobox): restore selected-pill focus and multi-selection semantics (#3211) The rewrite (#3195) dropped the tabIndex/aria-selected passthrough on the Pill root element, so selected pills in a multi-select Combobox were no longer focusable and roving-tabindex / arrow-key navigation broke. - pill: forward `tabIndex` and `aria-selected` to the root span so option pills participate in the listbox roving tabindex. - selected-listbox: add `multiselectable` prop and set `aria-multiselectable` on the owning listbox so a list with multiple aria-selected pills exposes consistent selection semantics to assistive tech. - combobox: pass `multiselectable={multiple}` to all SelectedListBox usages. - stories: make Base / BaseWithMenuSubheader multi-select so the pill navigation behavior is demonstrable in Storybook/Chromatic. - tests: regression coverage for pill attribute passthrough and combobox multi-selection ARIA + roving tabindex. * fix(pill-container): mark listbox aria-multiselectable; update story snapshots (#3211) Restoring aria-selected on option pills (previous commit) means the pill container now renders multiple aria-selected pills inside a role="listbox". A pill container is always a collection of selected options, so mark its owning listbox aria-multiselectable for consistent selection semantics — mirroring the Combobox fix. Also regenerates the story HTML snapshots, which now reflect the restored tabIndex/aria-selected passthrough and the aria-multiselectable listboxes (CI verify was failing on stale snapshots). * fix(combobox): clamp selected-pill roving tabindex when selection shrinks (#3211) The selection-change effect only re-seeded the active selected option when it was unset, so a controlled parent removing a pill through any path other than the built-in remove handler could leave activeSelectedOptionIndex pointing past the end of `selection`. With the restored roving tabindex, that left no pill with tabindex=0, making the selected-pill listbox unreachable by keyboard (WCAG 2.1.1 / 2.4.3). Clamp the active index into range, mirroring the same guard PillContainer already has. Adds a regression test that shrinks a controlled selection while the last pill is active and asserts exactly one pill remains tabbable. --------- Co-authored-by: showerbee <[email protected]>
* docs(combobox): restore Storybook coverage lost in TS rewrite (#3213) The React 19/TS rewrite (#3195) replaced storybook-stories.jsx with Combobox.stories.tsx but dropped coverage for several already-supported props/variants: field-level help tooltip, menu separators, inherited menu width, scrollable menu, custom input, search/add-entity items, controlled open state, async loading, popover (dialog) variant, per-option disabled tooltips, and readonly-variant disabled options/deselect/custom item rendering. No component code changes are needed — this only restores Storybook documentation parity per the gap flagged in review. * fix(combobox): wire up onRequestRemoveSelectedOption in stories missing it Several stories rendered a removable selection pill but never handled its remove event, so clicking the pill's X did nothing. Pre-existing on master, not introduced by the new stories added in this PR. * test(combobox): add HTML snapshots for new Storybook stories The story-snapshot suite auto-discovers every story via composeStories, so the 14 stories added in this PR need their own committed snapshots. No existing snapshots changed. --------- Co-authored-by: showerbee <[email protected]>

Summary
Modernizes
@salesforce/design-system-reactto React 19 with a current toolchain (Vite 8, Vitest 4, ESLint 10 flat config, TypeScript 7, Storybook 10, Node 24), migrates the test suite from Enzyme/Mocha to Vitest + React Testing Library, incrementally converts components to TypeScript, and removes deprecated dependencies. Along the way it fixes the React-19 removed-API breakages and a number of component/Storybook bugs surfaced by the upgrades.End state: 697 tests passing, typecheck clean, lint 0 errors, library build + Storybook (dev & production) build successfully, and no deprecated direct dependencies remain.
Highlights
React 19
Portalrewritten oncreatePortal; removedfindDOMNode/unstable_renderSubtreeIntoContainer/ReactDOM.renderusages; fixed a dead string ref (lookup menu), Fragment-invalid-prop leaks, and keyboard nav in menu-dropdown/menu-picklist.Reactimports (jsx-runtime).Toolchain
@vitejs/plugin-react4 -> 6,vite-plugin-dts3 -> 5, Vitest 1 -> 4 (+coverage), jsdom 24 -> 30, jest-dom 6 -> 7.typescript-eslint7 -> 8; moved to the eslint-10-compatibleeslint-plugin-jsx-a11y-x/eslint-plugin-import-xforks (re-keyed to legacy namespaces so inline disables keep working).@typescript/native(=typescript@7) drivestscwhiletypescriptresolves to@typescript/typescript6for API consumers (typescript-eslint, vite-plugin-dts, editor).@types/node-> 24, Node engine floor -> 24, Storybook 10.5.10.Testing
TypeScript conversion
.jsxto.tsx, removing dozens of stale ambient.d.tssidecars that shadowed real sources.Deprecated dependency removal
popper.js(v1) ->@floating-ui/dom(adapter preserves the dialog helpers' expected data shape).lodash.isequal->dequal.Storybook / component fixes
ColumnResizer is not a constructor).setDisplayName: falsesoreact-docgen-typescriptstops clobbering staticdisplayName(was breaking GlobalNavigationBar's child filtering, rendering an empty bar); GlobalNavigationBar stories rewritten to use real subcomponents.eventsto{}soExpressionConditionrenders without it.via.placeholder.comURLs with bundled SLDS assets.medium(was oversizedlarge) to match the notify pattern.CI
Deferred (documented)
Test plan
npm run typecheck- clean (TS 7)npm test- 697 passingnpm run lint- 0 errorsnpm run buildandnpm run build-storybook- succeedCONTRIBUTOR checklist (do not remove)
Please complete for every pull request
npm run lint:fixhas been run and linting passes.components/component-docs.jsonCI tests pass (npm test).REVIEWER checklist (do not remove)
components/component-docs.jsontests.Required only if there are markup / UX changes
last-slds-markup-reviewinpackage.jsonand push.last-accessibility-review, topackage.jsonand push.npm run local-updatewithin locally cloned site repo to confirm the site will function correctly at the next release.