@launchpad-ui/menu 0.11.21 → 0.12.0

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.
Files changed (2) hide show
  1. package/dist/style.css +12 -12
  2. package/package.json +6 -6
package/dist/style.css CHANGED
@@ -7,10 +7,10 @@
7
7
  text-decoration: none;
8
8
  cursor: pointer;
9
9
  outline: none;
10
- padding: 0.6rem 2.5rem;
10
+ padding: 0.375rem 1.5625rem;
11
11
  text-align: left;
12
12
  font-family: inherit;
13
- font-size: 1.3rem;
13
+ font-size: 0.8125rem;
14
14
  overflow: hidden;
15
15
  text-overflow: ellipsis;
16
16
  white-space: nowrap;
@@ -33,7 +33,7 @@
33
33
  }
34
34
 
35
35
  .Menu-item-list {
36
- min-width: 12rem;
36
+ min-width: 7.5rem;
37
37
  overflow: auto;
38
38
  max-height: 55vh;
39
39
  }
@@ -106,7 +106,7 @@
106
106
  }
107
107
 
108
108
  .Menu-item--nested {
109
- padding-left: 4rem;
109
+ padding-left: 2.5rem;
110
110
  }
111
111
 
112
112
  .Menu-item--header {
@@ -114,7 +114,7 @@
114
114
  }
115
115
 
116
116
  .Menu-item .Gravatar {
117
- margin-right: 0.5rem;
117
+ margin-right: 0.3125rem;
118
118
  }
119
119
 
120
120
  .Menu-item.is-highlighted {
@@ -136,7 +136,7 @@
136
136
 
137
137
  .Menu-item-icon {
138
138
  position: absolute;
139
- left: 0.5rem;
139
+ left: 0.3125rem;
140
140
  top: 50%;
141
141
  transform: translateY(-50%);
142
142
  }
@@ -146,8 +146,8 @@
146
146
  }
147
147
 
148
148
  .Menu-search {
149
- padding: 1rem;
150
- font-size: 1.3rem;
149
+ padding: 0.625rem;
150
+ font-size: 0.8125rem;
151
151
  border-bottom: 1px solid var(--lp-color-border-ui-primary);
152
152
  }
153
153
 
@@ -177,19 +177,19 @@
177
177
  }
178
178
 
179
179
  .MenuSize--xl {
180
- width: 32rem;
180
+ width: 20rem;
181
181
  }
182
182
 
183
183
  .MenuSize--lg {
184
- width: 24rem;
184
+ width: 15rem;
185
185
  }
186
186
 
187
187
  .MenuSize--md {
188
- width: 16rem;
188
+ width: 10rem;
189
189
  }
190
190
 
191
191
  .MenuSize--sm {
192
- width: 12rem;
192
+ width: 7.5rem;
193
193
  }
194
194
 
195
195
  .VirtualMenu-item-list {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchpad-ui/menu",
3
- "version": "0.11.21",
3
+ "version": "0.12.0",
4
4
  "status": "beta",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -31,11 +31,11 @@
31
31
  "@react-aria/separator": "3.3.6",
32
32
  "classix": "2.1.17",
33
33
  "react-virtual": "2.10.4",
34
- "@launchpad-ui/form": "~0.9.18",
35
- "@launchpad-ui/icons": "~0.13.1",
36
- "@launchpad-ui/popover": "~0.10.17",
37
- "@launchpad-ui/tokens": "~0.7.1",
38
- "@launchpad-ui/tooltip": "~0.7.27"
34
+ "@launchpad-ui/form": "~0.10.0",
35
+ "@launchpad-ui/icons": "~0.14.0",
36
+ "@launchpad-ui/popover": "~0.11.0",
37
+ "@launchpad-ui/tokens": "~0.8.0",
38
+ "@launchpad-ui/tooltip": "~0.8.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": "18.2.0",