@neovici/cosmoz-autocomplete 10.0.1 → 10.1.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.
- package/dist/listbox/style.css.js +14 -8
- package/package.json +2 -1
|
@@ -9,12 +9,17 @@ const style = css `
|
|
|
9
9
|
position: fixed;
|
|
10
10
|
z-index: 1000;
|
|
11
11
|
font-family: var(--paper-font-subhead_-_font-family, inherit);
|
|
12
|
-
background:
|
|
13
|
-
|
|
12
|
+
background: var(
|
|
13
|
+
--cosmoz-autocomplete-listbox-bg,
|
|
14
|
+
rgba(255, 255, 255, 0.85)
|
|
15
|
+
);
|
|
16
|
+
min-width: 50px;
|
|
17
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
18
|
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
19
|
+
border-radius: 6px;
|
|
14
20
|
box-shadow:
|
|
15
|
-
0
|
|
16
|
-
0
|
|
17
|
-
0 3px 3px -2px rgba(0, 0, 0, 0.4);
|
|
21
|
+
0 4px 24px 0 rgba(0, 0, 0, 0.18),
|
|
22
|
+
0 1.5px 6px 0 rgba(0, 0, 0, 0.1);
|
|
18
23
|
text-transform: var(--cosmoz-autocomplete-listbox-text-transform, initial);
|
|
19
24
|
overflow: hidden;
|
|
20
25
|
}
|
|
@@ -22,7 +27,7 @@ const style = css `
|
|
|
22
27
|
box-sizing: border-box;
|
|
23
28
|
display: block;
|
|
24
29
|
margin: 0;
|
|
25
|
-
border: 0;
|
|
30
|
+
border: 1px solid rgba(200, 200, 200, 0.25);
|
|
26
31
|
}
|
|
27
32
|
:host([popover]) {
|
|
28
33
|
padding: 0;
|
|
@@ -31,10 +36,11 @@ const style = css `
|
|
|
31
36
|
position: relative;
|
|
32
37
|
overflow-y: auto;
|
|
33
38
|
contain: layout paint !important;
|
|
39
|
+
padding-bottom: var(--cosmoz-autocomplete-listbox-padding-bottom, 8px);
|
|
34
40
|
}
|
|
35
41
|
.item {
|
|
36
|
-
font-size:
|
|
37
|
-
padding: 0
|
|
42
|
+
font-size: var(--cosmoz-autocomplete-listbox-font-size, 13px);
|
|
43
|
+
padding: 0 22px;
|
|
38
44
|
box-sizing: border-box;
|
|
39
45
|
width: 100%;
|
|
40
46
|
cursor: pointer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-autocomplete",
|
|
3
|
-
"version": "10.0
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"description": "A autocomplete input web component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit-html",
|
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
"esbuild": "^0.24.0",
|
|
100
100
|
"http-server": "^14.1.1",
|
|
101
101
|
"husky": "^9.0.0",
|
|
102
|
+
"prettier": "^3.6.2",
|
|
102
103
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
103
104
|
"rollup-plugin-terser": "^7.0.2",
|
|
104
105
|
"semantic-release": "^24.0.0",
|