@brightspace-ui/core 3.262.8 → 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.
|
@@ -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.
|
|
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
|
-
|
|
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.
|
|
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
|
];
|
package/helpers/internal/css.js
CHANGED
|
@@ -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.
|
|
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",
|