@plexui/styles 0.1.7 → 0.1.8
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.
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--menu-gutter: var(--menu-pill-gutter);
|
|
8
8
|
--menu-item-padding: var(--menu-pill-item-padding);
|
|
9
9
|
--menu-separator-gutter: var(--menu-pill-separator-gutter);
|
|
10
|
+
--menu-search-gutter: 12px;
|
|
10
11
|
}.MenuList {
|
|
11
12
|
z-index: 50;
|
|
12
13
|
/* Default to the width of the trigger */
|
|
@@ -306,6 +307,12 @@ background: var(--gray-25);
|
|
|
306
307
|
}/* =============================================
|
|
307
308
|
Search
|
|
308
309
|
============================================= */.Search {
|
|
310
|
+
/* The search icon starts on the left edge of the option text, at any size */
|
|
311
|
+
--control-gutter-pill-scaling: 1;
|
|
312
|
+
--control-gutter-xs: var(--menu-search-gutter, 8px);
|
|
313
|
+
--control-gutter-sm: var(--menu-search-gutter, 8px);
|
|
314
|
+
--control-gutter-md: var(--menu-search-gutter, 8px);
|
|
315
|
+
--control-gutter-lg: var(--menu-search-gutter, 8px);
|
|
309
316
|
position: relative;
|
|
310
317
|
padding: var(--menu-gutter) var(--menu-gutter) 0;
|
|
311
318
|
}/* Override fill for Search icon to apply fill-secondary class correctly *//* Need !important to override fill="currentColor" attribute in SVG path *//* Target SVG with fill prop and its path children */.Search svg[fill],
|
package/dist/es/styles/touch.css
CHANGED
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
--menu-separator-gutter: 10px 14px;
|
|
38
38
|
--menu-pill-gutter: 10px;
|
|
39
39
|
--menu-pill-item-padding: 10px 14px 10px 12px;
|
|
40
|
+
--menu-search-gutter: 12px;
|
|
40
41
|
--menu-pill-separator-gutter: 10px 14px;
|
|
41
42
|
--menu-checkbox-indicator-size: 24px;
|
|
42
43
|
--menu-label-padding: 4px 14px 10px;
|