yukit-web 0.13.0 → 1.0.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yukit-web",
3
3
  "description": "Angular UI component library for Yurest web applications.",
4
- "version": "0.13.0",
4
+ "version": "1.0.0",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -0,0 +1,3 @@
1
+ body.yuw-layout-page {
2
+ background-color: var(--sidebar);
3
+ }
@@ -0,0 +1,20 @@
1
+ :root {
2
+ --yuw-sidebar-item-text: var(--sidebar-rail-text);
3
+ --yuw-sidebar-item-icon: var(--sidebar-rail-icon);
4
+ --yuw-sidebar-item-hover: var(--sidebar-rail-hover);
5
+ --yuw-sidebar-item-active: var(--sidebar-rail-active);
6
+ --yuw-sidebar-item-active-text: var(--sidebar-rail-icon-active);
7
+ }
8
+
9
+ .yuw-sidebar-panel {
10
+ --yuw-sidebar-item-text: var(--sidebar-panel-text);
11
+ --yuw-sidebar-item-icon: var(--sidebar-panel-icon);
12
+ --yuw-sidebar-item-hover: var(--sidebar-item-hover);
13
+ --yuw-sidebar-item-active: var(--sidebar-item-active);
14
+ --yuw-sidebar-item-active-text: var(--sidebar-item-active-text);
15
+ }
16
+
17
+ [data-slot='sidebar'][data-mobile='true'] {
18
+ border-start-end-radius: var(--radius-4xl, 2rem);
19
+ border-end-end-radius: var(--radius-4xl, 2rem);
20
+ }
@@ -14,6 +14,8 @@
14
14
  @import './components/label.css';
15
15
  @import './components/reveal-on-hover.css';
16
16
  @import './components/overflow-list-cell.css';
17
+ @import './components/sidebar.css';
18
+ @import './components/layout.css';
17
19
  @import './spartan-overwrites/accordion.css';
18
20
  @import './spartan-overwrites/sheet.css';
19
21
  @import './spartan-overwrites/sonner.css';
@@ -7,31 +7,30 @@
7
7
  --primary-3: #ffbcb7;
8
8
  --primary-4: #ff8a86;
9
9
  --primary-5: #f95a5c;
10
- --primary-6: #cd333b;
11
- --primary-7: #a1252c;
12
- --primary-8: #771c20;
13
- --primary-9: #4f1315;
14
- --primary-text-strong: var(--primary-8);
15
- --primary-text: var(--primary-7);
16
- --primary-text-active: var(--primary-8);
17
- --primary-text-cta: var(--primary-7);
18
- --primary-fill-pressed: var(--primary-7);
19
- --primary-fill-hover: var(--primary-6);
10
+ --primary-6: #e64249;
11
+ --primary-7: #cd333b;
12
+ --primary-8: #a1252c;
13
+ --primary-9: #771c20;
14
+ --primary-10: #4f1315;
15
+ --primary-text-strong: var(--primary-9);
16
+ --primary-text: var(--primary-8);
17
+ --primary-text-active: var(--primary-9);
18
+ --primary-text-cta: var(--primary-8);
19
+ --primary-fill-pressed: var(--primary-8);
20
+ --primary-fill-hover: var(--primary-7);
20
21
  --primary-fill-cta: var(--primary-5);
21
- --primary-border-selected: var(--primary-6);
22
+ --primary-border-selected: var(--primary-7);
22
23
  --primary-border: var(--primary-4);
23
24
  --primary-subtle: var(--primary-1);
24
25
  --primary-subtle-hover: var(--primary-2);
25
- --primary-on-subtle-overlay: var(--primary-7);
26
- --primary-on-subtle: var(--primary-7);
27
- --primary-fill-hover-layer: var(--neutrals-none);
28
- --primary-fill-pressed-layer: var(--neutrals-none);
26
+ --primary-on-subtle-overlay: var(--primary-8);
27
+ --primary-on-subtle: var(--primary-8);
29
28
  --primary-on-fill: var(--neutrals-on-fill);
30
29
  --primary-tonal: var(--primary-2);
31
30
  --primary-tonal-hover: var(--primary-3);
32
31
  --primary-tonal-pressed: var(--primary-4);
33
- --primary-border-hover: var(--primary-7);
34
- --primary-border-pressed: var(--primary-8);
32
+ --primary-border-hover: var(--primary-8);
33
+ --primary-border-pressed: var(--primary-9);
35
34
 
36
35
  /** || secondary || */
37
36
  --secondary-1: #eef1fe;
@@ -40,44 +39,45 @@
40
39
  --secondary-4: #b2bef2;
41
40
  --secondary-5: #93a0e0;
42
41
  --secondary-6: #5f6ab4;
43
- --secondary-7: #353d72;
44
- --secondary-8: #161a3d;
45
- --secondary-9: #080b20;
46
- --secondary-text-strong: var(--secondary-9);
47
- --secondary-text: var(--secondary-8);
48
- --secondary-fill-pressed: var(--secondary-9);
49
- --secondary-fill: var(--secondary-7);
50
- --secondary-fill-hover: var(--secondary-8);
42
+ --secondary-7: #444d94;
43
+ --secondary-8: #353d72;
44
+ --secondary-9: #161a3d;
45
+ --secondary-10: #080b20;
46
+ --secondary-text-strong: var(--secondary-10);
47
+ --secondary-text: var(--secondary-9);
48
+ --secondary-fill-pressed: var(--secondary-10);
49
+ --secondary-fill-hover: var(--secondary-9);
50
+ --secondary-fill: var(--secondary-8);
51
51
  --secondary-subtle: var(--secondary-1);
52
52
  --secondary-subtle-hover: var(--secondary-2);
53
- --secondary-on-subtle: var(--secondary-8);
53
+ --secondary-on-subtle: var(--secondary-9);
54
54
  --secondary-on-fill: var(--neutrals-on-fill);
55
55
  --secondary-tonal: var(--secondary-2);
56
56
  --secondary-tonal-hover: var(--secondary-3);
57
57
  --secondary-tonal-pressed: var(--secondary-4);
58
58
  --secondary-border: var(--secondary-5);
59
59
  --secondary-subtle-pressed: var(--secondary-3);
60
- --secondary-border-hover: var(--secondary-8);
61
- --secondary-border-pressed: var(--secondary-8);
62
- --secondary-text-cta: var(--secondary-7);
60
+ --secondary-border-hover: var(--secondary-9);
61
+ --secondary-border-pressed: var(--secondary-9);
62
+ --secondary-text-cta: var(--secondary-8);
63
63
 
64
64
  /** || neutrals || */
65
65
  --neutrals-white: #fdfdfe;
66
- --gray-1: #f9f9fb;
67
- --gray-2: #f5f6f8;
68
- --gray-3: #f1f2f5;
69
- --gray-4: #ecedf0;
70
- --gray-5: #e6e8ec;
71
- --gray-6: #d3d6dd;
72
- --gray-7: #b9bec8;
73
- --gray-8: #8d93a0;
74
- --gray-9: #6d717c;
75
- --gray-10: #51555e;
76
- --gray-11: #35383f;
77
- --gray-12: #181a20;
78
- --neutrals-dark: #111318;
66
+ --gray-1: #f9f9fa;
67
+ --gray-2: #f6f6f7;
68
+ --gray-3: #f2f2f4;
69
+ --gray-4: #ededef;
70
+ --gray-5: #e7e7ea;
71
+ --gray-6: #d7d7db;
72
+ --gray-7: #b5b5ba;
73
+ --gray-8: #93939a;
74
+ --gray-9: #717178;
75
+ --gray-10: #56565d;
76
+ --gray-11: #37373d;
77
+ --gray-12: #1a1a20;
78
+ --neutrals-dark: #131319;
79
79
  --neutrals-on-fill: #ffffff;
80
- --neutrals-on-fill-dark: #111318;
80
+ --neutrals-on-fill-dark: #131319;
81
81
  --neutrals-background: var(--gray-1);
82
82
  --neutrals-sidebar: var(--neutrals-white);
83
83
  --neutrals-surface: var(--neutrals-white);
@@ -102,19 +102,19 @@
102
102
  --neutrals-subtle-pressed: var(--neutrals-black-18);
103
103
  --neutrals-subtle-selected: var(--neutrals-black-12);
104
104
  --neutrals-scrim: var(--neutrals-black-32);
105
- --neutrals-black-4: rgb(13 22 51 / 0.04);
106
- --neutrals-black-8: rgb(13 22 51 / 0.08);
107
- --neutrals-black-12: rgb(13 22 51 / 0.12);
108
- --neutrals-black-16: rgb(13 22 51 / 0.16);
109
- --neutrals-black-24: rgb(13 22 51 / 0.24);
110
- --neutrals-black-32: rgb(13 22 51 / 0.32);
105
+ --neutrals-black-4: rgb(22 21 36 / 0.04);
106
+ --neutrals-black-8: rgb(22 21 36 / 0.08);
107
+ --neutrals-black-12: rgb(22 21 36 / 0.12);
108
+ --neutrals-black-16: rgb(22 21 36 / 0.16);
109
+ --neutrals-black-24: rgb(22 21 36 / 0.24);
110
+ --neutrals-black-32: rgb(22 21 36 / 0.32);
111
111
  --neutrals-white-4: rgb(253 253 254 / 0.04);
112
112
  --neutrals-white-8: rgb(253 253 254 / 0.08);
113
113
  --neutrals-white-12: rgb(253 253 254 / 0.12);
114
114
  --neutrals-white-16: rgb(253 253 254 / 0.16);
115
115
  --neutrals-none: rgb(253 253 254 / 0);
116
- --neutrals-black-6: rgb(13 22 51 / 0.06);
117
- --neutrals-black-18: rgb(13 22 51 / 0.18);
116
+ --neutrals-black-6: rgb(22 21 36 / 0.06);
117
+ --neutrals-black-18: rgb(22 21 36 / 0.18);
118
118
 
119
119
  /** || red || */
120
120
  --red-1: #fff2f0;
@@ -271,12 +271,33 @@
271
271
  --ring-neutral: var(--gray-9);
272
272
  --ring-secondary: var(--secondary-6);
273
273
  --ring-destructive: var(--red-6);
274
- --ring-primary: var(--primary-6);
275
- --ring-neutral-halo: rgb(109 113 124 / 0.5);
274
+ --ring-primary: var(--primary-7);
275
+ --ring-neutral-halo: rgb(113 113 120 / 0.5);
276
276
  --ring-primary-halo: rgb(205 51 59 / 0.5);
277
277
  --ring-secondary-halo: rgb(95 106 180 / 0.5);
278
278
  --ring-destructive-halo: rgb(187 2 34 / 0.5);
279
279
 
280
+ /** || sidebar || */
281
+ --sidebar-item-active: var(--neutrals-white);
282
+ --sidebar-item-hover: var(--secondary-2);
283
+ --sidebar-rail: var(--secondary-9);
284
+ --sidebar-rail-hover: var(--secondary-8);
285
+ --sidebar-rail-active: var(--secondary-7);
286
+ --sidebar-rail-icon: var(--secondary-4);
287
+ --sidebar-rail-icon-active: var(--neutrals-white);
288
+ --sidebar-logo: var(--neutrals-white);
289
+ --sidebar-panel: var(--secondary-1);
290
+ --sidebar-panel-border: var(--secondary-3);
291
+ --sidebar-panel-title: var(--secondary-9);
292
+ --sidebar-panel-text: var(--secondary-8);
293
+ --sidebar-panel-label: var(--secondary-8);
294
+ --sidebar-panel-icon: var(--secondary-6);
295
+ --sidebar-item-active-text: var(--secondary-9);
296
+ --sidebar-badge: var(--secondary-2);
297
+ --sidebar-on-badge: var(--secondary-9);
298
+ --sidebar-rail-separator: var(--secondary-8);
299
+ --sidebar-rail-text: var(--secondary-2);
300
+
280
301
  /** || On-fill of the colors the tokens leave undefined || */
281
302
  --green-on-fill: var(--neutrals-on-fill);
282
303
  --yellow-on-fill: var(--neutrals-on-fill-dark);
@@ -326,13 +347,13 @@
326
347
  --ring: var(--ring-neutral);
327
348
 
328
349
  /** || Sidebar || */
329
- --sidebar: var(--neutrals-sidebar);
330
- --sidebar-foreground: var(--neutrals-element-high);
350
+ --sidebar: var(--sidebar-rail);
351
+ --sidebar-foreground: var(--sidebar-rail-text);
331
352
  --sidebar-primary: var(--primary-fill-cta);
332
353
  --sidebar-primary-foreground: var(--primary-on-fill);
333
- --sidebar-accent: var(--primary-subtle);
334
- --sidebar-accent-foreground: var(--primary-on-subtle);
335
- --sidebar-border: var(--neutrals-outline);
354
+ --sidebar-accent: var(--sidebar-rail-active);
355
+ --sidebar-accent-foreground: var(--sidebar-rail-icon-active);
356
+ --sidebar-border: var(--sidebar-rail-separator);
336
357
  --sidebar-ring: var(--ring-primary);
337
358
 
338
359
  /** || Feedback || */
@@ -346,7 +367,7 @@
346
367
  --additional-foreground: var(--violet-on-fill);
347
368
 
348
369
  /** || Chart series: 3:1 against the page and surface backgrounds in both modes || */
349
- --chart-1: var(--primary-6);
370
+ --chart-1: var(--primary-7);
350
371
  --chart-2: var(--blue-fill);
351
372
  --chart-3: var(--cyan-fill);
352
373
  --chart-4: var(--orange-fill);
@@ -363,47 +384,54 @@
363
384
  --toast-foreground: var(--neutrals-dark);
364
385
 
365
386
  /** || primary || */
366
- --primary-1: rgb(249 90 92 / 0.1);
367
- --primary-2: rgb(249 90 92 / 0.2);
368
- --primary-3: rgb(249 90 92 / 0.3);
369
- --primary-4: rgb(249 90 92 / 0.44);
370
- --primary-6: #ff7a77;
371
- --primary-7: #ff9b96;
372
- --primary-8: #ffbcb7;
373
- --primary-9: #ffedea;
374
- --primary-fill-pressed: var(--primary-5);
375
- --primary-fill-hover: var(--primary-5);
376
- --primary-fill-hover-layer: var(--neutrals-white-8);
377
- --primary-fill-pressed-layer: var(--neutrals-white-16);
387
+ --primary-1: #311b1a;
388
+ --primary-2: #462221;
389
+ --primary-3: #5c2928;
390
+ --primary-4: #7b3433;
391
+ --primary-5: #cd333b;
392
+ --primary-6: #f95a5c;
393
+ --primary-7: #ff7a77;
394
+ --primary-8: #ff9b96;
395
+ --primary-9: #ffbcb7;
396
+ --primary-10: #ffedea;
397
+ --primary-fill-cta: var(--primary-6);
398
+ --primary-border: var(--primary-5);
378
399
  --primary-on-fill: var(--neutrals-on-fill-dark);
379
400
 
380
401
  /** || secondary || */
381
- --secondary-1: rgb(95 106 180 / 0.1);
382
- --secondary-2: rgb(95 106 180 / 0.2);
383
- --secondary-3: rgb(95 106 180 / 0.3);
384
- --secondary-4: rgb(95 106 180 / 0.44);
385
- --secondary-5: #444d94;
386
- --secondary-6: #6e7bc3;
387
- --secondary-7: #a2ade4;
388
- --secondary-8: #d3daf6;
389
- --secondary-9: #eef1fe;
402
+ --secondary-1: #080b20;
403
+ --secondary-2: #161a3d;
404
+ --secondary-3: #1f2336;
405
+ --secondary-4: #272c45;
406
+ --secondary-5: #2f3555;
407
+ --secondary-6: #353d72;
408
+ --secondary-7: #6e7bc3;
409
+ --secondary-8: #a2ade4;
410
+ --secondary-9: #d3daf6;
411
+ --secondary-10: #eef1fe;
412
+ --secondary-subtle: var(--secondary-3);
413
+ --secondary-subtle-hover: var(--secondary-4);
390
414
  --secondary-on-fill: var(--neutrals-on-fill-dark);
391
- --secondary-border: var(--secondary-7);
415
+ --secondary-tonal: var(--secondary-4);
416
+ --secondary-tonal-hover: var(--secondary-5);
417
+ --secondary-tonal-pressed: var(--secondary-6);
418
+ --secondary-border: var(--secondary-8);
419
+ --secondary-subtle-pressed: var(--secondary-5);
392
420
 
393
421
  /** || neutrals || */
394
- --gray-1: #0f1116;
395
- --gray-2: #13161b;
396
- --gray-3: #181a20;
397
- --gray-4: #1c1f25;
398
- --gray-5: #20232a;
399
- --gray-6: #2c3038;
400
- --gray-7: #3d4049;
401
- --gray-8: #5d616a;
402
- --gray-9: #7c8088;
403
- --gray-10: #9ea1a9;
404
- --gray-11: #c7cacf;
405
- --gray-12: #eceef2;
406
- --neutrals-dark: #0b0d11;
422
+ --gray-1: #111114;
423
+ --gray-2: #161619;
424
+ --gray-3: #1a1a1d;
425
+ --gray-4: #1f1f23;
426
+ --gray-5: #232327;
427
+ --gray-6: #2f2f34;
428
+ --gray-7: #404046;
429
+ --gray-8: #606067;
430
+ --gray-9: #7f7f86;
431
+ --gray-10: #a1a1a7;
432
+ --gray-11: #c9c9ce;
433
+ --gray-12: #eeeef1;
434
+ --neutrals-dark: #0c0c10;
407
435
  --neutrals-sidebar: var(--gray-2);
408
436
  --neutrals-surface: var(--gray-2);
409
437
  --neutrals-surface-footer: var(--gray-1);
@@ -416,18 +444,18 @@
416
444
  --neutrals-subtle-hover: var(--neutrals-white-4);
417
445
  --neutrals-subtle-pressed: var(--neutrals-white-12);
418
446
  --neutrals-subtle-selected: var(--neutrals-white-8);
419
- --neutrals-black-4: rgb(3 4 9 / 0.04);
420
- --neutrals-black-8: rgb(3 4 9 / 0.08);
421
- --neutrals-black-12: rgb(3 4 9 / 0.12);
422
- --neutrals-black-16: rgb(3 4 9 / 0.16);
423
- --neutrals-black-24: rgb(3 4 9 / 0.24);
424
- --neutrals-black-32: rgb(3 4 9 / 0.32);
425
- --neutrals-white-4: rgb(234 240 255 / 0.04);
426
- --neutrals-white-8: rgb(234 240 255 / 0.08);
427
- --neutrals-white-12: rgb(234 240 255 / 0.12);
428
- --neutrals-white-16: rgb(234 240 255 / 0.16);
429
- --neutrals-black-6: rgb(3 4 9 / 0.06);
430
- --neutrals-black-18: rgb(3 4 9 / 0.18);
447
+ --neutrals-black-4: rgb(4 4 6 / 0.04);
448
+ --neutrals-black-8: rgb(4 4 6 / 0.08);
449
+ --neutrals-black-12: rgb(4 4 6 / 0.12);
450
+ --neutrals-black-16: rgb(4 4 6 / 0.16);
451
+ --neutrals-black-24: rgb(4 4 6 / 0.24);
452
+ --neutrals-black-32: rgb(4 4 6 / 0.32);
453
+ --neutrals-white-4: rgb(239 239 246 / 0.04);
454
+ --neutrals-white-8: rgb(239 239 246 / 0.08);
455
+ --neutrals-white-12: rgb(239 239 246 / 0.12);
456
+ --neutrals-white-16: rgb(239 239 246 / 0.16);
457
+ --neutrals-black-6: rgb(4 4 6 / 0.06);
458
+ --neutrals-black-18: rgb(4 4 6 / 0.18);
431
459
 
432
460
  /** || red || */
433
461
  --red-1: rgb(222 11 34 / 0.08);
@@ -510,16 +538,35 @@
510
538
  --emerald-7: #a9e3c9;
511
539
 
512
540
  /** || focus || */
513
- --ring-neutral-halo: rgb(124 128 136 / 0.5);
541
+ --ring-secondary: var(--secondary-7);
542
+ --ring-neutral-halo: rgb(127 127 134 / 0.5);
514
543
  --ring-primary-halo: rgb(255 122 119 / 0.5);
515
544
  --ring-secondary-halo: rgb(110 123 195 / 0.5);
516
545
  --ring-destructive-halo: rgb(253 115 106 / 0.5);
517
546
 
547
+ /** || sidebar || */
548
+ --sidebar-item-active: var(--secondary-4);
549
+ --sidebar-item-hover: var(--secondary-3);
550
+ --sidebar-rail: var(--secondary-2);
551
+ --sidebar-rail-hover: var(--secondary-3);
552
+ --sidebar-rail-active: var(--secondary-4);
553
+ --sidebar-rail-icon: var(--secondary-8);
554
+ --sidebar-rail-icon-active: var(--secondary-10);
555
+ --sidebar-panel-border: var(--secondary-4);
556
+ --sidebar-panel-title: var(--secondary-10);
557
+ --sidebar-panel-text: var(--secondary-9);
558
+ --sidebar-panel-icon: var(--secondary-8);
559
+ --sidebar-item-active-text: var(--secondary-10);
560
+ --sidebar-badge: var(--secondary-4);
561
+ --sidebar-rail-separator: var(--secondary-4);
562
+ --sidebar-rail-text: var(--secondary-9);
563
+
518
564
  /** || On-fill of the colors the tokens leave undefined || */
519
565
  --orange-on-fill: var(--neutrals-on-fill-dark);
520
566
  --pink-on-fill: var(--neutrals-on-fill-dark);
521
567
  --cyan-on-fill: var(--neutrals-on-fill-dark);
522
568
  --emerald-on-fill: var(--neutrals-on-fill-dark);
569
+ --chart-7: var(--secondary-7);
523
570
  }
524
571
 
525
572
  @theme inline {
@@ -4328,6 +4328,7 @@ export declare class YuwSheetHeaderDirective {
4328
4328
  }
4329
4329
  export type YuwSheetSideDto = 'top' | 'bottom' | 'left' | 'right';
4330
4330
  export type YuwSheetScrollStrategyDto = null | 'close' | 'reposition';
4331
+ export type YuwSheetLayoutInsetDto = 'left' | 'right';
4331
4332
  /**
4332
4333
  * Slide-in sheet overlay panel component for side drawers, dialogs, and detail views.
4333
4334
  *
@@ -4335,6 +4336,12 @@ export type YuwSheetScrollStrategyDto = null | 'close' | 'reposition';
4335
4336
  * is announced as an anonymous dialog by screen readers.
4336
4337
  *
4337
4338
  * Inputs / Models:
4339
+ * - `layoutInset`: Fits the panel to the frame `yuw-layout` draws (`YuwSheetLayoutInsetDto`).
4340
+ * `'left'` leaves the layout's gap above and below (4px, 8px from `lg`), for a panel docked to the
4341
+ * sidebar side; `'right'` also leaves it to the right and rounds the panel like the body, so it reads
4342
+ * as coming out of it. Either clips the backdrop to the body box `yuw-layout` publishes, so the gap
4343
+ * is not dimmed. Absent, the sheet covers the viewport. Classes in `panelClass` and `overlayClass`
4344
+ * win over it.
4338
4345
  * - `open`: Two-way open/closed state (`boolean`). Drive directly via `[(open)]` to open/close programmatically.
4339
4346
  * - `showTrigger`: Whether to render the trigger button. Set `false` when opening only via `[(open)]`.
4340
4347
  * - `side`: Edge of the screen the panel slides in from (`'top'`, `'bottom'`, `'left'`, `'right'`). Default is `'right'`.
@@ -4398,6 +4405,7 @@ export declare class YuwSheetComponent {
4398
4405
  readonly closeOnOutsidePointerEvents: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4399
4406
  readonly description: import("@angular/core").InputSignal<string | undefined>;
4400
4407
  readonly disableClose: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4408
+ readonly layoutInset: import("@angular/core").InputSignal<YuwSheetLayoutInsetDto | undefined>;
4401
4409
  readonly note: import("@angular/core").InputSignal<string | undefined>;
4402
4410
  readonly open: import("@angular/core").ModelSignal<boolean>;
4403
4411
  readonly overlayClass: import("@angular/core").InputSignal<string | undefined>;
@@ -4409,6 +4417,8 @@ export declare class YuwSheetComponent {
4409
4417
  readonly triggerSize: import("@angular/core").InputSignal<"default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined>;
4410
4418
  readonly triggerVariant: import("@angular/core").InputSignal<"link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined>;
4411
4419
  protected readonly _bodyClass: import("@angular/core").Signal<string>;
4420
+ protected readonly _overlayClass: import("@angular/core").Signal<string | undefined>;
4421
+ protected readonly _panelClass: import("@angular/core").Signal<string>;
4412
4422
  protected readonly _sheetState: import("@angular/core").Signal<"open" | "closed">;
4413
4423
  constructor();
4414
4424
  protected onStateChanged(state: 'open' | 'closed'): void;
@@ -4449,6 +4459,11 @@ export declare class YuwSheetComponent {
4449
4459
  "required": false;
4450
4460
  "isSignal": true;
4451
4461
  };
4462
+ "layoutInset": {
4463
+ "alias": "layoutInset";
4464
+ "required": false;
4465
+ "isSignal": true;
4466
+ };
4452
4467
  "note": {
4453
4468
  "alias": "note";
4454
4469
  "required": false;
@@ -6317,12 +6332,9 @@ export declare class YuwSidebarFooterExtraDirective {
6317
6332
  /**
6318
6333
  * A single entry of a sidebar menu. Apply to an `<li>`.
6319
6334
  *
6320
- * Collapsed, the item is what owns the rail's spacing: `YUW_SIDEBAR_RAIL_PADDING` on all four sides,
6321
- * which is why the group drops its own padding and the menu its gap in that state. Putting it here
6322
- * rather than on the group is what makes the vertical and horizontal spacing come from one number —
6323
- * adjacent items contribute 22px each, so the gap between two of them and the gap to the panel edge
6324
- * stay in the same proportion no matter how the list is grouped. The rail renders as one flat list of
6325
- * items; its groups have no visible boundary of their own to hang spacing off.
6335
+ * On the settled rail the item centres its 44px button across the rail's width, and the spacing
6336
+ * between buttons is the menu's and the content's 4px gap rather than the item's padding, so it is
6337
+ * the same inside a group and across two of them.
6326
6338
  */
6327
6339
  export declare class YuwSidebarMenuItemDirective {
6328
6340
  constructor();
@@ -6353,6 +6365,8 @@ export declare class YuwSidebarMenuItemDirective {
6353
6365
  * nothing.
6354
6366
  *
6355
6367
  * Carries `yuwSidebarMenuButtonClass`, our hover/expanded colouring and collapsed-to-icon geometry.
6368
+ * Icons are coloured through `--ng-icon__color`, never a `text-*` on the `ng-icon`: its own `color`
6369
+ * sits in `@layer ng-icon`, which is declared after Tailwind's layers and so outranks `utilities`.
6356
6370
  * The `classes()` registration below runs after the composed `HlmSidebarMenuButton`'s own, and
6357
6371
  * `classes()` merges its sources in registration order through `twMerge`, so each of our classes
6358
6372
  * displaces the helm class of the same Tailwind group and modifier stack without `!important`.
@@ -6379,8 +6393,10 @@ export declare class YuwSidebarMenuItemDirective {
6379
6393
  * - The icon grows through `scale-125` rather than a font-size bump, so it can be transitioned: only
6380
6394
  * `transform`-family properties animate on the compositor, and a `font-size` change would relayout
6381
6395
  * the row on every frame. The factor is what turns the `--spacing(4)` base into the rail's
6382
- * `YUW_SIDEBAR_RAIL_ICON_SIZE`, so the two move together — the icon's layout box stays 16px and the
6383
- * spacing around it comes from the item's padding, not from the icon's own box.
6396
+ * `YUW_SIDEBAR_RAIL_ICON_SIZE`, centred in the 44px square.
6397
+ * - The settled rail's `size-11!` and `p-0!` stack both attributes, `collapsible=icon` and
6398
+ * `yuw-rail=on`, so their specificity outranks the single-attribute `w-full!`, `h-auto!` and
6399
+ * `py-[20px]!` that hold the row's shape through the width animation.
6384
6400
  *
6385
6401
  * Which state each class hangs off is load-bearing, because the two attributes fire at different
6386
6402
  * times. `data-collapsible` flips the instant the toggle is pressed; `data-yuw-rail` waits for the
@@ -6534,9 +6550,43 @@ export declare class YuwSidebarInsetDirective {
6534
6550
  outputs: {};
6535
6551
  }]>;
6536
6552
  }
6537
- export declare const YUW_SIDEBAR_RAIL_PADDING = "22px";
6538
6553
  export declare const YUW_SIDEBAR_RAIL_ICON_SIZE = "20px";
6539
6554
  export declare const YUW_SIDEBAR_RAIL_WIDTH = "78px";
6555
+ /**
6556
+ * Application frame: the sidebar is the back layer and the body is a rounded card laid over it.
6557
+ *
6558
+ * The host is the sidebar wrapper, so it owns the collapsible state and the sidebar width variables
6559
+ * for everything projected into it. The sidebar goes in the `[yuwLayoutSidebar]` slot; everything
6560
+ * else is projected into the body, which is the page's scroll container: the frame itself is
6561
+ * viewport-high and never scrolls, so the gap around the body stays put.
6562
+ *
6563
+ * The body leaves a gap of sidebar visible above, below and to its right: 8px from `lg`, 4px below
6564
+ * it. On mobile the sidebar is an off-canvas sheet, so the gap closes the left side too. Its padding
6565
+ * is the page gutter minus that gap, written per breakpoint.
6566
+ *
6567
+ * While mounted it adds `yuw-layout-page` to `<body>`, which `theme.css` paints with the sidebar
6568
+ * colour so a resize never flashes the page background through the gap. The body's box is published
6569
+ * for overlays by `YuwLayoutBodyDirective`.
6570
+ *
6571
+ * Usage:
6572
+ * ```html
6573
+ * <yuw-layout>
6574
+ * <yuw-sidebar yuwLayoutSidebar collapsible="icon" [content]="nav" />
6575
+ * <router-outlet />
6576
+ * </yuw-layout>
6577
+ * ```
6578
+ */
6579
+ export declare class YuwLayoutComponent {
6580
+ private readonly page;
6581
+ protected readonly bodyClass = "\n min-w-0\n overflow-y-auto\n no-scrollbar\n rounded-4xl\n bg-background\n my-1\n ms-1\n me-1\n md:ms-0\n lg:my-2\n lg:me-2\n px-3\n pb-3\n md:ps-8\n md:pe-7\n md:pb-7\n lg:ps-10\n lg:pe-8\n lg:pb-8\n xl:ps-12\n xl:pe-10\n xl:pb-10\n";
6582
+ constructor();
6583
+ static ɵfac: i0.ɵɵFactoryDeclaration<YuwLayoutComponent, never>;
6584
+ static ɵcmp: i0.ɵɵComponentDeclaration<YuwLayoutComponent, "yuw-layout", never, {}, {}, never, ["[yuwLayoutSidebar]", "*"], true, [{
6585
+ directive: typeof YuwSidebarWrapperDirective;
6586
+ inputs: {};
6587
+ outputs: {};
6588
+ }]>;
6589
+ }
6540
6590
  /**
6541
6591
  * A single runnable entry of `<yuw-command>`.
6542
6592
  *