@brightspace-ui/core 3.343.3 → 3.343.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -250,7 +250,7 @@ export const ListItemMixin = superclass => class extends composeMixins(
250
250
  --d2l-list-item-content-text-outline: initial;
251
251
  --d2l-list-item-content-text-outline-offset: initial;
252
252
  }
253
- :host([_focusing-primary-action]):has(:focus-visible) .d2l-list-item-content {
253
+ :host([_focusing-primary-action]) [slot="content-action"]:has(:focus-visible) .d2l-list-item-content {
254
254
  --d2l-list-item-content-text-border-radius: 3px;
255
255
  --d2l-list-item-content-text-outline: 2px solid var(--d2l-color-celestine);
256
256
  --d2l-list-item-content-text-outline-offset: 1px;
@@ -260,7 +260,7 @@ export const ListItemMixin = superclass => class extends composeMixins(
260
260
  outline: initial;
261
261
  outline-offset: initial;
262
262
  }
263
- :host([_focusing-primary-action]:not([padding-type="none"])):has(:focus-visible) .d2l-list-item-content.d2l-list-item-content-none {
263
+ :host([_focusing-primary-action]:not([padding-type="none"])) [slot="content-action"]:has(:focus-visible) .d2l-list-item-content.d2l-list-item-content-none {
264
264
  border-radius: 8px;
265
265
  outline: var(--d2l-list-item-content-text-outline);
266
266
  outline-offset: -4px;
@@ -20,7 +20,7 @@ export function getOverflowDeclarations({ textOverflow = '', lines = 1, lit = tr
20
20
  -webkit-box-orient: vertical;
21
21
  -webkit-line-clamp: ${lines};`
22
22
  : set`
23
- overflow-clip-margin: 1em;
23
+ overflow-clip-margin: ${textOverflow === 'clip' ? '0' : '1em'};
24
24
  ${textOverflow
25
25
  ? set`
26
26
  overflow-y: visible;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.343.3",
3
+ "version": "3.343.5",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",