@julseb-lib/react 0.0.69 → 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.
@@ -1,10 +1,8 @@
1
1
  /*=============================================== Helmet component ===============================================*/
2
2
 
3
- import { Helmet as Meta, HelmetData } from "react-helmet-async"
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 helmetData={helmetData} {...rest}>
35
+ <Meta {...rest}>
38
36
  <title>{title}</title>
39
37
  <meta content="IE=edge" httpEquiv="X-UA-Compatible" />
40
38
  <meta
package/dist/lib/index.ts CHANGED
@@ -156,4 +156,4 @@ export * from "./components/DragList"
156
156
  export * from "./components/Fieldset"
157
157
  export * from "./components/Datepicker"
158
158
  export * from "./components/Timepicker"
159
- // prependHere
159
+ /* Prepend here - DO NOT REMOVE */
@@ -79,4 +79,4 @@ export * from "../components/Fieldset/types"
79
79
  export * from "../components/Datepicker/types"
80
80
  export * from "../components/Timepicker/types"
81
81
  export * from "../components/Link/types"
82
- // prependHere
82
+ /* Prepend here - DO NOT REMOVE */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@julseb-lib/react",
3
- "version": "0.0.69",
3
+ "version": "0.0.71",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -10,62 +10,63 @@
10
10
  "copy": "cp ./src/lib/index.css ./dist",
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
- "build": "rm -rf ./dist && mkdir ./dist && tsc && vite build && yarn copy && yarn copy-lib && yarn clean",
13
+ "plop": "cross-env NODE_OPTIONS='--import tsx' plop --plopfile=./plop/plopfile.ts",
14
+ "build": "",
15
+ "plop:c": "yarn plop component",
16
+ "plop:p": "yarn plop preview",
17
+ "plop:st": "yarn plop subtype",
14
18
  "cy": "cypress",
15
19
  "cy:open": "cypress open",
16
20
  "cy:ct:run": "cypress run --component --browser electron",
17
21
  "cy:ct:open": "cypress open --component --browser electron",
18
- "plop": "cross-env NODE_OPTIONS='--import tsx' plop --plopfile=./plop/plopfile.ts",
19
- "plop:c": "yarn run plop component",
20
- "plop:p": "yarn plop preview",
21
- "plop:st": "yarn plop subtype",
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"
25
25
  },
26
26
  "dependencies": {
27
- "@julseb-lib/utils": "^0.0.2",
27
+ "@julseb-lib/utils": "^0.0.9",
28
28
  "chalk": "^5.3.0",
29
29
  "classnames": "^2.5.1",
30
30
  "figlet": "^1.8.0",
31
31
  "fuse.js": "^7.0.0",
32
- "markdown-to-jsx": "^7.5.0",
32
+ "markdown-to-jsx": "^7.6.2",
33
+ "plop": "^4.0.1",
33
34
  "react": "^18.3.1",
34
35
  "react-dom": "^18.3.1",
35
- "react-helmet-async": "^2.0.5",
36
- "react-inlinesvg": "^4.1.3",
37
- "react-router-dom": "^6.26.1",
38
- "react-syntax-highlighter": "^15.5.0",
39
- "styled-components": "^6.1.12"
36
+ "react-helmet": "^6.1.0",
37
+ "react-inlinesvg": "^4.1.5",
38
+ "react-router-dom": "^6.28.0",
39
+ "react-syntax-highlighter": "^15.6.1",
40
+ "styled-components": "^6.1.13"
40
41
  },
41
42
  "devDependencies": {
42
- "@eslint/compat": "^1.1.1",
43
- "@eslint/js": "^9.9.1",
44
- "@react-docgen/cli": "^2.0.3",
43
+ "@eslint/compat": "^1.2.3",
44
+ "@eslint/js": "^9.15.0",
45
+ "@react-docgen/cli": "^2.0.4",
45
46
  "@types/figlet": "^1.7.0",
46
- "@types/jest": "^29.5.12",
47
- "@types/mocha": "^10.0.7",
48
- "@types/react": "^18.3.4",
49
- "@types/react-dom": "^18.3.0",
47
+ "@types/jest": "^29.5.14",
48
+ "@types/mocha": "^10.0.9",
49
+ "@types/react": "^18.3.12",
50
+ "@types/react-dom": "^18.3.1",
51
+ "@types/react-helmet": "^6.1.11",
50
52
  "@types/react-inlinesvg": "^1.0.0",
51
53
  "@types/react-router-dom": "^5.3.3",
52
54
  "@types/react-syntax-highlighter": "^15.5.13",
53
55
  "@types/styled-components": "^5.1.34",
54
- "@vitejs/plugin-react": "^4.3.1",
56
+ "@vitejs/plugin-react": "^4.3.3",
55
57
  "axios": "^1.7.7",
56
58
  "cross-env": "^7.0.3",
57
59
  "cssjson-cli": "^1.0.1",
58
- "cypress": "^13.13.3",
59
- "eslint": "^9.9.1",
60
- "eslint-plugin-react": "^7.35.0",
61
- "globals": "^15.9.0",
62
- "plop": "^4.0.1",
60
+ "cypress": "^13.15.2",
61
+ "eslint": "^9.15.0",
62
+ "eslint-plugin-react": "^7.37.2",
63
+ "globals": "^15.12.0",
63
64
  "tsx": "^4.19.2",
64
- "typescript": "^5.5.4",
65
- "typescript-eslint": "^8.3.0",
66
- "vite": "^5.4.2",
67
- "vite-plugin-checker": "^0.7.2",
68
- "vite-plugin-dts": "^4.0.3"
65
+ "typescript": "^5.6.3",
66
+ "typescript-eslint": "^8.14.0",
67
+ "vite": "^5.4.11",
68
+ "vite-plugin-checker": "^0.8.0",
69
+ "vite-plugin-dts": "^4.3.0"
69
70
  },
70
71
  "files": [
71
72
  "dist"