gov-ui-core 0.2.4 → 0.2.6-beta.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.
Files changed (92) hide show
  1. package/.eslintrc.json +54 -0
  2. package/.husky/pre-commit +4 -0
  3. package/.prettierrc +12 -0
  4. package/.storybook/main.ts +10 -9
  5. package/.stylelintrc.json +16 -0
  6. package/@types/styles.d.ts +82 -0
  7. package/build/1588accceb3200a24f55.svg +1 -0
  8. package/build/{src/components → components}/Button/DropdownButton.d.ts +1 -1
  9. package/build/components/Button/constants.d.ts +19 -0
  10. package/build/{src/components → components}/Button/index.d.ts +1 -1
  11. package/build/{src/components → components}/Button/styled.d.ts +5 -4
  12. package/build/components/Calendar/styled.d.ts +2 -0
  13. package/build/{src/components → components}/Carousel/index.d.ts +2 -2
  14. package/build/components/Carousel/styled.d.ts +2 -0
  15. package/build/{src/components → components}/Directory/styled.d.ts +2 -2
  16. package/build/{src/components → components}/EmptyBox/styled.d.ts +1 -1
  17. package/build/{src/components → components}/Form/Item.d.ts +2 -2
  18. package/build/{src/components → components}/Form/index.d.ts +3 -3
  19. package/build/{src/components → components}/Form/styled.d.ts +1 -1
  20. package/build/{src/components → components}/Header/styled.d.ts +1 -1
  21. package/build/{src/components → components}/Input/Checkbox.d.ts +1 -1
  22. package/build/{src/components → components}/Input/ErrorMessage.d.ts +1 -1
  23. package/build/{src/components → components}/Input/Input.d.ts +1 -1
  24. package/build/{src/components → components}/Input/InputNumber.d.ts +1 -1
  25. package/build/{src/components → components}/Input/Radio.d.ts +1 -1
  26. package/build/{src/components → components}/Input/Search.d.ts +1 -1
  27. package/build/{src/components → components}/Input/Select.d.ts +1 -1
  28. package/build/{src/components → components}/Input/TextArea.d.ts +1 -1
  29. package/build/components/Input/index.d.ts +19 -0
  30. package/build/{src/components → components}/Input/styled.d.ts +7 -7
  31. package/build/{src/components → components}/Loading/styled.d.ts +4 -4
  32. package/build/{src/components → components}/Styled/mixins.d.ts +3 -3
  33. package/build/{src/components → components}/Table/AppendTable.d.ts +1 -1
  34. package/build/{src/components → components}/Table/TableBase.d.ts +2 -2
  35. package/build/{src/components → components}/Table/styled.d.ts +6 -6
  36. package/build/components/TailwindTest/index.d.ts +6 -0
  37. package/build/{src/components → components}/ThemeProvider.d.ts +2 -2
  38. package/build/globalStyle.d.ts +5 -0
  39. package/build/index.d.ts +1 -0
  40. package/build/index.js +1 -1
  41. package/build/modules.d.ts +25 -0
  42. package/build/pages/ButtonSample.d.ts +6 -0
  43. package/build/{src/pages → pages}/CreateTable.d.ts +1 -1
  44. package/build/pages/InputSample.d.ts +6 -0
  45. package/build/pages/TailwindSample.d.ts +1 -0
  46. package/build/theme.d.ts +3 -0
  47. package/package.json +44 -11
  48. package/postcss.config.js +6 -0
  49. package/tailwind.config.js +184 -0
  50. package/tsconfig.json +1 -1
  51. package/build/.storybook/main.d.ts +0 -3
  52. package/build/.storybook/preview.d.ts +0 -3
  53. package/build/src/components/Calendar/styled.d.ts +0 -2
  54. package/build/src/components/Carousel/styled.d.ts +0 -2
  55. package/build/src/components/Input/index.d.ts +0 -19
  56. package/build/src/globalStyle.d.ts +0 -5
  57. package/build/src/index.d.ts +0 -1
  58. package/build/src/modules.d.ts +0 -23
  59. package/build/src/theme.d.ts +0 -45
  60. /package/build/{src/App.d.ts → App.d.ts} +0 -0
  61. /package/build/{src/Main.d.ts → Main.d.ts} +0 -0
  62. /package/build/{src/components → components}/Button/SwitchButton.d.ts +0 -0
  63. /package/build/{src/components → components}/Calendar/CalendarNavigation.d.ts +0 -0
  64. /package/build/{src/components → components}/Calendar/constants.d.ts +0 -0
  65. /package/build/{src/components → components}/Calendar/index.d.ts +0 -0
  66. /package/build/{src/components → components}/Carousel/ArrowButton.d.ts +0 -0
  67. /package/build/{src/components → components}/Directory/index.d.ts +0 -0
  68. /package/build/{src/components → components}/EmptyBox/index.d.ts +0 -0
  69. /package/build/{src/components → components}/Form/Form.d.ts +0 -0
  70. /package/build/{src/components → components}/Form/Group.d.ts +0 -0
  71. /package/build/{src/components → components}/Header/ContentHeader.d.ts +0 -0
  72. /package/build/{src/components → components}/Icons/index.d.ts +0 -0
  73. /package/build/{src/components → components}/IntlText/index.d.ts +0 -0
  74. /package/build/{src/components → components}/Loading/OverlayLoading.d.ts +0 -0
  75. /package/build/{src/components → components}/Loading/Spinner.d.ts +0 -0
  76. /package/build/{src/components → components}/Styled/variable.d.ts +0 -0
  77. /package/build/{src/components → components}/Table/AutoTooltip.d.ts +0 -0
  78. /package/build/{src/components → components}/Table/TableLoading.d.ts +0 -0
  79. /package/build/{src/components → components}/Table/components/Pagination.d.ts +0 -0
  80. /package/build/{src/components → components}/Table/components/PaginationItem.d.ts +0 -0
  81. /package/build/{src/components → components}/Table/index.d.ts +0 -0
  82. /package/build/{src/pages → pages}/FormSample.d.ts +0 -0
  83. /package/build/{src/pages → pages}/Sample.d.ts +0 -0
  84. /package/build/{src/pages → pages}/Sample2.d.ts +0 -0
  85. /package/build/{src/pages → pages}/Sample3.d.ts +0 -0
  86. /package/build/{src/pages → pages}/Sample4.d.ts +0 -0
  87. /package/build/{src/pages → pages}/TableSample.d.ts +0 -0
  88. /package/build/{src/pages → pages}/sampleData.d.ts +0 -0
  89. /package/build/{src/reportWebVitals.d.ts → reportWebVitals.d.ts} +0 -0
  90. /package/build/{src/utils → utils}/customState.d.ts +0 -0
  91. /package/build/{src/utils → utils}/hookUtils.d.ts +0 -0
  92. /package/build/{src/utils → utils}/index.d.ts +0 -0
@@ -0,0 +1,25 @@
1
+ import Button from './components/Button';
2
+ import Carousel from './components/Carousel';
3
+ import ContentHeader from './components/Header/ContentHeader';
4
+ import Directory from './components/Directory';
5
+ import DropdownButton from './components/Button/DropdownButton';
6
+ import EmptyBox from './components/EmptyBox';
7
+ import Form from './components/Form';
8
+ import Icons from './components/Icons';
9
+ import Input from './components/Input';
10
+ import ErrorMessage from './components/Input/ErrorMessage';
11
+ import AutoTooltip from './components/Table/AutoTooltip';
12
+ import OverlayLoading from './components/Loading/OverlayLoading';
13
+ import SwitchButton from './components/Button/SwitchButton';
14
+ import Table from './components/Table';
15
+ import TableBase from './components/Table/TableBase';
16
+ import Calendar from './components/Calendar';
17
+ import IntlText from './components/IntlText';
18
+ import AppendTable from './components/Table/AppendTable';
19
+ import TailwindTest from './components/TailwindTest';
20
+ import ThemeProvider from './components/ThemeProvider';
21
+ import { Methods } from './components/Form';
22
+ import defaultTheme from './theme';
23
+ import './css/globals.css';
24
+ export { AppendTable, Button, Calendar, Carousel, ContentHeader, Directory, DropdownButton, EmptyBox, Form, Icons, Input, ErrorMessage, OverlayLoading, SwitchButton, Table, TableBase, ThemeProvider, AutoTooltip, IntlText, TailwindTest, defaultTheme, };
25
+ export type { Methods };
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface IButtonSampleProps {
3
+ children?: ReactNode;
4
+ }
5
+ declare const ButtonSample: React.FC<IButtonSampleProps>;
6
+ export default ButtonSample;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  interface ICreateTableProps {
3
3
  }
4
- export declare const FormItemBox: import("styled-components").StyledComponent<"div", any, {
4
+ export declare const FormItemBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
5
5
  width?: number | undefined;
6
6
  gap?: number | undefined;
7
7
  fullHeight?: boolean | undefined;
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface IInputSampleProps {
3
+ children?: ReactNode;
4
+ }
5
+ declare const InputSample: React.FC<IInputSampleProps>;
6
+ export default InputSample;
@@ -0,0 +1 @@
1
+ export default function TailwindSample(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ declare const theme: DefaultTheme;
3
+ export default theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gov-ui-core",
3
- "version": "0.2.4",
3
+ "version": "0.2.6-beta.1",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.js",
6
6
  "types": "./build/modules.d.ts",
@@ -36,9 +36,6 @@
36
36
  "dotenv": "^10.0.0",
37
37
  "dotenv-expand": "^5.1.0",
38
38
  "dynamic-antd-theme": "^0.8.7",
39
- "eslint": "^8.3.0",
40
- "eslint-config-react-app": "^7.0.1",
41
- "eslint-webpack-plugin": "^3.1.1",
42
39
  "file-loader": "^6.2.0",
43
40
  "fs-extra": "^10.0.0",
44
41
  "html-webpack-plugin": "^5.5.0",
@@ -61,9 +58,10 @@
61
58
  "react-app-polyfill": "^3.0.0",
62
59
  "react-date-range": "^1.4.0",
63
60
  "react-dev-utils": "^12.0.1",
64
- "react-dom": "^18.2.0",
61
+ "react": "18.2",
62
+ "react-dom": "18.2",
65
63
  "react-hook-form": "^7.51.1",
66
- "react-intl": "^6.6.2",
64
+ "react-intl": "^6.8.9",
67
65
  "react-refresh": "^0.11.0",
68
66
  "react-router-dom": "^6.22.3",
69
67
  "react-slick": "^0.30.2",
@@ -75,10 +73,10 @@
75
73
  "style-loader": "^3.3.1",
76
74
  "styled-components": "^5.3.11",
77
75
  "tailwindcss": "^3.0.2",
76
+ "tailwindcss-animate": "^1.0.7",
78
77
  "terser-webpack-plugin": "^5.2.5",
79
78
  "typescript": "^4.9.5",
80
79
  "web-vitals": "^2.1.4",
81
- "webpack": "^5.64.4",
82
80
  "webpack-dev-server": "^4.6.0",
83
81
  "webpack-manifest-plugin": "^4.0.2",
84
82
  "workbox-webpack-plugin": "^6.4.1"
@@ -90,7 +88,21 @@
90
88
  "test": "node node scripts/test.js",
91
89
  "storybook": "storybook dev -p 6006",
92
90
  "build-storybook": "storybook build",
93
- "deploy-storybook": "gh-pages -d storybook-static -r https://github.com/nexr/neb-ui.git"
91
+ "deploy-storybook": "gh-pages -d storybook-static -r https://github.com/nexr/neb-ui.git",
92
+ "lint": "eslint ./src/**/*.{ts,tsx}",
93
+ "lint:css": "stylelint --ignore-path .gitignore '**/*.scss'",
94
+ "prepare": "husky install",
95
+ "precommit": "lint-staged"
96
+ },
97
+ "lint-staged": {
98
+ "**/*.{ts,tsx}": [
99
+ "eslint --fix",
100
+ "prettier --write"
101
+ ],
102
+ "**/*.{scss,css}": [
103
+ "stylelint --fix",
104
+ "prettier --write"
105
+ ]
94
106
  },
95
107
  "eslintConfig": {
96
108
  "extends": [
@@ -138,6 +150,19 @@
138
150
  "@types/styled-components": "^5.1.34",
139
151
  "clean-webpack-plugin": "^4.0.0",
140
152
  "eslint-plugin-storybook": "^0.11.1",
153
+ "@typescript-eslint/eslint-plugin": "^5.47.1",
154
+ "@typescript-eslint/parser": "^5.47.1",
155
+ "eslint": "^8.3.0",
156
+ "eslint-config-react-app": "^7.0.1",
157
+ "eslint-webpack-plugin": "^3.1.1",
158
+ "eslint-config-airbnb": "^19.0.4",
159
+ "eslint-config-airbnb-typescript": "^17.0.0",
160
+ "eslint-config-prettier": "^8.5.0",
161
+ "eslint-plugin-import": "^2.26.0",
162
+ "eslint-plugin-jsx-a11y": "^6.6.1",
163
+ "eslint-plugin-prettier": "^4.2.1",
164
+ "eslint-plugin-react": "^7.31.11",
165
+ "eslint-plugin-react-hooks": "^4.6.0",
141
166
  "prop-types": "^15.8.1",
142
167
  "sass": "^1.72.0",
143
168
  "sass-loader": "^16.0.3",
@@ -145,13 +170,21 @@
145
170
  "ts-loader": "^9.5.1",
146
171
  "tscpaths": "^0.0.9",
147
172
  "url-loader": "^4.1.1",
148
- "webpack": "^5.94.0"
173
+ "webpack": "^5.94.0",
174
+ "husky": "^8.0.0",
175
+ "lint-staged": "^13.1.0",
176
+ "prettier": "^2.8.1",
177
+ "stylelint": "^14.16.0",
178
+ "stylelint-config-prettier-scss": "^0.0.1",
179
+ "stylelint-config-standard-scss": "^6.1.0"
149
180
  },
150
181
  "resolutions": {
151
- "types-ramda": "0.29.4"
182
+ "types-ramda": "0.29.4",
183
+ "@formatjs/fast-memoize": "2.2.2"
152
184
  },
153
185
  "overrides": {
154
- "types-ramda": "0.29.4"
186
+ "types-ramda": "0.29.4",
187
+ "@formatjs/fast-memoize": "2.2.2"
155
188
  },
156
189
  "jest": {
157
190
  "roots": [
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ plugins: {
3
+ tailwindcss: {},
4
+ autoprefixer: {},
5
+ },
6
+ }
@@ -0,0 +1,184 @@
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
+ NotoSans: ['NotoSans', 'sans-serif'],
93
+ NotoSansKR: ['NotoSansKR', 'sans-serif'],
94
+ NotoSansMono: ['NotoSansMono', 'sans-serif'],
95
+ }
96
+ /*dropShadow: {
97
+ 'table': ['0px 0px 4px rgba(0,0,0,0.1)', '0px 5px 10px rgba(0,0,0,0.1)'],
98
+ },
99
+ boxShadow: {
100
+ 'table': ['0px 0px 4px rgba(0,0,0,0.1)', '0px 5px 10px rgba(0,0,0,0.1)'],
101
+ 'elevation-light-01': ['0px 1px 4px 0px rgba(0, 0, 0, 0.06)', '0px 3px 10px 0px rgba(0, 0, 0, 0.15)'],
102
+ 'elevation-light-02': ['0px 2px 5px 0px rgba(0, 0, 0, 0.07)', '0px 6px 20px 0px rgba(0, 0, 0, 0.15)'],
103
+ 'elevation-light-03': ['0px 3px 6px 0px rgba(0, 0, 0, 0.08)', '0px 9px 30px 0px rgba(0, 0, 0, 0.15)'],
104
+ 'elevation-light-04': ['0px 4px 7px 0px rgba(0, 0, 0, 0.09)', '0px 12px 40px 0px rgba(0, 0, 0, 0.15)'],
105
+ 'elevation-light-05': ['0px 5px 8px 0px rgba(0, 0, 0, 0.10)', '0px 15px 50px 0px rgba(0, 0, 0, 0.15)']
106
+ },
107
+ keyframes: {
108
+ 'accordion-down': {
109
+ 'from': {
110
+ 'height': '0'
111
+ },
112
+ 'to': {
113
+ 'height': 'var(--radix-accordion-content-height)'
114
+ },
115
+ },
116
+ 'accordion-up': {
117
+ 'from': {
118
+ 'height': 'var(--radix-accordion-content-height)'
119
+ },
120
+ 'to': {
121
+ 'height': '0'
122
+ },
123
+ },
124
+ 'up-scales': {
125
+ 'from': {
126
+ 'transform': 'translateY(100vh)'
127
+ },
128
+ 'to': {
129
+ 'transform': 'translateY(0px)',
130
+ 'transition': 'all 300ms ease 0s'
131
+ },
132
+ },
133
+ 'down-scales': {
134
+ 'from': {
135
+ 'transform': 'translateY(0vh)'
136
+ },
137
+ 'to': {
138
+ 'transform': 'translateY(100px)',
139
+ 'transition': 'all 300ms ease 0s'
140
+ },
141
+ },
142
+ 'flip-up': {
143
+ '0%': {
144
+ 'transform': 'rotateX(0)',
145
+ 'transform-origin': 'top'
146
+ },
147
+ '100%': {
148
+ 'transform': 'rotateX(-90deg)',
149
+ 'transform-origin': 'top',
150
+ 'visibility': 'hidden'
151
+ },
152
+ },
153
+ 'flip-down': {
154
+ '0%': {
155
+ 'transform': 'rotateX(-90deg)',
156
+ 'transform-origin': 'top',
157
+ 'visibility': 'visible'
158
+ },
159
+ '100%': {
160
+ 'transform': 'rotateX(0)',
161
+ 'transform-origin': 'top',
162
+ },
163
+ },
164
+ },
165
+ animation: {
166
+ 'accordion-down': 'accordion-down 0.2s ease-out',
167
+ 'accordion-up': 'accordion-up 0.2s ease-out',
168
+ 'up-scale': 'up-scales 0.3s ease',
169
+ 'down-scale': '0.3s down-scales ease',
170
+ 'flip-up': {
171
+ 'animation': 'flipUp ease 0.4s both',
172
+ 'animation-direction': 'normal'
173
+ },
174
+ 'flip-down': {
175
+ 'animation': 'flipDown ease 0.4s both',
176
+ 'animation-direction': 'normal'
177
+ }
178
+ },*/
179
+ }
180
+ },
181
+ plugins: [
182
+ require("tailwindcss-animate")
183
+ ],
184
+ }
package/tsconfig.json CHANGED
@@ -29,6 +29,6 @@
29
29
  "types": ["@types/jest"],
30
30
  "downlevelIteration": true
31
31
  },
32
- "include": ["@types", "src/modules.ts", "src/index.tsx", "src/react-app-env.d.ts", ".storybook/*"],
32
+ "include": ["@types", "src/modules.ts", "src/index.tsx", "src/react-app-env.d.ts"],
33
33
  "exclude": ["node_modules"]
34
34
  }
@@ -1,3 +0,0 @@
1
- import type { StorybookConfig } from "@storybook/react-webpack5";
2
- declare const config: StorybookConfig;
3
- export default config;
@@ -1,3 +0,0 @@
1
- import type { Preview } from "@storybook/react";
2
- declare const preview: Preview;
3
- export default preview;
@@ -1,2 +0,0 @@
1
- export declare const CalendarBox: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const NavigationBox: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,2 +0,0 @@
1
- export declare const CarouselBox: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const ArrowButtonArea: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,19 +0,0 @@
1
- import InputBase from '../../../components/Input/Input';
2
- import InputNumber from '../../../components/Input/InputNumber';
3
- import Search from '../../../components/Input/Search';
4
- import Select from '../../../components/Input/Select';
5
- import Checkbox from '../../../components/Input/Checkbox';
6
- import Radio from '../../../components/Input/Radio';
7
- import TextArea from '../../../components/Input/TextArea';
8
- type InputType = typeof InputBase;
9
- interface InputInterface extends InputType {
10
- Checkbox: typeof Checkbox;
11
- Number: typeof InputNumber;
12
- Radio: typeof Radio;
13
- Search: typeof Search;
14
- Select: typeof Select;
15
- TextArea: typeof TextArea;
16
- }
17
- declare const Input: InputInterface;
18
- export default Input;
19
- export { Checkbox, Input, InputNumber, Radio, Search, Select, TextArea };
@@ -1,5 +0,0 @@
1
- import type { ThemeType } from '../theme';
2
- declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{
3
- theme: ThemeType;
4
- }, import("styled-components").DefaultTheme>;
5
- export default GlobalStyle;
@@ -1 +0,0 @@
1
- export {};
@@ -1,23 +0,0 @@
1
- import Button from '../components/Button';
2
- import Carousel from '../components/Carousel';
3
- import ContentHeader from '../components/Header/ContentHeader';
4
- import Directory from '../components/Directory';
5
- import DropdownButton from '../components/Button/DropdownButton';
6
- import EmptyBox from '../components/EmptyBox';
7
- import Form from '../components/Form';
8
- import Icons from '../components/Icons';
9
- import Input from '../components/Input';
10
- import ErrorMessage from '../components/Input/ErrorMessage';
11
- import AutoTooltip from '../components/Table/AutoTooltip';
12
- import OverlayLoading from '../components/Loading/OverlayLoading';
13
- import SwitchButton from '../components/Button/SwitchButton';
14
- import Table from '../components/Table';
15
- import TableBase from '../components/Table/TableBase';
16
- import Calendar from '../components/Calendar';
17
- import IntlText from '../components/IntlText';
18
- import AppendTable from '../components/Table/AppendTable';
19
- import ThemeProvider from '../components/ThemeProvider';
20
- import { Methods } from '../components/Form';
21
- import defaultTheme from '../theme';
22
- export { AppendTable, Button, Calendar, Carousel, ContentHeader, Directory, DropdownButton, EmptyBox, Form, Icons, Input, ErrorMessage, OverlayLoading, SwitchButton, Table, TableBase, ThemeProvider, AutoTooltip, IntlText, defaultTheme, };
23
- export type { Methods, };
@@ -1,45 +0,0 @@
1
- export type ThemeType = {
2
- info?: string;
3
- info10?: string;
4
- info20?: string;
5
- success?: string;
6
- warning?: string;
7
- error?: string;
8
- errortooltip?: string;
9
- transparent?: string;
10
- black100?: string;
11
- black80?: string;
12
- black70?: string;
13
- black60?: string;
14
- black50?: string;
15
- black40?: string;
16
- black30?: string;
17
- black20?: string;
18
- black15?: string;
19
- black10?: string;
20
- black05?: string;
21
- black03?: string;
22
- white?: string;
23
- white90?: string;
24
- white80?: string;
25
- white70?: string;
26
- white60?: string;
27
- white50?: string;
28
- white40?: string;
29
- white30?: string;
30
- white20?: string;
31
- white10?: string;
32
- line?: string;
33
- primary?: string;
34
- primary90?: string;
35
- primary60?: string;
36
- primary50?: string;
37
- primary40?: string;
38
- primary20?: string;
39
- primary10?: string;
40
- primarystop1?: string;
41
- primarystop2?: string;
42
- emptyLogo?: string;
43
- };
44
- declare const theme: ThemeType;
45
- export default theme;
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