@htmlbricks/hb-searchbar 0.67.0 → 0.68.1

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/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",
@@ -237,6 +274,14 @@
237
274
  {
238
275
  "name": "search-input",
239
276
  "description": "The search input"
277
+ },
278
+ {
279
+ "name": "search-input-glass",
280
+ "description": "Frosted glass layer behind the field (visible when the input/textarea is focused)"
281
+ },
282
+ {
283
+ "name": "search-submit",
284
+ "description": "The clickable search (magnifier) control"
240
285
  }
241
286
  ]
242
287
  },
@@ -740,7 +785,7 @@
740
785
  }
741
786
  }
742
787
  ],
743
- "iifeIntegrity": "sha384-k8fukIOPq3inSLWQfouX/Saq3Oze8KRXtYxcQXjXuRFeoWAwObQ9N/J8p41xAUXI",
788
+ "iifeIntegrity": "sha384-ta/GXrCiX02bHz5vQ+wGwF+ib8ukyhk9iMp35ulAcGSY+jzHc2jscsduSJ7E88OG",
744
789
  "dependencies": [],
745
790
  "screenshots": [],
746
791
  "licenses": [
@@ -761,5 +806,5 @@
761
806
  "size": {},
762
807
  "iifePath": "main.iife.js",
763
808
  "repoName": "@htmlbricks/hb-searchbar",
764
- "version": "0.67.0"
809
+ "version": "0.68.1"
765
810
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-searchbar",
3
- "version": "0.67.0",
3
+ "version": "0.68.1",
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": [