@enhanced-dom/slides 0.1.0 → 0.1.1
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/components/scroll-top/scroll-top.style.pcss.d.ts +4 -4
- package/components/toc/heading2.component.js +1 -1
- package/components/toc/heading2.style.pcss.d.ts +4 -0
- package/package.json +9 -9
- package/components/toc/toc.style.pcss.d.ts +0 -4
- /package/components/toc/{toc.style.pcss → heading2.style.pcss} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const branding: string
|
|
2
|
-
export const brandingBack: string
|
|
3
|
-
export const brandingFront: string
|
|
4
|
-
export const scrollIcon: string
|
|
1
|
+
export const branding: string;
|
|
2
|
+
export const brandingBack: string;
|
|
3
|
+
export const brandingFront: string;
|
|
4
|
+
export const scrollIcon: string;
|
|
@@ -3,7 +3,7 @@ import { useCallback, useMemo, useState } from 'react';
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { faLink } from '@fortawesome/free-solid-svg-icons';
|
|
5
5
|
import { faClipboard } from '@fortawesome/free-regular-svg-icons';
|
|
6
|
-
import * as styles from './
|
|
6
|
+
import * as styles from './heading2.style.pcss';
|
|
7
7
|
import { Icon } from '../icon.component';
|
|
8
8
|
export const Heading2 = ({ children, id, className, ...forwarded }) => {
|
|
9
9
|
const anchorRef = id !== null && id !== void 0 ? id : children.toLowerCase().replace(/\s/, '-');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enhanced-dom/slides",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Basic building blocks for html slides",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"repository": "https://github.com/enhanced-dom/slides.git",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"main": "index.js",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@emotion/react": "^11.11.3",
|
|
12
|
-
"@enhanced-dom/fontawesome": "
|
|
13
|
-
"@enhanced-dom/gatsby-waves": "
|
|
14
|
-
"@enhanced-dom/icon": "
|
|
15
|
-
"@enhanced-dom/react": "
|
|
16
|
-
"@fontsource/montserrat": "^5.0.
|
|
17
|
-
"@fontsource/noto-serif": "^5.0.
|
|
12
|
+
"@enhanced-dom/fontawesome": "~0.2.0",
|
|
13
|
+
"@enhanced-dom/gatsby-waves": "~0.1.0",
|
|
14
|
+
"@enhanced-dom/icon": "~0.1.1",
|
|
15
|
+
"@enhanced-dom/react": "~0.1.0",
|
|
16
|
+
"@fontsource/montserrat": "^5.0.17",
|
|
17
|
+
"@fontsource/noto-serif": "^5.0.19",
|
|
18
18
|
"@mdx-js/react": "^3.0.1",
|
|
19
19
|
"@theme-ui/typography": "^0.16.2",
|
|
20
20
|
"deepmerge": "^4.3.1",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"typography-theme-wordpress-2016": "^0.16.19"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@enhanced-dom/lint": "
|
|
27
|
-
"@enhanced-dom/webpack": "
|
|
26
|
+
"@enhanced-dom/lint": "~0.1.4",
|
|
27
|
+
"@enhanced-dom/webpack": "~0.2.0",
|
|
28
28
|
"@types/lodash.pick": "^4.4.9",
|
|
29
29
|
"@types/react": "^17.0.75",
|
|
30
30
|
"@types/react-dom": "^17.0.25"
|
|
File without changes
|