@ethlete/cdk 5.0.0-next.19 → 5.0.0-next.20
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 +6 -0
- package/fesm2022/ethlete-cdk.mjs +8 -8
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @ethlete/cdk
|
|
2
2
|
|
|
3
|
+
## 5.0.0-next.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3022](https://github.com/ethlete-io/ethdk/pull/3022) [`9431073`](https://github.com/ethlete-io/ethdk/commit/9431073bb693aa10bbb84d5196597cb2c4b7463f) Thanks [@github-actions](https://github.com/apps/github-actions)! - Overlays and menus now open on insecure origins (plain-HTTP pages on a LAN IP, not just `localhost`/HTTPS). Id generation used `crypto.randomUUID()`, which is `undefined` outside a secure context, so opening any dialog, sheet, anchored overlay or menu threw and only the backdrop appeared. A new `randomId()` helper in `@ethlete/core` uses `crypto.randomUUID()` when available and falls back to `getRandomValues` otherwise.
|
|
8
|
+
|
|
3
9
|
## 5.0.0-next.19
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/fesm2022/ethlete-cdk.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { map, switchMap, combineLatest, pairwise, tap, BehaviorSubject, filter,
|
|
|
8
8
|
import { __decorate, __metadata } from 'tslib';
|
|
9
9
|
import { AsyncPipe, NgComponentOutlet, Location, NgTemplateOutlet, NgClass, DOCUMENT as DOCUMENT$1, NgStyle } from '@angular/common';
|
|
10
10
|
import * as i1$1 from '@ethlete/core';
|
|
11
|
-
import { createStaticRootProvider, createComponentId, injectRenderer, IS_EMAIL, MUST_MATCH, IS_ARRAY_NOT_EMPTY, AT_LEAST_ONE_REQUIRED, createDestroy, equal, signalHostClasses, signalAttributes, signalHostAttributes, switchQueryListChanges, controlValueSignal, fromNextFrame, elementCanScroll, AnimatedLifecycleDirective, forceReflow, nextFrame, createRootProvider, injectBreakpointObserver, COLOR_PROVIDER, ProvideColorDirective, SURFACE_PROVIDER, ProvideSurfaceDirective, BOUNDARY_ELEMENT_TOKEN, ScrollObserverDirective, signalElementScrollState, ScrollObserverStartDirective, ScrollObserverEndDirective, provideBoundaryElement, applyHostListener, injectSurfaceThemes, injectSurfaceContextTracker, injectBoundaryElement, ANIMATED_LIFECYCLE_TOKEN, resolveSurfaceByElevation, setInputSignal, cloneFormGroup, getFormGroupValue, injectQueryParam, injectRoute, AnimatedIfDirective, injectObserveBreakpoint, syncSignal, createDocumentElementSignal, AnimatedOverlayDirective, typedBreakpointTransform, boolBreakpointTransform, numberBreakpointTransform, signalElementDimensions, createCanAnimateSignal, useCursorDragScroll, signalElementChildren, signalElementIntersection, signalClasses, signalHostStyles, signalStyles, getScrollSnapTarget, getScrollContainerTarget, getScrollItemTarget, getElementScrollCoordinates, provideBreakpointInstance, injectTemplateRef, signalHostElementScrollState, signalHostElementDimensions, createProvider, previousSignalValue, signalHostElementIntersection, injectHostElement, createFlipAnimation, isObject, getObjectProperty, RuntimeError, KeyPressManager, scrollToElement, ClickOutsideDirective, clamp, injectFocusVisibleTracker, inferMimeType, applyHostListeners, TypedQueryList } from '@ethlete/core';
|
|
11
|
+
import { createStaticRootProvider, createComponentId, injectRenderer, IS_EMAIL, MUST_MATCH, IS_ARRAY_NOT_EMPTY, AT_LEAST_ONE_REQUIRED, createDestroy, equal, signalHostClasses, signalAttributes, signalHostAttributes, switchQueryListChanges, controlValueSignal, fromNextFrame, elementCanScroll, AnimatedLifecycleDirective, forceReflow, nextFrame, createRootProvider, injectBreakpointObserver, COLOR_PROVIDER, ProvideColorDirective, SURFACE_PROVIDER, ProvideSurfaceDirective, BOUNDARY_ELEMENT_TOKEN, ScrollObserverDirective, signalElementScrollState, ScrollObserverStartDirective, ScrollObserverEndDirective, provideBoundaryElement, applyHostListener, injectSurfaceThemes, injectSurfaceContextTracker, injectBoundaryElement, ANIMATED_LIFECYCLE_TOKEN, resolveSurfaceByElevation, setInputSignal, cloneFormGroup, getFormGroupValue, injectQueryParam, injectRoute, AnimatedIfDirective, injectObserveBreakpoint, syncSignal, createDocumentElementSignal, randomId, AnimatedOverlayDirective, typedBreakpointTransform, boolBreakpointTransform, numberBreakpointTransform, signalElementDimensions, createCanAnimateSignal, useCursorDragScroll, signalElementChildren, signalElementIntersection, signalClasses, signalHostStyles, signalStyles, getScrollSnapTarget, getScrollContainerTarget, getScrollItemTarget, getElementScrollCoordinates, provideBreakpointInstance, injectTemplateRef, signalHostElementScrollState, signalHostElementDimensions, createProvider, previousSignalValue, signalHostElementIntersection, injectHostElement, createFlipAnimation, isObject, getObjectProperty, RuntimeError, KeyPressManager, scrollToElement, ClickOutsideDirective, clamp, injectFocusVisibleTracker, inferMimeType, applyHostListeners, TypedQueryList } from '@ethlete/core';
|
|
12
12
|
import * as i1$5 from '@angular/cdk/a11y';
|
|
13
13
|
import { FocusMonitor, FocusKeyManager, AriaDescriber, A11yModule } from '@angular/cdk/a11y';
|
|
14
14
|
import { AutofillMonitor } from '@angular/cdk/text-field';
|
|
@@ -8585,7 +8585,7 @@ const [provideAnchoredDialogStrategy, injectAnchoredDialogStrategy] = createRoot
|
|
|
8585
8585
|
const build = (config = {}) => {
|
|
8586
8586
|
const cfg = mergeOverlayBreakpointConfigs(defaults, config);
|
|
8587
8587
|
return {
|
|
8588
|
-
id:
|
|
8588
|
+
id: randomId(),
|
|
8589
8589
|
config: cfg,
|
|
8590
8590
|
onBeforeEnter: (context) => {
|
|
8591
8591
|
if (!context.origin || !cfg.applyTransformOrigin) {
|
|
@@ -8726,7 +8726,7 @@ const [provideBottomSheetStrategy, injectBottomSheetStrategy] = createRootProvid
|
|
|
8726
8726
|
dragToDismissRef?.unsubscribe();
|
|
8727
8727
|
};
|
|
8728
8728
|
return {
|
|
8729
|
-
id:
|
|
8729
|
+
id: randomId(),
|
|
8730
8730
|
config: cfg,
|
|
8731
8731
|
onBeforeEnter: (context) => context.containerInstance.animatedLifecycle.enter(),
|
|
8732
8732
|
onAfterEnter: (ctx) => attachDragToDismiss(ctx),
|
|
@@ -8772,7 +8772,7 @@ const [provideDialogStrategy, injectDialogStrategy] = createRootProvider(() => {
|
|
|
8772
8772
|
const build = (config = {}) => {
|
|
8773
8773
|
const cfg = mergeOverlayBreakpointConfigs(defaults, config);
|
|
8774
8774
|
return {
|
|
8775
|
-
id:
|
|
8775
|
+
id: randomId(),
|
|
8776
8776
|
config: cfg,
|
|
8777
8777
|
onBeforeEnter: (context) => context.containerInstance.animatedLifecycle.enter(),
|
|
8778
8778
|
onBeforeLeave: (context) => context.containerInstance.animatedLifecycle.leave(),
|
|
@@ -8821,7 +8821,7 @@ const [provideFullscreenDialogStrategy, injectFullscreenDialogStrategy] = create
|
|
|
8821
8821
|
const cfg = mergeOverlayBreakpointConfigs(defaults, config);
|
|
8822
8822
|
let animationState = null;
|
|
8823
8823
|
return {
|
|
8824
|
-
id:
|
|
8824
|
+
id: randomId(),
|
|
8825
8825
|
config: cfg,
|
|
8826
8826
|
onBeforeEnter: (context) => {
|
|
8827
8827
|
animationState = startFullscreenEnterAnimation(context, deps, cfg.applyTransformOrigin ?? true, false);
|
|
@@ -8903,7 +8903,7 @@ const [provideLeftSheetStrategy, injectLeftSheetStrategy] = createRootProvider((
|
|
|
8903
8903
|
dragToDismissRef?.unsubscribe();
|
|
8904
8904
|
};
|
|
8905
8905
|
return {
|
|
8906
|
-
id:
|
|
8906
|
+
id: randomId(),
|
|
8907
8907
|
config: cfg,
|
|
8908
8908
|
onBeforeEnter: (context) => context.containerInstance.animatedLifecycle.enter(),
|
|
8909
8909
|
onAfterEnter: (ctx) => attachDragToDismiss(ctx),
|
|
@@ -8967,7 +8967,7 @@ const [provideRightSheetStrategy, injectRightSheetStrategy] = createRootProvider
|
|
|
8967
8967
|
dragToDismissRef?.unsubscribe();
|
|
8968
8968
|
};
|
|
8969
8969
|
return {
|
|
8970
|
-
id:
|
|
8970
|
+
id: randomId(),
|
|
8971
8971
|
config: cfg,
|
|
8972
8972
|
onBeforeEnter: (context) => context.containerInstance.animatedLifecycle.enter(),
|
|
8973
8973
|
onAfterEnter: (ctx) => attachDragToDismiss(ctx),
|
|
@@ -9077,7 +9077,7 @@ const [provideTopSheetStrategy, injectTopSheetStrategy] = createRootProvider(()
|
|
|
9077
9077
|
dragToDismissRef?.unsubscribe();
|
|
9078
9078
|
};
|
|
9079
9079
|
return {
|
|
9080
|
-
id:
|
|
9080
|
+
id: randomId(),
|
|
9081
9081
|
config: cfg,
|
|
9082
9082
|
onBeforeEnter: (context) => context.containerInstance.animatedLifecycle.enter(),
|
|
9083
9083
|
onAfterEnter: (ctx) => attachDragToDismiss(ctx),
|