@vokril/ui-solid 0.27.0 → 0.27.1
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.
- package/CHANGELOG.md +6 -0
- package/dist/base.css +4 -7
- package/dist/style.css +5 -8
- package/dist/theme.css +4 -7
- package/dist/tokens/tokens.css +4 -7
- package/dist/ui.css +1 -1
- package/package.json +4 -6
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to `@vokril/ui-solid` are listed here. Versions follow
|
|
|
5
5
|
contain breaking changes. From 0.1.1 on, entries are written by Changesets
|
|
6
6
|
(`npm run release:version`) above the previous release.
|
|
7
7
|
|
|
8
|
+
## 0.27.1
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Hovering a notification card, and opening a menu with the pointer, no longer strips their elevation shadow. The global pointer-focus rule for menu items matched `[class*='item']:hover` (any element whose class contains "item", such as the notification card) and `[role='menu']:focus` (the open menu panel) and set `box-shadow: none` on them. It now applies only to menu items and options on pointer focus (`[role='menuitem']`, `[role='option']`, `[class*='menuItem']`), and menu panels lose only their focus outline. `theme.css` and `base.css` change accordingly.
|
|
13
|
+
|
|
8
14
|
## 0.27.0
|
|
9
15
|
|
|
10
16
|
### Minor Changes
|
package/dist/base.css
CHANGED
|
@@ -149,21 +149,18 @@ select:focus-visible {
|
|
|
149
149
|
[class*='dropdown'] {
|
|
150
150
|
box-shadow: var(--ui-overlay-shadow, var(--elevation-dropdown));
|
|
151
151
|
}
|
|
152
|
-
[class*='item']:hover,
|
|
153
|
-
[class*='menuItem']:hover,
|
|
154
|
-
[role='menuitem']:hover,
|
|
155
|
-
[role='option']:hover,
|
|
156
|
-
:root:not([data-focus-modality='keyboard']) [class*='item']:focus,
|
|
157
152
|
:root:not([data-focus-modality='keyboard']) [class*='menuItem']:focus,
|
|
158
153
|
:root:not([data-focus-modality='keyboard']) [role='menuitem']:focus,
|
|
159
|
-
:root:not([data-focus-modality='keyboard']) [role='option']:focus
|
|
154
|
+
:root:not([data-focus-modality='keyboard']) [role='option']:focus {
|
|
155
|
+
outline: none;
|
|
156
|
+
box-shadow: none;
|
|
157
|
+
}
|
|
160
158
|
:root:not([data-focus-modality='keyboard']) [role='menu']:focus,
|
|
161
159
|
:root:not([data-focus-modality='keyboard']) [role='menu']:focus-visible,
|
|
162
160
|
:root:not([data-focus-modality='keyboard']) [data-desktop-menu-depth]:focus,
|
|
163
161
|
:root:not([data-focus-modality='keyboard'])
|
|
164
162
|
[data-desktop-menu-depth]:focus-visible {
|
|
165
163
|
outline: none;
|
|
166
|
-
box-shadow: none;
|
|
167
164
|
}
|
|
168
165
|
[role='menu'],
|
|
169
166
|
[role='menu'] *,
|