@hmlr/govuk-react-components-library 1.0.1 → 1.0.2

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.
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * Bootstrap v5.3.3 (https://getbootstrap.com/)
4
- * Copyright 2011-2024 The Bootstrap Authors
3
+ * Bootstrap v5.3.7 (https://getbootstrap.com/)
4
+ * Copyright 2011-2025 The Bootstrap Authors
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
6
6
  */
7
7
  :root,
@@ -515,8 +515,8 @@ legend {
515
515
  width: 100%;
516
516
  padding: 0;
517
517
  margin-bottom: 0.5rem;
518
- font-size: calc(1.275rem + 0.3vw);
519
518
  line-height: inherit;
519
+ font-size: calc(1.275rem + 0.3vw);
520
520
  }
521
521
  @media (min-width: 1200px) {
522
522
  legend {
@@ -594,9 +594,9 @@ progress {
594
594
  }
595
595
 
596
596
  .display-1 {
597
- font-size: calc(1.625rem + 4.5vw);
598
597
  font-weight: 300;
599
598
  line-height: 1.2;
599
+ font-size: calc(1.625rem + 4.5vw);
600
600
  }
601
601
  @media (min-width: 1200px) {
602
602
  .display-1 {
@@ -605,9 +605,9 @@ progress {
605
605
  }
606
606
 
607
607
  .display-2 {
608
- font-size: calc(1.575rem + 3.9vw);
609
608
  font-weight: 300;
610
609
  line-height: 1.2;
610
+ font-size: calc(1.575rem + 3.9vw);
611
611
  }
612
612
  @media (min-width: 1200px) {
613
613
  .display-2 {
@@ -616,9 +616,9 @@ progress {
616
616
  }
617
617
 
618
618
  .display-3 {
619
- font-size: calc(1.525rem + 3.3vw);
620
619
  font-weight: 300;
621
620
  line-height: 1.2;
621
+ font-size: calc(1.525rem + 3.3vw);
622
622
  }
623
623
  @media (min-width: 1200px) {
624
624
  .display-3 {
@@ -627,9 +627,9 @@ progress {
627
627
  }
628
628
 
629
629
  .display-4 {
630
- font-size: calc(1.475rem + 2.7vw);
631
630
  font-weight: 300;
632
631
  line-height: 1.2;
632
+ font-size: calc(1.475rem + 2.7vw);
633
633
  }
634
634
  @media (min-width: 1200px) {
635
635
  .display-4 {
@@ -638,9 +638,9 @@ progress {
638
638
  }
639
639
 
640
640
  .display-5 {
641
- font-size: calc(1.425rem + 2.1vw);
642
641
  font-weight: 300;
643
642
  line-height: 1.2;
643
+ font-size: calc(1.425rem + 2.1vw);
644
644
  }
645
645
  @media (min-width: 1200px) {
646
646
  .display-5 {
@@ -649,9 +649,9 @@ progress {
649
649
  }
650
650
 
651
651
  .display-6 {
652
- font-size: calc(1.375rem + 1.5vw);
653
652
  font-weight: 300;
654
653
  line-height: 1.2;
654
+ font-size: calc(1.375rem + 1.5vw);
655
655
  }
656
656
  @media (min-width: 1200px) {
657
657
  .display-6 {
@@ -796,7 +796,7 @@ progress {
796
796
  }
797
797
 
798
798
  .col {
799
- flex: 1 0 0%;
799
+ flex: 1 0 0;
800
800
  }
801
801
 
802
802
  .row-cols-auto > * {
@@ -1005,7 +1005,7 @@ progress {
1005
1005
 
1006
1006
  @media (min-width: 576px) {
1007
1007
  .col-sm {
1008
- flex: 1 0 0%;
1008
+ flex: 1 0 0;
1009
1009
  }
1010
1010
  .row-cols-sm-auto > * {
1011
1011
  flex: 0 0 auto;
@@ -1174,7 +1174,7 @@ progress {
1174
1174
  }
1175
1175
  @media (min-width: 768px) {
1176
1176
  .col-md {
1177
- flex: 1 0 0%;
1177
+ flex: 1 0 0;
1178
1178
  }
1179
1179
  .row-cols-md-auto > * {
1180
1180
  flex: 0 0 auto;
@@ -1343,7 +1343,7 @@ progress {
1343
1343
  }
1344
1344
  @media (min-width: 992px) {
1345
1345
  .col-lg {
1346
- flex: 1 0 0%;
1346
+ flex: 1 0 0;
1347
1347
  }
1348
1348
  .row-cols-lg-auto > * {
1349
1349
  flex: 0 0 auto;
@@ -1512,7 +1512,7 @@ progress {
1512
1512
  }
1513
1513
  @media (min-width: 1200px) {
1514
1514
  .col-xl {
1515
- flex: 1 0 0%;
1515
+ flex: 1 0 0;
1516
1516
  }
1517
1517
  .row-cols-xl-auto > * {
1518
1518
  flex: 0 0 auto;
@@ -1681,7 +1681,7 @@ progress {
1681
1681
  }
1682
1682
  @media (min-width: 1400px) {
1683
1683
  .col-xxl {
1684
- flex: 1 0 0%;
1684
+ flex: 1 0 0;
1685
1685
  }
1686
1686
  .row-cols-xxl-auto > * {
1687
1687
  flex: 0 0 auto;
@@ -2542,9 +2542,11 @@ textarea.form-control-lg {
2542
2542
  top: 0;
2543
2543
  left: 0;
2544
2544
  z-index: 2;
2545
+ max-width: 100%;
2545
2546
  height: 100%;
2546
2547
  padding: 1rem 0.75rem;
2547
2548
  overflow: hidden;
2549
+ color: rgba(var(--bs-body-color-rgb), 0.65);
2548
2550
  text-align: start;
2549
2551
  text-overflow: ellipsis;
2550
2552
  white-space: nowrap;
@@ -2580,18 +2582,19 @@ textarea.form-control-lg {
2580
2582
  .form-floating > .form-select {
2581
2583
  padding-top: 1.625rem;
2582
2584
  padding-bottom: 0.625rem;
2585
+ padding-left: 0.75rem;
2583
2586
  }
2584
2587
  .form-floating > .form-control:focus ~ label,
2585
2588
  .form-floating > .form-control:not(:placeholder-shown) ~ label,
2586
2589
  .form-floating > .form-control-plaintext ~ label,
2587
2590
  .form-floating > .form-select ~ label {
2588
- color: rgba(var(--bs-body-color-rgb), 0.65);
2589
2591
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
2590
2592
  }
2591
- .form-floating > .form-control:focus ~ label::after,
2592
- .form-floating > .form-control:not(:placeholder-shown) ~ label::after,
2593
- .form-floating > .form-control-plaintext ~ label::after,
2594
- .form-floating > .form-select ~ label::after {
2593
+ .form-floating > .form-control:-webkit-autofill ~ label {
2594
+ transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
2595
+ }
2596
+ .form-floating > textarea:focus ~ label::after,
2597
+ .form-floating > textarea:not(:placeholder-shown) ~ label::after {
2595
2598
  position: absolute;
2596
2599
  inset: 1rem 0.375rem;
2597
2600
  z-index: -1;
@@ -2600,9 +2603,8 @@ textarea.form-control-lg {
2600
2603
  background-color: var(--bs-body-bg);
2601
2604
  border-radius: var(--bs-border-radius);
2602
2605
  }
2603
- .form-floating > .form-control:-webkit-autofill ~ label {
2604
- color: rgba(var(--bs-body-color-rgb), 0.65);
2605
- transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
2606
+ .form-floating > textarea:disabled ~ label::after {
2607
+ background-color: var(--bs-secondary-bg);
2606
2608
  }
2607
2609
  .form-floating > .form-control-plaintext ~ label {
2608
2610
  border-width: var(--bs-border-width) 0;
@@ -2611,10 +2613,6 @@ textarea.form-control-lg {
2611
2613
  .form-floating > .form-control:disabled ~ label {
2612
2614
  color: #6c757d;
2613
2615
  }
2614
- .form-floating > :disabled ~ label::after,
2615
- .form-floating > .form-control:disabled ~ label::after {
2616
- background-color: var(--bs-secondary-bg);
2617
- }
2618
2616
 
2619
2617
  .input-group {
2620
2618
  position: relative;
@@ -2697,7 +2695,7 @@ textarea.form-control-lg {
2697
2695
  border-bottom-right-radius: 0;
2698
2696
  }
2699
2697
  .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
2700
- margin-left: calc(var(--bs-border-width) * -1);
2698
+ margin-left: calc(-1 * var(--bs-border-width));
2701
2699
  border-top-left-radius: 0;
2702
2700
  border-bottom-left-radius: 0;
2703
2701
  }
@@ -2739,7 +2737,7 @@ textarea.form-control-lg {
2739
2737
  .was-validated .form-control:valid, .form-control.is-valid {
2740
2738
  border-color: var(--bs-form-valid-border-color);
2741
2739
  padding-right: calc(1.5em + 0.75rem);
2742
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
2740
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");
2743
2741
  background-repeat: no-repeat;
2744
2742
  background-position: right calc(0.375em + 0.1875rem) center;
2745
2743
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
@@ -2758,7 +2756,7 @@ textarea.form-control-lg {
2758
2756
  border-color: var(--bs-form-valid-border-color);
2759
2757
  }
2760
2758
  .was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] {
2761
- --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
2759
+ --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");
2762
2760
  padding-right: 4.125rem;
2763
2761
  background-position: right 0.75rem center, center right 2.25rem;
2764
2762
  background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
@@ -3668,7 +3666,7 @@ textarea.form-control-lg {
3668
3666
  }
3669
3667
  .btn-group > :not(.btn-check:first-child) + .btn,
3670
3668
  .btn-group > .btn-group:not(:first-child) {
3671
- margin-left: calc(var(--bs-border-width) * -1);
3669
+ margin-left: calc(-1 * var(--bs-border-width));
3672
3670
  }
3673
3671
  .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
3674
3672
  .btn-group > .btn.dropdown-toggle-split:first-child,
@@ -3715,14 +3713,15 @@ textarea.form-control-lg {
3715
3713
  }
3716
3714
  .btn-group-vertical > .btn:not(:first-child),
3717
3715
  .btn-group-vertical > .btn-group:not(:first-child) {
3718
- margin-top: calc(var(--bs-border-width) * -1);
3716
+ margin-top: calc(-1 * var(--bs-border-width));
3719
3717
  }
3720
3718
  .btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),
3721
3719
  .btn-group-vertical > .btn-group:not(:last-child) > .btn {
3722
3720
  border-bottom-right-radius: 0;
3723
3721
  border-bottom-left-radius: 0;
3724
3722
  }
3725
- .btn-group-vertical > .btn ~ .btn,
3723
+ .btn-group-vertical > .btn:nth-child(n+3),
3724
+ .btn-group-vertical > :not(.btn-check) + .btn,
3726
3725
  .btn-group-vertical > .btn-group:not(:first-child) > .btn {
3727
3726
  border-top-left-radius: 0;
3728
3727
  border-top-right-radius: 0;
@@ -3846,8 +3845,8 @@ textarea.form-control-lg {
3846
3845
 
3847
3846
  .nav-justified > .nav-link,
3848
3847
  .nav-justified .nav-item {
3849
- flex-basis: 0;
3850
3848
  flex-grow: 1;
3849
+ flex-basis: 0;
3851
3850
  text-align: center;
3852
3851
  }
3853
3852
 
@@ -3948,8 +3947,8 @@ textarea.form-control-lg {
3948
3947
  }
3949
3948
 
3950
3949
  .navbar-collapse {
3951
- flex-basis: 100%;
3952
3950
  flex-grow: 1;
3951
+ flex-basis: 100%;
3953
3952
  align-items: center;
3954
3953
  }
3955
3954
 
@@ -4444,7 +4443,7 @@ textarea.form-control-lg {
4444
4443
  flex-flow: row wrap;
4445
4444
  }
4446
4445
  .card-group > .card {
4447
- flex: 1 0 0%;
4446
+ flex: 1 0 0;
4448
4447
  margin-bottom: 0;
4449
4448
  }
4450
4449
  .card-group > .card + .card {
@@ -4455,24 +4454,24 @@ textarea.form-control-lg {
4455
4454
  border-top-right-radius: 0;
4456
4455
  border-bottom-right-radius: 0;
4457
4456
  }
4458
- .card-group > .card:not(:last-child) .card-img-top,
4459
- .card-group > .card:not(:last-child) .card-header {
4457
+ .card-group > .card:not(:last-child) > .card-img-top,
4458
+ .card-group > .card:not(:last-child) > .card-header {
4460
4459
  border-top-right-radius: 0;
4461
4460
  }
4462
- .card-group > .card:not(:last-child) .card-img-bottom,
4463
- .card-group > .card:not(:last-child) .card-footer {
4461
+ .card-group > .card:not(:last-child) > .card-img-bottom,
4462
+ .card-group > .card:not(:last-child) > .card-footer {
4464
4463
  border-bottom-right-radius: 0;
4465
4464
  }
4466
4465
  .card-group > .card:not(:first-child) {
4467
4466
  border-top-left-radius: 0;
4468
4467
  border-bottom-left-radius: 0;
4469
4468
  }
4470
- .card-group > .card:not(:first-child) .card-img-top,
4471
- .card-group > .card:not(:first-child) .card-header {
4469
+ .card-group > .card:not(:first-child) > .card-img-top,
4470
+ .card-group > .card:not(:first-child) > .card-header {
4472
4471
  border-top-left-radius: 0;
4473
4472
  }
4474
- .card-group > .card:not(:first-child) .card-img-bottom,
4475
- .card-group > .card:not(:first-child) .card-footer {
4473
+ .card-group > .card:not(:first-child) > .card-img-bottom,
4474
+ .card-group > .card:not(:first-child) > .card-footer {
4476
4475
  border-bottom-left-radius: 0;
4477
4476
  }
4478
4477
  }
@@ -4489,11 +4488,11 @@ textarea.form-control-lg {
4489
4488
  --bs-accordion-btn-padding-y: 1rem;
4490
4489
  --bs-accordion-btn-color: var(--bs-body-color);
4491
4490
  --bs-accordion-btn-bg: var(--bs-accordion-bg);
4492
- --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
4491
+ --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
4493
4492
  --bs-accordion-btn-icon-width: 1.25rem;
4494
4493
  --bs-accordion-btn-icon-transform: rotate(-180deg);
4495
4494
  --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
4496
- --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgb%285.2, 44, 101.2%29' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
4495
+ --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgb%285.2, 44, 101.2%29' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
4497
4496
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
4498
4497
  --bs-accordion-body-padding-x: 1.25rem;
4499
4498
  --bs-accordion-body-padding-y: 1rem;
@@ -4603,16 +4602,15 @@ textarea.form-control-lg {
4603
4602
  .accordion-flush > .accordion-item:last-child {
4604
4603
  border-bottom: 0;
4605
4604
  }
4606
- .accordion-flush > .accordion-item > .accordion-header .accordion-button, .accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed {
4607
- border-radius: 0;
4608
- }
4609
- .accordion-flush > .accordion-item > .accordion-collapse {
4605
+ .accordion-flush > .accordion-item > .accordion-collapse,
4606
+ .accordion-flush > .accordion-item > .accordion-header .accordion-button,
4607
+ .accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed {
4610
4608
  border-radius: 0;
4611
4609
  }
4612
4610
 
4613
4611
  [data-bs-theme=dark] .accordion-button::after {
4614
- --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%28109.8, 168, 253.8%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
4615
- --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%28109.8, 168, 253.8%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
4612
+ --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%28109.8, 168, 253.8%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
4613
+ --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%28109.8, 168, 253.8%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
4616
4614
  }
4617
4615
 
4618
4616
  .breadcrumb {
@@ -4716,7 +4714,7 @@ textarea.form-control-lg {
4716
4714
  }
4717
4715
 
4718
4716
  .page-item:not(:first-child) .page-link {
4719
- margin-left: calc(var(--bs-border-width) * -1);
4717
+ margin-left: calc(-1 * var(--bs-border-width));
4720
4718
  }
4721
4719
  .page-item:first-child .page-link {
4722
4720
  border-top-left-radius: var(--bs-pagination-border-radius);
@@ -4865,7 +4863,7 @@ textarea.form-control-lg {
4865
4863
 
4866
4864
  @keyframes progress-bar-stripes {
4867
4865
  0% {
4868
- background-position-x: 1rem;
4866
+ background-position-x: var(--bs-progress-height);
4869
4867
  }
4870
4868
  }
4871
4869
  .progress,
@@ -4959,22 +4957,6 @@ textarea.form-control-lg {
4959
4957
  counter-increment: section;
4960
4958
  }
4961
4959
 
4962
- .list-group-item-action {
4963
- width: 100%;
4964
- color: var(--bs-list-group-action-color);
4965
- text-align: inherit;
4966
- }
4967
- .list-group-item-action:hover, .list-group-item-action:focus {
4968
- z-index: 1;
4969
- color: var(--bs-list-group-action-hover-color);
4970
- text-decoration: none;
4971
- background-color: var(--bs-list-group-action-hover-bg);
4972
- }
4973
- .list-group-item-action:active {
4974
- color: var(--bs-list-group-action-active-color);
4975
- background-color: var(--bs-list-group-action-active-bg);
4976
- }
4977
-
4978
4960
  .list-group-item {
4979
4961
  position: relative;
4980
4962
  display: block;
@@ -5011,6 +4993,22 @@ textarea.form-control-lg {
5011
4993
  border-top-width: var(--bs-list-group-border-width);
5012
4994
  }
5013
4995
 
4996
+ .list-group-item-action {
4997
+ width: 100%;
4998
+ color: var(--bs-list-group-action-color);
4999
+ text-align: inherit;
5000
+ }
5001
+ .list-group-item-action:not(.active):hover, .list-group-item-action:not(.active):focus {
5002
+ z-index: 1;
5003
+ color: var(--bs-list-group-action-hover-color);
5004
+ text-decoration: none;
5005
+ background-color: var(--bs-list-group-action-hover-bg);
5006
+ }
5007
+ .list-group-item-action:not(.active):active {
5008
+ color: var(--bs-list-group-action-active-color);
5009
+ background-color: var(--bs-list-group-action-active-bg);
5010
+ }
5011
+
5014
5012
  .list-group-horizontal {
5015
5013
  flex-direction: row;
5016
5014
  }
@@ -5270,19 +5268,19 @@ textarea.form-control-lg {
5270
5268
 
5271
5269
  .btn-close {
5272
5270
  --bs-btn-close-color: #000;
5273
- --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
5271
+ --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
5274
5272
  --bs-btn-close-opacity: 0.5;
5275
5273
  --bs-btn-close-hover-opacity: 0.75;
5276
5274
  --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
5277
5275
  --bs-btn-close-focus-opacity: 1;
5278
5276
  --bs-btn-close-disabled-opacity: 0.25;
5279
- --bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%);
5280
5277
  box-sizing: content-box;
5281
5278
  width: 1em;
5282
5279
  height: 1em;
5283
5280
  padding: 0.25em 0.25em;
5284
5281
  color: var(--bs-btn-close-color);
5285
5282
  background: transparent var(--bs-btn-close-bg) center/1em auto no-repeat;
5283
+ filter: var(--bs-btn-close-filter);
5286
5284
  border: 0;
5287
5285
  border-radius: 0.375rem;
5288
5286
  opacity: var(--bs-btn-close-opacity);
@@ -5304,11 +5302,16 @@ textarea.form-control-lg {
5304
5302
  }
5305
5303
 
5306
5304
  .btn-close-white {
5307
- filter: var(--bs-btn-close-white-filter);
5305
+ --bs-btn-close-filter: invert(1) grayscale(100%) brightness(200%);
5308
5306
  }
5309
5307
 
5310
- [data-bs-theme=dark] .btn-close {
5311
- filter: var(--bs-btn-close-white-filter);
5308
+ :root,
5309
+ [data-bs-theme=light] {
5310
+ --bs-btn-close-filter: ;
5311
+ }
5312
+
5313
+ [data-bs-theme=dark] {
5314
+ --bs-btn-close-filter: invert(1) grayscale(100%) brightness(200%);
5312
5315
  }
5313
5316
 
5314
5317
  .toast {
@@ -5383,7 +5386,7 @@ textarea.form-control-lg {
5383
5386
  --bs-modal-width: 500px;
5384
5387
  --bs-modal-padding: 1rem;
5385
5388
  --bs-modal-margin: 0.5rem;
5386
- --bs-modal-color: ;
5389
+ --bs-modal-color: var(--bs-body-color);
5387
5390
  --bs-modal-bg: var(--bs-body-bg);
5388
5391
  --bs-modal-border-color: var(--bs-border-color-translucent);
5389
5392
  --bs-modal-border-width: var(--bs-border-width);
@@ -5419,8 +5422,8 @@ textarea.form-control-lg {
5419
5422
  pointer-events: none;
5420
5423
  }
5421
5424
  .modal.fade .modal-dialog {
5422
- transition: transform 0.3s ease-out;
5423
5425
  transform: translate(0, -50px);
5426
+ transition: transform 0.3s ease-out;
5424
5427
  }
5425
5428
  @media (prefers-reduced-motion: reduce) {
5426
5429
  .modal.fade .modal-dialog {
@@ -5495,7 +5498,10 @@ textarea.form-control-lg {
5495
5498
  }
5496
5499
  .modal-header .btn-close {
5497
5500
  padding: calc(var(--bs-modal-header-padding-y) * 0.5) calc(var(--bs-modal-header-padding-x) * 0.5);
5498
- margin: calc(-0.5 * var(--bs-modal-header-padding-y)) calc(-0.5 * var(--bs-modal-header-padding-x)) calc(-0.5 * var(--bs-modal-header-padding-y)) auto;
5501
+ margin-top: calc(-0.5 * var(--bs-modal-header-padding-y));
5502
+ margin-right: calc(-0.5 * var(--bs-modal-header-padding-x));
5503
+ margin-bottom: calc(-0.5 * var(--bs-modal-header-padding-y));
5504
+ margin-left: auto;
5499
5505
  }
5500
5506
 
5501
5507
  .modal-title {
@@ -6015,6 +6021,7 @@ textarea.form-control-lg {
6015
6021
  color: #fff;
6016
6022
  text-align: center;
6017
6023
  background: none;
6024
+ filter: var(--bs-carousel-control-icon-filter);
6018
6025
  border: 0;
6019
6026
  opacity: 0.5;
6020
6027
  transition: opacity 0.15s ease;
@@ -6053,11 +6060,11 @@ textarea.form-control-lg {
6053
6060
  }
6054
6061
 
6055
6062
  .carousel-control-prev-icon {
6056
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")*/;
6063
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")*/;
6057
6064
  }
6058
6065
 
6059
6066
  .carousel-control-next-icon {
6060
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")*/;
6067
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e")*/;
6061
6068
  }
6062
6069
 
6063
6070
  .carousel-indicators {
@@ -6083,7 +6090,7 @@ textarea.form-control-lg {
6083
6090
  margin-left: 3px;
6084
6091
  text-indent: -999px;
6085
6092
  cursor: pointer;
6086
- background-color: #fff;
6093
+ background-color: var(--bs-carousel-indicator-active-bg);
6087
6094
  background-clip: padding-box;
6088
6095
  border: 0;
6089
6096
  border-top: 10px solid transparent;
@@ -6107,31 +6114,27 @@ textarea.form-control-lg {
6107
6114
  left: 15%;
6108
6115
  padding-top: 1.25rem;
6109
6116
  padding-bottom: 1.25rem;
6110
- color: #fff;
6117
+ color: var(--bs-carousel-caption-color);
6111
6118
  text-align: center;
6112
6119
  }
6113
6120
 
6114
- .carousel-dark .carousel-control-prev-icon,
6115
- .carousel-dark .carousel-control-next-icon {
6116
- filter: invert(1) grayscale(100);
6117
- }
6118
- .carousel-dark .carousel-indicators [data-bs-target] {
6119
- background-color: #000;
6120
- }
6121
- .carousel-dark .carousel-caption {
6122
- color: #000;
6121
+ .carousel-dark {
6122
+ --bs-carousel-indicator-active-bg: #000;
6123
+ --bs-carousel-caption-color: #000;
6124
+ --bs-carousel-control-icon-filter: invert(1) grayscale(100);
6123
6125
  }
6124
6126
 
6125
- [data-bs-theme=dark] .carousel .carousel-control-prev-icon,
6126
- [data-bs-theme=dark] .carousel .carousel-control-next-icon, [data-bs-theme=dark].carousel .carousel-control-prev-icon,
6127
- [data-bs-theme=dark].carousel .carousel-control-next-icon {
6128
- filter: invert(1) grayscale(100);
6129
- }
6130
- [data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target], [data-bs-theme=dark].carousel .carousel-indicators [data-bs-target] {
6131
- background-color: #000;
6127
+ :root,
6128
+ [data-bs-theme=light] {
6129
+ --bs-carousel-indicator-active-bg: #fff;
6130
+ --bs-carousel-caption-color: #fff;
6131
+ --bs-carousel-control-icon-filter: ;
6132
6132
  }
6133
- [data-bs-theme=dark] .carousel .carousel-caption, [data-bs-theme=dark].carousel .carousel-caption {
6134
- color: #000;
6133
+
6134
+ [data-bs-theme=dark] {
6135
+ --bs-carousel-indicator-active-bg: #000;
6136
+ --bs-carousel-caption-color: #000;
6137
+ --bs-carousel-control-icon-filter: invert(1) grayscale(100);
6135
6138
  }
6136
6139
 
6137
6140
  .spinner-grow,
@@ -6681,7 +6684,10 @@ textarea.form-control-lg {
6681
6684
  }
6682
6685
  .offcanvas-header .btn-close {
6683
6686
  padding: calc(var(--bs-offcanvas-padding-y) * 0.5) calc(var(--bs-offcanvas-padding-x) * 0.5);
6684
- margin: calc(-0.5 * var(--bs-offcanvas-padding-y)) calc(-0.5 * var(--bs-offcanvas-padding-x)) calc(-0.5 * var(--bs-offcanvas-padding-y)) auto;
6687
+ margin-top: calc(-0.5 * var(--bs-offcanvas-padding-y));
6688
+ margin-right: calc(-0.5 * var(--bs-offcanvas-padding-x));
6689
+ margin-bottom: calc(-0.5 * var(--bs-offcanvas-padding-y));
6690
+ margin-left: auto;
6685
6691
  }
6686
6692
 
6687
6693
  .offcanvas-title {
@@ -7047,6 +7053,10 @@ textarea.form-control-lg {
7047
7053
  .visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) {
7048
7054
  position: absolute !important;
7049
7055
  }
7056
+ .visually-hidden *,
7057
+ .visually-hidden-focusable:not(:focus):not(:focus-within) * {
7058
+ overflow: hidden !important;
7059
+ }
7050
7060
 
7051
7061
  .stretched-link::after {
7052
7062
  position: absolute;
package/dist/index.cjs.js CHANGED
@@ -504,7 +504,10 @@ const CardLink = /*#__PURE__*/React__namespace.forwardRef(({
504
504
  });
505
505
  CardLink.displayName = 'CardLink';
506
506
 
507
- var divWithClassName = (className => /*#__PURE__*/React__namespace.forwardRef((p, ref) => /*#__PURE__*/jsxRuntime.jsx("div", {
507
+ var divWithClassName = (className =>
508
+ /*#__PURE__*/
509
+ // eslint-disable-next-line react/display-name
510
+ React__namespace.forwardRef((p, ref) => /*#__PURE__*/jsxRuntime.jsx("div", {
508
511
  ...p,
509
512
  ref: ref,
510
513
  className: classNames(p.className, className)
@@ -1124,13 +1127,22 @@ const Radios = (props) => {
1124
1127
  const processedItems = items
1125
1128
  ? items.map((item) => {
1126
1129
  if (item) {
1127
- return {
1128
- ...item,
1129
- ...(value != null && { checked: item.value === value }),
1130
- ...(defaultValue != null && {
1130
+ // Only set checked/defaultChecked - not both
1131
+ if (value != null) {
1132
+ return {
1133
+ ...item,
1134
+ checked: item.value === value,
1135
+ defaultChecked: undefined, // Remove defaultChecked if value is provided
1136
+ };
1137
+ }
1138
+ else if (defaultValue != null) {
1139
+ return {
1140
+ ...item,
1131
1141
  defaultChecked: item.value === defaultValue,
1132
- }),
1133
- };
1142
+ checked: undefined, // Remove checked if defaultValue is provided
1143
+ };
1144
+ }
1145
+ return item;
1134
1146
  }
1135
1147
  return item;
1136
1148
  })