@open-slide/core 1.13.4 → 1.13.5
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/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Locale, Plural } from "./types-DucrShh9.js";
|
|
2
2
|
import { OpenSlideConfig } from "./config-CvzwK0tq.js";
|
|
3
3
|
import { CSSProperties, ComponentType, HTMLAttributes, PropsWithChildren, ReactNode } from "react";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
4
6
|
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
5
7
|
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
6
|
-
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
7
|
-
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/app/components/image-placeholder.d.ts
|
|
10
10
|
type ImagePlaceholderProps = {
|
|
@@ -21,7 +21,7 @@ declare function ImagePlaceholder({
|
|
|
21
21
|
style,
|
|
22
22
|
className,
|
|
23
23
|
...rest
|
|
24
|
-
}: ImagePlaceholderProps):
|
|
24
|
+
}: ImagePlaceholderProps): react_jsx_runtime0.JSX.Element;
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/app/components/shared-element.d.ts
|
|
@@ -36,7 +36,7 @@ declare function unstable_SharedElement({
|
|
|
36
36
|
children,
|
|
37
37
|
className,
|
|
38
38
|
style
|
|
39
|
-
}: unstable_SharedElementProps):
|
|
39
|
+
}: unstable_SharedElementProps): react_jsx_runtime1.JSX.Element;
|
|
40
40
|
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region src/app/lib/design.d.ts
|
|
@@ -117,7 +117,7 @@ declare const CANVAS_HEIGHT = 1080;
|
|
|
117
117
|
type StepsProps = PropsWithChildren;
|
|
118
118
|
declare function Steps({
|
|
119
119
|
children
|
|
120
|
-
}: StepsProps):
|
|
120
|
+
}: StepsProps): react_jsx_runtime4.JSX.Element;
|
|
121
121
|
type StepProps = PropsWithChildren<{
|
|
122
122
|
duration?: number;
|
|
123
123
|
}>;
|
|
@@ -128,7 +128,7 @@ declare function Step({
|
|
|
128
128
|
children,
|
|
129
129
|
duration,
|
|
130
130
|
_revealed
|
|
131
|
-
}: InternalStepProps):
|
|
131
|
+
}: InternalStepProps): react_jsx_runtime5.JSX.Element;
|
|
132
132
|
|
|
133
133
|
//#endregion
|
|
134
134
|
export { CANVAS_HEIGHT, CANVAS_WIDTH, DesignFonts, DesignPalette, DesignSystem, DesignTypeScale, ImagePlaceholder, ImagePlaceholderProps, Locale, OpenSlideConfig, Page, Plural, SharedElementTransition, SlideMeta, SlideModule, SlideTransition, Step, StepProps, Steps, StepsProps, TransitionPhase, cssVarsToString, defaultDesign, designToCssVars, unstable_SharedElement, unstable_SharedElementProps, useSlidePageNumber };
|
package/package.json
CHANGED
|
@@ -145,6 +145,11 @@ export function SlidePreloadLayer({ pages, index, design, includeCurrent = false
|
|
|
145
145
|
inset: 0,
|
|
146
146
|
overflow: 'hidden',
|
|
147
147
|
visibility: 'hidden',
|
|
148
|
+
// Descendants can override inherited visibility back to visible —
|
|
149
|
+
// <Step> does exactly that on revealed steps. Group opacity can't be
|
|
150
|
+
// overridden from inside, and an opacity<1 ancestor also becomes the
|
|
151
|
+
// containing block for position:fixed content, so nothing escapes.
|
|
152
|
+
opacity: 0,
|
|
148
153
|
pointerEvents: 'none',
|
|
149
154
|
...(design ? designToCssVars(design) : {}),
|
|
150
155
|
}}
|