@threadlabs/looma 0.46.4 → 0.46.5
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 +2 -2
- package/components/ui-site-header/ui-site-header.html +49 -14
- package/dist/index.js +1 -1
- package/docs/catalog.json +3 -3
- package/package.json +1 -1
- package/styles/ui-site-header.css +89 -25
- package/vanilla/UiSiteHeader.js +2 -2
- package/vue/UiSiteHeader.vue +8 -24
- package/vue/chunks/UiSiteHeader.js +1 -1
- package/vue/components.css +8 -24
package/docs/catalog.json
CHANGED
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
],
|
|
464
464
|
"schemaVersion": 1,
|
|
465
465
|
"package": "@threadlabs/looma",
|
|
466
|
-
"version": "0.46.
|
|
466
|
+
"version": "0.46.5",
|
|
467
467
|
"groups": [
|
|
468
468
|
{
|
|
469
469
|
"id": "layout",
|
|
@@ -17985,7 +17985,7 @@
|
|
|
17985
17985
|
"tag": "ui-site-header",
|
|
17986
17986
|
"package": "@threadlabs/looma",
|
|
17987
17987
|
"root": "header",
|
|
17988
|
-
"description": "Supply brand, navigation, and optional actions once. Below the breakpoint, SiteHeader automatically puts the hamburger in the inline navigation's position beside the brand, with
|
|
17988
|
+
"description": "Supply brand, navigation, and optional actions once. Below the breakpoint, SiteHeader automatically puts the hamburger in the inline navigation's position beside the brand, with compact mobile spacing (mirrored in RTL). Optional actions stay at the trailing edge. It presents the same navigation in a full-height, scrollable drawer with a dark backdrop. It handles focus, Escape, outside press, link selection, and page scroll locking. Applications supply links and routing; no menu slot, duplicate links, IDs, or drawer wiring are needed. Before JavaScript, navigation remains available inline unless a custom native menu supplies its mobile navigation. Native custom menu controls remain usable before upgrade. Use TopBar for contextual application tools.",
|
|
17989
17989
|
"designTokens": {
|
|
17990
17990
|
"sources": [
|
|
17991
17991
|
"packages/looma/src/components/ui-site-header/ui-site-header.html"
|
|
@@ -18261,7 +18261,7 @@
|
|
|
18261
18261
|
"id": "@threadlabs/looma/ui-site-header/01-default",
|
|
18262
18262
|
"name": "01-default",
|
|
18263
18263
|
"title": "Site navigation",
|
|
18264
|
-
"description": "A full-width header keeps its logo visible, places desktop navigation beside it, and puts search and account controls at the trailing edge. Below 64rem, the hamburger takes the inline navigation's position beside the logo,
|
|
18264
|
+
"description": "A full-width header keeps its logo visible, places desktop navigation beside it, and puts search and account controls at the trailing edge. Below 64rem, the hamburger takes the inline navigation's position beside the logo, using compact mobile spacing. It opens the same navigation in a full-height, scrollable drawer with a dark backdrop. No menu trigger, duplicate links, IDs, or event wiring are needed. Pass actions individually so the header reserves their adjustable hit areas.",
|
|
18265
18265
|
"markup": "<ui-site-header>\n <a slot=\"brand\" href=\"#home\" aria-label=\"Folio home\"><ui-icon name=\"compass\"></ui-icon>Folio</a>\n <a slot=\"navigation\" href=\"#guide\" aria-current=\"page\">Guide</a>\n <a slot=\"navigation\" href=\"#components\">Components</a>\n <a slot=\"navigation\" href=\"#journal\">Journal</a>\n <ui-icon-button slot=\"actions\" id=\"site-header-search-trigger\" size=\"sm\" label=\"Search pages\"><ui-icon name=\"search\"></ui-icon></ui-icon-button>\n <ui-icon-button slot=\"actions\" id=\"site-header-account-trigger\" size=\"sm\" label=\"Account\"><ui-icon name=\"user-round\"></ui-icon></ui-icon-button>\n</ui-site-header>\n<ui-popover for=\"site-header-search-trigger\"><ui-form-field>\n <label slot=\"label\" for=\"site-header-search\">Search pages</label><ui-input id=\"site-header-search\" type=\"search\" placeholder=\"Find a page\"></ui-input>\n </ui-form-field></ui-popover>\n<ui-popover for=\"site-header-account-trigger\"><nav aria-label=\"Account\">\n <ui-stack gap=\"s\"><a href=\"#profile\">Your profile</a><a href=\"#settings\">Settings</a></ui-stack>\n </nav></ui-popover>",
|
|
18266
18266
|
"resizable": false,
|
|
18267
18267
|
"bindings": "",
|
package/package.json
CHANGED
|
@@ -97,10 +97,13 @@
|
|
|
97
97
|
color: inherit;
|
|
98
98
|
}
|
|
99
99
|
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .inline-navigation,
|
|
100
|
-
.navigation-panel:not([open]),
|
|
100
|
+
.navigation-panel:not([open]),
|
|
101
|
+
.menu,
|
|
102
|
+
.panel-heading {
|
|
101
103
|
display: none !important;
|
|
102
104
|
}
|
|
103
105
|
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .identity {
|
|
106
|
+
column-gap: var(--ui-space-2) !important;
|
|
104
107
|
flex-wrap: nowrap !important;
|
|
105
108
|
align-items: center !important;
|
|
106
109
|
}
|
|
@@ -112,22 +115,52 @@
|
|
|
112
115
|
}
|
|
113
116
|
/* Authored native sidebar triggers remain usable before JavaScript upgrades the header. */
|
|
114
117
|
@media (width < 40rem) {
|
|
115
|
-
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity {
|
|
119
|
+
flex-wrap: nowrap !important;
|
|
120
|
+
align-items: center !important;
|
|
121
|
+
column-gap: var(--ui-space-2) !important;
|
|
122
|
+
}
|
|
123
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .menu {
|
|
124
|
+
display: grid !important;
|
|
125
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
126
|
+
justify-items: center !important;
|
|
127
|
+
flex: none;
|
|
128
|
+
}
|
|
129
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .inline-navigation {
|
|
130
|
+
display: none !important;
|
|
131
|
+
}
|
|
119
132
|
}
|
|
120
133
|
@media (width < 48rem) {
|
|
121
|
-
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
134
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity {
|
|
135
|
+
flex-wrap: nowrap !important;
|
|
136
|
+
align-items: center !important;
|
|
137
|
+
column-gap: var(--ui-space-2) !important;
|
|
138
|
+
}
|
|
139
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .menu {
|
|
140
|
+
display: grid !important;
|
|
141
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
142
|
+
justify-items: center !important;
|
|
143
|
+
flex: none;
|
|
144
|
+
}
|
|
145
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .inline-navigation {
|
|
146
|
+
display: none !important;
|
|
147
|
+
}
|
|
125
148
|
}
|
|
126
149
|
@media (width < 64rem) {
|
|
127
|
-
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
150
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity {
|
|
151
|
+
flex-wrap: nowrap !important;
|
|
152
|
+
align-items: center !important;
|
|
153
|
+
column-gap: var(--ui-space-2) !important;
|
|
154
|
+
}
|
|
155
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .menu {
|
|
156
|
+
display: grid !important;
|
|
157
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
158
|
+
justify-items: center !important;
|
|
159
|
+
flex: none;
|
|
160
|
+
}
|
|
161
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .inline-navigation {
|
|
162
|
+
display: none !important;
|
|
163
|
+
}
|
|
131
164
|
}
|
|
132
165
|
|
|
133
166
|
.automatic-menu {
|
|
@@ -373,6 +406,7 @@
|
|
|
373
406
|
display: none !important;
|
|
374
407
|
}
|
|
375
408
|
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .identity:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
409
|
+
column-gap: var(--ui-space-2) !important;
|
|
376
410
|
flex-wrap: nowrap !important;
|
|
377
411
|
align-items: center !important;
|
|
378
412
|
}
|
|
@@ -384,22 +418,52 @@
|
|
|
384
418
|
}
|
|
385
419
|
/* Authored native sidebar triggers remain usable before JavaScript upgrades the header. */
|
|
386
420
|
@media (width < 40rem) {
|
|
387
|
-
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
421
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
422
|
+
flex-wrap: nowrap !important;
|
|
423
|
+
align-items: center !important;
|
|
424
|
+
column-gap: var(--ui-space-2) !important;
|
|
425
|
+
}
|
|
426
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .menu:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
427
|
+
display: grid !important;
|
|
428
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
429
|
+
justify-items: center !important;
|
|
430
|
+
flex: none;
|
|
431
|
+
}
|
|
432
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .inline-navigation:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
433
|
+
display: none !important;
|
|
434
|
+
}
|
|
391
435
|
}
|
|
392
436
|
@media (width < 48rem) {
|
|
393
|
-
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
437
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
438
|
+
flex-wrap: nowrap !important;
|
|
439
|
+
align-items: center !important;
|
|
440
|
+
column-gap: var(--ui-space-2) !important;
|
|
441
|
+
}
|
|
442
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .menu:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
443
|
+
display: grid !important;
|
|
444
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
445
|
+
justify-items: center !important;
|
|
446
|
+
flex: none;
|
|
447
|
+
}
|
|
448
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .inline-navigation:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
449
|
+
display: none !important;
|
|
450
|
+
}
|
|
397
451
|
}
|
|
398
452
|
@media (width < 64rem) {
|
|
399
|
-
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
453
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .identity:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
454
|
+
flex-wrap: nowrap !important;
|
|
455
|
+
align-items: center !important;
|
|
456
|
+
column-gap: var(--ui-space-2) !important;
|
|
457
|
+
}
|
|
458
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .menu:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
459
|
+
display: grid !important;
|
|
460
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
461
|
+
justify-items: center !important;
|
|
462
|
+
flex: none;
|
|
463
|
+
}
|
|
464
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty)) .inline-navigation:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
465
|
+
display: none !important;
|
|
466
|
+
}
|
|
403
467
|
}
|
|
404
468
|
|
|
405
469
|
.automatic-menu:where(:scope, :scope *) {
|
package/vanilla/UiSiteHeader.js
CHANGED
|
@@ -3,7 +3,7 @@ import { attachGeneratedController, buildTemplate, toAttribute, toText, writeAtt
|
|
|
3
3
|
import * as controller from "../components/ui-site-header/ui-site-header.js";
|
|
4
4
|
import "../styles/ui-site-header.css";
|
|
5
5
|
|
|
6
|
-
const T0 = ["",[],"\n ",["div",["class","identity"],"\n ",["div",["class","brand"],4],"\n ",["div",["class","menu"],"\n ",["div",["class","custom-menu"],4],"\n ",["div",["class","automatic-menu"],"\n ",["ui-icon-button",["size","sm","aria-haspopup","dialog","aria-expanded","false"],["ui-icon",["name","menu"]]],"\n "],"\n "],"\n ",["div",["class","inline-navigation"],["nav",["class","navigation"],4]],"\n ",["dialog",["class","navigation-panel"],"\n ",["div",["class","panel-heading"],"\n ",["span",["class","panel-title"],0],"\n ",["ui-icon-button",["size","sm"],["ui-icon",["name","x"]]],"\n "],"\n "],"\n "],"\n ",["div",["class","actions"],4],"\n "];
|
|
6
|
+
const T0 = ["",[],"\n ",["div",["class","identity"],"\n ",["div",["class","brand"],4],"\n ",["div",["class","menu"],"\n ",["div",["class","custom-menu"],4],"\n ",["div",["class","automatic-menu"],"\n ",["ui-icon-button",["size","sm","aria-haspopup","dialog","aria-expanded","false"],["ui-icon",["name","menu"]]],"\n "],"\n "],"\n ",["div",["class","inline-navigation"],"\n ",["nav",["class","navigation"],4],"\n "],"\n ",["dialog",["class","navigation-panel"],"\n ",["div",["class","panel-heading"],"\n ",["span",["class","panel-title"],0],"\n ",["ui-icon-button",["size","sm"],["ui-icon",["name","x"]]],"\n "],"\n "],"\n "],"\n ",["div",["class","actions"],4],"\n "];
|
|
7
7
|
const T1 = ["",[]];
|
|
8
8
|
const T2 = ["",[]];
|
|
9
9
|
const T3 = ["",[]];
|
|
@@ -102,7 +102,7 @@ export function createUiSiteHeader(options = {}, html) {
|
|
|
102
102
|
const t5 = t4.firstChild;
|
|
103
103
|
const t6 = t4.nextSibling.nextSibling.firstChild.nextSibling;
|
|
104
104
|
const t7 = t3.nextSibling.nextSibling;
|
|
105
|
-
const t8 = t7.firstChild;
|
|
105
|
+
const t8 = t7.firstChild.nextSibling;
|
|
106
106
|
const t9 = t8.firstChild;
|
|
107
107
|
const t10 = t7.nextSibling.nextSibling;
|
|
108
108
|
const t11 = t10.firstChild.nextSibling;
|
package/vue/UiSiteHeader.vue
CHANGED
|
@@ -414,6 +414,7 @@ useComponentHost(() => import('../components/ui-site-header/ui-site-header.js'),
|
|
|
414
414
|
display: none !important;
|
|
415
415
|
}
|
|
416
416
|
:global(:scope[data-ui-site-header-state~="drawer"] .identity:where([data-hn-ui-site-header])) {
|
|
417
|
+
column-gap: var(--ui-space-2) !important;
|
|
417
418
|
flex-wrap: nowrap !important;
|
|
418
419
|
align-items: center !important;
|
|
419
420
|
}
|
|
@@ -429,10 +430,7 @@ useComponentHost(() => import('../components/ui-site-header/ui-site-header.js'),
|
|
|
429
430
|
.identity:where([data-hn-ui-site-header])) {
|
|
430
431
|
flex-wrap: nowrap !important;
|
|
431
432
|
align-items: center !important;
|
|
432
|
-
|
|
433
|
-
:global(:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
434
|
-
.brand:where([data-hn-ui-site-header])) {
|
|
435
|
-
flex: 1 1 0;
|
|
433
|
+
column-gap: var(--ui-space-2) !important;
|
|
436
434
|
}
|
|
437
435
|
:global(:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
438
436
|
.menu:where([data-hn-ui-site-header])) {
|
|
@@ -451,10 +449,7 @@ useComponentHost(() => import('../components/ui-site-header/ui-site-header.js'),
|
|
|
451
449
|
.identity:where([data-hn-ui-site-header])) {
|
|
452
450
|
flex-wrap: nowrap !important;
|
|
453
451
|
align-items: center !important;
|
|
454
|
-
|
|
455
|
-
:global(:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
456
|
-
.brand:where([data-hn-ui-site-header])) {
|
|
457
|
-
flex: 1 1 0;
|
|
452
|
+
column-gap: var(--ui-space-2) !important;
|
|
458
453
|
}
|
|
459
454
|
:global(:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
460
455
|
.menu:where([data-hn-ui-site-header])) {
|
|
@@ -473,10 +468,7 @@ useComponentHost(() => import('../components/ui-site-header/ui-site-header.js'),
|
|
|
473
468
|
.identity:where([data-hn-ui-site-header])) {
|
|
474
469
|
flex-wrap: nowrap !important;
|
|
475
470
|
align-items: center !important;
|
|
476
|
-
|
|
477
|
-
:global(:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
478
|
-
.brand:where([data-hn-ui-site-header])) {
|
|
479
|
-
flex: 1 1 0;
|
|
471
|
+
column-gap: var(--ui-space-2) !important;
|
|
480
472
|
}
|
|
481
473
|
:global(:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
482
474
|
.menu:where([data-hn-ui-site-header])) {
|
|
@@ -711,6 +703,7 @@ useComponentHost(() => import('../components/ui-site-header/ui-site-header.js'),
|
|
|
711
703
|
}
|
|
712
704
|
:global(:where(.ui-site-header)[data-ui-site-header-state~="drawer"]
|
|
713
705
|
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
|
706
|
+
column-gap: var(--ui-space-2) !important;
|
|
714
707
|
flex-wrap: nowrap !important;
|
|
715
708
|
align-items: center !important;
|
|
716
709
|
}
|
|
@@ -726,10 +719,7 @@ useComponentHost(() => import('../components/ui-site-header/ui-site-header.js'),
|
|
|
726
719
|
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
|
727
720
|
flex-wrap: nowrap !important;
|
|
728
721
|
align-items: center !important;
|
|
729
|
-
|
|
730
|
-
:global(:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
731
|
-
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
|
732
|
-
flex: 1 1 0;
|
|
722
|
+
column-gap: var(--ui-space-2) !important;
|
|
733
723
|
}
|
|
734
724
|
:global(:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
735
725
|
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
|
@@ -748,10 +738,7 @@ useComponentHost(() => import('../components/ui-site-header/ui-site-header.js'),
|
|
|
748
738
|
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
|
749
739
|
flex-wrap: nowrap !important;
|
|
750
740
|
align-items: center !important;
|
|
751
|
-
|
|
752
|
-
:global(:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
753
|
-
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
|
754
|
-
flex: 1 1 0;
|
|
741
|
+
column-gap: var(--ui-space-2) !important;
|
|
755
742
|
}
|
|
756
743
|
:global(:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
757
744
|
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
|
@@ -770,10 +757,7 @@ useComponentHost(() => import('../components/ui-site-header/ui-site-header.js'),
|
|
|
770
757
|
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
|
771
758
|
flex-wrap: nowrap !important;
|
|
772
759
|
align-items: center !important;
|
|
773
|
-
|
|
774
|
-
:global(:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
775
|
-
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
|
776
|
-
flex: 1 1 0;
|
|
760
|
+
column-gap: var(--ui-space-2) !important;
|
|
777
761
|
}
|
|
778
762
|
:global(:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
779
763
|
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header])) {
|
package/vue/components.css
CHANGED
|
@@ -10190,6 +10190,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10190
10190
|
display: none !important;
|
|
10191
10191
|
}
|
|
10192
10192
|
:scope[data-ui-site-header-state~="drawer"] .identity:where([data-hn-ui-site-header]) {
|
|
10193
|
+
column-gap: var(--ui-space-2) !important;
|
|
10193
10194
|
flex-wrap: nowrap !important;
|
|
10194
10195
|
align-items: center !important;
|
|
10195
10196
|
}
|
|
@@ -10205,10 +10206,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10205
10206
|
.identity:where([data-hn-ui-site-header]) {
|
|
10206
10207
|
flex-wrap: nowrap !important;
|
|
10207
10208
|
align-items: center !important;
|
|
10208
|
-
|
|
10209
|
-
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10210
|
-
.brand:where([data-hn-ui-site-header]) {
|
|
10211
|
-
flex: 1 1 0;
|
|
10209
|
+
column-gap: var(--ui-space-2) !important;
|
|
10212
10210
|
}
|
|
10213
10211
|
:scope[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10214
10212
|
.menu:where([data-hn-ui-site-header]) {
|
|
@@ -10227,10 +10225,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10227
10225
|
.identity:where([data-hn-ui-site-header]) {
|
|
10228
10226
|
flex-wrap: nowrap !important;
|
|
10229
10227
|
align-items: center !important;
|
|
10230
|
-
|
|
10231
|
-
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10232
|
-
.brand:where([data-hn-ui-site-header]) {
|
|
10233
|
-
flex: 1 1 0;
|
|
10228
|
+
column-gap: var(--ui-space-2) !important;
|
|
10234
10229
|
}
|
|
10235
10230
|
:scope[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10236
10231
|
.menu:where([data-hn-ui-site-header]) {
|
|
@@ -10249,10 +10244,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10249
10244
|
.identity:where([data-hn-ui-site-header]) {
|
|
10250
10245
|
flex-wrap: nowrap !important;
|
|
10251
10246
|
align-items: center !important;
|
|
10252
|
-
|
|
10253
|
-
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10254
|
-
.brand:where([data-hn-ui-site-header]) {
|
|
10255
|
-
flex: 1 1 0;
|
|
10247
|
+
column-gap: var(--ui-space-2) !important;
|
|
10256
10248
|
}
|
|
10257
10249
|
:scope[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10258
10250
|
.menu:where([data-hn-ui-site-header]) {
|
|
@@ -10480,6 +10472,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10480
10472
|
}
|
|
10481
10473
|
:where(.ui-site-header)[data-ui-site-header-state~="drawer"]
|
|
10482
10474
|
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10475
|
+
column-gap: var(--ui-space-2) !important;
|
|
10483
10476
|
flex-wrap: nowrap !important;
|
|
10484
10477
|
align-items: center !important;
|
|
10485
10478
|
}
|
|
@@ -10495,10 +10488,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10495
10488
|
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10496
10489
|
flex-wrap: nowrap !important;
|
|
10497
10490
|
align-items: center !important;
|
|
10498
|
-
|
|
10499
|
-
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10500
|
-
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10501
|
-
flex: 1 1 0;
|
|
10491
|
+
column-gap: var(--ui-space-2) !important;
|
|
10502
10492
|
}
|
|
10503
10493
|
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10504
10494
|
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
@@ -10517,10 +10507,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10517
10507
|
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10518
10508
|
flex-wrap: nowrap !important;
|
|
10519
10509
|
align-items: center !important;
|
|
10520
|
-
|
|
10521
|
-
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10522
|
-
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10523
|
-
flex: 1 1 0;
|
|
10510
|
+
column-gap: var(--ui-space-2) !important;
|
|
10524
10511
|
}
|
|
10525
10512
|
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10526
10513
|
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
@@ -10539,10 +10526,7 @@ dialog:where([data-hn-ui-search-shell]) {
|
|
|
10539
10526
|
.identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10540
10527
|
flex-wrap: nowrap !important;
|
|
10541
10528
|
align-items: center !important;
|
|
10542
|
-
|
|
10543
|
-
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10544
|
-
.brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|
|
10545
|
-
flex: 1 1 0;
|
|
10529
|
+
column-gap: var(--ui-space-2) !important;
|
|
10546
10530
|
}
|
|
10547
10531
|
:where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:not([data-ui-site-header-state~="enhanced"]):has(.custom-menu:not(:empty))
|
|
10548
10532
|
.menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
|