@ethlete/components 1.0.0-next.118 → 1.0.0-next.119
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 +10 -0
- package/fesm2022/ethlete-components.mjs +160 -11
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/bracket/bracket-skeleton.component.css +10 -2
- package/src/lib/overlay/routing/overlay-router-outlet.component.css +0 -14
- package/types/ethlete-components.d.ts +30 -6
package/package.json
CHANGED
|
@@ -40,16 +40,24 @@
|
|
|
40
40
|
--et-skeleton-radius: 6px;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.et-bracket-skeleton-round-header
|
|
43
|
+
.et-bracket-skeleton-round-header,
|
|
44
|
+
.et-bracket-skeleton-section-title {
|
|
44
45
|
display: flex;
|
|
45
46
|
align-items: center;
|
|
46
|
-
justify-content: center;
|
|
47
47
|
box-sizing: border-box;
|
|
48
48
|
inline-size: 100%;
|
|
49
49
|
block-size: 100%;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
.et-bracket-skeleton-round-header {
|
|
53
|
+
justify-content: center;
|
|
54
|
+
}
|
|
55
|
+
|
|
52
56
|
.et-bracket-skeleton-round-header .et-bracket-skeleton-round-title {
|
|
53
57
|
inline-size: 50%;
|
|
54
58
|
}
|
|
59
|
+
|
|
60
|
+
.et-bracket-skeleton-section-title .et-bracket-skeleton-section-title-bone {
|
|
61
|
+
inline-size: 120px;
|
|
62
|
+
}
|
|
55
63
|
}
|
|
@@ -5,20 +5,6 @@
|
|
|
5
5
|
display: block;
|
|
6
6
|
block-size: 100%;
|
|
7
7
|
|
|
8
|
-
&.et-overlay-router-outlet-transition--none {
|
|
9
|
-
.et-overlay-router-outlet-page {
|
|
10
|
-
&.et-animation-enter-from,
|
|
11
|
-
&.et-animation-leave-to {
|
|
12
|
-
opacity: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&.et-animation-enter-active,
|
|
16
|
-
&.et-animation-leave-active {
|
|
17
|
-
transition: opacity 0ms linear;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
8
|
&.et-overlay-router-outlet-transition--fade {
|
|
23
9
|
.et-overlay-router-outlet-page {
|
|
24
10
|
&.et-animation-enter-from {
|
|
@@ -2268,7 +2268,7 @@ export declare const BRACKET_ROUND_HEADER_ALIGN: {
|
|
|
2268
2268
|
};
|
|
2269
2269
|
export type BracketRoundHeaderAlign = (typeof BRACKET_ROUND_HEADER_ALIGN)[keyof typeof BRACKET_ROUND_HEADER_ALIGN];
|
|
2270
2270
|
/**
|
|
2271
|
-
*
|
|
2271
|
+
* Defaults for et-bracket and et-bracket-skeleton. Inputs set on the component
|
|
2272
2272
|
* always win over the config.
|
|
2273
2273
|
*/
|
|
2274
2274
|
export type BracketConfig<TRoundData = any, TMatchData = any> = {
|
|
@@ -2368,6 +2368,9 @@ export type BracketConfig<TRoundData = any, TMatchData = any> = {
|
|
|
2368
2368
|
finalMatchComponent?: BracketMatchComponent$1<TRoundData, TMatchData>;
|
|
2369
2369
|
continueComponent?: BracketContinueComponent$1<TRoundData, TMatchData>;
|
|
2370
2370
|
sectionTitleComponent?: BracketSectionTitleComponent$1<TRoundData, TMatchData>;
|
|
2371
|
+
skeletonMatchComponent?: BracketMatchComponent$1<TRoundData, TMatchData>;
|
|
2372
|
+
skeletonFinalMatchComponent?: BracketMatchComponent$1<TRoundData, TMatchData>;
|
|
2373
|
+
skeletonSectionTitleComponent?: BracketSectionTitleComponent$1<TRoundData, TMatchData>;
|
|
2371
2374
|
/**
|
|
2372
2375
|
* Cards for swiss sources only. A `roundHeaderComponent` here beats the swiss default header, which in
|
|
2373
2376
|
* turn beats the global `roundHeaderComponent`.
|
|
@@ -2390,7 +2393,7 @@ export type BracketConfig<TRoundData = any, TMatchData = any> = {
|
|
|
2390
2393
|
* The settings that describe how a bracket is *drawn*, as opposed to what draws it - everything in
|
|
2391
2394
|
* {@link BracketConfig} except the layouts, the component slots and the normalizer.
|
|
2392
2395
|
*/
|
|
2393
|
-
export type BracketLayoutConfig = Omit<BracketConfig, 'layouts' | 'roundHeaderComponent' | 'matchComponent' | 'finalMatchComponent' | 'continueComponent' | 'sectionTitleComponent' | 'swiss' | 'matchNormalizer'>;
|
|
2396
|
+
export type BracketLayoutConfig = Omit<BracketConfig, 'layouts' | 'roundHeaderComponent' | 'matchComponent' | 'finalMatchComponent' | 'continueComponent' | 'sectionTitleComponent' | 'skeletonMatchComponent' | 'skeletonFinalMatchComponent' | 'skeletonSectionTitleComponent' | 'swiss' | 'matchNormalizer'>;
|
|
2394
2397
|
/**
|
|
2395
2398
|
* The value every {@link BracketLayoutConfig} setting falls back to when neither an input, a density
|
|
2396
2399
|
* preset nor `provideBracketConfig` supplies one.
|
|
@@ -2881,6 +2884,7 @@ export declare class BracketSkeletonContinueComponent<TRoundData = unknown, TMat
|
|
|
2881
2884
|
* }
|
|
2882
2885
|
*/
|
|
2883
2886
|
export declare class BracketSkeletonComponent {
|
|
2887
|
+
private config;
|
|
2884
2888
|
/** The structure to draw - match it to the bracket that is loading. */
|
|
2885
2889
|
shape: import("@angular/core").InputSignal<PlaceholderBracketShape$1>;
|
|
2886
2890
|
/** What a screen reader announces while loading. `null` uses `LOADER_LABELS`' `loadingContent`. */
|
|
@@ -2903,13 +2907,17 @@ export declare class BracketSkeletonComponent {
|
|
|
2903
2907
|
swissGroupBorderWidth: import("@angular/core").InputSignalWithTransform<number | undefined, OptionalNumberInput>;
|
|
2904
2908
|
thirdPlaceTopOffset: import("@angular/core").InputSignalWithTransform<number | null | undefined, OptionalNumberInput>;
|
|
2905
2909
|
hideRoundHeaders: import("@angular/core").InputSignalWithTransform<boolean | undefined, OptionalBooleanInput>;
|
|
2910
|
+
showSectionTitles: import("@angular/core").InputSignalWithTransform<boolean | undefined, OptionalBooleanInput>;
|
|
2911
|
+
sectionTitleHeight: import("@angular/core").InputSignalWithTransform<number | undefined, OptionalNumberInput>;
|
|
2912
|
+
sectionTitleGap: import("@angular/core").InputSignalWithTransform<number | undefined, OptionalNumberInput>;
|
|
2906
2913
|
showContinueElement: import("@angular/core").InputSignalWithTransform<boolean | undefined, OptionalBooleanInput>;
|
|
2907
2914
|
continueColumnWidth: import("@angular/core").InputSignalWithTransform<number | undefined, OptionalNumberInput>;
|
|
2908
2915
|
continueElementHeight: import("@angular/core").InputSignalWithTransform<number | undefined, OptionalNumberInput>;
|
|
2909
2916
|
protected source: import("@angular/core").Signal<import("@ethlete/components").BracketDataSource<null, null>>;
|
|
2910
|
-
protected readonly MATCH_COMPONENT:
|
|
2911
|
-
protected readonly FINAL_MATCH_COMPONENT:
|
|
2917
|
+
protected readonly MATCH_COMPONENT: import("@ethlete/components").BracketMatchComponent<any, any>;
|
|
2918
|
+
protected readonly FINAL_MATCH_COMPONENT: import("@ethlete/components").BracketMatchComponent<any, any>;
|
|
2912
2919
|
protected readonly ROUND_HEADER_COMPONENT: typeof BracketSkeletonRoundHeaderComponent;
|
|
2920
|
+
protected readonly SECTION_TITLE_COMPONENT: import("@ethlete/components").BracketSectionTitleComponent<any, any>;
|
|
2913
2921
|
protected readonly CONTINUE_COMPONENT: typeof BracketSkeletonContinueComponent;
|
|
2914
2922
|
static ɵfac: i0.ɵɵFactoryDeclaration<BracketSkeletonComponent, never>;
|
|
2915
2923
|
static ɵcmp: i0.ɵɵComponentDeclaration<BracketSkeletonComponent, "et-bracket-skeleton", never, {
|
|
@@ -3008,6 +3016,21 @@ export declare class BracketSkeletonComponent {
|
|
|
3008
3016
|
"required": false;
|
|
3009
3017
|
"isSignal": true;
|
|
3010
3018
|
};
|
|
3019
|
+
"showSectionTitles": {
|
|
3020
|
+
"alias": "showSectionTitles";
|
|
3021
|
+
"required": false;
|
|
3022
|
+
"isSignal": true;
|
|
3023
|
+
};
|
|
3024
|
+
"sectionTitleHeight": {
|
|
3025
|
+
"alias": "sectionTitleHeight";
|
|
3026
|
+
"required": false;
|
|
3027
|
+
"isSignal": true;
|
|
3028
|
+
};
|
|
3029
|
+
"sectionTitleGap": {
|
|
3030
|
+
"alias": "sectionTitleGap";
|
|
3031
|
+
"required": false;
|
|
3032
|
+
"isSignal": true;
|
|
3033
|
+
};
|
|
3011
3034
|
"showContinueElement": {
|
|
3012
3035
|
"alias": "showContinueElement";
|
|
3013
3036
|
"required": false;
|
|
@@ -25850,7 +25873,7 @@ export type OverlayRouterResolvedPath = {
|
|
|
25850
25873
|
type: 'back' | 'replace-current' | 'absolute' | 'forward';
|
|
25851
25874
|
};
|
|
25852
25875
|
export type OverlayRouter = {
|
|
25853
|
-
/** The current route
|
|
25876
|
+
/** The current route. Animated navigation delays the update until the outlet applies its animation classes. */
|
|
25854
25877
|
currentRoute: Signal<string>;
|
|
25855
25878
|
/** Routes registered at runtime in addition to the configured ones. */
|
|
25856
25879
|
extraRoutes: WritableSignal<OverlayRoute[]>;
|
|
@@ -25944,6 +25967,7 @@ export declare class OverlayRouterOutletComponent {
|
|
|
25944
25967
|
sharedRouteTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
25945
25968
|
outletDisabledTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
25946
25969
|
pageWrappers: import("@angular/core").Signal<readonly ElementRef<HTMLElement>[]>;
|
|
25970
|
+
private pageLifecycles;
|
|
25947
25971
|
readonly hasSidebar: boolean;
|
|
25948
25972
|
wasDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
25949
25973
|
keepDisabledTransition: import("@angular/core").Signal<boolean>;
|
|
@@ -37649,5 +37673,5 @@ export declare const provideUnsavedChangesLabels: (labels: import("@ethlete/core
|
|
|
37649
37673
|
export declare const injectUnsavedChangesLabels: () => import("@angular/core").Signal<UnsavedChangesLabels>;
|
|
37650
37674
|
export declare const UNSAVED_CHANGES_LABELS: import("@angular/core").InjectionToken<import("@ethlete/core").LabelsSource<UnsavedChangesLabels>>;
|
|
37651
37675
|
/** The version of `@ethlete/components` this build was cut from. */
|
|
37652
|
-
export declare const COMPONENTS_VERSION = "1.0.0-next.
|
|
37676
|
+
export declare const COMPONENTS_VERSION = "1.0.0-next.119";
|
|
37653
37677
|
export { type AlertDialogComponentSlot, type AlertDialogSlot, type AlertDialogTemplateSlot, type AppointmentTreeNode, BRACKET_DATA_LAYOUT, BRACKET_ERROR_CODES, BRACKET_FINAL_ALIGNMENT, BRACKET_ROUND_MIRROR_TYPE, BRACKET_SECTION_KEY, BRACKET_SWISS_GROUP_COLOR_TYPE, type Bracket, type BracketByeSlotSource, type BracketComponents, type BracketContinueComponent, type BracketDataLayout, type BracketDataSource, type BracketDrawing, type BracketEdge, type BracketExternalSlotSource, type BracketFinalAlignment, type BracketGradient, type BracketGradientStop, type BracketGridSection, type BracketLayoutSettings, BracketMap, type BracketMatch, type BracketMatchComponent, type BracketMatchFactor, type BracketMatchId, type BracketMatchInputs, type BracketMatchOutcomeSlotSource, type BracketMatchParticipant, type BracketMatchPosition, type BracketMatchRelation, type BracketMatchRelationNone, type BracketMatchRelationNothingToOne, type BracketMatchRelationOneToNothing, type BracketMatchRelationOneToOne, type BracketMatchRelationTwoToNothing, type BracketMatchRelationTwoToOne, type BracketMatchShortId, type BracketMatchSlot, type BracketMatchSource, type BracketMatchStatus, type BracketParticipant, type BracketParticipantMatch, type BracketPickMigration, type BracketPickMigrationOptions, type BracketPickSet, type BracketRect, type BracketRound, type BracketRoundHeaderComponent, type BracketRoundId, type BracketRoundMapWithSwissData, type BracketRoundMirrorType, type BracketRoundPosition, type BracketRoundRelation, type BracketRoundRelationNone, type BracketRoundRelationNothingToOne, type BracketRoundRelationOneToNothing, type BracketRoundRelationOneToOne, type BracketRoundRelationTwoToNothing, type BracketRoundRelationTwoToOne, type BracketRoundShortId, type BracketRoundSource, type BracketRoundSwissData, type BracketRoundSwissGroup, type BracketRoundSwissGroupId, type BracketRoundSwissGroupMap, type BracketRoundType, BracketRuntimeError, type BracketSectionKey, type BracketSectionTitleComponent, type BracketSeedSlotSource, type BracketSlotResolutionPolicy, type BracketSlotSource, type BracketSlotSourceKind, type BracketStandingRankSide, type BracketStandingRankSlotSource, type BracketSwissBucketSlotSource, type BracketSwissColors, type BracketSwissGroupColorType, type BracketWarning, COMMON_BRACKET_ROUND_TYPE, type CalendarBandPosition, type CalendarInterval, type CalendarPrecision, type CalendarSelectionFlags, type CalendarView, type CalendarWeekStartsOn, type CascaderCompareWith, type CascaderDataSource, type CascaderNode, type CommonBracketRoundType, type ComputedBracketGrid, type CreateBracketGridConfig, type CreateBracketOptions, type CreateGridAdapterOptions, DOUBLE_ELIMINATION_BRACKET_ROUND_TYPE, type DateRangeSide, type DateRangeSide as TimeRangeInputSide, type DateRangeValue, type DateRangeValue as DateTimeRangeValue, type DateRangeValue as TimeRangeValue, type DoubleEliminationBracketRoundType, type DropzoneCropConfig, type DropzoneCropCorner, type DropzoneCropRect, type DropzoneCropShape, type DurationFormatSpec, type DurationSegment, type DurationUnit, GROUP_BRACKET_ROUND_TYPE, type GridAdapter, type GridAdapterBreakpoints, type GridConfig, type GroupBracketRoundType, type MatchParticipantId, type MatchParticipantShortId, type MatchParticipantSide, type ParticipantMatchResult, type PlaceholderBracketShape, type RichTextEditorHeadingLevel, type RichTextEditorImageFailure, type RichTextEditorImageFailureReason, type RichTextEditorImageUpload, type RichTextEditorImageUploadContext, type RichTextEditorImageUploadFn, type RichTextEditorTokenChip, type RichTextEditorTokenCodec, SINGLE_ELIMINATION_BRACKET_ROUND_TYPE, SWISS_BRACKET_ROUND_TYPE, type SchedulerAgendaDay, type SchedulerMonthDayCell, type SchedulerTimeGridAllDayEntry, type SchedulerTimeGridBlock, type SchedulerTimeGridDay, type SchedulerTimeGridSegment, type ScrollableActiveChildRef, type ScrollableButtonPosition, type ScrollableButtonsConfig, type ScrollableButtonsDefaults, type ScrollableChrome, type ScrollableChromeSlot, type ScrollableConfig, type ScrollableDirection, type ScrollableIntersectionChange, type ScrollableItemSize, type ScrollableLoadingTemplatePosition, type ScrollableLoadingTemplateRef, type ScrollableMaskVariant, type ScrollableNavigation, type ScrollableNavigationConfig, type ScrollableNavigationItem, type ScrollableResponsive, type ScrollableScrollMode, type ScrollableScrollOrigin, type ScrollableScrollState, type ScrollbarGeometry, type ScrollbarOrientation, type ScrollbarTarget, type SerializeOptions, type SingleEliminationBracketRoundType, type StandingPick, type StandingPickOutcome, type SwissBracketRoundType, type SwissPlaceholderShape, TOURNAMENT_MODE, type TournamentMode, bracketSlot, createBracket, createPlaceholderBracketSource, injectRichTextEditorTools, isBracketSlotPredictable, migrateBracketPicks, resolveBracketSlot, standingRankSides, swapStandingRank, validateBracketSource };
|