lkd-web-kit 0.0.1 → 0.0.2
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/{index4.js → contexts.es.js} +1 -1
- package/dist/{index5.cjs → hocs.cjs.js} +2 -0
- package/dist/{index5.js → hocs.es.js} +2 -0
- package/dist/{index.cjs → hooks.cjs.js} +2 -0
- package/dist/{index.js → hooks.es.js} +2 -0
- package/package.json +46 -98
- /package/dist/{index9.cjs → components.cjs.js} +0 -0
- /package/dist/{index9.js → components.es.js} +0 -0
- /package/dist/{index3.cjs → consts.cjs.js} +0 -0
- /package/dist/{index3.js → consts.es.js} +0 -0
- /package/dist/{index4.cjs → contexts.cjs.js} +0 -0
- /package/dist/{index7.cjs → form.cjs.js} +0 -0
- /package/dist/{index7.js → form.es.js} +0 -0
- /package/dist/{index6.cjs → mantine.cjs.js} +0 -0
- /package/dist/{index6.js → mantine.es.js} +0 -0
- /package/dist/{index2.cjs → types.cjs.js} +0 -0
- /package/dist/{index2.js → types.es.js} +0 -0
- /package/dist/{index8.cjs → utils.cjs.js} +0 -0
- /package/dist/{index8.js → utils.es.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { n as navigationExports } from './navigation-sZaWnl2V.js';
|
|
3
|
-
import { useState, useEffect,
|
|
3
|
+
import { createContext, useState, useEffect, useContext } from 'react';
|
|
4
4
|
|
|
5
5
|
const NavigationHistoryContext = createContext(null);
|
|
6
6
|
function NavigationHistoryProvider({ children }) {
|
|
@@ -4,7 +4,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4
4
|
|
|
5
5
|
const require$$1 = require('react/jsx-runtime');
|
|
6
6
|
const reactHookForm = require('react-hook-form');
|
|
7
|
+
require('@mantine/core');
|
|
7
8
|
const zodValidator = require('./zodValidator-Bx6RMGoL.cjs');
|
|
9
|
+
require('zod');
|
|
8
10
|
const require$$0 = require('react');
|
|
9
11
|
|
|
10
12
|
const withForm = (WrappedComponent, getControllerProps) => {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Controller } from 'react-hook-form';
|
|
3
|
+
import '@mantine/core';
|
|
3
4
|
import { z as zodValidator } from './zodValidator-ChEQ3cmF.js';
|
|
5
|
+
import 'zod';
|
|
4
6
|
import { useState, useEffect } from 'react';
|
|
5
7
|
|
|
6
8
|
const withForm = (WrappedComponent, getControllerProps) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lkd-web-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "A template for creating React component libraries with Vite.",
|
|
5
5
|
"author": "LKD",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,104 +8,52 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
|
-
"sideEffects": [
|
|
12
|
-
"**/*.css"
|
|
13
|
-
],
|
|
14
|
-
"main": "./dist/index.cjs",
|
|
15
|
-
"module": "./dist/index.js",
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
11
|
"exports": {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"require": {
|
|
64
|
-
"types": "./dist/hocs/index.d.ts",
|
|
65
|
-
"default": "./dist/hocs/index.cjs"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
"./hooks": {
|
|
70
|
-
"import": {
|
|
71
|
-
"types": "./dist/hooks/index.d.ts",
|
|
72
|
-
"default": "./dist/hooks/index.js"
|
|
73
|
-
},
|
|
74
|
-
"require": {
|
|
75
|
-
"types": "./dist/hooks/index.d.ts",
|
|
76
|
-
"default": "./dist/hooks/index.cjs"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"./mantine":{
|
|
80
|
-
"import": {
|
|
81
|
-
"types": "./dist/mantine/index.d.ts",
|
|
82
|
-
"default": "./dist/mantine/index.js"
|
|
83
|
-
},
|
|
84
|
-
"require": {
|
|
85
|
-
"types": "./dist/mantine/index.d.ts",
|
|
86
|
-
"default": "./dist/mantine/index.cjs"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"./utils": {
|
|
90
|
-
"import": {
|
|
91
|
-
"types": "./dist/utils/index.d.ts",
|
|
92
|
-
"default": "./dist/utils/index.js"
|
|
93
|
-
},
|
|
94
|
-
"require": {
|
|
95
|
-
"types": "./dist/utils/index.d.ts",
|
|
96
|
-
"default": "./dist/utils/index.cjs"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"./types": {
|
|
100
|
-
"import": {
|
|
101
|
-
"types": "./dist/types/index.d.ts",
|
|
102
|
-
"default": "./dist/types/index.js"
|
|
103
|
-
},
|
|
104
|
-
"require": {
|
|
105
|
-
"types": "./dist/types/index.d.ts",
|
|
106
|
-
"default": "./dist/types/index.cjs"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
12
|
+
"./components": {
|
|
13
|
+
"import": "./dist/components.es.js",
|
|
14
|
+
"require": "./dist/components.cjs.js",
|
|
15
|
+
"types": "./dist/components.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./consts": {
|
|
18
|
+
"import": "./dist/consts.es.js",
|
|
19
|
+
"require": "./dist/consts.cjs.js",
|
|
20
|
+
"types": "./dist/consts.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./contexts": {
|
|
23
|
+
"import": "./dist/contexts.es.js",
|
|
24
|
+
"require": "./dist/contexts.cjs.js",
|
|
25
|
+
"types": "./dist/contexts.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./form": {
|
|
28
|
+
"import": "./dist/form.es.js",
|
|
29
|
+
"require": "./dist/form.cjs.js",
|
|
30
|
+
"types": "./dist/form.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./hocs": {
|
|
33
|
+
"import": "./dist/hocs.es.js",
|
|
34
|
+
"require": "./dist/hocs.cjs.js",
|
|
35
|
+
"types": "./dist/hocs.d.ts"
|
|
36
|
+
},
|
|
37
|
+
"./hooks": {
|
|
38
|
+
"import": "./dist/hooks.es.js",
|
|
39
|
+
"require": "./dist/hooks.cjs.js",
|
|
40
|
+
"types": "./dist/hooks.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./mantine": {
|
|
43
|
+
"import": "./dist/mantine.es.js",
|
|
44
|
+
"require": "./dist/mantine.cjs.js",
|
|
45
|
+
"types": "./dist/mantine.d.ts"
|
|
46
|
+
},
|
|
47
|
+
"./utils": {
|
|
48
|
+
"import": "./dist/utils.es.js",
|
|
49
|
+
"require": "./dist/utils.cjs.js",
|
|
50
|
+
"types": "./dist/utils.d.ts"
|
|
51
|
+
},
|
|
52
|
+
"./types": {
|
|
53
|
+
"import": "./dist/types.es.js",
|
|
54
|
+
"require": "./dist/types.cjs.js",
|
|
55
|
+
"types": "./dist/types.d.ts"
|
|
56
|
+
}
|
|
109
57
|
},
|
|
110
58
|
"scripts": {
|
|
111
59
|
"test": "vitest run",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|