@ethlete/core 5.0.0-next.39 → 5.0.0-next.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/fesm2022/ethlete-core.mjs +80 -38
- package/fesm2022/ethlete-core.mjs.map +1 -1
- package/generators/migrate-provider-shape/provider-shape.js +2 -2
- package/generators/migrate-to-v5/create-provider.js +0 -4
- package/generators/migrate-to-v5/viewport-service.js +0 -1
- package/generators/tailwind-4-color-theme/generator.js +25 -16
- package/generators/tailwind-4-surface-theme/generator.js +15 -7
- package/package.json +1 -1
- package/types/ethlete-core.d.ts +4 -2
|
@@ -105,7 +105,7 @@ const rewriteSite = (content, sourceFile, site, definitionName) => {
|
|
|
105
105
|
const documented = extractions.length > 0 ? [definition, '', doc + extractions[0], ...extractions.slice(1)] : [doc + definition];
|
|
106
106
|
return { start, end: site.statement.getEnd(), text: documented.join('\n') };
|
|
107
107
|
};
|
|
108
|
-
const rewriteImports = (
|
|
108
|
+
const rewriteImports = (sourceFile, factoriesUsed, extractorsUsed) => {
|
|
109
109
|
const rewrites = [];
|
|
110
110
|
const imports = sourceFile.statements.filter(ts.isImportDeclaration);
|
|
111
111
|
/** The declaration the extractors join: the one that already provides them, else any core import. */
|
|
@@ -171,7 +171,7 @@ export const migrateProviderShapeInFile = (filePath, content) => {
|
|
|
171
171
|
const extractorsUsed = new Set(sites.flatMap((site) => site.bindings.flatMap((binding, index) => (binding === null ? [] : [POSITION_TO_EXTRACTOR[index]]))));
|
|
172
172
|
const edits = [
|
|
173
173
|
...sites.map((site) => rewriteSite(content, sourceFile, site, uniqueDefinitionName(site.bindings.filter((b) => b !== null), taken))),
|
|
174
|
-
...rewriteImports(
|
|
174
|
+
...rewriteImports(sourceFile, factoriesUsed, extractorsUsed),
|
|
175
175
|
].sort((a, b) => b.start - a.start);
|
|
176
176
|
let updated = content;
|
|
177
177
|
for (const edit of edits) {
|
|
@@ -40,7 +40,6 @@ function migrateCreateProviderInFile(tree, filePath) {
|
|
|
40
40
|
return false;
|
|
41
41
|
const sourceFile = ts.createSourceFile(filePath, content, ts.ScriptTarget.Latest, true);
|
|
42
42
|
let cdkImport;
|
|
43
|
-
let coreImport;
|
|
44
43
|
let hasCreateProviderInCdk = false;
|
|
45
44
|
// Find relevant imports
|
|
46
45
|
for (const statement of sourceFile.statements) {
|
|
@@ -52,9 +51,6 @@ function migrateCreateProviderInFile(tree, filePath) {
|
|
|
52
51
|
hasCreateProviderInCdk = statement.importClause.namedBindings.elements.some((element) => element.name.text === 'createProvider');
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
|
-
else if (modulePath === '@ethlete/core') {
|
|
56
|
-
coreImport = statement;
|
|
57
|
-
}
|
|
58
54
|
}
|
|
59
55
|
}
|
|
60
56
|
// If createProvider is not imported from @ethlete/cdk, nothing to do
|
|
@@ -233,9 +233,11 @@ function validateThemeConfiguration(themes) {
|
|
|
233
233
|
throw new Error(`Multiple default themes found: ${defaultThemes.map((t) => t.name).join(', ')}. Only one theme can have isDefault: true`);
|
|
234
234
|
}
|
|
235
235
|
// Error: Duplicate theme types
|
|
236
|
-
const typedThemes = themes.filter((t) => t.type);
|
|
237
236
|
const typeMap = new Map();
|
|
238
|
-
for (const theme of
|
|
237
|
+
for (const theme of themes) {
|
|
238
|
+
if (!theme.type) {
|
|
239
|
+
continue;
|
|
240
|
+
}
|
|
239
241
|
const existing = typeMap.get(theme.type) || [];
|
|
240
242
|
existing.push(theme.name);
|
|
241
243
|
typeMap.set(theme.type, existing);
|
|
@@ -258,11 +260,18 @@ function parseThemeSwatch(obj, sourceFile) {
|
|
|
258
260
|
if (!initializer) {
|
|
259
261
|
continue;
|
|
260
262
|
}
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
const colorMap = parseColorMap(initializer, sourceFile);
|
|
264
|
+
if (!colorMap) {
|
|
265
|
+
continue;
|
|
266
|
+
}
|
|
267
|
+
if (propName === 'color') {
|
|
268
|
+
swatch.color = colorMap;
|
|
269
|
+
}
|
|
270
|
+
else if (propName === 'onColor') {
|
|
271
|
+
swatch.onColor = colorMap;
|
|
272
|
+
}
|
|
273
|
+
else if (propName === 'inkColor') {
|
|
274
|
+
swatch.inkColor = colorMap;
|
|
266
275
|
}
|
|
267
276
|
}
|
|
268
277
|
if (!swatch.color || !swatch.onColor) {
|
|
@@ -270,6 +279,8 @@ function parseThemeSwatch(obj, sourceFile) {
|
|
|
270
279
|
}
|
|
271
280
|
return swatch;
|
|
272
281
|
}
|
|
282
|
+
const COLOR_MAP_KEYS = ['default', 'hover', 'focus', 'active', 'disabled'];
|
|
283
|
+
const isColorMapKey = (name) => COLOR_MAP_KEYS.some((key) => key === name);
|
|
273
284
|
function parseColorMap(initializer, sourceFile) {
|
|
274
285
|
// Handle spread expressions by resolving references
|
|
275
286
|
if (initializer.isKind(SyntaxKind.ObjectLiteralExpression)) {
|
|
@@ -279,7 +290,7 @@ function parseColorMap(initializer, sourceFile) {
|
|
|
279
290
|
if (prop.isKind(SyntaxKind.PropertyAssignment)) {
|
|
280
291
|
const propName = prop.getName();
|
|
281
292
|
const propValue = prop.getInitializer();
|
|
282
|
-
if (propValue?.isKind(SyntaxKind.StringLiteral)) {
|
|
293
|
+
if (propValue?.isKind(SyntaxKind.StringLiteral) && isColorMapKey(propName)) {
|
|
283
294
|
colorMap[propName] = propValue.getLiteralValue();
|
|
284
295
|
}
|
|
285
296
|
}
|
|
@@ -288,9 +299,7 @@ function parseColorMap(initializer, sourceFile) {
|
|
|
288
299
|
const spreadExpr = prop.getExpression();
|
|
289
300
|
if (spreadExpr.isKind(SyntaxKind.Identifier)) {
|
|
290
301
|
const referencedName = spreadExpr.getText();
|
|
291
|
-
const referencedDecl = sourceFile
|
|
292
|
-
.getVariableDeclarations()
|
|
293
|
-
.find((decl) => decl.getName() === referencedName);
|
|
302
|
+
const referencedDecl = sourceFile.getVariableDeclarations().find((decl) => decl.getName() === referencedName);
|
|
294
303
|
if (referencedDecl) {
|
|
295
304
|
const referencedObj = referencedDecl.getInitializer();
|
|
296
305
|
if (referencedObj?.isKind(SyntaxKind.ObjectLiteralExpression)) {
|
|
@@ -304,19 +313,19 @@ function parseColorMap(initializer, sourceFile) {
|
|
|
304
313
|
}
|
|
305
314
|
}
|
|
306
315
|
// Apply fallbacks for required fields
|
|
307
|
-
|
|
316
|
+
const defaultColor = colorMap.default;
|
|
317
|
+
if (defaultColor) {
|
|
308
318
|
// Check if this is a ThemeColorMap (has hover, active, or disabled explicitly set)
|
|
309
319
|
const isThemeColorMap = colorMap.hover !== undefined || colorMap.active !== undefined || colorMap.disabled !== undefined;
|
|
310
320
|
if (isThemeColorMap) {
|
|
311
321
|
// For ThemeColorMap - apply fallbacks for all required fields
|
|
312
|
-
const
|
|
313
|
-
const hoverColor = (colorMap.hover || defaultColor);
|
|
322
|
+
const hoverColor = colorMap.hover || defaultColor;
|
|
314
323
|
const result = {
|
|
315
324
|
default: defaultColor,
|
|
316
325
|
hover: hoverColor,
|
|
317
326
|
focus: colorMap.focus,
|
|
318
|
-
active:
|
|
319
|
-
disabled:
|
|
327
|
+
active: colorMap.active || hoverColor,
|
|
328
|
+
disabled: colorMap.disabled || defaultColor,
|
|
320
329
|
};
|
|
321
330
|
return result;
|
|
322
331
|
}
|
|
@@ -154,10 +154,13 @@ function extractSurfaceThemesFromContent(content, filePath) {
|
|
|
154
154
|
}
|
|
155
155
|
return themes;
|
|
156
156
|
}
|
|
157
|
+
const COLOR_PROPS = ['background', 'color', 'colorMuted', 'colorSubtle', 'border'];
|
|
158
|
+
const isColorProp = (name) => COLOR_PROPS.some((p) => p === name);
|
|
159
|
+
const INTERACTION_KEYS = ['default', 'hover', 'focus', 'active', 'disabled'];
|
|
160
|
+
const isInteractionKey = (name) => INTERACTION_KEYS.some((key) => key === name);
|
|
157
161
|
function parseSurfaceThemeObject(obj) {
|
|
158
162
|
const properties = obj.getProperties();
|
|
159
163
|
const theme = {};
|
|
160
|
-
const STRING_PROPS = ['name', 'background', 'color', 'colorMuted', 'colorSubtle', 'border'];
|
|
161
164
|
for (const prop of properties) {
|
|
162
165
|
if (!prop.isKind(SyntaxKind.PropertyAssignment)) {
|
|
163
166
|
continue;
|
|
@@ -181,7 +184,7 @@ function parseSurfaceThemeObject(obj) {
|
|
|
181
184
|
continue;
|
|
182
185
|
const iPropName = iProp.getName();
|
|
183
186
|
const iInit = iProp.getInitializer();
|
|
184
|
-
if (iInit?.isKind(SyntaxKind.StringLiteral)) {
|
|
187
|
+
if (iInit?.isKind(SyntaxKind.StringLiteral) && isInteractionKey(iPropName)) {
|
|
185
188
|
interactionColor[iPropName] = iInit.getLiteralValue();
|
|
186
189
|
}
|
|
187
190
|
}
|
|
@@ -204,7 +207,13 @@ function parseSurfaceThemeObject(obj) {
|
|
|
204
207
|
theme.type = initializer.getLiteralValue();
|
|
205
208
|
continue;
|
|
206
209
|
}
|
|
207
|
-
if (
|
|
210
|
+
if (!initializer.isKind(SyntaxKind.StringLiteral)) {
|
|
211
|
+
continue;
|
|
212
|
+
}
|
|
213
|
+
if (propName === 'name') {
|
|
214
|
+
theme.name = initializer.getLiteralValue();
|
|
215
|
+
}
|
|
216
|
+
else if (isColorProp(propName)) {
|
|
208
217
|
theme[propName] = initializer.getLiteralValue();
|
|
209
218
|
}
|
|
210
219
|
}
|
|
@@ -228,8 +237,9 @@ function applyDefaultSurfaceThemeOverride(themes, defaultTheme, type) {
|
|
|
228
237
|
const matches = themes.filter((t) => t.name === defaultTheme || createCssSurfaceName(t.name) === wanted);
|
|
229
238
|
const target = matches.find((t) => t.type === type);
|
|
230
239
|
if (!target) {
|
|
231
|
-
|
|
232
|
-
|
|
240
|
+
const [firstMatch] = matches;
|
|
241
|
+
if (firstMatch) {
|
|
242
|
+
throw new Error(`Theme "${defaultTheme}" has type '${firstMatch.type}', but was passed as the default '${type}' theme`);
|
|
233
243
|
}
|
|
234
244
|
const available = themes.filter((t) => t.type === type).map((t) => t.name);
|
|
235
245
|
throw new Error(`No surface theme named "${defaultTheme}" found. Available '${type}' themes: ${available.join(', ')}`);
|
|
@@ -302,8 +312,6 @@ function generateSurfaceThemeCss(themes, utilityPrefix, runtimePrefix, schema) {
|
|
|
302
312
|
*/
|
|
303
313
|
|
|
304
314
|
`;
|
|
305
|
-
const defaultThemes = themes.filter((t) => t.isDefault);
|
|
306
|
-
const regularThemes = themes.filter((t) => !t.isDefault);
|
|
307
315
|
// Static Tailwind @theme block - one color set per surface theme
|
|
308
316
|
for (const theme of themes) {
|
|
309
317
|
const name = createCssSurfaceName(theme.name);
|
package/package.json
CHANGED
package/types/ethlete-core.d.ts
CHANGED
|
@@ -3157,6 +3157,7 @@ declare const provideColorThemesWithTailwind4: (themes: ColorTheme[], prefix?: s
|
|
|
3157
3157
|
declare const injectErrorTheme: () => ColorTheme;
|
|
3158
3158
|
declare const injectWarningTheme: () => ColorTheme;
|
|
3159
3159
|
declare const injectSuccessTheme: () => ColorTheme;
|
|
3160
|
+
declare const injectDefaultColorTheme: () => ColorTheme;
|
|
3160
3161
|
|
|
3161
3162
|
/**
|
|
3162
3163
|
* @deprecated Migrate to Tailwind v4. Intent to remove in v6.
|
|
@@ -3177,7 +3178,8 @@ declare const createTailwindCssVar: (name: string | undefined) => string | null;
|
|
|
3177
3178
|
/**
|
|
3178
3179
|
* @deprecated Migrate to Tailwind v4. Intent to remove in v6.
|
|
3179
3180
|
*/
|
|
3180
|
-
declare
|
|
3181
|
+
declare function createTailwindRgbVar(val: string): string;
|
|
3182
|
+
declare function createTailwindRgbVar(val: string | undefined): string | null;
|
|
3181
3183
|
/**
|
|
3182
3184
|
* @deprecated Migrate to Tailwind v4. Intent to remove in v6.
|
|
3183
3185
|
*/
|
|
@@ -3547,5 +3549,5 @@ type UnsavedChangesGuardRef<T> = UnsavedChangesTrackerRef<T> & {
|
|
|
3547
3549
|
*/
|
|
3548
3550
|
declare const createUnsavedChangesGuard: <T>(config: CreateUnsavedChangesGuardConfig<T>) => UnsavedChangesGuardRef<T>;
|
|
3549
3551
|
|
|
3550
|
-
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ANIMATION_DEBUG_STORAGE_KEY, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AutoSurfaceDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PROVIDER, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_VIEWPORT_CONFIG, DISABLE_LOGGER_PARAM, DragHandleDirective, ET_DISABLE_SCROLL_TOP, ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE, ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE, ET_PROPERTY_REMOVED, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, HtmlToMarkdownPipe, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, InitialsPipe, IsArrayNotEmpty, IsEmail, jsonLd_d as JsonLD, KeyPressManager, MUST_MATCH, MarkdownToHtmlPipe, MatchStateType, MustMatch, NOTIFICATION_CLICK_MESSAGE_TYPE, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RuntimeError, SEO_DIRECTIVE_TOKEN, SURFACE_PROVIDER, SURFACE_TYPE, SWIPE_VELOCITY_WINDOW_MS, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SeoDirective, SlugifyPipe, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, UNSAVED_CHANGES_TITLE_MARKER, ValidateAtLeastOneRequired, Validators, anchoredOverlayPosition, animationDebugLog, applyAlternateBinding, applyAlternateLanguagesBindings, applyArticleBindings, applyAuthorBinding, applyCanonicalBinding, applyCenteredPosition, applyDescriptionBinding, applyFaviconOverlay, applyGlobalPosition, applyHeadBinding, applyHeadTitleBinding, applyHeadTitleMarker, applyHostListener, applyHostListeners, applyInitialFocus, applyKeywordsBinding, applyLinkBinding, applyMetaBinding, applyNextBinding, applyOgBinding, applyOpenGraphBindings, applyPrevBinding, applyResourceHintsBindings, applyRobotsBinding, applySocialMediaBindings, applyStructuredDataBinding, applyTwitterCardBindings, areScrollStatesEqual, bindProps, boolBreakpointTransform, booleanBreakpointAttribute, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, copyToClipboard, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createBulkPropertyBinding, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDependencyStash, createDestroy, createDocumentElementSignal, createElementDictionary, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createOverlayRuntimeRef, createPropHandlers, createPropertyBinding, createProps, createRootThemeCss, createRoute, createRouterState, createRxHostListener, createSessionMemory, createSetup, createSwatchCss, createSwipeTracker, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createUnsavedChangesGuard, createUnsavedChangesTabLock, createUnsavedChangesTracker, createUserConsentProvider, deferredSignal, defineLabels, defineProvider, defineRootProvider, defineStaticProvider, defineStaticRootProvider, deleteCookie, dragGestureFrom, easeElastic, easeIn, easeInOut, easeLinear, easeOut, easeOutBack, easeOutBackStrong, elementCanScroll, enableAnchoredOverlayPositionExtras, equal, firstElementSignal, focusElement, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFocusableElements, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getHeadingElement, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasCookie, holdScrollRestoration, htmlToMarkdown, inferMimeType, initials, injectAngularRootElement, injectAnimatedBlockSize, injectBoundaryElement, injectBreakpointInput, injectBreakpointIsMatched, injectBreakpointObserver, injectCanHover, injectColorThemes, injectColorThemesPrefix, injectCurrentBreakpoint, injectDeviceInputType, injectDisplayOrientation, injectErrorTheme, injectFaviconStore, injectFocusVisibleTracker, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsDocumentVisible, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsRouterInitialized, injectIsSm, injectIsXl, injectIsXs, injectLinkStore, injectLinkStoreConfig, injectLocale, injectMediaQueryIsMatched, injectMetaConfig, injectMetaStore, injectNotifications, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectPathParam, injectPathParamChanges, injectPathParams, injectPrefersReducedMotion, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterNavigationState, injectRouterState, injectScrollbarDimensions, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectTemplateRef, injectTitleConfig, injectTitleStore, injectUnsavedChangesCoordinator, injectUrl, injectViewportConfig, injectViewportDimensions, injectViewportSize, injectWarningTheme, isAnimationDebugEnabled, isArray, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isKnockoutMatch, isObject, markdownToHtml, matchesReducedMotion, maybeSignalValue, memoizeSignal, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, normalizeUnsavedChangesSource, numberBreakpointAttribute, numberBreakpointTransform, previousSignalValue, provideBoundaryElement, provideBreakpointInstance, provideBreakpointObserver, provideColorThemes, provideColorThemesWithTailwind4, provideFaviconStore, provideFocusVisibleTracker, provideLinkStore, provideLinkStoreConfig, provideLocale, provideMetaConfig, provideMetaStore, provideNotifications, provideOverlayRuntime, provideRenderer, provideStructuredDataConfig, provideStructuredDataStore, provideStyleManager, provideSurfaceContextTracker, provideSurfaceThemesWithTailwind4, provideTitleConfig, provideTitleStore, provideUnsavedChangesCoordinator, provideViewportConfig, randomId, readFromClipboard, registerAnchoredPositionMiddlewareExtras, registerAnchoredPositionSetup, resetPositioningStyles, resolveAppRootColorProvider, resolveSurfaceByElevation, round, routerDisableScrollTop, scrollToElement, setBackdropStyles, setBaseElementStyles, setCookie, setInputSignal, setupFocusTrap, setupPositioning, setupScrollRestoration, signalAnimatedNumber, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, slugify, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, toInjectFn, toProvideFn, toStringBinding, toToken, transformOrReturn, typedBreakpointTransform, unbindProps, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
|
|
3552
|
+
export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, ANIMATION_DEBUG_STORAGE_KEY, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AutoSurfaceDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PROVIDER, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_VIEWPORT_CONFIG, DISABLE_LOGGER_PARAM, DragHandleDirective, ET_DISABLE_SCROLL_TOP, ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE, ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE, ET_PROPERTY_REMOVED, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, HtmlToMarkdownPipe, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, InitialsPipe, IsArrayNotEmpty, IsEmail, jsonLd_d as JsonLD, KeyPressManager, MUST_MATCH, MarkdownToHtmlPipe, MatchStateType, MustMatch, NOTIFICATION_CLICK_MESSAGE_TYPE, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RuntimeError, SEO_DIRECTIVE_TOKEN, SURFACE_PROVIDER, SURFACE_TYPE, SWIPE_VELOCITY_WINDOW_MS, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SeoDirective, SlugifyPipe, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, UNSAVED_CHANGES_TITLE_MARKER, ValidateAtLeastOneRequired, Validators, anchoredOverlayPosition, animationDebugLog, applyAlternateBinding, applyAlternateLanguagesBindings, applyArticleBindings, applyAuthorBinding, applyCanonicalBinding, applyCenteredPosition, applyDescriptionBinding, applyFaviconOverlay, applyGlobalPosition, applyHeadBinding, applyHeadTitleBinding, applyHeadTitleMarker, applyHostListener, applyHostListeners, applyInitialFocus, applyKeywordsBinding, applyLinkBinding, applyMetaBinding, applyNextBinding, applyOgBinding, applyOpenGraphBindings, applyPrevBinding, applyResourceHintsBindings, applyRobotsBinding, applySocialMediaBindings, applyStructuredDataBinding, applyTwitterCardBindings, areScrollStatesEqual, bindProps, boolBreakpointTransform, booleanBreakpointAttribute, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, copyToClipboard, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createBulkPropertyBinding, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDependencyStash, createDestroy, createDocumentElementSignal, createElementDictionary, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createOverlayRuntimeRef, createPropHandlers, createPropertyBinding, createProps, createRootThemeCss, createRoute, createRouterState, createRxHostListener, createSessionMemory, createSetup, createSwatchCss, createSwipeTracker, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createUnsavedChangesGuard, createUnsavedChangesTabLock, createUnsavedChangesTracker, createUserConsentProvider, deferredSignal, defineLabels, defineProvider, defineRootProvider, defineStaticProvider, defineStaticRootProvider, deleteCookie, dragGestureFrom, easeElastic, easeIn, easeInOut, easeLinear, easeOut, easeOutBack, easeOutBackStrong, elementCanScroll, enableAnchoredOverlayPositionExtras, equal, firstElementSignal, focusElement, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFocusableElements, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getHeadingElement, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasCookie, holdScrollRestoration, htmlToMarkdown, inferMimeType, initials, injectAngularRootElement, injectAnimatedBlockSize, injectBoundaryElement, injectBreakpointInput, injectBreakpointIsMatched, injectBreakpointObserver, injectCanHover, injectColorThemes, injectColorThemesPrefix, injectCurrentBreakpoint, injectDefaultColorTheme, injectDeviceInputType, injectDisplayOrientation, injectErrorTheme, injectFaviconStore, injectFocusVisibleTracker, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsDocumentVisible, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsRouterInitialized, injectIsSm, injectIsXl, injectIsXs, injectLinkStore, injectLinkStoreConfig, injectLocale, injectMediaQueryIsMatched, injectMetaConfig, injectMetaStore, injectNotifications, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectPathParam, injectPathParamChanges, injectPathParams, injectPrefersReducedMotion, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterNavigationState, injectRouterState, injectScrollbarDimensions, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectTemplateRef, injectTitleConfig, injectTitleStore, injectUnsavedChangesCoordinator, injectUrl, injectViewportConfig, injectViewportDimensions, injectViewportSize, injectWarningTheme, isAnimationDebugEnabled, isArray, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isKnockoutMatch, isObject, markdownToHtml, matchesReducedMotion, maybeSignalValue, memoizeSignal, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, normalizeUnsavedChangesSource, numberBreakpointAttribute, numberBreakpointTransform, previousSignalValue, provideBoundaryElement, provideBreakpointInstance, provideBreakpointObserver, provideColorThemes, provideColorThemesWithTailwind4, provideFaviconStore, provideFocusVisibleTracker, provideLinkStore, provideLinkStoreConfig, provideLocale, provideMetaConfig, provideMetaStore, provideNotifications, provideOverlayRuntime, provideRenderer, provideStructuredDataConfig, provideStructuredDataStore, provideStyleManager, provideSurfaceContextTracker, provideSurfaceThemesWithTailwind4, provideTitleConfig, provideTitleStore, provideUnsavedChangesCoordinator, provideViewportConfig, randomId, readFromClipboard, registerAnchoredPositionMiddlewareExtras, registerAnchoredPositionSetup, resetPositioningStyles, resolveAppRootColorProvider, resolveSurfaceByElevation, round, routerDisableScrollTop, scrollToElement, setBackdropStyles, setBaseElementStyles, setCookie, setInputSignal, setupFocusTrap, setupPositioning, setupScrollRestoration, signalAnimatedNumber, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, slugify, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, toInjectFn, toProvideFn, toStringBinding, toToken, transformOrReturn, typedBreakpointTransform, unbindProps, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
|
|
3551
3553
|
export type { AlternateLanguagesConfig, AlternateLink, AnchoredPositionMiddlewareExtras, AnchoredPositionSetup, AngularRenderer, AnimatedBlockSizeConfig, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedSizeAxis, AnimationEndEvent, AnyTemplateType, ArticleConfig, BindPropsOptions, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ColorTheme, ColorThemeType, ComponentTemplate, ComponentType, ComponentTypeWithInputs, ConsentHandler, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CreateSessionMemoryConfig, CreateUnsavedChangesGuardConfig, CreateUnsavedChangesTabLockConfig, CreateUnsavedChangesTrackerConfig, CreateUserConsentProviderOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DragGestureEvent, DragMoveEvent, DragStartEvent, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSignal, ElementSignalValue, ElementSize, EthleteColorThemeNameRegistry, EthleteSurfaceThemeNameRegistry, FacebookCard, FaviconOverlay, FlipAnimationConfig, HeadBinding, HostProps, InjectFn, InjectQueryParamConfig, InjectUtilConfig, InjectUtilTransformConfig, IntersectionObserverEntryWithDetails, IsElementVisibleOptions, LabelsDefinition, LabelsSource, LinkConfig, LinkStoreConfig, LogicalSize, MaybeObservable, MaybeSignal, MetaConfig, MetaTagConfig, NgClassType, NgTemplateTemplate, NormalizedGameResultType, NormalizedMatchParticipant, NormalizedMatchParticipants, NormalizedMatchScore, NormalizedUnsavedChangesSource, NotificationActionConfig, NotificationClickContext, NotificationClickMessage, NotificationDeliveryPath, NotificationPermissionState, NotificationRef, Notifications, NullableElementDimensions, NumberBreakpointSignal, OnThemeColorMap, OpenGraph, OpenGraphConfig, OverlayRuntimeAnchoredPosition, OverlayRuntimeAnimationDelegate, OverlayRuntimeAnimationDelegateEnterContext, OverlayRuntimeAnimationDelegateLeaveContext, OverlayRuntimeAutoFocusTarget, OverlayRuntimeCenteredPosition, OverlayRuntimeCloseEvent, OverlayRuntimeCloseGuard, OverlayRuntimeCloseSource, OverlayRuntimeComponentBase, OverlayRuntimeElements, OverlayRuntimeGlobalPosition, OverlayRuntimeGlobalPositionAlignment, OverlayRuntimeMountConfig, OverlayRuntimePositionStrategy, OverlayRuntimeRef, OverlayRuntimeRole, OverlayRuntimeShiftOptions, OverlayRuntimeState, PropHandlers, Props, PropsAttachedElements, PropsAttachedElementsInternal, PropsInternal, ProviderDefinition, ProviderDefinitionOptions, RegisteredColorThemeName, RegisteredSurfaceThemeName, ResizeEdge, ResizeMoveEvent, ResourceHintsConfig, RobotsConfig, RouterDisableScrollTopConfig, RouterState, ScrollContainerTarget, ScrollItemTarget, ScrollRestorationRestoreConfig, ScrollRestorationScrollElement, ScrollSnapOrigin, ScrollSnapTarget, ScrollToElementOptions, SeoConfig, SetupScrollRestorationConfig, ShowNotificationConfig, SignalAnimatedNumberOptions, SignalElementBindingComplexType, SignalElementBindingType, SignalElementChildrenOptions, SignalElementIntersectionOptions, SignalElementScrollStateOptions, SocialMediaConfig, StaticProviderDefinition, StringTemplate, StructuredDataConfig, StyleManager, SurfaceContextEntry, SurfaceContextSurface, SurfaceContextTracker, SurfaceInteractionColor, SurfaceTheme, SurfaceThemeColor, SurfaceType, SwipeEndEvent, SwipeTracker, SwipeUpdateEvent, SyncSignalOptions, TemplateRefWithContext, ThemeColor, ThemeColorMap, ThemeHSLColor, ThemeInkColorMap, ThemeRGBColor, ThemeSwatch, TitleConfig, TitlePart, Translatable, TwitterCard, TwitterCardConfig, TypedBreakpointSignal, UnbindPropsOptions, UnsavedChangesAbandonReason, UnsavedChangesConfirmContext, UnsavedChangesConfirmFn, UnsavedChangesGuardRef, UnsavedChangesRegistration, UnsavedChangesSource, UnsavedChangesTabConfig, UnsavedChangesTabLockRef, UnsavedChangesTrackerRef, ValidateAtLeastOneRequiredConfig, Vec2, ViewportConfig };
|