@ethlete/components 1.0.0-next.89 → 1.0.0-next.90
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 +29 -0
- package/design/sdk/components/accent-on-light/accent-on-light.ts +1 -0
- package/design/sdk/components/action-sheet/action-sheet.ts +25 -1
- package/design/sdk/components/anchored-dialog/anchored-dialog.css +2 -5
- package/design/sdk/components/anchored-dialog/anchored-dialog.ts +13 -8
- package/design/sdk/components/badge/badge.css +18 -0
- package/design/sdk/components/badge/badge.ts +27 -3
- package/design/sdk/components/banner/banner.ts +32 -1
- package/design/sdk/components/bracket/bracket.ts +1 -0
- package/design/sdk/components/breadcrumb/breadcrumb.ts +1 -1
- package/design/sdk/components/button/button.ts +1 -0
- package/design/sdk/components/calendar/calendar.ts +31 -4
- package/design/sdk/components/card/card.ts +41 -1
- package/design/sdk/components/carousel/carousel.ts +35 -5
- package/design/sdk/components/chart/chart.ts +8 -2
- package/design/sdk/components/checkbox/checkbox.ts +11 -2
- package/design/sdk/components/chip/chip.ts +2 -9
- package/design/sdk/components/copy-button/copy-button.ts +4 -1
- package/design/sdk/components/dialog/dialog.ts +58 -1
- package/design/sdk/components/empty-state/empty-state.ts +1 -0
- package/design/sdk/components/floating-action/floating-action.ts +1 -0
- package/design/sdk/components/form-field/form-field.ts +9 -16
- package/design/sdk/components/grid/grid.ts +4 -1
- package/design/sdk/components/match/match.ts +1 -0
- package/design/sdk/components/menu/menu.ts +1 -0
- package/design/sdk/components/notification/notification.ts +1 -0
- package/design/sdk/components/pagination/pagination.ts +1 -1
- package/design/sdk/components/progress-steps/progress-steps.ts +1 -0
- package/design/sdk/components/query-error/query-error.ts +4 -1
- package/design/sdk/components/radio-group/radio-group.ts +1 -0
- package/design/sdk/components/scheduler/scheduler.ts +22 -1
- package/design/sdk/components/scrollable/scrollable.ts +28 -2
- package/design/sdk/components/scrollbar/scrollbar.css +1 -1
- package/design/sdk/components/scrollbar/scrollbar.ts +13 -0
- package/design/sdk/components/select/select.ts +9 -0
- package/design/sdk/components/select/shared/select-part.ts +4 -12
- package/design/sdk/components/select-panel/select-panel.ts +1 -0
- package/design/sdk/components/standings/standings.ts +4 -1
- package/design/sdk/components/stream/stream.ts +12 -3
- package/design/sdk/components/switch/switch.ts +10 -4
- package/design/sdk/components/table/table.ts +94 -12
- package/design/sdk/components/tabs/tabs.ts +1 -1
- package/design/sdk/components/textarea/textarea.ts +31 -2
- package/design/sdk/components/toolbar/toolbar.ts +1 -0
- package/design/sdk/components/tree/tree.ts +8 -1
- package/design/sdk/foundations/elevation/elevation.ts +1 -0
- package/design/sdk/ready.json +334 -87
- package/design/sdk/rule-baseline.json +48 -0
- package/design/table.ts +11 -4
- package/design/tooltip.ts +7 -1
- package/fesm2022/ethlete-components.mjs +438 -73
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/bracket/bracket.component.css +4 -1
- package/src/lib/forms/choice-field/choice-field.component.css +4 -2
- package/src/lib/forms/dropzone/dropzone-crop.component.css +21 -0
- package/src/lib/forms/select/select-option-styles.component.css +1 -0
- package/src/lib/match/match-card.component.css +8 -2
- package/src/lib/match/match-participant.component.css +21 -1
- package/src/lib/stream/consent/stream-consent.component.css +1 -0
- package/src/lib/stream/error/stream-player-error.component.css +1 -0
- package/src/lib/stream/stream-overlay-card-styles.component.css +9 -3
- package/src/lib/table/table.component.css +1 -0
- package/types/ethlete-components.d.ts +111 -11
- package/design/sdk/components/switch/switch.css +0 -37
package/package.json
CHANGED
|
@@ -102,7 +102,10 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.et-bracket-journey-endpoint {
|
|
105
|
-
outline:
|
|
105
|
+
outline: var(
|
|
106
|
+
--et-bracket-journey-endpoint-outline,
|
|
107
|
+
1px dashed var(--et-bracket-line-color, var(--et-surface-border-solid, rgb(255 255 255 / 0.1)))
|
|
108
|
+
);
|
|
106
109
|
outline-offset: 2px;
|
|
107
110
|
border-radius: var(--et-match-card-border-radius, 10px);
|
|
108
111
|
}
|
|
@@ -64,7 +64,9 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.et-choice-field-control-slot {
|
|
67
|
+
display: flex;
|
|
67
68
|
flex: 0 0 auto;
|
|
69
|
+
align-items: center;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
&:where([data-size='sm']) {
|
|
@@ -99,9 +101,9 @@
|
|
|
99
101
|
display: flex;
|
|
100
102
|
align-items: baseline;
|
|
101
103
|
font-size: var(--et-choice-field-label-font-size);
|
|
102
|
-
font-weight: 500;
|
|
104
|
+
font-weight: var(--et-choice-field-label-font-weight, 500);
|
|
103
105
|
line-height: 1.2;
|
|
104
|
-
letter-spacing: -0.01em;
|
|
106
|
+
letter-spacing: var(--et-choice-field-label-letter-spacing, -0.01em);
|
|
105
107
|
color: var(--et-surface-color-muted-solid, currentColor);
|
|
106
108
|
cursor: pointer;
|
|
107
109
|
-webkit-user-select: none;
|
|
@@ -62,6 +62,27 @@
|
|
|
62
62
|
pointer-events: none;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
.et-dropzone-crop-stage[data-shape='round'] {
|
|
66
|
+
.et-dropzone-crop-shade {
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
background-color: transparent;
|
|
69
|
+
clip-path: none;
|
|
70
|
+
|
|
71
|
+
&::before {
|
|
72
|
+
content: '';
|
|
73
|
+
position: absolute;
|
|
74
|
+
inset: var(--_et-dropzone-crop-top) calc(100% - var(--_et-dropzone-crop-right))
|
|
75
|
+
calc(100% - var(--_et-dropzone-crop-bottom)) var(--_et-dropzone-crop-left);
|
|
76
|
+
border-radius: 50%;
|
|
77
|
+
box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--et-surface-background-solid, transparent) 65%, transparent);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.et-dropzone-crop-rect {
|
|
82
|
+
border-radius: 50%;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
65
86
|
.et-dropzone-crop-rect {
|
|
66
87
|
position: absolute;
|
|
67
88
|
inset: var(--_et-dropzone-crop-top) calc(100% - var(--_et-dropzone-crop-right))
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
padding-inline: var(--et-select-option-padding-inline);
|
|
54
54
|
border-radius: var(--et-select-option-border-radius);
|
|
55
55
|
font-size: var(--et-select-option-font-size);
|
|
56
|
+
letter-spacing: var(--et-select-option-letter-spacing);
|
|
56
57
|
cursor: pointer;
|
|
57
58
|
-webkit-user-select: none;
|
|
58
59
|
user-select: none;
|
|
@@ -216,6 +216,7 @@
|
|
|
216
216
|
--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);
|
|
217
217
|
--_et-match-card-games-display: flex;
|
|
218
218
|
--_et-match-card-subtitle-display: block;
|
|
219
|
+
--_et-match-card-country-display: flex;
|
|
219
220
|
--_et-match-card-label-display: block;
|
|
220
221
|
--_et-match-card-meta-display: flex;
|
|
221
222
|
--_et-match-card-time-display: block;
|
|
@@ -245,6 +246,7 @@
|
|
|
245
246
|
--_et-match-card-score-font-size: var(--et-match-card-expanded-score-font-size);
|
|
246
247
|
--_et-match-card-games-display: flex;
|
|
247
248
|
--_et-match-card-subtitle-display: block;
|
|
249
|
+
--_et-match-card-country-display: flex;
|
|
248
250
|
--_et-match-card-label-display: block;
|
|
249
251
|
--_et-match-card-meta-display: flex;
|
|
250
252
|
--_et-match-card-time-display: block;
|
|
@@ -375,6 +377,7 @@
|
|
|
375
377
|
align-items: center;
|
|
376
378
|
gap: 8px;
|
|
377
379
|
min-inline-size: 0;
|
|
380
|
+
text-align: start;
|
|
378
381
|
}
|
|
379
382
|
|
|
380
383
|
/* Mirrored in the wide arrangement, and mirrored properly: the away side's row reverses so its value
|
|
@@ -444,11 +447,14 @@
|
|
|
444
447
|
/* A participant's second line is the first thing a dense row has no space for — it would make every row
|
|
445
448
|
two lines tall, which is the whole point of the dense row gone. Off by default here, back on in the
|
|
446
449
|
roomier layouts. The primitive keeps showing it when used standalone. */
|
|
447
|
-
.et-match-card-content .et-match-participant-subtitle
|
|
448
|
-
.et-match-card-content .et-match-participant-country {
|
|
450
|
+
.et-match-card-content .et-match-participant-subtitle {
|
|
449
451
|
display: var(--_et-match-card-subtitle-display, none);
|
|
450
452
|
}
|
|
451
453
|
|
|
454
|
+
.et-match-card-content .et-match-participant-country {
|
|
455
|
+
display: var(--_et-match-card-country-display, none);
|
|
456
|
+
}
|
|
457
|
+
|
|
452
458
|
.et-match-card-content .et-match-participant-name {
|
|
453
459
|
font-weight: var(--et-match-card-name-font-weight);
|
|
454
460
|
}
|
|
@@ -5,6 +5,18 @@
|
|
|
5
5
|
initial-value: 28px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
@property --et-match-participant-emblem-radius {
|
|
9
|
+
syntax: '<length-percentage>';
|
|
10
|
+
inherits: true;
|
|
11
|
+
initial-value: 50%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@property --et-match-participant-emblem-border-width {
|
|
15
|
+
syntax: '<length>';
|
|
16
|
+
inherits: true;
|
|
17
|
+
initial-value: 0px;
|
|
18
|
+
}
|
|
19
|
+
|
|
8
20
|
@property --et-match-participant-gap {
|
|
9
21
|
syntax: '<length>';
|
|
10
22
|
inherits: true;
|
|
@@ -58,10 +70,18 @@
|
|
|
58
70
|
inline-size: var(--et-match-participant-emblem-size);
|
|
59
71
|
block-size: var(--et-match-participant-emblem-size);
|
|
60
72
|
overflow: hidden;
|
|
61
|
-
|
|
73
|
+
box-sizing: border-box;
|
|
74
|
+
border: var(--et-match-participant-emblem-border-width) solid
|
|
75
|
+
var(--et-match-participant-emblem-border-color, var(--et-surface-border-solid, currentColor));
|
|
76
|
+
border-radius: var(--et-match-participant-emblem-radius);
|
|
62
77
|
background: color-mix(in srgb, var(--et-surface-interaction-solid, gray) 10%, transparent);
|
|
63
78
|
}
|
|
64
79
|
|
|
80
|
+
.et-match-participant:where([data-tbd]) .et-match-participant-emblem {
|
|
81
|
+
border-width: var(--et-match-participant-tbd-emblem-border-width, var(--et-match-participant-emblem-border-width));
|
|
82
|
+
border-style: var(--et-match-participant-tbd-emblem-border-style, solid);
|
|
83
|
+
}
|
|
84
|
+
|
|
65
85
|
.et-match-participant-picture,
|
|
66
86
|
.et-match-participant-bone {
|
|
67
87
|
inline-size: 100%;
|
|
@@ -26,9 +26,15 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@container (max-height: 200px) {
|
|
29
|
-
.et-stream-consent-
|
|
30
|
-
.et-stream-player-error-
|
|
31
|
-
|
|
29
|
+
.et-stream-consent-card,
|
|
30
|
+
.et-stream-player-error-card {
|
|
31
|
+
padding: calc(var(--et-stream-overlay-card-padding, 16px) / 2);
|
|
32
|
+
gap: calc(var(--et-stream-overlay-card-gap, 12px) / 2);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.et-stream-consent-card > .et-stream-consent-icon,
|
|
36
|
+
.et-stream-player-error-card > .et-stream-player-error-icon,
|
|
37
|
+
.et-pip-slot-placeholder-card > .et-pip-slot-placeholder-icon {
|
|
32
38
|
display: none;
|
|
33
39
|
}
|
|
34
40
|
}
|
|
@@ -734,6 +734,7 @@
|
|
|
734
734
|
grid-column: 1 / -1;
|
|
735
735
|
position: sticky;
|
|
736
736
|
inset-inline-start: 0;
|
|
737
|
+
box-sizing: border-box;
|
|
737
738
|
inline-size: var(--_et-table-viewport-inline-size, 100%);
|
|
738
739
|
padding: 32px var(--et-table-cell-padding-inline);
|
|
739
740
|
color: var(--et-surface-color-muted-solid, CanvasText);
|
|
@@ -14393,6 +14393,11 @@ export type DropzoneLabels = {
|
|
|
14393
14393
|
fileTooLarge: (fileName: string, maxFileSize: number | undefined) => string;
|
|
14394
14394
|
/** A file rejected by `minFileSize`. */
|
|
14395
14395
|
fileTooSmall: (fileName: string, minFileSize: number | undefined) => string;
|
|
14396
|
+
/** An image rejected by `minImageWidth` or `minImageHeight`. */
|
|
14397
|
+
imageTooSmall: (fileName: string, minSize: {
|
|
14398
|
+
width: number | undefined;
|
|
14399
|
+
height: number | undefined;
|
|
14400
|
+
}) => string;
|
|
14396
14401
|
/** An extra file dropped onto a single-file dropzone. */
|
|
14397
14402
|
tooManyFiles: (fileName: string) => string;
|
|
14398
14403
|
/** Announced while uploads are in flight. */
|
|
@@ -14429,9 +14434,19 @@ export declare class DropzoneCropStepDirective {
|
|
|
14429
14434
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropzoneCropStepDirective, never>;
|
|
14430
14435
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DropzoneCropStepDirective, "et-dropzone[crop]", never, {}, {}, never, never, true, never>;
|
|
14431
14436
|
}
|
|
14437
|
+
export declare const DROPZONE_CROP_SHAPES: {
|
|
14438
|
+
readonly RECT: "rect";
|
|
14439
|
+
readonly ROUND: "round";
|
|
14440
|
+
};
|
|
14441
|
+
type DropzoneCropShape = (typeof DROPZONE_CROP_SHAPES)[keyof typeof DROPZONE_CROP_SHAPES];
|
|
14432
14442
|
type DropzoneCropConfig = {
|
|
14433
|
-
/** Width divided by height of the crop, e.g. `1` for a square or `16 / 9`. */
|
|
14434
|
-
aspectRatio
|
|
14443
|
+
/** Width divided by height of the crop, e.g. `1` for a square or `16 / 9`. Leave it out for a free crop. */
|
|
14444
|
+
aspectRatio?: number;
|
|
14445
|
+
/**
|
|
14446
|
+
* Shape of the crop frame. `'round'` shows a circle, or an ellipse without a square aspect ratio. The cropped
|
|
14447
|
+
* file is always the rectangle around it. @default 'rect'
|
|
14448
|
+
*/
|
|
14449
|
+
shape?: DropzoneCropShape;
|
|
14435
14450
|
/** Scales the cropped image down to at most this many pixels wide. */
|
|
14436
14451
|
maxWidth?: number;
|
|
14437
14452
|
/** Scales the cropped image down to at most this many pixels high. */
|
|
@@ -14453,9 +14468,9 @@ type DropzoneCropSize = {
|
|
|
14453
14468
|
};
|
|
14454
14469
|
type DropzoneCropCorner = 'nw' | 'ne' | 'sw' | 'se';
|
|
14455
14470
|
/**
|
|
14456
|
-
* Crop state for one image file:
|
|
14457
|
-
* `etDropzoneCropHandle` and by keyboard (arrows move, shift +
|
|
14458
|
-
* of the rendered image
|
|
14471
|
+
* Crop state for one image file: a rect in image pixels, aspect-locked when the config has an `aspectRatio` and free
|
|
14472
|
+
* otherwise, moved by `etDropzoneCropRect`, resized by `etDropzoneCropHandle` and by keyboard (arrows move, shift +
|
|
14473
|
+
* arrows resize). The host must have exactly the size of the rendered image and carries `data-shape`.
|
|
14459
14474
|
*/
|
|
14460
14475
|
export declare class DropzoneCropDirective {
|
|
14461
14476
|
private hostElement;
|
|
@@ -14477,6 +14492,7 @@ export declare class DropzoneCropDirective {
|
|
|
14477
14492
|
height: number;
|
|
14478
14493
|
} | null>;
|
|
14479
14494
|
ready: import("@angular/core").Signal<boolean>;
|
|
14495
|
+
shape: import("@angular/core").Signal<import("@ethlete/components").DropzoneCropShape>;
|
|
14480
14496
|
protected rectVars: import("@angular/core").Signal<{
|
|
14481
14497
|
'--_et-dropzone-crop-left': string;
|
|
14482
14498
|
'--_et-dropzone-crop-top': string;
|
|
@@ -14525,7 +14541,7 @@ export declare class DropzoneCropHandleDirective {
|
|
|
14525
14541
|
};
|
|
14526
14542
|
}, {}, never, never, true, never>;
|
|
14527
14543
|
}
|
|
14528
|
-
/** The default crop step of `et-dropzone`: the image with
|
|
14544
|
+
/** The default crop step of `et-dropzone`: the image with a crop frame, cancel and confirm. Takes focus once the image is ready. */
|
|
14529
14545
|
export declare class DropzoneCropComponent {
|
|
14530
14546
|
private destroyRef;
|
|
14531
14547
|
file: import("@angular/core").InputSignal<File>;
|
|
@@ -14537,7 +14553,10 @@ export declare class DropzoneCropComponent {
|
|
|
14537
14553
|
/** Emits the cropped file. */
|
|
14538
14554
|
cropConfirm: import("@angular/core").OutputEmitterRef<File>;
|
|
14539
14555
|
cropCancel: import("@angular/core").OutputEmitterRef<void>;
|
|
14556
|
+
crop: import("@angular/core").Signal<DropzoneCropDirective>;
|
|
14557
|
+
private cropRect;
|
|
14540
14558
|
protected exporting: import("@angular/core").WritableSignal<boolean>;
|
|
14559
|
+
constructor();
|
|
14541
14560
|
protected confirmCrop(crop: DropzoneCropDirective): void;
|
|
14542
14561
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropzoneCropComponent, never>;
|
|
14543
14562
|
static ɵcmp: i0.ɵɵComponentDeclaration<DropzoneCropComponent, "et-dropzone-crop", never, {
|
|
@@ -14861,6 +14880,7 @@ export declare const DROPZONE_FILE_REJECTION_REASONS: {
|
|
|
14861
14880
|
readonly MAX_FILE_SIZE: "maxFileSize";
|
|
14862
14881
|
readonly MIN_FILE_SIZE: "minFileSize";
|
|
14863
14882
|
readonly MAX_FILES: "maxFiles";
|
|
14883
|
+
readonly IMAGE_TOO_SMALL: "imageTooSmall";
|
|
14864
14884
|
};
|
|
14865
14885
|
export type DropzoneFileRejectionReason = (typeof DROPZONE_FILE_REJECTION_REASONS)[keyof typeof DROPZONE_FILE_REJECTION_REASONS];
|
|
14866
14886
|
export type DropzoneFileRejection = {
|
|
@@ -14879,6 +14899,10 @@ export type DropzoneFileConstraints = {
|
|
|
14879
14899
|
maxFileSize?: number;
|
|
14880
14900
|
/** Minimum size of a single file in bytes. */
|
|
14881
14901
|
minFileSize?: number;
|
|
14902
|
+
/** Minimum width of a picked raster image in pixels. Checked before the crop step and the upload. */
|
|
14903
|
+
minImageWidth?: number;
|
|
14904
|
+
/** Minimum height of a picked raster image in pixels. Checked before the crop step and the upload. */
|
|
14905
|
+
minImageHeight?: number;
|
|
14882
14906
|
/** Overrides the built-in per-rejection error message (e.g. for i18n). */
|
|
14883
14907
|
message?: (rejection: DropzoneFileRejection) => string;
|
|
14884
14908
|
};
|
|
@@ -14936,6 +14960,13 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
14936
14960
|
maxFileSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
14937
14961
|
/** Minimum size of a single file in bytes. A bound field's `dropzoneFiles()` rule overrides it. */
|
|
14938
14962
|
minFileSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
14963
|
+
/**
|
|
14964
|
+
* Minimum width of a picked raster image in pixels; smaller images are rejected as `imageTooSmall` before the crop
|
|
14965
|
+
* step and the upload. A bound field's `dropzoneFiles()` rule overrides it.
|
|
14966
|
+
*/
|
|
14967
|
+
minImageWidth: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
14968
|
+
/** Minimum height of a picked raster image in pixels, like {@link minImageWidth}. */
|
|
14969
|
+
minImageHeight: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
14939
14970
|
/** Whether multiple files can be uploaded. The control value becomes an array. */
|
|
14940
14971
|
multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14941
14972
|
/** Sends picked images through a crop step before they upload. Other files upload right away. */
|
|
@@ -14966,6 +14997,7 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
14966
14997
|
private entryWatchers;
|
|
14967
14998
|
private lastSyncedValue;
|
|
14968
14999
|
private hasSyncedValue;
|
|
15000
|
+
private imageMeasurement;
|
|
14969
15001
|
/** Whether files can still be added, replaced or removed. */
|
|
14970
15002
|
interactive: Signal<boolean>;
|
|
14971
15003
|
/** All entries currently managed by the dropzone, including uploading and failed ones. */
|
|
@@ -14990,7 +15022,10 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
14990
15022
|
describedBy: import("@angular/core").WritableSignal<string | null>;
|
|
14991
15023
|
controlType: import("@angular/core").WritableSignal<"dropzone">;
|
|
14992
15024
|
constructor();
|
|
14993
|
-
/**
|
|
15025
|
+
/**
|
|
15026
|
+
* Validates the given files and uploads all accepted ones. With a minimum image size, the images are decoded first,
|
|
15027
|
+
* so the rejections and uploads of that selection follow asynchronously.
|
|
15028
|
+
*/
|
|
14994
15029
|
selectFiles(files: FileList | readonly File[]): void;
|
|
14995
15030
|
/** Replaces a pending crop with the cropped file, which then uploads like a picked one. */
|
|
14996
15031
|
confirmCrop(id: string, file: File): void;
|
|
@@ -15013,6 +15048,7 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
15013
15048
|
protected handleDragOver(event: DragEvent): void;
|
|
15014
15049
|
protected handleDragLeave(): void;
|
|
15015
15050
|
protected handleDrop(event: DragEvent): void;
|
|
15051
|
+
private finishSelection;
|
|
15016
15052
|
private addFiles;
|
|
15017
15053
|
private setRejections;
|
|
15018
15054
|
private createFileEntry;
|
|
@@ -15088,6 +15124,16 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
15088
15124
|
"required": false;
|
|
15089
15125
|
"isSignal": true;
|
|
15090
15126
|
};
|
|
15127
|
+
"minImageWidth": {
|
|
15128
|
+
"alias": "minImageWidth";
|
|
15129
|
+
"required": false;
|
|
15130
|
+
"isSignal": true;
|
|
15131
|
+
};
|
|
15132
|
+
"minImageHeight": {
|
|
15133
|
+
"alias": "minImageHeight";
|
|
15134
|
+
"required": false;
|
|
15135
|
+
"isSignal": true;
|
|
15136
|
+
};
|
|
15091
15137
|
"multiple": {
|
|
15092
15138
|
"alias": "multiple";
|
|
15093
15139
|
"required": false;
|
|
@@ -15198,7 +15244,8 @@ export declare class DropzoneComponent<TValue = unknown> {
|
|
|
15198
15244
|
iso: string;
|
|
15199
15245
|
label: string;
|
|
15200
15246
|
} | null>;
|
|
15201
|
-
|
|
15247
|
+
pendingCrop: import("@angular/core").Signal<import("@ethlete/components").DropzonePendingCrop | null>;
|
|
15248
|
+
protected cropOpen: import("@angular/core").Signal<boolean>;
|
|
15202
15249
|
protected readonlyList: import("@angular/core").Signal<boolean>;
|
|
15203
15250
|
protected liveStatusMessage: import("@angular/core").Signal<string>;
|
|
15204
15251
|
protected internalErrorMessages: import("@angular/core").Signal<string[]>;
|
|
@@ -15214,6 +15261,7 @@ export declare class DropzoneComponent<TValue = unknown> {
|
|
|
15214
15261
|
protected uploadPickedFiles(event: Event): void;
|
|
15215
15262
|
protected removeEntryAnimated(entry: DropzoneEntry, entryElement: HTMLElement): void;
|
|
15216
15263
|
focus(options?: FocusOptions): void;
|
|
15264
|
+
private restoreFocusAfterCrop;
|
|
15217
15265
|
private defaultUploadErrorMessage;
|
|
15218
15266
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropzoneComponent<any>, never>;
|
|
15219
15267
|
static ɵcmp: i0.ɵɵComponentDeclaration<DropzoneComponent<any>, "et-dropzone", never, {
|
|
@@ -15262,6 +15310,8 @@ export declare class DropzoneComponent<TValue = unknown> {
|
|
|
15262
15310
|
"accept": "accept";
|
|
15263
15311
|
"maxFileSize": "maxFileSize";
|
|
15264
15312
|
"minFileSize": "minFileSize";
|
|
15313
|
+
"minImageWidth": "minImageWidth";
|
|
15314
|
+
"minImageHeight": "minImageHeight";
|
|
15265
15315
|
"crop": "crop";
|
|
15266
15316
|
"aria-label": "aria-label";
|
|
15267
15317
|
"aria-labelledby": "aria-labelledby";
|
|
@@ -20025,6 +20075,7 @@ export declare class SelectDirective<TValue = unknown> extends FieldStateControl
|
|
|
20025
20075
|
private dataItemRegistry;
|
|
20026
20076
|
private dataItemRegistryIdentity;
|
|
20027
20077
|
sortedItems: Signal<SelectItem[]>;
|
|
20078
|
+
private selectsNullOption;
|
|
20028
20079
|
/** The current search query (empty string when no search is registered). */
|
|
20029
20080
|
query: Signal<string>;
|
|
20030
20081
|
/**
|
|
@@ -22500,6 +22551,7 @@ export declare class SwitchDirective extends FieldStateControlDirective implemen
|
|
|
22500
22551
|
private formField;
|
|
22501
22552
|
private destroyRef;
|
|
22502
22553
|
private el;
|
|
22554
|
+
private renderer;
|
|
22503
22555
|
checked: import("@angular/core").ModelSignal<boolean>;
|
|
22504
22556
|
/**
|
|
22505
22557
|
* Bulk-edit state for a switch whose source records disagree (some on, some off), mirroring
|
|
@@ -22516,6 +22568,7 @@ export declare class SwitchDirective extends FieldStateControlDirective implemen
|
|
|
22516
22568
|
required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
22517
22569
|
name: import("@angular/core").InputSignal<string>;
|
|
22518
22570
|
touch: import("@angular/core").OutputRef<void>;
|
|
22571
|
+
private nativeLabelId;
|
|
22519
22572
|
shouldDisplayError: import("@angular/core").Signal<boolean>;
|
|
22520
22573
|
describedBy: import("@angular/core").WritableSignal<string | null>;
|
|
22521
22574
|
controlType: import("@angular/core").WritableSignal<"switch">;
|
|
@@ -22523,6 +22576,9 @@ export declare class SwitchDirective extends FieldStateControlDirective implemen
|
|
|
22523
22576
|
toggle(): void;
|
|
22524
22577
|
activate(): void;
|
|
22525
22578
|
focus(options?: FocusOptions): void;
|
|
22579
|
+
/** A host binding would remove a consumer's `[attr.aria-*]` binding whenever ours is null. */
|
|
22580
|
+
private syncOwnedAttribute;
|
|
22581
|
+
private connectNativeLabel;
|
|
22526
22582
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchDirective, never>;
|
|
22527
22583
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SwitchDirective, "[etSwitch]", never, {
|
|
22528
22584
|
"checked": {
|
|
@@ -28553,6 +28609,11 @@ export declare class SkeletonComponent {
|
|
|
28553
28609
|
export declare const SKELETON_IMPORTS: readonly [typeof SkeletonComponent, typeof SkeletonItemComponent, typeof SkeletonTextComponent];
|
|
28554
28610
|
/** One result in a participant's recent form. */
|
|
28555
28611
|
export type StandingsFormResult = 'win' | 'loss' | 'tie';
|
|
28612
|
+
/** A recent-form result with a label, shown as its tooltip and read as part of its name - the opponent and score, say. */
|
|
28613
|
+
export type StandingsFormEntry = {
|
|
28614
|
+
result: StandingsFormResult;
|
|
28615
|
+
label?: string | null;
|
|
28616
|
+
};
|
|
28556
28617
|
/**
|
|
28557
28618
|
* One row of a table, in the shape `et-standings` draws. Same philosophy as the match domain: **every
|
|
28558
28619
|
* backend maps into it** with a plain adapter, and the components never learn one API's field names.
|
|
@@ -28576,8 +28637,23 @@ export type NormalizedStandingRow = {
|
|
|
28576
28637
|
/** Goal or game difference, when the competition tracks one. */
|
|
28577
28638
|
difference: number | null;
|
|
28578
28639
|
/** Recent results, **oldest first**. `null` when the competition doesn't report form. */
|
|
28579
|
-
form: StandingsFormResult[] | null;
|
|
28640
|
+
form: (StandingsFormResult | StandingsFormEntry)[] | null;
|
|
28641
|
+
/** Values for the consumer's `extraColumns`, keyed by each column's `key`. A missing key renders an empty cell. */
|
|
28642
|
+
extraStats?: Readonly<Record<string, string | number | null>>;
|
|
28643
|
+
};
|
|
28644
|
+
/** A stat column the consumer adds after the built-in ones. Its values come from each row's `extraStats[key]`. */
|
|
28645
|
+
export type StandingsExtraColumn = {
|
|
28646
|
+
key: string;
|
|
28647
|
+
/** The header text - an abbreviation is fine when `labelFull` spells it out. */
|
|
28648
|
+
label: string;
|
|
28649
|
+
/** The unabbreviated header, for screen readers (the header's `abbr`). */
|
|
28650
|
+
labelFull?: string;
|
|
28580
28651
|
};
|
|
28652
|
+
/**
|
|
28653
|
+
* Where a participant links to - what a `participantLink` callback answers with. A **string** is an `href`; an
|
|
28654
|
+
* **array** is router commands, rendered through `routerLink`.
|
|
28655
|
+
*/
|
|
28656
|
+
export type StandingsParticipantLink = string | readonly unknown[];
|
|
28581
28657
|
/**
|
|
28582
28658
|
* A band of positions that means something: promotion, playoffs, relegation, advancing out of a group.
|
|
28583
28659
|
*
|
|
@@ -28628,6 +28704,8 @@ export type StandingsLabels = {
|
|
|
28628
28704
|
formResult: (result: StandingsFormResult) => string;
|
|
28629
28705
|
/** The letter drawn inside one entry of the form column, e.g. `'W'`. */
|
|
28630
28706
|
formResultShort: (result: StandingsFormResult) => string;
|
|
28707
|
+
/** The accessible name of a form result that has a label. Gets the `formResult` text and the label. */
|
|
28708
|
+
formEntry: (result: string, label: string) => string;
|
|
28631
28709
|
/** Names the zone legend for assistive tech. */
|
|
28632
28710
|
legend: string;
|
|
28633
28711
|
/** Announced on the highlighted row, so it is findable without seeing the highlight. */
|
|
@@ -28703,6 +28781,12 @@ export type StandingsRenderRow = {
|
|
|
28703
28781
|
isExpanded: boolean;
|
|
28704
28782
|
/** The id for the element holding the row's detail, for the toggle's `aria-controls`. */
|
|
28705
28783
|
detailId: string;
|
|
28784
|
+
/** The row's form with every result as an entry, or `null` when it reports none. */
|
|
28785
|
+
formEntries: StandingsFormEntry[] | null;
|
|
28786
|
+
/** The participant's `href` when `participantLink` answered with a string, else `null`. */
|
|
28787
|
+
participantHref: string | null;
|
|
28788
|
+
/** The participant's router commands when `participantLink` answered with an array, else `null`. */
|
|
28789
|
+
participantCommands: readonly unknown[] | null;
|
|
28706
28790
|
};
|
|
28707
28791
|
/**
|
|
28708
28792
|
* Headless standings: takes rows and zone bands and works out what each row means - which band it sits in,
|
|
@@ -28731,6 +28815,10 @@ export declare class StandingsDirective {
|
|
|
28731
28815
|
expandedRows: import("@angular/core").ModelSignal<readonly string[]>;
|
|
28732
28816
|
/** `'single'` closes the open row when another one opens; `'multiple'` lets rows open independently. @default 'multiple' */
|
|
28733
28817
|
expandMode: import("@angular/core").InputSignal<StandingsExpandMode>;
|
|
28818
|
+
/** Stat columns added after the built-in ones, filled from each row's `extraStats`. @default [] */
|
|
28819
|
+
extraColumns: import("@angular/core").InputSignal<readonly StandingsExtraColumn[]>;
|
|
28820
|
+
/** Makes each participant a link: answer with an `href` string, router commands, or `null` for no link. @default null */
|
|
28821
|
+
participantLink: import("@angular/core").InputSignal<((row: NormalizedStandingRow) => StandingsParticipantLink | null) | null>;
|
|
28734
28822
|
/** The `ng-template[etStandingsRowDetail]` registered here, or `null` when the rows do not expand. */
|
|
28735
28823
|
registeredRowDetailTemplate: import("@angular/core").WritableSignal<StandingsRowDetailDirective | null>;
|
|
28736
28824
|
/** Whether the rows have a detail to expand into. */
|
|
@@ -28789,6 +28877,16 @@ export declare class StandingsDirective {
|
|
|
28789
28877
|
"required": false;
|
|
28790
28878
|
"isSignal": true;
|
|
28791
28879
|
};
|
|
28880
|
+
"extraColumns": {
|
|
28881
|
+
"alias": "extraColumns";
|
|
28882
|
+
"required": false;
|
|
28883
|
+
"isSignal": true;
|
|
28884
|
+
};
|
|
28885
|
+
"participantLink": {
|
|
28886
|
+
"alias": "participantLink";
|
|
28887
|
+
"required": false;
|
|
28888
|
+
"isSignal": true;
|
|
28889
|
+
};
|
|
28792
28890
|
}, {
|
|
28793
28891
|
"expandedRows": "expandedRowsChange";
|
|
28794
28892
|
}, never, never, true, never>;
|
|
@@ -29103,6 +29201,8 @@ export declare class StandingsComponent {
|
|
|
29103
29201
|
"labels": "labels";
|
|
29104
29202
|
"expandedRows": "expandedRows";
|
|
29105
29203
|
"expandMode": "expandMode";
|
|
29204
|
+
"extraColumns": "extraColumns";
|
|
29205
|
+
"participantLink": "participantLink";
|
|
29106
29206
|
};
|
|
29107
29207
|
outputs: {
|
|
29108
29208
|
"expandedRowsChange": "expandedRowsChange";
|
|
@@ -36972,5 +37072,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
|
|
|
36972
37072
|
export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
|
|
36973
37073
|
export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
|
|
36974
37074
|
/** The version of `@ethlete/components` this build was cut from. */
|
|
36975
|
-
export declare const COMPONENTS_VERSION = "1.0.0-next.
|
|
36976
|
-
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 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 };
|
|
37075
|
+
export declare const COMPONENTS_VERSION = "1.0.0-next.90";
|
|
37076
|
+
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 };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
et-switch:not([aria-checked='true']):not([data-indeterminate]) .et-switch-track {
|
|
3
|
-
box-shadow: none;
|
|
4
|
-
background-color: color-mix(in srgb, var(--et-surface-interaction-solid, currentColor) 38%, transparent);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@media (hover: hover) {
|
|
8
|
-
et-switch:hover:not([aria-disabled='true']):not([data-readonly]):not([aria-checked='true']):not(
|
|
9
|
-
[data-indeterminate]
|
|
10
|
-
),
|
|
11
|
-
:where(et-choice-field:has(.et-choice-field-label-area:hover))
|
|
12
|
-
et-switch:not([aria-disabled='true']):not([data-readonly]):not([aria-checked='true']):not([data-indeterminate]) {
|
|
13
|
-
.et-switch-track {
|
|
14
|
-
box-shadow: none;
|
|
15
|
-
background-color: color-mix(in srgb, var(--et-surface-interaction-solid, currentColor) 38%, transparent);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
et-switch:focus-visible .et-switch-track {
|
|
21
|
-
outline-color: light-dark(var(--et-theme-color-ink-solid), var(--et-theme-color-primary-solid));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
et-switch[aria-checked='true'] .et-switch-track {
|
|
25
|
-
box-shadow: inset 0 0 0 1px light-dark(var(--et-theme-color-ink-solid), transparent);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
et-switch[data-indeterminate] {
|
|
29
|
-
.et-switch-track::before {
|
|
30
|
-
border-color: var(--et-theme-color-ink-solid);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.et-switch-thumb {
|
|
34
|
-
background-color: var(--et-theme-color-ink-solid);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|