@htmlbricks/hb-searchbar 0.67.1 → 0.68.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.
- package/README.md +4 -2
- package/main.iife.js +34 -10
- package/main.iife.js.map +1 -1
- package/manifest.json +44 -3
- package/package.json +1 -1
package/manifest.json
CHANGED
|
@@ -228,7 +228,44 @@
|
|
|
228
228
|
}
|
|
229
229
|
},
|
|
230
230
|
"styleSetup": {
|
|
231
|
-
"vars": [
|
|
231
|
+
"vars": [
|
|
232
|
+
{
|
|
233
|
+
"name": "--hb-searchbar-host-background",
|
|
234
|
+
"valueType": "string",
|
|
235
|
+
"defaultValue": "color-mix(in srgb, var(--bulma-background) 88%, var(--bulma-border) 12%)",
|
|
236
|
+
"description": "Set on the host to override resting :host background (defaults are assigned in the shadow stylesheet)."
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "--hb-searchbar-host-background-focus",
|
|
240
|
+
"valueType": "string",
|
|
241
|
+
"defaultValue": "color-mix(in srgb, var(--bulma-primary) 10%, var(--bulma-background))",
|
|
242
|
+
"description": "Set on the host to override :host background while the input/textarea is focused."
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "--hb-searchbar-input-strip-background",
|
|
246
|
+
"valueType": "string",
|
|
247
|
+
"defaultValue": "color-mix(in srgb, var(--bulma-background) 72%, var(--bulma-border) 28%)",
|
|
248
|
+
"description": "Background of the input/textarea row at rest (default is darker than the dropdown list)."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "--hb-searchbar-dropdown-panel-background",
|
|
252
|
+
"valueType": "string",
|
|
253
|
+
"defaultValue": "color-mix(in srgb, var(--bulma-scheme-main) 62%, var(--bulma-background) 38%)",
|
|
254
|
+
"description": "Background of the open dropdown panel (default mixes scheme-main with background for lower contrast)."
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "--hb-searchbar-input-glass-blur",
|
|
258
|
+
"valueType": "string",
|
|
259
|
+
"defaultValue": "24px",
|
|
260
|
+
"description": "Backdrop blur radius for the frosted layer behind the input when focused."
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "--hb-searchbar-input-glass-saturate",
|
|
264
|
+
"valueType": "number",
|
|
265
|
+
"defaultValue": "1.45",
|
|
266
|
+
"description": "Backdrop saturate() factor for that layer."
|
|
267
|
+
}
|
|
268
|
+
],
|
|
232
269
|
"parts": [
|
|
233
270
|
{
|
|
234
271
|
"name": "dropdown-menu",
|
|
@@ -238,6 +275,10 @@
|
|
|
238
275
|
"name": "search-input",
|
|
239
276
|
"description": "The search input"
|
|
240
277
|
},
|
|
278
|
+
{
|
|
279
|
+
"name": "search-input-glass",
|
|
280
|
+
"description": "Frosted glass layer behind the field (visible when the input/textarea is focused)"
|
|
281
|
+
},
|
|
241
282
|
{
|
|
242
283
|
"name": "search-submit",
|
|
243
284
|
"description": "The clickable search (magnifier) control"
|
|
@@ -744,7 +785,7 @@
|
|
|
744
785
|
}
|
|
745
786
|
}
|
|
746
787
|
],
|
|
747
|
-
"iifeIntegrity": "sha384-
|
|
788
|
+
"iifeIntegrity": "sha384-ta/GXrCiX02bHz5vQ+wGwF+ib8ukyhk9iMp35ulAcGSY+jzHc2jscsduSJ7E88OG",
|
|
748
789
|
"dependencies": [],
|
|
749
790
|
"screenshots": [],
|
|
750
791
|
"licenses": [
|
|
@@ -765,5 +806,5 @@
|
|
|
765
806
|
"size": {},
|
|
766
807
|
"iifePath": "main.iife.js",
|
|
767
808
|
"repoName": "@htmlbricks/hb-searchbar",
|
|
768
|
-
"version": "0.
|
|
809
|
+
"version": "0.68.2"
|
|
769
810
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-searchbar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.68.2",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Search field with optional dropdown `searchlist` (id, text, icons, badges, tags, URLs). Configure `value`, `initial_value`, `searchlabel`, `textarea`, `minlength`, `disable_preview`, and CSS parts for the input and menu. Dispatches `search` and `clear`.",
|
|
6
6
|
"licenses": [
|