@idds/styles 1.2.11 → 1.2.13
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.
- package/README.md +178 -42
- package/dist/base.css +1071 -0
- package/dist/base.min.css +1 -0
- package/dist/index.css +14801 -0
- package/dist/index.min.css +15 -0
- package/dist/tailwind/css/bgn.min.css +1 -0
- package/dist/tailwind/css/bkn.min.css +1 -0
- package/dist/tailwind/css/idds.min.css +1 -0
- package/dist/tailwind/css/inagov.min.css +1 -0
- package/dist/tailwind/css/inaku.min.css +1 -0
- package/dist/tailwind/css/inapas.min.css +1 -0
- package/dist/tailwind/css/lan.min.css +1 -0
- package/dist/tailwind/css/pan-rb.min.css +1 -0
- package/package.json +31 -21
- package/src/colors/brands/bgn.css +0 -30
- package/src/colors/brands/bkn.css +0 -33
- package/src/colors/brands/inagov.css +0 -40
- package/src/colors/brands/inaku.css +0 -29
- package/src/colors/brands/inapas.css +0 -29
- package/src/colors/brands/lan.css +0 -39
- package/src/colors/brands/pan-rb.css +0 -31
- package/src/colors/index.css +0 -11
- package/src/colors/primitives/index.css +0 -175
- package/src/colors/product/index.css +0 -205
- package/src/colors/utilities/index.css +0 -77
- package/src/components/accordion-card.css +0 -99
- package/src/components/accordion.css +0 -120
- package/src/components/action-dropdown.css +0 -140
- package/src/components/alert.css +0 -180
- package/src/components/avatar.css +0 -182
- package/src/components/badge.css +0 -247
- package/src/components/bottom-sheet.css +0 -61
- package/src/components/breadcrumb.css +0 -97
- package/src/components/button-group.css +0 -130
- package/src/components/button.css +0 -241
- package/src/components/card.css +0 -576
- package/src/components/carousel.css +0 -100
- package/src/components/chart.css +0 -81
- package/src/components/checkbox.css +0 -211
- package/src/components/chip.css +0 -245
- package/src/components/collapse.css +0 -84
- package/src/components/confirmation.css +0 -131
- package/src/components/date-picker.css +0 -1059
- package/src/components/divider.css +0 -174
- package/src/components/drawer.css +0 -752
- package/src/components/dropdown.css +0 -370
- package/src/components/field-input-table.css +0 -347
- package/src/components/file-upload.css +0 -333
- package/src/components/input-search.css +0 -428
- package/src/components/linear-progress-indicator.css +0 -34
- package/src/components/modal.css +0 -507
- package/src/components/month-picker.css +0 -326
- package/src/components/multiple-choice-grid.css +0 -383
- package/src/components/one-time-password.css +0 -119
- package/src/components/pagination.css +0 -429
- package/src/components/password-input.css +0 -477
- package/src/components/phone-input.css +0 -412
- package/src/components/progress-bar.css +0 -447
- package/src/components/radio-input.css +0 -277
- package/src/components/reset.css +0 -431
- package/src/components/select-dropdown.css +0 -663
- package/src/components/select-option.css +0 -217
- package/src/components/single-file-upload.css +0 -186
- package/src/components/skeleton.css +0 -488
- package/src/components/spinner.css +0 -450
- package/src/components/stepper.css +0 -260
- package/src/components/tab-horizontal.css +0 -278
- package/src/components/tab-vertical.css +0 -261
- package/src/components/table-progress-bar.css +0 -48
- package/src/components/table.css +0 -538
- package/src/components/text-area.css +0 -220
- package/src/components/text-field.css +0 -278
- package/src/components/theme-toggle.css +0 -259
- package/src/components/time-picker.css +0 -436
- package/src/components/toast.css +0 -265
- package/src/components/toggle.css +0 -195
- package/src/components/tooltip.css +0 -343
- package/src/components/year-picker.css +0 -424
- package/src/index.css +0 -3
- /package/{src → dist}/tailwind/css/bgn.css +0 -0
- /package/{src → dist}/tailwind/css/bkn.css +0 -0
- /package/{src → dist}/tailwind/css/idds.css +0 -0
- /package/{src → dist}/tailwind/css/inagov.css +0 -0
- /package/{src → dist}/tailwind/css/inaku.css +0 -0
- /package/{src → dist}/tailwind/css/inapas.css +0 -0
- /package/{src → dist}/tailwind/css/lan.css +0 -0
- /package/{src → dist}/tailwind/css/pan-rb.css +0 -0
- /package/{src → dist}/tailwind/ts/bgn.ts +0 -0
- /package/{src → dist}/tailwind/ts/bkn.ts +0 -0
- /package/{src → dist}/tailwind/ts/default.ts +0 -0
- /package/{src → dist}/tailwind/ts/idds.ts +0 -0
- /package/{src → dist}/tailwind/ts/inagov.ts +0 -0
- /package/{src → dist}/tailwind/ts/inaku.ts +0 -0
- /package/{src → dist}/tailwind/ts/inapas.ts +0 -0
- /package/{src → dist}/tailwind/ts/lan.ts +0 -0
- /package/{src → dist}/tailwind/ts/pan-rb.ts +0 -0
|
@@ -1,333 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* File Upload Component Styles
|
|
3
|
-
* Menggunakan BEM naming convention dengan prefix "ina-"
|
|
4
|
-
* Sesuai dengan design Figma
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
.ina-file-upload {
|
|
8
|
-
min-width: 100%;
|
|
9
|
-
}
|
|
10
|
-
@media (min-width: 768px) {
|
|
11
|
-
.ina-file-upload {
|
|
12
|
-
min-width: 484px;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.ina-file-upload__label {
|
|
17
|
-
display: block;
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
font-weight: 500;
|
|
20
|
-
line-height: 20px;
|
|
21
|
-
color: var(--ina-content-primary, var(--ina-neutral-800));
|
|
22
|
-
margin-bottom: 8px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ina-file-upload__dropzone {
|
|
26
|
-
border: 1px dashed var(--ina-neutral-400);
|
|
27
|
-
border-radius: 8px;
|
|
28
|
-
padding: 40px 24px;
|
|
29
|
-
text-align: center;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
transition: all 0.2s ease;
|
|
32
|
-
background-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
33
|
-
box-sizing: border-box;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.ina-file-upload__dropzone:hover {
|
|
37
|
-
border-color: var(--ina-primary-300, var(--Primary-300));
|
|
38
|
-
background-color: var(
|
|
39
|
-
--ina-background-secondary,
|
|
40
|
-
var(--Background-Secondary)
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.ina-file-upload__dropzone--drag-over {
|
|
45
|
-
border-color: var(--ina-primary-300, var(--Primary-300));
|
|
46
|
-
background-color: var(--ina-primary-25, var(--Primary-25));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.ina-file-upload__dropzone--disabled {
|
|
50
|
-
opacity: 0.5;
|
|
51
|
-
cursor: not-allowed;
|
|
52
|
-
pointer-events: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.ina-file-upload__input {
|
|
56
|
-
display: none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.ina-file-upload__content {
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-direction: column;
|
|
62
|
-
align-items: center;
|
|
63
|
-
gap: 16px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.ina-file-upload__icon {
|
|
67
|
-
color: var(--ina-content-primary, var(--ina-neutral-800));
|
|
68
|
-
display: flex;
|
|
69
|
-
align-items: center;
|
|
70
|
-
justify-content: center;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.ina-file-upload__text {
|
|
74
|
-
text-align: center;
|
|
75
|
-
display: flex;
|
|
76
|
-
flex-direction: column;
|
|
77
|
-
gap: 4px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.ina-file-upload__title {
|
|
81
|
-
font-size: 16.618px;
|
|
82
|
-
font-weight: 600;
|
|
83
|
-
line-height: 23.265px;
|
|
84
|
-
color: var(--ina-content-primary, var(--ina-neutral-800));
|
|
85
|
-
margin: 0;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.ina-file-upload__description {
|
|
89
|
-
font-size: 14px;
|
|
90
|
-
font-weight: 400;
|
|
91
|
-
line-height: 20px;
|
|
92
|
-
color: var(--ina-content-secondary, var(--Content-Secondary));
|
|
93
|
-
margin: 0;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.ina-file-upload__button {
|
|
97
|
-
padding: 8px 16px;
|
|
98
|
-
background-color: var(--ina-background-primary);
|
|
99
|
-
color: var(--ina-content-primary);
|
|
100
|
-
border: 1px solid var(--ina-stroke-primary);
|
|
101
|
-
border-radius: 8px;
|
|
102
|
-
font-size: 14px;
|
|
103
|
-
font-weight: 600;
|
|
104
|
-
line-height: 20px;
|
|
105
|
-
cursor: pointer;
|
|
106
|
-
transition: all 0.2s ease;
|
|
107
|
-
box-sizing: border-box;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.ina-file-upload__button:hover:not(:disabled) {
|
|
111
|
-
background-color: var(--ina-background-secondary);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.ina-file-upload__button:disabled {
|
|
115
|
-
opacity: 0.8;
|
|
116
|
-
cursor: not-allowed;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/* File List */
|
|
120
|
-
.ina-file-upload .ina-file-upload__files {
|
|
121
|
-
margin-top: 24px !important;
|
|
122
|
-
display: flex;
|
|
123
|
-
flex-direction: column;
|
|
124
|
-
gap: 8px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.ina-file-upload__file {
|
|
128
|
-
display: flex;
|
|
129
|
-
align-items: start;
|
|
130
|
-
gap: 12px;
|
|
131
|
-
padding: 12px;
|
|
132
|
-
background-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
133
|
-
border: 1px solid var(--ina-stroke-primary, var(--Stroke-Primary));
|
|
134
|
-
border-radius: 8px;
|
|
135
|
-
box-sizing: border-box;
|
|
136
|
-
transition: all 0.2s ease;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.ina-file-upload__file--error {
|
|
140
|
-
border-color: var(--ina-negative-500, var(--ina-error-500));
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.ina-file-upload__file--error .ina-file-upload__file-name,
|
|
144
|
-
.ina-file-upload__file--error .ina-file-upload__file-error {
|
|
145
|
-
color: var(--ina-negative-500, var(--ina-error-500));
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.ina-file-upload__file--success {
|
|
149
|
-
border-color: var(--ina-success-500, var(--Success-500));
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.ina-file-upload__file--uploading {
|
|
153
|
-
border-color: var(--ina-primary-300, var(--Primary-300));
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.ina-file-upload__file-indicator {
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
justify-content: center;
|
|
160
|
-
flex-shrink: 0;
|
|
161
|
-
width: 16px;
|
|
162
|
-
height: 16px;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.ina-file-upload__file-icon-wrapper {
|
|
166
|
-
display: flex;
|
|
167
|
-
align-items: center;
|
|
168
|
-
justify-content: center;
|
|
169
|
-
width: 20px;
|
|
170
|
-
height: 20px;
|
|
171
|
-
border-radius: 50%;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.ina-file-upload__file-icon-placeholder {
|
|
175
|
-
width: 16px;
|
|
176
|
-
height: 16px;
|
|
177
|
-
border: 1px solid var(--ina-neutral-400);
|
|
178
|
-
border-radius: 50%;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.ina-file-upload__file-icon--spinning {
|
|
182
|
-
animation: spin 1s linear infinite;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
@keyframes spin {
|
|
186
|
-
from {
|
|
187
|
-
transform: rotate(0deg);
|
|
188
|
-
}
|
|
189
|
-
to {
|
|
190
|
-
transform: rotate(360deg);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.ina-file-upload__file-info {
|
|
195
|
-
flex: 1;
|
|
196
|
-
display: flex;
|
|
197
|
-
flex-direction: column;
|
|
198
|
-
gap: 4px;
|
|
199
|
-
min-width: 0;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.ina-file-upload__file-name {
|
|
203
|
-
font-size: 14px;
|
|
204
|
-
font-weight: 600;
|
|
205
|
-
line-height: 20px;
|
|
206
|
-
color: var(--ina-content-primary, var(--ina-neutral-800));
|
|
207
|
-
overflow: hidden;
|
|
208
|
-
text-overflow: ellipsis;
|
|
209
|
-
white-space: nowrap;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.ina-file-upload__file-size {
|
|
213
|
-
font-size: 12px;
|
|
214
|
-
font-weight: 400;
|
|
215
|
-
line-height: 16px;
|
|
216
|
-
color: var(--ina-content-secondary, var(--ina-neutral-500));
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.ina-file-upload__file-error {
|
|
220
|
-
font-size: 12px;
|
|
221
|
-
font-weight: 400;
|
|
222
|
-
line-height: 16px;
|
|
223
|
-
color: var(--ina-negative-500, var(--ina-error-500));
|
|
224
|
-
margin-top: 4px;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.ina-file-upload__file-actions {
|
|
228
|
-
display: flex;
|
|
229
|
-
align-items: center;
|
|
230
|
-
width: 20px;
|
|
231
|
-
height: 20px;
|
|
232
|
-
gap: 8px;
|
|
233
|
-
flex-shrink: 0;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.ina-file-upload__file-retry,
|
|
237
|
-
.ina-file-upload__file-remove {
|
|
238
|
-
background: none;
|
|
239
|
-
border: none;
|
|
240
|
-
color: var(--ina-negative-500, var(--ina-red-500));
|
|
241
|
-
cursor: pointer;
|
|
242
|
-
padding: 4px;
|
|
243
|
-
border-radius: 4px;
|
|
244
|
-
transition: all 0.2s ease;
|
|
245
|
-
display: flex;
|
|
246
|
-
align-items: center;
|
|
247
|
-
justify-content: center;
|
|
248
|
-
width: 20px;
|
|
249
|
-
height: 20px;
|
|
250
|
-
font-size: 16px;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.ina-file-upload__file-retry:hover,
|
|
254
|
-
.ina-file-upload__file-remove:hover {
|
|
255
|
-
color: var(--ina-negative-600, var(--ina-red-600));
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.ina-file-upload__file-retry {
|
|
259
|
-
color: var(--ina-primary-500, var(--ina-blue-500));
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.ina-file-upload__file-retry:hover {
|
|
263
|
-
background-color: var(--ina-primary-25, var(--ina-blue-25));
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/* Show More Button */
|
|
267
|
-
.ina-file-upload__show-more {
|
|
268
|
-
display: flex;
|
|
269
|
-
align-items: center;
|
|
270
|
-
gap: 4px;
|
|
271
|
-
margin-top: 8px;
|
|
272
|
-
background: none;
|
|
273
|
-
border: none;
|
|
274
|
-
color: var(--ina-primary-500, var(--Primary-500));
|
|
275
|
-
font-size: 14px;
|
|
276
|
-
font-weight: 400;
|
|
277
|
-
line-height: 20px;
|
|
278
|
-
cursor: pointer;
|
|
279
|
-
padding: 0;
|
|
280
|
-
transition: all 0.2s ease;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.ina-file-upload__show-more:hover {
|
|
284
|
-
color: var(--ina-primary-600, var(--Primary-600));
|
|
285
|
-
text-decoration: underline;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.ina-file-upload__show-more-icon {
|
|
289
|
-
transition: transform 0.2s ease;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.ina-file-upload__show-more-icon--expanded {
|
|
293
|
-
transform: rotate(180deg);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
/* Error Messages */
|
|
297
|
-
.ina-file-upload__errors {
|
|
298
|
-
margin-top: 12px;
|
|
299
|
-
display: flex;
|
|
300
|
-
flex-direction: column;
|
|
301
|
-
gap: 4px;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.ina-file-upload__error-message {
|
|
305
|
-
font-size: 12px;
|
|
306
|
-
font-weight: 400;
|
|
307
|
-
line-height: 16px;
|
|
308
|
-
color: var(--ina-error-500, var(--Error-500));
|
|
309
|
-
padding: 8px 12px;
|
|
310
|
-
background-color: var(--ina-error-25, var(--Error-25));
|
|
311
|
-
border-radius: 4px;
|
|
312
|
-
border: 1px solid var(--ina-error-500, var(--Error-500));
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
/* Status Message */
|
|
316
|
-
.ina-file-upload__status {
|
|
317
|
-
margin-top: 12px;
|
|
318
|
-
font-size: 14px;
|
|
319
|
-
font-weight: 400;
|
|
320
|
-
line-height: 20px;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.ina-file-upload__status--success {
|
|
324
|
-
color: var(--ina-success-500, var(--Success-500));
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.ina-file-upload__status--error {
|
|
328
|
-
color: var(--ina-error-500, var(--Error-500));
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.ina-file-upload__status--warning {
|
|
332
|
-
color: var(--ina-warning-500, var(--Warning-500));
|
|
333
|
-
}
|