kdpa-components 0.0.6 → 0.0.8
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/components/Accordion/index.d.ts.map +1 -0
- package/dist/{Accordion → components/Accordion}/index.js +1 -1
- package/dist/components/Alert/index.d.ts.map +1 -0
- package/dist/{Alert → components/Alert}/index.js +1 -1
- package/package.json +2 -2
- package/dist/Accordion/index.d.ts.map +0 -1
- package/dist/Alert/index.d.ts.map +0 -1
- package/tsconfig.json +0 -43
- package/tsconfig.node.json +0 -10
- package/vite.config.ts +0 -106
- /package/dist/{Accordion → components/Accordion}/index.d.ts +0 -0
- /package/dist/{Alert → components/Alert}/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,kBAAkB,CAAC;AAE1B,YAAY,EACV,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as e, _ as Ne, a as W, T as ue, g as Q, b as Y, s as N, c as p, u as Z, d as Se, e as Ae, j as h, f as P, h as De, i as ee, k as Oe, l as we, m as $e, r as Me, B as je } from "
|
|
1
|
+
import { P as e, _ as Ne, a as W, T as ue, g as Q, b as Y, s as N, c as p, u as Z, d as Se, e as Ae, j as h, f as P, h as De, i as ee, k as Oe, l as we, m as $e, r as Me, B as je } from "../../ButtonBase-5ef58bca.js";
|
|
2
2
|
import * as u from "react";
|
|
3
3
|
import X from "react";
|
|
4
4
|
import K from "react-dom";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE7D,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as I, c as i, n as ro, o as so, g as S, b as j, s as C, p as h, u as B, j as a, f as M, P as e, i as R, B as lo, q as W, m as ao, l as io, t as L, v as V } from "
|
|
1
|
+
import { a as I, c as i, n as ro, o as so, g as S, b as j, s as C, p as h, u as B, j as a, f as M, P as e, i as R, B as lo, q as W, m as ao, l as io, t as L, v as V } from "../../ButtonBase-5ef58bca.js";
|
|
2
2
|
import * as $ from "react";
|
|
3
3
|
import { forwardRef as co } from "react";
|
|
4
4
|
const po = ["sx"], uo = (o) => {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,kBAAkB,CAAC;AAE1B,YAAY,EACV,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE7D,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
package/tsconfig.json
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// "target": "ESNext",
|
|
4
|
-
// "lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
5
|
-
// "module": "ESNext",
|
|
6
|
-
// "skipLibCheck": true,
|
|
7
|
-
|
|
8
|
-
// /* Bundler mode */
|
|
9
|
-
// "moduleResolution": "bundler",
|
|
10
|
-
// "allowImportingTsExtensions": true,
|
|
11
|
-
// "resolveJsonModule": true,
|
|
12
|
-
// "isolatedModules": true,
|
|
13
|
-
// "noEmit": true,
|
|
14
|
-
// "jsx": "react-jsx",
|
|
15
|
-
|
|
16
|
-
// /* Linting */
|
|
17
|
-
// "strict": true,
|
|
18
|
-
// "noUnusedLocals": true,
|
|
19
|
-
// "noUnusedParameters": true,
|
|
20
|
-
// "noFallthroughCasesInSwitch": true
|
|
21
|
-
|
|
22
|
-
"target": "ESNext",
|
|
23
|
-
"useDefineForClassFields": true,
|
|
24
|
-
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
25
|
-
"allowJs": false,
|
|
26
|
-
"allowSyntheticDefaultImports": true,
|
|
27
|
-
"strict": true,
|
|
28
|
-
"forceConsistentCasingInFileNames": true,
|
|
29
|
-
"module": "ESNext",
|
|
30
|
-
"moduleResolution": "Node",
|
|
31
|
-
"resolveJsonModule": true,
|
|
32
|
-
"isolatedModules": true,
|
|
33
|
-
"noEmit": true,
|
|
34
|
-
"jsx": "react-jsx",
|
|
35
|
-
"declaration": true,
|
|
36
|
-
"skipLibCheck": true,
|
|
37
|
-
"esModuleInterop": true ,
|
|
38
|
-
"declarationMap": true,
|
|
39
|
-
"baseUrl": ".",
|
|
40
|
-
},
|
|
41
|
-
"include": ["src"],
|
|
42
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
43
|
-
}
|
package/tsconfig.node.json
DELETED
package/vite.config.ts
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vite";
|
|
2
|
-
import react from "@vitejs/plugin-react";
|
|
3
|
-
import dts from "vite-plugin-dts";
|
|
4
|
-
import tsConfigPaths from "vite-tsconfig-paths";
|
|
5
|
-
|
|
6
|
-
import path, { resolve } from "node:path";
|
|
7
|
-
|
|
8
|
-
import glob from "glob";
|
|
9
|
-
import { fileURLToPath } from "node:url";
|
|
10
|
-
|
|
11
|
-
// https://vitejs.dev/config/
|
|
12
|
-
export default defineConfig({
|
|
13
|
-
plugins: [
|
|
14
|
-
// tsConfigPaths(),
|
|
15
|
-
dts({
|
|
16
|
-
include: ["src/components/**/*.ts"],
|
|
17
|
-
// outputDir: "./build",
|
|
18
|
-
// insertTypesEntry: true,
|
|
19
|
-
}),
|
|
20
|
-
react(),
|
|
21
|
-
],
|
|
22
|
-
|
|
23
|
-
build: {
|
|
24
|
-
// outDir: "./build",
|
|
25
|
-
|
|
26
|
-
lib: {
|
|
27
|
-
// entry: resolve("src", "components/index.ts"),
|
|
28
|
-
entry: Object.fromEntries(
|
|
29
|
-
glob.sync("src/components/**/*index.ts").map((file) => [
|
|
30
|
-
// This remove `src/` as well as the file extension from each
|
|
31
|
-
// file, so e.g. src/nested/foo.js becomes nested/foo
|
|
32
|
-
// path.relative(
|
|
33
|
-
// "src/components",
|
|
34
|
-
// file.slice(0, file.length - path.extname(file).length)
|
|
35
|
-
// ),
|
|
36
|
-
file,
|
|
37
|
-
// This expands the relative paths to absolute paths, so e.g.
|
|
38
|
-
// src/nested/foo becomes /project/src/nested/foo.js
|
|
39
|
-
fileURLToPath(new URL(file, import.meta.url)),
|
|
40
|
-
])
|
|
41
|
-
),
|
|
42
|
-
// entry: glob.sync("src/components/**/index.ts"),
|
|
43
|
-
|
|
44
|
-
name: "KdpaComponents",
|
|
45
|
-
|
|
46
|
-
formats: ["es"],
|
|
47
|
-
// fileName: (_, name) => {
|
|
48
|
-
// const filePath = name.split("/").slice(1, -1).join("/");
|
|
49
|
-
|
|
50
|
-
// console.log("name", filePath);
|
|
51
|
-
// return `${filePath}/index.js`;
|
|
52
|
-
// },
|
|
53
|
-
|
|
54
|
-
fileName: (_, name) => {
|
|
55
|
-
const path = name.split("/").slice(2).join("/").split(".")[0];
|
|
56
|
-
return `${path}.js`;
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
rollupOptions: {
|
|
61
|
-
external: ["react", "react-dom"],
|
|
62
|
-
|
|
63
|
-
input: Object.fromEntries(
|
|
64
|
-
glob.sync("src/components/**/index.ts").map((file) => [
|
|
65
|
-
// This remove `src/` as well as the file extension from each
|
|
66
|
-
// file, so e.g. src/nested/foo.js becomes nested/foo
|
|
67
|
-
// path.relative(
|
|
68
|
-
// "src/components",
|
|
69
|
-
// file.slice(0, file.length - path.extname(file).length)
|
|
70
|
-
// ),
|
|
71
|
-
file,
|
|
72
|
-
// This expands the relative paths to absolute paths, so e.g.
|
|
73
|
-
// src/nested/foo becomes /project/src/nested/foo.js
|
|
74
|
-
fileURLToPath(new URL(file, import.meta.url)),
|
|
75
|
-
])
|
|
76
|
-
),
|
|
77
|
-
// input: glob.sync("src/components/**/index.ts"),
|
|
78
|
-
output: {
|
|
79
|
-
inlineDynamicImports: false,
|
|
80
|
-
format: "es",
|
|
81
|
-
|
|
82
|
-
// entryFileNames: "[name].js",
|
|
83
|
-
// chunkFileNames: "[name].js",
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
minify: true,
|
|
88
|
-
},
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
// console.log(
|
|
92
|
-
// Object.fromEntries(
|
|
93
|
-
// glob.sync("src/components/**/index.ts").map((file) => [
|
|
94
|
-
// // This remove `src/` as well as the file extension from each
|
|
95
|
-
// // file, so e.g. src/nested/foo.js becomes nested/foo
|
|
96
|
-
// // path.relative(
|
|
97
|
-
// // "src/components",
|
|
98
|
-
// // file.slice(0, file.length - path.extname(file).length)
|
|
99
|
-
// // ),
|
|
100
|
-
// file,
|
|
101
|
-
// // This expands the relative paths to absolute paths, so e.g.
|
|
102
|
-
// // src/nested/foo becomes /project/src/nested/foo.js
|
|
103
|
-
// fileURLToPath(new URL(file, import.meta.url)),
|
|
104
|
-
// ])
|
|
105
|
-
// )
|
|
106
|
-
// );
|
|
File without changes
|
|
File without changes
|