gov-ui-core 0.2.6-beta.9 → 0.2.6
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/.storybook/main.ts +36 -37
- package/.storybook/preview.tsx +27 -27
- package/@types/custom.d.ts +43 -43
- package/@types/styles.d.ts +3 -86
- package/README.md +46 -46
- package/build/App.d.ts +3 -3
- package/build/Main.d.ts +5 -5
- package/build/components/Button/DropdownButton.d.ts +15 -15
- package/build/components/Button/SwitchButton.d.ts +7 -7
- package/build/components/Button/index.d.ts +11 -11
- package/build/components/Button/styled.d.ts +10 -11
- package/build/components/Calendar/CalendarNavigation.d.ts +9 -9
- package/build/components/Calendar/constants.d.ts +2 -2
- package/build/components/Calendar/index.d.ts +11 -11
- package/build/components/Calendar/styled.d.ts +2 -2
- package/build/components/Carousel/ArrowButton.d.ts +7 -7
- package/build/components/Carousel/index.d.ts +14 -14
- package/build/components/Carousel/styled.d.ts +2 -2
- package/build/components/Directory/index.d.ts +32 -32
- package/build/components/Directory/styled.d.ts +6 -6
- package/build/components/EmptyBox/index.d.ts +8 -8
- package/build/components/EmptyBox/styled.d.ts +4 -4
- package/build/components/Form/Form.d.ts +21 -21
- package/build/components/Form/Group.d.ts +6 -6
- package/build/components/Form/Item.d.ts +22 -22
- package/build/components/Form/index.d.ts +14 -14
- package/build/components/Form/styled.d.ts +7 -7
- package/build/components/Header/ContentHeader.d.ts +15 -15
- package/build/components/Header/styled.d.ts +5 -5
- package/build/components/Icons/index.d.ts +14 -14
- package/build/components/Input/Checkbox.d.ts +19 -19
- package/build/components/Input/ErrorMessage.d.ts +8 -8
- package/build/components/Input/Input.d.ts +23 -23
- package/build/components/Input/InputNumber.d.ts +8 -8
- package/build/components/Input/Radio.d.ts +16 -16
- package/build/components/Input/Search.d.ts +13 -13
- package/build/components/Input/Select.d.ts +39 -40
- package/build/components/Input/TextArea.d.ts +15 -15
- package/build/components/Input/index.d.ts +19 -19
- package/build/components/Input/styled.d.ts +25 -25
- package/build/components/IntlText/index.d.ts +5 -5
- package/build/components/Loading/OverlayLoading.d.ts +10 -10
- package/build/components/Loading/Spinner.d.ts +9 -9
- package/build/components/Loading/styled.d.ts +10 -10
- package/build/components/Styled/mixins.d.ts +13 -13
- package/build/components/Styled/variable.d.ts +6 -6
- package/build/components/Table/AppendTable.d.ts +26 -26
- package/build/components/Table/AutoTooltip.d.ts +8 -8
- package/build/components/Table/TableBase.d.ts +16 -16
- package/build/components/Table/TableLoading.d.ts +9 -9
- package/build/components/Table/components/Pagination.d.ts +18 -18
- package/build/components/Table/components/PaginationItem.d.ts +9 -9
- package/build/components/Table/index.d.ts +27 -27
- package/build/components/Table/styled.d.ts +25 -25
- package/build/components/ThemeProvider.d.ts +16 -16
- package/build/globalStyle.d.ts +5 -5
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/modules.d.ts +23 -24
- package/build/pages/CreateTable.d.ts +20 -20
- package/build/pages/FormSample.d.ts +5 -5
- package/build/pages/Sample.d.ts +5 -5
- package/build/pages/Sample2.d.ts +5 -5
- package/build/pages/Sample3.d.ts +5 -5
- package/build/pages/Sample4.d.ts +5 -5
- package/build/pages/TableSample.d.ts +5 -5
- package/build/pages/sampleData.d.ts +59 -59
- package/build/reportWebVitals.d.ts +3 -3
- package/build/theme.d.ts +45 -3
- package/build/utils/customState.d.ts +28 -28
- package/build/utils/hookUtils.d.ts +16 -16
- package/build/utils/index.d.ts +35 -35
- package/config/env.js +104 -104
- package/config/getHttpsConfig.js +66 -66
- package/config/jest/babelTransform.js +29 -29
- package/config/jest/cssTransform.js +14 -14
- package/config/jest/fileTransform.js +40 -40
- package/config/modules.js +134 -134
- package/config/paths.js +77 -77
- package/config/webpack/persistentCache/createEnvironmentHash.js +9 -9
- package/config/webpack.config.js +756 -756
- package/config/webpack.prod.config.js +91 -91
- package/config/webpackDevServer.config.js +127 -127
- package/doctor-storybook.log +18 -0
- package/migration-storybook.log +98 -0
- package/package.json +215 -247
- package/public/index.html +43 -43
- package/public/manifest.json +25 -25
- package/public/robots.txt +3 -3
- package/scripts/build.js +217 -217
- package/scripts/start.js +154 -154
- package/scripts/test.js +52 -52
- package/tsconfig.json +34 -34
- package/.eslintrc.json +0 -54
- package/.husky/pre-commit +0 -4
- package/.prettierrc +0 -12
- package/.stylelintrc.json +0 -16
- package/build/20d0d451f31ed3b5c15f.woff +0 -1
- package/build/39285e8af490890e2df4.otf +0 -0
- package/build/3965b6176d1ce958b445.woff +0 -1
- package/build/508d69efb37042551458.woff +0 -1
- package/build/72ba455576ce8174ffa8.otf +0 -0
- package/build/a9ba4978d441af03cd27.woff +0 -1
- package/build/components/Button/constants.d.ts +0 -19
- package/build/components/Chip/constants.d.ts +0 -9
- package/build/components/Chip/index.d.ts +0 -12
- package/build/e65c7edcd47e3e9f5c99.otf +0 -0
- package/build/f7a8dce8dfc249d7e12b.otf +0 -0
- package/build/pages/ButtonSample.d.ts +0 -6
- package/build/pages/ChipSample.d.ts +0 -6
- package/build/pages/InputSample.d.ts +0 -6
- package/build/pages/TailwindSample.d.ts +0 -1
- package/postcss.config.js +0 -8
- package/tailwind.config.js +0 -185
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const BUTTON_CHILD_TYPE: {
|
|
2
|
-
NORMAL: string;
|
|
3
|
-
ICON: string;
|
|
4
|
-
TEXT_LEFT_ICON: string;
|
|
5
|
-
TEXT_RIGHT_ICON: string;
|
|
6
|
-
TEXT_SIDE_ICON: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const BUTTON_TYPE: {
|
|
9
|
-
PRIMARY: string;
|
|
10
|
-
SOLID: string;
|
|
11
|
-
SOLID_SECONDARY: string;
|
|
12
|
-
GRAY: string;
|
|
13
|
-
WHITE: string;
|
|
14
|
-
TRANSPARENT: string;
|
|
15
|
-
NO_BG: string;
|
|
16
|
-
NO_BG_GRAY: string;
|
|
17
|
-
OUTLINED_GRAY: string;
|
|
18
|
-
OUTLINED: string;
|
|
19
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React, { JSXElementConstructor, ReactElement, ReactNode, ReactPortal } from 'react';
|
|
2
|
-
interface IChipProps {
|
|
3
|
-
children?: ReactNode | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal;
|
|
4
|
-
childType?: string;
|
|
5
|
-
ctype?: 'status' | 'input' | 'filter';
|
|
6
|
-
shape?: 'square' | 'round';
|
|
7
|
-
status?: 'success' | 'error' | 'warning' | 'primary';
|
|
8
|
-
type?: 'on' | 'off';
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const Chip: React.FC<IChipProps>;
|
|
12
|
-
export default Chip;
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function TailwindSample(): import("react/jsx-runtime").JSX.Element;
|
package/postcss.config.js
DELETED
package/tailwind.config.js
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
/** @type {import('tailwindcss').Config} */
|
|
2
|
-
module.exports = {
|
|
3
|
-
content: [
|
|
4
|
-
"./pages/**/*.{js,ts,jsx,tsx}",
|
|
5
|
-
"./components/**/*.{js,ts,jsx,tsx}",
|
|
6
|
-
"./src/**/*.{js,jsx,ts,tsx}",
|
|
7
|
-
],
|
|
8
|
-
theme: {
|
|
9
|
-
extend: {
|
|
10
|
-
screens: {
|
|
11
|
-
'sm': '640px',
|
|
12
|
-
'md': '768px',
|
|
13
|
-
'lg': '1024px',
|
|
14
|
-
'xl': '1280px',
|
|
15
|
-
'2xl': '1536px',
|
|
16
|
-
},
|
|
17
|
-
colors: {
|
|
18
|
-
'black': {
|
|
19
|
-
'100': '#000000',
|
|
20
|
-
'80': 'rgba(0, 0, 0, 0.8)',
|
|
21
|
-
'60': 'rgba(0, 0, 0, 0.6)',
|
|
22
|
-
'40': 'rgba(0, 0, 0, 0.4)',
|
|
23
|
-
'20': 'rgba(0, 0, 0, 0.2)',
|
|
24
|
-
'10': 'rgba(0, 0, 0, 0.1)',
|
|
25
|
-
'05': 'rgba(0, 0, 0, 0.05)',
|
|
26
|
-
'02': 'rgba(0, 0, 0, 0.02)',
|
|
27
|
-
},
|
|
28
|
-
'white': {
|
|
29
|
-
'100': '#FFFFFF',
|
|
30
|
-
'80': 'rgba(255, 255, 255, 0.8)',
|
|
31
|
-
'60': 'rgba(255, 255, 255, 0.6)',
|
|
32
|
-
'40': 'rgba(255, 255, 255, 0.4)',
|
|
33
|
-
'20': 'rgba(255, 255, 255, 0.2)',
|
|
34
|
-
'10': 'rgba(255, 255, 255, 0.1)',
|
|
35
|
-
'05': 'rgba(255, 255, 255, 0.05)',
|
|
36
|
-
'02': 'rgba(255, 255, 255, 0.02)',
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
'primary': {
|
|
40
|
-
'100': '#2CBBB6',
|
|
41
|
-
'hover': '#28ACA7',
|
|
42
|
-
'active': '#259F9B',
|
|
43
|
-
'40': 'rgba(44, 187, 182, 0.4)',
|
|
44
|
-
'30': 'rgba(44, 187, 182, 0.3)',
|
|
45
|
-
'20': 'rgba(44, 187, 182, 0.2)',
|
|
46
|
-
'10': 'rgba(44, 187, 182, 0.1)',
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
'chart': {
|
|
50
|
-
'01': '#f66',
|
|
51
|
-
'02': '#f93',
|
|
52
|
-
'03': '#ffdd29',
|
|
53
|
-
'04': '#b4e17a',
|
|
54
|
-
'05': '#23c6eb',
|
|
55
|
-
'06': '#49e3e6',
|
|
56
|
-
'07': '#27a3dd',
|
|
57
|
-
'08': '#ecb9f9',
|
|
58
|
-
'09': '#f150b6',
|
|
59
|
-
'10': '#f487da',
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
'line': '#CCCCCC',
|
|
63
|
-
'line-disable': '#E5E5E5',
|
|
64
|
-
'bg': '#F2F2F2',
|
|
65
|
-
'transparent': 'rgba(255, 255, 255, 0)',
|
|
66
|
-
'error': '#EE5353',
|
|
67
|
-
'error-05': 'rgba(238, 83, 83, 0.05)',
|
|
68
|
-
'warning': '#FFA82E',
|
|
69
|
-
'warning-05': 'rgba(255, 168, 46, 0.05)',
|
|
70
|
-
'success': '#33C986',
|
|
71
|
-
'success-05': 'rgba(51, 201, 134, 0.05)',
|
|
72
|
-
'info': '#5DAAF7',
|
|
73
|
-
'info-05': 'rgba(93, 170, 247, 0.05)',
|
|
74
|
-
|
|
75
|
-
'facebook': '#4080FF',
|
|
76
|
-
'naver': '#03C75A',
|
|
77
|
-
'primary-guide1': '#00FFE0',
|
|
78
|
-
'primary-guide2': '#FA00FF',
|
|
79
|
-
|
|
80
|
-
'gradation': {
|
|
81
|
-
'vertical': {
|
|
82
|
-
'bg': 'linear-gradient(180deg, #b464c8 0%, #906eff 100%)'
|
|
83
|
-
},
|
|
84
|
-
'horizon': {
|
|
85
|
-
'bg': 'linear-gradient(90deg, #b464c8 0%, #906eff 100%)'
|
|
86
|
-
},
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
fontFamily: {
|
|
90
|
-
sans: ['Graphik', 'sans-serif'],
|
|
91
|
-
serif: ['Merriweather', 'serif'],
|
|
92
|
-
default: ['sans-serif', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto'],
|
|
93
|
-
NotoSans: ['NotoSans'],
|
|
94
|
-
NotoSansKR: ['NotoSansKR'],
|
|
95
|
-
NotoSansMono: ['NotoSansMono'],
|
|
96
|
-
},
|
|
97
|
-
/*dropShadow: {
|
|
98
|
-
'table': ['0px 0px 4px rgba(0,0,0,0.1)', '0px 5px 10px rgba(0,0,0,0.1)'],
|
|
99
|
-
},
|
|
100
|
-
boxShadow: {
|
|
101
|
-
'table': ['0px 0px 4px rgba(0,0,0,0.1)', '0px 5px 10px rgba(0,0,0,0.1)'],
|
|
102
|
-
'elevation-light-01': ['0px 1px 4px 0px rgba(0, 0, 0, 0.06)', '0px 3px 10px 0px rgba(0, 0, 0, 0.15)'],
|
|
103
|
-
'elevation-light-02': ['0px 2px 5px 0px rgba(0, 0, 0, 0.07)', '0px 6px 20px 0px rgba(0, 0, 0, 0.15)'],
|
|
104
|
-
'elevation-light-03': ['0px 3px 6px 0px rgba(0, 0, 0, 0.08)', '0px 9px 30px 0px rgba(0, 0, 0, 0.15)'],
|
|
105
|
-
'elevation-light-04': ['0px 4px 7px 0px rgba(0, 0, 0, 0.09)', '0px 12px 40px 0px rgba(0, 0, 0, 0.15)'],
|
|
106
|
-
'elevation-light-05': ['0px 5px 8px 0px rgba(0, 0, 0, 0.10)', '0px 15px 50px 0px rgba(0, 0, 0, 0.15)']
|
|
107
|
-
},
|
|
108
|
-
keyframes: {
|
|
109
|
-
'accordion-down': {
|
|
110
|
-
'from': {
|
|
111
|
-
'height': '0'
|
|
112
|
-
},
|
|
113
|
-
'to': {
|
|
114
|
-
'height': 'var(--radix-accordion-content-height)'
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
'accordion-up': {
|
|
118
|
-
'from': {
|
|
119
|
-
'height': 'var(--radix-accordion-content-height)'
|
|
120
|
-
},
|
|
121
|
-
'to': {
|
|
122
|
-
'height': '0'
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
'up-scales': {
|
|
126
|
-
'from': {
|
|
127
|
-
'transform': 'translateY(100vh)'
|
|
128
|
-
},
|
|
129
|
-
'to': {
|
|
130
|
-
'transform': 'translateY(0px)',
|
|
131
|
-
'transition': 'all 300ms ease 0s'
|
|
132
|
-
},
|
|
133
|
-
},
|
|
134
|
-
'down-scales': {
|
|
135
|
-
'from': {
|
|
136
|
-
'transform': 'translateY(0vh)'
|
|
137
|
-
},
|
|
138
|
-
'to': {
|
|
139
|
-
'transform': 'translateY(100px)',
|
|
140
|
-
'transition': 'all 300ms ease 0s'
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
'flip-up': {
|
|
144
|
-
'0%': {
|
|
145
|
-
'transform': 'rotateX(0)',
|
|
146
|
-
'transform-origin': 'top'
|
|
147
|
-
},
|
|
148
|
-
'100%': {
|
|
149
|
-
'transform': 'rotateX(-90deg)',
|
|
150
|
-
'transform-origin': 'top',
|
|
151
|
-
'visibility': 'hidden'
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
'flip-down': {
|
|
155
|
-
'0%': {
|
|
156
|
-
'transform': 'rotateX(-90deg)',
|
|
157
|
-
'transform-origin': 'top',
|
|
158
|
-
'visibility': 'visible'
|
|
159
|
-
},
|
|
160
|
-
'100%': {
|
|
161
|
-
'transform': 'rotateX(0)',
|
|
162
|
-
'transform-origin': 'top',
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
},
|
|
166
|
-
animation: {
|
|
167
|
-
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
168
|
-
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
169
|
-
'up-scale': 'up-scales 0.3s ease',
|
|
170
|
-
'down-scale': '0.3s down-scales ease',
|
|
171
|
-
'flip-up': {
|
|
172
|
-
'animation': 'flipUp ease 0.4s both',
|
|
173
|
-
'animation-direction': 'normal'
|
|
174
|
-
},
|
|
175
|
-
'flip-down': {
|
|
176
|
-
'animation': 'flipDown ease 0.4s both',
|
|
177
|
-
'animation-direction': 'normal'
|
|
178
|
-
}
|
|
179
|
-
},*/
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
plugins: [
|
|
183
|
-
require("tailwindcss-animate")
|
|
184
|
-
],
|
|
185
|
-
}
|