dak-krds 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/README.md +153 -15
- package/dist/index.css +4057 -0
- package/dist/index.css.map +1 -0
- package/dist/index.js +7642 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7507 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +54 -12
- package/dist/index.d.mts +0 -73
- package/dist/index.d.ts +0 -73
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dak-krds",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "DAK React UI Component Design System",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -30,24 +30,66 @@
|
|
|
30
30
|
"design-system",
|
|
31
31
|
"typescript"
|
|
32
32
|
],
|
|
33
|
-
"author": "
|
|
33
|
+
"author": "TeamJeff",
|
|
34
|
+
"contributors": [
|
|
35
|
+
{
|
|
36
|
+
"name": "SUBIN",
|
|
37
|
+
"url": "https://github.com/Da1re"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "yo-ong",
|
|
41
|
+
"url": "https://github.com/yo-ong"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "imdam2",
|
|
45
|
+
"url": "https://github.com/imdam2"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "jiyoon",
|
|
49
|
+
"url": "https://github.com/yCZwIqY"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "안진형",
|
|
53
|
+
"url": "https://github.com/AnJinHyeong"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "ranyoung.kim",
|
|
57
|
+
"url": "https://github.com/fks1311"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "jeffkim",
|
|
61
|
+
"url": "https://github.com/jeff0410"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
34
64
|
"license": "MIT",
|
|
35
65
|
"peerDependencies": {
|
|
36
|
-
"react": ">=
|
|
37
|
-
"react-dom": ">=
|
|
66
|
+
"react": ">=19.0.0",
|
|
67
|
+
"react-dom": ">=19.0.0"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@js-joda/core": "^5.6.3",
|
|
71
|
+
"lodash-es": "^4.17.21",
|
|
72
|
+
"@mui/material": "^6.3.1",
|
|
73
|
+
"@fullcalendar/daygrid": "^6.1.15",
|
|
74
|
+
"@fullcalendar/interaction": "^6.1.15",
|
|
75
|
+
"@fullcalendar/react": "^6.1.15",
|
|
76
|
+
"material-react-table": "^3.2.1"
|
|
38
77
|
},
|
|
39
78
|
"devDependencies": {
|
|
40
|
-
"@
|
|
41
|
-
"@types/
|
|
42
|
-
"@types/
|
|
43
|
-
"react": "^
|
|
44
|
-
"react-dom": "^
|
|
45
|
-
"
|
|
46
|
-
"
|
|
79
|
+
"@svgr/core": "^8.1.0",
|
|
80
|
+
"@types/lodash-es": "^4.17.12",
|
|
81
|
+
"@types/node": "^22.10.7",
|
|
82
|
+
"@types/react": "^19.0.7",
|
|
83
|
+
"@types/react-dom": "^19.0.3",
|
|
84
|
+
"esbuild-plugin-svgr": "^2.1.0",
|
|
85
|
+
"react": "^19.2.3",
|
|
86
|
+
"react-dom": "^19.2.3",
|
|
87
|
+
"tsup": "^8.3.0",
|
|
88
|
+
"typescript": "^5.9.3"
|
|
47
89
|
},
|
|
48
90
|
"repository": {
|
|
49
91
|
"type": "git",
|
|
50
92
|
"url": "git+https://github.com/jeff0410/dak-krds.git"
|
|
51
93
|
},
|
|
52
94
|
"packageManager": "pnpm@10.13.1+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad"
|
|
53
|
-
}
|
|
95
|
+
}
|
package/dist/index.d.mts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React$1 from 'react';
|
|
3
|
-
|
|
4
|
-
interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
5
|
-
variant?: 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
6
|
-
size?: 'small' | 'medium' | 'large';
|
|
7
|
-
children: React$1.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
declare function Badge({ variant, size, className, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
10
|
-
|
|
11
|
-
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
12
|
-
variant?: 'primary' | 'secondary' | 'outline';
|
|
13
|
-
size?: 'small' | 'medium' | 'large';
|
|
14
|
-
children: React$1.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
declare function Button({ variant, size, className, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
17
|
-
|
|
18
|
-
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
19
|
-
variant?: 'default' | 'bordered' | 'elevated';
|
|
20
|
-
padding?: 'none' | 'small' | 'medium' | 'large';
|
|
21
|
-
children: React$1.ReactNode;
|
|
22
|
-
}
|
|
23
|
-
declare function Card({ variant, padding, className, children, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
24
|
-
|
|
25
|
-
interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
26
|
-
label?: string;
|
|
27
|
-
error?: string;
|
|
28
|
-
}
|
|
29
|
-
declare function Checkbox({ label, error, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
30
|
-
|
|
31
|
-
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
32
|
-
label?: string;
|
|
33
|
-
error?: string;
|
|
34
|
-
helperText?: string;
|
|
35
|
-
}
|
|
36
|
-
declare function Input({ label, error, helperText, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
37
|
-
|
|
38
|
-
interface SelectOption {
|
|
39
|
-
value: string;
|
|
40
|
-
label: string;
|
|
41
|
-
}
|
|
42
|
-
interface SelectProps extends React$1.SelectHTMLAttributes<HTMLSelectElement> {
|
|
43
|
-
label?: string;
|
|
44
|
-
error?: string;
|
|
45
|
-
helperText?: string;
|
|
46
|
-
options: SelectOption[];
|
|
47
|
-
}
|
|
48
|
-
declare function Select({ label, error, helperText, options, className, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
49
|
-
|
|
50
|
-
interface SwitchProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
51
|
-
label?: string;
|
|
52
|
-
}
|
|
53
|
-
declare function Switch({ label, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
|
|
55
|
-
interface UseSwitchProps {
|
|
56
|
-
checked?: boolean;
|
|
57
|
-
defaultChecked?: boolean;
|
|
58
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
59
|
-
}
|
|
60
|
-
declare const useSwitch: ({ checked: controlledChecked, defaultChecked, onChange }: UseSwitchProps) => {
|
|
61
|
-
checked: boolean;
|
|
62
|
-
handleChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
66
|
-
label?: string;
|
|
67
|
-
error?: string;
|
|
68
|
-
helperText?: string;
|
|
69
|
-
resize?: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
70
|
-
}
|
|
71
|
-
declare function TextArea({ label, error, helperText, resize, className, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
72
|
-
|
|
73
|
-
export { Badge, type BadgeProps, Button, type ButtonProps, Card, type CardProps, Checkbox, type CheckboxProps, Input, type InputProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, TextArea, type TextAreaProps, useSwitch };
|
package/dist/index.d.ts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React$1 from 'react';
|
|
3
|
-
|
|
4
|
-
interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
5
|
-
variant?: 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
6
|
-
size?: 'small' | 'medium' | 'large';
|
|
7
|
-
children: React$1.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
declare function Badge({ variant, size, className, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
10
|
-
|
|
11
|
-
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
12
|
-
variant?: 'primary' | 'secondary' | 'outline';
|
|
13
|
-
size?: 'small' | 'medium' | 'large';
|
|
14
|
-
children: React$1.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
declare function Button({ variant, size, className, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
17
|
-
|
|
18
|
-
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
19
|
-
variant?: 'default' | 'bordered' | 'elevated';
|
|
20
|
-
padding?: 'none' | 'small' | 'medium' | 'large';
|
|
21
|
-
children: React$1.ReactNode;
|
|
22
|
-
}
|
|
23
|
-
declare function Card({ variant, padding, className, children, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
24
|
-
|
|
25
|
-
interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
26
|
-
label?: string;
|
|
27
|
-
error?: string;
|
|
28
|
-
}
|
|
29
|
-
declare function Checkbox({ label, error, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
30
|
-
|
|
31
|
-
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
32
|
-
label?: string;
|
|
33
|
-
error?: string;
|
|
34
|
-
helperText?: string;
|
|
35
|
-
}
|
|
36
|
-
declare function Input({ label, error, helperText, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
37
|
-
|
|
38
|
-
interface SelectOption {
|
|
39
|
-
value: string;
|
|
40
|
-
label: string;
|
|
41
|
-
}
|
|
42
|
-
interface SelectProps extends React$1.SelectHTMLAttributes<HTMLSelectElement> {
|
|
43
|
-
label?: string;
|
|
44
|
-
error?: string;
|
|
45
|
-
helperText?: string;
|
|
46
|
-
options: SelectOption[];
|
|
47
|
-
}
|
|
48
|
-
declare function Select({ label, error, helperText, options, className, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
49
|
-
|
|
50
|
-
interface SwitchProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
51
|
-
label?: string;
|
|
52
|
-
}
|
|
53
|
-
declare function Switch({ label, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
54
|
-
|
|
55
|
-
interface UseSwitchProps {
|
|
56
|
-
checked?: boolean;
|
|
57
|
-
defaultChecked?: boolean;
|
|
58
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
59
|
-
}
|
|
60
|
-
declare const useSwitch: ({ checked: controlledChecked, defaultChecked, onChange }: UseSwitchProps) => {
|
|
61
|
-
checked: boolean;
|
|
62
|
-
handleChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
66
|
-
label?: string;
|
|
67
|
-
error?: string;
|
|
68
|
-
helperText?: string;
|
|
69
|
-
resize?: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
70
|
-
}
|
|
71
|
-
declare function TextArea({ label, error, helperText, resize, className, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
72
|
-
|
|
73
|
-
export { Badge, type BadgeProps, Button, type ButtonProps, Card, type CardProps, Checkbox, type CheckboxProps, Input, type InputProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, TextArea, type TextAreaProps, useSwitch };
|