@vit-foundation/ui 0.32.1 → 0.32.2

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.
@@ -145,7 +145,7 @@
145
145
 
146
146
  .vit-inline-select__trigger {
147
147
  display: inline;
148
- padding: 0 0 0.1em;
148
+ padding: 0;
149
149
  margin: 0;
150
150
  border: 0;
151
151
  border-bottom: 2px solid currentColor;
@@ -183,8 +183,10 @@
183
183
  position: absolute;
184
184
  left: 0;
185
185
  z-index: var(--vit-madlib-menu-z, 40);
186
- margin: 0.25em 0 0;
187
- padding: 0.25em 0;
186
+ /* Pixel spacing, not em: the menu sits beside sentence text that can be
187
+ 24px, and em-scaled rows read as a different, roomier control there. */
188
+ margin: 4px 0 0;
189
+ padding: 4px 0;
188
190
  list-style: none;
189
191
  width: max-content;
190
192
  max-width: 42rem;
@@ -197,7 +199,7 @@
197
199
  }
198
200
 
199
201
  .vit-inline-select__option {
200
- padding: 0.375em 1em;
202
+ padding: 6px 16px;
201
203
  font-weight: var(--vit-madlib-control-weight, 700);
202
204
  color: var(--vit-madlib-muted-color, color-mix(in srgb, currentColor 35%, transparent));
203
205
  cursor: pointer;
@@ -233,12 +233,12 @@
233
233
  }
234
234
 
235
235
  .vit-madlib__separator {
236
- padding: 0 0.375em;
236
+ padding: 0 6px;
237
237
  color: var(--vit-madlib-muted-color, color-mix(in srgb, currentColor 35%, transparent));
238
238
  }
239
239
 
240
240
  .vit-madlib__toggle {
241
- padding: 0 0 0.125em;
241
+ padding: 0 0 2px;
242
242
  margin: 0;
243
243
  border: 0;
244
244
  border-bottom: 2px solid transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vit-foundation/ui",
3
- "version": "0.32.1",
3
+ "version": "0.32.2",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",