@htmlbricks/hb-sidebar-desktop 0.76.1 → 0.76.3
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 +10 -2
- package/main.iife.js +18 -6
- package/main.iife.js.map +1 -1
- package/manifest.json +48 -6
- package/package.json +1 -1
package/manifest.json
CHANGED
|
@@ -369,16 +369,34 @@
|
|
|
369
369
|
"styleSetup": {
|
|
370
370
|
"vars": [
|
|
371
371
|
{
|
|
372
|
-
"name": "--
|
|
372
|
+
"name": "--hb-layout-sidebar-background",
|
|
373
373
|
"valueType": "color",
|
|
374
|
-
"defaultValue": "
|
|
375
|
-
"description": "
|
|
374
|
+
"defaultValue": "",
|
|
375
|
+
"description": "Optional sidebar shell background from layout or page (highest priority in the host chain)."
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "--hb-sidebar-background-color",
|
|
379
|
+
"valueType": "color",
|
|
380
|
+
"defaultValue": "",
|
|
381
|
+
"description": "Per-`hb-sidebar-desktop` background override (after layout token, before Bulma scheme surfaces)."
|
|
376
382
|
},
|
|
377
383
|
{
|
|
378
384
|
"name": "--bulma-scheme-main-bis",
|
|
379
385
|
"valueType": "color",
|
|
380
386
|
"defaultValue": "#f5f5f5",
|
|
381
|
-
"description": "
|
|
387
|
+
"description": "Default sidebar shell surface (Bulma secondary scheme; before `--bulma-scheme-main-ter`)."
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"name": "--bulma-scheme-main-ter",
|
|
391
|
+
"valueType": "color",
|
|
392
|
+
"defaultValue": "",
|
|
393
|
+
"description": "Tertiary scheme fallback for the sidebar host background."
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "--bulma-navbar-background-color",
|
|
397
|
+
"valueType": "color",
|
|
398
|
+
"defaultValue": "#f5f5f5",
|
|
399
|
+
"description": "Bulma navbar token; use for `hb-navbar` styling. Sidebar host does not read this by default (use `--hb-layout-sidebar-background` or scheme-main-bis/ter)."
|
|
382
400
|
},
|
|
383
401
|
{
|
|
384
402
|
"name": "--bulma-text",
|
|
@@ -404,6 +422,30 @@
|
|
|
404
422
|
"defaultValue": "14rem",
|
|
405
423
|
"description": "Fixed width of the host sidebar column (`:host` flex child in typical shells)."
|
|
406
424
|
},
|
|
425
|
+
{
|
|
426
|
+
"name": "--hb-sidebar-toolbar-button-font-size",
|
|
427
|
+
"valueType": "number",
|
|
428
|
+
"defaultValue": "max(0.625rem, 0.72em)",
|
|
429
|
+
"description": "Font size for the theme segment buttons and language trigger (toolbar only). Uses `em` so controls stay compact when `html` uses a large root `font-size`."
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "--hb-sidebar-toolbar-button-min-height",
|
|
433
|
+
"valueType": "number",
|
|
434
|
+
"defaultValue": "max(1.45rem, 1.75em)",
|
|
435
|
+
"description": "Minimum block size for those toolbar buttons."
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "--hb-sidebar-toolbar-icon-size",
|
|
439
|
+
"valueType": "number",
|
|
440
|
+
"defaultValue": "max(0.6875rem, 0.85em)",
|
|
441
|
+
"description": "Bootstrap icon box / glyph size in the toolbar (Bulma’s default small icon uses root `rem`, which can look oversized next to the buttons)."
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "--hb-sidebar-toolbar-lang-min-inline",
|
|
445
|
+
"valueType": "number",
|
|
446
|
+
"defaultValue": "max(2.25rem, 2.75em)",
|
|
447
|
+
"description": "Minimum width of the language trigger button."
|
|
448
|
+
},
|
|
407
449
|
{
|
|
408
450
|
"name": "--bulma-border",
|
|
409
451
|
"valueType": "color",
|
|
@@ -847,7 +889,7 @@
|
|
|
847
889
|
}
|
|
848
890
|
}
|
|
849
891
|
],
|
|
850
|
-
"iifeIntegrity": "sha384-
|
|
892
|
+
"iifeIntegrity": "sha384-T+FyaFG3cwxngSaqUwxODTNvGNiaCE7wor903TPQFplizRHHDbMxMIigN/aycODY",
|
|
851
893
|
"dependencies": [
|
|
852
894
|
{
|
|
853
895
|
"name": "hb-sidenav-link",
|
|
@@ -873,5 +915,5 @@
|
|
|
873
915
|
"size": {},
|
|
874
916
|
"iifePath": "main.iife.js",
|
|
875
917
|
"repoName": "@htmlbricks/hb-sidebar-desktop",
|
|
876
|
-
"version": "0.76.
|
|
918
|
+
"version": "0.76.3"
|
|
877
919
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-sidebar-desktop",
|
|
3
|
-
"version": "0.76.
|
|
3
|
+
"version": "0.76.3",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Fixed-width desktop sidebar: optional company logo and title, header/footer slots, optional language menu (i18nlanguages + i18nlang) beside the Bulma theme switch (light / dark / system), and a nav list built from hb-sidenav-link entries with optional JSON groups (Bulma layout, menu labels, light background). Parses navlinks and groups from strings; emits pageChange when a link selects a page, themeChange when the user picks a theme (host applies document hooks such as data-theme on html/body), and languageChange { code } on mount and when a language is chosen. On selection the sidebar updates document.documentElement.lang and its selector immediately (and sets the host i18nlang attribute when the prop was empty); the host may still set i18nlang on hb-layout for shell-wide copy.",
|
|
6
6
|
"licenses": [
|