diff --git a/components/filter/filter.js b/components/filter/filter.js index 238942cc668..03a03586232 100644 --- a/components/filter/filter.js +++ b/components/filter/filter.js @@ -180,7 +180,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) { display: -webkit-box; hyphens: auto; -webkit-line-clamp: 2; - word-break: break-word; + overflow-wrap: anywhere; } d2l-list-item[selection-disabled] .d2l-filter-dimension-set-value, diff --git a/components/focus-trap/focus-trap.js b/components/focus-trap/focus-trap.js index f1eb3852429..67468fe2468 100644 --- a/components/focus-trap/focus-trap.js +++ b/components/focus-trap/focus-trap.js @@ -29,7 +29,7 @@ class FocusTrap extends FocusMixin(LitElement) { display: inline-block; } :host([hidden]) { - display: hidden; + display: none; } `; } diff --git a/components/form/demo/form-panel-demo.js b/components/form/demo/form-panel-demo.js index 9b3c8eca56b..4bcd3e0c320 100644 --- a/components/form/demo/form-panel-demo.js +++ b/components/form/demo/form-panel-demo.js @@ -32,28 +32,9 @@ class FormPanelDemo extends LitElement { display: none; } - .d2l-form-panel-demo-panel { - background-color: white; - border-radius: 8px; - padding: 20px; - } - .d2l-form-panel-demo-container { margin-bottom: 10px; } - - .d2l-form-panel-demo-header { - align-items: top; - cursor: pointer; - display: flex; - justify-content: space-between; - } - - .d2l-form-panel-demo-text { - align-items: center; - display: flex; - margin: 0; - } `]; } diff --git a/components/form/form-errory-summary.js b/components/form/form-errory-summary.js index dd8fb8bcc2a..ac76d2daf67 100644 --- a/components/form/form-errory-summary.js +++ b/components/form/form-errory-summary.js @@ -26,7 +26,6 @@ class FormErrorSummary extends LocalizeCoreElement(RtlMixin(LitElement)) { } .d2l-form-error-summary-header { - align-items: top; cursor: pointer; display: flex; justify-content: space-between; diff --git a/components/inputs/input-textarea.js b/components/inputs/input-textarea.js index 5348cc6ec5f..eedc47ed1ed 100644 --- a/components/inputs/input-textarea.js +++ b/components/inputs/input-textarea.js @@ -126,10 +126,10 @@ class InputTextArea extends InputInlineHelpMixin(FocusMixin(LabelledMixin(FormEl .d2l-input-textarea-mirror { line-height: 1rem; overflow: hidden; + overflow-wrap: anywhere; /* prevent width from growing */ padding-bottom: 0.5rem; padding-top: 0.5rem; visibility: hidden; - word-break: break-word; /* prevent width from growing */ } :host([no-padding]) .d2l-input { padding-left: 0; diff --git a/package-lock.json b/package-lock.json index f6f157afec3..e159e1ec746 100644 --- a/package-lock.json +++ b/package-lock.json @@ -312,9 +312,9 @@ } }, "node_modules/@brightspace-ui/intl": { - "version": "3.23.0", - "resolved": "https://registry.npmjs.org/@brightspace-ui/intl/-/intl-3.23.0.tgz", - "integrity": "sha512-iqccNz18PEr5g+vcctHsU/Xdl62A+W1ML9tDKNXanJPBSDs+3mRvMXt74yRFgG5E8sBnNqlaBh3cgJlXXoEttg==", + "version": "3.23.1", + "resolved": "https://registry.npmjs.org/@brightspace-ui/intl/-/intl-3.23.1.tgz", + "integrity": "sha512-qi+EdMsyOsCKmjQmx5GoUffK/ygzOGBbVG0ZVW4U3uyQdfwKOFhKhJC7GEsdpn/bUYVgBXXmf6KnPYxmVdsAbg==", "license": "Apache-2.0", "dependencies": { "intl-messageformat": "^10" @@ -327,9 +327,9 @@ "license": "Apache-2.0" }, "node_modules/@brightspace-ui/stylelint-config": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@brightspace-ui/stylelint-config/-/stylelint-config-1.4.1.tgz", - "integrity": "sha512-YZOeQLKDig5xuaJuvcZ8I9sFrlj61GXTMf1DAscJHhbp6nFpMsjpvOWT4IvTJD0WBDZcreGi2MRVFJ+ewimmqw==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@brightspace-ui/stylelint-config/-/stylelint-config-1.4.2.tgz", + "integrity": "sha512-8ZpjbIb9ZF1BA61Z1g0GOb6IlOIMRZF6lQsIxHqMDvm5PDU1kBm681VbmxiRYmq/GKZ7n6TS26D6OwZUbqcpLQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -338,7 +338,7 @@ "@stylistic/stylelint-plugin": "^3", "postcss-html": "^1", "postcss-syntax": "^0.36", - "stylelint-config-recommended": "^14", + "stylelint-config-recommended": "^15", "stylelint-order": "^6" }, "peerDependencies": { @@ -724,9 +724,9 @@ } }, "node_modules/@formatjs/icu-messageformat-parser": { - "version": "2.9.8", - "resolved": "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.9.8.tgz", - "integrity": "sha512-hZlLNI3+Lev8IAXuwehLoN7QTKqbx3XXwFW1jh0AdIA9XJdzn9Uzr+2LLBspPm/PX0+NLIfykj/8IKxQqHUcUQ==", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.10.0.tgz", + "integrity": "sha512-PDeky6nDAyHYEtmSi2X1PG9YpqE+2BRTJT7JvPix8K8JX1wBWQNao6KcPtmZpttQHUHmzMcd/rne7lFesSzUKQ==", "license": "MIT", "dependencies": { "@formatjs/ecma402-abstract": "2.3.2", @@ -2165,9 +2165,9 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.4.tgz", - "integrity": "sha512-5kz9ScmzBdzTgB/3susoCgfqNDzBjvLL4taparufgSvlwjdLy6UyUy9T/tCpYd2GIdIilCatC4iSQS0QSYHt0w==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.5.tgz", + "integrity": "sha512-GLZPrd9ckqEBFMcVM/qRFAP0Hg3qiVEojgEFsx/N/zKXsBzbGF6z5FBDpZ0+Xhp1xr+qRZYjfGr1cWHB9oFHSA==", "dev": true, "license": "MIT", "dependencies": { @@ -2302,9 +2302,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.10.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.6.tgz", - "integrity": "sha512-qNiuwC4ZDAUNcY47xgaSuS92cjf8JbSUoaKS77bmLG1rU7MlATVSiw/IlrjtIyyskXBZ8KkNfjK/P5na7rgXbQ==", + "version": "22.10.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.7.tgz", + "integrity": "sha512-V09KvXxFiutGp6B7XkpaDXlNadZxrzajcY50EuoLIpQ6WWYCSvf19lVIazzfIzQvhUN2HjX12spLojTnhuKlGg==", "dev": true, "license": "MIT", "dependencies": { @@ -3423,18 +3423,6 @@ "dev": true, "license": "MIT" }, - "node_modules/bare-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/bare-buffer/-/bare-buffer-3.0.1.tgz", - "integrity": "sha512-QuDV/Wv5k1xsevh24zQwEjlQJuRvt3tUC39VFai6PoJiDIwmISEoc76ZTae4yVcacRBw0HBArrHssV1o3TEKhQ==", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "peer": true, - "engines": { - "bare": ">=1.13.0" - } - }, "node_modules/bare-events": { "version": "2.5.4", "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.5.4.tgz", @@ -3444,41 +3432,47 @@ "optional": true }, "node_modules/bare-fs": { - "version": "2.3.5", - "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.3.5.tgz", - "integrity": "sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.0.1.tgz", + "integrity": "sha512-ilQs4fm/l9eMfWY2dY0WCIUplSUp7U0CT1vrqMg1MUdeZl4fypu5UP0XcDBK5WBQPJAKP1b7XEodISmekH/CEg==", "dev": true, "license": "Apache-2.0", "optional": true, "dependencies": { "bare-events": "^2.0.0", - "bare-path": "^2.0.0", + "bare-path": "^3.0.0", "bare-stream": "^2.0.0" + }, + "engines": { + "bare": ">=1.7.0" } }, "node_modules/bare-os": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-2.4.4.tgz", - "integrity": "sha512-z3UiI2yi1mK0sXeRdc4O1Kk8aOa/e+FNWZcTiPB/dfTWyLypuE99LibgRaQki914Jq//yAWylcAt+mknKdixRQ==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.4.0.tgz", + "integrity": "sha512-9Ous7UlnKbe3fMi7Y+qh0DwAup6A1JkYgPnjvMDNOlmnxNRQvQ/7Nst+OnUQKzk0iAT0m9BisbDVp9gCv8+ETA==", "dev": true, "license": "Apache-2.0", - "optional": true + "optional": true, + "engines": { + "bare": ">=1.6.0" + } }, "node_modules/bare-path": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.3.tgz", - "integrity": "sha512-lh/eITfU8hrj9Ru5quUp0Io1kJWIk1bTjzo7JH1P5dWmQ2EL4hFUlfI8FonAhSlgIfhn63p84CDY/x+PisgcXA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz", + "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==", "dev": true, "license": "Apache-2.0", "optional": true, "dependencies": { - "bare-os": "^2.1.0" + "bare-os": "^3.0.1" } }, "node_modules/bare-stream": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.3.tgz", - "integrity": "sha512-AiqV593yTkEU3Lka0Sn+UT8X8U5hZ713RHa5Dg88GtJRite8TeD0oBOESNY6LnaBXTK0LjAW82OVhws+7L4JGA==", + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.4.tgz", + "integrity": "sha512-G6i3A74FjNq4nVrrSTUz5h3vgXzBJnjmWAVlBWaZETkgu+LgKd7AiyOml3EDJY1AHlIbBHKDXE+TUT53Ff8OaA==", "dev": true, "license": "Apache-2.0", "optional": true, @@ -3488,6 +3482,14 @@ "peerDependencies": { "bare-buffer": "*", "bare-events": "*" + }, + "peerDependenciesMeta": { + "bare-buffer": { + "optional": true + }, + "bare-events": { + "optional": true + } } }, "node_modules/base64-js": { @@ -4768,9 +4770,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.81", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.81.tgz", - "integrity": "sha512-SFsAz1hoR+u1eAWjofSPQnx0InE1QHGUAQ92pqYJPT8GARzmyP1zcEBDBxFFC6okJk2E94Ryfmib4DB8Sc6LBw==", + "version": "1.5.83", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.83.tgz", + "integrity": "sha512-LcUDPqSt+V0QmI47XLzZrz5OqILSMGsPFkDYus22rIbgorSvBYEFqq854ltTmUdHkY92FSdAAvsh4jWEULMdfQ==", "dev": true, "license": "ISC" }, @@ -4963,9 +4965,9 @@ "license": "MIT" }, "node_modules/es-object-atoms": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.1.tgz", - "integrity": "sha512-BPOBuyUF9QIVhuNLhbToCLHP6+0MHwZ7xLBkPPCZqK4JmpJgGnv10035STzzQwFpqdzNFMB3irvDI63IagvDwA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", "dev": true, "license": "MIT", "dependencies": { @@ -5143,9 +5145,9 @@ } }, "node_modules/eslint-config-brightspace": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/eslint-config-brightspace/-/eslint-config-brightspace-2.2.0.tgz", - "integrity": "sha512-YUS04SOiLq20vVxjOFq5uR/qn8f5uqLyqhsp/K5cOqXe2B2+cQfRyzfuB3mpNFCncI1EWCcdxRIwJgezDAa8VQ==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/eslint-config-brightspace/-/eslint-config-brightspace-2.3.1.tgz", + "integrity": "sha512-axlfW94afR1SCQ8jjAuUbySAeMx4Qr8RYfmlE/pxkjXwOQlgkNr9SXLb0Sz92OporwRw8PwKFH8vZRbstvTNkA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -6737,14 +6739,14 @@ } }, "node_modules/intl-messageformat": { - "version": "10.7.11", - "resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-10.7.11.tgz", - "integrity": "sha512-IB2N1tmI24k2EFH3PWjU7ivJsnWyLwOWOva0jnXFa29WzB6fb0JZ5EMQGu+XN5lDtjHYFo0/UooP67zBwUg7rQ==", + "version": "10.7.12", + "resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-10.7.12.tgz", + "integrity": "sha512-4HBsPDJ61jZwNikauvm0mcLvs1AfCBbihiqOX2AGs1MX7SA1H0SNKJRSWxpZpToGoNzvoYLsJJ2pURkbEDg+Dw==", "license": "BSD-3-Clause", "dependencies": { "@formatjs/ecma402-abstract": "2.3.2", "@formatjs/fast-memoize": "2.2.6", - "@formatjs/icu-messageformat-parser": "2.9.8", + "@formatjs/icu-messageformat-parser": "2.10.0", "tslib": "2" } }, @@ -9905,13 +9907,13 @@ } }, "node_modules/qs": { - "version": "6.13.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.1.tgz", - "integrity": "sha512-EJPeIn0CYrGu+hli1xilKAPXODtJ12T0sP63Ijx2/khC2JtuaN3JyNIpvmnkmaEtha9ocbG4A4cMcr+TvqvwQg==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "side-channel": "^1.0.6" + "side-channel": "^1.1.0" }, "engines": { "node": ">=0.6" @@ -11198,9 +11200,9 @@ "license": "ISC" }, "node_modules/stylelint": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.13.1.tgz", - "integrity": "sha512-691JjSIIcP6f9QJFz0J0/AMG3lupE9RqYAgYCON3wiqp5nQiKqDYIsz321GeTOYNznoRPNh0Mf6VjzP1eBVz/Q==", + "version": "16.13.2", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.13.2.tgz", + "integrity": "sha512-wDlgh0mRO9RtSa3TdidqHd0nOG8MmUyVKl+dxA6C1j8aZRzpNeEgdhFmU5y4sZx4Fc6r46p0fI7p1vR5O2DZqA==", "dev": true, "funding": [ { @@ -11261,9 +11263,9 @@ } }, "node_modules/stylelint-config-recommended": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-14.0.1.tgz", - "integrity": "sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-15.0.0.tgz", + "integrity": "sha512-9LejMFsat7L+NXttdHdTq94byn25TD+82bzGRiV1Pgasl99pWnwipXS5DguTpp3nP1XjvLXVnEJIuYBfsRjRkA==", "dev": true, "funding": [ { @@ -11280,7 +11282,7 @@ "node": ">=18.12.0" }, "peerDependencies": { - "stylelint": "^16.1.0" + "stylelint": "^16.13.0" } }, "node_modules/stylelint-order": { @@ -11605,9 +11607,9 @@ } }, "node_modules/tar-fs": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.7.tgz", - "integrity": "sha512-2sAfoF/zw/2n8goUGnGRZTWTD4INtnScPZvyYBI6BDlJ3wNR5o1dw03EfBvuhG6GBLvC4J+C7j7W+64aZ0ogQA==", + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.8.tgz", + "integrity": "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==", "dev": true, "license": "MIT", "dependencies": { @@ -11615,8 +11617,8 @@ "tar-stream": "^3.1.5" }, "optionalDependencies": { - "bare-fs": "^2.1.1", - "bare-path": "^2.1.0" + "bare-fs": "^4.0.1", + "bare-path": "^3.0.0" } }, "node_modules/tar-stream": {