@open-rlb/ng-bootstrap 3.1.8 → 3.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets/scss/_custom.scss
CHANGED
|
@@ -131,7 +131,7 @@ $red: #f46a6a;
|
|
|
131
131
|
$orange: #f1734f;
|
|
132
132
|
$yellow: #f1b44c;
|
|
133
133
|
$green: #34c38f;
|
|
134
|
-
$teal: #
|
|
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:
|
|
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:
|
|
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:
|
|
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: .
|
|
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:
|
|
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:
|
|
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.
|
|
1419
|
-
$card-spacer-x: 1.
|
|
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:
|
|
1426
|
-
$card-box-shadow:
|
|
1427
|
-
$card-inner-border-radius:
|
|
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;
|
|
@@ -105,20 +105,20 @@ rlb-sidebar {
|
|
|
105
105
|
li {
|
|
106
106
|
a {
|
|
107
107
|
display: block;
|
|
108
|
-
padding:
|
|
108
|
+
padding: var(--rlb-item-padding-y) var(--rlb-item-padding-x);
|
|
109
109
|
color: var(--rlb-menu-item-color);
|
|
110
110
|
position: relative;
|
|
111
|
-
font-size:
|
|
111
|
+
font-size: 0.95rem;
|
|
112
112
|
transition: all .4s;
|
|
113
113
|
|
|
114
114
|
margin: 0.1rem 0.3rem;
|
|
115
|
-
border-radius:
|
|
115
|
+
border-radius: $border-radius;
|
|
116
116
|
|
|
117
117
|
i {
|
|
118
118
|
display: inline-block;
|
|
119
119
|
min-width: 1.75rem;
|
|
120
120
|
padding-bottom: .125em;
|
|
121
|
-
font-size: 1.
|
|
121
|
+
font-size: 1.25rem;
|
|
122
122
|
line-height: 1.40625rem;
|
|
123
123
|
vertical-align: middle;
|
|
124
124
|
color: inherit;
|
|
@@ -176,8 +176,8 @@ rlb-sidebar {
|
|
|
176
176
|
padding: 0;
|
|
177
177
|
li {
|
|
178
178
|
a {
|
|
179
|
-
padding: .4rem 1.5rem .4rem
|
|
180
|
-
font-size:
|
|
179
|
+
padding: 0.4rem 1.5rem 0.4rem 3.75rem;
|
|
180
|
+
font-size: 0.8125rem;
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
@@ -240,11 +240,11 @@ rlb-sidebar {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
.menu-title {
|
|
243
|
-
padding:
|
|
243
|
+
padding: 0.75rem 1.5rem !important;
|
|
244
244
|
letter-spacing: .05em;
|
|
245
245
|
pointer-events: none;
|
|
246
246
|
cursor: default;
|
|
247
|
-
font-size:
|
|
247
|
+
font-size: 0.75rem;
|
|
248
248
|
text-transform: uppercase;
|
|
249
249
|
color: $sidebar-menu-item-icon-color;
|
|
250
250
|
font-weight: $font-weight-semibold;
|
|
@@ -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(
|
|
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: `
|
|
4512
|
-
<
|
|
4513
|
-
|
|
4514
|
-
_navExpand()
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
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
|
-
</
|
|
4541
|
-
</
|
|
4542
|
-
|
|
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: `
|
|
4549
|
-
<
|
|
4550
|
-
|
|
4551
|
-
_navExpand()
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
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
|
-
</
|
|
4578
|
-
</
|
|
4579
|
-
|
|
4579
|
+
</nav>
|
|
4580
|
+
</ng-template>
|
|
4581
|
+
`,
|
|
4580
4582
|
standalone: false,
|
|
4581
4583
|
}]
|
|
4582
4584
|
}], ctorParameters: () => [{ type: UniqueIdService }, { type: i0.ViewContainerRef }], propDecorators: { template: [{
|