@launchpad-ui/menu 0.6.24 → 0.6.26
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/dist/style.css +10 -10
- package/package.json +6 -6
package/dist/style.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
.Menu-item {
|
2
2
|
display: block;
|
3
3
|
position: relative;
|
4
|
-
color: var(--lp-color-text);
|
5
|
-
background: var(--lp-color-
|
4
|
+
color: var(--lp-color-text-ui-primary);
|
5
|
+
background: var(--lp-color-bg-overlay-primary);
|
6
6
|
text-decoration: none;
|
7
7
|
cursor: pointer;
|
8
8
|
outline: none;
|
@@ -50,13 +50,13 @@
|
|
50
50
|
}
|
51
51
|
|
52
52
|
.Menu .Menu-item:not([disabled]):not([aria-disabled]):hover:not(:active):not(.has-focus) {
|
53
|
-
background-color: var(--lp-color-
|
53
|
+
background-color: var(--lp-color-bg-interactive-secondary-hover);
|
54
54
|
box-shadow: inset 0 0 0 1px var(--lp-color-gray-600);
|
55
55
|
}
|
56
56
|
|
57
57
|
.Menu .Menu-item:not([disabled]):not([aria-disabled]).has-focus {
|
58
|
-
background-color: var(--lp-color-
|
59
|
-
box-shadow: inset 0 0 0 2px var(--lp-color-focus);
|
58
|
+
background-color: var(--lp-color-bg-interactive-secondary-hover);
|
59
|
+
box-shadow: inset 0 0 0 2px var(--lp-color-shadow-interactive-focus);
|
60
60
|
}
|
61
61
|
|
62
62
|
/* stylelint-disable-next-line no-descending-specificity */
|
@@ -86,7 +86,7 @@
|
|
86
86
|
.Menu a.Menu-item:active[disabled],
|
87
87
|
.Menu a.Menu-item:active[aria-disabled] {
|
88
88
|
text-decoration: none;
|
89
|
-
color: var(--lp-color-text-
|
89
|
+
color: var(--lp-color-text-ui-secondary);
|
90
90
|
}
|
91
91
|
|
92
92
|
/* stylelint-disable-next-line no-descending-specificity */
|
@@ -114,7 +114,7 @@
|
|
114
114
|
}
|
115
115
|
|
116
116
|
.Menu-item.is-highlighted {
|
117
|
-
background-color: var(--lp-color-
|
117
|
+
background-color: var(--lp-color-bg-interactive-secondary-hover);
|
118
118
|
box-shadow: inset 0 0 0 1px var(--lp-color-gray-600);
|
119
119
|
}
|
120
120
|
|
@@ -126,7 +126,7 @@
|
|
126
126
|
|
127
127
|
.Menu-item[aria-disabled],
|
128
128
|
.Menu-item[disabled] {
|
129
|
-
color: var(--lp-color-text-
|
129
|
+
color: var(--lp-color-text-ui-secondary);
|
130
130
|
cursor: default;
|
131
131
|
}
|
132
132
|
|
@@ -138,13 +138,13 @@
|
|
138
138
|
}
|
139
139
|
|
140
140
|
.Menu-divider {
|
141
|
-
border-top: 1px solid var(--lp-color-border);
|
141
|
+
border-top: 1px solid var(--lp-color-border-ui-primary);
|
142
142
|
}
|
143
143
|
|
144
144
|
.Menu-search {
|
145
145
|
padding: 1rem;
|
146
146
|
font-size: 1.3rem;
|
147
|
-
border-bottom: 1px solid var(--lp-color-border);
|
147
|
+
border-bottom: 1px solid var(--lp-color-border-ui-primary);
|
148
148
|
}
|
149
149
|
|
150
150
|
.Menu-search:first-child {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@launchpad-ui/menu",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.26",
|
4
4
|
"status": "beta",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -26,11 +26,11 @@
|
|
26
26
|
},
|
27
27
|
"source": "src/index.ts",
|
28
28
|
"dependencies": {
|
29
|
-
"@launchpad-ui/form": "~0.6.
|
30
|
-
"@launchpad-ui/icons": "~0.
|
31
|
-
"@launchpad-ui/popover": "~0.8.
|
32
|
-
"@launchpad-ui/tokens": "~0.
|
33
|
-
"@launchpad-ui/tooltip": "~0.6.
|
29
|
+
"@launchpad-ui/form": "~0.6.15",
|
30
|
+
"@launchpad-ui/icons": "~0.6.1",
|
31
|
+
"@launchpad-ui/popover": "~0.8.20",
|
32
|
+
"@launchpad-ui/tokens": "~0.3.0",
|
33
|
+
"@launchpad-ui/tooltip": "~0.6.21",
|
34
34
|
"@radix-ui/react-slot": "^1.0.0",
|
35
35
|
"@react-aria/focus": "^3.9.0",
|
36
36
|
"@react-aria/separator": "^3.2.0",
|