@ethlete/components 1.0.0-next.91 → 1.0.0-next.92
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/CHANGELOG.md +16 -0
- package/design/sdk/components/checkbox/checkbox.ts +1 -8
- package/design/sdk/ready.json +10 -10
- package/fesm2022/ethlete-components.mjs +193 -47
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/scrollable/headless/scrollable-buttons.component.css +65 -0
- package/src/lib/scrollable/headless/scrollable-masks.component.css +17 -7
- package/src/lib/stream/pip/pip-window.component.css +3 -4
- package/src/lib/tabs/tab-bar-styles.component.css +34 -4
- package/types/ethlete-components.d.ts +116 -12
package/package.json
CHANGED
|
@@ -112,6 +112,71 @@
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
&.et-scrollable--inline-buttons.et-scrollable--can-scroll {
|
|
116
|
+
& > .et-scrollable-wrapper {
|
|
117
|
+
align-items: center;
|
|
118
|
+
gap: 4px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
& .et-scrollable-buttons {
|
|
122
|
+
display: contents;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
& .et-scrollable-button {
|
|
126
|
+
position: static;
|
|
127
|
+
opacity: 1;
|
|
128
|
+
pointer-events: all;
|
|
129
|
+
transform: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&[direction='horizontal'],
|
|
133
|
+
&:not([direction]) {
|
|
134
|
+
& > .et-scrollable-wrapper {
|
|
135
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
136
|
+
|
|
137
|
+
& > .et-scrollable-container,
|
|
138
|
+
& > .et-scrollable-masks {
|
|
139
|
+
grid-column: 2;
|
|
140
|
+
grid-row: 1;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
& .et-scrollable-button--start {
|
|
144
|
+
grid-column: 1;
|
|
145
|
+
grid-row: 1;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
& .et-scrollable-button--end {
|
|
149
|
+
grid-column: 3;
|
|
150
|
+
grid-row: 1;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&[direction='vertical'] {
|
|
156
|
+
& > .et-scrollable-wrapper {
|
|
157
|
+
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
158
|
+
justify-items: center;
|
|
159
|
+
|
|
160
|
+
& > .et-scrollable-container,
|
|
161
|
+
& > .et-scrollable-masks {
|
|
162
|
+
grid-row: 2;
|
|
163
|
+
grid-column: 1;
|
|
164
|
+
justify-self: stretch;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
& .et-scrollable-button--start {
|
|
168
|
+
grid-row: 1;
|
|
169
|
+
grid-column: 1;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
& .et-scrollable-button--end {
|
|
173
|
+
grid-row: 3;
|
|
174
|
+
grid-column: 1;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
115
180
|
/* Wins the equal-weight tie with the direction rules above only by coming after them - keep the
|
|
116
181
|
footer overrides in this file, below them. */
|
|
117
182
|
& .et-scrollable-footer {
|
|
@@ -33,13 +33,17 @@
|
|
|
33
33
|
#000 calc(100% - var(--_et-scrollable-mask-end)),
|
|
34
34
|
transparent 100%
|
|
35
35
|
),
|
|
36
|
-
linear-gradient(#000 0 0);
|
|
36
|
+
linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
|
|
37
37
|
mask-size:
|
|
38
38
|
100% calc(100% - var(--_et-scrollable-scrollbar-size, 0px)),
|
|
39
|
-
100% var(--_et-scrollable-scrollbar-size, 0px)
|
|
39
|
+
100% var(--_et-scrollable-scrollbar-size, 0px),
|
|
40
|
+
var(--et-scrollable-mask-inset-start, 0px) 100%,
|
|
41
|
+
var(--et-scrollable-mask-inset-end, 0px) 100%;
|
|
40
42
|
mask-position:
|
|
41
43
|
left top,
|
|
42
|
-
left bottom
|
|
44
|
+
left bottom,
|
|
45
|
+
left top,
|
|
46
|
+
right top;
|
|
43
47
|
mask-repeat: no-repeat;
|
|
44
48
|
}
|
|
45
49
|
|
|
@@ -54,18 +58,24 @@
|
|
|
54
58
|
#000 calc(100% - var(--_et-scrollable-mask-end)),
|
|
55
59
|
transparent 100%
|
|
56
60
|
),
|
|
57
|
-
linear-gradient(#000 0 0);
|
|
61
|
+
linear-gradient(#000 0 0), linear-gradient(#000 0 0), linear-gradient(#000 0 0);
|
|
58
62
|
mask-size:
|
|
59
63
|
calc(100% - var(--_et-scrollable-scrollbar-size, 0px)) 100%,
|
|
60
|
-
var(--_et-scrollable-scrollbar-size, 0px) 100
|
|
64
|
+
var(--_et-scrollable-scrollbar-size, 0px) 100%,
|
|
65
|
+
100% var(--et-scrollable-mask-inset-start, 0px),
|
|
66
|
+
100% var(--et-scrollable-mask-inset-end, 0px);
|
|
61
67
|
mask-position:
|
|
62
68
|
left top,
|
|
63
|
-
right top
|
|
69
|
+
right top,
|
|
70
|
+
left top,
|
|
71
|
+
left bottom;
|
|
64
72
|
|
|
65
73
|
&:dir(rtl) {
|
|
66
74
|
mask-position:
|
|
67
75
|
right top,
|
|
68
|
-
left top
|
|
76
|
+
left top,
|
|
77
|
+
right top,
|
|
78
|
+
right bottom;
|
|
69
79
|
}
|
|
70
80
|
}
|
|
71
81
|
|
|
@@ -32,12 +32,11 @@
|
|
|
32
32
|
content: '';
|
|
33
33
|
display: block;
|
|
34
34
|
position: absolute;
|
|
35
|
-
inset: 0;
|
|
35
|
+
inset: var(--et-pip-title-bar-h) 0 0;
|
|
36
36
|
background: var(--et-pip-bg, color-mix(in srgb, var(--et-surface-background-solid, rgb(0 0 0)) 60%, transparent));
|
|
37
37
|
backdrop-filter: blur(var(--et-pip-backdrop-blur));
|
|
38
38
|
z-index: -1;
|
|
39
|
-
|
|
40
|
-
transition: transform 0.2s ease;
|
|
39
|
+
transition: inset 0.2s ease;
|
|
41
40
|
pointer-events: none;
|
|
42
41
|
border-radius: var(--et-pip-border-radius);
|
|
43
42
|
}
|
|
@@ -85,7 +84,7 @@
|
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
&::after {
|
|
88
|
-
|
|
87
|
+
inset: 0;
|
|
89
88
|
}
|
|
90
89
|
}
|
|
91
90
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
display: inline-flex;
|
|
35
35
|
align-items: center;
|
|
36
36
|
justify-content: center;
|
|
37
|
-
color: var(--et-surface-interaction-solid, inherit);
|
|
37
|
+
color: var(--et-tab-inactive-color, var(--et-surface-interaction-solid, inherit));
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
position: relative;
|
|
40
40
|
white-space: nowrap;
|
|
@@ -67,11 +67,17 @@
|
|
|
67
67
|
gap: 4px;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
.et-tab-group__header-scrollable > .et-scrollable-wrapper,
|
|
71
|
+
.et-nav-tabs__scrollable > .et-scrollable-wrapper {
|
|
72
|
+
isolation: isolate;
|
|
73
|
+
}
|
|
74
|
+
|
|
70
75
|
.et-tab-group__header-scrollable > .et-scrollable-wrapper::after,
|
|
71
76
|
.et-nav-tabs__scrollable > .et-scrollable-wrapper::after {
|
|
72
77
|
content: '';
|
|
73
78
|
position: absolute;
|
|
74
|
-
|
|
79
|
+
z-index: -1;
|
|
80
|
+
background: var(--et-tab-baseline-color, var(--et-surface-border-solid, currentColor));
|
|
75
81
|
opacity: var(--et-tab-baseline-opacity);
|
|
76
82
|
pointer-events: none;
|
|
77
83
|
}
|
|
@@ -150,10 +156,34 @@
|
|
|
150
156
|
border-radius: 0 var(--et-tab-bar-underline-size) var(--et-tab-bar-underline-size) 0;
|
|
151
157
|
}
|
|
152
158
|
|
|
159
|
+
[data-active-underline='false'] .et-tab-bar-underline--active {
|
|
160
|
+
opacity: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
[data-underline-width='label'][data-orientation='horizontal'] .et-tab-group__trigger .et-tab-bar-underline {
|
|
164
|
+
left: var(--et-tab-group-trigger-padding-inline);
|
|
165
|
+
right: var(--et-tab-group-trigger-padding-inline);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
[data-underline-width='label'][data-orientation='horizontal'] .et-nav-tab-link .et-tab-bar-underline {
|
|
169
|
+
left: var(--et-nav-tab-link-padding-inline);
|
|
170
|
+
right: var(--et-nav-tab-link-padding-inline);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
[data-underline-width='label'][data-orientation='vertical'] .et-tab-group__trigger .et-tab-bar-underline {
|
|
174
|
+
top: var(--et-tab-group-trigger-padding-block);
|
|
175
|
+
bottom: var(--et-tab-group-trigger-padding-block);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
[data-underline-width='label'][data-orientation='vertical'] .et-nav-tab-link .et-tab-bar-underline {
|
|
179
|
+
top: var(--et-nav-tab-link-padding-block);
|
|
180
|
+
bottom: var(--et-nav-tab-link-padding-block);
|
|
181
|
+
}
|
|
182
|
+
|
|
153
183
|
@media (hover: hover) {
|
|
154
184
|
.et-tab-group__trigger:not(.et-tab-group__trigger--active):not(:disabled):hover,
|
|
155
185
|
.et-nav-tab-link:not(.et-nav-tab-link--active):not(.et-nav-tab-link--disabled):hover {
|
|
156
|
-
color: var(--et-tab-hover-color, var(--et-surface-interaction-solid, inherit));
|
|
186
|
+
color: var(--et-tab-hover-color, var(--et-tab-inactive-color, var(--et-surface-interaction-solid, inherit)));
|
|
157
187
|
|
|
158
188
|
.et-tab-bar-underline {
|
|
159
189
|
opacity: var(--et-tab-hover-underline-opacity, 0);
|
|
@@ -178,7 +208,7 @@
|
|
|
178
208
|
|
|
179
209
|
.et-tab-group__trigger.et-tab-group__trigger--active,
|
|
180
210
|
.et-nav-tab-link.et-nav-tab-link--active {
|
|
181
|
-
color: var(--et-surface-color-solid, inherit);
|
|
211
|
+
color: var(--et-tab-active-color, var(--et-surface-color-solid, inherit));
|
|
182
212
|
}
|
|
183
213
|
|
|
184
214
|
.et-tab-group__trigger.et-tab-bar-trigger--no-initial-transition,
|
|
@@ -5269,6 +5269,7 @@ declare const SCROLLABLE_SCROLL_ORIGINS: {
|
|
|
5269
5269
|
type ScrollableScrollOrigin = (typeof SCROLLABLE_SCROLL_ORIGINS)[keyof typeof SCROLLABLE_SCROLL_ORIGINS];
|
|
5270
5270
|
declare const SCROLLABLE_BUTTON_POSITIONS: {
|
|
5271
5271
|
readonly INSIDE: "inside";
|
|
5272
|
+
readonly INLINE: "inline";
|
|
5272
5273
|
readonly FOOTER: "footer";
|
|
5273
5274
|
};
|
|
5274
5275
|
type ScrollableButtonPosition = (typeof SCROLLABLE_BUTTON_POSITIONS)[keyof typeof SCROLLABLE_BUTTON_POSITIONS];
|
|
@@ -5413,13 +5414,44 @@ export declare class ScrollableButtonsComponent {
|
|
|
5413
5414
|
};
|
|
5414
5415
|
}, {}, never, never, true, never>;
|
|
5415
5416
|
}
|
|
5417
|
+
/** A value, or one per breakpoint. A breakpoint key applies from that breakpoint up until the next key. */
|
|
5418
|
+
type ScrollableResponsive<T> = T | Partial<Record<Breakpoint, T>>;
|
|
5419
|
+
/** App-wide defaults for the previous/next buttons of every `<et-scrollable>`. */
|
|
5420
|
+
type ScrollableButtonsDefaults = {
|
|
5421
|
+
/**
|
|
5422
|
+
* Whether the buttons render. `true` adds them to every scrollable that imports
|
|
5423
|
+
* `SCROLLABLE_NAVIGATION_IMPORTS`, without `etScrollableButtons` on it. @default false
|
|
5424
|
+
*/
|
|
5425
|
+
enabled?: ScrollableResponsive<boolean>;
|
|
5426
|
+
/**
|
|
5427
|
+
* `'inside'` floats the buttons over the track's edges, `'inline'` puts them beside the track at the
|
|
5428
|
+
* row's ends, `'footer'` puts them in a row below it. @default 'inside'
|
|
5429
|
+
*/
|
|
5430
|
+
position?: ScrollableResponsive<ScrollableButtonPosition>;
|
|
5431
|
+
/** Keep the buttons in view while the page scrolls past a tall track. Only with `'inside'`. @default false */
|
|
5432
|
+
sticky?: boolean;
|
|
5433
|
+
/** Size of the two icon buttons. @default 'xs' */
|
|
5434
|
+
size?: ButtonSize;
|
|
5435
|
+
};
|
|
5436
|
+
type ScrollableConfig = {
|
|
5437
|
+
buttons?: ScrollableButtonsDefaults;
|
|
5438
|
+
};
|
|
5439
|
+
/**
|
|
5440
|
+
* Sets app-wide scrollable defaults. Inputs on an instance (`etScrollableButtons`) win over them.
|
|
5441
|
+
*
|
|
5442
|
+
* @example
|
|
5443
|
+
* providers: [provideScrollableConfig({ buttons: { enabled: { md: true }, position: { xs: 'inline', lg: 'inside' } } })]
|
|
5444
|
+
*/
|
|
5445
|
+
export declare const provideScrollableConfig: (valueOverride?: Partial<ScrollableConfig> | undefined) => import("@angular/core").StaticProvider[];
|
|
5446
|
+
export declare const injectScrollableConfig: import("@ethlete/core").InjectFn<ScrollableConfig>;
|
|
5416
5447
|
/** Options for `etScrollableButtons`. */
|
|
5417
5448
|
type ScrollableButtonsConfig = {
|
|
5418
5449
|
/**
|
|
5419
|
-
* `'inside'` floats the two buttons over the track's edges; `'
|
|
5420
|
-
* next to the dots when `etScrollableNavigation`
|
|
5450
|
+
* `'inside'` floats the two buttons over the track's edges; `'inline'` puts them beside the track at
|
|
5451
|
+
* the row's ends; `'footer'` puts them in a row below it, next to the dots when `etScrollableNavigation`
|
|
5452
|
+
* is on too. A value per breakpoint is allowed. Falls back to `provideScrollableConfig`. @default 'inside'
|
|
5421
5453
|
*/
|
|
5422
|
-
position?: ScrollableButtonPosition
|
|
5454
|
+
position?: ScrollableResponsive<ScrollableButtonPosition>;
|
|
5423
5455
|
/**
|
|
5424
5456
|
* Keep the buttons in view while the page scrolls past a tall track, rather than letting them travel
|
|
5425
5457
|
* off with it. Only meaningful with `position: 'inside'`. @default false
|
|
@@ -5427,27 +5459,34 @@ type ScrollableButtonsConfig = {
|
|
|
5427
5459
|
sticky?: boolean;
|
|
5428
5460
|
/** Size of the two icon buttons. @default 'xs' */
|
|
5429
5461
|
size?: ButtonSize;
|
|
5430
|
-
/**
|
|
5431
|
-
|
|
5462
|
+
/**
|
|
5463
|
+
* Turn the buttons on or off, optionally per breakpoint. Falls back to `provideScrollableConfig`, and
|
|
5464
|
+
* to `true` when the directive is applied explicitly. @default true
|
|
5465
|
+
*/
|
|
5466
|
+
enabled?: ScrollableResponsive<boolean>;
|
|
5432
5467
|
};
|
|
5433
5468
|
/**
|
|
5434
|
-
* Adds the previous/next scroll buttons to an `<et-scrollable>`.
|
|
5435
|
-
*
|
|
5469
|
+
* Adds the previous/next scroll buttons to an `<et-scrollable>`. Applied on the `<et-scrollable>` itself,
|
|
5470
|
+
* or - with `provideScrollableConfig({ buttons: { enabled: true } })` - on every scrollable that imports
|
|
5471
|
+
* `SCROLLABLE_NAVIGATION_IMPORTS`. Ships in `SCROLLABLE_NAVIGATION_IMPORTS`.
|
|
5436
5472
|
*
|
|
5437
5473
|
* The buttons are decorative - `aria-hidden`, not tabbable - because a scroll container is already
|
|
5438
5474
|
* keyboard-operable. Controls that must be reachable belong to the consumer.
|
|
5439
5475
|
*/
|
|
5440
5476
|
export declare class ScrollableButtonsDirective {
|
|
5441
5477
|
private scrollable;
|
|
5442
|
-
|
|
5478
|
+
private defaults;
|
|
5479
|
+
private currentBreakpoint;
|
|
5480
|
+
config: import("@angular/core").InputSignal<"" | ScrollableButtonsConfig | null>;
|
|
5443
5481
|
private resolved;
|
|
5444
5482
|
position: import("@angular/core").Signal<ScrollableButtonPosition>;
|
|
5445
5483
|
sticky: import("@angular/core").Signal<boolean>;
|
|
5446
5484
|
size: import("@angular/core").Signal<ButtonSize>;
|
|
5447
5485
|
enabled: import("@angular/core").Signal<boolean>;
|
|
5448
5486
|
constructor();
|
|
5487
|
+
private resolve;
|
|
5449
5488
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollableButtonsDirective, never>;
|
|
5450
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollableButtonsDirective, "et-scrollable
|
|
5489
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollableButtonsDirective, "et-scrollable, [etScrollable]", never, {
|
|
5451
5490
|
"config": {
|
|
5452
5491
|
"alias": "etScrollableButtons";
|
|
5453
5492
|
"required": false;
|
|
@@ -6094,6 +6133,8 @@ export declare class CarouselDirective {
|
|
|
6094
6133
|
* which is also immediate, and from the track's children for a hand-built carousel.
|
|
6095
6134
|
*/
|
|
6096
6135
|
count: import("@angular/core").Signal<number>;
|
|
6136
|
+
/** Whether there is more than one real slide - loop clones never count. False with one slide or none. */
|
|
6137
|
+
hasMultipleSlides: import("@angular/core").Signal<boolean>;
|
|
6097
6138
|
private slidesPerView;
|
|
6098
6139
|
/** Whether the track is a seamless loop right now, rather than one that jumps back at the ends. */
|
|
6099
6140
|
isLooping: import("@angular/core").Signal<boolean>;
|
|
@@ -9055,12 +9096,19 @@ export type FloatingActionState = (typeof FLOATING_ACTION_STATES)[keyof typeof F
|
|
|
9055
9096
|
export declare class FloatingActionDirective {
|
|
9056
9097
|
private elementRef;
|
|
9057
9098
|
private styleManager;
|
|
9099
|
+
private config;
|
|
9058
9100
|
/**
|
|
9059
9101
|
* Keep the trigger in the flow, whatever the scroll position. The escape hatch for turning the behaviour off
|
|
9060
9102
|
* per breakpoint or per route without unwinding the markup - a desktop layout with the filters already in a
|
|
9061
9103
|
* sidebar has nothing to float. @default false
|
|
9062
9104
|
*/
|
|
9063
9105
|
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
9106
|
+
/**
|
|
9107
|
+
* Make `scrollToTop()` scroll only up: it does nothing while the target is already at or below the top edge of
|
|
9108
|
+
* the scroll container, and otherwise stops at the target's `scroll-margin-top`. Falls back to
|
|
9109
|
+
* `provideFloatingActionConfig`, then `false`.
|
|
9110
|
+
*/
|
|
9111
|
+
scrollToTopOnlyUp: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
9064
9112
|
/**
|
|
9065
9113
|
* Where the trigger is: in the flow, pinned to the corner, or gone.
|
|
9066
9114
|
*
|
|
@@ -9076,7 +9124,7 @@ export declare class FloatingActionDirective {
|
|
|
9076
9124
|
/**
|
|
9077
9125
|
* Scroll back to the top of the region - what a filter button does after applying filters, so the reader sees
|
|
9078
9126
|
* the new first result rather than wherever they happened to be. Targets `[etFloatingActionTop]` if there is
|
|
9079
|
-
* one, otherwise this element.
|
|
9127
|
+
* one, otherwise this element. With `scrollToTopOnlyUp` it scrolls only when the target lies above the top edge.
|
|
9080
9128
|
*/
|
|
9081
9129
|
scrollToTop(options?: ScrollIntoViewOptions): void;
|
|
9082
9130
|
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionDirective, never>;
|
|
@@ -9086,9 +9134,26 @@ export declare class FloatingActionDirective {
|
|
|
9086
9134
|
"required": false;
|
|
9087
9135
|
"isSignal": true;
|
|
9088
9136
|
};
|
|
9137
|
+
"scrollToTopOnlyUp": {
|
|
9138
|
+
"alias": "scrollToTopOnlyUp";
|
|
9139
|
+
"required": false;
|
|
9140
|
+
"isSignal": true;
|
|
9141
|
+
};
|
|
9089
9142
|
}, {}, never, never, true, never>;
|
|
9090
9143
|
}
|
|
9091
9144
|
export declare const FLOATING_ACTION_IMPORTS: readonly [typeof FloatingActionDirective, typeof FloatingActionAnchorDirective, typeof FloatingActionTriggerDirective, typeof FloatingActionScopeDirective, typeof FloatingActionTopDirective];
|
|
9145
|
+
export type FloatingActionConfig = {
|
|
9146
|
+
/** Default for `scrollToTopOnlyUp` on every floating action. An explicit `[scrollToTopOnlyUp]` input still wins. */
|
|
9147
|
+
scrollToTopOnlyUp?: boolean;
|
|
9148
|
+
};
|
|
9149
|
+
/**
|
|
9150
|
+
* Sets app-wide floating action defaults.
|
|
9151
|
+
*
|
|
9152
|
+
* @example
|
|
9153
|
+
* providers: [provideFloatingActionConfig({ scrollToTopOnlyUp: true })]
|
|
9154
|
+
*/
|
|
9155
|
+
export declare const provideFloatingActionConfig: (valueOverride?: Partial<FloatingActionConfig> | undefined) => import("@angular/core").StaticProvider[];
|
|
9156
|
+
export declare const injectFloatingActionConfig: import("@ethlete/core").InjectFn<FloatingActionConfig>;
|
|
9092
9157
|
export declare const FLOATING_ACTION_TOKEN: InjectionToken<FloatingActionDirective>;
|
|
9093
9158
|
export declare const CASCADER_ERROR_CODES: {
|
|
9094
9159
|
readonly MISSING_TRIGGER: 3300;
|
|
@@ -21850,6 +21915,7 @@ export declare class SegmentedButtonGroupComponent {
|
|
|
21850
21915
|
export declare class SegmentedButtonComponent {
|
|
21851
21916
|
optionDirective: SelectionOptionDirective;
|
|
21852
21917
|
private group;
|
|
21918
|
+
private scrollable;
|
|
21853
21919
|
private backgroundRef;
|
|
21854
21920
|
canAnimate: {
|
|
21855
21921
|
state: import("@angular/core").Signal<boolean>;
|
|
@@ -35541,16 +35607,40 @@ export declare const TAB_BAR_VARIANTS: {
|
|
|
35541
35607
|
readonly SECONDARY: "secondary";
|
|
35542
35608
|
};
|
|
35543
35609
|
export type TabBarVariant = (typeof TAB_BAR_VARIANTS)[keyof typeof TAB_BAR_VARIANTS];
|
|
35610
|
+
export declare const TAB_UNDERLINE_WIDTHS: {
|
|
35611
|
+
readonly TAB: "tab";
|
|
35612
|
+
readonly LABEL: "label";
|
|
35613
|
+
};
|
|
35614
|
+
export type TabUnderlineWidth = (typeof TAB_UNDERLINE_WIDTHS)[keyof typeof TAB_UNDERLINE_WIDTHS];
|
|
35615
|
+
export type TabsConfig = {
|
|
35616
|
+
/** Default for `activeUnderline` on every tab group and nav tabs bar. An explicit input still wins. */
|
|
35617
|
+
activeUnderline?: boolean;
|
|
35618
|
+
/** Default for `underlineWidth` on every tab group and nav tabs bar. An explicit input still wins. */
|
|
35619
|
+
underlineWidth?: TabUnderlineWidth;
|
|
35620
|
+
};
|
|
35621
|
+
/**
|
|
35622
|
+
* Sets app-wide tab bar defaults.
|
|
35623
|
+
*
|
|
35624
|
+
* @example
|
|
35625
|
+
* providers: [provideTabsConfig({ activeUnderline: false, underlineWidth: 'label' })]
|
|
35626
|
+
*/
|
|
35627
|
+
export declare const provideTabsConfig: (valueOverride?: Partial<TabsConfig> | undefined) => import("@angular/core").StaticProvider[];
|
|
35628
|
+
export declare const injectTabsConfig: import("@ethlete/core").InjectFn<TabsConfig>;
|
|
35544
35629
|
export declare class TabBarDirective {
|
|
35545
35630
|
private destroyRef;
|
|
35546
35631
|
private document;
|
|
35547
35632
|
private elementRef;
|
|
35633
|
+
private config;
|
|
35548
35634
|
orientation: import("@angular/core").InputSignal<TabBarOrientation>;
|
|
35549
35635
|
fit: import("@angular/core").InputSignal<TabBarFit>;
|
|
35550
35636
|
/** Where a horizontal bar places its triggers when they do not fill it. */
|
|
35551
35637
|
align: import("@angular/core").InputSignal<TabBarAlign>;
|
|
35552
35638
|
variant: import("@angular/core").InputSignal<TabBarVariant>;
|
|
35553
35639
|
divider: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
35640
|
+
/** Shows the underline under the active tab. Falls back to `provideTabsConfig`, then `true`. */
|
|
35641
|
+
activeUnderline: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
35642
|
+
/** Whether the active underline spans the whole tab or only its label. Falls back to `provideTabsConfig`, then `'tab'`. */
|
|
35643
|
+
underlineWidth: import("@angular/core").InputSignal<TabUnderlineWidth | undefined>;
|
|
35554
35644
|
private registeredTriggers;
|
|
35555
35645
|
focusedIndex: import("@angular/core").WritableSignal<number>;
|
|
35556
35646
|
selectedIndex: import("@angular/core").WritableSignal<number>;
|
|
@@ -35589,6 +35679,16 @@ export declare class TabBarDirective {
|
|
|
35589
35679
|
"required": false;
|
|
35590
35680
|
"isSignal": true;
|
|
35591
35681
|
};
|
|
35682
|
+
"activeUnderline": {
|
|
35683
|
+
"alias": "activeUnderline";
|
|
35684
|
+
"required": false;
|
|
35685
|
+
"isSignal": true;
|
|
35686
|
+
};
|
|
35687
|
+
"underlineWidth": {
|
|
35688
|
+
"alias": "underlineWidth";
|
|
35689
|
+
"required": false;
|
|
35690
|
+
"isSignal": true;
|
|
35691
|
+
};
|
|
35592
35692
|
}, {}, never, never, true, never>;
|
|
35593
35693
|
}
|
|
35594
35694
|
export declare const TAB_BAR_TOKEN: InjectionToken<TabBarDirective>;
|
|
@@ -35723,6 +35823,8 @@ export declare class NavTabsComponent {
|
|
|
35723
35823
|
"align": "align";
|
|
35724
35824
|
"divider": "divider";
|
|
35725
35825
|
"variant": "variant";
|
|
35826
|
+
"activeUnderline": "activeUnderline";
|
|
35827
|
+
"underlineWidth": "underlineWidth";
|
|
35726
35828
|
};
|
|
35727
35829
|
outputs: {};
|
|
35728
35830
|
}, {
|
|
@@ -35917,6 +36019,8 @@ export declare class TabGroupComponent {
|
|
|
35917
36019
|
"align": "align";
|
|
35918
36020
|
"divider": "divider";
|
|
35919
36021
|
"variant": "variant";
|
|
36022
|
+
"activeUnderline": "activeUnderline";
|
|
36023
|
+
"underlineWidth": "underlineWidth";
|
|
35920
36024
|
};
|
|
35921
36025
|
outputs: {};
|
|
35922
36026
|
}, {
|
|
@@ -37151,5 +37255,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
|
|
|
37151
37255
|
export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
|
|
37152
37256
|
export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
|
|
37153
37257
|
/** The version of `@ethlete/components` this build was cut from. */
|
|
37154
|
-
export declare const COMPONENTS_VERSION = "1.0.0-next.
|
|
37155
|
-
export { type AlertDialogComponentSlot, type AlertDialogSlot, type AlertDialogTemplateSlot, type AppointmentTreeNode, BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SWISS_GROUP_COLOR_TYPE, type Bracket, type BracketByeSlotSource, type BracketComponents, type BracketContinueComponent, type BracketDataLayout, type BracketDataSource, type BracketDrawing, type BracketEdge, type BracketExternalSlotSource, type BracketFinalAlignment, type BracketGradient, type BracketGradientStop, type BracketGridSection, type BracketLayoutSettings, BracketMap, type BracketMatch, type BracketMatchComponent, type BracketMatchFactor, type BracketMatchId, type BracketMatchInputs, type BracketMatchOutcomeSlotSource, type BracketMatchParticipant, type BracketMatchPosition, type BracketMatchRelation, type BracketMatchRelationNone, type BracketMatchRelationNothingToOne, type BracketMatchRelationOneToNothing, type BracketMatchRelationOneToOne, type BracketMatchRelationTwoToNothing, type BracketMatchRelationTwoToOne, type BracketMatchShortId, type BracketMatchSlot, type BracketMatchSource, type BracketMatchStatus, type BracketParticipant, type BracketParticipantMatch, type BracketPickMigration, type BracketPickMigrationOptions, type BracketPickSet, type BracketRect, type BracketRound, type BracketRoundHeaderComponent, type BracketRoundId, type BracketRoundMapWithSwissData, type BracketRoundMirrorType, type BracketRoundPosition, type BracketRoundRelation, type BracketRoundRelationNone, type BracketRoundRelationNothingToOne, type BracketRoundRelationOneToNothing, type BracketRoundRelationOneToOne, type BracketRoundRelationTwoToNothing, type BracketRoundRelationTwoToOne, type BracketRoundShortId, type BracketRoundSource, type BracketRoundSwissData, type BracketRoundSwissGroup, type BracketRoundSwissGroupId, type BracketRoundSwissGroupMap, type BracketRoundType, BracketRuntimeError, type BracketSectionKey, type BracketSectionTitleComponent, type BracketSeedSlotSource, type BracketSlotResolutionPolicy, type BracketSlotSource, type BracketSlotSourceKind, type BracketStandingRankSide, type BracketStandingRankSlotSource, type BracketSwissBucketSlotSource, type BracketSwissColors, type BracketSwissGroupColorType, type BracketWarning, COMMON_BRACKET_ROUND_TYPE, type CalendarBandPosition, type CalendarInterval, type CalendarPrecision, type CalendarSelectionFlags, type CalendarView, type CalendarWeekStartsOn, type CascaderCompareWith, type CascaderDataSource, type CascaderNode, type CommonBracketRoundType, type ComputedBracketGrid, type CreateBracketGridConfig, type CreateBracketOptions, type CreateGridAdapterOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, type DateRangeSide, type DateRangeSide as TimeRangeInputSide, type DateRangeValue, type DateRangeValue as DateTimeRangeValue, type DateRangeValue as TimeRangeValue, type DoubleEliminationBracketRoundType, type DropzoneCropConfig, type DropzoneCropCorner, type DropzoneCropRect, type DropzoneCropShape, type DurationFormatSpec, type DurationSegment, type DurationUnit, GROUP_BRACKET_ROUND_TYPE, type GridAdapter, type GridAdapterBreakpoints, type GridConfig, type GroupBracketRoundType, type MatchParticipantId, type MatchParticipantShortId, type MatchParticipantSide, type ParticipantMatchResult, type PlaceholderBracketShape, type RichTextEditorHeadingLevel, type RichTextEditorImageFailure, type RichTextEditorImageFailureReason, type RichTextEditorImageUpload, type RichTextEditorImageUploadContext, type RichTextEditorImageUploadFn, type RichTextEditorTokenChip, type RichTextEditorTokenCodec, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, type SchedulerAgendaDay, type SchedulerMonthDayCell, type SchedulerTimeGridAllDayEntry, type SchedulerTimeGridBlock, type SchedulerTimeGridDay, type SchedulerTimeGridSegment, type ScrollableActiveChildRef, type ScrollableButtonPosition, type ScrollableButtonsConfig, type ScrollableChrome, type ScrollableChromeSlot, type ScrollableDirection, type ScrollableIntersectionChange, type ScrollableItemSize, type ScrollableLoadingTemplatePosition, type ScrollableLoadingTemplateRef, type ScrollableMaskVariant, type ScrollableNavigation, type ScrollableNavigationConfig, type ScrollableNavigationItem, type ScrollableScrollMode, type ScrollableScrollOrigin, type ScrollableScrollState, type ScrollbarGeometry, type ScrollbarOrientation, type ScrollbarTarget, type SerializeOptions, type SingleEliminationBracketRoundType, type StandingPick, type StandingPickOutcome, type SwissBracketRoundType, TOURNAMENT_MODE, type TournamentMode, bracketSlot, createBracket, createPlaceholderBracketSource, injectRichTextEditorTools, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource };
|
|
37258
|
+
export declare const COMPONENTS_VERSION = "1.0.0-next.92";
|
|
37259
|
+
export { type AlertDialogComponentSlot, type AlertDialogSlot, type AlertDialogTemplateSlot, type AppointmentTreeNode, BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SWISS_GROUP_COLOR_TYPE, type Bracket, type BracketByeSlotSource, type BracketComponents, type BracketContinueComponent, type BracketDataLayout, type BracketDataSource, type BracketDrawing, type BracketEdge, type BracketExternalSlotSource, type BracketFinalAlignment, type BracketGradient, type BracketGradientStop, type BracketGridSection, type BracketLayoutSettings, BracketMap, type BracketMatch, type BracketMatchComponent, type BracketMatchFactor, type BracketMatchId, type BracketMatchInputs, type BracketMatchOutcomeSlotSource, type BracketMatchParticipant, type BracketMatchPosition, type BracketMatchRelation, type BracketMatchRelationNone, type BracketMatchRelationNothingToOne, type BracketMatchRelationOneToNothing, type BracketMatchRelationOneToOne, type BracketMatchRelationTwoToNothing, type BracketMatchRelationTwoToOne, type BracketMatchShortId, type BracketMatchSlot, type BracketMatchSource, type BracketMatchStatus, type BracketParticipant, type BracketParticipantMatch, type BracketPickMigration, type BracketPickMigrationOptions, type BracketPickSet, type BracketRect, type BracketRound, type BracketRoundHeaderComponent, type BracketRoundId, type BracketRoundMapWithSwissData, type BracketRoundMirrorType, type BracketRoundPosition, type BracketRoundRelation, type BracketRoundRelationNone, type BracketRoundRelationNothingToOne, type BracketRoundRelationOneToNothing, type BracketRoundRelationOneToOne, type BracketRoundRelationTwoToNothing, type BracketRoundRelationTwoToOne, type BracketRoundShortId, type BracketRoundSource, type BracketRoundSwissData, type BracketRoundSwissGroup, type BracketRoundSwissGroupId, type BracketRoundSwissGroupMap, type BracketRoundType, BracketRuntimeError, type BracketSectionKey, type BracketSectionTitleComponent, type BracketSeedSlotSource, type BracketSlotResolutionPolicy, type BracketSlotSource, type BracketSlotSourceKind, type BracketStandingRankSide, type BracketStandingRankSlotSource, type BracketSwissBucketSlotSource, type BracketSwissColors, type BracketSwissGroupColorType, type BracketWarning, COMMON_BRACKET_ROUND_TYPE, type CalendarBandPosition, type CalendarInterval, type CalendarPrecision, type CalendarSelectionFlags, type CalendarView, type CalendarWeekStartsOn, type CascaderCompareWith, type CascaderDataSource, type CascaderNode, type CommonBracketRoundType, type ComputedBracketGrid, type CreateBracketGridConfig, type CreateBracketOptions, type CreateGridAdapterOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, type DateRangeSide, type DateRangeSide as TimeRangeInputSide, type DateRangeValue, type DateRangeValue as DateTimeRangeValue, type DateRangeValue as TimeRangeValue, type DoubleEliminationBracketRoundType, type DropzoneCropConfig, type DropzoneCropCorner, type DropzoneCropRect, type DropzoneCropShape, type DurationFormatSpec, type DurationSegment, type DurationUnit, GROUP_BRACKET_ROUND_TYPE, type GridAdapter, type GridAdapterBreakpoints, type GridConfig, type GroupBracketRoundType, type MatchParticipantId, type MatchParticipantShortId, type MatchParticipantSide, type ParticipantMatchResult, type PlaceholderBracketShape, type RichTextEditorHeadingLevel, type RichTextEditorImageFailure, type RichTextEditorImageFailureReason, type RichTextEditorImageUpload, type RichTextEditorImageUploadContext, type RichTextEditorImageUploadFn, type RichTextEditorTokenChip, type RichTextEditorTokenCodec, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, type SchedulerAgendaDay, type SchedulerMonthDayCell, type SchedulerTimeGridAllDayEntry, type SchedulerTimeGridBlock, type SchedulerTimeGridDay, type SchedulerTimeGridSegment, type ScrollableActiveChildRef, type ScrollableButtonPosition, type ScrollableButtonsConfig, type ScrollableButtonsDefaults, type ScrollableChrome, type ScrollableChromeSlot, type ScrollableConfig, type ScrollableDirection, type ScrollableIntersectionChange, type ScrollableItemSize, type ScrollableLoadingTemplatePosition, type ScrollableLoadingTemplateRef, type ScrollableMaskVariant, type ScrollableNavigation, type ScrollableNavigationConfig, type ScrollableNavigationItem, type ScrollableResponsive, type ScrollableScrollMode, type ScrollableScrollOrigin, type ScrollableScrollState, type ScrollbarGeometry, type ScrollbarOrientation, type ScrollbarTarget, type SerializeOptions, type SingleEliminationBracketRoundType, type StandingPick, type StandingPickOutcome, type SwissBracketRoundType, TOURNAMENT_MODE, type TournamentMode, bracketSlot, createBracket, createPlaceholderBracketSource, injectRichTextEditorTools, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource };
|