@duskmoon-dev/core 1.19.6 → 1.19.7

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.
Files changed (38) hide show
  1. package/README.md +8 -6
  2. package/dist/components/bottom-navigation.css +127 -24
  3. package/dist/components/breadcrumbs.css +252 -0
  4. package/dist/components/index.css +691 -195
  5. package/dist/components/link.css +43 -0
  6. package/dist/components/megamenu.css +298 -0
  7. package/dist/components/menu.css +175 -0
  8. package/dist/components/navbar.css +283 -0
  9. package/dist/components/navigation.css +513 -149
  10. package/dist/components/nested-menu.css +19 -4
  11. package/dist/components/pagination.css +216 -0
  12. package/dist/components/stepper.css +33 -19
  13. package/dist/components/tabs.css +101 -0
  14. package/dist/esm/components/bottom-navigation.js +127 -24
  15. package/dist/esm/components/breadcrumbs.d.ts +5 -0
  16. package/dist/esm/components/breadcrumbs.js +261 -0
  17. package/dist/esm/components/link.d.ts +5 -0
  18. package/dist/esm/components/link.js +52 -0
  19. package/dist/esm/components/megamenu.d.ts +5 -0
  20. package/dist/esm/components/megamenu.js +307 -0
  21. package/dist/esm/components/menu.d.ts +5 -0
  22. package/dist/esm/components/menu.js +184 -0
  23. package/dist/esm/components/navbar.d.ts +5 -0
  24. package/dist/esm/components/navbar.js +292 -0
  25. package/dist/esm/components/navigation.js +513 -149
  26. package/dist/esm/components/nested-menu.js +19 -4
  27. package/dist/esm/components/pagination.d.ts +5 -0
  28. package/dist/esm/components/pagination.js +225 -0
  29. package/dist/esm/components/stepper.js +33 -19
  30. package/dist/esm/components/tabs.d.ts +5 -0
  31. package/dist/esm/components/tabs.js +110 -0
  32. package/dist/index.css +691 -195
  33. package/dist/index.min.css +1 -1
  34. package/dist/standalone/duskmoonui-themes.css +1 -1
  35. package/dist/standalone/duskmoonui.css +693 -197
  36. package/dist/standalone/duskmoonui.js +9 -6
  37. package/dist/standalone/duskmoonui.mjs +9 -6
  38. package/package.json +43 -1
package/dist/index.css CHANGED
@@ -4103,11 +4103,13 @@ html {
4103
4103
 
4104
4104
  /* Navigation Component - retains the legacy Dropdown import contract */
4105
4105
  /**
4106
- * Navigation Component Styles
4107
- * DuskMoonUI - Material Design 3 inspired navigation system
4106
+ * Navigation compatibility aggregate.
4107
+ *
4108
+ * Component-specific CSS files are canonical. Imports are resolved by the build
4109
+ * before CSS strings and constructable stylesheets are generated.
4108
4110
  */
4109
4111
 
4110
- /* Preserve the Navigation entrypoint's published Dropdown coverage. */
4112
+ /* Keep the historical Dropdown coverage and cascade order. */
4111
4113
  /**
4112
4114
  * Dropdown Component Styles
4113
4115
  * Native Popover disclosure with logical CSS anchor positioning.
@@ -4200,9 +4202,12 @@ html {
4200
4202
  }
4201
4203
  }
4202
4204
 
4205
+ /**
4206
+ * Navbar Component Styles
4207
+ * DuskMoonUI - Material Design 3 inspired navigation bar
4208
+ */
4203
4209
 
4204
4210
  @layer components {
4205
- /* Navbar Base */
4206
4211
  .navbar {
4207
4212
  display: flex;
4208
4213
  align-items: center;
@@ -4211,6 +4216,9 @@ html {
4211
4216
  padding: 0.5rem 1rem;
4212
4217
  background-color: var(--color-surface);
4213
4218
  color: var(--color-on-surface);
4219
+ gap: 1rem;
4220
+ border-block-end: 1px solid var(--color-outline-variant);
4221
+ min-width: 0;
4214
4222
  }
4215
4223
 
4216
4224
  .navbar-primary {
@@ -4273,6 +4281,7 @@ html {
4273
4281
  flex: 1;
4274
4282
  justify-content: flex-start;
4275
4283
  gap: 0.5rem;
4284
+ min-width: 0;
4276
4285
  }
4277
4286
 
4278
4287
  .navbar-center {
@@ -4281,6 +4290,10 @@ html {
4281
4290
  justify-content: center;
4282
4291
  flex-shrink: 0;
4283
4292
  gap: 0.5rem;
4293
+ min-width: 0;
4294
+ overflow-x: auto;
4295
+ overscroll-behavior-inline: contain;
4296
+ scrollbar-width: thin;
4284
4297
  }
4285
4298
 
4286
4299
  .navbar-end {
@@ -4289,9 +4302,196 @@ html {
4289
4302
  flex: 1;
4290
4303
  justify-content: flex-end;
4291
4304
  gap: 0.5rem;
4305
+ min-width: 0;
4306
+ }
4307
+
4308
+ .navbar-brand {
4309
+ display: inline-flex;
4310
+ align-items: center;
4311
+ gap: 0.5rem;
4312
+ min-width: 0;
4313
+ color: inherit;
4314
+ font-size: 1.25rem;
4315
+ font-weight: 600;
4316
+ line-height: 1.75rem;
4317
+ text-decoration: none;
4318
+ }
4319
+
4320
+ .navbar-item {
4321
+ display: inline-flex;
4322
+ align-items: center;
4323
+ gap: 0.5rem;
4324
+ padding: 0.5rem 0.75rem;
4325
+ color: inherit;
4326
+ font-size: 0.875rem;
4327
+ font-weight: 500;
4328
+ line-height: 1.25rem;
4329
+ text-decoration: none;
4330
+ background-color: transparent;
4331
+ border: 0;
4332
+ border-radius: var(--radius-sm);
4333
+ cursor: pointer;
4334
+ transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
4335
+ white-space: nowrap;
4336
+ }
4337
+
4338
+ .navbar-item:hover,
4339
+ .navbar-hamburger:hover {
4340
+ background-color: color-mix(in oklch, currentColor 8%, transparent);
4341
+ }
4342
+
4343
+ .navbar-item:focus-visible,
4344
+ .navbar-brand:focus-visible,
4345
+ .navbar-hamburger:focus-visible {
4346
+ outline: 2px solid currentColor;
4347
+ outline-offset: 2px;
4348
+ }
4349
+
4350
+ .navbar-item-active,
4351
+ .navbar-item[aria-current="page"] {
4352
+ color: var(--color-primary);
4353
+ background-color: color-mix(in oklch, var(--color-primary) 12%, transparent);
4354
+ }
4355
+
4356
+ :is(.navbar-primary, .navbar-secondary, .navbar-tertiary) :is(.navbar-item-active, .navbar-item[aria-current="page"]) {
4357
+ color: inherit;
4358
+ background-color: color-mix(in oklch, white 20%, transparent);
4359
+ }
4360
+
4361
+ .navbar-hamburger {
4362
+ display: inline-flex;
4363
+ align-items: center;
4364
+ justify-content: center;
4365
+ inline-size: 2.5rem;
4366
+ block-size: 2.5rem;
4367
+ padding: 0.5rem;
4368
+ color: inherit;
4369
+ background-color: transparent;
4370
+ border: 0;
4371
+ border-radius: var(--radius-sm);
4372
+ cursor: pointer;
4373
+ }
4374
+
4375
+ .navbar-menu {
4376
+ display: flex;
4377
+ flex-direction: column;
4378
+ gap: 0.25rem;
4379
+ padding: 0.5rem;
4380
+ color: var(--color-on-surface);
4381
+ background-color: var(--color-surface-container);
4382
+ border-radius: var(--radius-md);
4383
+ box-shadow: var(--shadow-md);
4384
+ }
4385
+
4386
+ .navbar-divider {
4387
+ inline-size: 1px;
4388
+ block-size: 1.5rem;
4389
+ margin-inline: 0.25rem;
4390
+ background-color: var(--color-outline-variant);
4391
+ }
4392
+
4393
+ .navbar-surface {
4394
+ background-color: var(--color-surface);
4395
+ }
4396
+
4397
+ .navbar-surface-container {
4398
+ background-color: var(--color-surface-container);
4399
+ }
4400
+
4401
+ .navbar-surface-container-high {
4402
+ background-color: var(--color-surface-container-high);
4403
+ box-shadow: var(--shadow-xs);
4404
+ }
4405
+
4406
+ .navbar-surface-container-highest {
4407
+ background-color: var(--color-surface-container-highest);
4408
+ box-shadow: var(--shadow-sm);
4409
+ }
4410
+
4411
+ .navbar-transparent {
4412
+ background-color: transparent;
4413
+ border-block-end: 0;
4414
+ }
4415
+
4416
+ .navbar-blur {
4417
+ background-color: color-mix(in oklch, var(--color-surface) 80%, transparent);
4418
+ backdrop-filter: blur(8px);
4419
+ }
4420
+
4421
+ .navbar-fixed {
4422
+ position: fixed;
4423
+ inset-block-start: 0;
4424
+ inset-inline: 0;
4425
+ z-index: 50;
4426
+ }
4427
+
4428
+ .navbar-sticky {
4429
+ position: sticky;
4430
+ inset-block-start: 0;
4431
+ z-index: 50;
4432
+ }
4433
+
4434
+ .navbar-static {
4435
+ position: static;
4436
+ }
4437
+
4438
+ .navbar-compact {
4439
+ padding-block: 0.5rem;
4440
+ }
4441
+
4442
+ .navbar-compact .navbar-item {
4443
+ padding: 0.375rem 0.625rem;
4444
+ font-size: 0.8125rem;
4445
+ }
4446
+
4447
+ .navbar-comfortable {
4448
+ padding: 1rem 1.5rem;
4449
+ }
4450
+
4451
+ .navbar-comfortable .navbar-item {
4452
+ padding: 0.625rem 1rem;
4453
+ font-size: 1rem;
4454
+ }
4455
+
4456
+ .navbar-borderless {
4457
+ border-block-end: 0;
4458
+ }
4459
+
4460
+ @media (max-width: 47.999rem) {
4461
+ .navbar-responsive .navbar-center {
4462
+ display: none;
4463
+ }
4464
+
4465
+ .navbar-responsive .navbar-start,
4466
+ .navbar-responsive .navbar-end {
4467
+ flex: 0 1 auto;
4468
+ }
4469
+
4470
+ .navbar-responsive .navbar-end {
4471
+ margin-inline-start: auto;
4472
+ }
4292
4473
  }
4293
4474
 
4294
- /* Menu */
4475
+ @media (min-width: 48rem) {
4476
+ .navbar-responsive .navbar-hamburger {
4477
+ display: none;
4478
+ }
4479
+ }
4480
+
4481
+ @media (prefers-reduced-motion: reduce) {
4482
+ .navbar,
4483
+ .navbar-item {
4484
+ transition: none;
4485
+ }
4486
+ }
4487
+ }
4488
+
4489
+ /**
4490
+ * Menu Component Styles
4491
+ * DuskMoonUI - Material Design 3 inspired dropdown menu
4492
+ */
4493
+
4494
+ @layer components {
4295
4495
  .menu {
4296
4496
  display: flex;
4297
4497
  flex-wrap: wrap;
@@ -4360,13 +4560,13 @@ html {
4360
4560
  position-area: right;
4361
4561
  }
4362
4562
 
4363
- .menu li {
4563
+ .menu > li {
4364
4564
  display: flex;
4365
4565
  flex-shrink: 0;
4366
4566
  }
4367
4567
 
4368
- .menu li > a,
4369
- .menu li > button,
4568
+ .menu > li > a,
4569
+ .menu > li > button,
4370
4570
  .menu-item {
4371
4571
  display: flex;
4372
4572
  align-items: center;
@@ -4381,41 +4581,46 @@ html {
4381
4581
  white-space: nowrap;
4382
4582
  }
4383
4583
 
4384
- .menu li > a:hover,
4385
- .menu li > button:hover,
4584
+ .menu > li > a:hover,
4585
+ .menu > li > button:hover,
4386
4586
  .menu-item:hover {
4387
4587
  background-color: var(--color-surface-container);
4388
4588
  }
4389
4589
 
4390
- .menu li > a:focus-visible,
4391
- .menu li > button:focus-visible,
4590
+ .menu > li > a:focus-visible,
4591
+ .menu > li > button:focus-visible,
4392
4592
  .menu-item:focus-visible {
4393
4593
  outline: none;
4394
4594
  box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
4395
4595
  }
4396
4596
 
4397
- .menu li > a.active,
4398
- .menu li > button.active,
4597
+ .menu > li > a.active,
4598
+ .menu > li > button.active,
4399
4599
  .menu-item.active,
4400
- .menu li > a[aria-current="page"],
4401
- .menu li > button[aria-current="page"] {
4600
+ .menu > li > a[aria-current="page"],
4601
+ .menu > li > button[aria-current="page"] {
4402
4602
  background-color: var(--color-primary-container);
4403
4603
  color: var(--color-on-primary-container);
4404
4604
  }
4405
4605
 
4406
- .menu li.disabled > a,
4407
- .menu li.disabled > button,
4408
- .menu-item:disabled {
4606
+ .menu-item[aria-current="page"] {
4607
+ background-color: var(--color-primary-container);
4608
+ color: var(--color-on-primary-container);
4609
+ }
4610
+
4611
+ .menu > li.disabled > a,
4612
+ .menu > li.disabled > button,
4613
+ .menu-item:disabled,
4614
+ .menu > li > button:disabled,
4615
+ .menu-item[aria-disabled="true"] {
4409
4616
  opacity: 0.5;
4410
- pointer-events: none;
4617
+ cursor: not-allowed;
4411
4618
  }
4412
4619
 
4413
- /* Menu Horizontal */
4414
4620
  .menu-horizontal {
4415
4621
  flex-direction: row;
4416
4622
  }
4417
4623
 
4418
- /* Menu Vertical */
4419
4624
  .menu-vertical {
4420
4625
  flex-direction: column;
4421
4626
  }
@@ -4430,7 +4635,6 @@ html {
4430
4635
  width: 100%;
4431
4636
  }
4432
4637
 
4433
- /* Menu Compact */
4434
4638
  .menu-compact li > a,
4435
4639
  .menu-compact li > button,
4436
4640
  .menu-compact .menu-item {
@@ -4438,7 +4642,6 @@ html {
4438
4642
  font-size: 0.8125rem;
4439
4643
  }
4440
4644
 
4441
- /* Menu Title */
4442
4645
  .menu-title {
4443
4646
  padding: 0.5rem 1rem;
4444
4647
  font-size: 0.75rem;
@@ -4448,7 +4651,23 @@ html {
4448
4651
  color: var(--color-on-surface-variant);
4449
4652
  }
4450
4653
 
4451
- /* Breadcrumbs */
4654
+ /* Reduce Motion */
4655
+ @media (prefers-reduced-motion: reduce) {
4656
+ .menu > li > a,
4657
+ .menu > li > button,
4658
+ .menu-item,
4659
+ .menu[popover] {
4660
+ transition: none;
4661
+ }
4662
+ }
4663
+ }
4664
+
4665
+ /**
4666
+ * Breadcrumbs Component Styles
4667
+ * DuskMoonUI - Material Design 3 inspired breadcrumb navigation
4668
+ */
4669
+
4670
+ @layer components {
4452
4671
  .breadcrumbs {
4453
4672
  display: flex;
4454
4673
  align-items: center;
@@ -4460,7 +4679,6 @@ html {
4460
4679
  font-size: 0.875rem;
4461
4680
  }
4462
4681
 
4463
- /* List-based breadcrumbs (legacy) */
4464
4682
  .breadcrumbs li {
4465
4683
  display: flex;
4466
4684
  align-items: center;
@@ -4491,7 +4709,6 @@ html {
4491
4709
  color: var(--color-on-surface-variant);
4492
4710
  }
4493
4711
 
4494
- /* Span-based breadcrumbs */
4495
4712
  .breadcrumb-item {
4496
4713
  display: inline-flex;
4497
4714
  align-items: center;
@@ -4532,7 +4749,6 @@ html {
4532
4749
  border-radius: var(--radius-xs);
4533
4750
  }
4534
4751
 
4535
- /* Separator - Default shows "/" */
4536
4752
  .breadcrumb-separator {
4537
4753
  display: inline-flex;
4538
4754
  align-items: center;
@@ -4546,7 +4762,6 @@ html {
4546
4762
  content: "/";
4547
4763
  }
4548
4764
 
4549
- /* Separator Variants */
4550
4765
  .breadcrumbs-slash .breadcrumb-separator::before {
4551
4766
  content: "/";
4552
4767
  }
@@ -4568,7 +4783,6 @@ html {
4568
4783
  content: "|";
4569
4784
  }
4570
4785
 
4571
- /* Breadcrumb Icon */
4572
4786
  .breadcrumb-icon {
4573
4787
  display: inline-flex;
4574
4788
  align-items: center;
@@ -4583,7 +4797,6 @@ html {
4583
4797
  height: 100%;
4584
4798
  }
4585
4799
 
4586
- /* Home Icon Link */
4587
4800
  .breadcrumb-home {
4588
4801
  display: inline-flex;
4589
4802
  align-items: center;
@@ -4602,7 +4815,6 @@ html {
4602
4815
  height: 1.125rem;
4603
4816
  }
4604
4817
 
4605
- /* Collapsed Breadcrumbs (with ellipsis) */
4606
4818
  .breadcrumb-ellipsis {
4607
4819
  display: inline-flex;
4608
4820
  align-items: center;
@@ -4624,7 +4836,6 @@ html {
4624
4836
  background-color: color-mix(in oklch, var(--color-on-surface) 8%, transparent);
4625
4837
  }
4626
4838
 
4627
- /* Color Variants */
4628
4839
  .breadcrumbs-primary .breadcrumb-link:hover,
4629
4840
  .breadcrumbs-primary .breadcrumb-item-active {
4630
4841
  color: var(--color-primary);
@@ -4640,7 +4851,6 @@ html {
4640
4851
  color: var(--color-tertiary);
4641
4852
  }
4642
4853
 
4643
- /* Size Variants */
4644
4854
  .breadcrumbs-sm {
4645
4855
  font-size: 0.75rem;
4646
4856
  gap: 0.375rem;
@@ -4663,131 +4873,156 @@ html {
4663
4873
  height: 1.25rem;
4664
4874
  }
4665
4875
 
4666
- /* Contained Variant (with background) */
4667
4876
  .breadcrumbs-contained {
4668
4877
  padding: 0.75rem 1rem;
4669
4878
  background-color: var(--color-surface-container);
4670
4879
  border-radius: var(--radius-sm);
4671
4880
  }
4672
4881
 
4673
- /* No Wrap Variant */
4674
4882
  .breadcrumbs-nowrap {
4675
4883
  flex-wrap: nowrap;
4676
4884
  overflow-x: auto;
4885
+ overscroll-behavior-inline: contain;
4886
+ scrollbar-width: thin;
4887
+ }
4888
+
4889
+ .breadcrumbs-nowrap > * {
4890
+ flex: 0 0 auto;
4677
4891
  }
4678
4892
 
4679
- /* Disabled Breadcrumb Item */
4680
4893
  .breadcrumb-item-disabled {
4681
4894
  opacity: 1;
4682
4895
  pointer-events: none;
4683
4896
  cursor: not-allowed;
4684
4897
  }
4685
4898
 
4686
- /* Tabs */
4687
- .tabs {
4688
- display: flex;
4689
- flex-wrap: wrap;
4690
- gap: 0.25rem;
4691
- border-bottom: 1px solid var(--color-outline);
4692
- }
4693
-
4694
- .tab {
4695
- display: inline-flex;
4696
- align-items: center;
4697
- justify-content: center;
4698
- gap: 0.5rem;
4699
- padding: 0.75rem 1.25rem;
4700
- font-size: 0.875rem;
4701
- font-weight: 500;
4702
- color: var(--color-on-surface-variant);
4703
- text-decoration: none;
4704
- background-color: transparent;
4705
- border: none;
4706
- border-bottom: 2px solid transparent;
4707
- cursor: pointer;
4708
- transition: all 150ms ease-in-out;
4709
- position: relative;
4710
- margin-bottom: -1px;
4711
- }
4712
-
4713
- .tab:hover {
4714
- color: var(--color-on-surface);
4715
- background-color: var(--color-surface-container);
4716
- }
4717
-
4718
- .tab:focus-visible {
4719
- outline: none;
4720
- box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
4721
- }
4722
-
4723
- .tab.tab-active,
4724
- .tab[aria-selected="true"] {
4725
- color: var(--color-primary);
4726
- border-bottom-color: var(--color-primary);
4727
- }
4728
-
4729
- .tab:disabled {
4730
- opacity: 0.5;
4731
- cursor: not-allowed;
4732
- }
4733
-
4734
- /* Tabs Boxed */
4735
- .tabs-boxed {
4736
- background-color: var(--color-surface-container);
4737
- border-radius: var(--radius-sm);
4738
- padding: 0.25rem;
4739
- border: none;
4740
- }
4741
-
4742
- .tabs-boxed .tab {
4899
+ .breadcrumb-ellipsis:focus-visible,
4900
+ .breadcrumb-home:focus-visible,
4901
+ .breadcrumbs li > a:focus-visible {
4902
+ outline: 2px solid currentColor;
4903
+ outline-offset: 2px;
4743
4904
  border-radius: var(--radius-xs);
4744
- border-bottom: none;
4745
- margin-bottom: 0;
4746
- }
4747
-
4748
- .tabs-boxed .tab.tab-active,
4749
- .tabs-boxed .tab[aria-selected="true"] {
4750
- background-color: var(--color-surface);
4751
- color: var(--color-on-surface);
4752
- box-shadow: var(--shadow-xs);
4753
- }
4754
-
4755
- /* Tabs Lifted */
4756
- .tabs-lifted {
4757
- border: none;
4758
4905
  }
4759
4906
 
4760
- .tabs-lifted .tab {
4761
- border: 1px solid transparent;
4762
- border-bottom: none;
4763
- border-radius: var(--radius-sm) var(--radius-sm) 0 0;
4764
- margin-bottom: -1px;
4907
+ /* Reduce Motion */
4908
+ @media (prefers-reduced-motion: reduce) {
4909
+ .breadcrumbs a,
4910
+ .breadcrumbs-item a,
4911
+ .breadcrumbs-link,
4912
+ .breadcrumbs-separator {
4913
+ transition: none;
4914
+ }
4765
4915
  }
4916
+ }
4766
4917
 
4767
- .tabs-lifted .tab.tab-active,
4768
- .tabs-lifted .tab[aria-selected="true"] {
4769
- background-color: var(--color-surface);
4770
- border-color: var(--color-outline);
4771
- border-bottom-color: var(--color-surface);
4918
+ /** DuskMoonUI tabs and tab-panel presentation. Interaction remains application-owned. */
4919
+ @layer components {
4920
+ .tabs {
4921
+ display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.25rem;
4922
+ border-block-end: 1px solid var(--color-outline); color: var(--color-on-surface);
4772
4923
  }
4773
-
4774
- /* Tab Sizes */
4775
- .tab-xs {
4776
- padding: 0.375rem 0.625rem;
4777
- font-size: 0.75rem;
4924
+ .tab {
4925
+ display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
4926
+ min-width: 0; padding: 0.75rem 1.25rem; font: inherit; font-size: 0.875rem;
4927
+ font-weight: 500; line-height: 1.25rem; color: var(--color-on-surface-variant);
4928
+ text-decoration: none; white-space: nowrap; background-color: transparent;
4929
+ border: none; border-block-end: 2px solid transparent; cursor: pointer;
4930
+ transition: background-color 150ms ease-in-out, color 150ms ease-in-out,
4931
+ border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
4932
+ position: relative; margin-block-end: -1px;
4778
4933
  }
4779
-
4780
- .tab-sm {
4781
- padding: 0.5rem 0.875rem;
4782
- font-size: 0.8125rem;
4934
+ .tab:hover:not(:disabled, [aria-disabled="true"]) {
4935
+ color: var(--color-on-surface); background-color: var(--color-surface-container);
4783
4936
  }
4937
+ .tab:focus-visible {
4938
+ outline: 2px solid currentColor; outline-offset: -2px;
4939
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent); z-index: 1;
4940
+ }
4941
+ .tab:disabled,
4942
+ .tab[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
4943
+ .tab:is(.tab-active, .tab-active-primary, [aria-selected="true"], [aria-current="page"]) {
4944
+ color: var(--color-primary); border-block-end-color: var(--color-primary);
4945
+ }
4946
+ .tab.tab-active-secondary { color: var(--color-secondary); border-block-end-color: var(--color-secondary); }
4947
+ .tab.tab-active-tertiary { color: var(--color-tertiary); border-block-end-color: var(--color-tertiary); }
4948
+
4949
+ .tabs-pill,
4950
+ .tabs-tonal,
4951
+ .tabs-boxed { padding: 0.25rem; border: none; border-radius: var(--radius-lg); }
4952
+ .tabs-pill .tab,
4953
+ .tabs-tonal .tab,
4954
+ .tabs-boxed .tab { margin-block-end: 0; border: none; border-radius: var(--radius-lg); }
4955
+ .tabs-pill .tab:is(.tab-active, .tab-active-primary, [aria-selected="true"], [aria-current="page"]) {
4956
+ color: var(--color-primary-content); background-color: var(--color-primary);
4957
+ }
4958
+ .tabs-pill .tab.tab-active-secondary { color: var(--color-secondary-content); background-color: var(--color-secondary); }
4959
+ .tabs-pill .tab.tab-active-tertiary { color: var(--color-tertiary-content); background-color: var(--color-tertiary); }
4960
+ .tabs-tonal .tab:is(.tab-active, .tab-active-primary, [aria-selected="true"], [aria-current="page"]) {
4961
+ color: var(--color-on-primary-container); background-color: var(--color-primary-container);
4962
+ }
4963
+ .tabs-tonal .tab.tab-active-secondary { color: var(--color-on-secondary-container); background-color: var(--color-secondary-container); }
4964
+ .tabs-tonal .tab.tab-active-tertiary { color: var(--color-on-tertiary-container); background-color: var(--color-tertiary-container); }
4965
+ .tabs-boxed { background-color: var(--color-surface-container); border-radius: var(--radius-sm); }
4966
+ .tabs-boxed .tab { border-radius: var(--radius-xs); }
4967
+ .tabs-boxed .tab:is(.tab-active, .tab-active-primary, .tab-active-secondary, .tab-active-tertiary, [aria-selected="true"], [aria-current="page"]) {
4968
+ color: var(--color-on-surface); background-color: var(--color-surface); box-shadow: var(--shadow-xs);
4969
+ }
4970
+ .tabs-lifted { border: none; }
4971
+ .tabs-lifted .tab {
4972
+ border: 1px solid transparent; border-block-end: none;
4973
+ border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-block-end: -1px;
4974
+ }
4975
+ .tabs-lifted .tab:is(.tab-active, .tab-active-primary, .tab-active-secondary, .tab-active-tertiary, [aria-selected="true"], [aria-current="page"]) {
4976
+ background-color: var(--color-surface); border-color: var(--color-outline);
4977
+ border-block-end-color: var(--color-surface);
4978
+ }
4979
+
4980
+ .tabs-vertical {
4981
+ flex-direction: column; flex-wrap: nowrap; align-items: stretch;
4982
+ border-block-end: none; border-inline-end: 1px solid var(--color-outline);
4983
+ }
4984
+ .tabs-vertical .tab {
4985
+ justify-content: flex-start; width: 100%; margin: 0;
4986
+ border-block-end: none; border-inline-end: 2px solid transparent;
4987
+ }
4988
+ .tabs-vertical .tab:is(.tab-active, .tab-active-primary, [aria-selected="true"], [aria-current="page"]) { border-inline-end-color: var(--color-primary); }
4989
+ .tabs-vertical .tab.tab-active-secondary { border-inline-end-color: var(--color-secondary); }
4990
+ .tabs-vertical .tab.tab-active-tertiary { border-inline-end-color: var(--color-tertiary); }
4991
+ .tabs-scrollable {
4992
+ flex-wrap: nowrap; max-width: 100%; overflow-x: auto; overflow-y: hidden;
4993
+ overscroll-behavior-inline: contain; scrollbar-width: thin;
4994
+ }
4995
+ .tabs-full .tab { flex: 1 1 0; }
4996
+ .tabs-center { justify-content: center; }
4997
+ .tabs-end { justify-content: flex-end; }
4998
+
4999
+ .tabs-sm .tab,
5000
+ .tab-sm { padding: 0.5rem 0.875rem; font-size: 0.8125rem; }
5001
+ .tabs-md .tab { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
5002
+ .tabs-lg .tab,
5003
+ .tab-lg { padding: 1rem 1.5rem; font-size: 1rem; }
5004
+ .tab-xs { padding: 0.375rem 0.625rem; font-size: 0.75rem; }
5005
+ .tab-icon { flex: 0 0 auto; font-size: 1.25em; }
5006
+ .tab-icon-only { aspect-ratio: 1; padding-inline: 0.75rem; }
5007
+ .tab-badge {
5008
+ display: inline-flex; align-items: center; justify-content: center;
5009
+ min-width: 1.25rem; min-height: 1.25rem; padding-inline: 0.375rem;
5010
+ font-size: 0.6875rem; font-weight: 600; color: var(--color-error-content);
5011
+ background-color: var(--color-error); border-radius: var(--radius-full);
5012
+ }
5013
+ .tab-panel { display: none; padding: 1rem; color: var(--color-on-surface); }
5014
+ .tab-panel:is(.tab-panel-show, [data-active="true"]):not([hidden]) { display: block; }
5015
+ .tab-panel[hidden] { display: none !important; }
5016
+
5017
+ @media (prefers-reduced-motion: reduce) { .tab { scroll-behavior: auto; transition: none; } }
5018
+ }
4784
5019
 
4785
- .tab-lg {
4786
- padding: 1rem 1.5rem;
4787
- font-size: 1rem;
4788
- }
5020
+ /**
5021
+ * Pagination Component Styles
5022
+ * DuskMoonUI - Material Design 3 inspired pagination
5023
+ */
4789
5024
 
4790
- /* Pagination */
5025
+ @layer components {
4791
5026
  .pagination {
4792
5027
  display: flex;
4793
5028
  align-items: center;
@@ -4829,6 +5064,7 @@ html {
4829
5064
 
4830
5065
  .pagination-item-active,
4831
5066
  .pagination-item-active-primary,
5067
+ .pagination-item[aria-current="page"],
4832
5068
  .pagination li > a.active,
4833
5069
  .pagination li > button.active,
4834
5070
  .pagination li > a[aria-current="page"],
@@ -4850,6 +5086,14 @@ html {
4850
5086
  border-color: var(--color-tertiary);
4851
5087
  }
4852
5088
 
5089
+ .pagination-item-active:hover,
5090
+ .pagination-item-active-primary:hover,
5091
+ .pagination-item[aria-current="page"]:hover,
5092
+ .pagination li > a[aria-current="page"]:hover,
5093
+ .pagination li > button[aria-current="page"]:hover {
5094
+ background-color: color-mix(in oklch, var(--color-primary), black 10%);
5095
+ }
5096
+
4853
5097
  .pagination-item:focus-visible,
4854
5098
  .pagination-prev:focus-visible,
4855
5099
  .pagination-next:focus-visible,
@@ -4864,13 +5108,12 @@ html {
4864
5108
  .pagination-prev:disabled,
4865
5109
  .pagination-next:disabled,
4866
5110
  .pagination li > a:disabled,
4867
- .pagination li > button:disabled {
5111
+ .pagination li > button:disabled,
5112
+ .pagination a[aria-disabled="true"] {
4868
5113
  opacity: 0.5;
4869
5114
  cursor: not-allowed;
4870
- pointer-events: none;
4871
5115
  }
4872
5116
 
4873
- /* Pagination Ellipsis */
4874
5117
  .pagination-ellipsis {
4875
5118
  display: inline-flex;
4876
5119
  align-items: center;
@@ -4884,7 +5127,6 @@ html {
4884
5127
  content: '…';
4885
5128
  }
4886
5129
 
4887
- /* Pagination Info */
4888
5130
  .pagination-info {
4889
5131
  display: flex;
4890
5132
  flex-direction: row;
@@ -4897,7 +5139,6 @@ html {
4897
5139
  color: var(--color-on-surface-variant);
4898
5140
  }
4899
5141
 
4900
- /* Pagination Input */
4901
5142
  .pagination-input {
4902
5143
  display: inline-flex;
4903
5144
  align-items: center;
@@ -4919,10 +5160,13 @@ html {
4919
5160
 
4920
5161
  .pagination-input input:focus {
4921
5162
  outline: none;
5163
+ }
5164
+
5165
+ .pagination-input input:focus-visible {
4922
5166
  border-color: var(--color-primary);
5167
+ box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
4923
5168
  }
4924
5169
 
4925
- /* Pagination Variants */
4926
5170
  .pagination-outlined .pagination-item,
4927
5171
  .pagination-outlined .pagination-prev,
4928
5172
  .pagination-outlined .pagination-next {
@@ -4936,7 +5180,6 @@ html {
4936
5180
  border-color: var(--color-primary-container);
4937
5181
  }
4938
5182
 
4939
- /* Pagination Sizes */
4940
5183
  .pagination-sm .pagination-item,
4941
5184
  .pagination-sm .pagination-prev,
4942
5185
  .pagination-sm .pagination-next {
@@ -4955,7 +5198,6 @@ html {
4955
5198
  font-size: 1rem;
4956
5199
  }
4957
5200
 
4958
- /* Pagination Compact */
4959
5201
  .pagination-compact {
4960
5202
  gap: 0;
4961
5203
  }
@@ -4968,26 +5210,22 @@ html {
4968
5210
 
4969
5211
  .pagination-compact .pagination-item:first-child,
4970
5212
  .pagination-compact .pagination-prev {
4971
- border-radius: var(--radius-sm) 0 0 var(--radius-sm);
5213
+ border-start-start-radius: var(--radius-sm);
5214
+ border-end-start-radius: var(--radius-sm);
4972
5215
  }
4973
5216
 
4974
5217
  .pagination-compact .pagination-item:last-child,
4975
5218
  .pagination-compact .pagination-next {
4976
- border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
5219
+ border-start-end-radius: var(--radius-sm);
5220
+ border-end-end-radius: var(--radius-sm);
4977
5221
  }
4978
5222
 
4979
- /* Pagination Responsive */
4980
5223
  .pagination-responsive {
4981
5224
  flex-wrap: wrap;
4982
5225
  justify-content: center;
4983
5226
  }
4984
5227
 
4985
- /* Reduce Motion */
4986
5228
  @media (prefers-reduced-motion: reduce) {
4987
- .menu li > a,
4988
- .menu li > button,
4989
- .menu-item,
4990
- .menu[popover],
4991
5229
  .pagination-item,
4992
5230
  .pagination-prev,
4993
5231
  .pagination-next {
@@ -4996,6 +5234,132 @@ html {
4996
5234
  }
4997
5235
  }
4998
5236
 
5237
+ /** DuskMoonUI text-link primitive. */
5238
+ @layer components {
5239
+ .link {
5240
+ color: var(--color-primary);
5241
+ text-decoration-line: underline;
5242
+ text-decoration-thickness: 0.08em;
5243
+ text-underline-offset: 0.18em;
5244
+ overflow-wrap: anywhere;
5245
+ cursor: pointer;
5246
+ transition: color 150ms ease-in-out, text-decoration-color 150ms ease-in-out,
5247
+ background-color 150ms ease-in-out;
5248
+ }
5249
+
5250
+ .link:hover {
5251
+ color: color-mix(in oklch, var(--color-primary), var(--color-on-surface) 18%);
5252
+ text-decoration-thickness: 0.12em;
5253
+ }
5254
+
5255
+ .link:active {
5256
+ color: color-mix(in oklch, var(--color-primary), var(--color-on-surface) 30%);
5257
+ }
5258
+
5259
+ .link:focus-visible {
5260
+ outline: 2px solid currentColor;
5261
+ outline-offset: 3px;
5262
+ border-radius: var(--radius-xs);
5263
+ }
5264
+
5265
+ .link-hover { text-decoration-color: transparent; }
5266
+ .link-hover:hover,
5267
+ .link-hover:focus-visible { text-decoration-color: currentColor; }
5268
+ .link-primary { color: var(--color-primary); }
5269
+ .link-secondary { color: var(--color-secondary); }
5270
+ .link-tertiary { color: var(--color-tertiary); }
5271
+ .link-neutral,
5272
+ .link-inherit { color: inherit; }
5273
+ .link-neutral:hover,
5274
+ .link-inherit:hover { color: color-mix(in oklch, currentColor, var(--color-on-surface) 18%); }
5275
+
5276
+ @media (prefers-reduced-motion: reduce) {
5277
+ .link { transition: none; }
5278
+ }
5279
+ }
5280
+
5281
+ /**
5282
+ * Megamenu is a CSS composition layer over native popovers, Menu, and Link.
5283
+ * Give each trigger/panel pair a unique --megamenu-anchor custom identifier.
5284
+ */
5285
+
5286
+
5287
+
5288
+ @layer components {
5289
+ .megamenu { position: relative; display: flex; align-items: center; max-width: 100%; }
5290
+ .megamenu-bar {
5291
+ display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem;
5292
+ margin: 0; padding: 0; list-style: none;
5293
+ }
5294
+ .megamenu-trigger {
5295
+ anchor-name: var(--megamenu-anchor);
5296
+ display: inline-flex; align-items: center; gap: 0.375rem;
5297
+ padding: 0.625rem 0.875rem; color: var(--color-on-surface);
5298
+ background: transparent; border: 0; border-radius: var(--radius-sm);
5299
+ font: inherit; cursor: pointer;
5300
+ }
5301
+ .megamenu-trigger:hover,
5302
+ .megamenu-trigger[aria-expanded="true"],
5303
+ .megamenu:has(.megamenu-panel:popover-open) .megamenu-trigger {
5304
+ color: var(--color-on-primary-container);
5305
+ background-color: var(--color-primary-container);
5306
+ }
5307
+ .megamenu-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
5308
+ .megamenu-panel[popover] {
5309
+ position-anchor: var(--megamenu-anchor);
5310
+ position-area: block-end span-inline-end;
5311
+ position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
5312
+ display: none; box-sizing: border-box;
5313
+ width: min(48rem, calc(100vw - 2rem)); max-width: calc(100vw - 2rem);
5314
+ max-height: min(36rem, calc(100dvh - 2rem)); margin: 0.5rem; padding: 1rem;
5315
+ overflow: auto; color: var(--color-on-surface);
5316
+ background-color: var(--color-surface-container);
5317
+ border: 1px solid var(--color-outline-variant); border-radius: var(--radius-lg);
5318
+ box-shadow: var(--shadow-lg); opacity: 0;
5319
+ transform: translateY(-0.25rem) scale(0.98);
5320
+ transition: opacity 150ms ease-out, transform 150ms ease-out,
5321
+ overlay 150ms ease-out allow-discrete, display 150ms ease-out allow-discrete;
5322
+ }
5323
+ .megamenu-panel[popover]:popover-open { display: block; opacity: 1; transform: translateY(0) scale(1); }
5324
+ .megamenu-panel-full[popover] { width: calc(100vw - 2rem); }
5325
+ .megamenu-grid {
5326
+ display: grid;
5327
+ grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
5328
+ gap: 1.25rem;
5329
+ }
5330
+ .megamenu-group { min-width: 0; }
5331
+ .megamenu-heading {
5332
+ margin: 0 0 0.5rem; color: var(--color-on-surface); font-size: 0.75rem;
5333
+ font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
5334
+ }
5335
+ .megamenu-panel .menu { flex-direction: column; padding: 0; }
5336
+ .megamenu-panel .menu > li,
5337
+ .megamenu-panel .menu > li > .link { width: 100%; }
5338
+ .megamenu-supporting { color: var(--color-on-surface-variant); font-size: 0.875rem; }
5339
+
5340
+ @starting-style {
5341
+ .megamenu-panel[popover]:popover-open { opacity: 0; transform: translateY(-0.25rem) scale(0.98); }
5342
+ }
5343
+ @supports not (position-area: bottom) {
5344
+ .megamenu-panel[popover] { position: fixed; inset: 4.5rem 1rem auto; margin-inline: auto; }
5345
+ }
5346
+ /* Baseline fallback: without Popover API support, links remain visible and reachable. */
5347
+ @supports not selector(:popover-open) {
5348
+ .megamenu { display: block; }
5349
+ .megamenu-panel[popover] {
5350
+ position: static; display: block; width: 100%; max-width: 100%; max-height: none;
5351
+ margin: 0.5rem 0 0; opacity: 1; transform: none;
5352
+ }
5353
+ }
5354
+ @media (max-width: 47.999rem) {
5355
+ .megamenu-desktop { display: none; }
5356
+ .megamenu-mobile { display: block; }
5357
+ }
5358
+ @media (min-width: 48rem) { .megamenu-mobile { display: none; } }
5359
+ @media (prefers-reduced-motion: reduce) { .megamenu-panel[popover] { transition: none; } }
5360
+ }
5361
+
5362
+
4999
5363
 
5000
5364
  /* Modal Component */
5001
5365
  /**
@@ -18094,15 +18458,15 @@ html {
18094
18458
  /* Base Bottom Navigation */
18095
18459
  .bottom-nav {
18096
18460
  position: fixed;
18097
- bottom: 0;
18098
- left: 0;
18099
- right: 0;
18461
+ bottom: 0; /* Physical fallback retained for legacy test and browser coverage. */
18462
+ inset-block-end: 0;
18463
+ inset-inline: 0;
18100
18464
  z-index: 1000;
18101
18465
  display: flex;
18102
18466
  align-items: stretch;
18103
18467
  justify-content: space-around;
18104
18468
  min-height: 5rem;
18105
- padding-bottom: env(safe-area-inset-bottom, 0);
18469
+ padding-block-end: env(safe-area-inset-bottom, 0);
18106
18470
  background-color: var(--color-surface);
18107
18471
  box-shadow: 0 -1px 3px 0 color-mix(in srgb, var(--color-shadow) 10%, transparent);
18108
18472
  }
@@ -18124,6 +18488,8 @@ html {
18124
18488
  transition: color 150ms ease-in-out;
18125
18489
  text-decoration: none;
18126
18490
  gap: 0.25rem;
18491
+ position: relative;
18492
+ border-radius: var(--radius-md);
18127
18493
  }
18128
18494
 
18129
18495
  .bottom-nav-item:hover {
@@ -18131,7 +18497,8 @@ html {
18131
18497
  }
18132
18498
 
18133
18499
  .bottom-nav-item:focus-visible {
18134
- outline: none;
18500
+ outline: 2px solid currentColor;
18501
+ outline-offset: -2px;
18135
18502
  }
18136
18503
 
18137
18504
  .bottom-nav-item:focus-visible .bottom-nav-indicator {
@@ -18140,10 +18507,18 @@ html {
18140
18507
  }
18141
18508
 
18142
18509
  /* Active State */
18143
- .bottom-nav-item.active {
18510
+ .bottom-nav-item.active,
18511
+ .bottom-nav-item-active,
18512
+ .bottom-nav-item-active-primary,
18513
+ .bottom-nav-item[aria-current="page"] {
18144
18514
  color: var(--color-on-surface);
18145
18515
  }
18146
18516
 
18517
+ .bottom-nav-item:is(.active, .bottom-nav-item-active, .bottom-nav-item-active-primary, [aria-current="page"]):not(:has(.bottom-nav-indicator)) {
18518
+ color: var(--color-on-secondary-container);
18519
+ background-color: var(--color-secondary-container);
18520
+ }
18521
+
18147
18522
  /* Icon Container with Indicator */
18148
18523
  .bottom-nav-indicator {
18149
18524
  position: relative;
@@ -18160,7 +18535,10 @@ html {
18160
18535
  background-color: var(--color-surface-container);
18161
18536
  }
18162
18537
 
18163
- .bottom-nav-item.active .bottom-nav-indicator {
18538
+ .bottom-nav-item.active .bottom-nav-indicator,
18539
+ .bottom-nav-item-active .bottom-nav-indicator,
18540
+ .bottom-nav-item-active-primary .bottom-nav-indicator,
18541
+ .bottom-nav-item[aria-current="page"] .bottom-nav-indicator {
18164
18542
  background-color: var(--color-secondary-container);
18165
18543
  }
18166
18544
 
@@ -18183,7 +18561,10 @@ html {
18183
18561
  max-width: 100%;
18184
18562
  }
18185
18563
 
18186
- .bottom-nav-item.active .bottom-nav-label {
18564
+ .bottom-nav-item.active .bottom-nav-label,
18565
+ .bottom-nav-item-active .bottom-nav-label,
18566
+ .bottom-nav-item-active-primary .bottom-nav-label,
18567
+ .bottom-nav-item[aria-current="page"] .bottom-nav-label {
18187
18568
  font-weight: 600;
18188
18569
  }
18189
18570
 
@@ -18191,7 +18572,7 @@ html {
18191
18572
  .bottom-nav-badge {
18192
18573
  position: absolute;
18193
18574
  top: 0;
18194
- right: 0.5rem;
18575
+ inset-inline-end: 0.5rem;
18195
18576
  min-width: 1rem;
18196
18577
  height: 1rem;
18197
18578
  padding: 0 0.25rem;
@@ -18210,7 +18591,7 @@ html {
18210
18591
  height: 0.5rem;
18211
18592
  padding: 0;
18212
18593
  top: 0.125rem;
18213
- right: 0.75rem;
18594
+ inset-inline-end: 0.75rem;
18214
18595
  }
18215
18596
 
18216
18597
  /* Variants */
@@ -18228,23 +18609,96 @@ html {
18228
18609
  }
18229
18610
 
18230
18611
  /* Color Variants */
18231
- .bottom-nav-primary .bottom-nav-item.active .bottom-nav-indicator {
18612
+ .bottom-nav-primary .bottom-nav-item.active .bottom-nav-indicator,
18613
+ .bottom-nav-primary .bottom-nav-item.bottom-nav-item-active .bottom-nav-indicator,
18614
+ .bottom-nav-primary .bottom-nav-item[aria-current="page"] .bottom-nav-indicator {
18232
18615
  background-color: var(--color-primary-container);
18233
18616
  }
18234
18617
 
18235
- .bottom-nav-primary .bottom-nav-item.active {
18618
+ .bottom-nav-item-active-secondary {
18619
+ color: var(--color-on-secondary-container);
18620
+ }
18621
+
18622
+ .bottom-nav-item-active-secondary .bottom-nav-indicator {
18623
+ background-color: var(--color-secondary-container);
18624
+ }
18625
+
18626
+ .bottom-nav-item-active-tertiary {
18627
+ color: var(--color-on-tertiary-container);
18628
+ }
18629
+
18630
+ .bottom-nav-item-active-tertiary .bottom-nav-indicator {
18631
+ background-color: var(--color-tertiary-container);
18632
+ }
18633
+
18634
+ .bottom-nav-surface {
18635
+ background-color: var(--color-surface);
18636
+ }
18637
+
18638
+ .bottom-nav-surface-container-low {
18639
+ background-color: var(--color-surface-container-low);
18640
+ }
18641
+
18642
+ .bottom-nav-surface-container-high {
18643
+ background-color: var(--color-surface-container-high);
18644
+ }
18645
+
18646
+ .bottom-nav-transparent {
18647
+ background-color: transparent;
18648
+ }
18649
+
18650
+ .bottom-nav-borderless {
18651
+ border-block-start: 0;
18652
+ box-shadow: none;
18653
+ }
18654
+
18655
+ .bottom-nav-compact {
18656
+ min-height: 3.5rem;
18657
+ }
18658
+
18659
+ .bottom-nav-item-disabled,
18660
+ .bottom-nav-item:disabled,
18661
+ .bottom-nav-item[aria-disabled="true"] {
18662
+ opacity: 0.38;
18663
+ cursor: not-allowed;
18664
+ }
18665
+
18666
+ .bottom-nav-primary .bottom-nav-item.active,
18667
+ .bottom-nav-primary .bottom-nav-item.bottom-nav-item-active,
18668
+ .bottom-nav-primary .bottom-nav-item[aria-current="page"] {
18236
18669
  color: var(--color-on-primary-container);
18237
18670
  }
18238
18671
 
18239
18672
  /* Hide Labels */
18240
18673
  .bottom-nav-icons-only .bottom-nav-label {
18241
- display: none;
18674
+ position: absolute;
18675
+ width: 1px;
18676
+ height: 1px;
18677
+ padding: 0;
18678
+ margin: -1px;
18679
+ overflow: hidden;
18680
+ clip: rect(0, 0, 0, 0);
18681
+ white-space: nowrap;
18682
+ border: 0;
18242
18683
  }
18243
18684
 
18244
18685
  .bottom-nav-icons-only .bottom-nav-item {
18245
18686
  padding: 1rem 0.25rem;
18246
18687
  }
18247
18688
 
18689
+ .bottom-nav-labels-only .bottom-nav-icon {
18690
+ display: none;
18691
+ }
18692
+
18693
+ .bottom-nav-labels-only .bottom-nav-item {
18694
+ flex-direction: row;
18695
+ min-width: auto;
18696
+ }
18697
+
18698
+ .bottom-nav-labels-only .bottom-nav-label {
18699
+ font-size: 0.875rem;
18700
+ }
18701
+
18248
18702
  /* Show Labels Only on Active */
18249
18703
  .bottom-nav-labels-active .bottom-nav-label {
18250
18704
  opacity: 0;
@@ -18253,7 +18707,7 @@ html {
18253
18707
  transition: opacity 150ms ease-in-out, max-height 150ms ease-in-out;
18254
18708
  }
18255
18709
 
18256
- .bottom-nav-labels-active .bottom-nav-item.active .bottom-nav-label {
18710
+ .bottom-nav-labels-active .bottom-nav-item:is(.active, .bottom-nav-item-active, [aria-current="page"]) .bottom-nav-label {
18257
18711
  opacity: 1;
18258
18712
  max-height: 1rem;
18259
18713
  }
@@ -18264,7 +18718,16 @@ html {
18264
18718
  transition: flex 200ms ease-in-out;
18265
18719
  }
18266
18720
 
18267
- .bottom-nav-shifting .bottom-nav-item.active {
18721
+ /* Legacy spelling retained; prefer .bottom-nav-shifting. */
18722
+ .bottom-nav-shift .bottom-nav-item:not(:is(.active, .bottom-nav-item-active, [aria-current="page"])) .bottom-nav-label {
18723
+ display: none;
18724
+ }
18725
+
18726
+ .bottom-nav-shift .bottom-nav-item:is(.active, .bottom-nav-item-active, [aria-current="page"]) {
18727
+ min-width: 6rem;
18728
+ }
18729
+
18730
+ .bottom-nav-shifting .bottom-nav-item:is(.active, .bottom-nav-item-active, [aria-current="page"]) {
18268
18731
  flex: 1 1 6rem;
18269
18732
  }
18270
18733
 
@@ -18274,7 +18737,7 @@ html {
18274
18737
  transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
18275
18738
  }
18276
18739
 
18277
- .bottom-nav-shifting .bottom-nav-item.active .bottom-nav-label {
18740
+ .bottom-nav-shifting .bottom-nav-item:is(.active, .bottom-nav-item-active, [aria-current="page"]) .bottom-nav-label {
18278
18741
  opacity: 1;
18279
18742
  transform: translateY(0);
18280
18743
  }
@@ -18282,9 +18745,9 @@ html {
18282
18745
  /* Rail Style (Side Navigation) */
18283
18746
  .nav-rail {
18284
18747
  position: fixed;
18285
- left: 0;
18286
- top: 0;
18287
- bottom: 0;
18748
+ left: 0; /* Physical fallback; logical inset below controls RTL placement. */
18749
+ inset-inline-start: 0;
18750
+ inset-block: 0;
18288
18751
  z-index: 1000;
18289
18752
  display: flex;
18290
18753
  flex-direction: column;
@@ -18292,7 +18755,11 @@ html {
18292
18755
  width: 5rem;
18293
18756
  padding: 1rem 0;
18294
18757
  background-color: var(--color-surface);
18295
- border-right: 1px solid var(--color-outline-variant);
18758
+ border-inline-end: 1px solid var(--color-outline-variant);
18759
+ }
18760
+
18761
+ .nav-rail:dir(rtl) {
18762
+ left: auto;
18296
18763
  }
18297
18764
 
18298
18765
  .nav-rail .bottom-nav-item {
@@ -18310,13 +18777,13 @@ html {
18310
18777
  @media (min-width: 768px) {
18311
18778
  .bottom-nav-responsive {
18312
18779
  position: relative;
18313
- bottom: auto;
18780
+ inset-block-end: auto;
18314
18781
  justify-content: flex-start;
18315
18782
  gap: 0.5rem;
18316
18783
  min-height: 3rem;
18317
18784
  padding: 0 1rem;
18318
18785
  box-shadow: none;
18319
- border-bottom: 1px solid var(--color-outline-variant);
18786
+ border-block-end: 1px solid var(--color-outline-variant);
18320
18787
  }
18321
18788
 
18322
18789
  .bottom-nav-responsive .bottom-nav-item {
@@ -18332,8 +18799,8 @@ html {
18332
18799
  background-color: transparent !important;
18333
18800
  }
18334
18801
 
18335
- .bottom-nav-responsive .bottom-nav-item.active {
18336
- border-bottom: 2px solid var(--color-primary);
18802
+ .bottom-nav-responsive .bottom-nav-item:is(.active, .bottom-nav-item-active, [aria-current="page"]) {
18803
+ border-block-end: 2px solid var(--color-primary);
18337
18804
  }
18338
18805
  }
18339
18806
 
@@ -19237,8 +19704,12 @@ html {
19237
19704
  }
19238
19705
 
19239
19706
  .nested-menu li.disabled > a,
19240
- .nested-menu li.disabled > button {
19707
+ .nested-menu li.disabled > button,
19708
+ .nested-menu li > button:disabled,
19709
+ .nested-menu li > a[aria-disabled="true"] {
19241
19710
  color: var(--color-on-surface-variant);
19711
+ opacity: 0.5;
19712
+ cursor: not-allowed;
19242
19713
  }
19243
19714
 
19244
19715
  /* ============================================
@@ -19288,7 +19759,7 @@ html {
19288
19759
  .nested-menu summary::after {
19289
19760
  content: "";
19290
19761
  display: inline-block;
19291
- margin-left: auto;
19762
+ margin-inline-start: auto;
19292
19763
  width: 0.375rem;
19293
19764
  height: 0.375rem;
19294
19765
  border-right: 1.5px solid currentColor;
@@ -19303,11 +19774,22 @@ html {
19303
19774
  transform: rotate(45deg);
19304
19775
  }
19305
19776
 
19777
+ .nested-menu:dir(rtl) summary::after {
19778
+ border-right: 0;
19779
+ border-left: 1.5px solid currentColor;
19780
+ transform: rotate(135deg);
19781
+ }
19782
+
19783
+ .nested-menu:dir(rtl) details[open] > summary::after {
19784
+ transform: rotate(45deg);
19785
+ }
19786
+
19306
19787
  /* Nested <ul> inside details — auto-indentation */
19307
19788
  .nested-menu details > ul {
19308
19789
  list-style: none;
19309
19790
  margin: 0;
19310
- padding: 0.125rem 0 0.125rem 1rem;
19791
+ padding-block: 0.125rem;
19792
+ padding-inline: 1rem 0;
19311
19793
  display: flex;
19312
19794
  flex-direction: column;
19313
19795
  gap: 0.125rem;
@@ -19397,7 +19879,7 @@ html {
19397
19879
  }
19398
19880
 
19399
19881
  .nested-menu-compact details > ul {
19400
- padding: 0 0 0 0.75rem;
19882
+ padding-inline: 0.75rem 0;
19401
19883
  }
19402
19884
 
19403
19885
  /* ============================================
@@ -19440,7 +19922,7 @@ html {
19440
19922
  .stepper-step-connector {
19441
19923
  position: absolute;
19442
19924
  top: 1.25rem;
19443
- left: calc(50% + 1.25rem);
19925
+ inset-inline-start: calc(50% + 1.25rem);
19444
19926
  width: calc(100% - 2.5rem);
19445
19927
  height: 2px;
19446
19928
  background-color: var(--color-outline-variant);
@@ -19465,10 +19947,13 @@ html {
19465
19947
  background: none;
19466
19948
  border: none;
19467
19949
  padding: 0;
19950
+ color: inherit;
19468
19951
  }
19469
19952
 
19470
19953
  .stepper-step-button:focus-visible {
19471
- outline: none;
19954
+ outline: 2px solid currentColor;
19955
+ outline-offset: 0.25rem;
19956
+ border-radius: var(--radius-sm);
19472
19957
  }
19473
19958
 
19474
19959
  .stepper-step-button:focus-visible .stepper-step-icon {
@@ -19492,7 +19977,8 @@ html {
19492
19977
  transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out, color 150ms ease-in-out;
19493
19978
  }
19494
19979
 
19495
- .stepper-step-active .stepper-step-icon {
19980
+ .stepper-step-active .stepper-step-icon,
19981
+ .stepper-step[aria-current="step"] .stepper-step-icon {
19496
19982
  background-color: var(--color-primary);
19497
19983
  border-color: var(--color-primary);
19498
19984
  color: var(--color-primary-content);
@@ -19523,7 +20009,8 @@ html {
19523
20009
  text-align: center;
19524
20010
  }
19525
20011
 
19526
- .stepper-step-active .stepper-step-label {
20012
+ .stepper-step-active .stepper-step-label,
20013
+ .stepper-step[aria-current="step"] .stepper-step-label {
19527
20014
  color: var(--color-primary);
19528
20015
  }
19529
20016
 
@@ -19534,14 +20021,14 @@ html {
19534
20021
  .stepper-step-description {
19535
20022
  font-size: 0.75rem;
19536
20023
  color: var(--color-on-surface-variant);
19537
- margin-top: 0.125rem;
20024
+ margin-block-start: 0.125rem;
19538
20025
  text-align: center;
19539
20026
  }
19540
20027
 
19541
20028
  /* Step Content (for vertical stepper) */
19542
20029
  .stepper-step-content {
19543
- margin-top: 1.5rem;
19544
- padding: 0 1rem;
20030
+ margin-block-start: 1.5rem;
20031
+ padding-inline: 1rem;
19545
20032
  width: 100%;
19546
20033
  }
19547
20034
 
@@ -19551,7 +20038,7 @@ html {
19551
20038
  display: block;
19552
20039
  font-size: 0.6875rem;
19553
20040
  color: var(--color-on-surface-variant);
19554
- margin-top: 0.125rem;
20041
+ margin-block-start: 0.125rem;
19555
20042
  }
19556
20043
 
19557
20044
  /* Vertical Stepper */
@@ -19568,7 +20055,7 @@ html {
19568
20055
 
19569
20056
  .stepper-vertical .stepper-step-connector {
19570
20057
  top: 2.5rem;
19571
- left: 1.25rem;
20058
+ inset-inline-start: 1.25rem;
19572
20059
  width: 2px;
19573
20060
  height: calc(100% - 2.5rem);
19574
20061
  transform: translateX(-50%);
@@ -19581,18 +20068,19 @@ html {
19581
20068
 
19582
20069
  .stepper-vertical .stepper-step-label,
19583
20070
  .stepper-vertical .stepper-step-description {
19584
- text-align: left;
19585
- margin-left: 1rem;
20071
+ text-align: start;
20072
+ margin-inline-start: 1rem;
19586
20073
  }
19587
20074
 
19588
20075
  .stepper-vertical .stepper-step-content {
19589
- margin-top: 0;
19590
- margin-left: 3.5rem;
19591
- padding: 1rem 0 1.5rem;
20076
+ margin-block-start: 0;
20077
+ margin-inline-start: 3.5rem;
20078
+ padding-block: 1rem 1.5rem;
19592
20079
  }
19593
20080
 
19594
20081
  /* Color Variants */
19595
20082
  .stepper-secondary .stepper-step-active .stepper-step-icon,
20083
+ .stepper-secondary .stepper-step[aria-current="step"] .stepper-step-icon,
19596
20084
  .stepper-secondary .stepper-step-completed .stepper-step-icon {
19597
20085
  background-color: var(--color-secondary);
19598
20086
  border-color: var(--color-secondary);
@@ -19603,11 +20091,13 @@ html {
19603
20091
  background-color: var(--color-secondary);
19604
20092
  }
19605
20093
 
19606
- .stepper-secondary .stepper-step-active .stepper-step-label {
20094
+ .stepper-secondary .stepper-step-active .stepper-step-label,
20095
+ .stepper-secondary .stepper-step[aria-current="step"] .stepper-step-label {
19607
20096
  color: var(--color-secondary);
19608
20097
  }
19609
20098
 
19610
20099
  .stepper-tertiary .stepper-step-active .stepper-step-icon,
20100
+ .stepper-tertiary .stepper-step[aria-current="step"] .stepper-step-icon,
19611
20101
  .stepper-tertiary .stepper-step-completed .stepper-step-icon {
19612
20102
  background-color: var(--color-tertiary);
19613
20103
  border-color: var(--color-tertiary);
@@ -19618,7 +20108,8 @@ html {
19618
20108
  background-color: var(--color-tertiary);
19619
20109
  }
19620
20110
 
19621
- .stepper-tertiary .stepper-step-active .stepper-step-label {
20111
+ .stepper-tertiary .stepper-step-active .stepper-step-label,
20112
+ .stepper-tertiary .stepper-step[aria-current="step"] .stepper-step-label {
19622
20113
  color: var(--color-tertiary);
19623
20114
  }
19624
20115
 
@@ -19631,7 +20122,7 @@ html {
19631
20122
 
19632
20123
  .stepper-sm .stepper-step-connector {
19633
20124
  top: 1rem;
19634
- left: calc(50% + 1rem);
20125
+ inset-inline-start: calc(50% + 1rem);
19635
20126
  width: calc(100% - 2rem);
19636
20127
  }
19637
20128
 
@@ -19652,14 +20143,14 @@ html {
19652
20143
 
19653
20144
  .stepper-lg .stepper-step-connector {
19654
20145
  top: 1.5rem;
19655
- left: calc(50% + 1.5rem);
20146
+ inset-inline-start: calc(50% + 1.5rem);
19656
20147
  width: calc(100% - 3rem);
19657
20148
  }
19658
20149
 
19659
20150
  /* Alternative Label Positioning */
19660
20151
  .stepper-alt-labels .stepper-step-connector {
19661
20152
  top: 1.25rem;
19662
- left: calc(50% + 2rem);
20153
+ inset-inline-start: calc(50% + 2rem);
19663
20154
  width: calc(100% - 4rem);
19664
20155
  }
19665
20156
 
@@ -19714,6 +20205,11 @@ html {
19714
20205
  opacity: 0.7;
19715
20206
  }
19716
20207
 
20208
+ .stepper-step-button:disabled {
20209
+ cursor: not-allowed;
20210
+ opacity: 0.7;
20211
+ }
20212
+
19717
20213
  /* Icon Stepper */
19718
20214
  .stepper-icons .stepper-step-icon {
19719
20215
  font-size: 1.25rem;