@threadlabs/looma 0.44.6 → 0.45.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.
@@ -1184,15 +1184,20 @@ svg,.arc {
1184
1184
  align-self: center;
1185
1185
  }
1186
1186
  :scope[data-appearance="outline"]:not([data-tone="neutral"]):where([data-hn-ui-button]) {
1187
+ --_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
1187
1188
  --_outline-wash: oklch(from var(--_tone) l c h / calc(8% * var(--ui-tonal-opacity, 1)));
1188
1189
  border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
1189
1190
  background-color: var(--ui-button-surface, transparent);
1190
1191
  box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
1191
1192
  background-image:
1192
1193
  linear-gradient(var(--_outline-wash), var(--_outline-wash)),
1193
- var(--ui-surface-highlight, linear-gradient(transparent, transparent));
1194
+ var(--_outline-highlight);
1194
1195
  }
1195
1196
  :scope[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button]) {
1197
+ --_outline-highlight: var(
1198
+ --ui-neutral-highlight,
1199
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent))
1200
+ );
1196
1201
  --_outline-wash: oklch(from var(--_tone) l c h / calc(12% * var(--ui-tonal-opacity, 1)));
1197
1202
  background-color: var(--ui-button-hover-surface, transparent);
1198
1203
  border-color: var(--ui-button-hover-border, var(--_tone-outline-border));
@@ -4044,6 +4049,7 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
4044
4049
  color: var(--ui-icon-button-hover-text, var(--_icon-button-text, var(--ui-text-primary)));
4045
4050
  }
4046
4051
  :scope[data-appearance="outline"]:not([data-tone="neutral"]):where([data-hn-ui-icon-button]) {
4052
+ --_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
4047
4053
  --_outline-wash: oklch(
4048
4054
  from var(--_icon-button-solid-surface, var(--ui-accent))
4049
4055
  l c h / calc(8% * var(--ui-tonal-opacity, 1))
@@ -4052,9 +4058,13 @@ html[data-ui-input-modality="touch"] :scope:where([data-hn-ui-icon-button])::aft
4052
4058
  background-color: var(--ui-icon-button-outline-surface, transparent);
4053
4059
  background-image:
4054
4060
  linear-gradient(var(--_outline-wash), var(--_outline-wash)),
4055
- var(--ui-surface-highlight, linear-gradient(transparent, transparent));
4061
+ var(--_outline-highlight);
4056
4062
  }
4057
4063
  :scope[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button]) {
4064
+ --_outline-highlight: var(
4065
+ --ui-neutral-highlight,
4066
+ var(--ui-surface-highlight, linear-gradient(transparent, transparent))
4067
+ );
4058
4068
  --_outline-wash: oklch(
4059
4069
  from var(--_icon-button-solid-surface, var(--ui-accent))
4060
4070
  l c h / calc(12% * var(--ui-tonal-opacity, 1))
@@ -9584,7 +9594,7 @@ dialog:where([data-hn-ui-search-shell]) {
9584
9594
  gap: var(--ui-space-4) !important;
9585
9595
  min-inline-size: 0;
9586
9596
  }
9587
- :scope[data-ui-section-state~="variant=card"]:where([data-hn-ui-section]) {
9597
+ :scope[data-ui-section-state~="variant=card"]:where([data-hn-ui-section]),:scope[data-ui-section-state~="variant=fieldset"]:where([data-hn-ui-section]) {
9588
9598
  --_ui-selection-context-surface: initial;
9589
9599
  --_ui-selection-context-border: initial;
9590
9600
  --_ui-selection-context-text: initial;
@@ -9593,11 +9603,34 @@ dialog:where([data-hn-ui-search-shell]) {
9593
9603
  border-radius: var(--ui-radius-lg);
9594
9604
  background: var(--ui-surface-raised);
9595
9605
  }
9606
+ :scope[data-ui-section-state~="variant=fieldset"]:where([data-hn-ui-section]) {
9607
+ display: block !important;
9608
+ box-sizing: border-box !important;
9609
+ margin: 0 !important;
9610
+ padding-block-start: var(--ui-space-4) !important;
9611
+ }
9612
+ .legend:where([data-hn-ui-section]) {
9613
+ max-inline-size: 100%;
9614
+ box-sizing: border-box !important;
9615
+ padding-inline: var(--ui-space-2) !important;
9616
+ margin-inline-start: calc(-1 * var(--ui-space-2)) !important;
9617
+ overflow-wrap: anywhere;
9618
+ }
9619
+ .legend .heading:where([data-hn-ui-section]) {
9620
+ font-size: var(--ui-font-size-md);
9621
+ }
9622
+ :scope[data-ui-section-state~="variant=fieldset"] .head:where([data-hn-ui-section]) {
9623
+ margin-block-end: var(--ui-space-4) !important;
9624
+ }
9625
+ :scope[data-ui-section-state~="variant=fieldset"]
9626
+ .head:has(.description:empty):has(.actions:empty):where([data-hn-ui-section]) {
9627
+ display: none !important;
9628
+ }
9596
9629
  :scope[data-ui-section-state~="variant=divided"]:where([data-hn-ui-section]) {
9597
9630
  padding-block-start: var(--ui-space-6) !important;
9598
9631
  border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
9599
9632
  }
9600
- :scope[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"]:where([data-hn-ui-section]) {
9633
+ :scope[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"]:where([data-hn-ui-section]),:scope[data-ui-section-state~="variant=fieldset"][data-ui-section-state~="tone=danger"]:where([data-hn-ui-section]) {
9601
9634
  --_ui-selection-context-surface: light-dark(
9602
9635
  oklch(from var(--ui-danger-soft) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
9603
9636
  oklch(from var(--ui-danger-soft) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
@@ -10031,7 +10064,7 @@ dialog:where([data-hn-ui-search-shell]) {
10031
10064
  }
10032
10065
 
10033
10066
  /* Text shares a baseline inside one group; the group is centred beside any control height. */
10034
- /* Without a supplied menu trigger, keep the destinations available on narrow screens. */
10067
+ /* The same navigation remains inline before upgrade and on desktop. No links are cloned or moved. */
10035
10068
  @scope (.ui-site-header) to ([data-hn]) {
10036
10069
  :scope:where([data-hn-ui-site-header]) {
10037
10070
  box-sizing: border-box !important;
@@ -10053,16 +10086,13 @@ dialog:where([data-hn-ui-search-shell]) {
10053
10086
  inset-block-start: 0;
10054
10087
  z-index: var(--ui-site-header-z-index, 10);
10055
10088
  }
10056
- .menu:where([data-hn-ui-site-header]),.actions:where([data-hn-ui-site-header]) {
10057
- display: flex !important;
10089
+ .actions:where([data-hn-ui-site-header]) {
10090
+ display: grid !important;
10058
10091
  flex: none;
10059
10092
  align-items: center !important;
10060
10093
  gap: var(--ui-space-2) !important;
10061
10094
  min-inline-size: 0;
10062
10095
  max-inline-size: 100%;
10063
- }
10064
- .actions:where([data-hn-ui-site-header]) {
10065
- display: grid !important;
10066
10096
  grid-auto-flow: column !important;
10067
10097
  grid-auto-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
10068
10098
  justify-items: center !important;
@@ -10099,9 +10129,6 @@ dialog:where([data-hn-ui-search-shell]) {
10099
10129
  font-size: var(--ui-font-size-sm);
10100
10130
  font-weight: var(--ui-font-semibold);
10101
10131
  }
10102
- :scope:has(> .menu:not(:empty)) .navigation:where([data-hn-ui-site-header]) {
10103
- display: none !important;
10104
- }
10105
10132
  .navigation > :where(:not([data-hn-ui-site-header])):is(a) {
10106
10133
  color: inherit;
10107
10134
  text-decoration: none;
@@ -10114,7 +10141,7 @@ dialog:where([data-hn-ui-search-shell]) {
10114
10141
  outline: var(--ui-focus-width) solid var(--ui-focus-ring);
10115
10142
  outline-offset: var(--ui-focus-width);
10116
10143
  }
10117
- .menu:empty:where([data-hn-ui-site-header]),.actions:empty:where([data-hn-ui-site-header]),.brand:empty:where([data-hn-ui-site-header]),.navigation:empty:where([data-hn-ui-site-header]) {
10144
+ .actions:empty:where([data-hn-ui-site-header]),.brand:empty:where([data-hn-ui-site-header]),.navigation:empty:where([data-hn-ui-site-header]) {
10118
10145
  display: none !important;
10119
10146
  }
10120
10147
  @media (min-width: 40rem) {
@@ -10122,47 +10149,399 @@ dialog:where([data-hn-ui-search-shell]) {
10122
10149
  min-block-size: var(--ui-site-header-height, 4.25rem);
10123
10150
  column-gap: var(--ui-space-4) !important;
10124
10151
  }
10125
- :scope[data-ui-site-header-state~="breakpoint=sm"]
10126
- .navigation:not(:empty):where([data-hn-ui-site-header]) {
10127
- display: flex !important;
10128
- }
10129
- :scope[data-ui-site-header-state~="breakpoint=sm"]
10130
- .menu:where([data-hn-ui-site-header]) {
10131
- display: none !important;
10132
- }
10133
10152
  }
10134
10153
  @media (min-width: 48rem) {
10135
10154
  :scope[data-ui-site-header-state~="breakpoint=md"]:where([data-hn-ui-site-header]) {
10136
10155
  min-block-size: var(--ui-site-header-height, 4.25rem);
10137
10156
  column-gap: var(--ui-space-4) !important;
10138
10157
  }
10139
- :scope[data-ui-site-header-state~="breakpoint=md"]
10140
- .navigation:not(:empty):where([data-hn-ui-site-header]) {
10141
- display: flex !important;
10142
- }
10143
- :scope[data-ui-site-header-state~="breakpoint=md"]
10144
- .menu:where([data-hn-ui-site-header]) {
10145
- display: none !important;
10146
- }
10147
10158
  }
10148
10159
  @media (min-width: 64rem) {
10149
10160
  :scope[data-ui-site-header-state~="breakpoint=lg"]:where([data-hn-ui-site-header]) {
10150
10161
  min-block-size: var(--ui-site-header-height, 4.25rem);
10151
10162
  column-gap: var(--ui-space-4) !important;
10152
10163
  }
10153
- :scope[data-ui-site-header-state~="breakpoint=lg"]
10154
- .navigation:not(:empty):where([data-hn-ui-site-header]) {
10155
- display: flex !important;
10156
10164
  }
10157
- :scope[data-ui-site-header-state~="breakpoint=lg"]
10158
- .menu:where([data-hn-ui-site-header]) {
10159
- display: none !important;
10165
+ .navigation-panel:where([data-hn-ui-site-header]) {
10166
+ position: static;
10167
+ display: flex !important;
10168
+ align-items: baseline !important;
10169
+ min-inline-size: 0;
10170
+ max-inline-size: none;
10171
+ margin: 0 !important;
10172
+ padding: 0 !important;
10173
+ border: 0;
10174
+ background: transparent;
10175
+ color: inherit;
10176
+ }
10177
+ .navigation-panel:not([open]):where([data-hn-ui-site-header]),.menu:where([data-hn-ui-site-header]),.panel-heading:where([data-hn-ui-site-header]) {
10178
+ display: none !important;
10179
+ }
10180
+ :scope[data-ui-site-header-state~="drawer"] .identity:where([data-hn-ui-site-header]) {
10181
+ flex-wrap: nowrap !important;
10182
+ align-items: center !important;
10183
+ }
10184
+ :scope[data-ui-site-header-state~="drawer"] .brand:where([data-hn-ui-site-header]) {
10185
+ flex: 1 1 0;
10186
+ }
10187
+ :scope[data-ui-site-header-state~="enhanced"][data-ui-site-header-state~="drawer"]:has(.navigation:not(:empty), .custom-menu:not(:empty))
10188
+ .menu:where([data-hn-ui-site-header]) {
10189
+ display: grid !important;
10190
+ grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
10191
+ justify-items: center !important;
10192
+ flex: none;
10193
+ }
10194
+ .automatic-menu:where([data-hn-ui-site-header]) {
10195
+ display: grid !important;
10196
+ justify-items: center !important;
10197
+ }
10198
+ .custom-menu:empty:where([data-hn-ui-site-header]),.menu:has(> .custom-menu:not(:empty)) .automatic-menu:where([data-hn-ui-site-header]) {
10199
+ display: none !important;
10200
+ }
10201
+ :scope[data-ui-site-header-state~="drawer"]
10202
+ .navigation-panel:where([data-hn-ui-site-header]) {
10203
+ position: fixed;
10204
+ inset-block: 0;
10205
+ inset-inline-start: 0;
10206
+ inset-inline-end: auto;
10207
+ box-sizing: border-box !important;
10208
+ inline-size: min(var(--ui-site-header-navigation-width, 280px), 85vw);
10209
+ max-inline-size: none;
10210
+ block-size: 100dvh;
10211
+ max-block-size: none;
10212
+ margin: 0 !important;
10213
+ padding: 0 !important;
10214
+ overflow: hidden;
10215
+ border: 0;
10216
+ border-inline-end: var(--ui-border-width) solid
10217
+ var(--ui-overlay-border, var(--ui-border-divider));
10218
+ background: var(--ui-overlay-surface, var(--ui-surface-elevated));
10219
+ color: var(--ui-text-primary);
10220
+ box-shadow: var(--ui-elevation-overlay, var(--ui-shadow-lg));
10221
+ transform: translateX(-100%);
10222
+ transition:
10223
+ transform var(--ui-motion-reveal) var(--ui-motion-reveal-ease),
10224
+ display var(--ui-motion-reveal) allow-discrete,
10225
+ overlay var(--ui-motion-reveal) allow-discrete;
10226
+ }
10227
+ :scope[data-ui-site-header-state~="drawer"]
10228
+ .navigation-panel[open]:where([data-hn-ui-site-header]) {
10229
+ display: flex !important;
10230
+ flex-direction: column !important;
10231
+ align-items: stretch !important;
10232
+ transform: translateX(0);
10233
+ }
10234
+ :scope[data-ui-site-header-state~="drawer"]
10235
+ .navigation-panel:dir(rtl):not([open]):where([data-hn-ui-site-header]) {
10236
+ transform: translateX(100%);
10237
+ }
10238
+ @starting-style {
10239
+ :scope[data-ui-site-header-state~="drawer"]
10240
+ .navigation-panel[open]:where([data-hn-ui-site-header]) {
10241
+ transform: translateX(-100%);
10242
+ }
10243
+ :scope[data-ui-site-header-state~="drawer"]
10244
+ .navigation-panel[open]:dir(rtl):where([data-hn-ui-site-header]) {
10245
+ transform: translateX(100%);
10246
+ }
10247
+ }
10248
+ :scope:where([data-hn-ui-site-header]) {
10249
+ --_ui-site-header-backdrop: var(--ui-overlay-backdrop, rgb(0 0 0 / 0.32));
10250
+ }
10251
+ .navigation-panel:where([data-hn-ui-site-header])::backdrop {
10252
+ background: var(--_ui-site-header-backdrop);
10253
+ }
10254
+ .navigation-panel[data-ui-backdrop-hidden]:where([data-hn-ui-site-header])::backdrop {
10255
+ background: transparent;
10256
+ }
10257
+ :scope[data-ui-site-header-state~="drawer"]
10258
+ .panel-heading:where([data-hn-ui-site-header]) {
10259
+ display: flex !important;
10260
+ align-items: center !important;
10261
+ justify-content: space-between !important;
10262
+ gap: var(--ui-space-3) !important;
10263
+ padding: var(--ui-space-4) !important;
10264
+ flex: none;
10265
+ border-block-end: var(--ui-border-width) solid var(--ui-border-divider);
10266
+ }
10267
+ .panel-title:where([data-hn-ui-site-header]) {
10268
+ font-size: var(--ui-font-size-lg);
10269
+ font-weight: var(--ui-font-semibold);
10270
+ line-height: var(--ui-line-height-tight);
10271
+ }
10272
+ :scope[data-ui-site-header-state~="drawer"] .navigation:where([data-hn-ui-site-header]) {
10273
+ font-weight: var(--ui-font-normal);
10274
+ flex: 1 1 auto;
10275
+ flex-direction: column !important;
10276
+ flex-wrap: nowrap !important;
10277
+ align-items: stretch !important;
10278
+ gap: var(--ui-space-4) !important;
10279
+ min-block-size: 0;
10280
+ overflow: auto;
10281
+ --_ui-scroll-fade-direction: to bottom;
10282
+ --_ui-scroll-fade-size: var(--ui-scroll-fade-size, 24px);
10283
+ mask-image: linear-gradient(
10284
+ var(--_ui-scroll-fade-direction),
10285
+ transparent,
10286
+ #000 var(--_ui-scroll-fade-start),
10287
+ #000 calc(100% - var(--_ui-scroll-fade-end)),
10288
+ transparent
10289
+ );
10290
+ animation:
10291
+ ui-scroll-fade-start linear,
10292
+ ui-scroll-fade-start-hold linear,
10293
+ ui-scroll-fade-end-hold linear,
10294
+ ui-scroll-fade-end linear;
10295
+ animation-timeline: scroll(self block);
10296
+ animation-range:
10297
+ 0 var(--_ui-scroll-fade-size),
10298
+ var(--_ui-scroll-fade-size) calc(100% + 1px),
10299
+ -1px calc(100% - var(--_ui-scroll-fade-size)),
10300
+ calc(100% - var(--_ui-scroll-fade-size)) 100%;
10301
+ overscroll-behavior: contain;
10302
+ padding: var(--ui-space-4) !important;
10303
+ }
10304
+ @media (prefers-reduced-motion: reduce) {
10305
+ :scope[data-ui-site-header-state~="drawer"]
10306
+ .navigation-panel:where([data-hn-ui-site-header]) {
10307
+ transition: none;
10160
10308
  }
10161
10309
  }
10162
10310
  :scope[hidden]:where([data-hn-ui-site-header]) {
10163
10311
  display: none !important;
10164
10312
  }
10165
10313
  }
10314
+ @scope ([data-slotted~="ui-site-header"]:not([data-hn])) to ([data-hn], [data-slotted]) {
10315
+ :where(.ui-site-header):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10316
+ box-sizing: border-box !important;
10317
+ display: flex !important;
10318
+ flex-wrap: wrap !important;
10319
+ align-items: center !important;
10320
+ align-content: center !important;
10321
+ gap: var(--ui-space-2) !important;
10322
+ inline-size: 100%;
10323
+ min-inline-size: 0;
10324
+ min-block-size: var(--ui-site-header-compact-height, 3.75rem);
10325
+ padding: var(--ui-space-2) var(--ui-site-header-padding-inline, var(--ui-space-4)) !important;
10326
+ border-block-end: var(--ui-border-width) solid var(--ui-site-header-border, var(--ui-border));
10327
+ background: var(--ui-site-header-surface, var(--ui-surface));
10328
+ color: var(--ui-text-primary);
10329
+ }
10330
+ :where(.ui-site-header)[data-ui-site-header-state~="sticky"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10331
+ position: sticky;
10332
+ inset-block-start: 0;
10333
+ z-index: var(--ui-site-header-z-index, 10);
10334
+ }
10335
+ .actions:where(:scope, :scope *):where([data-hn-ui-site-header]) {
10336
+ display: grid !important;
10337
+ flex: none;
10338
+ align-items: center !important;
10339
+ gap: var(--ui-space-2) !important;
10340
+ min-inline-size: 0;
10341
+ max-inline-size: 100%;
10342
+ grid-auto-flow: column !important;
10343
+ grid-auto-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
10344
+ justify-items: center !important;
10345
+ margin-inline-start: auto !important;
10346
+ }
10347
+ .identity:where(:scope, :scope *):where([data-hn-ui-site-header]) {
10348
+ display: flex !important;
10349
+ flex: 1 1 0;
10350
+ flex-wrap: wrap !important;
10351
+ align-items: baseline !important;
10352
+ gap: var(--ui-space-2) var(--ui-space-6) !important;
10353
+ min-inline-size: 0;
10354
+ }
10355
+ .brand:where(:scope, :scope *):where([data-hn-ui-site-header]) {
10356
+ min-inline-size: 0;
10357
+ font-size: var(--ui-font-size-lg);
10358
+ font-weight: var(--ui-font-bold);
10359
+ }
10360
+ .navigation:where(:scope, :scope *):where([data-hn-ui-site-header]) {
10361
+ display: flex !important;
10362
+ flex-wrap: wrap !important;
10363
+ align-items: baseline !important;
10364
+ gap: var(--ui-space-2) var(--ui-space-5) !important;
10365
+ min-inline-size: 0;
10366
+ font-size: var(--ui-font-size-sm);
10367
+ font-weight: var(--ui-font-semibold);
10368
+ }
10369
+ .actions:empty:where(:scope, :scope *):where([data-hn-ui-site-header]),.brand:empty:where(:scope, :scope *):where([data-hn-ui-site-header]),.navigation:empty:where(:scope, :scope *):where([data-hn-ui-site-header]) {
10370
+ display: none !important;
10371
+ }
10372
+ @media (min-width: 40rem) {
10373
+ :where(.ui-site-header)[data-ui-site-header-state~="breakpoint=sm"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10374
+ min-block-size: var(--ui-site-header-height, 4.25rem);
10375
+ column-gap: var(--ui-space-4) !important;
10376
+ }
10377
+ }
10378
+ @media (min-width: 48rem) {
10379
+ :where(.ui-site-header)[data-ui-site-header-state~="breakpoint=md"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10380
+ min-block-size: var(--ui-site-header-height, 4.25rem);
10381
+ column-gap: var(--ui-space-4) !important;
10382
+ }
10383
+ }
10384
+ @media (min-width: 64rem) {
10385
+ :where(.ui-site-header)[data-ui-site-header-state~="breakpoint=lg"]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10386
+ min-block-size: var(--ui-site-header-height, 4.25rem);
10387
+ column-gap: var(--ui-space-4) !important;
10388
+ }
10389
+ }
10390
+ .navigation-panel:where(:scope, :scope *):where([data-hn-ui-site-header]) {
10391
+ position: static;
10392
+ display: flex !important;
10393
+ align-items: baseline !important;
10394
+ min-inline-size: 0;
10395
+ max-inline-size: none;
10396
+ margin: 0 !important;
10397
+ padding: 0 !important;
10398
+ border: 0;
10399
+ background: transparent;
10400
+ color: inherit;
10401
+ }
10402
+ .navigation-panel:not([open]):where(:scope, :scope *):where([data-hn-ui-site-header]),.menu:where(:scope, :scope *):where([data-hn-ui-site-header]),.panel-heading:where(:scope, :scope *):where([data-hn-ui-site-header]) {
10403
+ display: none !important;
10404
+ }
10405
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10406
+ .identity:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10407
+ flex-wrap: nowrap !important;
10408
+ align-items: center !important;
10409
+ }
10410
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10411
+ .brand:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10412
+ flex: 1 1 0;
10413
+ }
10414
+ :where(.ui-site-header)[data-ui-site-header-state~="enhanced"][data-ui-site-header-state~="drawer"]:has(.navigation:not(:empty), .custom-menu:not(:empty))
10415
+ .menu:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10416
+ display: grid !important;
10417
+ grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
10418
+ justify-items: center !important;
10419
+ flex: none;
10420
+ }
10421
+ .automatic-menu:where(:scope, :scope *):where([data-hn-ui-site-header]) {
10422
+ display: grid !important;
10423
+ justify-items: center !important;
10424
+ }
10425
+ .custom-menu:empty:where(:scope, :scope *):where([data-hn-ui-site-header]),.menu:has(> .custom-menu:not(:empty)):where(:scope, :scope *)
10426
+ .automatic-menu:where([data-hn-ui-site-header]) {
10427
+ display: none !important;
10428
+ }
10429
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10430
+ .navigation-panel:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10431
+ position: fixed;
10432
+ inset-block: 0;
10433
+ inset-inline-start: 0;
10434
+ inset-inline-end: auto;
10435
+ box-sizing: border-box !important;
10436
+ inline-size: min(var(--ui-site-header-navigation-width, 280px), 85vw);
10437
+ max-inline-size: none;
10438
+ block-size: 100dvh;
10439
+ max-block-size: none;
10440
+ margin: 0 !important;
10441
+ padding: 0 !important;
10442
+ overflow: hidden;
10443
+ border: 0;
10444
+ border-inline-end: var(--ui-border-width) solid
10445
+ var(--ui-overlay-border, var(--ui-border-divider));
10446
+ background: var(--ui-overlay-surface, var(--ui-surface-elevated));
10447
+ color: var(--ui-text-primary);
10448
+ box-shadow: var(--ui-elevation-overlay, var(--ui-shadow-lg));
10449
+ transform: translateX(-100%);
10450
+ transition:
10451
+ transform var(--ui-motion-reveal) var(--ui-motion-reveal-ease),
10452
+ display var(--ui-motion-reveal) allow-discrete,
10453
+ overlay var(--ui-motion-reveal) allow-discrete;
10454
+ }
10455
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10456
+ .navigation-panel[open]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10457
+ display: flex !important;
10458
+ flex-direction: column !important;
10459
+ align-items: stretch !important;
10460
+ transform: translateX(0);
10461
+ }
10462
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10463
+ .navigation-panel:dir(rtl):not([open]):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10464
+ transform: translateX(100%);
10465
+ }
10466
+ @starting-style {
10467
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10468
+ .navigation-panel[open]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10469
+ transform: translateX(-100%);
10470
+ }
10471
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10472
+ .navigation-panel[open]:dir(rtl):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10473
+ transform: translateX(100%);
10474
+ }
10475
+ }
10476
+ :where(.ui-site-header):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10477
+ --_ui-site-header-backdrop: var(--ui-overlay-backdrop, rgb(0 0 0 / 0.32));
10478
+ }
10479
+ .navigation-panel:where(:not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where(:scope, :scope
10480
+ *):where([data-hn-ui-site-header])::backdrop {
10481
+ background: var(--_ui-site-header-backdrop);
10482
+ }
10483
+ .navigation-panel[data-ui-backdrop-hidden]:where(:not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where(:scope, :scope
10484
+ *):where([data-hn-ui-site-header])::backdrop {
10485
+ background: transparent;
10486
+ }
10487
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10488
+ .panel-heading:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10489
+ display: flex !important;
10490
+ align-items: center !important;
10491
+ justify-content: space-between !important;
10492
+ gap: var(--ui-space-3) !important;
10493
+ padding: var(--ui-space-4) !important;
10494
+ flex: none;
10495
+ border-block-end: var(--ui-border-width) solid var(--ui-border-divider);
10496
+ }
10497
+ .panel-title:where(:scope, :scope *):where([data-hn-ui-site-header]) {
10498
+ font-size: var(--ui-font-size-lg);
10499
+ font-weight: var(--ui-font-semibold);
10500
+ line-height: var(--ui-line-height-tight);
10501
+ }
10502
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10503
+ .navigation:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10504
+ font-weight: var(--ui-font-normal);
10505
+ flex: 1 1 auto;
10506
+ flex-direction: column !important;
10507
+ flex-wrap: nowrap !important;
10508
+ align-items: stretch !important;
10509
+ gap: var(--ui-space-4) !important;
10510
+ min-block-size: 0;
10511
+ overflow: auto;
10512
+ --_ui-scroll-fade-direction: to bottom;
10513
+ --_ui-scroll-fade-size: var(--ui-scroll-fade-size, 24px);
10514
+ mask-image: linear-gradient(
10515
+ var(--_ui-scroll-fade-direction),
10516
+ transparent,
10517
+ #000 var(--_ui-scroll-fade-start),
10518
+ #000 calc(100% - var(--_ui-scroll-fade-end)),
10519
+ transparent
10520
+ );
10521
+ animation:
10522
+ ui-scroll-fade-start linear,
10523
+ ui-scroll-fade-start-hold linear,
10524
+ ui-scroll-fade-end-hold linear,
10525
+ ui-scroll-fade-end linear;
10526
+ animation-timeline: scroll(self block);
10527
+ animation-range:
10528
+ 0 var(--_ui-scroll-fade-size),
10529
+ var(--_ui-scroll-fade-size) calc(100% + 1px),
10530
+ -1px calc(100% - var(--_ui-scroll-fade-size)),
10531
+ calc(100% - var(--_ui-scroll-fade-size)) 100%;
10532
+ overscroll-behavior: contain;
10533
+ padding: var(--ui-space-4) !important;
10534
+ }
10535
+ @media (prefers-reduced-motion: reduce) {
10536
+ :where(.ui-site-header)[data-ui-site-header-state~="drawer"]
10537
+ .navigation-panel:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10538
+ transition: none;
10539
+ }
10540
+ }
10541
+ :where(.ui-site-header)[hidden]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-site-header"]))):where([data-hn-ui-site-header]) {
10542
+ display: none !important;
10543
+ }
10544
+ }
10166
10545
 
10167
10546
  @property --_ui-skeleton-viewport-x {
10168
10547
  syntax: "<length>";
@@ -13364,16 +13743,18 @@ html[data-ui-input-modality="touch"]
13364
13743
  }
13365
13744
 
13366
13745
  :scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
13746
+ --_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
13367
13747
  --_outline-wash: oklch(from var(--_tone) l c h / calc(8% * var(--ui-tonal-opacity, 1)));
13368
13748
  border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
13369
13749
  background-color: var(--ui-button-surface, transparent);
13370
13750
  box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
13371
13751
  background-image:
13372
13752
  linear-gradient(var(--_outline-wash), var(--_outline-wash)),
13373
- var(--ui-surface-highlight, linear-gradient(transparent, transparent));
13753
+ var(--_outline-highlight);
13374
13754
  }
13375
13755
 
13376
13756
  :scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]) {
13757
+ --_outline-highlight: var(--ui-neutral-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent)));
13377
13758
  --_outline-wash: oklch(from var(--_tone) l c h / calc(12% * var(--ui-tonal-opacity, 1)));
13378
13759
  background-color: var(--ui-button-hover-surface, transparent);
13379
13760
  border-color: var(--ui-button-hover-border, var(--_tone-outline-border));
@@ -14430,15 +14811,17 @@ html[data-ui-input-modality="touch"]
14430
14811
  }
14431
14812
 
14432
14813
  :scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
14814
+ --_outline-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
14433
14815
  --_outline-wash: oklch(from var(--_icon-button-solid-surface, var(--ui-accent)) l c h / calc(8% * var(--ui-tonal-opacity, 1)));
14434
14816
  border-color: var(--ui-icon-button-border, var(--_tone-outline-border));
14435
14817
  background-color: var(--ui-icon-button-outline-surface, transparent);
14436
14818
  background-image:
14437
14819
  linear-gradient(var(--_outline-wash), var(--_outline-wash)),
14438
- var(--ui-surface-highlight, linear-gradient(transparent, transparent));
14820
+ var(--_outline-highlight);
14439
14821
  }
14440
14822
 
14441
14823
  :scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]) {
14824
+ --_outline-highlight: var(--ui-neutral-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent)));
14442
14825
  --_outline-wash: oklch(from var(--_icon-button-solid-surface, var(--ui-accent)) l c h / calc(12% * var(--ui-tonal-opacity, 1)));
14443
14826
  background-color: var(--ui-icon-button-hover-surface, transparent);
14444
14827
  border-color: var(--ui-icon-button-hover-border, var(--_tone-outline-border));
@@ -6837,6 +6837,20 @@ function createUiIcon(options = {}, html) {
6837
6837
  "tag": "path",
6838
6838
  "d": "M21 12a9 9 0 1 1-6.219-8.56"
6839
6839
  }],
6840
+ "menu": [
6841
+ {
6842
+ "tag": "path",
6843
+ "d": "M4 5h16"
6844
+ },
6845
+ {
6846
+ "tag": "path",
6847
+ "d": "M4 12h16"
6848
+ },
6849
+ {
6850
+ "tag": "path",
6851
+ "d": "M4 19h16"
6852
+ }
6853
+ ],
6840
6854
  "merge": [
6841
6855
  {
6842
6856
  "tag": "path",