@aveonline/ui-react 1.17.1 → 1.18.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 (29) hide show
  1. package/README.md +126 -126
  2. package/dist/components/atoms/Tooltip/TooltipAnchor.d.ts +1 -1
  3. package/dist/components/atoms/Tooltip/TooltipFloat.d.ts +1 -1
  4. package/dist/components/index.d.ts +3 -0
  5. package/dist/components/molecules/Card/Simple/ICardSimple.d.ts +13 -0
  6. package/dist/components/molecules/Card/Simple/Simple.d.ts +2 -0
  7. package/dist/components/molecules/Card/Simple/index.d.ts +2 -0
  8. package/dist/components/molecules/DateInputPicker/Atoms/CustomButton.d.ts +3 -0
  9. package/dist/components/molecules/DateInputPicker/Atoms/CustomInput.d.ts +3 -0
  10. package/dist/components/molecules/DateInputPicker/Atoms/CustomRangeInput.d.ts +3 -0
  11. package/dist/components/molecules/DateInputPicker/Atoms/PluginEspecialDates.d.ts +3 -0
  12. package/dist/components/molecules/DateInputPicker/DateInputPicker.d.ts +3 -0
  13. package/dist/components/molecules/DateInputPicker/Datelocate.d.ts +7 -0
  14. package/dist/components/molecules/DateInputPicker/IDateInputPicker.d.ts +42 -0
  15. package/dist/components/templates/SecondMain/SecondMain.d.ts +9 -0
  16. package/dist/components/templates/SecondMain/index.d.ts +1 -0
  17. package/dist/index.css +1 -1
  18. package/dist/index.d.ts +2 -0
  19. package/dist/reset.css +273 -273
  20. package/dist/tailwind.config.js +242 -242
  21. package/dist/tailwind.css +1 -1
  22. package/dist/tokens.css +160 -160
  23. package/dist/types/Template.d.ts +2 -2
  24. package/dist/types/Tokens.d.ts +4 -1
  25. package/dist/ui-react.mjs +9610 -7506
  26. package/dist/ui-react.umd.js +42 -34
  27. package/dist/vite-env.d.ts +2 -2
  28. package/package.json +110 -108
  29. package/dist/components/molecules/Selectable/select.d.ts +0 -27
@@ -1,242 +1,242 @@
1
- /* eslint-disable @typescript-eslint/no-var-requires */
2
- /** @type {import('tailwindcss').Config} */
3
- const defaultTheme = require('tailwindcss/defaultTheme')
4
-
5
- module.exports = {
6
- content: ['./src/**/*.{ts,tsx,vue,js,jsx}'],
7
- theme: {
8
- screens: {
9
- sm: '489px',
10
- md: '768px',
11
- lg: '1039px',
12
- xl: '1440px'
13
- },
14
- extend: {
15
- colors: {
16
- letter: {
17
- default: 'var(--colors-letter-default)',
18
- subdued: 'var(--colors-letter-subdued)',
19
- disabled: 'var(--colors-letter-disabled)',
20
- warning: 'var(--colors-letter-warning)',
21
- critical: 'var(--colors-letter-critical)',
22
- success: 'var(--colors-letter-success)',
23
- on: 'var(--colors-letter-on)'
24
- },
25
- action: {
26
- primary: {
27
- default: 'var(--colors-action-primary-default)',
28
- hovered: 'var(--colors-action-primary-hovered)',
29
- active: 'var(--colors-action-primary-active)',
30
- pressed: 'var(--colors-action-primary-pressed)',
31
- disabled: 'var(--colors-action-primary-disabled)'
32
- },
33
- secondary: {
34
- default: 'var(--colors-action-secondary-default)',
35
- hovered: 'var(--colors-action-secondary-hovered)',
36
- active: 'var(--colors-action-secondary-active)',
37
- pressed: 'var(--colors-action-secondary-pressed)',
38
- disabled: 'var(--colors-action-secondary-disabled)',
39
- subdued: 'var(--colors-action-secondary-subdued)'
40
- },
41
- critical: {
42
- default: 'var(--colors-action-critical-default)',
43
- hovered: 'var(--colors-action-critical-hovered)',
44
- active: 'var(--colors-action-critical-active)',
45
- pressed: 'var(--colors-action-critical-pressed)',
46
- disabled: 'var(--colors-action-critical-disabled)'
47
- },
48
- opacity: {
49
- default: 'var(--colors-action-opacity-default)',
50
- hovered: 'var(--colors-action-opacity-hovered)',
51
- active: 'var(--colors-action-opacity-active)',
52
- disabled: 'var(--colors-action-opacity-disabled)'
53
- }
54
- },
55
- border: {
56
- default: 'var(--colors-border-default)',
57
- subdued: 'var(--colors-border-subdued)',
58
- hovered: 'var(--colors-border-hovered)',
59
- active: 'var(--colors-border-active)',
60
- disabled: 'var(--colors-border-disabled)',
61
- success: {
62
- default: 'var(--colors-border-success-default)',
63
- subdued: 'var(--colors-border-success-subdued)'
64
- },
65
- critical: {
66
- default: 'var(--colors-border-critical-default)',
67
- subdued: 'var(--colors-border-critical-subdued)',
68
- disabled: 'var(--colors-border-critical-disabled)'
69
- },
70
- shadow: {
71
- subdued: 'var(--colors-border-shadow-subdued)'
72
- }
73
- },
74
- interactive: {
75
- default: 'var(--colors-interactive-default)',
76
- hovered: 'var(--colors-interactive-hovered)',
77
- active: 'var(--colors-interactive-active)',
78
- disabled: 'var(--colors-interactive-disabled)',
79
- critical: {
80
- default: 'var(--colors-interactive-critical-default)',
81
- hovered: 'var(--colors-interactive-critical-hovered)',
82
- active: 'var(--colors-interactive-critical-active)',
83
- disabled: 'var(--colors-interactive-critical-disabled)'
84
- }
85
- },
86
- icon: {
87
- default: 'var(--colors-icon-default)',
88
- subdued: 'var(--colors-icon-subdued)',
89
- hovered: 'var(--colors-icon-hovered)',
90
- active: 'var(--colors-icon-active)',
91
- disabled: 'var(--colors-icon-disabled)',
92
- critical: 'var(--colors-icon-critical)',
93
- warning: 'var(--colors-icon-warning)',
94
- success: 'var(--colors-icon-success)',
95
- on: 'var(--colors-icon-on)'
96
- },
97
- focused: {
98
- default: 'var(--colors-focused-default)'
99
- },
100
- surface: {
101
- default: 'var(--colors-surface-default)',
102
- subdued: 'var(--colors-surface-subdued)',
103
- hovered: 'var(--colors-surface-hovered)',
104
- active: 'var(--colors-surface-active)',
105
- pressed: 'var(--colors-surface-pressed)',
106
- disabled: 'var(--colors-surface-disabled)',
107
- action: {
108
- default: 'var(--colors-surface-action-default)',
109
- subdued: 'var(--colors-surface-action-subdued)',
110
- hovered: 'var(--colors-surface-action-hovered)',
111
- active: 'var(--colors-surface-action-active)',
112
- disabled: 'var(--colors-surface-action-disabled)'
113
- },
114
- warning: {
115
- default: 'var(--colors-surface-warning-default)',
116
- subdued: 'var(--colors-surface-warning-subdued)',
117
- hovered: 'var(--colors-surface-warning-hovered)',
118
- active: 'var(--colors-surface-warning-active)'
119
- },
120
- success: {
121
- default: 'var(--colors-surface-success-default)',
122
- subdued: 'var(--colors-surface-success-subdued)',
123
- hovered: 'var(--colors-surface-success-hovered)',
124
- active: 'var(--colors-surface-success-active)'
125
- },
126
- critical: {
127
- default: 'var(--colors-surface-critical-default)',
128
- subdued: 'var(--colors-surface-critical-subdued)',
129
- hovered: 'var(--colors-surface-critical-hovered)',
130
- active: 'var(--colors-surface-critical-active)',
131
- disabled: 'var(--colors-surface-critical-disabled)'
132
- },
133
- neutral: {
134
- default: 'var(--colors-surface-neutral-default)',
135
- subdued: 'var(--colors-surface-neutral-subdued)',
136
- hovered: 'var(--colors-surface-neutral-hovered)',
137
- active: 'var(--colors-surface-neutral-active)',
138
- disabled: 'var(--colors-surface-neutral-disabled)'
139
- }
140
- },
141
- background: {
142
- default: 'var(--colors-background-default)',
143
- hovered: 'var(--colors-background-hovered)',
144
- active: 'var(--colors-background-active)',
145
- selected: 'var(--colors-background-selected)',
146
- modal: 'var(--colors-background-modal)'
147
- },
148
- radial: {
149
- 10: 'var(--colors-radial-10)',
150
- 20: 'var(--colors-radial-20)',
151
- 30: 'var(--colors-radial-30)',
152
- 40: 'var(--colors-radial-40)',
153
- 50: 'var(--colors-radial-50)',
154
- 60: 'var(--colors-radial-60)',
155
- 70: 'var(--colors-radial-70)',
156
- 80: 'var(--colors-radial-80)',
157
- 90: 'var(--colors-radial-90)',
158
- 100: 'var(--colors-radial-100)'
159
- },
160
- base: {
161
- surface: 'var(--colors-base-surface)',
162
- primary: 'var(--colors-base-primary)',
163
- secondary: 'var(--colors-base-secondary)',
164
- interactive: 'var(--colors-base-interactive)',
165
- brand: 'var(--colors-base-brand)',
166
- critical: 'var(--colors-base-critical)',
167
- warning: 'var(--colors-base-warning)',
168
- success: 'var(--colors-base-success)'
169
- },
170
- special: {
171
- one: 'var(--colors-special-one)',
172
- oneBack: 'var(--colors-special-one-back)',
173
- two: 'var(--colors-special-two)',
174
- twoBack: 'var(--colors-special-two-back)',
175
- three: 'var(--colors-special-three)',
176
- threeBack: 'var(--colors-special-three-back)',
177
- four: 'var(--colors-special-four)',
178
- fourBack: 'var(--colors-special-four-back)'
179
- }
180
- },
181
- fontSize: {
182
- xxs: 'var(--font-size-xxs)',
183
- xs: 'var(--font-size-xs)',
184
- sm: 'var(--font-size-sm)',
185
- md: 'var(--font-size-md)',
186
- lg: 'var(--font-size-lg)',
187
- xl: 'var(--font-size-xl)',
188
- xxl: 'var(--font-size-xxl)'
189
- },
190
- lineHeight: {
191
- xxs: 'var(--line-height-xxs)',
192
- xs: 'var(--line-height-xs)',
193
- sm: 'var(--line-height-sm)',
194
- md: 'var(--line-height-md)',
195
- lg: 'var(--line-height-lg)',
196
- xl: 'var(--line-height-xl)',
197
- xxl: 'var(--line-height-xxl)'
198
- },
199
- fontWeight: {
200
- regular: 'var(--font-weight-regular)',
201
- medium: 'var(--font-weight-medium)',
202
- bold: 'var(--font-weight-bold)'
203
- },
204
- borderRadius: {
205
- xs: 'var(--border-radius-xs)',
206
- sm: 'var(--border-radius-sm)',
207
- md: 'var(--border-radius-md)'
208
- },
209
- boxShadow: {
210
- card: 'var(--box-shadow-card)',
211
- popover: 'var(--box-shadow-popover)',
212
- popup: 'var(--box-shadow-popup)',
213
- pressed: 'var(--box-shadow-pressed)'
214
- },
215
- spacing: {
216
- xxs: 'var(--spacing-xxs)',
217
- xs: 'var(--spacing-xs)',
218
- sm: 'var(--spacing-sm)',
219
- md: 'var(--spacing-md)',
220
- lg: 'var(--spacing-lg)',
221
- xl: 'var(--spacing-xl)',
222
- xxl: 'var(--spacing-xxl)',
223
- '1xl': 'var(--spacing-1xl)'
224
- },
225
- fontFamily: {
226
- sans: ['Inter', ...defaultTheme.fontFamily.sans]
227
- },
228
- animation: {
229
- 'spin-slow': 'spin 3s linear infinite'
230
- }
231
- }
232
- },
233
- variants: {
234
- extend: {
235
- backgroundColor: ['checked', 'active'],
236
- textColor: ['checked', 'active'],
237
- borderColor: ['checked', 'hover', 'active'],
238
- fill: ['hover', 'focus']
239
- }
240
- },
241
- plugins: [require('@tailwindcss/forms')]
242
- }
1
+ /* eslint-disable @typescript-eslint/no-var-requires */
2
+ /** @type {import('tailwindcss').Config} */
3
+ const defaultTheme = require('tailwindcss/defaultTheme')
4
+
5
+ module.exports = {
6
+ content: ['./src/**/*.{ts,tsx,vue,js,jsx}'],
7
+ theme: {
8
+ screens: {
9
+ sm: '489px',
10
+ md: '768px',
11
+ lg: '1039px',
12
+ xl: '1440px'
13
+ },
14
+ extend: {
15
+ colors: {
16
+ letter: {
17
+ default: 'var(--colors-letter-default)',
18
+ subdued: 'var(--colors-letter-subdued)',
19
+ disabled: 'var(--colors-letter-disabled)',
20
+ warning: 'var(--colors-letter-warning)',
21
+ critical: 'var(--colors-letter-critical)',
22
+ success: 'var(--colors-letter-success)',
23
+ on: 'var(--colors-letter-on)'
24
+ },
25
+ action: {
26
+ primary: {
27
+ default: 'var(--colors-action-primary-default)',
28
+ hovered: 'var(--colors-action-primary-hovered)',
29
+ active: 'var(--colors-action-primary-active)',
30
+ pressed: 'var(--colors-action-primary-pressed)',
31
+ disabled: 'var(--colors-action-primary-disabled)'
32
+ },
33
+ secondary: {
34
+ default: 'var(--colors-action-secondary-default)',
35
+ hovered: 'var(--colors-action-secondary-hovered)',
36
+ active: 'var(--colors-action-secondary-active)',
37
+ pressed: 'var(--colors-action-secondary-pressed)',
38
+ disabled: 'var(--colors-action-secondary-disabled)',
39
+ subdued: 'var(--colors-action-secondary-subdued)'
40
+ },
41
+ critical: {
42
+ default: 'var(--colors-action-critical-default)',
43
+ hovered: 'var(--colors-action-critical-hovered)',
44
+ active: 'var(--colors-action-critical-active)',
45
+ pressed: 'var(--colors-action-critical-pressed)',
46
+ disabled: 'var(--colors-action-critical-disabled)'
47
+ },
48
+ opacity: {
49
+ default: 'var(--colors-action-opacity-default)',
50
+ hovered: 'var(--colors-action-opacity-hovered)',
51
+ active: 'var(--colors-action-opacity-active)',
52
+ disabled: 'var(--colors-action-opacity-disabled)'
53
+ }
54
+ },
55
+ border: {
56
+ default: 'var(--colors-border-default)',
57
+ subdued: 'var(--colors-border-subdued)',
58
+ hovered: 'var(--colors-border-hovered)',
59
+ active: 'var(--colors-border-active)',
60
+ disabled: 'var(--colors-border-disabled)',
61
+ success: {
62
+ default: 'var(--colors-border-success-default)',
63
+ subdued: 'var(--colors-border-success-subdued)'
64
+ },
65
+ critical: {
66
+ default: 'var(--colors-border-critical-default)',
67
+ subdued: 'var(--colors-border-critical-subdued)',
68
+ disabled: 'var(--colors-border-critical-disabled)'
69
+ },
70
+ shadow: {
71
+ subdued: 'var(--colors-border-shadow-subdued)'
72
+ }
73
+ },
74
+ interactive: {
75
+ default: 'var(--colors-interactive-default)',
76
+ hovered: 'var(--colors-interactive-hovered)',
77
+ active: 'var(--colors-interactive-active)',
78
+ disabled: 'var(--colors-interactive-disabled)',
79
+ critical: {
80
+ default: 'var(--colors-interactive-critical-default)',
81
+ hovered: 'var(--colors-interactive-critical-hovered)',
82
+ active: 'var(--colors-interactive-critical-active)',
83
+ disabled: 'var(--colors-interactive-critical-disabled)'
84
+ }
85
+ },
86
+ icon: {
87
+ default: 'var(--colors-icon-default)',
88
+ subdued: 'var(--colors-icon-subdued)',
89
+ hovered: 'var(--colors-icon-hovered)',
90
+ active: 'var(--colors-icon-active)',
91
+ disabled: 'var(--colors-icon-disabled)',
92
+ critical: 'var(--colors-icon-critical)',
93
+ warning: 'var(--colors-icon-warning)',
94
+ success: 'var(--colors-icon-success)',
95
+ on: 'var(--colors-icon-on)'
96
+ },
97
+ focused: {
98
+ default: 'var(--colors-focused-default)'
99
+ },
100
+ surface: {
101
+ default: 'var(--colors-surface-default)',
102
+ subdued: 'var(--colors-surface-subdued)',
103
+ hovered: 'var(--colors-surface-hovered)',
104
+ active: 'var(--colors-surface-active)',
105
+ pressed: 'var(--colors-surface-pressed)',
106
+ disabled: 'var(--colors-surface-disabled)',
107
+ action: {
108
+ default: 'var(--colors-surface-action-default)',
109
+ subdued: 'var(--colors-surface-action-subdued)',
110
+ hovered: 'var(--colors-surface-action-hovered)',
111
+ active: 'var(--colors-surface-action-active)',
112
+ disabled: 'var(--colors-surface-action-disabled)'
113
+ },
114
+ warning: {
115
+ default: 'var(--colors-surface-warning-default)',
116
+ subdued: 'var(--colors-surface-warning-subdued)',
117
+ hovered: 'var(--colors-surface-warning-hovered)',
118
+ active: 'var(--colors-surface-warning-active)'
119
+ },
120
+ success: {
121
+ default: 'var(--colors-surface-success-default)',
122
+ subdued: 'var(--colors-surface-success-subdued)',
123
+ hovered: 'var(--colors-surface-success-hovered)',
124
+ active: 'var(--colors-surface-success-active)'
125
+ },
126
+ critical: {
127
+ default: 'var(--colors-surface-critical-default)',
128
+ subdued: 'var(--colors-surface-critical-subdued)',
129
+ hovered: 'var(--colors-surface-critical-hovered)',
130
+ active: 'var(--colors-surface-critical-active)',
131
+ disabled: 'var(--colors-surface-critical-disabled)'
132
+ },
133
+ neutral: {
134
+ default: 'var(--colors-surface-neutral-default)',
135
+ subdued: 'var(--colors-surface-neutral-subdued)',
136
+ hovered: 'var(--colors-surface-neutral-hovered)',
137
+ active: 'var(--colors-surface-neutral-active)',
138
+ disabled: 'var(--colors-surface-neutral-disabled)'
139
+ }
140
+ },
141
+ background: {
142
+ default: 'var(--colors-background-default)',
143
+ hovered: 'var(--colors-background-hovered)',
144
+ active: 'var(--colors-background-active)',
145
+ selected: 'var(--colors-background-selected)',
146
+ modal: 'var(--colors-background-modal)'
147
+ },
148
+ radial: {
149
+ 10: 'var(--colors-radial-10)',
150
+ 20: 'var(--colors-radial-20)',
151
+ 30: 'var(--colors-radial-30)',
152
+ 40: 'var(--colors-radial-40)',
153
+ 50: 'var(--colors-radial-50)',
154
+ 60: 'var(--colors-radial-60)',
155
+ 70: 'var(--colors-radial-70)',
156
+ 80: 'var(--colors-radial-80)',
157
+ 90: 'var(--colors-radial-90)',
158
+ 100: 'var(--colors-radial-100)'
159
+ },
160
+ base: {
161
+ surface: 'var(--colors-base-surface)',
162
+ primary: 'var(--colors-base-primary)',
163
+ secondary: 'var(--colors-base-secondary)',
164
+ interactive: 'var(--colors-base-interactive)',
165
+ brand: 'var(--colors-base-brand)',
166
+ critical: 'var(--colors-base-critical)',
167
+ warning: 'var(--colors-base-warning)',
168
+ success: 'var(--colors-base-success)'
169
+ },
170
+ special: {
171
+ one: 'var(--colors-special-one)',
172
+ oneBack: 'var(--colors-special-one-back)',
173
+ two: 'var(--colors-special-two)',
174
+ twoBack: 'var(--colors-special-two-back)',
175
+ three: 'var(--colors-special-three)',
176
+ threeBack: 'var(--colors-special-three-back)',
177
+ four: 'var(--colors-special-four)',
178
+ fourBack: 'var(--colors-special-four-back)'
179
+ }
180
+ },
181
+ fontSize: {
182
+ xxs: 'var(--font-size-xxs)',
183
+ xs: 'var(--font-size-xs)',
184
+ sm: 'var(--font-size-sm)',
185
+ md: 'var(--font-size-md)',
186
+ lg: 'var(--font-size-lg)',
187
+ xl: 'var(--font-size-xl)',
188
+ xxl: 'var(--font-size-xxl)'
189
+ },
190
+ lineHeight: {
191
+ xxs: 'var(--line-height-xxs)',
192
+ xs: 'var(--line-height-xs)',
193
+ sm: 'var(--line-height-sm)',
194
+ md: 'var(--line-height-md)',
195
+ lg: 'var(--line-height-lg)',
196
+ xl: 'var(--line-height-xl)',
197
+ xxl: 'var(--line-height-xxl)'
198
+ },
199
+ fontWeight: {
200
+ regular: 'var(--font-weight-regular)',
201
+ medium: 'var(--font-weight-medium)',
202
+ bold: 'var(--font-weight-bold)'
203
+ },
204
+ borderRadius: {
205
+ xs: 'var(--border-radius-xs)',
206
+ sm: 'var(--border-radius-sm)',
207
+ md: 'var(--border-radius-md)'
208
+ },
209
+ boxShadow: {
210
+ card: 'var(--box-shadow-card)',
211
+ popover: 'var(--box-shadow-popover)',
212
+ popup: 'var(--box-shadow-popup)',
213
+ pressed: 'var(--box-shadow-pressed)'
214
+ },
215
+ spacing: {
216
+ xxs: 'var(--spacing-xxs)',
217
+ xs: 'var(--spacing-xs)',
218
+ sm: 'var(--spacing-sm)',
219
+ md: 'var(--spacing-md)',
220
+ lg: 'var(--spacing-lg)',
221
+ xl: 'var(--spacing-xl)',
222
+ xxl: 'var(--spacing-xxl)',
223
+ '1xl': 'var(--spacing-1xl)'
224
+ },
225
+ fontFamily: {
226
+ sans: ['Inter', ...defaultTheme.fontFamily.sans]
227
+ },
228
+ animation: {
229
+ 'spin-slow': 'spin 3s linear infinite'
230
+ }
231
+ }
232
+ },
233
+ variants: {
234
+ extend: {
235
+ backgroundColor: ['checked', 'active'],
236
+ textColor: ['checked', 'active'],
237
+ borderColor: ['checked', 'hover', 'active'],
238
+ fill: ['hover', 'focus']
239
+ }
240
+ },
241
+ plugins: [require('@tailwindcss/forms')]
242
+ }