gov-ui-core 0.2.6-beta.8 → 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.
Files changed (104) hide show
  1. package/.storybook/main.ts +36 -37
  2. package/.storybook/preview.tsx +27 -27
  3. package/@types/custom.d.ts +43 -43
  4. package/@types/styles.d.ts +3 -86
  5. package/README.md +46 -46
  6. package/build/App.d.ts +3 -3
  7. package/build/Main.d.ts +5 -5
  8. package/build/components/Button/DropdownButton.d.ts +15 -15
  9. package/build/components/Button/SwitchButton.d.ts +7 -7
  10. package/build/components/Button/index.d.ts +11 -11
  11. package/build/components/Button/styled.d.ts +10 -11
  12. package/build/components/Calendar/CalendarNavigation.d.ts +9 -9
  13. package/build/components/Calendar/constants.d.ts +2 -2
  14. package/build/components/Calendar/index.d.ts +11 -11
  15. package/build/components/Calendar/styled.d.ts +2 -2
  16. package/build/components/Carousel/ArrowButton.d.ts +7 -7
  17. package/build/components/Carousel/index.d.ts +14 -14
  18. package/build/components/Carousel/styled.d.ts +2 -2
  19. package/build/components/Directory/index.d.ts +32 -32
  20. package/build/components/Directory/styled.d.ts +6 -6
  21. package/build/components/EmptyBox/index.d.ts +8 -8
  22. package/build/components/EmptyBox/styled.d.ts +4 -4
  23. package/build/components/Form/Form.d.ts +21 -21
  24. package/build/components/Form/Group.d.ts +6 -6
  25. package/build/components/Form/Item.d.ts +22 -22
  26. package/build/components/Form/index.d.ts +14 -14
  27. package/build/components/Form/styled.d.ts +7 -7
  28. package/build/components/Header/ContentHeader.d.ts +15 -15
  29. package/build/components/Header/styled.d.ts +5 -5
  30. package/build/components/Icons/index.d.ts +14 -14
  31. package/build/components/Input/Checkbox.d.ts +19 -19
  32. package/build/components/Input/ErrorMessage.d.ts +8 -8
  33. package/build/components/Input/Input.d.ts +23 -23
  34. package/build/components/Input/InputNumber.d.ts +8 -8
  35. package/build/components/Input/Radio.d.ts +16 -16
  36. package/build/components/Input/Search.d.ts +13 -13
  37. package/build/components/Input/Select.d.ts +39 -39
  38. package/build/components/Input/TextArea.d.ts +15 -15
  39. package/build/components/Input/index.d.ts +19 -19
  40. package/build/components/Input/styled.d.ts +25 -25
  41. package/build/components/IntlText/index.d.ts +5 -5
  42. package/build/components/Loading/OverlayLoading.d.ts +10 -10
  43. package/build/components/Loading/Spinner.d.ts +9 -9
  44. package/build/components/Loading/styled.d.ts +10 -10
  45. package/build/components/Styled/mixins.d.ts +13 -13
  46. package/build/components/Styled/variable.d.ts +6 -6
  47. package/build/components/Table/AppendTable.d.ts +26 -26
  48. package/build/components/Table/AutoTooltip.d.ts +8 -8
  49. package/build/components/Table/TableBase.d.ts +16 -16
  50. package/build/components/Table/TableLoading.d.ts +9 -9
  51. package/build/components/Table/components/Pagination.d.ts +18 -18
  52. package/build/components/Table/components/PaginationItem.d.ts +9 -9
  53. package/build/components/Table/index.d.ts +27 -27
  54. package/build/components/Table/styled.d.ts +25 -25
  55. package/build/components/ThemeProvider.d.ts +16 -16
  56. package/build/globalStyle.d.ts +5 -5
  57. package/build/index.d.ts +1 -1
  58. package/build/index.js +1 -1
  59. package/build/modules.d.ts +23 -25
  60. package/build/pages/CreateTable.d.ts +20 -20
  61. package/build/pages/FormSample.d.ts +5 -5
  62. package/build/pages/Sample.d.ts +5 -5
  63. package/build/pages/Sample2.d.ts +5 -5
  64. package/build/pages/Sample3.d.ts +5 -5
  65. package/build/pages/Sample4.d.ts +5 -5
  66. package/build/pages/TableSample.d.ts +5 -5
  67. package/build/pages/sampleData.d.ts +59 -59
  68. package/build/reportWebVitals.d.ts +3 -3
  69. package/build/theme.d.ts +45 -3
  70. package/build/utils/customState.d.ts +28 -28
  71. package/build/utils/hookUtils.d.ts +16 -16
  72. package/build/utils/index.d.ts +35 -35
  73. package/config/env.js +104 -104
  74. package/config/getHttpsConfig.js +66 -66
  75. package/config/jest/babelTransform.js +29 -29
  76. package/config/jest/cssTransform.js +14 -14
  77. package/config/jest/fileTransform.js +40 -40
  78. package/config/modules.js +134 -134
  79. package/config/paths.js +77 -77
  80. package/config/webpack/persistentCache/createEnvironmentHash.js +9 -9
  81. package/config/webpack.config.js +756 -756
  82. package/config/webpack.prod.config.js +91 -91
  83. package/config/webpackDevServer.config.js +127 -127
  84. package/doctor-storybook.log +18 -0
  85. package/migration-storybook.log +98 -0
  86. package/package.json +215 -246
  87. package/public/index.html +43 -43
  88. package/public/manifest.json +25 -25
  89. package/public/robots.txt +3 -3
  90. package/scripts/build.js +217 -217
  91. package/scripts/start.js +154 -154
  92. package/scripts/test.js +52 -52
  93. package/tsconfig.json +34 -34
  94. package/.eslintrc.json +0 -54
  95. package/.husky/pre-commit +0 -4
  96. package/.prettierrc +0 -12
  97. package/.stylelintrc.json +0 -16
  98. package/build/components/Button/constants.d.ts +0 -19
  99. package/build/components/TailwindTest/index.d.ts +0 -6
  100. package/build/pages/ButtonSample.d.ts +0 -6
  101. package/build/pages/InputSample.d.ts +0 -6
  102. package/build/pages/TailwindSample.d.ts +0 -1
  103. package/postcss.config.js +0 -8
  104. package/tailwind.config.js +0 -185
@@ -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
- }