@open-rlb/ng-bootstrap 3.1.8 → 3.1.9

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.
@@ -131,7 +131,7 @@ $red: #f46a6a;
131
131
  $orange: #f1734f;
132
132
  $yellow: #f1b44c;
133
133
  $green: #34c38f;
134
- $teal: #050505;
134
+ $teal: #20c997;
135
135
  $cyan: #50a5f1;
136
136
  // scss-docs-end color-variables
137
137
 
@@ -180,7 +180,7 @@ $theme-colors: (
180
180
 
181
181
  // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
182
182
  // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
183
- $min-contrast-ratio: 1.8;
183
+ $min-contrast-ratio: 3;
184
184
 
185
185
  // Customize the light and dark text colors for use in our color contrast function.
186
186
  $color-contrast-dark: $black;
@@ -454,7 +454,7 @@ $escaped-characters: (
454
454
 
455
455
  $enable-caret: false;
456
456
  $enable-rounded: true;
457
- $enable-shadows: false;
457
+ $enable-shadows: true;
458
458
  $enable-gradients: false;
459
459
  $enable-transitions: true;
460
460
  $enable-reduced-motion: true;
@@ -605,7 +605,7 @@ $container-max-widths: (
605
605
  // Set the number of columns and specify the width of the gutters.
606
606
 
607
607
  $grid-columns: 12;
608
- $grid-gutter-width: 24px;
608
+ $grid-gutter-width: 1.5rem;
609
609
  $grid-row-columns: 6;
610
610
 
611
611
  // Container padding
@@ -632,7 +632,7 @@ $border-color-translucent: $gray-400;
632
632
  // scss-docs-end border-variables
633
633
 
634
634
  // scss-docs-start border-radius-variables
635
- $border-radius: .25rem;
635
+ $border-radius: .375rem;
636
636
  $border-radius-sm: .2rem;
637
637
  $border-radius-lg: .4rem;
638
638
  $border-radius-xl: 1rem;
@@ -701,7 +701,7 @@ $font-family-code: var(--#{$prefix}font-monospace);
701
701
  // $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
702
702
  // $font-size-base effects the font size of the body text
703
703
  $font-size-root: null;
704
- $font-size-base: 0.85rem;
704
+ $font-size-base: 1rem;
705
705
  $font-size-sm: $font-size-base * .875;
706
706
  $font-size-lg: $font-size-base * 1.25;
707
707
 
@@ -820,7 +820,7 @@ $table-color: var(--#{$prefix}body-color);
820
820
  $table-bg: var(--#{$prefix}secondary-bg);
821
821
  $table-accent-bg: transparent;
822
822
 
823
- $table-th-font-weight: null;
823
+ $table-th-font-weight: 600;
824
824
 
825
825
  $table-striped-color: $table-color;
826
826
  $table-striped-bg-factor: 1;
@@ -1415,16 +1415,16 @@ $placeholder-opacity-min: .2;
1415
1415
  // Cards
1416
1416
 
1417
1417
  // scss-docs-start card-variables
1418
- $card-spacer-y: 1.25rem;
1419
- $card-spacer-x: 1.25rem;
1418
+ $card-spacer-y: 1.5rem;
1419
+ $card-spacer-x: 1.5rem;
1420
1420
  $card-title-spacer-y: $spacer * .5;
1421
1421
  $card-title-color: var(--#{$prefix}emphasis-color);
1422
1422
  $card-subtitle-color: null;
1423
1423
  $card-border-width: 0;
1424
1424
  $card-border-color: var(--#{$prefix}border-color);
1425
- $card-border-radius: var(--#{$prefix}border-radius);
1426
- $card-box-shadow: null;
1427
- $card-inner-border-radius: subtract($card-border-radius, $card-border-width);
1425
+ $card-border-radius: 1rem; // Soft bubbly cards
1426
+ $card-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
1427
+ $card-inner-border-radius: calc(#{$card-border-radius} - 1px);
1428
1428
  $card-cap-padding-y: $card-spacer-y * .5;
1429
1429
  $card-cap-padding-x: $card-spacer-x;
1430
1430
  $card-cap-bg: var(--#{$prefix}tertiary-bg);
@@ -1824,18 +1824,3 @@ $kbd-bg: var(--#{$prefix}body-color);
1824
1824
  $nested-kbd-font-weight: null; // Deprecated in v5.2.0, removing in v6
1825
1825
 
1826
1826
  $pre-color: null;
1827
-
1828
-
1829
- // Dimensions and Light Shadows
1830
- $enable-shadows: true;
1831
- $card-border-radius: 1rem;
1832
- $card-inner-border-radius: calc(#{$card-border-radius} - 1px);
1833
- $card-spacer-y: 1.5rem;
1834
- $card-spacer-x: 1.5rem;
1835
- $card-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08); // Soft shadow for light mode
1836
- $badge-border-radius: 0.375rem;
1837
-
1838
-
1839
- $input-border-radius: 0.5rem;
1840
- $input-padding-y: 0.65rem;
1841
- $input-padding-x: 1rem;
@@ -4480,7 +4480,7 @@ class NavbarComponent {
4480
4480
  this.navId = `nav${this.idService.id}`;
4481
4481
  effect(() => {
4482
4482
  const groups = this.navbarItemsGroups();
4483
- groups.forEach((group) => {
4483
+ groups.forEach(group => {
4484
4484
  // Since output() is not a Signal, we still need to subscribe,
4485
4485
  // but we can manage the subscription here more cleanly.
4486
4486
  // However, output().subscribe returns OutputRefSubscription which we should track.
@@ -4508,75 +4508,77 @@ class NavbarComponent {
4508
4508
  }
4509
4509
  }
4510
4510
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NavbarComponent, deps: [{ token: UniqueIdService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
4511
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: NavbarComponent, isStandalone: false, selector: "rlb-navbar", inputs: { dark: { classPropertyName: "dark", publicName: "dark", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, expand: { classPropertyName: "expand", publicName: "expand", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, enableDropdownToggler: { classPropertyName: "enableDropdownToggler", publicName: "enable-dropdown-toggler", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "navbarItemsGroups", predicate: NavbarItemsComponent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true, static: true }], ngImport: i0, template: ` <ng-template #template>
4512
- <nav
4513
- class="navbar px-2 bg-{{ color() }} {{ placement() }} {{
4514
- _navExpand()
4515
- }} {{ cssClass() }}"
4516
- [attr.data-bs-theme]="dark() ? 'dark' : 'light'"
4517
- >
4518
- <div class="container-fluid">
4519
- <ng-content
4520
- select="[rlb-navbar-brand], [rlb-button][toggle], rlb-navbar-separator"
4521
- />
4522
- <button
4523
- class="navbar-toggler"
4524
- [class.d-none]="!enableDropdownToggler()"
4525
- type="button"
4526
- rlb-button
4527
- toggle="collapse"
4528
- [toggle-target]="navId"
4529
- aria-label="Toggle navigation"
4530
- >
4531
- <span class="navbar-toggler-icon"></span>
4532
- </button>
4533
- <div class="collapse navbar-collapse" [id]="navId">
4534
- <div class="p-3 d-flex w-100 flex-column flex-lg-row">
4535
- <ng-content
4536
- select="rlb-navbar-items, rlb-navbar-form, rlb-navbar-text, rlb-navbar-separator"
4537
- />
4511
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: NavbarComponent, isStandalone: false, selector: "rlb-navbar", inputs: { dark: { classPropertyName: "dark", publicName: "dark", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, expand: { classPropertyName: "expand", publicName: "expand", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, enableDropdownToggler: { classPropertyName: "enableDropdownToggler", publicName: "enable-dropdown-toggler", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "navbarItemsGroups", predicate: NavbarItemsComponent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true, static: true }], ngImport: i0, template: `
4512
+ <ng-template #template>
4513
+ <nav
4514
+ class="navbar px-2 bg-{{ color() }} {{ placement() }} {{ _navExpand() }} {{ cssClass() }}"
4515
+ [attr.data-bs-theme]="dark() ? 'dark' : 'light'"
4516
+ >
4517
+ <div class="container-fluid">
4518
+ <ng-content select="[rlb-navbar-brand], [rlb-button][toggle], rlb-navbar-separator" />
4519
+ <button
4520
+ class="navbar-toggler"
4521
+ [class.d-none]="!enableDropdownToggler()"
4522
+ type="button"
4523
+ rlb-button
4524
+ toggle="collapse"
4525
+ [toggle-target]="navId"
4526
+ aria-label="Toggle navigation"
4527
+ >
4528
+ <span class="navbar-toggler-icon"></span>
4529
+ </button>
4530
+ <div
4531
+ class="collapse navbar-collapse"
4532
+ [id]="navId"
4533
+ >
4534
+ <div class="p-3 d-flex w-100 flex-column flex-lg-row align-items-lg-center">
4535
+ <ng-content
4536
+ select="rlb-navbar-items, rlb-navbar-form, rlb-navbar-text, rlb-navbar-separator"
4537
+ />
4538
+ </div>
4538
4539
  </div>
4539
4540
  </div>
4540
- </div>
4541
- </nav>
4542
- </ng-template>`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[rlb-button], a[rlb-button]", inputs: ["color", "size", "disabled", "outline", "isLink"] }, { kind: "directive", type: ToggleDirective, selector: "\n button[toggle],\n a[toggle],\n rlb-navbar-item[toggle],\n rlb-button-toolbar[toggle]", inputs: ["toggle", "toggle-target", "collapsed", "auto-close"] }] }); }
4541
+ </nav>
4542
+ </ng-template>
4543
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[rlb-button], a[rlb-button]", inputs: ["color", "size", "disabled", "outline", "isLink"] }, { kind: "directive", type: ToggleDirective, selector: "\n button[toggle],\n a[toggle],\n rlb-navbar-item[toggle],\n rlb-button-toolbar[toggle]", inputs: ["toggle", "toggle-target", "collapsed", "auto-close"] }] }); }
4543
4544
  }
4544
4545
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NavbarComponent, decorators: [{
4545
4546
  type: Component,
4546
4547
  args: [{
4547
4548
  selector: 'rlb-navbar',
4548
- template: ` <ng-template #template>
4549
- <nav
4550
- class="navbar px-2 bg-{{ color() }} {{ placement() }} {{
4551
- _navExpand()
4552
- }} {{ cssClass() }}"
4553
- [attr.data-bs-theme]="dark() ? 'dark' : 'light'"
4554
- >
4555
- <div class="container-fluid">
4556
- <ng-content
4557
- select="[rlb-navbar-brand], [rlb-button][toggle], rlb-navbar-separator"
4558
- />
4559
- <button
4560
- class="navbar-toggler"
4561
- [class.d-none]="!enableDropdownToggler()"
4562
- type="button"
4563
- rlb-button
4564
- toggle="collapse"
4565
- [toggle-target]="navId"
4566
- aria-label="Toggle navigation"
4567
- >
4568
- <span class="navbar-toggler-icon"></span>
4569
- </button>
4570
- <div class="collapse navbar-collapse" [id]="navId">
4571
- <div class="p-3 d-flex w-100 flex-column flex-lg-row">
4572
- <ng-content
4573
- select="rlb-navbar-items, rlb-navbar-form, rlb-navbar-text, rlb-navbar-separator"
4574
- />
4549
+ template: `
4550
+ <ng-template #template>
4551
+ <nav
4552
+ class="navbar px-2 bg-{{ color() }} {{ placement() }} {{ _navExpand() }} {{ cssClass() }}"
4553
+ [attr.data-bs-theme]="dark() ? 'dark' : 'light'"
4554
+ >
4555
+ <div class="container-fluid">
4556
+ <ng-content select="[rlb-navbar-brand], [rlb-button][toggle], rlb-navbar-separator" />
4557
+ <button
4558
+ class="navbar-toggler"
4559
+ [class.d-none]="!enableDropdownToggler()"
4560
+ type="button"
4561
+ rlb-button
4562
+ toggle="collapse"
4563
+ [toggle-target]="navId"
4564
+ aria-label="Toggle navigation"
4565
+ >
4566
+ <span class="navbar-toggler-icon"></span>
4567
+ </button>
4568
+ <div
4569
+ class="collapse navbar-collapse"
4570
+ [id]="navId"
4571
+ >
4572
+ <div class="p-3 d-flex w-100 flex-column flex-lg-row align-items-lg-center">
4573
+ <ng-content
4574
+ select="rlb-navbar-items, rlb-navbar-form, rlb-navbar-text, rlb-navbar-separator"
4575
+ />
4576
+ </div>
4575
4577
  </div>
4576
4578
  </div>
4577
- </div>
4578
- </nav>
4579
- </ng-template>`,
4579
+ </nav>
4580
+ </ng-template>
4581
+ `,
4580
4582
  standalone: false,
4581
4583
  }]
4582
4584
  }], ctorParameters: () => [{ type: UniqueIdService }, { type: i0.ViewContainerRef }], propDecorators: { template: [{