@gpichot/spectacle-deck 1.1.6 → 1.2.0
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/SlideWrapper.d.ts +7 -0
- package/colors.d.ts +14 -0
- package/components/QRCode.d.ts +6 -0
- package/components/Timeline.styled.d.ts +5 -5
- package/components/map.d.ts +2 -0
- package/components/styled.d.ts +5 -5
- package/context.d.ts +11 -0
- package/index.cjs +325 -199
- package/index.d.ts +30 -7
- package/index.mjs +316 -190
- package/layouts/BaseLayout.d.ts +1 -1
- package/layouts/SectionLayout.d.ts +1 -1
- package/layouts/SideImageLayout.d.ts +2 -1
- package/layouts/index.d.ts +3 -2
- package/layouts/styled.d.ts +1 -1
- package/package.json +9 -8
package/layouts/BaseLayout.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import React from "react";
|
|
|
2
2
|
export declare const BaseLayout: ({ children, title, ...otherProps }: {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
title?: React.ReactNode;
|
|
5
|
-
} & Omit<
|
|
5
|
+
} & Omit<React.ComponentPropsWithoutRef<"div">, "title">) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const SectionLayout: import("styled-components").
|
|
2
|
+
export declare const SectionLayout: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const SidedImageLayout: ({ children, image, position, height, }: {
|
|
2
|
+
export declare const SidedImageLayout: ({ children, image, position, height, ratio: ratioProp, }: {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
image?: string;
|
|
5
5
|
position?: "left" | "right";
|
|
6
|
+
ratio?: string;
|
|
6
7
|
height?: number;
|
|
7
8
|
}) => React.JSX.Element;
|
package/layouts/index.d.ts
CHANGED
|
@@ -13,13 +13,14 @@ declare const _default: {
|
|
|
13
13
|
}) => import("react").JSX.Element;
|
|
14
14
|
quote: typeof QuoteLayout;
|
|
15
15
|
sidedCode: typeof SidedCodeLayout;
|
|
16
|
-
sidedImage: ({ children, image, position, height, }: {
|
|
16
|
+
sidedImage: ({ children, image, position, height, ratio: ratioProp, }: {
|
|
17
17
|
children: import("react").ReactNode;
|
|
18
18
|
image?: string;
|
|
19
19
|
position?: "left" | "right";
|
|
20
|
+
ratio?: string;
|
|
20
21
|
height?: number;
|
|
21
22
|
}) => import("react").JSX.Element;
|
|
22
23
|
side: typeof SideLayout;
|
|
23
|
-
section: import("styled-components").
|
|
24
|
+
section: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
24
25
|
};
|
|
25
26
|
export default _default;
|
package/layouts/styled.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const SVGObject: import("styled-components").
|
|
2
|
+
export declare const SVGObject: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>, never>> & string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpichot/spectacle-deck",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.cjs",
|
|
@@ -17,14 +17,15 @@
|
|
|
17
17
|
"spectacle"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@fontsource/bitter": "^5.0.
|
|
21
|
-
"@mdx-js/react": "^3.0.
|
|
22
|
-
"
|
|
23
|
-
"react
|
|
24
|
-
"react-
|
|
20
|
+
"@fontsource/bitter": "^5.0.18",
|
|
21
|
+
"@mdx-js/react": "^3.0.1",
|
|
22
|
+
"qr-creator": "^1.0.0",
|
|
23
|
+
"react": "^18.3.1",
|
|
24
|
+
"react-dom": "^18.3.1",
|
|
25
|
+
"react-is": "^18.3.1",
|
|
25
26
|
"react-spring": "^9.7.3",
|
|
26
27
|
"react-syntax-highlighter": "^15.5.0",
|
|
27
|
-
"spectacle": "^10.1.
|
|
28
|
-
"styled-components": "^6.1.
|
|
28
|
+
"spectacle": "^10.1.8",
|
|
29
|
+
"styled-components": "^6.1.11"
|
|
29
30
|
}
|
|
30
31
|
}
|