@ethlete/components 1.0.0-next.83 → 1.0.0-next.85

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/components",
3
- "version": "1.0.0-next.83",
3
+ "version": "1.0.0-next.85",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ethlete-io/ethdk",
@@ -111,4 +111,8 @@
111
111
  justify-content: flex-end;
112
112
  gap: var(--et-dropzone-gap, 10px);
113
113
  }
114
+
115
+ .et-dropzone-crop-step {
116
+ display: contents;
117
+ }
114
118
  }
@@ -129,7 +129,7 @@
129
129
  .et-form-field-label-area {
130
130
  position: absolute;
131
131
  inset-block-start: 0;
132
- inset-inline-start: var(--et-form-field-control-padding-inline);
132
+ inset-inline-start: calc(var(--_et-form-field-supporting-inset) - var(--et-form-field-control-border-width));
133
133
  transform: translateY(calc(-100% - var(--et-form-field-gap) - var(--et-form-field-control-border-width)));
134
134
  }
135
135
 
@@ -100,6 +100,10 @@
100
100
  --_et-form-field-control-background: transparent;
101
101
  --_et-form-field-control-focus-ring: color-mix(in srgb, var(--et-theme-color-primary-solid) 18%, transparent);
102
102
  --_et-form-field-floating-label-scale: 0.75;
103
+ --_et-form-field-supporting-inset: var(
104
+ --et-form-field-supporting-inset,
105
+ calc(var(--et-form-field-control-padding-inline) + var(--et-form-field-control-border-width))
106
+ );
103
107
 
104
108
  display: flex;
105
109
  flex-direction: column;
@@ -325,9 +329,7 @@
325
329
  gap: 2px;
326
330
  font-size: var(--et-form-field-error-font-size);
327
331
  color: var(--et-theme-color-ink-solid);
328
- padding-inline-start: calc(
329
- var(--et-form-field-control-padding-inline) + var(--et-form-field-control-border-width)
330
- );
332
+ padding-inline-start: var(--_et-form-field-supporting-inset);
331
333
  }
332
334
 
333
335
  .et-form-field-warnings {
@@ -336,15 +338,11 @@
336
338
  gap: 2px;
337
339
  font-size: var(--et-form-field-warning-font-size);
338
340
  color: var(--et-theme-color-ink-solid);
339
- padding-inline-start: calc(
340
- var(--et-form-field-control-padding-inline) + var(--et-form-field-control-border-width)
341
- );
341
+ padding-inline-start: var(--_et-form-field-supporting-inset);
342
342
  }
343
343
 
344
344
  > et-description {
345
- padding-inline-start: calc(
346
- var(--et-form-field-control-padding-inline) + var(--et-form-field-control-border-width)
347
- );
345
+ padding-inline-start: var(--_et-form-field-supporting-inset);
348
346
  }
349
347
 
350
348
  .et-form-field-support[data-can-animate] {
@@ -3,9 +3,7 @@
3
3
  .et-form-field-hint {
4
4
  font-size: var(--et-form-field-hint-font-size);
5
5
  color: var(--et-surface-color-muted-solid, currentColor);
6
- padding-inline-start: calc(
7
- var(--et-form-field-control-padding-inline) + var(--et-form-field-control-border-width)
8
- );
6
+ padding-inline-start: var(--_et-form-field-supporting-inset);
9
7
  transition: color 150ms ease;
10
8
 
11
9
  &:empty {
@@ -101,6 +101,54 @@
101
101
  initial-value: 12px;
102
102
  }
103
103
 
104
+ @property --et-match-card-meta-font-size {
105
+ syntax: '<length>';
106
+ inherits: true;
107
+ initial-value: 11px;
108
+ }
109
+
110
+ @property --et-match-card-versus-font-size {
111
+ syntax: '<length>';
112
+ inherits: true;
113
+ initial-value: 11px;
114
+ }
115
+
116
+ @property --et-match-card-games-font-size {
117
+ syntax: '<length>';
118
+ inherits: true;
119
+ initial-value: 11px;
120
+ }
121
+
122
+ @property --et-match-card-name-font-weight {
123
+ syntax: '<number>';
124
+ inherits: true;
125
+ initial-value: 400;
126
+ }
127
+
128
+ @property --et-match-card-winner-name-font-weight {
129
+ syntax: '<number>';
130
+ inherits: true;
131
+ initial-value: 600;
132
+ }
133
+
134
+ @property --et-match-card-score-font-weight {
135
+ syntax: '<number>';
136
+ inherits: true;
137
+ initial-value: 600;
138
+ }
139
+
140
+ @property --et-match-card-outcome-font-weight {
141
+ syntax: '<number>';
142
+ inherits: true;
143
+ initial-value: 700;
144
+ }
145
+
146
+ @property --et-match-card-status-font-weight {
147
+ syntax: '<number>';
148
+ inherits: true;
149
+ initial-value: 600;
150
+ }
151
+
104
152
  .et-match-card {
105
153
  container-type: inline-size;
106
154
  container-name: et-match-card;
@@ -135,6 +183,7 @@
135
183
  padding: var(--_et-match-card-padding);
136
184
  background: var(--et-surface-background-solid, transparent);
137
185
  border: 1px solid var(--et-surface-border-solid, rgb(255 255 255 / 0.1));
186
+ font-family: var(--et-match-card-font-family, inherit);
138
187
  border-radius: inherit;
139
188
  }
140
189
 
@@ -204,7 +253,7 @@
204
253
  /* The dense row is two rows and nothing else — its round is named by the column it sits in and its
205
254
  kick-off by the list around it. The one exception is a live badge, which is the whole reason someone
206
255
  is looking at the thing. */
207
- .et-match-card:where([data-status='live']) .et-match-card-content {
256
+ .et-match-card:where([data-status='live'], [data-status='cancelled']) .et-match-card-content {
208
257
  --_et-match-card-meta-display: flex;
209
258
  }
210
259
 
@@ -229,7 +278,7 @@
229
278
  justify-content: space-between;
230
279
  gap: 8px;
231
280
  min-inline-size: 0;
232
- font-size: 11px;
281
+ font-size: var(--et-match-card-meta-font-size);
233
282
  line-height: 1.4;
234
283
  color: var(--et-surface-color-muted-solid, currentColor);
235
284
  }
@@ -241,6 +290,14 @@
241
290
  white-space: nowrap;
242
291
  }
243
292
 
293
+ .et-match-card-badges {
294
+ display: flex;
295
+ flex: none;
296
+ align-items: center;
297
+ gap: 4px;
298
+ margin-inline-start: auto;
299
+ }
300
+
244
301
  .et-match-card-time {
245
302
  display: var(--_et-match-card-time-display, block);
246
303
  flex: none;
@@ -255,7 +312,7 @@
255
312
  align-items: center;
256
313
  gap: 5px;
257
314
  padding-inline: 6px;
258
- font-weight: 600;
315
+ font-weight: var(--et-match-card-status-font-weight);
259
316
  letter-spacing: 0.04em;
260
317
  text-transform: uppercase;
261
318
  color: var(--et-theme-color-ink-solid, currentColor);
@@ -263,6 +320,21 @@
263
320
  border-radius: 4px;
264
321
  }
265
322
 
323
+ .et-match-card-cancelled {
324
+ flex: none;
325
+ margin-inline-start: auto;
326
+ padding-inline: 6px;
327
+ font-weight: var(--et-match-card-status-font-weight);
328
+ letter-spacing: 0.04em;
329
+ text-transform: uppercase;
330
+ background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 12%, transparent);
331
+ border-radius: 4px;
332
+ }
333
+
334
+ .et-match-card-badges ~ .et-match-card-cancelled {
335
+ margin-inline-start: 0;
336
+ }
337
+
266
338
  .et-match-card-live-dot {
267
339
  flex: none;
268
340
  inline-size: 6px;
@@ -339,7 +411,7 @@
339
411
  display: var(--_et-match-card-versus-display, none);
340
412
  flex: none;
341
413
  padding-inline: 4px;
342
- font-size: 11px;
414
+ font-size: var(--et-match-card-versus-font-size);
343
415
  font-weight: 600;
344
416
  letter-spacing: 0.06em;
345
417
  text-transform: uppercase;
@@ -350,8 +422,9 @@
350
422
  .et-match-card-outcome {
351
423
  flex: none;
352
424
  min-inline-size: 1.2em;
425
+ font-family: var(--et-match-card-score-font-family, inherit);
353
426
  font-size: var(--_et-match-card-score-font-size);
354
- font-weight: 700;
427
+ font-weight: var(--et-match-card-outcome-font-weight);
355
428
  line-height: 1.2;
356
429
  color: var(--_et-match-card-side-color);
357
430
  text-align: center;
@@ -371,14 +444,20 @@
371
444
  /* A participant's second line is the first thing a dense row has no space for — it would make every row
372
445
  two lines tall, which is the whole point of the dense row gone. Off by default here, back on in the
373
446
  roomier layouts. The primitive keeps showing it when used standalone. */
374
- .et-match-card-content .et-match-participant-subtitle {
447
+ .et-match-card-content .et-match-participant-subtitle,
448
+ .et-match-card-content .et-match-participant-country {
375
449
  display: var(--_et-match-card-subtitle-display, none);
376
450
  }
377
451
 
452
+ .et-match-card-content .et-match-participant-name {
453
+ font-weight: var(--et-match-card-name-font-weight);
454
+ }
455
+
378
456
  .et-match-card-score {
379
457
  flex: none;
458
+ font-family: var(--et-match-card-score-font-family, inherit);
380
459
  font-size: var(--_et-match-card-score-font-size);
381
- font-weight: 600;
460
+ font-weight: var(--et-match-card-score-font-weight);
382
461
  font-variant-numeric: tabular-nums;
383
462
  line-height: 1.2;
384
463
  color: var(--_et-match-card-side-color);
@@ -402,17 +481,32 @@
402
481
  --_et-match-card-side-marker-display: block;
403
482
 
404
483
  .et-match-participant-name {
405
- font-weight: 600;
484
+ font-weight: var(--et-match-card-winner-name-font-weight);
406
485
  }
407
486
  }
408
487
 
488
+ /* Called off: no result to emphasize, so both sides step back and neither gets a bar. */
489
+ .et-match-card:where([data-status='cancelled']) .et-match-card-side {
490
+ --_et-match-card-side-color: var(--et-surface-color-muted-solid, currentColor);
491
+ --_et-match-card-side-marker-display: none;
492
+ }
493
+
494
+ .et-match-card:where([data-status='cancelled']) .et-match-participant-emblem {
495
+ opacity: 0.6;
496
+ }
497
+
498
+ .et-match-card-content .et-match-card-skeleton {
499
+ display: grid;
500
+ gap: var(--_et-match-card-gap);
501
+ }
502
+
409
503
  .et-match-card-games {
410
504
  display: var(--_et-match-card-games-display);
411
505
  flex-wrap: wrap;
412
506
  gap: 4px;
413
507
  margin: 0;
414
508
  padding: 0;
415
- font-size: 11px;
509
+ font-size: var(--et-match-card-games-font-size);
416
510
  color: var(--et-surface-color-muted-solid, currentColor);
417
511
  list-style: none;
418
512
  }
@@ -17,6 +17,12 @@
17
17
  initial-value: 14px;
18
18
  }
19
19
 
20
+ @property --et-match-participant-flag-size {
21
+ syntax: '<length>';
22
+ inherits: true;
23
+ initial-value: 16px;
24
+ }
25
+
20
26
  .et-match-participant {
21
27
  display: flex;
22
28
  align-items: center;
@@ -109,6 +115,31 @@
109
115
  white-space: nowrap;
110
116
  }
111
117
 
118
+ .et-match-participant-country {
119
+ display: flex;
120
+ align-items: center;
121
+ gap: 4px;
122
+ min-inline-size: 0;
123
+ font-size: max(10px, calc(var(--et-match-participant-font-size) - 3px));
124
+ line-height: 1.3;
125
+ color: var(--et-surface-color-muted-solid, currentColor);
126
+ }
127
+
128
+ .et-match-participant-flag {
129
+ flex: none;
130
+ inline-size: var(--et-match-participant-flag-size);
131
+ block-size: calc(var(--et-match-participant-flag-size) * 0.75);
132
+ overflow: hidden;
133
+ border-radius: 2px;
134
+ }
135
+
136
+ .et-match-participant-country-name {
137
+ min-inline-size: 0;
138
+ overflow: hidden;
139
+ text-overflow: ellipsis;
140
+ white-space: nowrap;
141
+ }
142
+
112
143
  /* A slot waiting to be filled reads as secondary — it is not the name of anything yet. */
113
144
  .et-match-participant-name--tbd {
114
145
  color: var(--et-surface-color-muted-solid, currentColor);
@@ -674,6 +674,29 @@ export declare class MatchCardGameScoresDirective {
674
674
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchCardGameScoresDirective, never>;
675
675
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatchCardGameScoresDirective, "[etMatchCardGameScores]", ["etMatchCardGameScores"], {}, {}, never, never, true, never>;
676
676
  }
677
+ /**
678
+ * Marks a badge in the card's meta row - a highlight star, a stream or VOD marker. The meta row is hidden
679
+ * from assistive tech, so the badge's label (the directive's value) joins the card's accessible name instead.
680
+ *
681
+ * @example
682
+ * <et-match-card [match]="match()">
683
+ * <span etMatchCardBadge="Video on demand">VOD</span>
684
+ * </et-match-card>
685
+ */
686
+ export declare class MatchCardBadgeDirective {
687
+ private card;
688
+ /** What the badge means, spoken as part of the card's accessible name. */
689
+ label: import("@angular/core").InputSignal<string>;
690
+ constructor();
691
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatchCardBadgeDirective, never>;
692
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatchCardBadgeDirective, "[etMatchCardBadge]", ["etMatchCardBadge"], {
693
+ "label": {
694
+ "alias": "etMatchCardBadge";
695
+ "required": true;
696
+ "isSignal": true;
697
+ };
698
+ }, {}, never, never, true, never>;
699
+ }
677
700
  /**
678
701
  * One candidate set for a `<picture>`, i.e. one `<source>` element.
679
702
  *
@@ -979,6 +1002,15 @@ export type NormalizedMedia = {
979
1002
  /** The fallback the browser uses when no source matches - and the whole image for a plain URL. */
980
1003
  defaultSrc?: PictureSource | string | null;
981
1004
  };
1005
+ /** The country a participant represents, as a national team, a player's nationality, or a club's league. */
1006
+ export type NormalizedMatchCountry = {
1007
+ /** An identifier for the country, e.g. an ISO 3166 code (`'DE'`). */
1008
+ code: string;
1009
+ /** The country's display name, drawn next to its flag. */
1010
+ name: string;
1011
+ /** The flag. `null` draws the name alone. */
1012
+ flag: NormalizedMedia | null;
1013
+ };
982
1014
  /** One side of a match: a team, a player, a club. `null` on a match stands for a TBD slot. */
983
1015
  export type NormalizedMatchParticipant = {
984
1016
  id: string;
@@ -996,12 +1028,17 @@ export type NormalizedMatchParticipant = {
996
1028
  emblem: NormalizedMedia | null;
997
1029
  /** Seeding position, when the competition has one. */
998
1030
  seed: number | null;
1031
+ /**
1032
+ * The country this side represents, drawn as a flag and a name under the participant's name. Dropped in a
1033
+ * dense row, like `subtitle`, and not part of the card's accessible name.
1034
+ */
1035
+ country?: NormalizedMatchCountry | null;
999
1036
  };
1000
1037
  /**
1001
- * How far along a match is. Three states, because that is what presentation turns on - an API's
1002
- * richer lifecycle (`preparing`/`published`/`hidden`/…) is the adapter's to collapse.
1038
+ * How far along a match is: the states presentation turns on. An API's richer lifecycle
1039
+ * (`preparing`/`published`/`hidden`/…) is the adapter's to collapse. A `cancelled` match draws no result.
1003
1040
  */
1004
- export type NormalizedMatchStatus = 'scheduled' | 'live' | 'finished';
1041
+ export type NormalizedMatchStatus = 'scheduled' | 'live' | 'finished' | 'cancelled';
1005
1042
  /** One game of a series (a map, a leg), as its two scores. */
1006
1043
  export type NormalizedGameScore = {
1007
1044
  home: number;
@@ -1099,6 +1136,8 @@ export type MatchCardNameContext = {
1099
1136
  status: NormalizedMatchStatus;
1100
1137
  /** The match's `label` (`'Grand Final'`), or its `number` named by `matchNumber`, or `null`. */
1101
1138
  label: string | null;
1139
+ /** The labels of the card's `etMatchCardBadge` badges, in template order. */
1140
+ badges: readonly string[];
1102
1141
  /** Every match label in effect, so this one can reuse the localized `live`, `finished` and `versus`. */
1103
1142
  labels: MatchLabels;
1104
1143
  };
@@ -1116,6 +1155,10 @@ export type MatchLabels = {
1116
1155
  finished: string;
1117
1156
  /** Announced for a match that hasn't started. */
1118
1157
  scheduled: string;
1158
+ /** The tag a cancelled match draws, also announced in its accessible name. */
1159
+ cancelled: string;
1160
+ /** The card's accessible name while it waits for its match (`loading`). */
1161
+ loading: string;
1119
1162
  /** Separates the two scores, e.g. `' : '`. Also used to build the accessible name. */
1120
1163
  scoreSeparator: string;
1121
1164
  /**
@@ -1219,8 +1262,16 @@ export declare class MatchCardDirective {
1219
1262
  private elementRef;
1220
1263
  private injectedLabels;
1221
1264
  private dateLocale;
1222
- /** The match to draw, already normalized - see {@link NormalizedMatch} and the `integrations/` adapters. */
1223
- match: import("@angular/core").InputSignal<NormalizedMatch>;
1265
+ /**
1266
+ * The match to draw, already normalized - see {@link NormalizedMatch} and the `integrations/` adapters.
1267
+ * `null` while it has not arrived; pair that with `loading`.
1268
+ */
1269
+ matchInput: import("@angular/core").InputSignal<NormalizedMatch | null>;
1270
+ /**
1271
+ * Draw a placeholder card while the match loads: `aria-busy`, the `loading` label as the accessible name,
1272
+ * and no participant, result or kick-off content. @default false
1273
+ */
1274
+ loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
1224
1275
  /**
1225
1276
  * Which layout to render. `auto` (the default) lets the card's own inline size decide via a container
1226
1277
  * query - dense row, then featured card, then wide row as it gets wider; the other three fix it, for
@@ -1268,6 +1319,11 @@ export declare class MatchCardDirective {
1268
1319
  * deliberately doesn't ship (a sound, confetti, a toast). Both sides can fire from one update.
1269
1320
  */
1270
1321
  scoreChange: import("@angular/core").OutputEmitterRef<MatchScoreChange>;
1322
+ /** The match in effect: the `match` input, or an empty scheduled match while there is none. */
1323
+ match: import("@angular/core").Signal<NormalizedMatch>;
1324
+ private badgeLabelsByElement;
1325
+ /** The labels of the `etMatchCardBadge` badges inside the card, in document order. */
1326
+ badgeLabels: import("@angular/core").Signal<string[]>;
1271
1327
  /** The strings in effect here: the injected label set with this instance's `labels` applied. */
1272
1328
  resolvedLabels: import("@angular/core").Signal<MatchLabels>;
1273
1329
  private readonly IS_NATIVELY_INTERACTIVE;
@@ -1278,6 +1334,7 @@ export declare class MatchCardDirective {
1278
1334
  isLive: import("@angular/core").Signal<boolean>;
1279
1335
  isFinished: import("@angular/core").Signal<boolean>;
1280
1336
  isScheduled: import("@angular/core").Signal<boolean>;
1337
+ isCancelled: import("@angular/core").Signal<boolean>;
1281
1338
  /**
1282
1339
  * Whether participants render as short codes. Tied to an explicit `compact`, not to the rendered
1283
1340
  * width - see the `size` input.
@@ -1351,9 +1408,14 @@ export declare class MatchCardDirective {
1351
1408
  private outcomeFor;
1352
1409
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchCardDirective, never>;
1353
1410
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatchCardDirective, "[etMatchCard]", ["etMatchCard"], {
1354
- "match": {
1411
+ "matchInput": {
1355
1412
  "alias": "match";
1356
- "required": true;
1413
+ "required": false;
1414
+ "isSignal": true;
1415
+ };
1416
+ "loading": {
1417
+ "alias": "loading";
1418
+ "required": false;
1357
1419
  "isSignal": true;
1358
1420
  };
1359
1421
  "size": {
@@ -1527,7 +1589,7 @@ export declare class MatchCardComponent {
1527
1589
  "required": false;
1528
1590
  "isSignal": true;
1529
1591
  };
1530
- }, {}, never, never, true, [{
1592
+ }, {}, never, ["[etMatchCardBadge]"], true, [{
1531
1593
  directive: typeof MatchCardDirective;
1532
1594
  inputs: {
1533
1595
  "match": "match";
@@ -1538,6 +1600,7 @@ export declare class MatchCardComponent {
1538
1600
  "interactive": "interactive";
1539
1601
  "labels": "labels";
1540
1602
  "animateScoreChanges": "animateScoreChanges";
1603
+ "loading": "loading";
1541
1604
  };
1542
1605
  outputs: {
1543
1606
  "scoreChange": "scoreChange";
@@ -1629,6 +1692,7 @@ export declare class MatchParticipantComponent {
1629
1692
  * The quieter second line, where there is one. Dropped in compact: the point of compact is that the
1630
1693
  * row fits a bracket column, and a second line is the first thing that stops fitting.
1631
1694
  */
1695
+ protected country: import("@angular/core").Signal<import("@ethlete/components").NormalizedMatchCountry | null>;
1632
1696
  protected subtitle: import("@angular/core").Signal<string | null>;
1633
1697
  /**
1634
1698
  * What this side is called, in one string - also what the card composes its accessible name from. The
@@ -1746,7 +1810,7 @@ export declare const MATCH_PARTICIPANT_IMPORTS: readonly [typeof MatchParticipan
1746
1810
  * The match card (`<et-match-card>` / `<a et-match-card>`), the participant primitive it draws, and the
1747
1811
  * headless directive plus parts to build a card of your own.
1748
1812
  */
1749
- export declare const MATCH_CARD_IMPORTS: readonly [typeof MatchCardComponent, typeof MatchParticipantComponent, typeof MatchScoreComponent, typeof MatchCardDirective, typeof MatchCardMetaDirective, typeof MatchCardScoreDirective, typeof MatchCardGameScoresDirective];
1813
+ export declare const MATCH_CARD_IMPORTS: readonly [typeof MatchCardComponent, typeof MatchParticipantComponent, typeof MatchScoreComponent, typeof MatchCardDirective, typeof MatchCardMetaDirective, typeof MatchCardScoreDirective, typeof MatchCardGameScoresDirective, typeof MatchCardBadgeDirective];
1750
1814
  /** The round kinds of the Ethlete API. */
1751
1815
  export type EthleteRoundTypeInput = 'normal' | 'third_place' | 'final' | 'reverse_final' | 'winner_bracket' | 'loser_bracket';
1752
1816
  /** The stage kinds of the Ethlete API, carried on each match as `matchType`. */
@@ -9563,7 +9627,7 @@ export type OverlayConfig = {
9563
9627
  backdropClass?: string | string[];
9564
9628
  panelClass?: string | string[];
9565
9629
  mode?: OverlayMode;
9566
- closeOnOutsidePointer?: boolean;
9630
+ closeOnOutsidePointer?: boolean | 'except-origin';
9567
9631
  closeOnEscape?: boolean;
9568
9632
  /**
9569
9633
  * Closes the overlay with the source `'navigation'` when an Angular Router navigation to another path
@@ -14260,6 +14324,14 @@ export declare const dropzoneLabelsForLocale: (locale: string) => DropzoneLabels
14260
14324
  export declare const provideDropzoneLabels: (labels: import("@ethlete/core").LabelsSource<DropzoneLabels>) => import("@angular/core").Provider;
14261
14325
  export declare const injectDropzoneLabels: () => import("@angular/core").Signal<DropzoneLabels>;
14262
14326
  export declare const DROPZONE_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<DropzoneLabels>>;
14327
+ /**
14328
+ * Turns on the crop step of `et-dropzone`: with it imported, `<et-dropzone [crop]="{ aspectRatio: 1 }">` sends
14329
+ * picked images through the crop step before they upload. Import it via `DROPZONE_CROP_IMPORTS`.
14330
+ */
14331
+ export declare class DropzoneCropStepDirective {
14332
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropzoneCropStepDirective, never>;
14333
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropzoneCropStepDirective, "et-dropzone[crop]", never, {}, {}, never, never, true, never>;
14334
+ }
14263
14335
  type DropzoneCropConfig = {
14264
14336
  /** Width divided by height of the crop, e.g. `1` for a square or `16 / 9`. */
14265
14337
  aspectRatio: number;
@@ -14988,6 +15060,8 @@ export declare class DropzoneComponent<TValue = unknown> {
14988
15060
  private renderer;
14989
15061
  private prefersReducedMotion;
14990
15062
  private formatUploadedAt;
15063
+ private hostElement;
15064
+ protected cropStep: import("@angular/core").Type<unknown> | null;
14991
15065
  /**
14992
15066
  * The upload workflow configuration. Create it via `createDropzoneUpload()`. Its value type is the
14993
15067
  * type the upload and delete outputs emit.
@@ -15112,11 +15186,13 @@ export declare class DropzoneComponent<TValue = unknown> {
15112
15186
  }]>;
15113
15187
  }
15114
15188
  export declare const DROPZONE_IMPORTS: readonly [typeof DropzoneComponent, typeof DropzoneDirective];
15189
+ export declare const DROPZONE_CROP_IMPORTS: readonly [typeof DropzoneCropStepDirective];
15115
15190
  export declare const DROPZONE_ERROR_CODES: {
15116
15191
  readonly INVALID_UPLOAD_CONFIG: 2400;
15117
15192
  readonly MISSING_EXISTING_RESOLVER: 2401;
15118
15193
  readonly VALUE_MODE_MISMATCH: 2402;
15119
15194
  readonly CROP_EXPORT_FAILED: 2403;
15195
+ readonly MISSING_CROP_STEP: 2404;
15120
15196
  };
15121
15197
  export type FocusFirstInvalidFieldOptions = {
15122
15198
  /** Where the field lands in its scroll container. @default 'center' */
@@ -36673,5 +36749,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
36673
36749
  export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
36674
36750
  export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
36675
36751
  /** The version of `@ethlete/components` this build was cut from. */
36676
- export declare const COMPONENTS_VERSION = "1.0.0-next.83";
36752
+ export declare const COMPONENTS_VERSION = "1.0.0-next.85";
36677
36753
  export { type AppointmentTreeNode, BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SWISS_GROUP_COLOR_TYPE, type Bracket, type BracketByeSlotSource, type BracketComponents, type BracketContinueComponent, type BracketDataLayout, type BracketDataSource, type BracketDrawing, type BracketEdge, type BracketExternalSlotSource, type BracketGradient, type BracketGradientStop, 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 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 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 };