@brightspace-ui/core 3.262.7 → 3.262.9

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.
@@ -55,9 +55,6 @@ class Breadcrumb extends FocusMixin(LitElement) {
55
55
  :host([data-compact]) {
56
56
  flex-direction: row-reverse;
57
57
  }
58
- .d2l-link:focus {
59
- outline-offset: -2px;
60
- }
61
58
  d2l-icon {
62
59
  height: 8px;
63
60
  padding-inline: 8px 3px;
@@ -26,8 +26,9 @@ class Breadcrumbs extends LocalizeCoreElement(LitElement) {
26
26
  display: block;
27
27
  font-size: 0.7rem;
28
28
  line-height: 1.05rem;
29
- position: relative;
30
29
  ${overflowEllipsisDeclarations}
30
+ overflow-y: clip;
31
+ position: relative;
31
32
  }
32
33
  :host([hidden]) {
33
34
  display: none;
@@ -152,7 +152,7 @@ class ButtonMove extends ThemeMixin(FocusMixin(LitElement)) {
152
152
  .down-layer {
153
153
  height: 1.2rem;
154
154
  position: relative;
155
- width: 1.3rem;
155
+ width: 1.25rem;
156
156
  }
157
157
 
158
158
  /* Firefox includes a hidden border which messes up button dimensions */
@@ -175,21 +175,23 @@ class ButtonMove extends ThemeMixin(FocusMixin(LitElement)) {
175
175
  align-items: center;
176
176
  flex-direction: row;
177
177
  height: 1.2rem;
178
- justify-content: center;
179
- width: calc(1.3rem * 2);
178
+ width: calc(calc(1.2rem + 1px) * 2);
180
179
  }
181
180
 
182
181
  :host([side-to-side]) .layer {
183
182
  flex-direction: row;
183
+ gap: 2px;
184
184
  height: 1.2rem;
185
185
  inset-inline-start: 0;
186
186
  top: 0;
187
- width: calc(1.3rem * 2);
187
+ width: calc(calc(1.2rem + 1px) * 2);
188
188
  }
189
189
 
190
190
  :host([side-to-side]) d2l-icon {
191
+ height: 1.2rem;
191
192
  /* Arrows need to be rotated in opposite direction for RTL */
192
193
  transform: rotate(calc(-90deg * var(--d2l-length-factor)));
194
+ width: 1.2rem;
193
195
  }
194
196
  `
195
197
  ];
@@ -1,5 +1,15 @@
1
1
  export function _isValidCssSelector(selector) {
2
2
  const partIsValid = (part) => {
3
+ const notRegex = /:not\((.+?)\)/;
4
+ const notMatches = part.match(notRegex);
5
+ if (notMatches) {
6
+ return [
7
+ part.substring(0, notMatches.index),
8
+ notMatches[1],
9
+ part.substring(notMatches.index + notMatches[1].length + 6)
10
+ ].every((part, i) => (i !== 1 && part === '') || partIsValid(part));
11
+ }
12
+
3
13
  const re = /([a-zA-Z0-9-_ >.#]+)(\[[a-zA-Z0-9-_="]+\])?([a-zA-Z0-9-_ >.#]+)?/g;
4
14
  if (part === ':host') return true;
5
15
  const match = part.match(re);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.262.7",
3
+ "version": "3.262.9",
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",