Releases: umbraco/Umbraco.UI
v1.17.2
What's Changed
🐛 Bug Fixes
- fix(uui-file-dropzone): fix multi-folder drop losing all but first folder by @iOvergaard in #1339
Full Changelog: v1.17.1...v1.17.2
v1.17.1
What's Changed
🙌 Notable Changes
- fix(uui-base): deprecates any class without
UUI-prefix by @iOvergaard in #1272
🚀 New Features
- feat(base): add runtime multi-version detection by @iOvergaard in #1301
🐛 Bug Fixes
- fix(checkbox): suppress label warning when aria-label or aria-labelledby is set by @iOvergaard in #1333
📦 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
Full Changelog: v1.17.0...v1.17.1
v2.0.0-alpha.1
Installation instructions
Install the library:
npm install --save @umbraco-ui/uui@2.0.0-alpha.1Run 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(theme): add high-contrast theme by @iOvergaard in #1328
🐛 Bug Fixes
- fix(theme): include uui-font and uui-text classes in base theme by @iOvergaard in #1329
Full Changelog: v2.0.0-alpha.0...v2.0.0-alpha.1
v2.0.0-alpha.0
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
v1.17.0
What's Changed
🚀 New Features
- Table-row: add border-radius by @nielslyngsoe in #1214
- uui-loader-bar: Make loader-bar on uui-menu-item fade in by @NguyenThuyLan in #1219
- Action Slot for cards: user card, media card, content node, block type by @NguyenThuyLan in #1220
- Responsive container: Create uui-responsive-container component. by @engijlr in #1245
- Breadcrumbs: Add responsive collapsing behavior using uui-responsive-container by @engijlr in #1250
- Input: Improve input and lock input by @nielslyngsoe in #1253
- Add file rejection events and reduce cognitive complexity by @Copilot in #1258
🐛 Bug Fixes
- Menu item: enforce icon color when selected by @nielslyngsoe in #1222
- uui-textarea, uui-input: new max length message validation (closes Umbraco-CMS/issues/20710) by @NguyenThuyLan in #1227
- Lock-input: update readonly when locked changes by @nielslyngsoe in #1223
- fix: Hide value label for opacity slider as well in color picker by @bjarnef in #1212
- make actions-container follow color of button-label by @nielslyngsoe in #1224
- Handle long links in
uui-ref-nodeby @bjarnef in #1202 - Input: make autoWidth become smaller than browser default width by @nielslyngsoe in #1255
- input: add text overflow by @nielslyngsoe in #1256
- Fix radiobutton keyboard accessibility by @Copilot in #1263
- Fix uui-textarea auto-height not recalculating on programmatic value changes by @Copilot in #1262
- Fix initials in avatar when name contains parentheses or emojis by @Copilot in #1259
- Fix keyboard selection in async combobox and add initial story data by @Copilot in #1261
📄 Documentation
- Adds
Focusstory for eachuui-ref-nodetype by @Welander1994 in #1217 - chore: add context7 configuration for Umbraco.UI by @hifi-phil in #1240
- Indeterminate checkbox in advanced table example by @bjarnef in #1239
- Make checkbox labels in table example configurable via properties by @Copilot in #1260
🏠 Internal
- Add test coverage for text-overflow ellipsis in uui-input by @Copilot in #1257
📦 Dependencies
- build(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #1201
- build(deps): bump actions/setup-node from 5 to 6 by @dependabot[bot] in #1206
- build(deps-dev): bump @rollup/plugin-node-resolve from 16.0.2 to 16.0.3 by @dependabot[bot] in #1205
- build(deps-dev): bump @web/test-runner from 0.19.0 to 0.20.2 by @dependabot[bot] in #1204
- build(deps-dev): bump npm-check-updates from 18.0.1 to 19.0.0 by @dependabot[bot] in #1203
- build(deps-dev): bump playwright from 1.48.0 to 1.56.1 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #1213
- build(deps-dev): bump npm-check-updates from 19.0.0 to 19.1.1 by @dependabot[bot] in #1209
- build(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in #1226
- build(deps-dev): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #1236
- build(deps-dev): bump @babel/core from 7.28.4 to 7.28.5 by @dependabot[bot] in #1232
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #1229
- build(deps): bump actions/cache from 4 to 5 by @dependabot[bot] in #1241
- build(deps-dev): bump rollup from 4.52.4 to 4.53.3 by @dependabot[bot] in #1238
- build(deps-dev): bump @types/chai from 5.2.2 to 5.2.3 by @dependabot[bot] in #1231
- build(deps-dev): bump @eslint/compat from 1.4.0 to 2.0.0 by @dependabot[bot] in #1230
🌈 A11Y
- Improved contrast of
--uui-palette-maroon-flushcolor variable by @MrHutmat in #1211 - Align focus ring color across components by @Welander1994 in #1218
New Contributors
- @hifi-phil made their first contribution in #1240
Full Changelog: v1.16.0...v1.17.0
v1.17.0-rc.5
What's Changed
🚀 New Features
- Table-row: add border-radius by @nielslyngsoe in #1214
- uui-loader-bar: Make loader-bar on uui-menu-item fade in by @NguyenThuyLan in #1219
- Action Slot for cards: user card, media card, content node, block type by @NguyenThuyLan in #1220
- Responsive container: Create uui-responsive-container component. by @engijlr in #1245
- Breadcrumbs: Add responsive collapsing behavior using uui-responsive-container by @engijlr in #1250
- Input: Improve input and lock input by @nielslyngsoe in #1253
- Add file rejection events and reduce cognitive complexity by @Copilot in #1258
🐛 Bug Fixes
- Menu item: enforce icon color when selected by @nielslyngsoe in #1222
- uui-textarea, uui-input: new max length message validation (closes Umbraco-CMS/issues/20710) by @NguyenThuyLan in #1227
- Lock-input: update readonly when locked changes by @nielslyngsoe in #1223
- fix: Hide value label for opacity slider as well in color picker by @bjarnef in #1212
- make actions-container follow color of button-label by @nielslyngsoe in #1224
- Handle long links in
uui-ref-nodeby @bjarnef in #1202 - Input: make autoWidth become smaller than browser default width by @nielslyngsoe in #1255
- input: add text overflow by @nielslyngsoe in #1256
- Fix radiobutton keyboard accessibility by @Copilot in #1263
- Fix uui-textarea auto-height not recalculating on programmatic value changes by @Copilot in #1262
- Fix initials in avatar when name contains parentheses or emojis by @Copilot in #1259
- Fix keyboard selection in async combobox and add initial story data by @Copilot in #1261
📄 Documentation
- Adds
Focusstory for eachuui-ref-nodetype by @Welander1994 in #1217 - chore: add context7 configuration for Umbraco.UI by @hifi-phil in #1240
- Indeterminate checkbox in advanced table example by @bjarnef in #1239
- Make checkbox labels in table example configurable via properties by @Copilot in #1260
🏠 Internal
- Add test coverage for text-overflow ellipsis in uui-input by @Copilot in #1257
📦 Dependencies
- build(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #1201
- build(deps): bump actions/setup-node from 5 to 6 by @dependabot[bot] in #1206
- build(deps-dev): bump @rollup/plugin-node-resolve from 16.0.2 to 16.0.3 by @dependabot[bot] in #1205
- build(deps-dev): bump @web/test-runner from 0.19.0 to 0.20.2 by @dependabot[bot] in #1204
- build(deps-dev): bump npm-check-updates from 18.0.1 to 19.0.0 by @dependabot[bot] in #1203
- build(deps-dev): bump playwright from 1.48.0 to 1.56.1 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #1213
- build(deps-dev): bump npm-check-updates from 19.0.0 to 19.1.1 by @dependabot[bot] in #1209
- build(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in #1226
- build(deps-dev): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #1236
- build(deps-dev): bump @babel/core from 7.28.4 to 7.28.5 by @dependabot[bot] in #1232
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #1229
- build(deps): bump actions/cache from 4 to 5 by @dependabot[bot] in #1241
- build(deps-dev): bump rollup from 4.52.4 to 4.53.3 by @dependabot[bot] in #1238
- build(deps-dev): bump @types/chai from 5.2.2 to 5.2.3 by @dependabot[bot] in #1231
- build(deps-dev): bump @eslint/compat from 1.4.0 to 2.0.0 by @dependabot[bot] in #1230
🌈 A11Y
- Improved contrast of
--uui-palette-maroon-flushcolor variable by @MrHutmat in #1211 - Align focus ring color across components by @Welander1994 in #1218
New Contributors
- @hifi-phil made their first contribution in #1240
Full Changelog: v1.16.0...v1.17.0-rc.5
v1.16.0
Provenance ✅
We are now publishing packages to NPM with the provenance flag turned on, providing attestations that the packages found on NPM originated from this repository and were built using our build pipeline.
What's Changed
🚀 New Features
- feat(uui-button): Focus state color can be controlled by @Abdjulaziz in #1183
- Menu-Item: Remove z-index stacking by @engijlr in #1192
- uui-menu-item: custom expand symbol render method by @nielslyngsoe in #1198
🐛 Bug Fixes
- fix(uui-ref): the items slot takes up space even though it has no content by @NguyenThuyLan in #1175
- Item-Ref: Less daunting error visuals by @nielslyngsoe in #1187
- Adjust indent to compensate border by @bjarnef in #1185
- Fix popover scroll parent detection in nested shadow DOM containers by @Copilot in #1178
📦 Dependencies
- build(deps): bump actions/github-script from 7 to 8 by @dependabot[bot] in #1177
- build(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #1176
- build(deps): bump the npm_and_yarn group with 2 updates by @dependabot[bot] in #1174
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #1173
- build(deps-dev): bump @web/test-runner-playwright from 0.11.0 to 0.11.1 by @dependabot[bot] in #1169
- build(deps-dev): bump @types/mocha from 10.0.7 to 10.0.10 by @dependabot[bot] in #1168
- build(deps-dev): bump postcss from 8.5.4 to 8.5.6 by @dependabot[bot] in #1167
- build(deps-dev): bump vite from 6.3.5 to 7.1.9 by @dependabot[bot] in #1195
- build(deps-dev): bump typescript from 5.8.2 to 5.9.3 by @dependabot[bot] in #1193
🌈 A11Y
- uui button: ability to set title for button or A-tag by @nielslyngsoe in #1199
- feat(uui-combobox): Add open functionality with space bar by @engijlr in #1170
New Contributors
- @Abdjulaziz made their first contribution in #1183
- @Copilot made their first contribution in #1178
- @engijlr made their first contribution in #1192
Full Changelog: v1.15.0...v1.16.0
v1.16.0-rc.0
What's Changed
🚀 New Features
- feat(uui-button): Focus state color can be controlled by @Abdjulaziz in #1183
- Menu-Item: Remove z-index stacking by @engijlr in #1192
- uui-menu-item: custom expand symbol render method by @nielslyngsoe in #1198
🐛 Bug Fixes
- fix(uui-ref): the items slot takes up space even though it has no content by @NguyenThuyLan in #1175
- Item-Ref: Less daunting error visuals by @nielslyngsoe in #1187
- Adjust indent to compensate border by @bjarnef in #1185
- Fix popover scroll parent detection in nested shadow DOM containers by @Copilot in #1178
📦 Dependencies
- build(deps): bump actions/github-script from 7 to 8 by @dependabot[bot] in #1177
- build(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #1176
- build(deps): bump the npm_and_yarn group with 2 updates by @dependabot[bot] in #1174
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #1173
- build(deps-dev): bump @web/test-runner-playwright from 0.11.0 to 0.11.1 by @dependabot[bot] in #1169
- build(deps-dev): bump @types/mocha from 10.0.7 to 10.0.10 by @dependabot[bot] in #1168
- build(deps-dev): bump postcss from 8.5.4 to 8.5.6 by @dependabot[bot] in #1167
- build(deps-dev): bump vite from 6.3.5 to 7.1.9 by @dependabot[bot] in #1195
- build(deps-dev): bump typescript from 5.8.2 to 5.9.3 by @dependabot[bot] in #1193
🌈 A11Y
- uui button: ability to set title for button or A-tag by @nielslyngsoe in #1199
- feat(uui-combobox): Add open functionality with space bar by @engijlr in #1170
New Contributors
- @Abdjulaziz made their first contribution in #1183
- @Copilot made their first contribution in #1178
- @engijlr made their first contribution in #1192
Full Changelog: v1.15.0...v1.16.0-rc.0
v1.15.0
What's Changed
🚀 New Features
- feat(uui-card): Adds checkbox for selection by @leekelleher in #1138
- Adjust color slider with min and max by @bjarnef in #1159
- feat(uui-color-slider): adds
hideValueLabeloption by @leekelleher in #1150
🐛 Bug Fixes
- fix(uui-color-slider): sets
max = 360forhuetype by @leekelleher in #1149 - fix(uui-combobox): Remove bottom gap by @leekelleher in #1164
- fix(uui-color-picker): sets preview color of empty value to transparent by @leekelleher in #1151
🏠 Internal
- Update ES Version from ES2020 to ES2022 by @madsrasmussen in #1142
📦 Dependencies
- build(deps-dev): bump rollup from 4.40.0 to 4.46.2 by @dependabot[bot] in #1163
- build(deps-dev): bump glob from 10.4.3 to 11.0.3 by @dependabot[bot] in #1144
- build(deps-dev): bump storybook from 9.0.13 to 9.1.1 by @iOvergaard in #1165
New Contributors
- @wpplumber made their first contribution in #1155
Full Changelog: v1.14.2...v1.15.0
v1.15.0-rc.0
What's Changed
🚀 New Features
- feat(uui-card): Adds checkbox for selection by @leekelleher in #1138
- Adjust color slider with min and max by @bjarnef in #1159
- feat(uui-color-slider): adds
hideValueLabeloption by @leekelleher in #1150
🐛 Bug Fixes
- fix(uui-color-slider): sets
max = 360forhuetype by @leekelleher in #1149 - fix(uui-combobox): Remove bottom gap by @leekelleher in #1164
- fix(uui-color-picker): sets preview color of empty value to transparent by @leekelleher in #1151
🏠 Internal
- Update ES Version from ES2020 to ES2022 by @madsrasmussen in #1142
📦 Dependencies
- build(deps-dev): bump rollup from 4.40.0 to 4.46.2 by @dependabot[bot] in #1163
- build(deps-dev): bump glob from 10.4.3 to 11.0.3 by @dependabot[bot] in #1144
- build(deps-dev): bump storybook from 9.0.13 to 9.1.1 by @iOvergaard in #1165
New Contributors
- @wpplumber made their first contribution in #1155
Full Changelog: v1.14.2...v1.15.0-rc.0