gov-ui-core 0.2.6 → 1.0.0

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 (77) 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 +19 -0
  6. package/@types/styles.d.ts +96 -0
  7. package/build/components/Badge/index.d.ts +8 -0
  8. package/build/components/Badge/styled.d.ts +1 -0
  9. package/build/components/Breadcrumb/index.d.ts +6 -0
  10. package/build/components/Breadcrumb/styled.d.ts +2 -0
  11. package/build/components/Button/SwitchButton.d.ts +6 -3
  12. package/build/components/Button/TextButton.d.ts +8 -0
  13. package/build/components/Button/constants.d.ts +19 -0
  14. package/build/components/Button/styled.d.ts +12 -4
  15. package/build/components/Calendar/styled.d.ts +2 -2
  16. package/build/components/Card/index.d.ts +12 -0
  17. package/build/components/Carousel/styled.d.ts +2 -2
  18. package/build/components/Chip/constants.d.ts +11 -0
  19. package/build/components/Chip/index.d.ts +11 -0
  20. package/build/components/Directory/styled.d.ts +2 -2
  21. package/build/components/EmptyBox/styled.d.ts +1 -1
  22. package/build/components/Form/Item.d.ts +6 -1
  23. package/build/components/Form/styled.d.ts +1 -1
  24. package/build/components/Header/styled.d.ts +1 -1
  25. package/build/components/Input/Checkbox.d.ts +4 -1
  26. package/build/components/Input/Input.d.ts +1 -0
  27. package/build/components/Input/Radio.d.ts +3 -1
  28. package/build/components/Input/Select.d.ts +1 -0
  29. package/build/components/Input/TextArea.d.ts +3 -0
  30. package/build/components/Input/styled.d.ts +16 -12
  31. package/build/components/Loading/styled.d.ts +4 -4
  32. package/build/components/Menu/index.d.ts +26 -0
  33. package/build/components/Modal/index.d.ts +10 -0
  34. package/build/components/Modal/styled.d.ts +6 -0
  35. package/build/components/Pannel/index.d.ts +10 -0
  36. package/build/components/Pannel/styled.d.ts +5 -0
  37. package/build/components/Progress/index.d.ts +11 -0
  38. package/build/components/Progress/styled.d.ts +4 -0
  39. package/build/components/Sliders/index.d.ts +9 -0
  40. package/build/components/Sliders/styled.d.ts +9 -0
  41. package/build/components/Styled/mixins.d.ts +3 -3
  42. package/build/components/Table/styled.d.ts +8 -7
  43. package/build/components/Tabs/TabContent.d.ts +8 -0
  44. package/build/components/Tabs/index.d.ts +19 -0
  45. package/build/components/Tabs/styled.d.ts +12 -0
  46. package/build/components/TextBox/index.d.ts +12 -0
  47. package/build/components/ThemeProvider.d.ts +3 -2
  48. package/build/components/Toast/index.d.ts +10 -0
  49. package/build/components/Toast/styled.d.ts +6 -0
  50. package/build/components/Tooltips/index.d.ts +16 -0
  51. package/build/components/Tree/index.d.ts +8 -0
  52. package/build/globalStyle.d.ts +3 -3
  53. package/build/index.d.ts +2 -1
  54. package/build/index.js +1 -1
  55. package/build/modules.d.ts +10 -2
  56. package/build/pages/BreadcrumbSample.d.ts +5 -0
  57. package/build/pages/ButtonSample.d.ts +6 -0
  58. package/build/pages/CardSample.d.ts +5 -0
  59. package/build/pages/CheckboxSample.d.ts +6 -0
  60. package/build/pages/ChipSample.d.ts +6 -0
  61. package/build/pages/InputSample.d.ts +6 -0
  62. package/build/pages/ModalSample.d.ts +5 -0
  63. package/build/pages/PannelSample.d.ts +5 -0
  64. package/build/pages/ProgressSample.d.ts +5 -0
  65. package/build/pages/RadioSample.d.ts +6 -0
  66. package/build/pages/SlidersSample.d.ts +5 -0
  67. package/build/pages/TabsSample.d.ts +6 -0
  68. package/build/pages/TailwindSample.d.ts +1 -0
  69. package/build/pages/TextBoxSample.d.ts +2 -0
  70. package/build/pages/ToastSample.d.ts +6 -0
  71. package/build/pages/TooltipsSample.d.ts +5 -0
  72. package/build/pages/TreeSample.d.ts +5 -0
  73. package/build/theme.d.ts +2 -44
  74. package/package.json +43 -8
  75. package/postcss.config.js +8 -0
  76. package/tailwind.config.js +185 -0
  77. package/build/pages/CreateTable.d.ts +0 -20
@@ -1,6 +1,9 @@
1
1
  import Button from './components/Button';
2
+ import TextButton from './components/Button/TextButton';
2
3
  import Carousel from './components/Carousel';
3
4
  import ContentHeader from './components/Header/ContentHeader';
5
+ import Chip from './components/Chip';
6
+ import Card from './components/Card';
4
7
  import Directory from './components/Directory';
5
8
  import DropdownButton from './components/Button/DropdownButton';
6
9
  import EmptyBox from './components/EmptyBox';
@@ -10,14 +13,19 @@ import Input from './components/Input';
10
13
  import ErrorMessage from './components/Input/ErrorMessage';
11
14
  import AutoTooltip from './components/Table/AutoTooltip';
12
15
  import OverlayLoading from './components/Loading/OverlayLoading';
16
+ import Progress from './components/Progress';
13
17
  import SwitchButton from './components/Button/SwitchButton';
14
18
  import Table from './components/Table';
15
19
  import TableBase from './components/Table/TableBase';
20
+ import Tree from './components/Tree';
16
21
  import Calendar from './components/Calendar';
17
22
  import IntlText from './components/IntlText';
18
23
  import AppendTable from './components/Table/AppendTable';
24
+ import Menu from './components/Menu';
25
+ import Modal from './components/Modal';
26
+ import Tabs from './components/Tabs';
19
27
  import ThemeProvider from './components/ThemeProvider';
20
28
  import { Methods } from './components/Form';
21
29
  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, };
30
+ export { AppendTable, Button, TextButton, Calendar, Carousel, ContentHeader, Chip, Card, Directory, DropdownButton, EmptyBox, Form, Icons, Input, ErrorMessage, OverlayLoading, Progress, SwitchButton, Table, TableBase, Tree, ThemeProvider, AutoTooltip, Menu, Modal, Tabs, IntlText, defaultTheme, };
31
+ export type { Methods };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface IBreadcrumbProps {
3
+ }
4
+ declare const BreadcrumbSample: React.FC<IBreadcrumbProps>;
5
+ export default BreadcrumbSample;
@@ -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;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface ICardSampleProps {
3
+ }
4
+ declare const CardSample: React.FC<ICardSampleProps>;
5
+ export default CardSample;
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface ICheckboxSampleProps {
3
+ children?: ReactNode;
4
+ }
5
+ declare const CheckboxSample: React.FC<ICheckboxSampleProps>;
6
+ export default CheckboxSample;
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface IChipSampleProps {
3
+ children?: ReactNode;
4
+ }
5
+ declare const ChipSample: React.FC<IChipSampleProps>;
6
+ export default ChipSample;
@@ -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,5 @@
1
+ import React from 'react';
2
+ interface IModalSampleProps {
3
+ }
4
+ declare const ModalSample: React.FC<IModalSampleProps>;
5
+ export default ModalSample;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface IPannelProps {
3
+ }
4
+ declare const PannelSample: React.FC<IPannelProps>;
5
+ export default PannelSample;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface IProgressSampleProps {
3
+ }
4
+ declare const ProgressSample: React.FC<IProgressSampleProps>;
5
+ export default ProgressSample;
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface IRadioSampleProps {
3
+ children?: ReactNode;
4
+ }
5
+ declare const RadioSample: React.FC<IRadioSampleProps>;
6
+ export default RadioSample;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface ISample4Props {
3
+ }
4
+ declare const SlidersSample: React.FC<ISample4Props>;
5
+ export default SlidersSample;
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface ITabsSampleProps {
3
+ children?: ReactNode;
4
+ }
5
+ declare const TabsSample: React.FC<ITabsSampleProps>;
6
+ export default TabsSample;
@@ -0,0 +1 @@
1
+ export default function TailwindSample(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const TextBoxSample: () => import("react/jsx-runtime").JSX.Element;
2
+ export default TextBoxSample;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import 'react-toastify/dist/ReactToastify.css';
3
+ interface IToastSampleProps {
4
+ }
5
+ declare const ToastSampleSample: React.FC<IToastSampleProps>;
6
+ export default ToastSampleSample;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface ITooltipsProps {
3
+ }
4
+ declare const TooltipsSample: React.FC<ITooltipsProps>;
5
+ export default TooltipsSample;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface ITreeSampleProps {
3
+ }
4
+ declare const TreeSample: React.FC<ITreeSampleProps>;
5
+ export default TreeSample;
package/build/theme.d.ts CHANGED
@@ -1,45 +1,3 @@
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;
1
+ import { DefaultTheme } from 'styled-components';
2
+ declare const theme: DefaultTheme;
45
3
  export default theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gov-ui-core",
3
- "version": "0.2.6",
3
+ "version": "1.0.0",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.js",
6
6
  "types": "./build/modules.d.ts",
@@ -11,6 +11,7 @@
11
11
  "@mdi/font": "^5.9.55",
12
12
  "@mdi/js": "^5.9.55",
13
13
  "@mdi/react": "^1.6.1",
14
+ "@monaco-editor/react": "^4.7.0",
14
15
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
15
16
  "@svgr/webpack": "^5.5.0",
16
17
  "@testing-library/jest-dom": "^5.17.0",
@@ -36,9 +37,6 @@
36
37
  "dotenv": "^10.0.0",
37
38
  "dotenv-expand": "^5.1.0",
38
39
  "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
40
  "file-loader": "^6.2.0",
43
41
  "fs-extra": "^10.0.0",
44
42
  "html-webpack-plugin": "^5.5.0",
@@ -58,15 +56,19 @@
58
56
  "query-string": "^9.0.0",
59
57
  "ramda": "^0.29.1",
60
58
  "rc-motion": "^2.9.0",
59
+ "react": "18.2",
61
60
  "react-app-polyfill": "^3.0.0",
62
61
  "react-date-range": "^1.4.0",
63
62
  "react-dev-utils": "^12.0.1",
64
- "react-dom": "^18.2.0",
63
+ "react-dom": "18.2",
65
64
  "react-hook-form": "^7.51.1",
66
65
  "react-intl": "^6.8.9",
67
66
  "react-refresh": "^0.11.0",
68
67
  "react-router-dom": "^6.22.3",
69
68
  "react-slick": "^0.30.2",
69
+ "react-spring": "^9.7.5",
70
+ "react-toastify": "^11.0.3",
71
+ "react-use-gesture": "^9.1.3",
70
72
  "resolve": "^1.20.0",
71
73
  "resolve-url-loader": "^4.0.0",
72
74
  "semver": "^7.3.5",
@@ -75,22 +77,36 @@
75
77
  "style-loader": "^3.3.1",
76
78
  "styled-components": "^5.3.11",
77
79
  "tailwindcss": "^3.0.2",
80
+ "tailwindcss-animate": "^1.0.7",
78
81
  "terser-webpack-plugin": "^5.2.5",
79
82
  "typescript": "^4.9.5",
80
83
  "web-vitals": "^2.1.4",
81
- "webpack": "^5.64.4",
82
84
  "webpack-dev-server": "^4.6.0",
83
85
  "webpack-manifest-plugin": "^4.0.2",
84
86
  "workbox-webpack-plugin": "^6.4.1"
85
87
  },
86
88
  "scripts": {
87
- "start": "node scripts/start.js",
89
+ "start": "node scripts/start.js --PORT 3004",
88
90
  "types": "tsc --emitDeclarationOnly && tscpaths -p ./tsconfig.json -s ./src -o ./build",
89
91
  "build": "node scripts/build.js && npm run types",
90
92
  "test": "node node scripts/test.js",
91
93
  "storybook": "storybook dev -p 6006",
92
94
  "build-storybook": "storybook build",
93
- "deploy-storybook": "gh-pages -d storybook-static -r https://github.com/nexr/neb-ui.git"
95
+ "deploy-storybook": "gh-pages -d storybook-static -r https://gzithub.com/nexr/neb-ui.git",
96
+ "lint": "eslint ./src/**/*.{ts,tsx}",
97
+ "lint:css": "stylelint --ignore-path .gitignore '**/*.scss'",
98
+ "prepare": "husky install",
99
+ "precommit": "lint-staged"
100
+ },
101
+ "lint-staged": {
102
+ "**/*.{ts,tsx}": [
103
+ "eslint --fix",
104
+ "prettier --write"
105
+ ],
106
+ "**/*.{scss,css}": [
107
+ "stylelint --fix",
108
+ "prettier --write"
109
+ ]
94
110
  },
95
111
  "eslintConfig": {
96
112
  "extends": [
@@ -136,12 +152,31 @@
136
152
  "@types/react-slick": "^0.23.13",
137
153
  "@types/slick-carousel": "^1.6.40",
138
154
  "@types/styled-components": "^5.1.34",
155
+ "@typescript-eslint/eslint-plugin": "^5.47.1",
156
+ "@typescript-eslint/parser": "^5.47.1",
139
157
  "clean-webpack-plugin": "^4.0.0",
158
+ "eslint": "^8.3.0",
159
+ "eslint-config-airbnb": "^19.0.4",
160
+ "eslint-config-airbnb-typescript": "^17.0.0",
161
+ "eslint-config-prettier": "^8.5.0",
162
+ "eslint-config-react-app": "^7.0.1",
163
+ "eslint-plugin-import": "^2.26.0",
164
+ "eslint-plugin-jsx-a11y": "^6.6.1",
165
+ "eslint-plugin-prettier": "^4.2.1",
166
+ "eslint-plugin-react": "^7.31.11",
167
+ "eslint-plugin-react-hooks": "^4.6.0",
140
168
  "eslint-plugin-storybook": "^0.11.1",
169
+ "eslint-webpack-plugin": "^3.1.1",
170
+ "husky": "^8.0.0",
171
+ "lint-staged": "^13.1.0",
172
+ "prettier": "^2.8.1",
141
173
  "prop-types": "^15.8.1",
142
174
  "sass": "^1.72.0",
143
175
  "sass-loader": "^16.0.3",
144
176
  "storybook": "^8.4.7",
177
+ "stylelint": "^14.16.0",
178
+ "stylelint-config-prettier-scss": "^0.0.1",
179
+ "stylelint-config-standard-scss": "^6.1.0",
145
180
  "ts-loader": "^9.5.1",
146
181
  "tscpaths": "^0.0.9",
147
182
  "url-loader": "^4.1.1",
@@ -0,0 +1,8 @@
1
+ module.exports = {
2
+ plugins: {
3
+ tailwindcss: {
4
+ config: './tailwind.config.js',
5
+ },
6
+ autoprefixer: {},
7
+ },
8
+ }
@@ -0,0 +1,185 @@
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
+ }
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- interface ICreateTableProps {
3
- }
4
- export declare const FormItemBox: import("styled-components").StyledComponent<"div", any, {
5
- width?: number | undefined;
6
- gap?: number | undefined;
7
- fullHeight?: boolean | undefined;
8
- }, never>;
9
- export declare const DATASOURCE_TYPE: {
10
- ICEBERG: string;
11
- JDBC: string;
12
- ORC: string;
13
- PARQUET: string;
14
- };
15
- export declare const DATASOURCE_TYPE_OPTIONS: {
16
- label: string;
17
- value: string;
18
- }[];
19
- declare const CreateTable: React.FC<ICreateTableProps>;
20
- export default CreateTable;