@bigtablet/design-system 1.12.1 → 1.14.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.
package/dist/index.css CHANGED
@@ -1,55 +1,47 @@
1
- /* src/ui/display/card/style.scss */
1
+ /* src/ui/display/card/style.module.scss */
2
2
  .card {
3
3
  background: #ffffff;
4
4
  border-radius: 12px;
5
5
  }
6
- .card_bordered {
6
+ .bordered {
7
7
  border: 1px solid #e5e5e5;
8
8
  }
9
- .card {
10
- }
11
- .card_shadow_none {
9
+ .shadow_none {
12
10
  box-shadow: none;
13
11
  }
14
- .card_shadow_sm {
12
+ .shadow_sm {
15
13
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
16
14
  }
17
- .card_shadow_md {
15
+ .shadow_md {
18
16
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
19
17
  }
20
- .card_shadow_lg {
18
+ .shadow_lg {
21
19
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
22
20
  }
23
- .card {
24
- }
25
- .card_p_none {
21
+ .p_none {
26
22
  padding: 0;
27
23
  }
28
- .card_p_sm {
24
+ .p_sm {
29
25
  padding: 0.5rem;
30
26
  }
31
- .card_p_md {
27
+ .p_md {
32
28
  padding: 1rem;
33
29
  }
34
- .card_p_lg {
30
+ .p_lg {
35
31
  padding: 1.5rem;
36
32
  }
37
- .card {
38
- }
39
- .card_title {
33
+ .title {
40
34
  font-size: 1.25rem;
41
35
  font-weight: 600;
42
36
  line-height: 1.3;
43
37
  margin-bottom: 0.75rem;
44
38
  color: #1f2937;
45
39
  }
46
- .card {
47
- }
48
- .card_body {
40
+ .body {
49
41
  width: 100%;
50
42
  }
51
43
 
52
- /* src/ui/feedback/alert/style.scss */
44
+ /* src/ui/feedback/alert/style.module.scss */
53
45
  @keyframes fade_in {
54
46
  from {
55
47
  opacity: 0;
@@ -68,7 +60,7 @@
68
60
  transform: translateY(0);
69
61
  }
70
62
  }
71
- .alert_overlay {
63
+ .overlay {
72
64
  position: fixed;
73
65
  inset: 0;
74
66
  background: rgba(0, 0, 0, 0.5);
@@ -78,7 +70,7 @@
78
70
  z-index: 10000;
79
71
  animation: fade_in 0.2s ease-in-out;
80
72
  }
81
- .alert_modal {
73
+ .modal {
82
74
  background: #ffffff;
83
75
  border-radius: 12px;
84
76
  min-width: 320px;
@@ -87,14 +79,14 @@
87
79
  animation: slide_up 0.3s ease-in-out;
88
80
  overflow: hidden;
89
81
  }
90
- .alert_modal_title {
82
+ .title {
91
83
  font-size: 1.125rem;
92
84
  line-height: 1.5;
93
85
  font-weight: 600;
94
86
  color: #3b82f6;
95
87
  padding: 0.75rem 1.25rem 0.25rem;
96
88
  }
97
- .alert_modal_message {
89
+ .message {
98
90
  font-size: 0.9375rem;
99
91
  font-weight: 400;
100
92
  line-height: 1.5;
@@ -102,22 +94,22 @@
102
94
  padding: 1.25rem;
103
95
  line-height: 1.75;
104
96
  }
105
- .alert_modal_actions {
97
+ .actions {
106
98
  display: flex;
107
99
  gap: 0.5rem;
108
100
  align-items: center;
109
101
  padding: 0 1.25rem 1.25rem;
110
102
  }
111
- .alert_modal_actions_left {
103
+ .actions_left {
112
104
  justify-content: flex-start;
113
105
  }
114
- .alert_modal_actions_center {
106
+ .actions_center {
115
107
  justify-content: center;
116
108
  }
117
- .alert_modal_actions_right {
109
+ .actions_right {
118
110
  justify-content: flex-end;
119
111
  }
120
- .alert_modal_button {
112
+ .button {
121
113
  min-width: 80px;
122
114
  padding: 10px 24px;
123
115
  border-radius: 6px;
@@ -131,90 +123,118 @@
131
123
  box-shadow 0.2s ease-in-out,
132
124
  transform 0.2s ease-in-out;
133
125
  }
134
- .alert_modal_button:focus-visible {
126
+ .button:focus-visible {
135
127
  outline: none;
136
128
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
137
129
  }
138
- .alert_modal_button:active:not(:disabled) {
130
+ .button:active:not(:disabled) {
139
131
  transform: scale(0.98);
140
132
  }
141
- .alert_modal_button:disabled {
133
+ .button:disabled {
142
134
  cursor: not-allowed;
143
135
  opacity: 0.6;
144
136
  }
145
- .alert_modal_button_cancel {
137
+ .button_cancel {
146
138
  background: #ffffff;
147
139
  border-color: #e5e5e5;
148
140
  color: #1a1a1a;
149
141
  }
150
- .alert_modal_button_cancel:hover:not(:disabled) {
142
+ .button_cancel:hover:not(:disabled) {
151
143
  background: #fafafa;
152
144
  border-color: rgba(0, 0, 0, 0.08);
153
145
  }
154
- .alert_modal_button_confirm {
146
+ .button_confirm {
155
147
  color: #ffffff;
156
148
  }
157
- .alert_modal_info .alert_modal_title {
149
+ .variant_info .title {
158
150
  color: #3b82f6;
159
151
  }
160
- .alert_modal_info .alert_modal_button_confirm {
152
+ .variant_info .button_confirm {
161
153
  background: #3b82f6;
162
154
  border-color: #3b82f6;
163
155
  }
164
- .alert_modal_info .alert_modal_button_confirm:hover:not(:disabled) {
156
+ .variant_info .button_confirm:hover:not(:disabled) {
165
157
  background: rgb(29.7434146341, 111.3414634146, 244.6565853659);
166
158
  border-color: rgb(29.7434146341, 111.3414634146, 244.6565853659);
167
159
  }
168
- .alert_modal_success .alert_modal_title {
160
+ .variant_success .title {
169
161
  color: #10b981;
170
162
  }
171
- .alert_modal_success .alert_modal_button_confirm {
163
+ .variant_success .button_confirm {
172
164
  background: #10b981;
173
165
  border-color: #10b981;
174
166
  }
175
- .alert_modal_success .alert_modal_button_confirm:hover:not(:disabled) {
167
+ .variant_success .button_confirm:hover:not(:disabled) {
176
168
  background: rgb(13.5641791045, 156.8358208955, 109.3611940299);
177
169
  border-color: rgb(13.5641791045, 156.8358208955, 109.3611940299);
178
170
  }
179
- .alert_modal_warning .alert_modal_title {
171
+ .variant_warning .title {
180
172
  color: #f59e0b;
181
173
  }
182
- .alert_modal_warning .alert_modal_button_confirm {
174
+ .variant_warning .button_confirm {
183
175
  background: #f59e0b;
184
176
  border-color: #f59e0b;
185
177
  }
186
- .alert_modal_warning .alert_modal_button_confirm:hover:not(:disabled) {
178
+ .variant_warning .button_confirm:hover:not(:disabled) {
187
179
  background: rgb(216.525984252, 139.3220472441, 8.874015748);
188
180
  border-color: rgb(216.525984252, 139.3220472441, 8.874015748);
189
181
  }
190
- .alert_modal_error .alert_modal_title {
182
+ .variant_error .title {
191
183
  color: #ef4444;
192
184
  }
193
- .alert_modal_error .alert_modal_button_confirm {
185
+ .variant_error .button_confirm {
194
186
  background: #ef4444;
195
187
  border-color: #ef4444;
196
188
  }
197
- .alert_modal_error .alert_modal_button_confirm:hover:not(:disabled) {
189
+ .variant_error .button_confirm:hover:not(:disabled) {
198
190
  background: rgb(236.5881773399, 39.8118226601, 39.8118226601);
199
191
  border-color: rgb(236.5881773399, 39.8118226601, 39.8118226601);
200
192
  }
201
193
 
202
- /* src/ui/feedback/loading/style.scss */
203
- @keyframes loading_spin {
194
+ /* src/ui/feedback/spinner/style.module.scss */
195
+ @keyframes spinner_spin {
204
196
  to {
205
197
  transform: rotate(360deg);
206
198
  }
207
199
  }
208
- .loading {
200
+ .spinner {
209
201
  display: inline-block;
210
202
  box-sizing: border-box;
211
203
  border-radius: 50%;
212
204
  border: 2px solid #e5e5e5;
213
205
  border-top-color: #000000;
214
- animation: loading_spin 0.8s linear infinite;
206
+ animation: spinner_spin 0.8s linear infinite;
215
207
  }
216
208
 
217
- /* src/ui/general/button/style.scss */
209
+ /* src/ui/feedback/top-loading/style.module.scss */
210
+ .top_loading {
211
+ position: fixed;
212
+ top: 0;
213
+ left: 0;
214
+ right: 0;
215
+ z-index: 10001;
216
+ overflow: hidden;
217
+ background-color: transparent;
218
+ }
219
+ .bar {
220
+ height: 100%;
221
+ background-color: #000000;
222
+ transition: width 0.2s ease-in-out;
223
+ }
224
+ @keyframes indeterminate {
225
+ 0% {
226
+ transform: translateX(-100%);
227
+ }
228
+ 100% {
229
+ transform: translateX(400%);
230
+ }
231
+ }
232
+ .indeterminate {
233
+ width: 30%;
234
+ animation: indeterminate 1.5s ease-in-out infinite;
235
+ }
236
+
237
+ /* src/ui/general/button/style.module.scss */
218
238
  .button {
219
239
  display: inline-flex;
220
240
  align-items: center;
@@ -234,64 +254,64 @@
234
254
  cursor: not-allowed;
235
255
  opacity: 0.6;
236
256
  }
237
- .button_size_sm {
257
+ .size_sm {
238
258
  padding: 0.5rem 1rem;
239
259
  font-size: 0.875rem;
240
260
  line-height: 1.5;
241
261
  }
242
- .button_size_md {
262
+ .size_md {
243
263
  padding: 0.75rem 1.25rem;
244
264
  font-size: 0.9375rem;
245
265
  line-height: 1.5;
246
266
  }
247
- .button_size_lg {
267
+ .size_lg {
248
268
  padding: 1rem 1.5rem;
249
269
  font-size: 1rem;
250
270
  line-height: 1.5;
251
271
  }
252
- .button_variant_primary {
272
+ .variant_primary {
253
273
  background: #000000;
254
274
  color: #ffffff;
255
275
  }
256
- .button_variant_primary:hover:not(:disabled) {
276
+ .variant_primary:hover:not(:disabled) {
257
277
  background: #333333;
258
278
  }
259
- .button_variant_primary:active:not(:disabled) {
279
+ .variant_primary:active:not(:disabled) {
260
280
  transform: scale(0.98);
261
281
  }
262
- .button_variant_secondary {
282
+ .variant_secondary {
263
283
  background: transparent;
264
284
  border: 1px solid #e5e5e5;
265
285
  color: #1a1a1a;
266
286
  }
267
- .button_variant_secondary:hover:not(:disabled) {
287
+ .variant_secondary:hover:not(:disabled) {
268
288
  background: #fafafa;
269
289
  }
270
- .button_variant_secondary:active:not(:disabled) {
290
+ .variant_secondary:active:not(:disabled) {
271
291
  transform: scale(0.98);
272
292
  }
273
- .button_variant_ghost {
293
+ .variant_ghost {
274
294
  background: transparent;
275
295
  color: #1a1a1a;
276
296
  }
277
- .button_variant_ghost:hover:not(:disabled) {
297
+ .variant_ghost:hover:not(:disabled) {
278
298
  background: rgba(0, 0, 0, 0.05);
279
299
  }
280
- .button_variant_ghost:active:not(:disabled) {
300
+ .variant_ghost:active:not(:disabled) {
281
301
  transform: scale(0.96);
282
302
  }
283
- .button_variant_danger {
303
+ .variant_danger {
284
304
  background: #ef4444;
285
305
  color: #ffffff;
286
306
  }
287
- .button_variant_danger:hover:not(:disabled) {
307
+ .variant_danger:hover:not(:disabled) {
288
308
  background: rgb(235.7842364532, 30.4157635468, 30.4157635468);
289
309
  }
290
- .button_variant_danger:active:not(:disabled) {
310
+ .variant_danger:active:not(:disabled) {
291
311
  transform: scale(0.98);
292
312
  }
293
313
 
294
- /* src/ui/form/checkbox/style.scss */
314
+ /* src/ui/form/checkbox/style.module.scss */
295
315
  .checkbox {
296
316
  display: inline-flex;
297
317
  align-items: center;
@@ -300,7 +320,7 @@
300
320
  user-select: none;
301
321
  position: relative;
302
322
  }
303
- .checkbox_input {
323
+ .input {
304
324
  position: absolute;
305
325
  width: 1px;
306
326
  height: 1px;
@@ -309,7 +329,7 @@
309
329
  clip-path: inset(50%);
310
330
  white-space: nowrap;
311
331
  }
312
- .checkbox_box {
332
+ .box {
313
333
  width: 1.125rem;
314
334
  height: 1.125rem;
315
335
  box-sizing: border-box;
@@ -323,46 +343,46 @@
323
343
  display: inline-block;
324
344
  position: relative;
325
345
  }
326
- .checkbox_label {
346
+ .label {
327
347
  font-size: 0.9375rem;
328
348
  line-height: 1.5;
329
349
  color: #1a1a1a;
330
350
  }
331
- .checkbox_size_sm .checkbox_box {
351
+ .size_sm .box {
332
352
  width: 1rem;
333
353
  height: 1rem;
334
354
  }
335
- .checkbox_size_sm .checkbox_label {
355
+ .size_sm .label {
336
356
  font-size: 0.875rem;
337
357
  line-height: 1.5;
338
358
  }
339
- .checkbox_size_md .checkbox_box {
359
+ .size_md .box {
340
360
  width: 1.125rem;
341
361
  height: 1.125rem;
342
362
  }
343
- .checkbox_size_lg .checkbox_box {
363
+ .size_lg .box {
344
364
  width: 1.25rem;
345
365
  height: 1.25rem;
346
366
  }
347
- .checkbox_size_lg .checkbox_label {
367
+ .size_lg .label {
348
368
  font-size: 1rem;
349
369
  line-height: 1.5;
350
370
  }
351
- .checkbox_input:focus-visible + .checkbox_box {
371
+ .input:focus-visible + .box {
352
372
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
353
373
  border-color: #000000;
354
374
  }
355
- .checkbox_input:disabled + .checkbox_box,
356
- .checkbox_input:disabled ~ .checkbox_label {
375
+ .input:disabled + .box,
376
+ .input:disabled ~ .label {
357
377
  opacity: 0.6;
358
378
  cursor: not-allowed;
359
379
  }
360
- .checkbox_input:checked + .checkbox_box,
361
- .checkbox_input:indeterminate + .checkbox_box {
380
+ .input:checked + .box,
381
+ .input:indeterminate + .box {
362
382
  background: #000000;
363
383
  border-color: #000000;
364
384
  }
365
- .checkbox_input:checked + .checkbox_box::after {
385
+ .input:checked + .box::after {
366
386
  content: "";
367
387
  position: absolute;
368
388
  left: 50%;
@@ -374,7 +394,7 @@
374
394
  border-left: 0;
375
395
  transform: translate(-50%, -58%) rotate(45deg);
376
396
  }
377
- .checkbox_input:indeterminate + .checkbox_box::after {
397
+ .input:indeterminate + .box::after {
378
398
  content: "";
379
399
  position: absolute;
380
400
  left: 50%;
@@ -386,19 +406,22 @@
386
406
  border-radius: 9999px;
387
407
  }
388
408
 
389
- /* src/ui/form/file/style.scss */
409
+ /* src/ui/form/file/style.module.scss */
390
410
  .file_input {
391
411
  position: relative;
392
412
  display: inline-flex;
393
413
  align-items: center;
394
414
  }
395
- .file_input_control {
415
+ .file_input:hover .label {
416
+ border-color: rgba(0, 0, 0, 0.08);
417
+ }
418
+ .control {
396
419
  position: absolute;
397
420
  inset: 0;
398
421
  opacity: 0;
399
422
  cursor: pointer;
400
423
  }
401
- .file_input_label {
424
+ .label {
402
425
  border: 1px solid #e5e5e5;
403
426
  border-radius: 8px;
404
427
  background: #ffffff;
@@ -411,28 +434,25 @@
411
434
  border-color 0.2s ease-in-out,
412
435
  box-shadow 0.2s ease-in-out;
413
436
  }
414
- .file_input:hover .file_input_label {
415
- border-color: rgba(0, 0, 0, 0.08);
416
- }
417
- .file_input_control:focus-visible + .file_input_label {
437
+ .control:focus-visible + .label {
418
438
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
419
439
  border-color: #000000;
420
440
  }
421
- .file_input_disabled {
441
+ .disabled {
422
442
  cursor: not-allowed;
423
443
  }
424
- .file_input_disabled .file_input_control {
444
+ .disabled .control {
425
445
  cursor: not-allowed;
426
446
  }
427
- .file_input_disabled .file_input_label {
447
+ .disabled .label {
428
448
  opacity: 0.6;
429
449
  cursor: not-allowed;
430
450
  }
431
- .file_input_disabled:hover .file_input_label {
451
+ .disabled:hover .label {
432
452
  border-color: #e5e5e5;
433
453
  }
434
454
 
435
- /* src/ui/form/radio/style.scss */
455
+ /* src/ui/form/radio/style.module.scss */
436
456
  .radio {
437
457
  position: relative;
438
458
  display: inline-flex;
@@ -441,14 +461,14 @@
441
461
  cursor: pointer;
442
462
  user-select: none;
443
463
  }
444
- .radio_input {
464
+ .input {
445
465
  position: absolute;
446
466
  inset: 0;
447
467
  opacity: 0;
448
468
  cursor: pointer;
449
469
  margin: 0;
450
470
  }
451
- .radio_dot {
471
+ .dot {
452
472
  width: 1rem;
453
473
  height: 1rem;
454
474
  box-sizing: border-box;
@@ -462,39 +482,39 @@
462
482
  position: relative;
463
483
  display: inline-block;
464
484
  }
465
- .radio_label {
485
+ .label {
466
486
  font-size: 0.9375rem;
467
487
  line-height: 1.5;
468
488
  color: #1a1a1a;
469
489
  }
470
- .radio_size_sm .radio_dot {
490
+ .size_sm .dot {
471
491
  width: 1rem;
472
492
  height: 1rem;
473
493
  }
474
- .radio_size_sm .radio_label {
494
+ .size_sm .label {
475
495
  font-size: 0.875rem;
476
496
  line-height: 1.5;
477
497
  }
478
- .radio_size_md .radio_dot {
498
+ .size_md .dot {
479
499
  width: 1.125rem;
480
500
  height: 1.125rem;
481
501
  }
482
- .radio_size_lg .radio_dot {
502
+ .size_lg .dot {
483
503
  width: 1.25rem;
484
504
  height: 1.25rem;
485
505
  }
486
- .radio_size_lg .radio_label {
506
+ .size_lg .label {
487
507
  font-size: 1rem;
488
508
  line-height: 1.5;
489
509
  }
490
- .radio_input:focus-visible + .radio_dot {
510
+ .input:focus-visible + .dot {
491
511
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
492
512
  border-color: #000000;
493
513
  }
494
- .radio_input:checked + .radio_dot {
514
+ .input:checked + .dot {
495
515
  border-color: #000000;
496
516
  }
497
- .radio_input:checked + .radio_dot::after {
517
+ .input:checked + .dot::after {
498
518
  content: "";
499
519
  position: absolute;
500
520
  left: 50%;
@@ -505,13 +525,13 @@
505
525
  background: #000000;
506
526
  border-radius: 9999px;
507
527
  }
508
- .radio_input:disabled + .radio_dot,
509
- .radio_input:disabled ~ .radio_label {
528
+ .input:disabled + .dot,
529
+ .input:disabled ~ .label {
510
530
  opacity: 0.6;
511
531
  cursor: not-allowed;
512
532
  }
513
533
 
514
- /* src/ui/general/select/style.scss */
534
+ /* src/ui/general/select/style.module.scss */
515
535
  .select {
516
536
  position: relative;
517
537
  display: inline-flex;
@@ -520,13 +540,13 @@
520
540
  gap: 0.25rem;
521
541
  font-family: "Pretendard", sans-serif;
522
542
  }
523
- .select_label {
543
+ .label {
524
544
  font-size: 0.875rem;
525
545
  line-height: 1.5;
526
546
  font-weight: 500;
527
547
  color: #1a1a1a;
528
548
  }
529
- .select_control {
549
+ .control {
530
550
  width: 100%;
531
551
  display: inline-flex;
532
552
  align-items: center;
@@ -543,64 +563,63 @@
543
563
  font-size: 0.9375rem;
544
564
  line-height: 1.5;
545
565
  }
546
- .select_control:disabled,
547
- .select_control.is_disabled {
566
+ .control:disabled,
567
+ .control.is_disabled {
548
568
  cursor: not-allowed;
549
569
  opacity: 0.7;
550
570
  background: #fafafa;
551
571
  color: #999999;
552
572
  }
553
- .select_control_variant_outline {
573
+ .variant_outline {
554
574
  border: 1px solid #e5e5e5;
555
575
  }
556
- .select_control_variant_outline:hover:not(.is_disabled) {
576
+ .variant_outline:hover:not(.is_disabled) {
557
577
  border-color: rgba(0, 0, 0, 0.08);
558
578
  }
559
- .select_control_variant_outline.is_open {
579
+ .variant_outline.is_open {
560
580
  border-color: #000000;
561
581
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
562
582
  }
563
- .select_control_variant_filled {
583
+ .variant_filled {
564
584
  background: #fafafa;
565
585
  border: 1px solid transparent;
566
586
  }
567
- .select_control_variant_filled:hover:not(.is_disabled) {
587
+ .variant_filled:hover:not(.is_disabled) {
568
588
  background: rgb(253.5, 253.5, 253.5);
569
589
  }
570
- .select_control_variant_filled.is_open {
590
+ .variant_filled.is_open {
571
591
  background: #ffffff;
572
592
  border-color: #000000;
573
593
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
574
594
  }
575
- .select_control_variant_ghost {
595
+ .variant_ghost {
576
596
  background: transparent;
577
597
  border: 1px solid transparent;
578
598
  }
579
- .select_control_variant_ghost:hover:not(.is_disabled) {
599
+ .variant_ghost:hover:not(.is_disabled) {
580
600
  background: rgba(0, 0, 0, 0.03);
581
601
  }
582
- .select_control_variant_ghost.is_open {
602
+ .variant_ghost.is_open {
583
603
  background: #ffffff;
584
604
  border-color: #000000;
585
605
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
586
606
  }
587
- .select_control_size_sm {
607
+ .size_sm {
588
608
  padding: 0.5rem 1rem;
589
609
  font-size: 0.875rem;
590
610
  line-height: 1.5;
591
611
  }
592
- .select_control_size_md {
612
+ .size_md {
593
613
  padding: 0.75rem 1.25rem;
594
614
  font-size: 0.9375rem;
595
615
  line-height: 1.5;
596
616
  }
597
- .select_control_size_lg {
617
+ .size_lg {
598
618
  padding: 1rem 1.5rem;
599
619
  font-size: 1rem;
600
620
  line-height: 1.5;
601
621
  }
602
- .select_value,
603
- .select_placeholder {
622
+ .value {
604
623
  flex: 1 1 auto;
605
624
  min-width: 0;
606
625
  overflow: hidden;
@@ -611,16 +630,25 @@
611
630
  font-weight: 400;
612
631
  line-height: 1.5;
613
632
  }
614
- .select_placeholder {
633
+ .placeholder {
634
+ flex: 1 1 auto;
635
+ min-width: 0;
636
+ overflow: hidden;
637
+ text-overflow: ellipsis;
638
+ white-space: nowrap;
639
+ text-align: start;
640
+ font-size: 0.9375rem;
641
+ font-weight: 400;
642
+ line-height: 1.5;
615
643
  color: #999999;
616
644
  }
617
- .select_icon {
645
+ .icon {
618
646
  display: inline-flex;
619
647
  align-items: center;
620
648
  justify-content: center;
621
649
  color: #666666;
622
650
  }
623
- .select_list {
651
+ .list {
624
652
  position: absolute;
625
653
  z-index: 10000;
626
654
  top: 100%;
@@ -638,7 +666,7 @@
638
666
  overflow-x: hidden;
639
667
  padding: 0.25rem 0;
640
668
  }
641
- .select_option {
669
+ .option {
642
670
  width: 100%;
643
671
  box-sizing: border-box;
644
672
  display: grid;
@@ -653,25 +681,25 @@
653
681
  font-weight: 400;
654
682
  line-height: 1.5;
655
683
  }
656
- .select_option > span:first-child {
684
+ .option > span:first-child {
657
685
  min-width: 0;
658
686
  overflow: hidden;
659
687
  text-overflow: ellipsis;
660
688
  white-space: nowrap;
661
689
  }
662
- .select_option:hover,
663
- .select_option.is_active {
690
+ .option:hover,
691
+ .option.is_active {
664
692
  background: #fafafa;
665
693
  }
666
- .select_option.is_selected {
694
+ .option.is_selected {
667
695
  font-weight: 500;
668
696
  }
669
- .select_option.is_disabled {
697
+ .option.is_disabled {
670
698
  cursor: not-allowed;
671
699
  color: #999999;
672
700
  }
673
701
 
674
- /* src/ui/form/switch/style.scss */
702
+ /* src/ui/form/switch/style.module.scss */
675
703
  .switch {
676
704
  position: relative;
677
705
  display: inline-flex;
@@ -684,7 +712,7 @@
684
712
  transition: background 0.2s ease-in-out;
685
713
  cursor: pointer;
686
714
  }
687
- .switch_thumb {
715
+ .thumb {
688
716
  width: 18px;
689
717
  height: 18px;
690
718
  background: #ffffff;
@@ -692,79 +720,79 @@
692
720
  transition: transform 0.2s ease-in-out;
693
721
  transform: translateX(0);
694
722
  }
695
- .switch_on {
723
+ .on {
696
724
  background: #000000;
697
725
  }
698
- .switch_on .switch_thumb {
726
+ .on .thumb {
699
727
  transform: translateX(18px);
700
728
  }
701
- .switch_size_sm {
729
+ .size_sm {
702
730
  width: 34px;
703
731
  height: 18px;
704
732
  padding: 2px;
705
733
  }
706
- .switch_size_sm .switch_thumb {
734
+ .size_sm .thumb {
707
735
  width: 14px;
708
736
  height: 14px;
709
737
  }
710
- .switch_size_sm.switch_on .switch_thumb {
738
+ .size_sm.on .thumb {
711
739
  transform: translateX(16px);
712
740
  }
713
- .switch_size_md {
741
+ .size_md {
714
742
  width: 40px;
715
743
  height: 22px;
716
744
  }
717
- .switch_size_lg {
745
+ .size_lg {
718
746
  width: 48px;
719
747
  height: 26px;
720
748
  padding: 2px;
721
749
  }
722
- .switch_size_lg .switch_thumb {
750
+ .size_lg .thumb {
723
751
  width: 22px;
724
752
  height: 22px;
725
753
  }
726
- .switch_size_lg.switch_on .switch_thumb {
754
+ .size_lg.on .thumb {
727
755
  transform: translateX(22px);
728
756
  }
729
- .switch_disabled {
757
+ .disabled {
730
758
  opacity: 0.6;
731
759
  cursor: not-allowed;
732
760
  }
733
761
 
734
- /* src/ui/form/textfield/style.scss */
762
+ /* src/ui/form/textfield/style.module.scss */
735
763
  .text_field {
736
764
  display: flex;
737
765
  flex-direction: column;
738
766
  }
739
- .text_field_full_width {
767
+ .full_width {
740
768
  width: 100%;
741
769
  }
742
- .text_field_label {
770
+ .label {
743
771
  margin-bottom: 0.25rem;
744
772
  color: #1a1a1a;
745
773
  font-size: 0.875rem;
746
774
  line-height: 1.5;
747
775
  font-weight: 500;
748
776
  }
749
- .text_field_wrap {
777
+ .wrap {
750
778
  position: relative;
751
779
  display: inline-flex;
752
780
  width: 100%;
753
781
  align-items: center;
754
782
  }
755
- .text_field_helper {
783
+ .helper {
756
784
  margin-top: 0.25rem;
757
785
  font-size: 0.875rem;
758
786
  line-height: 1.5;
759
787
  color: #666666;
760
788
  }
761
- .text_field_helper_error {
789
+ .helper_error {
762
790
  color: #ef4444;
763
791
  }
764
- .text_field_helper_success {
792
+ .helper_success {
765
793
  color: #10b981;
766
794
  }
767
- .text_field_icon {
795
+ .icon {
768
796
  position: absolute;
769
797
  display: inline-flex;
770
798
  align-items: center;
@@ -773,13 +801,13 @@
773
801
  height: 1.25rem;
774
802
  color: #666666;
775
803
  }
776
- .text_field_icon_left {
804
+ .icon_left {
777
805
  left: 0.75rem;
778
806
  }
779
- .text_field_icon_right {
807
+ .icon_right {
780
808
  right: 0.75rem;
781
809
  }
782
- .text_field_input {
810
+ .input {
783
811
  width: 100%;
784
812
  border-radius: 8px;
785
813
  transition:
@@ -791,102 +819,88 @@
791
819
  color: #1a1a1a;
792
820
  background: #ffffff;
793
821
  }
794
- .text_field_input::placeholder {
822
+ .input::placeholder {
795
823
  color: #999999;
796
824
  }
797
- .text_field_input:disabled {
825
+ .input:disabled {
798
826
  cursor: not-allowed;
799
827
  background: #fafafa;
800
828
  color: #999999;
801
829
  opacity: 0.7;
802
830
  }
803
- .text_field_variant_outline {
831
+ .variant_outline {
804
832
  border: 1px solid #e5e5e5;
805
833
  }
806
- .text_field_variant_outline:hover:not(:disabled) {
834
+ .variant_outline:hover:not(:disabled) {
807
835
  border-color: rgba(0, 0, 0, 0.08);
808
836
  }
809
- .text_field_variant_outline:focus-visible {
837
+ .variant_outline:focus-visible {
810
838
  outline: none;
811
839
  border-color: #000000;
812
840
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
813
841
  }
814
- .text_field_variant_filled {
842
+ .variant_filled {
815
843
  background: #fafafa;
816
844
  border: 1px solid transparent;
817
845
  }
818
- .text_field_variant_filled:hover:not(:disabled) {
846
+ .variant_filled:hover:not(:disabled) {
819
847
  background: rgb(253.5, 253.5, 253.5);
820
848
  }
821
- .text_field_variant_filled:focus-visible {
849
+ .variant_filled:focus-visible {
822
850
  outline: none;
823
851
  border-color: #000000;
824
852
  background: #ffffff;
825
853
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
826
854
  }
827
- .text_field_variant_ghost {
855
+ .variant_ghost {
828
856
  background: transparent;
829
857
  border: 1px solid transparent;
830
858
  }
831
- .text_field_variant_ghost:hover:not(:disabled) {
859
+ .variant_ghost:hover:not(:disabled) {
832
860
  background: rgba(0, 0, 0, 0.03);
833
861
  }
834
- .text_field_variant_ghost:focus-visible {
862
+ .variant_ghost:focus-visible {
835
863
  outline: none;
836
864
  border-color: #000000;
837
865
  background: #ffffff;
838
866
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
839
867
  }
840
- .text_field_size_sm {
868
+ .size_sm {
841
869
  padding: 0.5rem 1rem;
842
870
  font-size: 0.875rem;
843
871
  line-height: 1.5;
844
872
  }
845
- .text_field_size_md {
873
+ .size_md {
846
874
  padding: 0.75rem 1.25rem;
847
875
  font-size: 0.9375rem;
848
876
  line-height: 1.5;
849
877
  }
850
- .text_field_size_lg {
878
+ .size_lg {
851
879
  padding: 1rem 1.5rem;
852
880
  font-size: 1rem;
853
881
  line-height: 1.5;
854
882
  }
855
- .text_field_with_left {
883
+ .with_left {
856
884
  padding-left: calc(1.25rem + 1.25rem);
857
885
  }
858
- .text_field_with_right {
886
+ .with_right {
859
887
  padding-right: calc(1.25rem + 1.25rem);
860
888
  }
861
- .text_field_error {
889
+ .error {
862
890
  border-color: #ef4444 !important;
863
891
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
864
892
  }
865
- .text_field_success {
893
+ .success {
866
894
  border-color: #10b981 !important;
867
895
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
868
896
  }
869
897
 
870
- /* src/ui/form/date-picker/style.scss */
898
+ /* src/ui/form/date-picker/style.module.scss */
871
899
  .date_picker {
872
900
  display: flex;
901
+ flex-direction: column;
873
902
  gap: 0.25rem;
874
903
  }
875
- .date_picker_label {
876
- color: #1a1a1a;
877
- margin-bottom: 0.25rem;
878
- font-weight: 500;
879
- font-size: 0.875rem;
880
- line-height: 1.5;
881
- }
882
- .date_picker_required {
883
- margin-left: 0.25rem;
884
- color: #ef4444;
885
- }
886
- .date_picker_fields {
887
- display: flex;
888
- gap: 0.5rem;
889
- }
890
904
  .date_picker select {
891
905
  min-width: 88px;
892
906
  height: 44px;
@@ -936,30 +950,47 @@
936
950
  .date_picker select option {
937
951
  color: #1a1a1a;
938
952
  }
939
- .date_picker_full {
953
+ @media (max-width: 480px) {
954
+ .date_picker select {
955
+ flex: 1;
956
+ min-width: 0;
957
+ }
958
+ }
959
+ .label {
960
+ color: #1a1a1a;
961
+ margin-bottom: 0.25rem;
962
+ font-weight: 500;
963
+ font-size: 0.875rem;
964
+ line-height: 1.5;
965
+ }
966
+ .required {
967
+ margin-left: 0.25rem;
968
+ color: #ef4444;
969
+ }
970
+ .fields {
971
+ display: flex;
972
+ gap: 0.5rem;
973
+ }
974
+ @media (max-width: 480px) {
975
+ .fields {
976
+ gap: 0.25rem;
977
+ }
978
+ }
979
+ .full {
940
980
  width: 100%;
941
981
  }
942
- .date_picker_full .date_picker_fields {
982
+ .full .fields {
943
983
  width: 100%;
944
984
  }
945
- .date_picker_full select {
985
+ .full select {
946
986
  flex: 1;
947
987
  min-width: 0;
948
988
  }
949
- .date_picker_disabled .date_picker_label {
989
+ .disabled .label {
950
990
  color: #9ca3af;
951
991
  }
952
- @media (max-width: 480px) {
953
- .date_picker_fields {
954
- gap: 0.25rem;
955
- }
956
- .date_picker select {
957
- flex: 1;
958
- min-width: 0;
959
- }
960
- }
961
992
 
962
- /* src/ui/navigation/pagination/style.scss */
993
+ /* src/ui/navigation/pagination/style.module.scss */
963
994
  .pagination {
964
995
  display: flex;
965
996
  align-items: center;
@@ -967,7 +998,7 @@
967
998
  gap: 0.5rem;
968
999
  margin-top: 1.75rem;
969
1000
  }
970
- .pagination_item {
1001
+ .item {
971
1002
  border: 1px solid #e5e5e5;
972
1003
  background: #ffffff;
973
1004
  border-radius: 8px;
@@ -978,23 +1009,23 @@
978
1009
  color: #1a1a1a;
979
1010
  transition: background 0.2s ease-in-out, border-color 0.2s ease-in-out;
980
1011
  }
981
- .pagination_item:hover:not(:disabled) {
1012
+ .item:hover:not(:disabled) {
982
1013
  background: #fafafa;
983
1014
  }
984
- .pagination_item:disabled {
1015
+ .item:disabled {
985
1016
  opacity: 0.5;
986
1017
  cursor: not-allowed;
987
1018
  }
988
- .pagination_item:focus-visible {
1019
+ .item:focus-visible {
989
1020
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
990
1021
  border-color: #000000;
991
1022
  }
992
- .pagination_pages {
1023
+ .pages {
993
1024
  display: flex;
994
1025
  align-items: center;
995
1026
  gap: 6px;
996
1027
  }
997
- .pagination_pageButton {
1028
+ .pageButton {
998
1029
  border: 0;
999
1030
  background: transparent;
1000
1031
  min-width: 36px;
@@ -1005,18 +1036,18 @@
1005
1036
  color: #666666;
1006
1037
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
1007
1038
  }
1008
- .pagination_pageButton:hover {
1039
+ .pageButton:hover {
1009
1040
  background: #fafafa;
1010
1041
  color: #1a1a1a;
1011
1042
  }
1012
- .pagination_pageButton:focus-visible {
1043
+ .pageButton:focus-visible {
1013
1044
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
1014
1045
  }
1015
- .pagination_pageButton.is-active {
1046
+ .active {
1016
1047
  color: #1a1a1a;
1017
1048
  font-weight: 600;
1018
1049
  }
1019
- .pagination_ellipsis {
1050
+ .ellipsis {
1020
1051
  min-width: 20px;
1021
1052
  text-align: center;
1022
1053
  font-size: 0.875rem;
@@ -1024,7 +1055,7 @@
1024
1055
  color: #999999;
1025
1056
  }
1026
1057
 
1027
- /* src/ui/overlay/modal/style.scss */
1058
+ /* src/ui/overlay/modal/style.module.scss */
1028
1059
  .modal {
1029
1060
  position: fixed;
1030
1061
  inset: 0;
@@ -1033,14 +1064,14 @@
1033
1064
  background: rgba(0, 0, 0, 0.5);
1034
1065
  z-index: 10000;
1035
1066
  }
1036
- .modal_panel {
1067
+ .panel {
1037
1068
  background: #ffffff;
1038
1069
  border-radius: 12px;
1039
1070
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
1040
1071
  max-width: calc(100% - 32px);
1041
1072
  overflow: hidden;
1042
1073
  }
1043
- .modal_header {
1074
+ .header {
1044
1075
  padding: 1rem;
1045
1076
  border-bottom: 1px solid #e5e5e5;
1046
1077
  color: #1a1a1a;
@@ -1048,6 +1079,6 @@
1048
1079
  font-weight: 600;
1049
1080
  line-height: 1.3;
1050
1081
  }
1051
- .modal_body {
1082
+ .body {
1052
1083
  padding: 1rem;
1053
1084
  }