@ethlete/components 1.0.0-next.89 → 1.0.0-next.91
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 +61 -0
- package/design/notification.ts +1 -1
- 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 -6
- 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/input/input.css +5 -5
- package/design/sdk/components/input/input.ts +1 -1
- package/design/sdk/components/loader/loader.ts +0 -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/otp-input/otp-input.css +1 -1
- package/design/sdk/components/otp-input/otp-input.ts +1 -1
- 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 -7
- package/design/sdk/components/scrollable/scrollable.ts +30 -9
- package/design/sdk/components/scrollbar/scrollbar.css +1 -1
- package/design/sdk/components/scrollbar/scrollbar.ts +16 -3
- 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 +13 -4
- package/design/sdk/components/switch/switch.ts +13 -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.css +5 -5
- package/design/sdk/components/textarea/textarea.ts +27 -3
- package/design/sdk/components/toolbar/toolbar.ts +1 -0
- package/design/sdk/components/tree/tree.ts +8 -1
- package/design/sdk/foundations/colors/colors.css +2 -2
- package/design/sdk/foundations/elevation/elevation.ts +1 -0
- package/design/sdk/ready.json +309 -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 +843 -177
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/generators/icons/generator.js +35 -1
- package/package.json +1 -1
- package/src/lib/accordion/accordion.component.css +26 -5
- package/src/lib/bracket/bracket.component.css +4 -1
- package/src/lib/forms/checkbox/checkbox.component.css +8 -3
- package/src/lib/forms/choice-field/choice-field-card-styles.component.css +7 -0
- 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/form-field/form-field-text-shell-styles.component.css +11 -8
- package/src/lib/forms/otp-input/otp-input.component.css +11 -2
- package/src/lib/forms/select/select-option-styles.component.css +1 -0
- package/src/lib/forms/selection-card-styles.component.css +15 -3
- package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +7 -2
- package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +9 -2
- package/src/lib/forms/selection-list/radio-group/radio.component.css +9 -2
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +47 -3
- package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +8 -2
- package/src/lib/match/match-card.component.css +8 -2
- package/src/lib/match/match-participant.component.css +21 -1
- package/src/lib/progress-steps/progress-step.component.css +51 -7
- package/src/lib/standings/standings.component.css +40 -7
- 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 +195 -16
- package/design/sdk/components/switch/switch.css +0 -37
|
@@ -10,6 +10,18 @@ import { FieldTree, FormCheckboxControl, FormValueControl, LogicFn, PathKind, Sc
|
|
|
10
10
|
import { Observable } from "rxjs";
|
|
11
11
|
import * as i1 from "@angular/router";
|
|
12
12
|
import { RouterLink } from "@angular/router";
|
|
13
|
+
export type AccordionConfig = {
|
|
14
|
+
/** Default for `lastDivider` on every accordion group. An explicit `[lastDivider]` input still wins. */
|
|
15
|
+
lastDivider?: boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Sets app-wide accordion defaults.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* providers: [provideAccordionConfig({ lastDivider: true })]
|
|
22
|
+
*/
|
|
23
|
+
export declare const provideAccordionConfig: (valueOverride?: Partial<AccordionConfig> | undefined) => import("@angular/core").StaticProvider[];
|
|
24
|
+
export declare const injectAccordionConfig: import("@ethlete/core").InjectFn<AccordionConfig>;
|
|
13
25
|
export declare const ACCORDION_ERROR_CODES: {
|
|
14
26
|
/** An accordion part (`etAccordionTrigger`, `etAccordionPanel`, a slot template) was used outside an `[etAccordion]`. */
|
|
15
27
|
readonly PART_OUTSIDE_ACCORDION: 3600;
|
|
@@ -188,8 +200,10 @@ export declare class AccordionGroupDirective {
|
|
|
188
200
|
* </et-accordion-group>
|
|
189
201
|
*/
|
|
190
202
|
export declare class AccordionGroupComponent {
|
|
203
|
+
private config;
|
|
191
204
|
/** Keep the hairline under the last accordion, which the group drops by default. */
|
|
192
|
-
lastDivider: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
205
|
+
lastDivider: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
206
|
+
protected lastDividerResolved: import("@angular/core").Signal<boolean>;
|
|
193
207
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionGroupComponent, never>;
|
|
194
208
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionGroupComponent, "et-accordion-group", never, {
|
|
195
209
|
"lastDivider": {
|
|
@@ -4122,6 +4136,8 @@ export declare class ButtonComponent {
|
|
|
4122
4136
|
iconAlignment: import("@angular/core").InputSignal<ButtonIconAlignment>;
|
|
4123
4137
|
/** Lets the projected contents fill the space beside the icon, e.g. to push a trailing element to the far edge. */
|
|
4124
4138
|
stretchContents: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
4139
|
+
/** The variant the button shows while `pressed`. Defaults to the flavor's fixed swap (e.g. `outline` -> `filled`). */
|
|
4140
|
+
pressedVariant: import("@angular/core").InputSignal<ButtonVariant | undefined>;
|
|
4125
4141
|
canAnimate: {
|
|
4126
4142
|
state: import("@angular/core").Signal<boolean>;
|
|
4127
4143
|
};
|
|
@@ -4129,7 +4145,7 @@ export declare class ButtonComponent {
|
|
|
4129
4145
|
diameter: number;
|
|
4130
4146
|
strokeWidth: number;
|
|
4131
4147
|
}>;
|
|
4132
|
-
|
|
4148
|
+
protected activePressedVariant: import("@angular/core").Signal<ButtonVariant | null>;
|
|
4133
4149
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
4134
4150
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "[et-button]", never, {
|
|
4135
4151
|
"variant": {
|
|
@@ -4152,6 +4168,11 @@ export declare class ButtonComponent {
|
|
|
4152
4168
|
"required": false;
|
|
4153
4169
|
"isSignal": true;
|
|
4154
4170
|
};
|
|
4171
|
+
"pressedVariant": {
|
|
4172
|
+
"alias": "pressedVariant";
|
|
4173
|
+
"required": false;
|
|
4174
|
+
"isSignal": true;
|
|
4175
|
+
};
|
|
4155
4176
|
}, {}, never, ["*", "[etIcon]"], true, [{
|
|
4156
4177
|
directive: typeof ButtonDirective;
|
|
4157
4178
|
inputs: {
|
|
@@ -4250,6 +4271,8 @@ export declare class IconButtonComponent {
|
|
|
4250
4271
|
private hostElement;
|
|
4251
4272
|
variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
4252
4273
|
size: import("@angular/core").InputSignal<ButtonSize>;
|
|
4274
|
+
/** The variant the button shows while `pressed`. Defaults to the flavor's fixed swap (e.g. `outline` -> `filled`). */
|
|
4275
|
+
pressedVariant: import("@angular/core").InputSignal<ButtonVariant | undefined>;
|
|
4253
4276
|
private iconSlot;
|
|
4254
4277
|
canAnimate: {
|
|
4255
4278
|
state: import("@angular/core").Signal<boolean>;
|
|
@@ -4258,7 +4281,7 @@ export declare class IconButtonComponent {
|
|
|
4258
4281
|
diameter: number;
|
|
4259
4282
|
strokeWidth: number;
|
|
4260
4283
|
}>;
|
|
4261
|
-
|
|
4284
|
+
protected activePressedVariant: import("@angular/core").Signal<ButtonVariant | null>;
|
|
4262
4285
|
constructor();
|
|
4263
4286
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonComponent, never>;
|
|
4264
4287
|
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "[et-icon-button]", never, {
|
|
@@ -4272,6 +4295,11 @@ export declare class IconButtonComponent {
|
|
|
4272
4295
|
"required": false;
|
|
4273
4296
|
"isSignal": true;
|
|
4274
4297
|
};
|
|
4298
|
+
"pressedVariant": {
|
|
4299
|
+
"alias": "pressedVariant";
|
|
4300
|
+
"required": false;
|
|
4301
|
+
"isSignal": true;
|
|
4302
|
+
};
|
|
4275
4303
|
}, {}, never, ["[etIcon]", "*"], true, [{
|
|
4276
4304
|
directive: typeof ButtonDirective;
|
|
4277
4305
|
inputs: {
|
|
@@ -14393,6 +14421,11 @@ export type DropzoneLabels = {
|
|
|
14393
14421
|
fileTooLarge: (fileName: string, maxFileSize: number | undefined) => string;
|
|
14394
14422
|
/** A file rejected by `minFileSize`. */
|
|
14395
14423
|
fileTooSmall: (fileName: string, minFileSize: number | undefined) => string;
|
|
14424
|
+
/** An image rejected by `minImageWidth` or `minImageHeight`. */
|
|
14425
|
+
imageTooSmall: (fileName: string, minSize: {
|
|
14426
|
+
width: number | undefined;
|
|
14427
|
+
height: number | undefined;
|
|
14428
|
+
}) => string;
|
|
14396
14429
|
/** An extra file dropped onto a single-file dropzone. */
|
|
14397
14430
|
tooManyFiles: (fileName: string) => string;
|
|
14398
14431
|
/** Announced while uploads are in flight. */
|
|
@@ -14429,9 +14462,19 @@ export declare class DropzoneCropStepDirective {
|
|
|
14429
14462
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropzoneCropStepDirective, never>;
|
|
14430
14463
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DropzoneCropStepDirective, "et-dropzone[crop]", never, {}, {}, never, never, true, never>;
|
|
14431
14464
|
}
|
|
14465
|
+
export declare const DROPZONE_CROP_SHAPES: {
|
|
14466
|
+
readonly RECT: "rect";
|
|
14467
|
+
readonly ROUND: "round";
|
|
14468
|
+
};
|
|
14469
|
+
type DropzoneCropShape = (typeof DROPZONE_CROP_SHAPES)[keyof typeof DROPZONE_CROP_SHAPES];
|
|
14432
14470
|
type DropzoneCropConfig = {
|
|
14433
|
-
/** Width divided by height of the crop, e.g. `1` for a square or `16 / 9`. */
|
|
14434
|
-
aspectRatio
|
|
14471
|
+
/** Width divided by height of the crop, e.g. `1` for a square or `16 / 9`. Leave it out for a free crop. */
|
|
14472
|
+
aspectRatio?: number;
|
|
14473
|
+
/**
|
|
14474
|
+
* Shape of the crop frame. `'round'` shows a circle, or an ellipse without a square aspect ratio. The cropped
|
|
14475
|
+
* file is always the rectangle around it. @default 'rect'
|
|
14476
|
+
*/
|
|
14477
|
+
shape?: DropzoneCropShape;
|
|
14435
14478
|
/** Scales the cropped image down to at most this many pixels wide. */
|
|
14436
14479
|
maxWidth?: number;
|
|
14437
14480
|
/** Scales the cropped image down to at most this many pixels high. */
|
|
@@ -14453,9 +14496,9 @@ type DropzoneCropSize = {
|
|
|
14453
14496
|
};
|
|
14454
14497
|
type DropzoneCropCorner = 'nw' | 'ne' | 'sw' | 'se';
|
|
14455
14498
|
/**
|
|
14456
|
-
* Crop state for one image file:
|
|
14457
|
-
* `etDropzoneCropHandle` and by keyboard (arrows move, shift +
|
|
14458
|
-
* of the rendered image
|
|
14499
|
+
* Crop state for one image file: a rect in image pixels, aspect-locked when the config has an `aspectRatio` and free
|
|
14500
|
+
* otherwise, moved by `etDropzoneCropRect`, resized by `etDropzoneCropHandle` and by keyboard (arrows move, shift +
|
|
14501
|
+
* arrows resize). The host must have exactly the size of the rendered image and carries `data-shape`.
|
|
14459
14502
|
*/
|
|
14460
14503
|
export declare class DropzoneCropDirective {
|
|
14461
14504
|
private hostElement;
|
|
@@ -14477,6 +14520,7 @@ export declare class DropzoneCropDirective {
|
|
|
14477
14520
|
height: number;
|
|
14478
14521
|
} | null>;
|
|
14479
14522
|
ready: import("@angular/core").Signal<boolean>;
|
|
14523
|
+
shape: import("@angular/core").Signal<import("@ethlete/components").DropzoneCropShape>;
|
|
14480
14524
|
protected rectVars: import("@angular/core").Signal<{
|
|
14481
14525
|
'--_et-dropzone-crop-left': string;
|
|
14482
14526
|
'--_et-dropzone-crop-top': string;
|
|
@@ -14525,7 +14569,7 @@ export declare class DropzoneCropHandleDirective {
|
|
|
14525
14569
|
};
|
|
14526
14570
|
}, {}, never, never, true, never>;
|
|
14527
14571
|
}
|
|
14528
|
-
/** The default crop step of `et-dropzone`: the image with
|
|
14572
|
+
/** The default crop step of `et-dropzone`: the image with a crop frame, cancel and confirm. Takes focus once the image is ready. */
|
|
14529
14573
|
export declare class DropzoneCropComponent {
|
|
14530
14574
|
private destroyRef;
|
|
14531
14575
|
file: import("@angular/core").InputSignal<File>;
|
|
@@ -14537,7 +14581,10 @@ export declare class DropzoneCropComponent {
|
|
|
14537
14581
|
/** Emits the cropped file. */
|
|
14538
14582
|
cropConfirm: import("@angular/core").OutputEmitterRef<File>;
|
|
14539
14583
|
cropCancel: import("@angular/core").OutputEmitterRef<void>;
|
|
14584
|
+
crop: import("@angular/core").Signal<DropzoneCropDirective>;
|
|
14585
|
+
private cropRect;
|
|
14540
14586
|
protected exporting: import("@angular/core").WritableSignal<boolean>;
|
|
14587
|
+
constructor();
|
|
14541
14588
|
protected confirmCrop(crop: DropzoneCropDirective): void;
|
|
14542
14589
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropzoneCropComponent, never>;
|
|
14543
14590
|
static ɵcmp: i0.ɵɵComponentDeclaration<DropzoneCropComponent, "et-dropzone-crop", never, {
|
|
@@ -14861,6 +14908,7 @@ export declare const DROPZONE_FILE_REJECTION_REASONS: {
|
|
|
14861
14908
|
readonly MAX_FILE_SIZE: "maxFileSize";
|
|
14862
14909
|
readonly MIN_FILE_SIZE: "minFileSize";
|
|
14863
14910
|
readonly MAX_FILES: "maxFiles";
|
|
14911
|
+
readonly IMAGE_TOO_SMALL: "imageTooSmall";
|
|
14864
14912
|
};
|
|
14865
14913
|
export type DropzoneFileRejectionReason = (typeof DROPZONE_FILE_REJECTION_REASONS)[keyof typeof DROPZONE_FILE_REJECTION_REASONS];
|
|
14866
14914
|
export type DropzoneFileRejection = {
|
|
@@ -14879,6 +14927,10 @@ export type DropzoneFileConstraints = {
|
|
|
14879
14927
|
maxFileSize?: number;
|
|
14880
14928
|
/** Minimum size of a single file in bytes. */
|
|
14881
14929
|
minFileSize?: number;
|
|
14930
|
+
/** Minimum width of a picked raster image in pixels. Checked before the crop step and the upload. */
|
|
14931
|
+
minImageWidth?: number;
|
|
14932
|
+
/** Minimum height of a picked raster image in pixels. Checked before the crop step and the upload. */
|
|
14933
|
+
minImageHeight?: number;
|
|
14882
14934
|
/** Overrides the built-in per-rejection error message (e.g. for i18n). */
|
|
14883
14935
|
message?: (rejection: DropzoneFileRejection) => string;
|
|
14884
14936
|
};
|
|
@@ -14936,6 +14988,13 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
14936
14988
|
maxFileSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
14937
14989
|
/** Minimum size of a single file in bytes. A bound field's `dropzoneFiles()` rule overrides it. */
|
|
14938
14990
|
minFileSize: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
14991
|
+
/**
|
|
14992
|
+
* Minimum width of a picked raster image in pixels; smaller images are rejected as `imageTooSmall` before the crop
|
|
14993
|
+
* step and the upload. A bound field's `dropzoneFiles()` rule overrides it.
|
|
14994
|
+
*/
|
|
14995
|
+
minImageWidth: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
14996
|
+
/** Minimum height of a picked raster image in pixels, like {@link minImageWidth}. */
|
|
14997
|
+
minImageHeight: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
14939
14998
|
/** Whether multiple files can be uploaded. The control value becomes an array. */
|
|
14940
14999
|
multiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14941
15000
|
/** Sends picked images through a crop step before they upload. Other files upload right away. */
|
|
@@ -14966,6 +15025,7 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
14966
15025
|
private entryWatchers;
|
|
14967
15026
|
private lastSyncedValue;
|
|
14968
15027
|
private hasSyncedValue;
|
|
15028
|
+
private imageMeasurement;
|
|
14969
15029
|
/** Whether files can still be added, replaced or removed. */
|
|
14970
15030
|
interactive: Signal<boolean>;
|
|
14971
15031
|
/** All entries currently managed by the dropzone, including uploading and failed ones. */
|
|
@@ -14990,7 +15050,10 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
14990
15050
|
describedBy: import("@angular/core").WritableSignal<string | null>;
|
|
14991
15051
|
controlType: import("@angular/core").WritableSignal<"dropzone">;
|
|
14992
15052
|
constructor();
|
|
14993
|
-
/**
|
|
15053
|
+
/**
|
|
15054
|
+
* Validates the given files and uploads all accepted ones. With a minimum image size, the images are decoded first,
|
|
15055
|
+
* so the rejections and uploads of that selection follow asynchronously.
|
|
15056
|
+
*/
|
|
14994
15057
|
selectFiles(files: FileList | readonly File[]): void;
|
|
14995
15058
|
/** Replaces a pending crop with the cropped file, which then uploads like a picked one. */
|
|
14996
15059
|
confirmCrop(id: string, file: File): void;
|
|
@@ -15013,6 +15076,7 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
15013
15076
|
protected handleDragOver(event: DragEvent): void;
|
|
15014
15077
|
protected handleDragLeave(): void;
|
|
15015
15078
|
protected handleDrop(event: DragEvent): void;
|
|
15079
|
+
private finishSelection;
|
|
15016
15080
|
private addFiles;
|
|
15017
15081
|
private setRejections;
|
|
15018
15082
|
private createFileEntry;
|
|
@@ -15088,6 +15152,16 @@ export declare class DropzoneDirective<TValue = unknown> extends FieldStateContr
|
|
|
15088
15152
|
"required": false;
|
|
15089
15153
|
"isSignal": true;
|
|
15090
15154
|
};
|
|
15155
|
+
"minImageWidth": {
|
|
15156
|
+
"alias": "minImageWidth";
|
|
15157
|
+
"required": false;
|
|
15158
|
+
"isSignal": true;
|
|
15159
|
+
};
|
|
15160
|
+
"minImageHeight": {
|
|
15161
|
+
"alias": "minImageHeight";
|
|
15162
|
+
"required": false;
|
|
15163
|
+
"isSignal": true;
|
|
15164
|
+
};
|
|
15091
15165
|
"multiple": {
|
|
15092
15166
|
"alias": "multiple";
|
|
15093
15167
|
"required": false;
|
|
@@ -15198,7 +15272,8 @@ export declare class DropzoneComponent<TValue = unknown> {
|
|
|
15198
15272
|
iso: string;
|
|
15199
15273
|
label: string;
|
|
15200
15274
|
} | null>;
|
|
15201
|
-
|
|
15275
|
+
pendingCrop: import("@angular/core").Signal<import("@ethlete/components").DropzonePendingCrop | null>;
|
|
15276
|
+
protected cropOpen: import("@angular/core").Signal<boolean>;
|
|
15202
15277
|
protected readonlyList: import("@angular/core").Signal<boolean>;
|
|
15203
15278
|
protected liveStatusMessage: import("@angular/core").Signal<string>;
|
|
15204
15279
|
protected internalErrorMessages: import("@angular/core").Signal<string[]>;
|
|
@@ -15214,6 +15289,7 @@ export declare class DropzoneComponent<TValue = unknown> {
|
|
|
15214
15289
|
protected uploadPickedFiles(event: Event): void;
|
|
15215
15290
|
protected removeEntryAnimated(entry: DropzoneEntry, entryElement: HTMLElement): void;
|
|
15216
15291
|
focus(options?: FocusOptions): void;
|
|
15292
|
+
private restoreFocusAfterCrop;
|
|
15217
15293
|
private defaultUploadErrorMessage;
|
|
15218
15294
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropzoneComponent<any>, never>;
|
|
15219
15295
|
static ɵcmp: i0.ɵɵComponentDeclaration<DropzoneComponent<any>, "et-dropzone", never, {
|
|
@@ -15262,6 +15338,8 @@ export declare class DropzoneComponent<TValue = unknown> {
|
|
|
15262
15338
|
"accept": "accept";
|
|
15263
15339
|
"maxFileSize": "maxFileSize";
|
|
15264
15340
|
"minFileSize": "minFileSize";
|
|
15341
|
+
"minImageWidth": "minImageWidth";
|
|
15342
|
+
"minImageHeight": "minImageHeight";
|
|
15265
15343
|
"crop": "crop";
|
|
15266
15344
|
"aria-label": "aria-label";
|
|
15267
15345
|
"aria-labelledby": "aria-labelledby";
|
|
@@ -20025,6 +20103,7 @@ export declare class SelectDirective<TValue = unknown> extends FieldStateControl
|
|
|
20025
20103
|
private dataItemRegistry;
|
|
20026
20104
|
private dataItemRegistryIdentity;
|
|
20027
20105
|
sortedItems: Signal<SelectItem[]>;
|
|
20106
|
+
private selectsNullOption;
|
|
20028
20107
|
/** The current search query (empty string when no search is registered). */
|
|
20029
20108
|
query: Signal<string>;
|
|
20030
20109
|
/**
|
|
@@ -21638,6 +21717,12 @@ export declare const SEGMENTED_BUTTON_GROUP_VARIANTS: {
|
|
|
21638
21717
|
readonly PILL: "pill";
|
|
21639
21718
|
readonly TABS: "tabs";
|
|
21640
21719
|
};
|
|
21720
|
+
/** How a segmented button group handles segments that do not fit. See {@link SegmentedButtonGroupComponent.overflow}. */
|
|
21721
|
+
export declare const SEGMENTED_BUTTON_GROUP_OVERFLOWS: {
|
|
21722
|
+
readonly TRUNCATE: "truncate";
|
|
21723
|
+
readonly SCROLL: "scroll";
|
|
21724
|
+
};
|
|
21725
|
+
export type SegmentedButtonGroupOverflow = (typeof SEGMENTED_BUTTON_GROUP_OVERFLOWS)[keyof typeof SEGMENTED_BUTTON_GROUP_OVERFLOWS];
|
|
21641
21726
|
export type SegmentedButtonGroupVariant = (typeof SEGMENTED_BUTTON_GROUP_VARIANTS)[keyof typeof SEGMENTED_BUTTON_GROUP_VARIANTS];
|
|
21642
21727
|
export declare class SegmentedButtonGroupComponent {
|
|
21643
21728
|
protected list: SelectionListDirective;
|
|
@@ -21689,6 +21774,14 @@ export declare class SegmentedButtonGroupComponent {
|
|
|
21689
21774
|
variant: import("@angular/core").InputSignal<SegmentedButtonGroupVariant>;
|
|
21690
21775
|
/** Gives every segment the same width and makes the group fill its container. */
|
|
21691
21776
|
stretch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21777
|
+
/**
|
|
21778
|
+
* What happens when the segments are wider than the container. `'scroll'` shrinks the segments down to their full
|
|
21779
|
+
* label plus padding, never an ellipsis, then scrolls the track horizontally and centers the selected segment;
|
|
21780
|
+
* `'truncate'` shrinks every segment and cuts its label with an ellipsis. @default 'scroll'
|
|
21781
|
+
*/
|
|
21782
|
+
overflow: import("@angular/core").InputSignal<SegmentedButtonGroupOverflow>;
|
|
21783
|
+
private scrollable;
|
|
21784
|
+
protected isScrollOverflow: import("@angular/core").Signal<boolean>;
|
|
21692
21785
|
protected isTabsVariant: import("@angular/core").Signal<boolean>;
|
|
21693
21786
|
canAnimate: {
|
|
21694
21787
|
state: import("@angular/core").Signal<boolean>;
|
|
@@ -21712,6 +21805,11 @@ export declare class SegmentedButtonGroupComponent {
|
|
|
21712
21805
|
"required": false;
|
|
21713
21806
|
"isSignal": true;
|
|
21714
21807
|
};
|
|
21808
|
+
"overflow": {
|
|
21809
|
+
"alias": "overflow";
|
|
21810
|
+
"required": false;
|
|
21811
|
+
"isSignal": true;
|
|
21812
|
+
};
|
|
21715
21813
|
}, {}, never, ["et-label", ".et-segmented-button-group-label", "*", "et-hint"], true, [{
|
|
21716
21814
|
directive: typeof FormFieldDirective;
|
|
21717
21815
|
inputs: {};
|
|
@@ -22500,6 +22598,7 @@ export declare class SwitchDirective extends FieldStateControlDirective implemen
|
|
|
22500
22598
|
private formField;
|
|
22501
22599
|
private destroyRef;
|
|
22502
22600
|
private el;
|
|
22601
|
+
private renderer;
|
|
22503
22602
|
checked: import("@angular/core").ModelSignal<boolean>;
|
|
22504
22603
|
/**
|
|
22505
22604
|
* Bulk-edit state for a switch whose source records disagree (some on, some off), mirroring
|
|
@@ -22516,6 +22615,7 @@ export declare class SwitchDirective extends FieldStateControlDirective implemen
|
|
|
22516
22615
|
required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
22517
22616
|
name: import("@angular/core").InputSignal<string>;
|
|
22518
22617
|
touch: import("@angular/core").OutputRef<void>;
|
|
22618
|
+
private nativeLabelId;
|
|
22519
22619
|
shouldDisplayError: import("@angular/core").Signal<boolean>;
|
|
22520
22620
|
describedBy: import("@angular/core").WritableSignal<string | null>;
|
|
22521
22621
|
controlType: import("@angular/core").WritableSignal<"switch">;
|
|
@@ -22523,6 +22623,9 @@ export declare class SwitchDirective extends FieldStateControlDirective implemen
|
|
|
22523
22623
|
toggle(): void;
|
|
22524
22624
|
activate(): void;
|
|
22525
22625
|
focus(options?: FocusOptions): void;
|
|
22626
|
+
/** A host binding would remove a consumer's `[attr.aria-*]` binding whenever ours is null. */
|
|
22627
|
+
private syncOwnedAttribute;
|
|
22628
|
+
private connectNativeLabel;
|
|
22526
22629
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchDirective, never>;
|
|
22527
22630
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SwitchDirective, "[etSwitch]", never, {
|
|
22528
22631
|
"checked": {
|
|
@@ -28553,6 +28656,11 @@ export declare class SkeletonComponent {
|
|
|
28553
28656
|
export declare const SKELETON_IMPORTS: readonly [typeof SkeletonComponent, typeof SkeletonItemComponent, typeof SkeletonTextComponent];
|
|
28554
28657
|
/** One result in a participant's recent form. */
|
|
28555
28658
|
export type StandingsFormResult = 'win' | 'loss' | 'tie';
|
|
28659
|
+
/** A recent-form result with a label, shown as its tooltip and read as part of its name - the opponent and score, say. */
|
|
28660
|
+
export type StandingsFormEntry = {
|
|
28661
|
+
result: StandingsFormResult;
|
|
28662
|
+
label?: string | null;
|
|
28663
|
+
};
|
|
28556
28664
|
/**
|
|
28557
28665
|
* One row of a table, in the shape `et-standings` draws. Same philosophy as the match domain: **every
|
|
28558
28666
|
* backend maps into it** with a plain adapter, and the components never learn one API's field names.
|
|
@@ -28576,8 +28684,23 @@ export type NormalizedStandingRow = {
|
|
|
28576
28684
|
/** Goal or game difference, when the competition tracks one. */
|
|
28577
28685
|
difference: number | null;
|
|
28578
28686
|
/** Recent results, **oldest first**. `null` when the competition doesn't report form. */
|
|
28579
|
-
form: StandingsFormResult[] | null;
|
|
28687
|
+
form: (StandingsFormResult | StandingsFormEntry)[] | null;
|
|
28688
|
+
/** Values for the consumer's `extraColumns`, keyed by each column's `key`. A missing key renders an empty cell. */
|
|
28689
|
+
extraStats?: Readonly<Record<string, string | number | null>>;
|
|
28690
|
+
};
|
|
28691
|
+
/** A stat column the consumer adds after the built-in ones. Its values come from each row's `extraStats[key]`. */
|
|
28692
|
+
export type StandingsExtraColumn = {
|
|
28693
|
+
key: string;
|
|
28694
|
+
/** The header text - an abbreviation is fine when `labelFull` spells it out. */
|
|
28695
|
+
label: string;
|
|
28696
|
+
/** The unabbreviated header, for screen readers (the header's `abbr`). */
|
|
28697
|
+
labelFull?: string;
|
|
28580
28698
|
};
|
|
28699
|
+
/**
|
|
28700
|
+
* Where a participant links to - what a `participantLink` callback answers with. A **string** is an `href`; an
|
|
28701
|
+
* **array** is router commands, rendered through `routerLink`.
|
|
28702
|
+
*/
|
|
28703
|
+
export type StandingsParticipantLink = string | readonly unknown[];
|
|
28581
28704
|
/**
|
|
28582
28705
|
* A band of positions that means something: promotion, playoffs, relegation, advancing out of a group.
|
|
28583
28706
|
*
|
|
@@ -28594,6 +28717,8 @@ export type StandingsZone = {
|
|
|
28594
28717
|
color: RegisteredColorThemeName | ColorTheme;
|
|
28595
28718
|
/** What the band means, for the legend. */
|
|
28596
28719
|
label: string;
|
|
28720
|
+
/** How strongly the band is drawn, 0 to 1, exposed as `--et-standings-zone-strength`. Unset draws it at full strength. */
|
|
28721
|
+
strength?: number;
|
|
28597
28722
|
};
|
|
28598
28723
|
/** How the rows of a table with a row detail expand: one at a time, or independently. */
|
|
28599
28724
|
export type StandingsExpandMode = 'single' | 'multiple';
|
|
@@ -28628,6 +28753,8 @@ export type StandingsLabels = {
|
|
|
28628
28753
|
formResult: (result: StandingsFormResult) => string;
|
|
28629
28754
|
/** The letter drawn inside one entry of the form column, e.g. `'W'`. */
|
|
28630
28755
|
formResultShort: (result: StandingsFormResult) => string;
|
|
28756
|
+
/** The accessible name of a form result that has a label. Gets the `formResult` text and the label. */
|
|
28757
|
+
formEntry: (result: string, label: string) => string;
|
|
28631
28758
|
/** Names the zone legend for assistive tech. */
|
|
28632
28759
|
legend: string;
|
|
28633
28760
|
/** Announced on the highlighted row, so it is findable without seeing the highlight. */
|
|
@@ -28665,6 +28792,28 @@ export declare const standingsLabelsForLocale: (locale: string) => StandingsLabe
|
|
|
28665
28792
|
export declare const provideStandingsLabels: (labels: import("@ethlete/core").LabelsSource<StandingsLabels>) => import("@angular/core").Provider;
|
|
28666
28793
|
export declare const injectStandingsLabels: () => import("@angular/core").Signal<StandingsLabels>;
|
|
28667
28794
|
export declare const STANDINGS_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<StandingsLabels>>;
|
|
28795
|
+
export type StandingsFormTooltipContext = {
|
|
28796
|
+
$implicit: StandingsFormEntry;
|
|
28797
|
+
row: NormalizedStandingRow;
|
|
28798
|
+
};
|
|
28799
|
+
/**
|
|
28800
|
+
* Replaces the text tooltip of a labelled form result with your own template, for a card instead of a
|
|
28801
|
+
* string. The template receives the form entry as `$implicit` and the row as `row`.
|
|
28802
|
+
*
|
|
28803
|
+
* @example
|
|
28804
|
+
* <et-standings [rows]="rows()">
|
|
28805
|
+
* <ng-template let-entry let-row="row" etStandingsFormTooltip>{{ entry.label }} ({{ row.participant?.name }})</ng-template>
|
|
28806
|
+
* </et-standings>
|
|
28807
|
+
*/
|
|
28808
|
+
export declare class StandingsFormTooltipDirective {
|
|
28809
|
+
private standings;
|
|
28810
|
+
private destroyRef;
|
|
28811
|
+
templateRef: TemplateRef<StandingsFormTooltipContext>;
|
|
28812
|
+
static ngTemplateContextGuard(_directive: StandingsFormTooltipDirective, _context: unknown): _context is StandingsFormTooltipContext;
|
|
28813
|
+
constructor();
|
|
28814
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StandingsFormTooltipDirective, never>;
|
|
28815
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StandingsFormTooltipDirective, "ng-template[etStandingsFormTooltip]", ["etStandingsFormTooltip"], {}, {}, never, never, true, never>;
|
|
28816
|
+
}
|
|
28668
28817
|
export type StandingsRowDetailContext = {
|
|
28669
28818
|
$implicit: NormalizedStandingRow;
|
|
28670
28819
|
renderRow: StandingsRenderRow;
|
|
@@ -28703,6 +28852,12 @@ export type StandingsRenderRow = {
|
|
|
28703
28852
|
isExpanded: boolean;
|
|
28704
28853
|
/** The id for the element holding the row's detail, for the toggle's `aria-controls`. */
|
|
28705
28854
|
detailId: string;
|
|
28855
|
+
/** The row's form with every result as an entry, or `null` when it reports none. */
|
|
28856
|
+
formEntries: StandingsFormEntry[] | null;
|
|
28857
|
+
/** The participant's `href` when `participantLink` answered with a string, else `null`. */
|
|
28858
|
+
participantHref: string | null;
|
|
28859
|
+
/** The participant's router commands when `participantLink` answered with an array, else `null`. */
|
|
28860
|
+
participantCommands: readonly unknown[] | null;
|
|
28706
28861
|
};
|
|
28707
28862
|
/**
|
|
28708
28863
|
* Headless standings: takes rows and zone bands and works out what each row means - which band it sits in,
|
|
@@ -28731,8 +28886,14 @@ export declare class StandingsDirective {
|
|
|
28731
28886
|
expandedRows: import("@angular/core").ModelSignal<readonly string[]>;
|
|
28732
28887
|
/** `'single'` closes the open row when another one opens; `'multiple'` lets rows open independently. @default 'multiple' */
|
|
28733
28888
|
expandMode: import("@angular/core").InputSignal<StandingsExpandMode>;
|
|
28889
|
+
/** Stat columns added after the built-in ones, filled from each row's `extraStats`. @default [] */
|
|
28890
|
+
extraColumns: import("@angular/core").InputSignal<readonly StandingsExtraColumn[]>;
|
|
28891
|
+
/** Makes each participant a link: answer with an `href` string, router commands, or `null` for no link. @default null */
|
|
28892
|
+
participantLink: import("@angular/core").InputSignal<((row: NormalizedStandingRow) => StandingsParticipantLink | null) | null>;
|
|
28734
28893
|
/** The `ng-template[etStandingsRowDetail]` registered here, or `null` when the rows do not expand. */
|
|
28735
28894
|
registeredRowDetailTemplate: import("@angular/core").WritableSignal<StandingsRowDetailDirective | null>;
|
|
28895
|
+
/** The `ng-template[etStandingsFormTooltip]` registered here, or `null` for the plain text tooltip. */
|
|
28896
|
+
registeredFormTooltipTemplate: import("@angular/core").WritableSignal<StandingsFormTooltipDirective | null>;
|
|
28736
28897
|
/** Whether the rows have a detail to expand into. */
|
|
28737
28898
|
isExpandable: import("@angular/core").Signal<boolean>;
|
|
28738
28899
|
private readonly DETAIL_ID_PREFIX;
|
|
@@ -28747,6 +28908,8 @@ export declare class StandingsDirective {
|
|
|
28747
28908
|
/** Whether any row reports a difference. */
|
|
28748
28909
|
hasDifference: import("@angular/core").Signal<boolean>;
|
|
28749
28910
|
constructor();
|
|
28911
|
+
/** A zone's `strength` clamped to 0-1, or `null` when it is unset or not a finite number. */
|
|
28912
|
+
zoneStrength(zone: StandingsZone | null | undefined): number | null;
|
|
28750
28913
|
/** Whether the row with this `id` has its detail open. Always `false` without a row detail template. */
|
|
28751
28914
|
isRowExpanded(rowId: string): boolean;
|
|
28752
28915
|
/** Open the row's detail, or close it when it is open. In `'single'` mode opening a row closes the others. */
|
|
@@ -28789,6 +28952,16 @@ export declare class StandingsDirective {
|
|
|
28789
28952
|
"required": false;
|
|
28790
28953
|
"isSignal": true;
|
|
28791
28954
|
};
|
|
28955
|
+
"extraColumns": {
|
|
28956
|
+
"alias": "extraColumns";
|
|
28957
|
+
"required": false;
|
|
28958
|
+
"isSignal": true;
|
|
28959
|
+
};
|
|
28960
|
+
"participantLink": {
|
|
28961
|
+
"alias": "participantLink";
|
|
28962
|
+
"required": false;
|
|
28963
|
+
"isSignal": true;
|
|
28964
|
+
};
|
|
28792
28965
|
}, {
|
|
28793
28966
|
"expandedRows": "expandedRowsChange";
|
|
28794
28967
|
}, never, never, true, never>;
|
|
@@ -29103,6 +29276,8 @@ export declare class StandingsComponent {
|
|
|
29103
29276
|
"labels": "labels";
|
|
29104
29277
|
"expandedRows": "expandedRows";
|
|
29105
29278
|
"expandMode": "expandMode";
|
|
29279
|
+
"extraColumns": "extraColumns";
|
|
29280
|
+
"participantLink": "participantLink";
|
|
29106
29281
|
};
|
|
29107
29282
|
outputs: {
|
|
29108
29283
|
"expandedRowsChange": "expandedRowsChange";
|
|
@@ -29113,7 +29288,7 @@ export declare class StandingsComponent {
|
|
|
29113
29288
|
* The standings table (`<et-standings>`) and the headless directive to build a table of your own. Pulls in
|
|
29114
29289
|
* the match domain's participant primitive for the name column.
|
|
29115
29290
|
*/
|
|
29116
|
-
export declare const STANDINGS_IMPORTS: readonly [typeof StandingsComponent, typeof StandingsDirective, typeof StandingsRowDetailDirective];
|
|
29291
|
+
export declare const STANDINGS_IMPORTS: readonly [typeof StandingsComponent, typeof StandingsDirective, typeof StandingsFormTooltipDirective, typeof StandingsRowDetailDirective];
|
|
29117
29292
|
/**
|
|
29118
29293
|
* The predicted-order list (`<et-standings-pick>`), its headless directive, and the per-row mark template
|
|
29119
29294
|
* a scored list fills.
|
|
@@ -34424,7 +34599,7 @@ export declare class TableComponent<T> implements TableFeatureHost {
|
|
|
34424
34599
|
* Per-cell async state, for a cell that loads or fails on its own (inline editing). Return
|
|
34425
34600
|
* `'loading'` to replace that cell's content with a placeholder bar, `'error'` to mark it, or
|
|
34426
34601
|
* `null`/nothing for a normal cell. Return `{ state: 'error', message }` and the message rides
|
|
34427
|
-
* along on the mark - as its
|
|
34602
|
+
* along on the mark - as its accessible name, or as a tooltip with
|
|
34428
34603
|
* `etTableCellErrorTooltip`. Resolved once per rendered cell (see `bodyRows`), but keep it cheap
|
|
34429
34604
|
* anyway - a map lookup, not a search.
|
|
34430
34605
|
*/
|
|
@@ -35425,6 +35600,7 @@ export declare class NavTabLinkDirective {
|
|
|
35425
35600
|
private tabBar;
|
|
35426
35601
|
private destroyRef;
|
|
35427
35602
|
private hostElement;
|
|
35603
|
+
private elementRef;
|
|
35428
35604
|
trigger: TabBarTriggerDirective;
|
|
35429
35605
|
private routerLinkIsActive;
|
|
35430
35606
|
isActive: import("@angular/core").Signal<boolean>;
|
|
@@ -35448,6 +35624,7 @@ export declare class NavTabsDirective {
|
|
|
35448
35624
|
private registry;
|
|
35449
35625
|
private tabBar;
|
|
35450
35626
|
private destroyRef;
|
|
35627
|
+
private scrollableSource;
|
|
35451
35628
|
constructor();
|
|
35452
35629
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavTabsDirective, never>;
|
|
35453
35630
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NavTabsDirective, "[etNavTabs]", never, {}, {}, never, never, true, never>;
|
|
@@ -35515,7 +35692,9 @@ export declare const TAB_SIZES: {
|
|
|
35515
35692
|
export type TabSize = (typeof TAB_SIZES)[keyof typeof TAB_SIZES];
|
|
35516
35693
|
export declare class NavTabsComponent {
|
|
35517
35694
|
protected tabBar: TabBarDirective;
|
|
35695
|
+
private navTabs;
|
|
35518
35696
|
size: import("@angular/core").InputSignal<TabSize>;
|
|
35697
|
+
private scrollable;
|
|
35519
35698
|
constructor();
|
|
35520
35699
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavTabsComponent, never>;
|
|
35521
35700
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavTabsComponent, "et-nav-tabs", never, {
|
|
@@ -36972,5 +37151,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
|
|
|
36972
37151
|
export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
|
|
36973
37152
|
export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
|
|
36974
37153
|
/** 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 };
|
|
37154
|
+
export declare const COMPONENTS_VERSION = "1.0.0-next.91";
|
|
37155
|
+
export { type AlertDialogComponentSlot, type AlertDialogSlot, type AlertDialogTemplateSlot, type AppointmentTreeNode, BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SWISS_GROUP_COLOR_TYPE, type Bracket, type BracketByeSlotSource, type BracketComponents, type BracketContinueComponent, type BracketDataLayout, type BracketDataSource, type BracketDrawing, type BracketEdge, type BracketExternalSlotSource, type BracketFinalAlignment, type BracketGradient, type BracketGradientStop, type BracketGridSection, type BracketLayoutSettings, BracketMap, type BracketMatch, type BracketMatchComponent, type BracketMatchFactor, type BracketMatchId, type BracketMatchInputs, type BracketMatchOutcomeSlotSource, type BracketMatchParticipant, type BracketMatchPosition, type BracketMatchRelation, type BracketMatchRelationNone, type BracketMatchRelationNothingToOne, type BracketMatchRelationOneToNothing, type BracketMatchRelationOneToOne, type BracketMatchRelationTwoToNothing, type BracketMatchRelationTwoToOne, type BracketMatchShortId, type BracketMatchSlot, type BracketMatchSource, type BracketMatchStatus, type BracketParticipant, type BracketParticipantMatch, type BracketPickMigration, type BracketPickMigrationOptions, type BracketPickSet, type BracketRect, type BracketRound, type BracketRoundHeaderComponent, type BracketRoundId, type BracketRoundMapWithSwissData, type BracketRoundMirrorType, type BracketRoundPosition, type BracketRoundRelation, type BracketRoundRelationNone, type BracketRoundRelationNothingToOne, type BracketRoundRelationOneToNothing, type BracketRoundRelationOneToOne, type BracketRoundRelationTwoToNothing, type BracketRoundRelationTwoToOne, type BracketRoundShortId, type BracketRoundSource, type BracketRoundSwissData, type BracketRoundSwissGroup, type BracketRoundSwissGroupId, type BracketRoundSwissGroupMap, type BracketRoundType, BracketRuntimeError, type BracketSectionKey, type BracketSectionTitleComponent, type BracketSeedSlotSource, type BracketSlotResolutionPolicy, type BracketSlotSource, type BracketSlotSourceKind, type BracketStandingRankSide, type BracketStandingRankSlotSource, type BracketSwissBucketSlotSource, type BracketSwissColors, type BracketSwissGroupColorType, type BracketWarning, COMMON_BRACKET_ROUND_TYPE, type CalendarBandPosition, type CalendarInterval, type CalendarPrecision, type CalendarSelectionFlags, type CalendarView, type CalendarWeekStartsOn, type CascaderCompareWith, type CascaderDataSource, type CascaderNode, type CommonBracketRoundType, type ComputedBracketGrid, type CreateBracketGridConfig, type CreateBracketOptions, type CreateGridAdapterOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, type DateRangeSide, type DateRangeSide as TimeRangeInputSide, type DateRangeValue, type DateRangeValue as DateTimeRangeValue, type DateRangeValue as TimeRangeValue, type DoubleEliminationBracketRoundType, type DropzoneCropConfig, type DropzoneCropCorner, type DropzoneCropRect, type DropzoneCropShape, type DurationFormatSpec, type DurationSegment, type DurationUnit, GROUP_BRACKET_ROUND_TYPE, type GridAdapter, type GridAdapterBreakpoints, type GridConfig, type GroupBracketRoundType, type MatchParticipantId, type MatchParticipantShortId, type MatchParticipantSide, type ParticipantMatchResult, type PlaceholderBracketShape, type RichTextEditorHeadingLevel, type RichTextEditorImageFailure, type RichTextEditorImageFailureReason, type RichTextEditorImageUpload, type RichTextEditorImageUploadContext, type RichTextEditorImageUploadFn, type RichTextEditorTokenChip, type RichTextEditorTokenCodec, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, type SchedulerAgendaDay, type SchedulerMonthDayCell, type SchedulerTimeGridAllDayEntry, type SchedulerTimeGridBlock, type SchedulerTimeGridDay, type SchedulerTimeGridSegment, type ScrollableActiveChildRef, type ScrollableButtonPosition, type ScrollableButtonsConfig, type ScrollableChrome, type ScrollableChromeSlot, type ScrollableDirection, type ScrollableIntersectionChange, type ScrollableItemSize, type ScrollableLoadingTemplatePosition, type ScrollableLoadingTemplateRef, type ScrollableMaskVariant, type ScrollableNavigation, type ScrollableNavigationConfig, type ScrollableNavigationItem, type ScrollableScrollMode, type ScrollableScrollOrigin, type ScrollableScrollState, type ScrollbarGeometry, type ScrollbarOrientation, type ScrollbarTarget, type SerializeOptions, type SingleEliminationBracketRoundType, type StandingPick, type StandingPickOutcome, type SwissBracketRoundType, TOURNAMENT_MODE, type TournamentMode, bracketSlot, createBracket, createPlaceholderBracketSource, injectRichTextEditorTools, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource };
|
|
@@ -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
|
-
}
|