@julseb-lib/react 0.0.70 → 0.0.71
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.cjs.js +1538 -1519
- package/dist/index.es.js +11046 -9771
- package/dist/index.umd.js +1463 -1444
- package/dist/lib/components/Helmet/Helmet.tsx +2 -4
- package/package.json +4 -3
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/*=============================================== Helmet component ===============================================*/
|
|
2
2
|
|
|
3
|
-
import { Helmet as Meta
|
|
3
|
+
import { Helmet as Meta } from "react-helmet"
|
|
4
4
|
import type { ILibHelmet } from "./types"
|
|
5
5
|
|
|
6
|
-
const helmetData = new HelmetData({})
|
|
7
|
-
|
|
8
6
|
/**
|
|
9
7
|
* @description Returns a Helmet component
|
|
10
8
|
* @link https://documentation-components-react.vercel.app/components/helmet
|
|
@@ -34,7 +32,7 @@ export const Helmet = ({
|
|
|
34
32
|
...rest
|
|
35
33
|
}: ILibHelmet) => {
|
|
36
34
|
return (
|
|
37
|
-
<Meta
|
|
35
|
+
<Meta {...rest}>
|
|
38
36
|
<title>{title}</title>
|
|
39
37
|
<meta content="IE=edge" httpEquiv="X-UA-Compatible" />
|
|
40
38
|
<meta
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@julseb-lib/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.71",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"copy-lib": "cp -a ./src/lib ./dist && rm -rf ./dist/lib/components/*/__tests__ ./dist/lib/components/*/__preview__",
|
|
12
12
|
"clean": "rm -rf ./dist/icons ./dist/images ./dist/vite.svg ./dist/favicon.svg ./dist/icons-alt",
|
|
13
13
|
"plop": "cross-env NODE_OPTIONS='--import tsx' plop --plopfile=./plop/plopfile.ts",
|
|
14
|
+
"build": "",
|
|
14
15
|
"plop:c": "yarn plop component",
|
|
15
16
|
"plop:p": "yarn plop preview",
|
|
16
17
|
"plop:st": "yarn plop subtype",
|
|
@@ -18,7 +19,6 @@
|
|
|
18
19
|
"cy:open": "cypress open",
|
|
19
20
|
"cy:ct:run": "cypress run --component --browser electron",
|
|
20
21
|
"cy:ct:open": "cypress open --component --browser electron",
|
|
21
|
-
"build": "rm -rf ./dist && mkdir ./dist && tsc && vite build && yarn copy && yarn copy-lib && yarn clean",
|
|
22
22
|
"docgen": "react-docgen -o ./src/data/docgen.json ./src/lib/components/**/*.tsx",
|
|
23
23
|
"cssgen": "cssjson src/lib/index.css --output src/data/styles.json",
|
|
24
24
|
"check-errors": "tsc --noEmit"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"plop": "^4.0.1",
|
|
34
34
|
"react": "^18.3.1",
|
|
35
35
|
"react-dom": "^18.3.1",
|
|
36
|
-
"react-helmet
|
|
36
|
+
"react-helmet": "^6.1.0",
|
|
37
37
|
"react-inlinesvg": "^4.1.5",
|
|
38
38
|
"react-router-dom": "^6.28.0",
|
|
39
39
|
"react-syntax-highlighter": "^15.6.1",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@types/mocha": "^10.0.9",
|
|
49
49
|
"@types/react": "^18.3.12",
|
|
50
50
|
"@types/react-dom": "^18.3.1",
|
|
51
|
+
"@types/react-helmet": "^6.1.11",
|
|
51
52
|
"@types/react-inlinesvg": "^1.0.0",
|
|
52
53
|
"@types/react-router-dom": "^5.3.3",
|
|
53
54
|
"@types/react-syntax-highlighter": "^15.5.13",
|