Skip to content

v2.0.0-alpha.0

Pre-release
Pre-release

Choose a tag to compare

@iOvergaard iOvergaard released this 03 Mar 13:38
· 117 commits to main since this release
v2.0.0-alpha.0
25ffb83

Installation instructions

Install the library:

npm install --save @umbraco-ui/uui@2.0.0-alpha.0

Run 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/**' ./src

See the v1-to-v2 migration document for more information.

What's Changed

🙌 Notable Changes

💥 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-handle component 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

📄 Documentation

  • docs: migrate component READMEs to v2 single-package imports by @iOvergaard in #1306

🏠 Internal

📦 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

Full Changelog: v1.17.0...v2.0.0-alpha.0