v2.0.0-alpha.0
Pre-release
Pre-release
·
117 commits
to main
since this release
Installation instructions
Install the library:
npm install --save @umbraco-ui/uui@2.0.0-alpha.0Run the codemod:
curl -sLO https://raw.githubusercontent.com/umbraco/Umbraco.UI/main/scripts/codemods/v2.0.0/update-imports.ts
npx jscodeshift -t update-imports.ts --parser tsx --extensions=ts,tsx,js,jsx --ignore-pattern='**/node_modules/**' ./srcSee the v1-to-v2 migration document for more information.
What's Changed
🙌 Notable Changes
- feat: Update general styling attributes for UI Library 2.0 by @nielslyngsoe in #1237
- fix(uui-base): deprecates any class without
UUI-prefix by @iOvergaard in #1272 - Lit: Updates minimum required version to 3.0.0 by @iOvergaard in #1271
- Spike: single-package architecture (AB#65021) by @iOvergaard in #1286
💥 Breaking Changes
- fix(base,icon-registry): replace unsafe Function type with explicit signatures by @iOvergaard in #1273
- feat(base)!: remove deprecated class aliases and update eslint to v10 by @iOvergaard in #1278
- feat(base)!: remove deprecated non-UUI-prefixed class aliases by @iOvergaard in #1276
- feat(popover)!: remove deprecated uui-popover component by @iOvergaard in #1280
- feat(caret)!: remove deprecated uui-caret component by @iOvergaard in #1279
- feat(base)!: remove element-internals-polyfill by @iOvergaard in #1281
- feat!: replace --uui-show-focus-outline JS with :focus-visible CSS by @iOvergaard in #1284
- feat!: adopt registration files, drop uui- filename prefix by @iOvergaard in #1294
- refactor: replace demandCustomElement with side-effect imports by @iOvergaard in #1305
- Form Control: V2 based on Backoffice version by @nielslyngsoe in #1287
- refactor(color): extract shared color utilities by @iOvergaard in #1325
- feat(color)!: replace colord with culori by @iOvergaard in #1327
🚀 New Features
- fix(button): remove requestSubmit fallback by @iOvergaard in #1283
- feat: add jscodeshift codemod for v1→v2 import migration (AB#65024) by @iOvergaard in #1298
- feat(base): add runtime multi-version detection by @iOvergaard in #1301
- feat: add runtime version detection and duplicate-load warnings by @iOvergaard in #1302
- Feature:
uui-symbol-drag-handlecomponent by @bjarnef in #1118 - fix(select): replace global Option interface with exported UUISelectOption by @iOvergaard in #1310
- fix: add sideEffects field for proper tree-shaking by @iOvergaard in #1308
- fix(themes): extract shared foundations into base.css by @iOvergaard in #1311
- fix(a11y): Add aria-hidden attribute to svg icon when creating a new element by @rickdoesburg in #1326
🐛 Bug Fixes
- fix: Color swatch contrast by @bjarnef in #1207
- fix(timer): adjust remaining proportionally when duration changes by @iOvergaard in #1324
📄 Documentation
- docs: migrate component READMEs to v2 single-package imports by @iOvergaard in #1306
🏠 Internal
- build(deps-dev): update @testing-library/dom to v10 by @iOvergaard in #1274
- build(deps-dev): update build tool dependencies to latest major versions by @iOvergaard in #1275
- fix(base): remove @ts-ignore for Popover API by @iOvergaard in #1282
- fix(test): replace property-based Chai assertions with function calls by @iOvergaard in #1295
- fix: add .js extensions to relative imports + ESLint enforcement by @iOvergaard in #1297
- Refactor: mark query and handler properties as readonly by @iOvergaard in #1307
- test: spike Vitest browser mode as WTR replacement by @iOvergaard in #1299
- fix: resolve 7 SonarCloud issues on main branch by @iOvergaard in #1318
- fix: add readonly to never-reassigned class members (S2933) by @iOvergaard in #1320
- fix: resolve 6 test TODOs across 5 components by @iOvergaard in #1321
- fix: resolve S7764, S7735, and S3358 SonarCloud issues across 19 files by @iOvergaard in #1322
- fix: resolve remaining S7735 issues and fix file-preview/toast-container bugs by @iOvergaard in #1323
📦 Dependencies
- build(deps-dev): bump esbuild from 0.25.10 to 0.27.2 by @dependabot[bot] in #1268
- build(deps): bump the npm_and_yarn group across 1 directory with 3 updates by @dependabot[bot] in #1266
- build(deps-dev): bump chromatic from 15.1.0 to 15.1.1 by @dependabot[bot] in #1290
- build(deps-dev): bump eslint-plugin-storybook from 10.2.8 to 10.2.10 by @dependabot[bot] in #1289
- build(deps-dev): bump @lerna-lite/cli from 4.11.0 to 4.11.3 by @dependabot[bot] in #1291
- build(deps-dev): bump basic-ftp from 5.0.5 to 5.2.0 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #1296
- build(deps): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in #1303
- fix(color-picker): externalize colord dependency by @iOvergaard in #1309
- build(deps-dev): bump github-markdown-css from 5.8.1 to 5.9.0 by @dependabot[bot] in #1313
- build(deps-dev): bump typescript-eslint from 8.55.0 to 8.56.1 by @dependabot[bot] in #1315
- build(deps-dev): bump globals from 17.3.0 to 17.4.0 by @dependabot[bot] in #1314
New Contributors
- @rickdoesburg made their first contribution in #1326
Full Changelog: v1.17.0...v2.0.0-alpha.0