gov-ui-core 0.2.5 → 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 +45 -12
  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
package/.eslintrc.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "env": {
3
+ "node": true,
4
+ "browser": true,
5
+ "es2021": true
6
+ },
7
+ "extends": [
8
+ "eslint:recommended",
9
+ "plugin:react/recommended",
10
+ "plugin:@typescript-eslint/recommended",
11
+ "prettier"
12
+ ],
13
+ "overrides": [
14
+ ],
15
+ "parser": "@typescript-eslint/parser",
16
+ "parserOptions": {
17
+ "ecmaFeatures": {
18
+ "jsx": true
19
+ },
20
+ "ecmaVersion": "latest",
21
+ "sourceType": "module",
22
+ "project": "./tsconfig.json"
23
+ },
24
+ "plugins": [
25
+ "react",
26
+ "@typescript-eslint"
27
+ ],
28
+ "rules": {
29
+ "quotes": [
30
+ "error",
31
+ "single",
32
+ {
33
+ "avoidEscape": true
34
+ }
35
+ ],
36
+ "jsx-quotes": ["error", "prefer-double"],
37
+ "@typescript-eslint/no-explicit-any": "off",
38
+ "@typescript-eslint/no-empty-interface": "off",
39
+ "@typescript-eslint/no-empty-function": "off",
40
+ "@typescript-eslint/ban-ts-comment": "off",
41
+ "@typescript-eslint/no-non-null-assertion": "off",
42
+ "react/no-children-prop": "off",
43
+ "no-extra-boolean-cast": "off",
44
+ "no-constant-condition": "off"
45
+ },
46
+ "settings": {
47
+ "react": {
48
+ "version": "detect"
49
+ }
50
+ },
51
+ "ignorePatterns": [
52
+ "mock/**/*"
53
+ ]
54
+ }
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ yarn lint-staged
package/.prettierrc ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "printWidth": 80,
3
+ "tabWidth": 2,
4
+ "useTabs": false,
5
+ "semi": true,
6
+ "singleQuote": true,
7
+ "quoteProps": "consistent",
8
+ "trailingComma": "es5",
9
+ "bracketSpacing": true,
10
+ "arrowParens": "always",
11
+ "endOfLine": "lf"
12
+ }
@@ -1,21 +1,22 @@
1
- import type { StorybookConfig } from "@storybook/react-webpack5";
1
+ // @ts-nocheck
2
+ import type { StorybookConfig } from '@storybook/react-webpack5';
2
3
  import { resolve } from 'path';
3
4
 
4
5
  const config: StorybookConfig = {
5
- stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
6
+ stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
6
7
  addons: [
7
- "@storybook/addon-webpack5-compiler-swc",
8
- "@storybook/addon-onboarding",
9
- "@storybook/addon-essentials",
10
- "@chromatic-com/storybook",
11
- "@storybook/addon-interactions",
8
+ '@storybook/addon-webpack5-compiler-swc',
9
+ '@storybook/addon-onboarding',
10
+ '@storybook/addon-essentials',
11
+ '@chromatic-com/storybook',
12
+ '@storybook/addon-interactions',
12
13
  ],
13
14
  framework: {
14
- name: "@storybook/react-webpack5",
15
+ name: '@storybook/react-webpack5',
15
16
  options: {},
16
17
  },
17
18
  docs: {},
18
- staticDirs: ["../public"],
19
+ staticDirs: ['../public'],
19
20
  webpackFinal: async (config) => {
20
21
  if (config.resolve) {
21
22
  config.resolve.alias = {
@@ -0,0 +1,16 @@
1
+ {
2
+ "extends": ["stylelint-config-standard-scss", "stylelint-config-prettier-scss", "prettier"],
3
+ "rules": {
4
+ "at-rule-no-unknown": null,
5
+ "selector-class-pattern": "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
6
+ "keyframes-name-pattern": "/^(,[a-z][a-z0-9]*)(-[a-z0-9]+)*$/",
7
+ "no-descending-specificity": null,
8
+ "block-no-empty": null,
9
+ "scss/at-rule-no-unknown": [
10
+ true,
11
+ {
12
+ "ignoreAtRules": ["tailwind"]
13
+ }
14
+ ]
15
+ }
16
+ }
@@ -1,3 +1,85 @@
1
+ import 'styled-components';
2
+
1
3
  declare module '*.css';
2
4
  declare module '*.scss';
3
5
  declare module '*.less';
6
+
7
+ declare module 'styled-components' {
8
+ export interface DefaultTheme {
9
+ info?: string;
10
+ info10?: string;
11
+ info20?: string;
12
+ success?: string;
13
+ warning?: string;
14
+ error?: string;
15
+ errortooltip?: string;
16
+ transparent?: string;
17
+ black100?: string;
18
+ black80?: string;
19
+ black70?: string;
20
+ black60?: string;
21
+ black50?: string;
22
+ black40?: string;
23
+ black30?: string;
24
+ black20?: string;
25
+ black15?: string;
26
+ black10?: string;
27
+ black05?: string;
28
+ black03?: string;
29
+ white?: string;
30
+ white90?: string;
31
+ white80?: string;
32
+ white70?: string;
33
+ white60?: string;
34
+ white50?: string;
35
+ white40?: string;
36
+ white30?: string;
37
+ white20?: string;
38
+ white10?: string;
39
+ line?: string;
40
+ primary?: string;
41
+ primary90?: string;
42
+ primary60?: string;
43
+ primary50?: string;
44
+ primary40?: string;
45
+ primary20?: string;
46
+ primary10?: string;
47
+ primarystop1?: string;
48
+ primarystop2?: string;
49
+ emptyLogo?: string;
50
+
51
+ // new colors
52
+ colorPrimary?: string;
53
+ colorPrimary90?: string;
54
+ colorPrimary60?: string;
55
+ colorPrimary50?: string;
56
+ colorPrimary40?: string;
57
+ colorPrimary30?: string;
58
+ colorPrimary20?: string;
59
+ colorPrimary10?: string;
60
+ colorPrimaryHover?: string;
61
+ colorPrimaryActive?: string;
62
+ colorEtcLine?: string;
63
+ colorEtcLineDisable?: string;
64
+ colorEtcBG?: string;
65
+ colorEtcTransparent?: string;
66
+ colorEtcError?: string;
67
+ colorEtcError05?: string;
68
+ colorEtcWarning?: string;
69
+ colorEtcWarning05?: string;
70
+ colorEtcSuccess?: string;
71
+ colorEtcSuccess05?: string;
72
+ colorEtcInfo?: string;
73
+ colorEtcInfo05?: string;
74
+ colorChart01?: string;
75
+ colorChart02?: string;
76
+ colorChart03?: string;
77
+ colorChart04?: string;
78
+ colorChart05?: string;
79
+ colorChart06?: string;
80
+ colorChart07?: string;
81
+ colorChart08?: string;
82
+ colorChart09?: string;
83
+ colorChart10?: string;
84
+ }
85
+ }
@@ -0,0 +1 @@
1
+ export default "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJtNCw5LjM1bDUuMzMsLTUuMzNsMC42NywwLjY3bC01LjMzLDUuMzNsLTAuNjcsLTAuNjd6IiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjMiLz4KICA8cGF0aCBkPSJtMCw5LjM1bDkuMzMsLTkuMzNsMC42NywwLjY3bC05LjMzLDkuMzNsLTAuNjcsLTAuNjd6IiBmaWxsPSJibGFjayIgZmlsbC1vcGFjaXR5PSIwLjMiLz4KPC9zdmc+Cg=="
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { IButtonProps } from '../../../components/Button';
2
+ import { IButtonProps } from './';
3
3
  export type OptionType = {
4
4
  label?: React.ReactNode;
5
5
  onClick?: (value: OptionType) => void;
@@ -0,0 +1,19 @@
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,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ButtonSize, ButtonType } from '../../../components/Button/data';
2
+ import type { ButtonSize, ButtonType } from './data';
3
3
  export interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  btype?: ButtonType;
5
5
  size?: ButtonSize;
@@ -1,10 +1,11 @@
1
- declare const ButtonBox: import("styled-components").StyledComponent<"button", any, {
2
- iconButton?: boolean | undefined;
1
+ declare const ButtonBox: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
3
2
  btype?: string | undefined;
4
3
  size?: string | undefined;
5
4
  disabled?: boolean | undefined;
6
5
  active?: boolean | undefined;
7
6
  border?: boolean | undefined;
7
+ $loading?: boolean | undefined;
8
+ $buttonChildType?: string | undefined;
8
9
  }, never>;
9
- declare const SwitchBox: import("styled-components").StyledComponent<"div", any, {}, never>;
10
- export { ButtonBox, SwitchBox, };
10
+ declare const SwitchBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
+ export { ButtonBox, SwitchBox };
@@ -0,0 +1,2 @@
1
+ export declare const CalendarBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const NavigationBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Settings } from 'react-slick';
3
- import 'slick-carousel/slick/slick.scss';
4
- import 'slick-carousel/slick/slick-theme.scss';
3
+ import 'slick-carousel/slick/slick.css';
4
+ import 'slick-carousel/slick/slick-theme.css';
5
5
  export interface ICarouselProps {
6
6
  items?: Record<string, any>[];
7
7
  itemSize?: number;
@@ -0,0 +1,2 @@
1
+ export declare const CarouselBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const ArrowButtonArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,6 +1,6 @@
1
- export declare const DirectoryBox: import("styled-components").StyledComponent<"div", any, {
1
+ export declare const DirectoryBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
2
  selectRowNo?: number | undefined;
3
3
  horizontalScroll?: boolean | undefined;
4
4
  size?: "small" | "default" | undefined;
5
5
  }, never>;
6
- export declare const EmptyDirectoryBox: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const EmptyDirectoryBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- export declare const EmptyArea: import("styled-components").StyledComponent<"div", any, {
2
+ export declare const EmptyArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
3
  emptyLogo: React.ReactNode;
4
4
  }, never>;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { RegisterOptions } from 'react-hook-form/dist/types/validator';
3
- import { ErrorStyle } from '../../../components/Input/data';
3
+ import { ErrorStyle } from '../Input/data';
4
4
  import { FieldErrors } from 'react-hook-form/dist/types/errors';
5
- import { Control, FieldValues } from "react-hook-form";
5
+ import { Control, FieldValues } from 'react-hook-form';
6
6
  interface IItemProps<T extends FieldValues> extends Omit<React.ComponentPropsWithoutRef<'div'>, 'prefix'> {
7
7
  name?: string;
8
8
  label?: React.ReactNode;
@@ -1,6 +1,6 @@
1
- import FormProvider from '../../../components/Form/Form';
2
- import Item from '../../../components/Form/Item';
3
- import Group from '../../../components/Form/Group';
1
+ import FormProvider from './Form';
2
+ import Item from './Item';
3
+ import Group from './Group';
4
4
  import { UseFormReturn } from 'react-hook-form';
5
5
  type FormType = typeof FormProvider;
6
6
  interface FormInterface extends FormType {
@@ -1,4 +1,4 @@
1
- export declare const FormArea: import("styled-components").StyledComponent<"div", any, {
1
+ export declare const FormArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
2
  layout?: {
3
3
  label: number | string;
4
4
  wrapper?: number | undefined;
@@ -1,4 +1,4 @@
1
- export declare const ContentHeaderBox: import("styled-components").StyledComponent<"div", any, {
1
+ export declare const ContentHeaderBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
2
  small?: boolean | undefined;
3
3
  minusWidth: number;
4
4
  noTitle?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ErrorType, OptionType } from '../../../components/Input/data';
2
+ import { ErrorType, OptionType } from './data';
3
3
  export interface ICheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'name' | 'onChange'> {
4
4
  name?: string;
5
5
  description?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import '../../../components/Input/ErrorMessage.scss';
2
+ import './ErrorMessage.scss';
3
3
  interface IErrorMessageProps {
4
4
  visible: boolean;
5
5
  message: React.ReactNode | string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ErrorType, ErrorStyle } from '../../../components/Input/data';
2
+ import { ErrorType, ErrorStyle } from './data';
3
3
  import { ChangeHandler } from 'react-hook-form';
4
4
  export interface IInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'prefix' | 'size'> {
5
5
  error?: string | ErrorType | boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { IInputProps } from '../../../components/Input/Input';
2
+ import { IInputProps } from './Input';
3
3
  interface IInputNumberProps extends IInputProps {
4
4
  setValue?: any;
5
5
  onChange?: (event: any) => void;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ChangeHandler } from 'react-hook-form';
3
- import { ErrorType, OptionType } from '../../../components/Input/data';
3
+ import { ErrorType, OptionType } from './data';
4
4
  export interface IRadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'name' | 'onChange'> {
5
5
  name?: string;
6
6
  description?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import React, { ChangeEventHandler } from 'react';
2
- import { IInputProps } from '../../../components/Input/Input';
2
+ import { IInputProps } from './Input';
3
3
  import { ChangeHandler } from 'react-hook-form';
4
4
  interface ISearchProps extends IInputProps {
5
5
  onClear?: () => void;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ChangeHandler } from 'react-hook-form';
3
- import { ErrorStyle, ErrorType } from '../../../components/Input/data';
3
+ import { ErrorStyle, ErrorType } from './data';
4
4
  type OptionItem = {
5
5
  label?: React.ReactNode;
6
6
  searchLabel?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ErrorStyle, ErrorType } from '../../../components/Input/data';
2
+ import { ErrorStyle, ErrorType } from './data';
3
3
  interface ITextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'prefix'> {
4
4
  error?: string | ErrorType;
5
5
  errorStyle?: ErrorStyle;
@@ -0,0 +1,19 @@
1
+ import InputBase from './Input';
2
+ import InputNumber from './InputNumber';
3
+ import Search from './Search';
4
+ import Select from './Select';
5
+ import Checkbox from './Checkbox';
6
+ import Radio from './Radio';
7
+ import TextArea from './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,25 +1,25 @@
1
- declare const InputBox: import("styled-components").StyledComponent<"div", any, {
1
+ declare const InputBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
2
  error: boolean;
3
3
  suffixWidth: number;
4
4
  prefixWidth: number;
5
5
  disabled?: boolean | undefined;
6
6
  size?: "small" | "medium" | undefined;
7
7
  }, never>;
8
- declare const ErrorMessage: import("styled-components").StyledComponent<"div", any, {
8
+ declare const ErrorMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
9
9
  suffixWidth: number;
10
10
  }, never>;
11
- declare const SuffixArea: import("styled-components").StyledComponent<"div", any, {}, never>;
12
- declare const SelectArea: import("styled-components").StyledComponent<"div", any, {
11
+ declare const SuffixArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
+ declare const SelectArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
13
13
  disabled?: boolean | undefined;
14
14
  }, never>;
15
- declare const ItemArea: import("styled-components").StyledComponent<"div", any, {
15
+ declare const ItemArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
16
16
  type: string;
17
17
  vertical?: boolean | undefined;
18
18
  }, never>;
19
- declare const SearchArea: import("styled-components").StyledComponent<"div", any, {
19
+ declare const SearchArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
20
20
  listHeight?: number | undefined;
21
21
  }, never>;
22
- declare const OptionItemsBox: import("styled-components").StyledComponent<"div", any, {
22
+ declare const OptionItemsBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
23
23
  isDropdownButton?: boolean | undefined;
24
24
  }, never>;
25
25
  export { InputBox, ErrorMessage, SuffixArea, SelectArea, ItemArea, SearchArea, OptionItemsBox, };
@@ -1,10 +1,10 @@
1
- declare const LoadingBox: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ declare const LoadingBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
2
  interface SinnerProps {
3
3
  width: number;
4
4
  weight: number;
5
5
  color: string;
6
6
  }
7
- declare const SpinnerBoxTypeA: import("styled-components").StyledComponent<"div", any, SinnerProps, never>;
8
- declare const SpinnerBoxTypeB: import("styled-components").StyledComponent<"div", any, SinnerProps, never>;
9
- declare const SpinnerBoxTypeC: import("styled-components").StyledComponent<"div", any, SinnerProps, never>;
7
+ declare const SpinnerBoxTypeA: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SinnerProps, never>;
8
+ declare const SpinnerBoxTypeB: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SinnerProps, never>;
9
+ declare const SpinnerBoxTypeC: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SinnerProps, never>;
10
10
  export { LoadingBox, SpinnerBoxTypeA, SpinnerBoxTypeB, SpinnerBoxTypeC, };
@@ -2,12 +2,12 @@
2
2
  * material 의 boxShadow
3
3
  * @param depth
4
4
  */
5
- export declare const boxShadow: (depth?: number) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
5
+ export declare const boxShadow: (depth?: number) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
6
6
  export declare const alignCenter: (jc?: string, ai?: string) => import("styled-components").FlattenSimpleInterpolation;
7
7
  export declare const absoluteCenter: () => import("styled-components").FlattenSimpleInterpolation;
8
- export declare const statusColor: (status: any) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
8
+ export declare const statusColor: (status: any) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
9
9
  /**
10
10
  * bg color에 따라 font color 셋팅 자동화
11
11
  * @param bgColor
12
12
  */
13
- export declare const setFontColor: (bgColor?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
13
+ export declare const setFontColor: (bgColor?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ITableProps } from '../../../components/Table';
2
+ import { ITableProps } from './';
3
3
  interface IAppendTableProps extends ITableProps {
4
4
  appendText?: string;
5
5
  rows?: any[];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { IContentHeaderProps } from '../../../components/Header/ContentHeader';
3
- import { ITableProps } from '../../../components/Table';
2
+ import { IContentHeaderProps } from '../Header/ContentHeader';
3
+ import { ITableProps } from './';
4
4
  export interface ITableBaseProps extends Omit<ITableProps, 'title' | 'dataSource'>, Omit<IContentHeaderProps, 'title'> {
5
5
  title?: React.ReactNode;
6
6
  loadData: (paginationState: any) => void;
@@ -1,23 +1,23 @@
1
- declare const TableBox: import("styled-components").StyledComponent<"div", any, {
1
+ declare const TableBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
2
  columnSpace?: number | undefined;
3
3
  border?: boolean | undefined;
4
4
  }, never>;
5
- declare const TableLoadingBox: import("styled-components").StyledComponent<"div", any, {
5
+ declare const TableLoadingBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
6
6
  isNormal?: boolean | undefined;
7
7
  isScroll?: boolean | undefined;
8
8
  }, never>;
9
- declare const CustomPagination: import("styled-components").StyledComponent<"div", any, {
9
+ declare const CustomPagination: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
10
10
  border?: boolean | undefined;
11
11
  }, never>;
12
- declare const PaginationItemBox: import("styled-components").StyledComponent<"li", any, {
12
+ declare const PaginationItemBox: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
13
13
  active?: boolean | undefined;
14
14
  disabled?: boolean | undefined;
15
15
  border?: boolean | undefined;
16
16
  }, never>;
17
- declare const TopContentArea: import("styled-components").StyledComponent<"div", any, {
17
+ declare const TopContentArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
18
18
  fullSize?: boolean | undefined;
19
19
  }, never>;
20
- declare const FormItemBox: import("styled-components").StyledComponent<"div", any, {
20
+ declare const FormItemBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
21
21
  width?: number | undefined;
22
22
  gap?: number | undefined;
23
23
  fullHeight?: boolean | undefined;
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface ITailwindTestProps {
3
+ children?: ReactNode;
4
+ }
5
+ declare const TailwindTest: React.FC<ITailwindTestProps>;
6
+ export default TailwindTest;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ThemeType } from '../../theme';
2
+ import { DefaultTheme } from 'styled-components';
3
3
  import 'antd/lib/table/style/index.css';
4
4
  import 'antd/lib/dropdown/style/index.css';
5
5
  import 'antd/lib/style/index.css';
@@ -7,7 +7,7 @@ import 'antd/lib/switch/style/index.css';
7
7
  import 'antd/lib/spin/style/index.css';
8
8
  import 'antd/lib/tooltip/style/index.css';
9
9
  interface IThemeProviderProps {
10
- theme?: ThemeType;
10
+ theme?: DefaultTheme;
11
11
  primary?: string;
12
12
  children?: React.ReactNode;
13
13
  language?: 'en' | 'ko';
@@ -0,0 +1,5 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{
3
+ theme: DefaultTheme;
4
+ }, DefaultTheme>;
5
+ export default GlobalStyle;
@@ -0,0 +1 @@
1
+ import './css/globals.css';