@ethlete/components 1.0.0-next.94 → 1.0.0-next.95
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 +15 -0
- package/design/select.ts +2 -2
- package/fesm2022/ethlete-components.mjs +205 -64
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/match/match-card.component.css +10 -1
- package/src/lib/match/match-participant.component.css +36 -0
- package/src/lib/picture/picture.component.css +15 -0
- package/src/lib/scrollable/headless/scrollable-buttons.component.css +7 -2
- package/src/lib/scrollable/headless/scrollable-masks.component.css +18 -3
- package/src/lib/scrollable/scrollable.component.css +0 -1
- package/types/ethlete-components.d.ts +82 -14
package/package.json
CHANGED
|
@@ -187,6 +187,13 @@
|
|
|
187
187
|
border-radius: inherit;
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
+
/* Brings back the kick-off alone: the meta row returns, but its label and badges stay out. */
|
|
191
|
+
.et-match-card:where([data-show-start-time]) .et-match-card-content {
|
|
192
|
+
--_et-match-card-meta-display: flex;
|
|
193
|
+
--_et-match-card-time-display: block;
|
|
194
|
+
--_et-match-card-badges-display: none;
|
|
195
|
+
}
|
|
196
|
+
|
|
190
197
|
/* Past the first threshold the card is the featured one; past the second the two sides stop stacking
|
|
191
198
|
and face each other across the middle. The thresholds are constants, not tokens: a container query
|
|
192
199
|
condition may not contain `var()`, so there is nothing to point a custom property at. Pin the layout
|
|
@@ -220,6 +227,7 @@
|
|
|
220
227
|
--_et-match-card-label-display: block;
|
|
221
228
|
--_et-match-card-meta-display: flex;
|
|
222
229
|
--_et-match-card-time-display: block;
|
|
230
|
+
--_et-match-card-badges-display: flex;
|
|
223
231
|
}
|
|
224
232
|
}
|
|
225
233
|
|
|
@@ -250,6 +258,7 @@
|
|
|
250
258
|
--_et-match-card-label-display: block;
|
|
251
259
|
--_et-match-card-meta-display: flex;
|
|
252
260
|
--_et-match-card-time-display: block;
|
|
261
|
+
--_et-match-card-badges-display: flex;
|
|
253
262
|
}
|
|
254
263
|
|
|
255
264
|
/* The dense row is two rows and nothing else — its round is named by the column it sits in and its
|
|
@@ -293,7 +302,7 @@
|
|
|
293
302
|
}
|
|
294
303
|
|
|
295
304
|
.et-match-card-badges {
|
|
296
|
-
display: flex;
|
|
305
|
+
display: var(--_et-match-card-badges-display, flex);
|
|
297
306
|
flex: none;
|
|
298
307
|
align-items: center;
|
|
299
308
|
gap: 4px;
|
|
@@ -107,6 +107,42 @@
|
|
|
107
107
|
content: attr(data-mark);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
.et-match-participant-emblem:has(> .et-match-participant-emblem-mark[data-fallback='shield']),
|
|
111
|
+
.et-match-participant-emblem:has(
|
|
112
|
+
> .et-match-participant-picture .et-match-participant-emblem-mark[data-fallback='shield']
|
|
113
|
+
) {
|
|
114
|
+
border-color: transparent;
|
|
115
|
+
background: none;
|
|
116
|
+
border-radius: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.et-match-participant-emblem-mark[data-fallback='shield'] {
|
|
120
|
+
position: relative;
|
|
121
|
+
display: grid;
|
|
122
|
+
place-items: center;
|
|
123
|
+
inline-size: 100%;
|
|
124
|
+
block-size: 100%;
|
|
125
|
+
padding-block-end: 6%;
|
|
126
|
+
box-sizing: border-box;
|
|
127
|
+
font-size: calc(var(--et-match-participant-emblem-size) * 0.38);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.et-match-participant-shield {
|
|
131
|
+
position: absolute;
|
|
132
|
+
inset: 0;
|
|
133
|
+
inline-size: 100%;
|
|
134
|
+
block-size: 100%;
|
|
135
|
+
overflow: visible;
|
|
136
|
+
fill: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 10%, transparent);
|
|
137
|
+
stroke: var(--et-surface-border-solid, currentColor);
|
|
138
|
+
stroke-width: 1.5;
|
|
139
|
+
stroke-linejoin: round;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.et-match-participant-emblem-mark[data-fallback='shield']::before {
|
|
143
|
+
position: relative;
|
|
144
|
+
}
|
|
145
|
+
|
|
110
146
|
.et-match-participant:has(> [etMatchParticipantEdit]:not([etMatchParticipantEdit='beside']))
|
|
111
147
|
.et-match-participant-names,
|
|
112
148
|
.et-match-participant:has(> [etMatchParticipantEdit]:not([etMatchParticipantEdit='beside']))
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
@layer components.sdk {
|
|
2
|
+
@property --et-picture-img-transform {
|
|
3
|
+
syntax: '*';
|
|
4
|
+
inherits: true;
|
|
5
|
+
initial-value: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@property --et-picture-img-transition {
|
|
9
|
+
syntax: '*';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
2
14
|
.et-picture {
|
|
3
15
|
display: block;
|
|
4
16
|
|
|
@@ -12,6 +24,7 @@
|
|
|
12
24
|
display: block;
|
|
13
25
|
/* The containing block for the placeholder / error slots. */
|
|
14
26
|
position: relative;
|
|
27
|
+
overflow: hidden;
|
|
15
28
|
}
|
|
16
29
|
|
|
17
30
|
.et-picture-img {
|
|
@@ -19,6 +32,8 @@
|
|
|
19
32
|
max-inline-size: 100%;
|
|
20
33
|
/* Given `width`/`height` for CLS, the intrinsic ratio has to be kept once CSS resizes the box. */
|
|
21
34
|
block-size: auto;
|
|
35
|
+
transform: var(--et-picture-img-transform);
|
|
36
|
+
transition: var(--et-picture-img-transition);
|
|
22
37
|
}
|
|
23
38
|
|
|
24
39
|
&:where([data-aspect-ratio]) {
|
|
@@ -11,6 +11,11 @@
|
|
|
11
11
|
initial-value: 0px;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
@property --et-scrollable-buttons-extent {
|
|
15
|
+
syntax: '*';
|
|
16
|
+
inherits: true;
|
|
17
|
+
}
|
|
18
|
+
|
|
14
19
|
.et-scrollable-buttons {
|
|
15
20
|
grid-row: 1 / 1;
|
|
16
21
|
grid-column: 1 / 1;
|
|
@@ -18,7 +23,7 @@
|
|
|
18
23
|
|
|
19
24
|
.et-scrollable-button {
|
|
20
25
|
position: absolute;
|
|
21
|
-
--_et-scrollable-button-extent: calc(var(--_et-icon-button-size) + 0.4rem);
|
|
26
|
+
--_et-scrollable-button-extent: var(--et-scrollable-buttons-extent, calc(var(--_et-icon-button-size) + 0.4rem));
|
|
22
27
|
opacity: 0;
|
|
23
28
|
}
|
|
24
29
|
}
|
|
@@ -97,7 +102,7 @@
|
|
|
97
102
|
}
|
|
98
103
|
}
|
|
99
104
|
|
|
100
|
-
|
|
105
|
+
&.et-scrollable--can-scroll:not(.et-scrollable--is-at-end):has(.et-scrollable-buttons--inside) {
|
|
101
106
|
&[direction='horizontal'] > .et-scrollable-wrapper > .et-scrollable-container,
|
|
102
107
|
&:not([direction]) > .et-scrollable-wrapper > .et-scrollable-container {
|
|
103
108
|
padding-inline-end: var(--et-scrollable-buttons-end-space);
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
@layer components.sdk {
|
|
2
|
+
@property --et-scrollable-mask-size {
|
|
3
|
+
syntax: '*';
|
|
4
|
+
inherits: true;
|
|
5
|
+
}
|
|
6
|
+
|
|
2
7
|
@property --_et-scrollable-mask-start {
|
|
3
8
|
syntax: '<length>';
|
|
4
9
|
inherits: false;
|
|
@@ -11,6 +16,13 @@
|
|
|
11
16
|
initial-value: 0px;
|
|
12
17
|
}
|
|
13
18
|
|
|
19
|
+
:where(.et-scrollable) {
|
|
20
|
+
--_et-scrollable-mask-length: var(
|
|
21
|
+
--et-scrollable-mask-size,
|
|
22
|
+
var(--mask-size, var(--_et-scrollable-config-mask-size, 25px))
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
14
26
|
.et-scrollable-masks {
|
|
15
27
|
grid-row: 1 / 1;
|
|
16
28
|
grid-column: 1 / 1;
|
|
@@ -81,7 +93,7 @@
|
|
|
81
93
|
|
|
82
94
|
.et-scrollable.et-scrollable--can-scroll.et-scrollable--has-partial-items:not(.et-scrollable--is-at-start) {
|
|
83
95
|
& > .et-scrollable-wrapper > .et-scrollable-container {
|
|
84
|
-
--_et-scrollable-mask-start: var(--mask-
|
|
96
|
+
--_et-scrollable-mask-start: var(--_et-scrollable-mask-length);
|
|
85
97
|
}
|
|
86
98
|
|
|
87
99
|
& > .et-scrollable-wrapper > .et-scrollable-masks .et-scrollable-mask--start {
|
|
@@ -91,7 +103,7 @@
|
|
|
91
103
|
|
|
92
104
|
.et-scrollable.et-scrollable--can-scroll.et-scrollable--has-partial-items:not(.et-scrollable--is-at-end) {
|
|
93
105
|
& > .et-scrollable-wrapper > .et-scrollable-container {
|
|
94
|
-
--_et-scrollable-mask-end: var(--mask-
|
|
106
|
+
--_et-scrollable-mask-end: var(--_et-scrollable-mask-length);
|
|
95
107
|
}
|
|
96
108
|
|
|
97
109
|
& > .et-scrollable-wrapper > .et-scrollable-masks .et-scrollable-mask--end {
|
|
@@ -112,7 +124,10 @@
|
|
|
112
124
|
}
|
|
113
125
|
|
|
114
126
|
.et-scrollable[mask-variant='border'] {
|
|
115
|
-
--mask-
|
|
127
|
+
--_et-scrollable-mask-length: var(
|
|
128
|
+
--et-scrollable-mask-size,
|
|
129
|
+
var(--mask-size, var(--_et-scrollable-config-mask-size, 32px))
|
|
130
|
+
);
|
|
116
131
|
|
|
117
132
|
&[direction='horizontal'],
|
|
118
133
|
&:not([direction]) {
|
|
@@ -719,6 +719,21 @@ export declare class MatchCardBadgeDirective {
|
|
|
719
719
|
};
|
|
720
720
|
}, {}, never, never, true, never>;
|
|
721
721
|
}
|
|
722
|
+
/** What stands in for a participant's emblem when it has none or the image fails: the initial in a circle, or a crest outline. */
|
|
723
|
+
export type MatchEmblemFallback = 'initial' | 'shield';
|
|
724
|
+
export type MatchDefaults = {
|
|
725
|
+
emblemFallback: MatchEmblemFallback;
|
|
726
|
+
};
|
|
727
|
+
export declare const DEFAULT_MATCH_DEFAULTS: MatchDefaults;
|
|
728
|
+
/**
|
|
729
|
+
* Set the default `emblemFallback` of every match participant and match card below this injector. Partial -
|
|
730
|
+
* whatever you leave out keeps its {@link DEFAULT_MATCH_DEFAULTS} value. An input set on a component still wins.
|
|
731
|
+
*
|
|
732
|
+
* @example
|
|
733
|
+
* provideMatchDefaults({ emblemFallback: 'shield' });
|
|
734
|
+
*/
|
|
735
|
+
export declare const provideMatchDefaults: (valueOverride?: Partial<MatchDefaults> | undefined) => import("@angular/core").StaticProvider[];
|
|
736
|
+
export declare const injectMatchDefaults: import("@ethlete/core").InjectFn<MatchDefaults>;
|
|
722
737
|
/**
|
|
723
738
|
* One candidate set for a `<picture>`, i.e. one `<source>` element.
|
|
724
739
|
*
|
|
@@ -1140,9 +1155,9 @@ export type MatchResultNameContext = {
|
|
|
1140
1155
|
};
|
|
1141
1156
|
/** What a match card announces about itself, once composed. */
|
|
1142
1157
|
export type MatchCardNameContext = {
|
|
1143
|
-
/** The home side's display name, or the `tbd`
|
|
1158
|
+
/** The home side's display name, or the home TBD label (`tbdHome`, else `tbd`) when the slot is empty. */
|
|
1144
1159
|
home: string;
|
|
1145
|
-
/** The away side's display name, or the `tbd`
|
|
1160
|
+
/** The away side's display name, or the away TBD label (`tbdAway`, else `tbd`). */
|
|
1146
1161
|
away: string;
|
|
1147
1162
|
/**
|
|
1148
1163
|
* How it stands, as the `resultName` label phrased it (`'2 : 1'`, `'FC Berlin won'`), or `null`
|
|
@@ -1171,6 +1186,10 @@ export type MatchCardNameContext = {
|
|
|
1171
1186
|
export type MatchLabels = {
|
|
1172
1187
|
/** Stands in for a participant that isn't decided yet. */
|
|
1173
1188
|
tbd: string;
|
|
1189
|
+
/** Stands in for an empty home slot, where the side is known. Falls back to `tbd`. */
|
|
1190
|
+
tbdHome?: string;
|
|
1191
|
+
/** Stands in for an empty away slot, where the side is known. Falls back to `tbd`. */
|
|
1192
|
+
tbdAway?: string;
|
|
1174
1193
|
/** The live badge's text. */
|
|
1175
1194
|
live: string;
|
|
1176
1195
|
/** Announced for a finished match, and shown where a status word is drawn. */
|
|
@@ -1320,6 +1339,12 @@ export declare class MatchCardDirective {
|
|
|
1320
1339
|
* {@link DEFAULT_MATCH_CARD_START_TIME_FORMAT}; a rail of today's matches usually wants just `'p'`.
|
|
1321
1340
|
*/
|
|
1322
1341
|
startTimeFormat: import("@angular/core").InputSignal<string | null>;
|
|
1342
|
+
/**
|
|
1343
|
+
* Keep the kick-off visible in the dense `compact` row, which otherwise drops the meta row. Only the
|
|
1344
|
+
* time comes back - the label and badges stay hidden. Uses `startTimeFormat`, so `'HH:mm'` works. Also
|
|
1345
|
+
* shown in the minimal (under 150px) density. @default false
|
|
1346
|
+
*/
|
|
1347
|
+
showStartTime: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
1323
1348
|
/**
|
|
1324
1349
|
* Whether this card is a click target. `null` (the default) infers it from the host element, which is
|
|
1325
1350
|
* right whenever the card is an `<a>` or `<button>`. Set it explicitly for a host that is interactive
|
|
@@ -1334,6 +1359,8 @@ export declare class MatchCardDirective {
|
|
|
1334
1359
|
* @default true
|
|
1335
1360
|
*/
|
|
1336
1361
|
animateScoreChanges: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
1362
|
+
/** What stands in for a missing or failed emblem on both sides - see `MatchParticipantComponent.emblemFallback`. `null` takes the app-wide default. */
|
|
1363
|
+
emblemFallback: import("@angular/core").InputSignal<MatchEmblemFallback | null>;
|
|
1337
1364
|
/** Override this instance's strings - see {@link provideMatchLabels} for the app-wide version. */
|
|
1338
1365
|
labels: import("@angular/core").InputSignal<Partial<MatchLabels> | null>;
|
|
1339
1366
|
/**
|
|
@@ -1460,6 +1487,11 @@ export declare class MatchCardDirective {
|
|
|
1460
1487
|
"required": false;
|
|
1461
1488
|
"isSignal": true;
|
|
1462
1489
|
};
|
|
1490
|
+
"showStartTime": {
|
|
1491
|
+
"alias": "showStartTime";
|
|
1492
|
+
"required": false;
|
|
1493
|
+
"isSignal": true;
|
|
1494
|
+
};
|
|
1463
1495
|
"interactive": {
|
|
1464
1496
|
"alias": "interactive";
|
|
1465
1497
|
"required": false;
|
|
@@ -1470,6 +1502,11 @@ export declare class MatchCardDirective {
|
|
|
1470
1502
|
"required": false;
|
|
1471
1503
|
"isSignal": true;
|
|
1472
1504
|
};
|
|
1505
|
+
"emblemFallback": {
|
|
1506
|
+
"alias": "emblemFallback";
|
|
1507
|
+
"required": false;
|
|
1508
|
+
"isSignal": true;
|
|
1509
|
+
};
|
|
1473
1510
|
"labels": {
|
|
1474
1511
|
"alias": "labels";
|
|
1475
1512
|
"required": false;
|
|
@@ -1619,8 +1656,10 @@ export declare class MatchCardComponent {
|
|
|
1619
1656
|
"showSeeds": "showSeeds";
|
|
1620
1657
|
"hideNames": "hideNames";
|
|
1621
1658
|
"startTimeFormat": "startTimeFormat";
|
|
1659
|
+
"showStartTime": "showStartTime";
|
|
1622
1660
|
"interactive": "interactive";
|
|
1623
1661
|
"labels": "labels";
|
|
1662
|
+
"emblemFallback": "emblemFallback";
|
|
1624
1663
|
"animateScoreChanges": "animateScoreChanges";
|
|
1625
1664
|
"loading": "loading";
|
|
1626
1665
|
};
|
|
@@ -1644,6 +1683,8 @@ export type MatchParticipantDisplayNameOptions = {
|
|
|
1644
1683
|
labels: MatchLabels;
|
|
1645
1684
|
/** Prefer the short `code` over the full name, for a narrow column. @default false */
|
|
1646
1685
|
compact?: boolean;
|
|
1686
|
+
/** Which side of the match this is, when known. An empty slot then prefers `tbdHome` / `tbdAway` over `tbd`. */
|
|
1687
|
+
side?: 'home' | 'away' | null;
|
|
1647
1688
|
};
|
|
1648
1689
|
/**
|
|
1649
1690
|
* What one side of a match is called, in one string. Extracted so the fallback chain exists once: the
|
|
@@ -1654,7 +1695,7 @@ export type MatchParticipantDisplayNameOptions = {
|
|
|
1654
1695
|
* be readable in a narrow column. Non-compact does the reverse - a name is what a participant is
|
|
1655
1696
|
* called, and the code is what's left when the API hasn't sent one.
|
|
1656
1697
|
*/
|
|
1657
|
-
export declare const matchParticipantDisplayName: ({ participant, labels, compact }: MatchParticipantDisplayNameOptions) => string;
|
|
1698
|
+
export declare const matchParticipantDisplayName: ({ participant, labels, compact, side }: MatchParticipantDisplayNameOptions) => string;
|
|
1658
1699
|
/**
|
|
1659
1700
|
* One side of a match, drawn: emblem, name, and an optional seed. Used inside `et-match-card` and on
|
|
1660
1701
|
* its own wherever a team or player is listed - a roster, a standings row, a filter chip's content.
|
|
@@ -1695,6 +1736,7 @@ export declare const matchParticipantDisplayName: ({ participant, labels, compac
|
|
|
1695
1736
|
export declare class MatchParticipantComponent {
|
|
1696
1737
|
private elementRef;
|
|
1697
1738
|
private injectedLabels;
|
|
1739
|
+
private defaults;
|
|
1698
1740
|
/** The side to draw. `null` is a TBD slot - see the component's docs. */
|
|
1699
1741
|
participant: import("@angular/core").InputSignal<NormalizedMatchParticipant | null>;
|
|
1700
1742
|
/** Prefer the short `code` over the full name, for a narrow column. @default false */
|
|
@@ -1714,11 +1756,20 @@ export declare class MatchParticipantComponent {
|
|
|
1714
1756
|
interactive: import("@angular/core").InputSignalWithTransform<boolean | null, unknown>;
|
|
1715
1757
|
/** Override this instance's strings - see {@link provideMatchLabels} for the app-wide version. */
|
|
1716
1758
|
labels: import("@angular/core").InputSignal<Partial<MatchLabels> | null>;
|
|
1759
|
+
/**
|
|
1760
|
+
* What stands in for a missing or failed emblem: the participant's initial in a circle (`'initial'`), or a
|
|
1761
|
+
* neutral shield outline with the initial inside it (`'shield'`). `null` (the default) takes the app-wide
|
|
1762
|
+
* value from {@link provideMatchDefaults}.
|
|
1763
|
+
*/
|
|
1764
|
+
emblemFallback: import("@angular/core").InputSignal<MatchEmblemFallback | null>;
|
|
1765
|
+
/** Which side of the match this participant is on, for the per-side TBD label. The card sets it. */
|
|
1766
|
+
side: import("@angular/core").InputSignal<"home" | "away" | null>;
|
|
1717
1767
|
/** The strings in effect here: the injected label set with this instance's `labels` applied. */
|
|
1718
1768
|
resolvedLabels: import("@angular/core").Signal<MatchLabels>;
|
|
1719
1769
|
private readonly IS_NATIVELY_INTERACTIVE;
|
|
1720
1770
|
/** Whether this acts as a click target, and should therefore look and feel like one. */
|
|
1721
1771
|
isInteractive: import("@angular/core").Signal<boolean>;
|
|
1772
|
+
protected resolvedEmblemFallback: import("@angular/core").Signal<MatchEmblemFallback>;
|
|
1722
1773
|
protected emblem: import("@angular/core").Signal<import("@ethlete/components").NormalizedMedia | null>;
|
|
1723
1774
|
/**
|
|
1724
1775
|
* The quieter second line, where there is one. Dropped in compact: the point of compact is that the
|
|
@@ -1769,6 +1820,16 @@ export declare class MatchParticipantComponent {
|
|
|
1769
1820
|
"required": false;
|
|
1770
1821
|
"isSignal": true;
|
|
1771
1822
|
};
|
|
1823
|
+
"emblemFallback": {
|
|
1824
|
+
"alias": "emblemFallback";
|
|
1825
|
+
"required": false;
|
|
1826
|
+
"isSignal": true;
|
|
1827
|
+
};
|
|
1828
|
+
"side": {
|
|
1829
|
+
"alias": "side";
|
|
1830
|
+
"required": false;
|
|
1831
|
+
"isSignal": true;
|
|
1832
|
+
};
|
|
1772
1833
|
}, {}, never, ["[etMatchParticipantEdit]"], true, [{
|
|
1773
1834
|
directive: typeof FocusRingDirective;
|
|
1774
1835
|
inputs: {};
|
|
@@ -5525,6 +5586,11 @@ type ScrollableButtonsDefaults = {
|
|
|
5525
5586
|
color?: ColorThemeInput;
|
|
5526
5587
|
/** Button variant. `'filled'` gives the buttons a `color` fill. @default 'transparent' */
|
|
5527
5588
|
variant?: ButtonVariant;
|
|
5589
|
+
/**
|
|
5590
|
+
* Length of the edge fade while the buttons render. A `--et-scrollable-mask-size` (or the legacy
|
|
5591
|
+
* `--mask-size`) set in CSS wins. @example '6rem'
|
|
5592
|
+
*/
|
|
5593
|
+
maskSize?: string;
|
|
5528
5594
|
};
|
|
5529
5595
|
type ScrollableConfig = {
|
|
5530
5596
|
buttons?: ScrollableButtonsDefaults;
|
|
@@ -5579,6 +5645,7 @@ export declare class ScrollableButtonsDirective {
|
|
|
5579
5645
|
sticky: import("@angular/core").Signal<boolean>;
|
|
5580
5646
|
size: import("@angular/core").Signal<ButtonSize>;
|
|
5581
5647
|
variant: import("@angular/core").Signal<ButtonVariant>;
|
|
5648
|
+
maskSize: import("@angular/core").Signal<string | null>;
|
|
5582
5649
|
color: import("@angular/core").Signal<import("@ethlete/core").ColorThemeInput | undefined>;
|
|
5583
5650
|
enabled: import("@angular/core").Signal<boolean>;
|
|
5584
5651
|
constructor();
|
|
@@ -12326,7 +12393,7 @@ export declare class DateInputComponent {
|
|
|
12326
12393
|
protected dateInput: DateInputDirective;
|
|
12327
12394
|
pickerTriggerLabel: import("@angular/core").InputSignal<string | null>;
|
|
12328
12395
|
dialogLabel: import("@angular/core").InputSignal<string | null>;
|
|
12329
|
-
/** Shows a clear (×) control while a value or pending text is set
|
|
12396
|
+
/** Shows a clear (×) control while a value or pending text is set. */
|
|
12330
12397
|
clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12331
12398
|
clearLabel: import("@angular/core").InputSignal<string | null>;
|
|
12332
12399
|
protected resolvedPickerTriggerLabel: import("@angular/core").Signal<string>;
|
|
@@ -12962,7 +13029,7 @@ export declare class DateRangeInputComponent {
|
|
|
12962
13029
|
protected rangeInput: DateRangeInputDirective;
|
|
12963
13030
|
pickerTriggerLabel: import("@angular/core").InputSignal<string | null>;
|
|
12964
13031
|
dialogLabel: import("@angular/core").InputSignal<string | null>;
|
|
12965
|
-
/** Shows a clear (×) control while a value is set
|
|
13032
|
+
/** Shows a clear (×) control while a value is set. */
|
|
12966
13033
|
clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12967
13034
|
clearLabel: import("@angular/core").InputSignal<string | null>;
|
|
12968
13035
|
protected resolvedStartAriaLabel: import("@angular/core").Signal<string>;
|
|
@@ -13301,7 +13368,7 @@ export declare class DateTimeInputComponent {
|
|
|
13301
13368
|
/** Labels of the pane tabs shown when the picker mounts as a bottom sheet. */
|
|
13302
13369
|
dateTabLabel: import("@angular/core").InputSignal<string | null>;
|
|
13303
13370
|
timeTabLabel: import("@angular/core").InputSignal<string | null>;
|
|
13304
|
-
/** Shows a clear (×) control while a value or pending text is set
|
|
13371
|
+
/** Shows a clear (×) control while a value or pending text is set. */
|
|
13305
13372
|
clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13306
13373
|
clearLabel: import("@angular/core").InputSignal<string | null>;
|
|
13307
13374
|
protected resolvedPickerTriggerLabel: import("@angular/core").Signal<string>;
|
|
@@ -13642,7 +13709,7 @@ export declare class DateTimeRangeInputComponent {
|
|
|
13642
13709
|
/** Accessible names of the time picker's two ring handles. */
|
|
13643
13710
|
startTimeLabel: import("@angular/core").InputSignal<string | null>;
|
|
13644
13711
|
endTimeLabel: import("@angular/core").InputSignal<string | null>;
|
|
13645
|
-
/** Shows a clear (×) control while a value or pending text is set
|
|
13712
|
+
/** Shows a clear (×) control while a value or pending text is set. */
|
|
13646
13713
|
clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13647
13714
|
clearLabel: import("@angular/core").InputSignal<string | null>;
|
|
13648
13715
|
protected resolvedStartAriaLabel: import("@angular/core").Signal<string>;
|
|
@@ -14159,7 +14226,7 @@ type DurationFormatSpec = {
|
|
|
14159
14226
|
export declare class DurationInputComponent {
|
|
14160
14227
|
private formFieldLabels;
|
|
14161
14228
|
protected durationInput: DurationInputDirective;
|
|
14162
|
-
/** Shows a clear (×) control while a value or pending text is set
|
|
14229
|
+
/** Shows a clear (×) control while a value or pending text is set. */
|
|
14163
14230
|
clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14164
14231
|
clearLabel: import("@angular/core").InputSignal<string | null>;
|
|
14165
14232
|
protected resolvedClearLabel: import("@angular/core").Signal<string>;
|
|
@@ -14292,7 +14359,7 @@ export declare class TimeInputComponent {
|
|
|
14292
14359
|
pickerTriggerLabel: import("@angular/core").InputSignal<string | null>;
|
|
14293
14360
|
dialogLabel: import("@angular/core").InputSignal<string | null>;
|
|
14294
14361
|
minuteStep: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
14295
|
-
/** Shows a clear (×) control while a value or pending text is set
|
|
14362
|
+
/** Shows a clear (×) control while a value or pending text is set. */
|
|
14296
14363
|
clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14297
14364
|
clearLabel: import("@angular/core").InputSignal<string | null>;
|
|
14298
14365
|
protected resolvedPickerTriggerLabel: import("@angular/core").Signal<string>;
|
|
@@ -14460,7 +14527,7 @@ export declare class TimeRangeInputComponent {
|
|
|
14460
14527
|
/** Accessible names of the time picker's two ring handles. */
|
|
14461
14528
|
startTimeLabel: import("@angular/core").InputSignal<string | null>;
|
|
14462
14529
|
endTimeLabel: import("@angular/core").InputSignal<string | null>;
|
|
14463
|
-
/** Shows a clear (×) control while a value or pending text is set
|
|
14530
|
+
/** Shows a clear (×) control while a value or pending text is set. */
|
|
14464
14531
|
clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14465
14532
|
clearLabel: import("@angular/core").InputSignal<string | null>;
|
|
14466
14533
|
protected resolvedStartAriaLabel: import("@angular/core").Signal<string>;
|
|
@@ -16372,7 +16439,7 @@ export declare class InputComponent {
|
|
|
16372
16439
|
}]>;
|
|
16373
16440
|
}
|
|
16374
16441
|
/**
|
|
16375
|
-
* Adds a clear (×) button to an `et-input`'s suffix stack while the
|
|
16442
|
+
* Adds a clear (×) button to an `et-input`'s suffix stack while the input holds a value. Clearing empties
|
|
16376
16443
|
* the value, emits `valueChange` and keeps focus in the input.
|
|
16377
16444
|
*
|
|
16378
16445
|
* @example
|
|
@@ -19736,7 +19803,7 @@ export declare class PhoneInputComponent {
|
|
|
19736
19803
|
private locale;
|
|
19737
19804
|
/** Leads the country trigger's accessible name, ahead of the active country and its dial code. */
|
|
19738
19805
|
countryLabel: import("@angular/core").InputSignal<string | null>;
|
|
19739
|
-
/** Shows a clear (×) control while a number is set
|
|
19806
|
+
/** Shows a clear (×) control while a number is set. */
|
|
19740
19807
|
clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
19741
19808
|
clearLabel: import("@angular/core").InputSignal<string | null>;
|
|
19742
19809
|
/** The string in effect: this instance's `countryLabel`, else the domain's label set. */
|
|
@@ -20278,7 +20345,7 @@ export declare class SelectDirective<TValue = unknown> extends FieldStateControl
|
|
|
20278
20345
|
hasMoreItems: Signal<boolean>;
|
|
20279
20346
|
shouldDisplayError: Signal<boolean>;
|
|
20280
20347
|
private effectiveValues;
|
|
20281
|
-
|
|
20348
|
+
hasSelectedValue: Signal<boolean>;
|
|
20282
20349
|
describedBy: WritableSignal<string | null>;
|
|
20283
20350
|
controlType: WritableSignal<"select">;
|
|
20284
20351
|
focused: Signal<boolean>;
|
|
@@ -20292,6 +20359,7 @@ export declare class SelectDirective<TValue = unknown> extends FieldStateControl
|
|
|
20292
20359
|
private dataItemRegistryIdentity;
|
|
20293
20360
|
sortedItems: Signal<SelectItem[]>;
|
|
20294
20361
|
private selectsNullOption;
|
|
20362
|
+
hasValue: Signal<boolean>;
|
|
20295
20363
|
/** The current search query (empty string when no search is registered). */
|
|
20296
20364
|
query: Signal<string>;
|
|
20297
20365
|
/**
|
|
@@ -37390,5 +37458,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
|
|
|
37390
37458
|
export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
|
|
37391
37459
|
export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
|
|
37392
37460
|
/** The version of `@ethlete/components` this build was cut from. */
|
|
37393
|
-
export declare const COMPONENTS_VERSION = "1.0.0-next.
|
|
37461
|
+
export declare const COMPONENTS_VERSION = "1.0.0-next.95";
|
|
37394
37462
|
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 };
|