mainbase-ui 1.2.4

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 ADDED
@@ -0,0 +1,3747 @@
1
+ /* src/styles/variables.css */
2
+ :root,
3
+ .mb-provider {
4
+ --mb-font-family: inherit;
5
+ --mb-font-family-monospace:
6
+ ui-monospace,
7
+ SFMono-Regular,
8
+ Menlo,
9
+ Monaco,
10
+ Consolas,
11
+ monospace;
12
+ --mb-font-size-xs: 12px;
13
+ --mb-font-size-sm: 13px;
14
+ --mb-font-size-md: 14px;
15
+ --mb-font-size-lg: 16px;
16
+ --mb-font-size-xl: 18px;
17
+ --mb-font-size-2xl: 20px;
18
+ --mb-font-size-3xl: 24px;
19
+ --mb-font-size-4xl: 32px;
20
+ --mb-line-height: 1.5;
21
+ --mb-primary: #30d5c8;
22
+ --mb-primary-hover: #2bc8bc;
23
+ --mb-primary-active: #27b9ae;
24
+ --mb-text-color: #172322;
25
+ --mb-text-secondary: #5e666a;
26
+ --mb-text-muted: #7d868b;
27
+ --mb-background: #ffffff;
28
+ --mb-background-secondary: #f3f5f5;
29
+ --mb-background-tertiary: #f8f9fa;
30
+ --mb-border-color: #d8dde0;
31
+ --mb-border-hover: #bcc4c8;
32
+ --mb-success: #22c55e;
33
+ --mb-warning: #f59e0b;
34
+ --mb-danger: #ef4444;
35
+ --mb-info: var(--mb-primary);
36
+ --mb-overlay: rgba(17, 24, 39, 0.45);
37
+ --mb-focus-color: var(--mb-primary);
38
+ --mb-focus-ring-width: 2px;
39
+ --mb-radius-sm: 10px;
40
+ --mb-radius: 14px;
41
+ --mb-radius-lg: 18px;
42
+ --mb-radius-xl: 24px;
43
+ --mb-radius-full: 999px;
44
+ --mb-space-xs: 4px;
45
+ --mb-space-sm: 8px;
46
+ --mb-space-md: 16px;
47
+ --mb-space-lg: 24px;
48
+ --mb-space-xl: 32px;
49
+ --mb-space-2xl: 40px;
50
+ --mb-shadow-xs: 0 1px 3px rgba(23, 35, 34, 0.05);
51
+ --mb-shadow-sm: 0 2px 6px rgba(23, 35, 34, 0.06);
52
+ --mb-shadow-md: 0 8px 24px rgba(23, 35, 34, 0.10);
53
+ --mb-shadow-lg: 0 16px 40px rgba(23, 35, 34, 0.14);
54
+ --mb-shadow-xl: 0 24px 64px rgba(23, 35, 34, 0.18);
55
+ --mb-transition-fast: 0.15s ease;
56
+ --mb-transition: 0.18s ease;
57
+ --mb-transition-slow: 0.25s ease;
58
+ --mb-z-dropdown: 1000;
59
+ --mb-z-sticky: 1100;
60
+ --mb-z-modal: 1200;
61
+ --mb-z-toast: 1300;
62
+ --mb-z-tooltip: 1400;
63
+ }
64
+ .mb-provider {
65
+ min-height: 100%;
66
+ color: var(--mb-text-color);
67
+ background: var(--mb-background);
68
+ font-family: var(--mb-font-family);
69
+ isolation: isolate;
70
+ }
71
+ .mb-portal-root {
72
+ position: relative;
73
+ z-index: 0;
74
+ }
75
+ .mb-provider[data-mb-theme=dark] {
76
+ --mb-text-color: #f3f7f6;
77
+ --mb-text-secondary: #bdc7c5;
78
+ --mb-text-muted: #8f9b99;
79
+ --mb-background: #171b1c;
80
+ --mb-background-secondary: #202628;
81
+ --mb-background-tertiary: #2a3234;
82
+ --mb-border-color: #3d4548;
83
+ --mb-border-hover: #596366;
84
+ --mb-overlay: rgba(0, 0, 0, 0.55);
85
+ --mb-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.18);
86
+ --mb-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.22);
87
+ --mb-shadow-md: 0 8px 28px rgba(0, 0, 0, 0.30);
88
+ --mb-shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.38);
89
+ --mb-shadow-xl: 0 28px 72px rgba(0, 0, 0, 0.46);
90
+ }
91
+
92
+ /* src/components/Icon/Icon.css */
93
+ .mb-icon {
94
+ display: inline-flex;
95
+ align-items: center;
96
+ justify-content: center;
97
+ width: var(--mb-icon-size, 18px);
98
+ height: var(--mb-icon-size, 18px);
99
+ flex: 0 0 var(--mb-icon-size, 18px);
100
+ color: currentColor;
101
+ line-height: 0;
102
+ }
103
+ .mb-icon > svg {
104
+ display: block;
105
+ width: 100% !important;
106
+ height: 100% !important;
107
+ color: currentColor;
108
+ }
109
+
110
+ /* src/components/Alert/Alert.css */
111
+ .mb-alert {
112
+ display: flex;
113
+ align-items: flex-start;
114
+ gap: 12px;
115
+ width: 100%;
116
+ box-sizing: border-box;
117
+ padding: 14px 16px;
118
+ border: none;
119
+ border-radius: var(--mb-radius-lg, 18px);
120
+ font-family: var(--mb-font-family, inherit);
121
+ transition:
122
+ background-color var(--mb-transition-fast, 0.15s ease),
123
+ color var(--mb-transition-fast, 0.15s ease),
124
+ opacity var(--mb-transition-fast, 0.15s ease);
125
+ }
126
+ .mb-alert--info {
127
+ background: color-mix(in srgb, var(--mb-info, var(--mb-primary)) 14%, transparent);
128
+ color: var(--mb-primary-active, #27b9ae);
129
+ }
130
+ .mb-alert--success {
131
+ background: color-mix(in srgb, var(--mb-success, #22c55e) 14%, transparent);
132
+ color: color-mix(in srgb, var(--mb-success, #22c55e) 76%, #000000);
133
+ }
134
+ .mb-alert--warning {
135
+ background: color-mix(in srgb, var(--mb-warning, #f59e0b) 15%, transparent);
136
+ color: color-mix(in srgb, var(--mb-warning, #f59e0b) 74%, #000000);
137
+ }
138
+ .mb-alert--danger {
139
+ background: color-mix(in srgb, var(--mb-danger, #ef4444) 14%, transparent);
140
+ color: color-mix(in srgb, var(--mb-danger, #ef4444) 80%, #000000);
141
+ }
142
+ .mb-alert__icon {
143
+ display: inline-flex;
144
+ align-items: center;
145
+ justify-content: center;
146
+ flex: 0 0 auto;
147
+ padding-top: 1px;
148
+ color: currentColor;
149
+ }
150
+ .mb-alert__body {
151
+ display: flex;
152
+ flex: 1;
153
+ flex-direction: column;
154
+ gap: 4px;
155
+ min-width: 0;
156
+ }
157
+ .mb-alert__title {
158
+ color: currentColor;
159
+ font-size: 14px;
160
+ font-weight: 600;
161
+ line-height: 1.35;
162
+ }
163
+ .mb-alert__content {
164
+ color: color-mix(in srgb, currentColor 78%, transparent);
165
+ font-size: 13px;
166
+ font-weight: 400;
167
+ line-height: 1.5;
168
+ }
169
+ .mb-alert__action {
170
+ display: inline-flex;
171
+ align-items: center;
172
+ justify-content: center;
173
+ flex: 0 0 auto;
174
+ margin-left: auto;
175
+ }
176
+
177
+ /* src/components/Badge/Badge.css */
178
+ .mb-badge {
179
+ display: inline-flex;
180
+ align-items: center;
181
+ justify-content: center;
182
+ gap: 6px;
183
+ width: fit-content;
184
+ border: none;
185
+ border-radius: var(--mb-radius-full, 999px);
186
+ font-family: var(--mb-font-family, inherit);
187
+ font-weight: 600;
188
+ line-height: 1;
189
+ white-space: nowrap;
190
+ user-select: none;
191
+ }
192
+ .mb-badge--sm {
193
+ height: 20px;
194
+ padding: 0 8px;
195
+ font-size: 11px;
196
+ }
197
+ .mb-badge--md {
198
+ height: 24px;
199
+ padding: 0 10px;
200
+ font-size: 12px;
201
+ }
202
+ .mb-badge--lg {
203
+ height: 28px;
204
+ padding: 0 12px;
205
+ font-size: 13px;
206
+ }
207
+ .mb-badge--default {
208
+ background: var(--mb-background-secondary, #f3f5f5);
209
+ color: var(--mb-text-secondary, #5e666a);
210
+ }
211
+ .mb-badge--primary {
212
+ background: color-mix(in srgb, var(--mb-primary, #30d5c8) 16%, transparent);
213
+ color: var(--mb-primary-active, #27b9ae);
214
+ }
215
+ .mb-badge--success {
216
+ background: color-mix(in srgb, var(--mb-success, #22c55e) 15%, transparent);
217
+ color: color-mix(in srgb, var(--mb-success, #22c55e) 78%, #000000);
218
+ }
219
+ .mb-badge--warning {
220
+ background: color-mix(in srgb, var(--mb-warning, #f59e0b) 16%, transparent);
221
+ color: color-mix(in srgb, var(--mb-warning, #f59e0b) 76%, #000000);
222
+ }
223
+ .mb-badge--danger {
224
+ background: color-mix(in srgb, var(--mb-danger, #ef4444) 15%, transparent);
225
+ color: color-mix(in srgb, var(--mb-danger, #ef4444) 80%, #000000);
226
+ }
227
+ .mb-badge__content {
228
+ display: inline-flex;
229
+ align-items: center;
230
+ }
231
+
232
+ /* src/components/Spinner/Spinner.css */
233
+ .mb-spinner {
234
+ display: inline-block;
235
+ flex-shrink: 0;
236
+ width: var(--mb-spinner-size);
237
+ height: var(--mb-spinner-size);
238
+ border: var(--mb-spinner-thickness) solid var(--mb-spinner-track, #e5e7eb);
239
+ border-top-color: var(--mb-spinner-color, var(--mb-primary, #30d5c8));
240
+ border-right-color: var(--mb-spinner-color, var(--mb-primary, #30d5c8));
241
+ border-radius: 50%;
242
+ animation: mb-spinner-rotate 0.55s linear infinite;
243
+ }
244
+ @keyframes mb-spinner-rotate {
245
+ to {
246
+ transform: rotate(360deg);
247
+ }
248
+ }
249
+ @media (prefers-reduced-motion: reduce) {
250
+ .mb-spinner {
251
+ animation-duration: 1.5s;
252
+ }
253
+ }
254
+
255
+ /* src/components/Button/Button.css */
256
+ .mb-button {
257
+ display: inline-flex;
258
+ align-items: center;
259
+ justify-content: center;
260
+ flex-shrink: 0;
261
+ gap: 8px;
262
+ height: 36px;
263
+ padding: 0 16px;
264
+ border: none;
265
+ border-radius: var(--mb-radius, 14px);
266
+ background: var(--mb-primary, #30d5c8);
267
+ color: var(--mb-text-color, #172322);
268
+ font-family: var(--mb-font-family, inherit);
269
+ font-size: 14px;
270
+ font-weight: 500;
271
+ line-height: 1;
272
+ cursor: pointer;
273
+ user-select: none;
274
+ white-space: nowrap;
275
+ outline: none;
276
+ transition:
277
+ background-color var(--mb-transition-fast, 0.15s ease),
278
+ color var(--mb-transition-fast, 0.15s ease),
279
+ border-color var(--mb-transition-fast, 0.15s ease),
280
+ box-shadow var(--mb-transition-fast, 0.15s ease),
281
+ opacity var(--mb-transition-fast, 0.15s ease);
282
+ }
283
+ .mb-button--sm {
284
+ height: 32px;
285
+ padding: 0 12px;
286
+ font-size: 13px;
287
+ }
288
+ .mb-button--md {
289
+ height: 36px;
290
+ padding: 0 16px;
291
+ font-size: 14px;
292
+ }
293
+ .mb-button--lg {
294
+ height: 42px;
295
+ padding: 0 20px;
296
+ font-size: 15px;
297
+ }
298
+ .mb-button--primary {
299
+ background: var(--mb-primary, #30d5c8);
300
+ color: var(--mb-text-color, #172322);
301
+ }
302
+ .mb-button--primary:hover:not(:disabled) {
303
+ background: var(--mb-primary-hover, #2bc8bc);
304
+ }
305
+ .mb-button--primary:active:not(:disabled) {
306
+ background: var(--mb-primary-active, #27b9ae);
307
+ }
308
+ .mb-button--secondary {
309
+ background: var(--mb-background-secondary, #f3f5f5);
310
+ color: var(--mb-text-color, #172322);
311
+ }
312
+ .mb-button--secondary:hover:not(:disabled) {
313
+ background: color-mix(in srgb, var(--mb-text-color, #172322) 9%, var(--mb-background, #ffffff));
314
+ }
315
+ .mb-button--secondary:active:not(:disabled) {
316
+ background: color-mix(in srgb, var(--mb-text-color, #172322) 14%, var(--mb-background, #ffffff));
317
+ }
318
+ .mb-button--outline {
319
+ border: 1px solid var(--mb-primary, #30d5c8);
320
+ background: transparent;
321
+ color: var(--mb-primary-active, #27b9ae);
322
+ }
323
+ .mb-button--outline:hover:not(:disabled) {
324
+ background: color-mix(in srgb, var(--mb-primary, #30d5c8) 10%, transparent);
325
+ }
326
+ .mb-button--outline:active:not(:disabled) {
327
+ background: color-mix(in srgb, var(--mb-primary, #30d5c8) 17%, transparent);
328
+ }
329
+ .mb-button--ghost {
330
+ background: transparent;
331
+ color: var(--mb-primary-active, #27b9ae);
332
+ }
333
+ .mb-button--ghost:hover:not(:disabled) {
334
+ background: color-mix(in srgb, var(--mb-primary, #30d5c8) 10%, transparent);
335
+ }
336
+ .mb-button--ghost:active:not(:disabled) {
337
+ background: color-mix(in srgb, var(--mb-primary, #30d5c8) 17%, transparent);
338
+ }
339
+ .mb-button:focus-visible {
340
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color, var(--mb-primary));
341
+ }
342
+ .mb-button:disabled {
343
+ opacity: 0.45;
344
+ cursor: not-allowed;
345
+ }
346
+ .mb-button__content {
347
+ display: inline-flex;
348
+ align-items: center;
349
+ justify-content: center;
350
+ min-width: 0;
351
+ }
352
+
353
+ /* src/components/Checkbox/Checkbox.css */
354
+ .mb-checkbox {
355
+ display: inline-flex;
356
+ align-items: flex-start;
357
+ gap: 10px;
358
+ width: fit-content;
359
+ color: var(--mb-text-color, #172322);
360
+ font-family: var(--mb-font-family, inherit);
361
+ cursor: pointer;
362
+ user-select: none;
363
+ }
364
+ .mb-checkbox__input {
365
+ position: absolute;
366
+ width: 1px;
367
+ height: 1px;
368
+ margin: -1px;
369
+ padding: 0;
370
+ overflow: hidden;
371
+ clip: rect(0 0 0 0);
372
+ white-space: nowrap;
373
+ border: 0;
374
+ }
375
+ .mb-checkbox__control {
376
+ display: inline-flex;
377
+ align-items: center;
378
+ justify-content: center;
379
+ width: 18px;
380
+ height: 18px;
381
+ flex: 0 0 18px;
382
+ box-sizing: border-box;
383
+ border: 1px solid #cbd2d6;
384
+ border-radius: 6px;
385
+ background: #ffffff;
386
+ color: var(--mb-text-color, #172322);
387
+ transition:
388
+ background-color 0.16s ease,
389
+ border-color 0.16s ease,
390
+ box-shadow 0.16s ease,
391
+ opacity 0.16s ease;
392
+ }
393
+ .mb-checkbox:hover .mb-checkbox__input:not(:disabled):not(:checked) + .mb-checkbox__control {
394
+ border-color: #aeb8bd;
395
+ }
396
+ .mb-checkbox__check {
397
+ display: block;
398
+ width: 13px;
399
+ height: 13px;
400
+ opacity: 0;
401
+ transform: scale(0.7);
402
+ transition: opacity 0.14s ease, transform 0.14s ease;
403
+ }
404
+ .mb-checkbox__input:checked + .mb-checkbox__control {
405
+ border-color: var(--mb-primary, #30d5c8);
406
+ background: var(--mb-primary, #30d5c8);
407
+ }
408
+ .mb-checkbox__input:checked + .mb-checkbox__control .mb-checkbox__check {
409
+ opacity: 1;
410
+ transform: scale(1);
411
+ }
412
+ .mb-checkbox__input:focus + .mb-checkbox__control {
413
+ box-shadow: inset 0 0 0 2px var(--mb-focus-color, #30d5c8);
414
+ }
415
+ .mb-checkbox__body {
416
+ display: flex;
417
+ flex-direction: column;
418
+ gap: 3px;
419
+ min-width: 0;
420
+ }
421
+ .mb-checkbox__label {
422
+ color: var(--mb-text-color, #172322);
423
+ font-size: 14px;
424
+ font-weight: 500;
425
+ line-height: 1.3;
426
+ }
427
+ .mb-checkbox__description {
428
+ color: #8a8f98;
429
+ font-size: 12px;
430
+ font-weight: 400;
431
+ line-height: 1.4;
432
+ }
433
+ .mb-checkbox--disabled {
434
+ opacity: 0.5;
435
+ cursor: not-allowed;
436
+ }
437
+ .mb-checkbox__input:disabled + .mb-checkbox__control {
438
+ background: #f1f3f4;
439
+ cursor: not-allowed;
440
+ }
441
+
442
+ /* src/components/Group/Group.css */
443
+ .mb-group {
444
+ display: flex;
445
+ flex-direction: row;
446
+ gap: var(--mb-group-gap, 12px);
447
+ min-width: 0;
448
+ }
449
+ .mb-group--align-start {
450
+ align-items: flex-start;
451
+ }
452
+ .mb-group--align-center {
453
+ align-items: center;
454
+ }
455
+ .mb-group--align-end {
456
+ align-items: flex-end;
457
+ }
458
+ .mb-group--align-stretch {
459
+ align-items: stretch;
460
+ }
461
+ .mb-group--justify-start {
462
+ justify-content: flex-start;
463
+ }
464
+ .mb-group--justify-center {
465
+ justify-content: center;
466
+ }
467
+ .mb-group--justify-end {
468
+ justify-content: flex-end;
469
+ }
470
+ .mb-group--justify-between {
471
+ justify-content: space-between;
472
+ }
473
+ .mb-group--wrap {
474
+ flex-wrap: wrap;
475
+ }
476
+ .mb-group--nowrap {
477
+ flex-wrap: nowrap;
478
+ }
479
+
480
+ /* src/components/Modal/Modal.css */
481
+ .mb-modal-root {
482
+ position: fixed;
483
+ inset: 0;
484
+ z-index: 10000;
485
+ font-family: var(--mb-font-family, inherit);
486
+ }
487
+ .mb-modal__overlay {
488
+ position: absolute;
489
+ inset: 0;
490
+ display: flex;
491
+ align-items: flex-start;
492
+ justify-content: center;
493
+ padding: 48px 24px;
494
+ background: rgba(17, 24, 39, 0.42);
495
+ backdrop-filter: blur(4px);
496
+ -webkit-backdrop-filter: blur(4px);
497
+ overflow-x: hidden;
498
+ overflow-y: auto;
499
+ animation: mb-modal-overlay-enter 0.18s ease both;
500
+ }
501
+ .mb-modal {
502
+ position: relative;
503
+ display: flex;
504
+ flex-direction: column;
505
+ width: 100%;
506
+ margin: auto 0;
507
+ border: none;
508
+ border-radius: 10px;
509
+ background: var(--mb-background, #ffffff);
510
+ color: var(--mb-text-color, #172322);
511
+ box-shadow: 0 14px 34px rgba(17, 24, 39, 0.14);
512
+ outline: none;
513
+ overflow: visible;
514
+ animation: mb-modal-enter 0.2s ease both;
515
+ }
516
+ .mb-modal--sm {
517
+ max-width: 420px;
518
+ }
519
+ .mb-modal--md {
520
+ max-width: 576px;
521
+ }
522
+ .mb-modal--lg {
523
+ max-width: 760px;
524
+ }
525
+ .mb-modal__header {
526
+ display: flex;
527
+ align-items: flex-start;
528
+ justify-content: space-between;
529
+ gap: 16px;
530
+ padding: 24px 24px 0;
531
+ }
532
+ .mb-modal__heading {
533
+ display: flex;
534
+ flex-direction: column;
535
+ gap: 5px;
536
+ min-width: 0;
537
+ }
538
+ .mb-modal__title {
539
+ color: var(--mb-text-color, #172322);
540
+ font-size: 20px;
541
+ font-weight: 600;
542
+ line-height: 1.3;
543
+ }
544
+ .mb-modal__description {
545
+ color: var(--mb-gray-600, #5e666a);
546
+ font-size: 14px;
547
+ font-weight: 400;
548
+ line-height: 1.5;
549
+ }
550
+ .mb-modal__close {
551
+ position: absolute;
552
+ top: -9px;
553
+ right: -9px;
554
+ z-index: 10;
555
+ display: inline-flex;
556
+ align-items: center;
557
+ justify-content: center;
558
+ width: 34px;
559
+ height: 34px;
560
+ padding: 0;
561
+ border: none;
562
+ border-radius: 8px;
563
+ background: #ffffff;
564
+ color: var(--mb-gray-500, #7d868b);
565
+ box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
566
+ cursor: pointer;
567
+ outline: none;
568
+ transition:
569
+ background-color var(--mb-transition-fast, 0.15s ease),
570
+ color var(--mb-transition-fast, 0.15s ease),
571
+ box-shadow var(--mb-transition-fast, 0.15s ease);
572
+ }
573
+ .mb-modal__close:hover {
574
+ background: var(--mb-gray-100, #f3f4f6);
575
+ color: var(--mb-text-color, #172322);
576
+ }
577
+ .mb-modal__close:focus-visible {
578
+ box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12), inset 0 0 0 2px var(--mb-focus-color, #30d5c8);
579
+ }
580
+ .mb-modal__close svg {
581
+ display: block;
582
+ width: 18px;
583
+ height: 18px;
584
+ }
585
+ .mb-modal__content {
586
+ position: relative;
587
+ padding: 22px 24px;
588
+ overflow: visible;
589
+ }
590
+ .mb-modal__footer {
591
+ position: relative;
592
+ display: flex;
593
+ align-items: center;
594
+ justify-content: flex-end;
595
+ gap: 12px;
596
+ padding: 0 24px 24px;
597
+ }
598
+ .mb-modal .mb-select__dropdown {
599
+ z-index: 100;
600
+ }
601
+ @keyframes mb-modal-overlay-enter {
602
+ from {
603
+ opacity: 0;
604
+ }
605
+ to {
606
+ opacity: 1;
607
+ }
608
+ }
609
+ @keyframes mb-modal-enter {
610
+ from {
611
+ opacity: 0;
612
+ transform: translateY(8px) scale(0.985);
613
+ }
614
+ to {
615
+ opacity: 1;
616
+ transform: translateY(0) scale(1);
617
+ }
618
+ }
619
+ @media (prefers-reduced-motion: reduce) {
620
+ .mb-modal__overlay,
621
+ .mb-modal {
622
+ animation-duration: 0.01ms;
623
+ }
624
+ }
625
+ @media (max-width: 520px) {
626
+ .mb-modal__overlay {
627
+ align-items: flex-end;
628
+ padding: 12px;
629
+ }
630
+ .mb-modal {
631
+ margin: auto 0 0;
632
+ border-radius: 10px;
633
+ }
634
+ .mb-modal__header {
635
+ padding: 20px 18px 0;
636
+ }
637
+ .mb-modal__content {
638
+ padding: 18px;
639
+ }
640
+ .mb-modal__footer {
641
+ padding: 0 18px 18px;
642
+ }
643
+ .mb-modal__close {
644
+ top: 10px;
645
+ right: 10px;
646
+ box-shadow: none;
647
+ }
648
+ }
649
+
650
+ /* src/components/Radio/Radio.css */
651
+ .mb-radio {
652
+ display: inline-flex;
653
+ align-items: flex-start;
654
+ gap: 10px;
655
+ width: fit-content;
656
+ color: var(--mb-text-color, #172322);
657
+ font-family: var(--mb-font-family, inherit);
658
+ cursor: pointer;
659
+ user-select: none;
660
+ }
661
+ .mb-radio__input {
662
+ position: absolute;
663
+ width: 1px;
664
+ height: 1px;
665
+ margin: -1px;
666
+ padding: 0;
667
+ overflow: hidden;
668
+ clip: rect(0 0 0 0);
669
+ white-space: nowrap;
670
+ border: 0;
671
+ }
672
+ .mb-radio__control {
673
+ display: inline-flex;
674
+ align-items: center;
675
+ justify-content: center;
676
+ width: 18px;
677
+ height: 18px;
678
+ flex: 0 0 18px;
679
+ box-sizing: border-box;
680
+ border: 1px solid #cbd2d6;
681
+ border-radius: 50%;
682
+ background: #ffffff;
683
+ transition:
684
+ border-color 0.16s ease,
685
+ background-color 0.16s ease,
686
+ box-shadow 0.16s ease,
687
+ opacity 0.16s ease;
688
+ }
689
+ .mb-radio:hover .mb-radio__input:not(:disabled):not(:checked) + .mb-radio__control {
690
+ border-color: #aeb8bd;
691
+ }
692
+ .mb-radio__dot {
693
+ width: 8px;
694
+ height: 8px;
695
+ border-radius: 50%;
696
+ background: var(--mb-primary, #30d5c8);
697
+ opacity: 0;
698
+ transform: scale(0.55);
699
+ transition: opacity 0.14s ease, transform 0.14s ease;
700
+ }
701
+ .mb-radio__input:checked + .mb-radio__control {
702
+ border-color: var(--mb-primary, #30d5c8);
703
+ }
704
+ .mb-radio__input:checked + .mb-radio__control .mb-radio__dot {
705
+ opacity: 1;
706
+ transform: scale(1);
707
+ }
708
+ .mb-radio__input:focus-visible + .mb-radio__control {
709
+ box-shadow: 0 0 0 3px rgba(48, 213, 200, 0.22);
710
+ }
711
+ .mb-radio__body {
712
+ display: flex;
713
+ flex-direction: column;
714
+ gap: 3px;
715
+ min-width: 0;
716
+ }
717
+ .mb-radio__label {
718
+ color: var(--mb-text-color, #172322);
719
+ font-size: 14px;
720
+ font-weight: 500;
721
+ line-height: 1.3;
722
+ }
723
+ .mb-radio__description {
724
+ color: #8a8f98;
725
+ font-size: 12px;
726
+ font-weight: 400;
727
+ line-height: 1.4;
728
+ }
729
+ .mb-radio--disabled {
730
+ opacity: 0.5;
731
+ cursor: not-allowed;
732
+ }
733
+ .mb-radio__input:disabled + .mb-radio__control {
734
+ background: #f1f3f4;
735
+ cursor: not-allowed;
736
+ }
737
+ .mb-radio-group {
738
+ display: flex;
739
+ flex-direction: column;
740
+ gap: 12px;
741
+ font-family: var(--mb-font-family, inherit);
742
+ }
743
+ .mb-radio-group__header {
744
+ display: flex;
745
+ flex-direction: column;
746
+ gap: 4px;
747
+ }
748
+ .mb-radio-group__label {
749
+ color: var(--mb-text-color, #172322);
750
+ font-size: 14px;
751
+ font-weight: 600;
752
+ line-height: 1.3;
753
+ }
754
+ .mb-radio-group__description {
755
+ color: #8a8f98;
756
+ font-size: 12px;
757
+ font-weight: 400;
758
+ line-height: 1.4;
759
+ }
760
+ .mb-radio-group__items {
761
+ display: flex;
762
+ gap: 12px;
763
+ }
764
+ .mb-radio-group--vertical .mb-radio-group__items {
765
+ flex-direction: column;
766
+ align-items: flex-start;
767
+ }
768
+ .mb-radio-group--horizontal .mb-radio-group__items {
769
+ flex-direction: row;
770
+ align-items: center;
771
+ flex-wrap: wrap;
772
+ }
773
+
774
+ /* src/components/Select/Select.css */
775
+ .mb-select {
776
+ position: relative;
777
+ width: 100%;
778
+ color: var(--mb-text-color, #172322);
779
+ font-family: var(--mb-font-family, inherit);
780
+ }
781
+ .mb-select__trigger {
782
+ display: flex;
783
+ align-items: center;
784
+ gap: 10px;
785
+ width: 100%;
786
+ height: 36px;
787
+ padding: 0 42px 0 14px;
788
+ border: 1px solid var(--mb-border-color, #d8dde0);
789
+ border-radius: var(--mb-radius, 14px);
790
+ background: var(--mb-background, #ffffff);
791
+ color: var(--mb-text-color, #172322);
792
+ font-family: inherit;
793
+ font-size: 14px;
794
+ font-weight: 500;
795
+ line-height: 1;
796
+ text-align: left;
797
+ cursor: pointer;
798
+ outline: none;
799
+ transition:
800
+ border-color var(--mb-transition-fast, 0.15s ease),
801
+ background-color var(--mb-transition-fast, 0.15s ease),
802
+ box-shadow var(--mb-transition-fast, 0.15s ease),
803
+ color var(--mb-transition-fast, 0.15s ease);
804
+ }
805
+ .mb-select--sm .mb-select__trigger {
806
+ height: 32px;
807
+ padding-right: 38px;
808
+ padding-left: 12px;
809
+ font-size: 13px;
810
+ }
811
+ .mb-select--md .mb-select__trigger {
812
+ height: 36px;
813
+ }
814
+ .mb-select--lg .mb-select__trigger {
815
+ height: 42px;
816
+ padding-right: 46px;
817
+ padding-left: 16px;
818
+ font-size: 15px;
819
+ }
820
+ .mb-select:not(.mb-select--disabled) .mb-select__trigger:hover {
821
+ border-color: var(--mb-border-hover, #bfc7cb);
822
+ }
823
+ .mb-select--opened .mb-select__trigger,
824
+ .mb-select__trigger:focus-visible {
825
+ border-color: var(--mb-primary, #30d5c8);
826
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color, var(--mb-primary));
827
+ }
828
+ .mb-select__section {
829
+ display: inline-flex;
830
+ align-items: center;
831
+ justify-content: center;
832
+ flex: 0 0 auto;
833
+ color: var(--mb-text-muted, #7d868b);
834
+ line-height: 0;
835
+ }
836
+ .mb-select--opened .mb-select__section {
837
+ color: var(--mb-primary-active, #27b9ae);
838
+ }
839
+ .mb-select__value {
840
+ display: block;
841
+ min-width: 0;
842
+ flex: 1;
843
+ overflow: hidden;
844
+ text-overflow: ellipsis;
845
+ white-space: nowrap;
846
+ }
847
+ .mb-select__placeholder {
848
+ color: var(--mb-text-muted, #7d868b);
849
+ font-weight: 400;
850
+ }
851
+ .mb-select__chevron {
852
+ position: absolute;
853
+ top: 50%;
854
+ right: 13px;
855
+ display: inline-flex;
856
+ align-items: center;
857
+ justify-content: center;
858
+ width: 18px;
859
+ height: 18px;
860
+ color: var(--mb-text-muted, #7d868b);
861
+ pointer-events: none;
862
+ transform: translateY(-50%);
863
+ transition: color var(--mb-transition-fast, 0.15s ease), transform var(--mb-transition-fast, 0.15s ease);
864
+ }
865
+ .mb-select__chevron svg {
866
+ display: block;
867
+ width: 100%;
868
+ height: 100%;
869
+ }
870
+ .mb-select--opened .mb-select__chevron {
871
+ color: var(--mb-primary-active, #27b9ae);
872
+ transform: translateY(-50%) rotate(180deg);
873
+ }
874
+ .mb-select__dropdown {
875
+ position: absolute;
876
+ top: calc(100% + 8px);
877
+ right: 0;
878
+ left: 0;
879
+ z-index: var(--mb-z-dropdown, 1000);
880
+ padding: 6px;
881
+ border: none;
882
+ border-radius: var(--mb-radius, 14px);
883
+ background: var(--mb-background, #ffffff);
884
+ box-shadow: var(--mb-shadow-md);
885
+ overflow: hidden;
886
+ animation: mb-select-dropdown-enter 0.16s ease both;
887
+ }
888
+ .mb-select__options {
889
+ display: flex;
890
+ flex-direction: column;
891
+ gap: 2px;
892
+ max-height: 240px;
893
+ overflow-x: hidden;
894
+ overflow-y: auto;
895
+ scrollbar-width: thin;
896
+ scrollbar-color: var(--mb-border-color, #d8dde0) transparent;
897
+ }
898
+ .mb-select__options::-webkit-scrollbar {
899
+ width: 6px;
900
+ }
901
+ .mb-select__options::-webkit-scrollbar-track {
902
+ background: transparent;
903
+ }
904
+ .mb-select__options::-webkit-scrollbar-thumb {
905
+ border-radius: var(--mb-radius-full, 999px);
906
+ background: var(--mb-border-color, #d8dde0);
907
+ }
908
+ .mb-select__option {
909
+ display: flex;
910
+ align-items: center;
911
+ gap: 10px;
912
+ width: 100%;
913
+ min-height: 36px;
914
+ padding: 8px 10px;
915
+ border: none;
916
+ border-radius: var(--mb-radius, 14px);
917
+ background: transparent;
918
+ color: var(--mb-text-color, #172322);
919
+ font-family: inherit;
920
+ font-size: 13px;
921
+ font-weight: 500;
922
+ line-height: 1.3;
923
+ text-align: left;
924
+ cursor: pointer;
925
+ outline: none;
926
+ transition: background-color var(--mb-transition-fast, 0.15s ease), color var(--mb-transition-fast, 0.15s ease);
927
+ }
928
+ .mb-select__option:hover:not(:disabled),
929
+ .mb-select__option--active:not(:disabled) {
930
+ background: var(--mb-background-secondary, #f3f5f5);
931
+ }
932
+ .mb-select__option--selected {
933
+ background: color-mix(in srgb, var(--mb-primary, #30d5c8) 15%, transparent);
934
+ color: var(--mb-primary-active, #27b9ae);
935
+ }
936
+ .mb-select__option--selected:hover:not(:disabled),
937
+ .mb-select__option--selected.mb-select__option--active {
938
+ background: color-mix(in srgb, var(--mb-primary, #30d5c8) 23%, transparent);
939
+ }
940
+ .mb-select__option-icon {
941
+ display: inline-flex;
942
+ align-items: center;
943
+ justify-content: center;
944
+ flex: 0 0 auto;
945
+ color: currentColor;
946
+ line-height: 0;
947
+ }
948
+ .mb-select__option-label {
949
+ min-width: 0;
950
+ flex: 1;
951
+ overflow: hidden;
952
+ text-overflow: ellipsis;
953
+ white-space: nowrap;
954
+ }
955
+ .mb-select__check {
956
+ display: inline-flex;
957
+ align-items: center;
958
+ justify-content: center;
959
+ width: 17px;
960
+ height: 17px;
961
+ flex: 0 0 17px;
962
+ color: var(--mb-primary-active, #27b9ae);
963
+ }
964
+ .mb-select__check svg {
965
+ display: block;
966
+ width: 100%;
967
+ height: 100%;
968
+ }
969
+ .mb-select--error .mb-select__trigger {
970
+ border-color: var(--mb-danger, #ef4444);
971
+ }
972
+ .mb-select--error.mb-select--opened .mb-select__trigger,
973
+ .mb-select--error .mb-select__trigger:focus-visible {
974
+ border-color: var(--mb-danger, #ef4444);
975
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-danger, #ef4444);
976
+ }
977
+ .mb-select--disabled {
978
+ opacity: 0.55;
979
+ }
980
+ .mb-select--disabled .mb-select__trigger {
981
+ background: var(--mb-background-secondary, #f3f5f5);
982
+ cursor: not-allowed;
983
+ }
984
+ .mb-select__option:disabled {
985
+ opacity: 0.42;
986
+ cursor: not-allowed;
987
+ }
988
+ @keyframes mb-select-dropdown-enter {
989
+ from {
990
+ opacity: 0;
991
+ transform: translateY(-5px) scale(0.98);
992
+ }
993
+ to {
994
+ opacity: 1;
995
+ transform: translateY(0) scale(1);
996
+ }
997
+ }
998
+ @media (prefers-reduced-motion: reduce) {
999
+ .mb-select__dropdown {
1000
+ animation-duration: 0.01ms;
1001
+ }
1002
+ .mb-select__chevron {
1003
+ transition-duration: 0.01ms;
1004
+ }
1005
+ }
1006
+
1007
+ /* src/components/Stack/Stack.css */
1008
+ .mb-stack {
1009
+ display: flex;
1010
+ flex-direction: column;
1011
+ gap: var(--mb-stack-gap, 16px);
1012
+ width: 100%;
1013
+ min-width: 0;
1014
+ }
1015
+ .mb-stack--align-stretch {
1016
+ align-items: stretch;
1017
+ }
1018
+ .mb-stack--align-start {
1019
+ align-items: flex-start;
1020
+ }
1021
+ .mb-stack--align-center {
1022
+ align-items: center;
1023
+ }
1024
+ .mb-stack--align-end {
1025
+ align-items: flex-end;
1026
+ }
1027
+ .mb-stack--justify-start {
1028
+ justify-content: flex-start;
1029
+ }
1030
+ .mb-stack--justify-center {
1031
+ justify-content: center;
1032
+ }
1033
+ .mb-stack--justify-end {
1034
+ justify-content: flex-end;
1035
+ }
1036
+ .mb-stack--justify-between {
1037
+ justify-content: space-between;
1038
+ }
1039
+
1040
+ /* src/components/Switch/Switch.css */
1041
+ .mb-switch {
1042
+ display: inline-flex;
1043
+ align-items: flex-start;
1044
+ gap: 10px;
1045
+ width: fit-content;
1046
+ color: var(--mb-text-color, #172322);
1047
+ font-family: var(--mb-font-family, inherit);
1048
+ cursor: pointer;
1049
+ user-select: none;
1050
+ }
1051
+ .mb-switch__input {
1052
+ position: absolute;
1053
+ width: 1px;
1054
+ height: 1px;
1055
+ margin: -1px;
1056
+ padding: 0;
1057
+ overflow: hidden;
1058
+ clip: rect(0 0 0 0);
1059
+ white-space: nowrap;
1060
+ border: 0;
1061
+ }
1062
+ .mb-switch__control {
1063
+ position: relative;
1064
+ display: inline-flex;
1065
+ align-items: center;
1066
+ width: 40px;
1067
+ height: 22px;
1068
+ flex: 0 0 40px;
1069
+ box-sizing: border-box;
1070
+ border-radius: 999px;
1071
+ background: #d8dde0;
1072
+ transition:
1073
+ background-color 0.18s ease,
1074
+ box-shadow 0.18s ease,
1075
+ opacity 0.18s ease;
1076
+ }
1077
+ .mb-switch:hover .mb-switch__input:not(:disabled):not(:checked) + .mb-switch__control {
1078
+ background: #c8ced2;
1079
+ }
1080
+ .mb-switch__thumb {
1081
+ position: absolute;
1082
+ left: 3px;
1083
+ width: 16px;
1084
+ height: 16px;
1085
+ border-radius: 50%;
1086
+ background: #ffffff;
1087
+ box-shadow: 0 1px 3px rgba(23, 35, 34, 0.18);
1088
+ transition: transform 0.18s ease, box-shadow 0.18s ease;
1089
+ }
1090
+ .mb-switch__input:checked + .mb-switch__control {
1091
+ background: var(--mb-primary, #30d5c8);
1092
+ }
1093
+ .mb-switch__input:checked + .mb-switch__control .mb-switch__thumb {
1094
+ transform: translateX(18px);
1095
+ }
1096
+ .mb-switch__input:focus-visible + .mb-switch__control {
1097
+ box-shadow: 0 0 0 3px rgba(48, 213, 200, 0.24);
1098
+ }
1099
+ .mb-switch__body {
1100
+ display: flex;
1101
+ flex-direction: column;
1102
+ gap: 3px;
1103
+ min-width: 0;
1104
+ }
1105
+ .mb-switch__label {
1106
+ color: var(--mb-text-color, #172322);
1107
+ font-size: 14px;
1108
+ font-weight: 500;
1109
+ line-height: 1.3;
1110
+ }
1111
+ .mb-switch__description {
1112
+ color: #8a8f98;
1113
+ font-size: 12px;
1114
+ font-weight: 400;
1115
+ line-height: 1.4;
1116
+ }
1117
+ .mb-switch--disabled {
1118
+ opacity: 0.5;
1119
+ cursor: not-allowed;
1120
+ }
1121
+ .mb-switch__input:disabled + .mb-switch__control {
1122
+ cursor: not-allowed;
1123
+ }
1124
+ .mb-switch__input:disabled ~ .mb-switch__body {
1125
+ cursor: not-allowed;
1126
+ }
1127
+
1128
+ /* src/components/Toast/Toast.css */
1129
+ .mb-toast-viewport {
1130
+ position: fixed;
1131
+ z-index: var(--mb-z-toast, 1300);
1132
+ display: flex;
1133
+ flex-direction: column;
1134
+ gap: 10px;
1135
+ width: min(380px, calc(100vw - 32px));
1136
+ pointer-events: none;
1137
+ }
1138
+ .mb-toast-viewport--top-left {
1139
+ top: 16px;
1140
+ left: 16px;
1141
+ }
1142
+ .mb-toast-viewport--top-center {
1143
+ top: 16px;
1144
+ left: 50%;
1145
+ transform: translateX(-50%);
1146
+ }
1147
+ .mb-toast-viewport--top-right {
1148
+ top: 16px;
1149
+ right: 16px;
1150
+ }
1151
+ .mb-toast-viewport--bottom-left {
1152
+ bottom: 16px;
1153
+ left: 16px;
1154
+ flex-direction: column-reverse;
1155
+ }
1156
+ .mb-toast-viewport--bottom-center {
1157
+ bottom: 16px;
1158
+ left: 50%;
1159
+ flex-direction: column-reverse;
1160
+ transform: translateX(-50%);
1161
+ }
1162
+ .mb-toast-viewport--bottom-right {
1163
+ right: 16px;
1164
+ bottom: 16px;
1165
+ flex-direction: column-reverse;
1166
+ }
1167
+ .mb-toast {
1168
+ position: relative;
1169
+ display: grid;
1170
+ grid-template-columns: auto minmax(0, 1fr) auto;
1171
+ align-items: start;
1172
+ gap: 12px;
1173
+ width: 100%;
1174
+ box-sizing: border-box;
1175
+ padding: 14px 14px 16px;
1176
+ border: none;
1177
+ border-radius: var(--mb-radius-lg, 18px);
1178
+ background: var(--mb-background, #ffffff);
1179
+ color: var(--mb-text-color, #172322);
1180
+ box-shadow: var(--mb-shadow-lg);
1181
+ font-family: var(--mb-font-family, inherit);
1182
+ overflow: hidden;
1183
+ pointer-events: auto;
1184
+ animation: mb-toast-enter 0.22s ease both;
1185
+ }
1186
+ .mb-toast--closing {
1187
+ animation: mb-toast-exit 0.18s ease both;
1188
+ }
1189
+ .mb-toast--info {
1190
+ --mb-toast-accent: var(--mb-info, var(--mb-primary));
1191
+ --mb-toast-icon-background: color-mix( in srgb, var(--mb-info, var(--mb-primary)) 16%, transparent );
1192
+ --mb-toast-icon-color: var(--mb-primary-active);
1193
+ }
1194
+ .mb-toast--success {
1195
+ --mb-toast-accent: var(--mb-success, #22c55e);
1196
+ --mb-toast-icon-background: color-mix( in srgb, var(--mb-success, #22c55e) 15%, transparent );
1197
+ --mb-toast-icon-color: color-mix( in srgb, var(--mb-success, #22c55e) 78%, #000000 );
1198
+ }
1199
+ .mb-toast--warning {
1200
+ --mb-toast-accent: var(--mb-warning, #f59e0b);
1201
+ --mb-toast-icon-background: color-mix( in srgb, var(--mb-warning, #f59e0b) 16%, transparent );
1202
+ --mb-toast-icon-color: color-mix( in srgb, var(--mb-warning, #f59e0b) 76%, #000000 );
1203
+ }
1204
+ .mb-toast--danger {
1205
+ --mb-toast-accent: var(--mb-danger, #ef4444);
1206
+ --mb-toast-icon-background: color-mix( in srgb, var(--mb-danger, #ef4444) 15%, transparent );
1207
+ --mb-toast-icon-color: color-mix( in srgb, var(--mb-danger, #ef4444) 80%, #000000 );
1208
+ }
1209
+ .mb-toast__icon {
1210
+ display: inline-flex;
1211
+ align-items: center;
1212
+ justify-content: center;
1213
+ width: 36px;
1214
+ height: 36px;
1215
+ border-radius: var(--mb-radius, 14px);
1216
+ background: var(--mb-toast-icon-background);
1217
+ color: var(--mb-toast-icon-color);
1218
+ flex: 0 0 36px;
1219
+ }
1220
+ .mb-toast__body {
1221
+ display: flex;
1222
+ flex-direction: column;
1223
+ gap: 3px;
1224
+ min-width: 0;
1225
+ padding-top: 1px;
1226
+ }
1227
+ .mb-toast__title {
1228
+ overflow: hidden;
1229
+ color: var(--mb-text-color, #172322);
1230
+ font-size: 14px;
1231
+ font-weight: 600;
1232
+ line-height: 1.35;
1233
+ text-overflow: ellipsis;
1234
+ white-space: nowrap;
1235
+ }
1236
+ .mb-toast__message {
1237
+ color: var(--mb-text-muted, #7d868b);
1238
+ font-size: 13px;
1239
+ font-weight: 400;
1240
+ line-height: 1.45;
1241
+ overflow-wrap: anywhere;
1242
+ }
1243
+ .mb-toast__close {
1244
+ display: inline-flex;
1245
+ align-items: center;
1246
+ justify-content: center;
1247
+ width: 28px;
1248
+ height: 28px;
1249
+ padding: 0;
1250
+ border: none;
1251
+ border-radius: var(--mb-radius-sm, 10px);
1252
+ background: transparent;
1253
+ color: var(--mb-text-muted, #7d868b);
1254
+ cursor: pointer;
1255
+ outline: none;
1256
+ transition:
1257
+ background-color var(--mb-transition-fast, 0.15s ease),
1258
+ color var(--mb-transition-fast, 0.15s ease),
1259
+ box-shadow var(--mb-transition-fast, 0.15s ease);
1260
+ }
1261
+ .mb-toast__close:hover {
1262
+ background: var(--mb-background-secondary, #f3f5f5);
1263
+ color: var(--mb-text-color, #172322);
1264
+ }
1265
+ .mb-toast__close:focus-visible {
1266
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color, var(--mb-primary));
1267
+ }
1268
+ .mb-toast__close svg {
1269
+ width: 16px;
1270
+ height: 16px;
1271
+ }
1272
+ .mb-toast__progress {
1273
+ position: absolute;
1274
+ right: 0;
1275
+ bottom: 0;
1276
+ left: 0;
1277
+ height: 3px;
1278
+ background: var(--mb-toast-accent);
1279
+ transform-origin: left;
1280
+ animation-name: mb-toast-progress;
1281
+ animation-timing-function: linear;
1282
+ animation-fill-mode: forwards;
1283
+ }
1284
+ .mb-toast:hover .mb-toast__progress {
1285
+ animation-play-state: paused;
1286
+ }
1287
+ @keyframes mb-toast-enter {
1288
+ from {
1289
+ opacity: 0;
1290
+ transform: translateY(-8px) scale(0.98);
1291
+ }
1292
+ to {
1293
+ opacity: 1;
1294
+ transform: translateY(0) scale(1);
1295
+ }
1296
+ }
1297
+ @keyframes mb-toast-exit {
1298
+ from {
1299
+ opacity: 1;
1300
+ transform: translateX(0) scale(1);
1301
+ }
1302
+ to {
1303
+ opacity: 0;
1304
+ transform: translateX(18px) scale(0.98);
1305
+ }
1306
+ }
1307
+ @keyframes mb-toast-progress {
1308
+ from {
1309
+ transform: scaleX(1);
1310
+ }
1311
+ to {
1312
+ transform: scaleX(0);
1313
+ }
1314
+ }
1315
+ @media (prefers-reduced-motion: reduce) {
1316
+ .mb-toast,
1317
+ .mb-toast--closing,
1318
+ .mb-toast__progress {
1319
+ animation-duration: 0.01ms !important;
1320
+ }
1321
+ }
1322
+ @media (max-width: 520px) {
1323
+ .mb-toast-viewport {
1324
+ right: 12px;
1325
+ left: 12px;
1326
+ width: auto;
1327
+ }
1328
+ .mb-toast-viewport--top-center,
1329
+ .mb-toast-viewport--bottom-center {
1330
+ transform: none;
1331
+ }
1332
+ }
1333
+
1334
+ /* src/components/Avatar/Avatar.css */
1335
+ .mb-avatar {
1336
+ position: relative;
1337
+ display: inline-flex;
1338
+ align-items: center;
1339
+ justify-content: center;
1340
+ flex-shrink: 0;
1341
+ overflow: hidden;
1342
+ border-radius: 50%;
1343
+ color: var(--mb-text-color);
1344
+ background: color-mix(in srgb, var(--mb-primary) 16%, transparent);
1345
+ font-family: var(--mb-font-family, inherit);
1346
+ font-weight: 600;
1347
+ line-height: 1;
1348
+ text-transform: uppercase;
1349
+ user-select: none;
1350
+ }
1351
+ .mb-avatar--xs {
1352
+ width: 24px;
1353
+ height: 24px;
1354
+ font-size: 9px;
1355
+ }
1356
+ .mb-avatar--sm {
1357
+ width: 32px;
1358
+ height: 32px;
1359
+ font-size: 11px;
1360
+ }
1361
+ .mb-avatar--md {
1362
+ width: 40px;
1363
+ height: 40px;
1364
+ font-size: 13px;
1365
+ }
1366
+ .mb-avatar--lg {
1367
+ width: 52px;
1368
+ height: 52px;
1369
+ font-size: 16px;
1370
+ }
1371
+ .mb-avatar--xl {
1372
+ width: 68px;
1373
+ height: 68px;
1374
+ font-size: 20px;
1375
+ }
1376
+ .mb-avatar__image {
1377
+ display: block;
1378
+ width: 100%;
1379
+ height: 100%;
1380
+ object-fit: cover;
1381
+ }
1382
+ .mb-avatar__fallback {
1383
+ display: flex;
1384
+ align-items: center;
1385
+ justify-content: center;
1386
+ width: 100%;
1387
+ height: 100%;
1388
+ }
1389
+ .mb-avatar__status {
1390
+ position: absolute;
1391
+ right: 0;
1392
+ bottom: 0;
1393
+ width: 28%;
1394
+ height: 28%;
1395
+ min-width: 8px;
1396
+ min-height: 8px;
1397
+ border: 3px solid var(--mb-background);
1398
+ border-radius: 50%;
1399
+ box-sizing: border-box;
1400
+ }
1401
+ .mb-avatar__status--online {
1402
+ background: var(--mb-success);
1403
+ }
1404
+ .mb-avatar__status--offline {
1405
+ background: var(--mb-text-muted);
1406
+ }
1407
+ .mb-avatar__status--busy {
1408
+ background: var(--mb-danger);
1409
+ }
1410
+ .mb-avatar__status--away {
1411
+ background: var(--mb-warning);
1412
+ }
1413
+ .mb-avatar-group {
1414
+ display: inline-flex;
1415
+ align-items: center;
1416
+ width: fit-content;
1417
+ }
1418
+ .mb-avatar-group--spacing-sm {
1419
+ --mb-avatar-group-offset: -8px;
1420
+ }
1421
+ .mb-avatar-group--spacing-md {
1422
+ --mb-avatar-group-offset: -12px;
1423
+ }
1424
+ .mb-avatar-group--spacing-lg {
1425
+ --mb-avatar-group-offset: -16px;
1426
+ }
1427
+ .mb-avatar-group__item {
1428
+ position: relative;
1429
+ flex-shrink: 0;
1430
+ box-sizing: border-box;
1431
+ border: 3px solid var(--mb-background);
1432
+ }
1433
+ .mb-avatar-group__item + .mb-avatar-group__item {
1434
+ margin-left: var(--mb-avatar-group-offset);
1435
+ }
1436
+ .mb-avatar-group__more {
1437
+ background: var(--mb-background-secondary);
1438
+ color: var(--mb-text-secondary);
1439
+ font-weight: 600;
1440
+ }
1441
+ .mb-avatar-group__overflow {
1442
+ display: inline-flex;
1443
+ margin-left: var(--mb-avatar-group-offset);
1444
+ }
1445
+
1446
+ /* src/components/Progress/Progress.css */
1447
+ .mb-progress {
1448
+ display: flex;
1449
+ flex-direction: column;
1450
+ gap: 8px;
1451
+ width: 100%;
1452
+ color: var(--mb-text-color);
1453
+ font-family: var(--mb-font-family, inherit);
1454
+ }
1455
+ .mb-progress__header {
1456
+ display: flex;
1457
+ align-items: center;
1458
+ justify-content: space-between;
1459
+ gap: 12px;
1460
+ }
1461
+ .mb-progress__label {
1462
+ min-width: 0;
1463
+ overflow: hidden;
1464
+ color: var(--mb-text-color);
1465
+ font-size: var(--mb-font-size-sm, 13px);
1466
+ font-weight: 500;
1467
+ line-height: 1.4;
1468
+ text-overflow: ellipsis;
1469
+ white-space: nowrap;
1470
+ }
1471
+ .mb-progress__value {
1472
+ flex: 0 0 auto;
1473
+ color: var(--mb-text-muted);
1474
+ font-size: var(--mb-font-size-sm, 13px);
1475
+ font-weight: 500;
1476
+ line-height: 1.4;
1477
+ }
1478
+ .mb-progress__track {
1479
+ position: relative;
1480
+ width: 100%;
1481
+ overflow: hidden;
1482
+ border-radius: var(--mb-radius-full, 999px);
1483
+ background: var(--mb-background-secondary);
1484
+ }
1485
+ .mb-progress--sm .mb-progress__track {
1486
+ height: 4px;
1487
+ }
1488
+ .mb-progress--md .mb-progress__track {
1489
+ height: 8px;
1490
+ }
1491
+ .mb-progress--lg .mb-progress__track {
1492
+ height: 12px;
1493
+ }
1494
+ .mb-progress__bar {
1495
+ width: var(--mb-progress-value, 0%);
1496
+ height: 100%;
1497
+ border-radius: inherit;
1498
+ background: var(--mb-progress-color);
1499
+ transition: width var(--mb-transition, 0.18s ease), background-color var(--mb-transition-fast, 0.15s ease);
1500
+ }
1501
+ .mb-progress--primary {
1502
+ --mb-progress-color: var(--mb-primary);
1503
+ }
1504
+ .mb-progress--success {
1505
+ --mb-progress-color: var(--mb-success);
1506
+ }
1507
+ .mb-progress--warning {
1508
+ --mb-progress-color: var(--mb-warning);
1509
+ }
1510
+ .mb-progress--danger {
1511
+ --mb-progress-color: var(--mb-danger);
1512
+ }
1513
+ .mb-progress--indeterminate .mb-progress__bar {
1514
+ position: absolute;
1515
+ inset-block: 0;
1516
+ left: -35%;
1517
+ width: 35%;
1518
+ animation: mb-progress-indeterminate 1.1s ease-in-out infinite;
1519
+ }
1520
+ @keyframes mb-progress-indeterminate {
1521
+ 0% {
1522
+ left: -35%;
1523
+ }
1524
+ 60% {
1525
+ left: 100%;
1526
+ }
1527
+ 100% {
1528
+ left: 100%;
1529
+ }
1530
+ }
1531
+ @media (prefers-reduced-motion: reduce) {
1532
+ .mb-progress__bar {
1533
+ transition: none;
1534
+ }
1535
+ .mb-progress--indeterminate .mb-progress__bar {
1536
+ animation-duration: 2s;
1537
+ }
1538
+ }
1539
+
1540
+ /* src/components/Skeleton/Skeleton.css */
1541
+ .mb-skeleton {
1542
+ position: relative;
1543
+ display: block;
1544
+ overflow: hidden;
1545
+ width: 100%;
1546
+ height: 16px;
1547
+ background: var(--mb-background-secondary);
1548
+ }
1549
+ .mb-skeleton--radius-sm {
1550
+ border-radius: var(--mb-radius-sm);
1551
+ }
1552
+ .mb-skeleton--radius-md {
1553
+ border-radius: var(--mb-radius);
1554
+ }
1555
+ .mb-skeleton--radius-lg {
1556
+ border-radius: var(--mb-radius-lg);
1557
+ }
1558
+ .mb-skeleton--circle {
1559
+ border-radius: 50%;
1560
+ }
1561
+ .mb-skeleton--animate::after {
1562
+ content: "";
1563
+ position: absolute;
1564
+ inset: 0;
1565
+ transform: translateX(-100%);
1566
+ background:
1567
+ linear-gradient(
1568
+ 90deg,
1569
+ transparent,
1570
+ rgba(255, 255, 255, .55),
1571
+ transparent);
1572
+ animation: mb-skeleton-shimmer 1.4s infinite;
1573
+ }
1574
+ @keyframes mb-skeleton-shimmer {
1575
+ 100% {
1576
+ transform: translateX(100%);
1577
+ }
1578
+ }
1579
+ @media (prefers-reduced-motion: reduce) {
1580
+ .mb-skeleton--animate::after {
1581
+ animation: none;
1582
+ }
1583
+ }
1584
+
1585
+ /* src/components/Tabs/Tabs.css */
1586
+ .mb-tabs {
1587
+ display: flex;
1588
+ width: 100%;
1589
+ color: var(--mb-text-color);
1590
+ font-family: var(--mb-font-family, inherit);
1591
+ }
1592
+ .mb-tabs--horizontal {
1593
+ flex-direction: column;
1594
+ }
1595
+ .mb-tabs--vertical {
1596
+ flex-direction: row;
1597
+ align-items: flex-start;
1598
+ gap: var(--mb-space-md, 16px);
1599
+ }
1600
+ .mb-tabs__list {
1601
+ position: relative;
1602
+ display: flex;
1603
+ align-items: center;
1604
+ width: fit-content;
1605
+ max-width: 100%;
1606
+ }
1607
+ .mb-tabs--horizontal .mb-tabs__list {
1608
+ flex-direction: row;
1609
+ overflow-x: auto;
1610
+ overflow-y: hidden;
1611
+ }
1612
+ .mb-tabs--vertical .mb-tabs__list {
1613
+ flex-direction: column;
1614
+ align-items: stretch;
1615
+ flex: 0 0 auto;
1616
+ }
1617
+ .mb-tabs__list--grow {
1618
+ width: 100%;
1619
+ }
1620
+ .mb-tabs__list--grow .mb-tabs__tab {
1621
+ flex: 1;
1622
+ }
1623
+ .mb-tabs__tab {
1624
+ position: relative;
1625
+ display: inline-flex;
1626
+ align-items: center;
1627
+ justify-content: center;
1628
+ gap: 7px;
1629
+ flex-shrink: 0;
1630
+ border: none;
1631
+ background: transparent;
1632
+ color: var(--mb-text-muted);
1633
+ font-family: inherit;
1634
+ font-weight: 500;
1635
+ line-height: 1;
1636
+ white-space: nowrap;
1637
+ cursor: pointer;
1638
+ outline: none;
1639
+ transition:
1640
+ background-color var(--mb-transition-fast),
1641
+ color var(--mb-transition-fast),
1642
+ box-shadow var(--mb-transition-fast),
1643
+ opacity var(--mb-transition-fast);
1644
+ }
1645
+ .mb-tabs--sm .mb-tabs__tab {
1646
+ min-height: 30px;
1647
+ padding: 0 10px;
1648
+ font-size: 12px;
1649
+ }
1650
+ .mb-tabs--md .mb-tabs__tab {
1651
+ min-height: 36px;
1652
+ padding: 0 14px;
1653
+ font-size: 14px;
1654
+ }
1655
+ .mb-tabs--lg .mb-tabs__tab {
1656
+ min-height: 42px;
1657
+ padding: 0 18px;
1658
+ font-size: 15px;
1659
+ }
1660
+ .mb-tabs__section {
1661
+ display: inline-flex;
1662
+ align-items: center;
1663
+ justify-content: center;
1664
+ flex: 0 0 auto;
1665
+ color: currentColor;
1666
+ line-height: 0;
1667
+ }
1668
+ .mb-tabs__label {
1669
+ display: inline-flex;
1670
+ align-items: center;
1671
+ min-width: 0;
1672
+ }
1673
+ .mb-tabs--underline .mb-tabs__list {
1674
+ border-bottom: 1px solid var(--mb-border-color);
1675
+ }
1676
+ .mb-tabs--vertical.mb-tabs--underline .mb-tabs__list {
1677
+ border-right: 1px solid var(--mb-border-color);
1678
+ border-bottom: none;
1679
+ }
1680
+ .mb-tabs--horizontal.mb-tabs--underline .mb-tabs__tab::after {
1681
+ content: "";
1682
+ position: absolute;
1683
+ right: 0;
1684
+ bottom: -1px;
1685
+ left: 0;
1686
+ height: 2px;
1687
+ background: var(--mb-primary);
1688
+ opacity: 0;
1689
+ transform: scaleX(0.5);
1690
+ transition: opacity var(--mb-transition-fast), transform var(--mb-transition-fast);
1691
+ }
1692
+ .mb-tabs--vertical.mb-tabs--underline .mb-tabs__tab::after {
1693
+ content: "";
1694
+ position: absolute;
1695
+ top: 0;
1696
+ right: -1px;
1697
+ bottom: 0;
1698
+ width: 2px;
1699
+ background: var(--mb-primary);
1700
+ opacity: 0;
1701
+ transform: scaleY(0.5);
1702
+ transition: opacity var(--mb-transition-fast), transform var(--mb-transition-fast);
1703
+ }
1704
+ .mb-tabs--underline .mb-tabs__tab--active {
1705
+ color: var(--mb-primary-active);
1706
+ }
1707
+ .mb-tabs--underline .mb-tabs__tab--active::after {
1708
+ opacity: 1;
1709
+ transform: scale(1);
1710
+ }
1711
+ .mb-tabs--underline .mb-tabs__tab:hover:not(:disabled) {
1712
+ color: var(--mb-text-color);
1713
+ background: color-mix(in srgb, var(--mb-primary) 7%, transparent);
1714
+ }
1715
+ .mb-tabs--pill .mb-tabs__list {
1716
+ gap: 4px;
1717
+ padding: 4px;
1718
+ border-radius: var(--mb-radius);
1719
+ background: var(--mb-background-secondary);
1720
+ }
1721
+ .mb-tabs--pill .mb-tabs__tab {
1722
+ border-radius: var(--mb-radius);
1723
+ }
1724
+ .mb-tabs--pill .mb-tabs__tab:hover:not(:disabled) {
1725
+ color: var(--mb-text-color);
1726
+ background: color-mix(in srgb, var(--mb-primary) 8%, transparent);
1727
+ }
1728
+ .mb-tabs--pill .mb-tabs__tab--active {
1729
+ background: var(--mb-background);
1730
+ color: var(--mb-primary-active);
1731
+ box-shadow: var(--mb-shadow-xs);
1732
+ }
1733
+ .mb-tabs__tab:focus-visible {
1734
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color);
1735
+ }
1736
+ .mb-tabs__tab:disabled {
1737
+ opacity: 0.4;
1738
+ cursor: not-allowed;
1739
+ }
1740
+ .mb-tabs__panel {
1741
+ min-width: 0;
1742
+ color: var(--mb-text-color);
1743
+ outline: none;
1744
+ }
1745
+ .mb-tabs--horizontal .mb-tabs__panel {
1746
+ padding-top: var(--mb-space-md, 16px);
1747
+ }
1748
+ .mb-tabs--vertical .mb-tabs__panel {
1749
+ flex: 1;
1750
+ padding-top: 0;
1751
+ }
1752
+ .mb-tabs__panel:focus-visible {
1753
+ border-radius: var(--mb-radius-sm);
1754
+ box-shadow: 0 0 0 var(--mb-focus-ring-width, 2px) color-mix(in srgb, var(--mb-focus-color) 35%, transparent);
1755
+ }
1756
+ .mb-tabs__list {
1757
+ scrollbar-width: none;
1758
+ }
1759
+ .mb-tabs__list::-webkit-scrollbar {
1760
+ display: none;
1761
+ }
1762
+ @media (prefers-reduced-motion: reduce) {
1763
+ .mb-tabs__tab,
1764
+ .mb-tabs__tab::after {
1765
+ transition: none;
1766
+ }
1767
+ }
1768
+
1769
+ /* src/components/Tooltip/Tooltip.css */
1770
+ .mb-tooltip {
1771
+ position: fixed;
1772
+ z-index: var(--mb-z-tooltip, 1400);
1773
+ max-width: 260px;
1774
+ padding: 7px 10px;
1775
+ border-radius: var(--mb-radius-sm, 10px);
1776
+ background: var(--mb-text-color, #172322);
1777
+ color: var(--mb-background, #ffffff);
1778
+ box-shadow: var(--mb-shadow-sm);
1779
+ font-family: var(--mb-font-family, inherit);
1780
+ font-size: var(--mb-font-size-xs, 12px);
1781
+ font-weight: 500;
1782
+ line-height: 1.4;
1783
+ pointer-events: auto;
1784
+ animation: mb-tooltip-enter 0.14s ease both;
1785
+ }
1786
+ .mb-tooltip__label {
1787
+ display: block;
1788
+ overflow-wrap: anywhere;
1789
+ }
1790
+ .mb-tooltip__arrow {
1791
+ position: absolute;
1792
+ width: 8px;
1793
+ height: 8px;
1794
+ background: var(--mb-text-color, #172322);
1795
+ transform: rotate(45deg);
1796
+ }
1797
+ .mb-tooltip--top .mb-tooltip__arrow {
1798
+ bottom: -4px;
1799
+ left: 50%;
1800
+ margin-left: -4px;
1801
+ }
1802
+ .mb-tooltip--bottom .mb-tooltip__arrow {
1803
+ top: -4px;
1804
+ left: 50%;
1805
+ margin-left: -4px;
1806
+ }
1807
+ .mb-tooltip--left .mb-tooltip__arrow {
1808
+ top: 50%;
1809
+ right: -4px;
1810
+ margin-top: -4px;
1811
+ }
1812
+ .mb-tooltip--right .mb-tooltip__arrow {
1813
+ top: 50%;
1814
+ left: -4px;
1815
+ margin-top: -4px;
1816
+ }
1817
+ @keyframes mb-tooltip-enter {
1818
+ from {
1819
+ opacity: 0;
1820
+ transform: translateY(2px) scale(0.98);
1821
+ }
1822
+ to {
1823
+ opacity: 1;
1824
+ transform: translateY(0) scale(1);
1825
+ }
1826
+ }
1827
+ @media (prefers-reduced-motion: reduce) {
1828
+ .mb-tooltip {
1829
+ animation-duration: 0.01ms;
1830
+ }
1831
+ }
1832
+
1833
+ /* src/components/Accordion/Accordion.css */
1834
+ .mb-accordion {
1835
+ display: flex;
1836
+ flex-direction: column;
1837
+ width: 100%;
1838
+ color: var(--mb-text-color, #172322);
1839
+ font-family: var(--mb-font-family, inherit);
1840
+ }
1841
+ .mb-accordion__item {
1842
+ min-width: 0;
1843
+ }
1844
+ .mb-accordion--default .mb-accordion__item {
1845
+ border-bottom: 1px solid var(--mb-border-color, #d8dde0);
1846
+ }
1847
+ .mb-accordion--default .mb-accordion__item:first-child {
1848
+ border-top: 1px solid var(--mb-border-color, #d8dde0);
1849
+ }
1850
+ .mb-accordion--separated {
1851
+ gap: 10px;
1852
+ }
1853
+ .mb-accordion--separated .mb-accordion__item {
1854
+ border: 1px solid var(--mb-border-color, #d8dde0);
1855
+ border-radius: var(--mb-radius, 14px);
1856
+ background: var(--mb-background, #ffffff);
1857
+ overflow: hidden;
1858
+ transition: border-color var(--mb-transition-fast, 0.15s ease), box-shadow var(--mb-transition-fast, 0.15s ease);
1859
+ }
1860
+ .mb-accordion--separated .mb-accordion__item--opened {
1861
+ border-color: color-mix(in srgb, var(--mb-primary) 55%, var(--mb-border-color));
1862
+ box-shadow: var(--mb-shadow-xs);
1863
+ }
1864
+ .mb-accordion__control {
1865
+ display: flex;
1866
+ align-items: center;
1867
+ gap: 10px;
1868
+ width: 100%;
1869
+ padding: 0;
1870
+ border: none;
1871
+ background: transparent;
1872
+ color: var(--mb-text-color, #172322);
1873
+ font-family: inherit;
1874
+ font-weight: 500;
1875
+ line-height: 1.35;
1876
+ text-align: left;
1877
+ cursor: pointer;
1878
+ outline: none;
1879
+ transition:
1880
+ background-color var(--mb-transition-fast, 0.15s ease),
1881
+ color var(--mb-transition-fast, 0.15s ease),
1882
+ box-shadow var(--mb-transition-fast, 0.15s ease),
1883
+ opacity var(--mb-transition-fast, 0.15s ease);
1884
+ }
1885
+ .mb-accordion--sm .mb-accordion__control {
1886
+ min-height: 40px;
1887
+ padding: 9px 12px;
1888
+ font-size: 13px;
1889
+ }
1890
+ .mb-accordion--md .mb-accordion__control {
1891
+ min-height: 48px;
1892
+ padding: 12px 14px;
1893
+ font-size: 14px;
1894
+ }
1895
+ .mb-accordion--lg .mb-accordion__control {
1896
+ min-height: 56px;
1897
+ padding: 15px 18px;
1898
+ font-size: 16px;
1899
+ }
1900
+ .mb-accordion__control:hover:not(:disabled) {
1901
+ background: color-mix(in srgb, var(--mb-primary) 7%, transparent);
1902
+ }
1903
+ .mb-accordion__item--opened > .mb-accordion__control {
1904
+ color: var( --mb-primary-active, var(--mb-primary) );
1905
+ }
1906
+ .mb-accordion__control:focus-visible {
1907
+ position: relative;
1908
+ z-index: 1;
1909
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var( --mb-focus-color, var(--mb-primary) );
1910
+ }
1911
+ .mb-accordion__control:disabled {
1912
+ opacity: 0.42;
1913
+ cursor: not-allowed;
1914
+ }
1915
+ .mb-accordion__label {
1916
+ min-width: 0;
1917
+ flex: 1;
1918
+ overflow-wrap: anywhere;
1919
+ }
1920
+ .mb-accordion__section {
1921
+ display: inline-flex;
1922
+ align-items: center;
1923
+ justify-content: center;
1924
+ flex: 0 0 auto;
1925
+ color: currentColor;
1926
+ line-height: 0;
1927
+ }
1928
+ .mb-accordion__chevron {
1929
+ display: inline-flex;
1930
+ align-items: center;
1931
+ justify-content: center;
1932
+ flex: 0 0 auto;
1933
+ color: var(--mb-text-muted, #7d868b);
1934
+ line-height: 0;
1935
+ transform: rotate(0deg);
1936
+ transition: color var(--mb-transition-fast, 0.15s ease), transform var(--mb-transition, 0.18s ease);
1937
+ }
1938
+ .mb-accordion__item--opened > .mb-accordion__control .mb-accordion__chevron {
1939
+ color: var( --mb-primary-active, var(--mb-primary) );
1940
+ transform: rotate(180deg);
1941
+ }
1942
+ .mb-accordion__panel {
1943
+ display: grid;
1944
+ grid-template-rows: 0fr;
1945
+ opacity: 0;
1946
+ transition: grid-template-rows var(--mb-transition, 0.18s ease), opacity var(--mb-transition-fast, 0.15s ease);
1947
+ }
1948
+ .mb-accordion__panel--opened {
1949
+ grid-template-rows: 1fr;
1950
+ opacity: 1;
1951
+ }
1952
+ .mb-accordion__panel-inner {
1953
+ min-height: 0;
1954
+ overflow: hidden;
1955
+ visibility: hidden;
1956
+ transition: visibility 0s linear var(--mb-transition, 0.18s);
1957
+ }
1958
+ .mb-accordion__panel--opened .mb-accordion__panel-inner {
1959
+ visibility: visible;
1960
+ transition-delay: 0s;
1961
+ }
1962
+ .mb-accordion__content {
1963
+ color: var(--mb-text-secondary, #5e666a);
1964
+ font-size: var(--mb-font-size-sm, 13px);
1965
+ font-weight: 400;
1966
+ line-height: var(--mb-line-height, 1.5);
1967
+ }
1968
+ .mb-accordion--sm .mb-accordion__content {
1969
+ padding: 0 12px 12px;
1970
+ }
1971
+ .mb-accordion--md .mb-accordion__content {
1972
+ padding: 0 14px 14px;
1973
+ }
1974
+ .mb-accordion--lg .mb-accordion__content {
1975
+ padding: 0 18px 18px;
1976
+ }
1977
+ .mb-accordion--chevron-left .mb-accordion__chevron {
1978
+ order: -2;
1979
+ }
1980
+ .mb-accordion--chevron-left .mb-accordion__section {
1981
+ order: -1;
1982
+ }
1983
+ @media (prefers-reduced-motion: reduce) {
1984
+ .mb-accordion__control,
1985
+ .mb-accordion__chevron,
1986
+ .mb-accordion__panel {
1987
+ transition: none;
1988
+ }
1989
+ .mb-accordion__panel-inner {
1990
+ transition: none;
1991
+ }
1992
+ }
1993
+
1994
+ /* src/components/Drawer/Drawer.css */
1995
+ .mb-drawer-root {
1996
+ position: fixed;
1997
+ inset: 0;
1998
+ z-index: var(--mb-z-modal, 1200);
1999
+ font-family: var(--mb-font-family, inherit);
2000
+ }
2001
+ .mb-drawer__overlay {
2002
+ position: absolute;
2003
+ inset: 0;
2004
+ display: flex;
2005
+ background: var( --mb-overlay, rgba(17, 24, 39, 0.45) );
2006
+ backdrop-filter: blur(4px);
2007
+ -webkit-backdrop-filter: blur(4px);
2008
+ overflow: hidden;
2009
+ animation: mb-drawer-overlay-enter 0.18s ease both;
2010
+ }
2011
+ .mb-drawer-root--left .mb-drawer__overlay {
2012
+ align-items: stretch;
2013
+ justify-content: flex-start;
2014
+ }
2015
+ .mb-drawer-root--right .mb-drawer__overlay {
2016
+ align-items: stretch;
2017
+ justify-content: flex-end;
2018
+ }
2019
+ .mb-drawer-root--top .mb-drawer__overlay {
2020
+ align-items: flex-start;
2021
+ justify-content: stretch;
2022
+ }
2023
+ .mb-drawer-root--bottom .mb-drawer__overlay {
2024
+ align-items: flex-end;
2025
+ justify-content: stretch;
2026
+ }
2027
+ .mb-drawer {
2028
+ display: flex;
2029
+ flex-direction: column;
2030
+ background: var(--mb-background, #ffffff);
2031
+ color: var(--mb-text-color, #172322);
2032
+ box-shadow: var(--mb-shadow-xl);
2033
+ outline: none;
2034
+ overflow: hidden;
2035
+ }
2036
+ .mb-drawer--left,
2037
+ .mb-drawer--right {
2038
+ height: 100%;
2039
+ }
2040
+ .mb-drawer--left {
2041
+ border-radius: 0 var(--mb-radius-lg, 18px) var(--mb-radius-lg, 18px) 0;
2042
+ animation: mb-drawer-enter-left 0.22s ease both;
2043
+ }
2044
+ .mb-drawer--right {
2045
+ border-radius: var(--mb-radius-lg, 18px) 0 0 var(--mb-radius-lg, 18px);
2046
+ animation: mb-drawer-enter-right 0.22s ease both;
2047
+ }
2048
+ .mb-drawer--top,
2049
+ .mb-drawer--bottom {
2050
+ width: 100%;
2051
+ }
2052
+ .mb-drawer--top {
2053
+ border-radius: 0 0 var(--mb-radius-lg, 18px) var(--mb-radius-lg, 18px);
2054
+ animation: mb-drawer-enter-top 0.22s ease both;
2055
+ }
2056
+ .mb-drawer--bottom {
2057
+ border-radius: var(--mb-radius-lg, 18px) var(--mb-radius-lg, 18px) 0 0;
2058
+ animation: mb-drawer-enter-bottom 0.22s ease both;
2059
+ }
2060
+ .mb-drawer--left.mb-drawer--sm,
2061
+ .mb-drawer--right.mb-drawer--sm {
2062
+ width: min(320px, 100vw);
2063
+ }
2064
+ .mb-drawer--left.mb-drawer--md,
2065
+ .mb-drawer--right.mb-drawer--md {
2066
+ width: min(420px, 100vw);
2067
+ }
2068
+ .mb-drawer--left.mb-drawer--lg,
2069
+ .mb-drawer--right.mb-drawer--lg {
2070
+ width: min(560px, 100vw);
2071
+ }
2072
+ .mb-drawer--left.mb-drawer--full,
2073
+ .mb-drawer--right.mb-drawer--full {
2074
+ width: 100vw;
2075
+ border-radius: 0;
2076
+ }
2077
+ .mb-drawer--top.mb-drawer--sm,
2078
+ .mb-drawer--bottom.mb-drawer--sm {
2079
+ height: min(240px, 100vh);
2080
+ }
2081
+ .mb-drawer--top.mb-drawer--md,
2082
+ .mb-drawer--bottom.mb-drawer--md {
2083
+ height: min(360px, 100vh);
2084
+ }
2085
+ .mb-drawer--top.mb-drawer--lg,
2086
+ .mb-drawer--bottom.mb-drawer--lg {
2087
+ height: min(520px, 100vh);
2088
+ }
2089
+ .mb-drawer--top.mb-drawer--full,
2090
+ .mb-drawer--bottom.mb-drawer--full {
2091
+ height: 100vh;
2092
+ border-radius: 0;
2093
+ }
2094
+ .mb-drawer__header {
2095
+ display: flex;
2096
+ align-items: flex-start;
2097
+ justify-content: space-between;
2098
+ gap: 16px;
2099
+ padding: var(--mb-space-lg, 24px);
2100
+ border-bottom: 1px solid var(--mb-border-color, #d8dde0);
2101
+ }
2102
+ .mb-drawer__heading {
2103
+ display: flex;
2104
+ flex-direction: column;
2105
+ gap: 5px;
2106
+ min-width: 0;
2107
+ }
2108
+ .mb-drawer__title {
2109
+ color: var(--mb-text-color, #172322);
2110
+ font-size: var(--mb-font-size-xl, 18px);
2111
+ font-weight: 600;
2112
+ line-height: 1.3;
2113
+ }
2114
+ .mb-drawer__description {
2115
+ color: var(--mb-text-muted, #7d868b);
2116
+ font-size: var(--mb-font-size-sm, 13px);
2117
+ font-weight: 400;
2118
+ line-height: 1.5;
2119
+ }
2120
+ .mb-drawer__close {
2121
+ display: inline-flex;
2122
+ align-items: center;
2123
+ justify-content: center;
2124
+ width: 32px;
2125
+ height: 32px;
2126
+ padding: 0;
2127
+ flex: 0 0 32px;
2128
+ border: none;
2129
+ border-radius: var(--mb-radius-sm, 10px);
2130
+ background: transparent;
2131
+ color: var(--mb-text-muted, #7d868b);
2132
+ cursor: pointer;
2133
+ outline: none;
2134
+ transition:
2135
+ background-color var(--mb-transition-fast, 0.15s ease),
2136
+ color var(--mb-transition-fast, 0.15s ease),
2137
+ box-shadow var(--mb-transition-fast, 0.15s ease);
2138
+ }
2139
+ .mb-drawer__close:hover {
2140
+ background: var(--mb-background-secondary, #f3f5f5);
2141
+ color: var(--mb-text-color, #172322);
2142
+ }
2143
+ .mb-drawer__close:focus-visible {
2144
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color);
2145
+ }
2146
+ .mb-drawer__close svg {
2147
+ display: block;
2148
+ width: 18px;
2149
+ height: 18px;
2150
+ }
2151
+ .mb-drawer__content {
2152
+ min-height: 0;
2153
+ flex: 1;
2154
+ padding: var(--mb-space-lg, 24px);
2155
+ overflow-x: hidden;
2156
+ overflow-y: auto;
2157
+ }
2158
+ .mb-drawer__footer {
2159
+ display: flex;
2160
+ align-items: center;
2161
+ justify-content: flex-end;
2162
+ gap: 10px;
2163
+ padding: var(--mb-space-lg, 24px);
2164
+ border-top: 1px solid var(--mb-border-color, #d8dde0);
2165
+ }
2166
+ @keyframes mb-drawer-overlay-enter {
2167
+ from {
2168
+ opacity: 0;
2169
+ }
2170
+ to {
2171
+ opacity: 1;
2172
+ }
2173
+ }
2174
+ @keyframes mb-drawer-enter-left {
2175
+ from {
2176
+ transform: translateX(-100%);
2177
+ }
2178
+ to {
2179
+ transform: translateX(0);
2180
+ }
2181
+ }
2182
+ @keyframes mb-drawer-enter-right {
2183
+ from {
2184
+ transform: translateX(100%);
2185
+ }
2186
+ to {
2187
+ transform: translateX(0);
2188
+ }
2189
+ }
2190
+ @keyframes mb-drawer-enter-top {
2191
+ from {
2192
+ transform: translateY(-100%);
2193
+ }
2194
+ to {
2195
+ transform: translateY(0);
2196
+ }
2197
+ }
2198
+ @keyframes mb-drawer-enter-bottom {
2199
+ from {
2200
+ transform: translateY(100%);
2201
+ }
2202
+ to {
2203
+ transform: translateY(0);
2204
+ }
2205
+ }
2206
+ @media (prefers-reduced-motion: reduce) {
2207
+ .mb-drawer__overlay,
2208
+ .mb-drawer {
2209
+ animation-duration: 0.01ms;
2210
+ }
2211
+ }
2212
+ @media (max-width: 520px) {
2213
+ .mb-drawer--left,
2214
+ .mb-drawer--right {
2215
+ width: min(92vw, 420px);
2216
+ }
2217
+ .mb-drawer--left.mb-drawer--full,
2218
+ .mb-drawer--right.mb-drawer--full {
2219
+ width: 100vw;
2220
+ }
2221
+ .mb-drawer__header,
2222
+ .mb-drawer__content,
2223
+ .mb-drawer__footer {
2224
+ padding: var(--mb-space-md, 16px);
2225
+ }
2226
+ }
2227
+
2228
+ /* src/components/Menu/Menu.css */
2229
+ .mb-menu-root {
2230
+ display: inline-flex;
2231
+ }
2232
+ .mb-menu {
2233
+ position: fixed;
2234
+ z-index: var(--mb-z-dropdown, 1000);
2235
+ display: flex;
2236
+ flex-direction: column;
2237
+ gap: 2px;
2238
+ width: 220px;
2239
+ min-width: 160px;
2240
+ max-width: calc(100vw - 16px);
2241
+ padding: 6px;
2242
+ border: none;
2243
+ border-radius: var(--mb-radius, 14px);
2244
+ background: var(--mb-background, #ffffff);
2245
+ color: var(--mb-text-color, #172322);
2246
+ box-shadow: var(--mb-shadow-md);
2247
+ font-family: var(--mb-font-family, inherit);
2248
+ outline: none;
2249
+ animation: mb-menu-enter 0.16s ease both;
2250
+ }
2251
+ .mb-menu__item {
2252
+ display: flex;
2253
+ align-items: center;
2254
+ gap: 10px;
2255
+ width: 100%;
2256
+ min-height: 36px;
2257
+ padding: 8px 10px;
2258
+ border: none;
2259
+ border-radius: var(--mb-radius, 14px);
2260
+ background: transparent;
2261
+ color: var(--mb-text-color, #172322);
2262
+ font-family: inherit;
2263
+ font-size: var(--mb-font-size-sm, 13px);
2264
+ font-weight: 500;
2265
+ line-height: 1.3;
2266
+ text-align: left;
2267
+ cursor: pointer;
2268
+ outline: none;
2269
+ transition:
2270
+ background-color var(--mb-transition-fast, 0.15s ease),
2271
+ color var(--mb-transition-fast, 0.15s ease),
2272
+ box-shadow var(--mb-transition-fast, 0.15s ease),
2273
+ opacity var(--mb-transition-fast, 0.15s ease);
2274
+ }
2275
+ .mb-menu__item:hover:not(:disabled),
2276
+ .mb-menu__item:focus-visible:not(:disabled) {
2277
+ background: var( --mb-background-secondary, #f3f5f5 );
2278
+ }
2279
+ .mb-menu__item:focus-visible {
2280
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var( --mb-focus-color, var(--mb-primary) );
2281
+ }
2282
+ .mb-menu__item--danger {
2283
+ color: var(--mb-danger, #ef4444);
2284
+ }
2285
+ .mb-menu__item--danger:hover:not(:disabled),
2286
+ .mb-menu__item--danger:focus-visible:not(:disabled) {
2287
+ background: color-mix(in srgb, var(--mb-danger, #ef4444) 12%, transparent);
2288
+ color: color-mix(in srgb, var(--mb-danger, #ef4444) 82%, #000000);
2289
+ }
2290
+ .mb-menu__item:disabled {
2291
+ opacity: 0.42;
2292
+ cursor: not-allowed;
2293
+ }
2294
+ .mb-menu__section {
2295
+ display: inline-flex;
2296
+ align-items: center;
2297
+ justify-content: center;
2298
+ min-width: 18px;
2299
+ flex: 0 0 auto;
2300
+ color: currentColor;
2301
+ line-height: 0;
2302
+ }
2303
+ .mb-menu__label {
2304
+ min-width: 0;
2305
+ flex: 1;
2306
+ overflow: hidden;
2307
+ text-overflow: ellipsis;
2308
+ white-space: nowrap;
2309
+ }
2310
+ .mb-menu__group-label {
2311
+ padding: 7px 10px 5px;
2312
+ color: var(--mb-text-muted, #7d868b);
2313
+ font-size: var(--mb-font-size-xs, 12px);
2314
+ font-weight: 600;
2315
+ line-height: 1.3;
2316
+ text-transform: uppercase;
2317
+ letter-spacing: 0.04em;
2318
+ user-select: none;
2319
+ }
2320
+ .mb-menu__divider {
2321
+ height: 1px;
2322
+ margin: 5px 4px;
2323
+ background: var( --mb-border-color, #d8dde0 );
2324
+ }
2325
+ @keyframes mb-menu-enter {
2326
+ from {
2327
+ opacity: 0;
2328
+ transform: translateY(-4px) scale(0.98);
2329
+ }
2330
+ to {
2331
+ opacity: 1;
2332
+ transform: translateY(0) scale(1);
2333
+ }
2334
+ }
2335
+ .mb-menu--top-start,
2336
+ .mb-menu--top-end {
2337
+ transform-origin: bottom;
2338
+ }
2339
+ .mb-menu--bottom-start,
2340
+ .mb-menu--bottom-end {
2341
+ transform-origin: top;
2342
+ }
2343
+ @media (prefers-reduced-motion: reduce) {
2344
+ .mb-menu {
2345
+ animation-duration: 0.01ms;
2346
+ }
2347
+ }
2348
+
2349
+ /* src/components/Popover/Popover.css */
2350
+ .mb-popover {
2351
+ position: fixed;
2352
+ z-index: var(--mb-z-dropdown, 1000);
2353
+ width: 320px;
2354
+ max-width: calc(100vw - 16px);
2355
+ border: none;
2356
+ border-radius: var(--mb-radius, 14px);
2357
+ background: var(--mb-background, #ffffff);
2358
+ color: var(--mb-text-color, #172322);
2359
+ box-shadow: var(--mb-shadow-md);
2360
+ font-family: var(--mb-font-family, inherit);
2361
+ outline: none;
2362
+ animation: mb-popover-enter 0.16s ease both;
2363
+ }
2364
+ .mb-popover__content {
2365
+ position: relative;
2366
+ z-index: 1;
2367
+ padding: var(--mb-space-md, 16px);
2368
+ border-radius: inherit;
2369
+ background: inherit;
2370
+ }
2371
+ .mb-popover__arrow {
2372
+ position: absolute;
2373
+ z-index: 0;
2374
+ width: 10px;
2375
+ height: 10px;
2376
+ background: var(--mb-background, #ffffff);
2377
+ transform: rotate(45deg);
2378
+ }
2379
+ .mb-popover--bottom-start .mb-popover__arrow,
2380
+ .mb-popover--bottom-end .mb-popover__arrow {
2381
+ top: -5px;
2382
+ }
2383
+ .mb-popover--top-start .mb-popover__arrow,
2384
+ .mb-popover--top-end .mb-popover__arrow {
2385
+ bottom: -5px;
2386
+ }
2387
+ .mb-popover--bottom-start .mb-popover__arrow,
2388
+ .mb-popover--top-start .mb-popover__arrow {
2389
+ left: 18px;
2390
+ }
2391
+ .mb-popover--bottom-end .mb-popover__arrow,
2392
+ .mb-popover--top-end .mb-popover__arrow {
2393
+ right: 18px;
2394
+ }
2395
+ @keyframes mb-popover-enter {
2396
+ from {
2397
+ opacity: 0;
2398
+ transform: translateY(-4px) scale(0.985);
2399
+ }
2400
+ to {
2401
+ opacity: 1;
2402
+ transform: translateY(0) scale(1);
2403
+ }
2404
+ }
2405
+ .mb-popover--top-start,
2406
+ .mb-popover--top-end {
2407
+ transform-origin: bottom;
2408
+ }
2409
+ .mb-popover--bottom-start,
2410
+ .mb-popover--bottom-end {
2411
+ transform-origin: top;
2412
+ }
2413
+ @media (prefers-reduced-motion: reduce) {
2414
+ .mb-popover {
2415
+ animation-duration: 0.01ms;
2416
+ }
2417
+ }
2418
+
2419
+ /* src/components/Divider/Divider.css */
2420
+ .mb-divider {
2421
+ --divider-color: var( --mb-divider-color, var(--mb-border-color) );
2422
+ --divider-size: var( --mb-divider-size, 1px );
2423
+ position: relative;
2424
+ flex-shrink: 0;
2425
+ }
2426
+ .mb-divider--horizontal {
2427
+ width: 100%;
2428
+ height: auto;
2429
+ display: flex;
2430
+ align-items: center;
2431
+ color: var(--mb-text-muted);
2432
+ }
2433
+ .mb-divider--horizontal::before,
2434
+ .mb-divider--horizontal::after {
2435
+ content: "";
2436
+ flex: 1;
2437
+ border-top: var(--divider-size) solid var(--divider-color);
2438
+ }
2439
+ .mb-divider--vertical {
2440
+ align-self: stretch;
2441
+ width: auto;
2442
+ display: flex;
2443
+ justify-content: center;
2444
+ }
2445
+ .mb-divider--vertical::before {
2446
+ content: "";
2447
+ width: var(--divider-size);
2448
+ background: var(--divider-color);
2449
+ }
2450
+ .mb-divider__label {
2451
+ padding: 0 12px;
2452
+ font-size: var(--mb-font-size-sm);
2453
+ color: var(--mb-text-muted);
2454
+ white-space: nowrap;
2455
+ }
2456
+ .mb-divider--label-left::before {
2457
+ flex: 0.15;
2458
+ }
2459
+ .mb-divider--label-left::after {
2460
+ flex: 1;
2461
+ }
2462
+ .mb-divider--label-center::before,
2463
+ .mb-divider--label-center::after {
2464
+ flex: 1;
2465
+ }
2466
+ .mb-divider--label-right::before {
2467
+ flex: 1;
2468
+ }
2469
+ .mb-divider--label-right::after {
2470
+ flex: 0.15;
2471
+ }
2472
+ .mb-divider--dashed::before,
2473
+ .mb-divider--dashed::after {
2474
+ border-style: dashed;
2475
+ }
2476
+ .mb-divider--vertical.mb-divider--dashed::before {
2477
+ background: none;
2478
+ border-left: var(--divider-size) dashed var(--divider-color);
2479
+ }
2480
+ .mb-divider--dotted::before,
2481
+ .mb-divider--dotted::after {
2482
+ border-style: dotted;
2483
+ }
2484
+ .mb-divider--vertical.mb-divider--dotted::before {
2485
+ background: none;
2486
+ border-left: var(--divider-size) dotted var(--divider-color);
2487
+ }
2488
+
2489
+ /* src/components/PasswordInput/PasswordInput.css */
2490
+ .mb-password-input {
2491
+ position: relative;
2492
+ display: flex;
2493
+ align-items: center;
2494
+ width: 100%;
2495
+ border: 1px solid var(--mb-border-color, #d8dde0);
2496
+ border-radius: var(--mb-radius, 14px);
2497
+ background: var(--mb-background, #ffffff);
2498
+ color: var(--mb-text-color, #172322);
2499
+ font-family: var(--mb-font-family, inherit);
2500
+ transition:
2501
+ border-color var(--mb-transition-fast, 0.15s ease),
2502
+ background-color var(--mb-transition-fast, 0.15s ease),
2503
+ box-shadow var(--mb-transition-fast, 0.15s ease),
2504
+ opacity var(--mb-transition-fast, 0.15s ease);
2505
+ }
2506
+ .mb-password-input--sm {
2507
+ height: 32px;
2508
+ }
2509
+ .mb-password-input--md {
2510
+ height: 36px;
2511
+ }
2512
+ .mb-password-input--lg {
2513
+ height: 42px;
2514
+ }
2515
+ .mb-password-input__control {
2516
+ width: 100%;
2517
+ height: 100%;
2518
+ min-width: 0;
2519
+ padding: 0 14px;
2520
+ border: none;
2521
+ border-radius: inherit;
2522
+ outline: none;
2523
+ background: transparent;
2524
+ color: inherit;
2525
+ font-family: inherit;
2526
+ font-size: var(--mb-font-size-sm, 13px);
2527
+ font-weight: 500;
2528
+ line-height: 1;
2529
+ }
2530
+ .mb-password-input--sm .mb-password-input__control {
2531
+ padding: 0 12px;
2532
+ font-size: 12px;
2533
+ }
2534
+ .mb-password-input--lg .mb-password-input__control {
2535
+ padding: 0 16px;
2536
+ font-size: 14px;
2537
+ }
2538
+ .mb-password-input__control::placeholder {
2539
+ color: var(--mb-text-muted, #7d868b);
2540
+ opacity: 1;
2541
+ }
2542
+ .mb-password-input__section {
2543
+ position: absolute;
2544
+ z-index: 1;
2545
+ display: inline-flex;
2546
+ align-items: center;
2547
+ justify-content: center;
2548
+ color: var(--mb-text-muted, #7d868b);
2549
+ line-height: 0;
2550
+ pointer-events: none;
2551
+ transition: color var(--mb-transition-fast, 0.15s ease);
2552
+ }
2553
+ .mb-password-input__section--left {
2554
+ left: 13px;
2555
+ }
2556
+ .mb-password-input--with-left-section .mb-password-input__control {
2557
+ padding-left: 42px;
2558
+ }
2559
+ .mb-password-input--sm.mb-password-input--with-left-section .mb-password-input__control {
2560
+ padding-left: 38px;
2561
+ }
2562
+ .mb-password-input--lg.mb-password-input--with-left-section .mb-password-input__control {
2563
+ padding-left: 46px;
2564
+ }
2565
+ .mb-password-input__toggle {
2566
+ position: absolute;
2567
+ right: 5px;
2568
+ display: inline-flex;
2569
+ align-items: center;
2570
+ justify-content: center;
2571
+ width: 28px;
2572
+ height: 28px;
2573
+ padding: 0;
2574
+ border: none;
2575
+ border-radius: var(--mb-radius-sm, 10px);
2576
+ background: transparent;
2577
+ color: var(--mb-text-muted, #7d868b);
2578
+ font-family: inherit;
2579
+ cursor: pointer;
2580
+ outline: none;
2581
+ transition:
2582
+ background-color var(--mb-transition-fast, 0.15s ease),
2583
+ color var(--mb-transition-fast, 0.15s ease),
2584
+ box-shadow var(--mb-transition-fast, 0.15s ease),
2585
+ opacity var(--mb-transition-fast, 0.15s ease);
2586
+ }
2587
+ .mb-password-input--sm .mb-password-input__toggle {
2588
+ right: 3px;
2589
+ width: 26px;
2590
+ height: 26px;
2591
+ }
2592
+ .mb-password-input--lg .mb-password-input__toggle {
2593
+ right: 5px;
2594
+ width: 32px;
2595
+ height: 32px;
2596
+ }
2597
+ .mb-password-input--with-toggle .mb-password-input__control {
2598
+ padding-right: 42px;
2599
+ }
2600
+ .mb-password-input--sm.mb-password-input--with-toggle .mb-password-input__control {
2601
+ padding-right: 38px;
2602
+ }
2603
+ .mb-password-input--lg.mb-password-input--with-toggle .mb-password-input__control {
2604
+ padding-right: 46px;
2605
+ }
2606
+ .mb-password-input__toggle:hover:not(:disabled) {
2607
+ background: var( --mb-background-secondary, #f3f5f5 );
2608
+ color: var(--mb-text-color, #172322);
2609
+ }
2610
+ .mb-password-input__toggle:focus-visible {
2611
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var( --mb-focus-color, var(--mb-primary) );
2612
+ }
2613
+ .mb-password-input:hover:not(.mb-password-input--disabled) {
2614
+ border-color: var(--mb-border-hover, #bfc7cb);
2615
+ }
2616
+ .mb-password-input:focus-within {
2617
+ border-color: var(--mb-primary, #30d5c8);
2618
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var( --mb-focus-color, var(--mb-primary) );
2619
+ }
2620
+ .mb-password-input:focus-within .mb-password-input__section {
2621
+ color: var( --mb-primary-active, var(--mb-primary) );
2622
+ }
2623
+ .mb-password-input--error {
2624
+ border-color: var(--mb-danger, #ef4444);
2625
+ }
2626
+ .mb-password-input--error:focus-within {
2627
+ border-color: var(--mb-danger, #ef4444);
2628
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-danger, #ef4444);
2629
+ }
2630
+ .mb-password-input--error .mb-password-input__section {
2631
+ color: var(--mb-danger, #ef4444);
2632
+ }
2633
+ .mb-password-input--disabled {
2634
+ background: var( --mb-background-secondary, #f3f5f5 );
2635
+ opacity: 0.6;
2636
+ }
2637
+ .mb-password-input--disabled .mb-password-input__control,
2638
+ .mb-password-input__toggle:disabled {
2639
+ cursor: not-allowed;
2640
+ }
2641
+ .mb-password-input__control:-webkit-autofill,
2642
+ .mb-password-input__control:-webkit-autofill:hover,
2643
+ .mb-password-input__control:-webkit-autofill:focus {
2644
+ -webkit-text-fill-color: var(--mb-text-color, #172322);
2645
+ box-shadow: 0 0 0 1000px var(--mb-background, #ffffff) inset;
2646
+ transition: background-color 9999s ease-out;
2647
+ }
2648
+
2649
+ /* src/components/PinInput/PinInput.css */
2650
+ .mb-pin-input {
2651
+ display: inline-flex;
2652
+ align-items: center;
2653
+ gap: 8px;
2654
+ width: fit-content;
2655
+ color: var(--mb-text-color, #172322);
2656
+ font-family: var(--mb-font-family, inherit);
2657
+ }
2658
+ .mb-pin-input__control {
2659
+ display: block;
2660
+ padding: 0;
2661
+ border: 1px solid var(--mb-border-color, #d8dde0);
2662
+ border-radius: var(--mb-radius, 14px);
2663
+ background: var(--mb-background, #ffffff);
2664
+ color: var(--mb-text-color, #172322);
2665
+ font-family: inherit;
2666
+ font-weight: 600;
2667
+ line-height: 1;
2668
+ text-align: center;
2669
+ caret-color: var(--mb-primary, #30d5c8);
2670
+ outline: none;
2671
+ transition:
2672
+ border-color var(--mb-transition-fast, 0.15s ease),
2673
+ background-color var(--mb-transition-fast, 0.15s ease),
2674
+ box-shadow var(--mb-transition-fast, 0.15s ease),
2675
+ color var(--mb-transition-fast, 0.15s ease),
2676
+ opacity var(--mb-transition-fast, 0.15s ease);
2677
+ }
2678
+ .mb-pin-input--sm {
2679
+ gap: 6px;
2680
+ }
2681
+ .mb-pin-input--sm .mb-pin-input__control {
2682
+ width: 32px;
2683
+ height: 32px;
2684
+ font-size: 14px;
2685
+ }
2686
+ .mb-pin-input--md .mb-pin-input__control {
2687
+ width: 40px;
2688
+ height: 40px;
2689
+ font-size: 16px;
2690
+ }
2691
+ .mb-pin-input--lg {
2692
+ gap: 10px;
2693
+ }
2694
+ .mb-pin-input--lg .mb-pin-input__control {
2695
+ width: 48px;
2696
+ height: 48px;
2697
+ font-size: 19px;
2698
+ }
2699
+ .mb-pin-input:not(.mb-pin-input--disabled) .mb-pin-input__control:hover {
2700
+ border-color: var(--mb-border-hover, #bfc7cb);
2701
+ }
2702
+ .mb-pin-input__control:focus {
2703
+ border-color: var(--mb-primary, #30d5c8);
2704
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var( --mb-focus-color, var(--mb-primary) );
2705
+ }
2706
+ .mb-pin-input__control:not(:placeholder-shown) {
2707
+ border-color: color-mix(in srgb, var(--mb-primary) 55%, var(--mb-border-color));
2708
+ }
2709
+ .mb-pin-input--error .mb-pin-input__control {
2710
+ border-color: var(--mb-danger, #ef4444);
2711
+ }
2712
+ .mb-pin-input--error .mb-pin-input__control:focus {
2713
+ border-color: var(--mb-danger, #ef4444);
2714
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-danger, #ef4444);
2715
+ }
2716
+ .mb-pin-input--disabled {
2717
+ opacity: 0.6;
2718
+ }
2719
+ .mb-pin-input--disabled .mb-pin-input__control {
2720
+ background: var( --mb-background-secondary, #f3f5f5 );
2721
+ cursor: not-allowed;
2722
+ }
2723
+ .mb-pin-input__control::placeholder {
2724
+ color: var(--mb-text-muted, #7d868b);
2725
+ opacity: 0.5;
2726
+ }
2727
+ .mb-pin-input__control::selection {
2728
+ background: color-mix(in srgb, var(--mb-primary) 30%, transparent);
2729
+ }
2730
+ @media (max-width: 420px) {
2731
+ .mb-pin-input {
2732
+ gap: 6px;
2733
+ }
2734
+ .mb-pin-input--lg .mb-pin-input__control {
2735
+ width: 42px;
2736
+ height: 42px;
2737
+ }
2738
+ }
2739
+
2740
+ /* src/components/FileInput/FileInput.css */
2741
+ .mb-file-input {
2742
+ display: flex;
2743
+ flex-direction: column;
2744
+ gap: 10px;
2745
+ width: 100%;
2746
+ color: var(--mb-text-color, #172322);
2747
+ font-family: var(--mb-font-family, inherit);
2748
+ }
2749
+ .mb-file-input__native {
2750
+ position: absolute;
2751
+ width: 1px;
2752
+ height: 1px;
2753
+ overflow: hidden;
2754
+ clip: rect(0, 0, 0, 0);
2755
+ clip-path: inset(50%);
2756
+ white-space: nowrap;
2757
+ }
2758
+ .mb-file-input__dropzone {
2759
+ display: flex;
2760
+ flex-direction: column;
2761
+ align-items: center;
2762
+ justify-content: center;
2763
+ width: 100%;
2764
+ min-height: 164px;
2765
+ padding: 28px 24px;
2766
+ box-sizing: border-box;
2767
+ border: 1px solid var( --mb-border-color, #d8dde0 );
2768
+ border-radius: var(--mb-radius, 14px);
2769
+ background: var( --mb-background, #ffffff );
2770
+ color: var( --mb-text-color, #172322 );
2771
+ text-align: center;
2772
+ cursor: pointer;
2773
+ outline: none;
2774
+ transition:
2775
+ border-color var( --mb-transition-fast, 0.15s ease ),
2776
+ background-color var( --mb-transition-fast, 0.15s ease ),
2777
+ box-shadow var( --mb-transition-fast, 0.15s ease ),
2778
+ opacity var( --mb-transition-fast, 0.15s ease );
2779
+ }
2780
+ .mb-file-input__dropzone:hover {
2781
+ border-color: var( --mb-border-hover, #bfc7cb );
2782
+ background: color-mix(in srgb, var(--mb-primary) 3%, var(--mb-background));
2783
+ }
2784
+ .mb-file-input__dropzone:focus-visible {
2785
+ border-color: var(--mb-primary);
2786
+ box-shadow: inset 0 0 0 var( --mb-focus-ring-width, 2px ) var( --mb-focus-color, var(--mb-primary) );
2787
+ }
2788
+ .mb-file-input--sm .mb-file-input__dropzone {
2789
+ min-height: 132px;
2790
+ padding: 20px;
2791
+ }
2792
+ .mb-file-input--md .mb-file-input__dropzone {
2793
+ min-height: 164px;
2794
+ }
2795
+ .mb-file-input--lg .mb-file-input__dropzone {
2796
+ min-height: 204px;
2797
+ padding: 36px 28px;
2798
+ }
2799
+ .mb-file-input__icon {
2800
+ display: inline-flex;
2801
+ align-items: center;
2802
+ justify-content: center;
2803
+ margin-bottom: 12px;
2804
+ color: var( --mb-primary, #30d5c8 );
2805
+ line-height: 0;
2806
+ }
2807
+ .mb-file-input--sm .mb-file-input__icon {
2808
+ margin-bottom: 8px;
2809
+ }
2810
+ .mb-file-input--lg .mb-file-input__icon {
2811
+ margin-bottom: 14px;
2812
+ }
2813
+ .mb-file-input__body {
2814
+ display: flex;
2815
+ flex-direction: column;
2816
+ align-items: center;
2817
+ min-width: 0;
2818
+ }
2819
+ .mb-file-input__title {
2820
+ color: var( --mb-text-color, #172322 );
2821
+ font-size: 16px;
2822
+ font-weight: 600;
2823
+ line-height: 1.4;
2824
+ overflow-wrap: anywhere;
2825
+ }
2826
+ .mb-file-input--sm .mb-file-input__title {
2827
+ font-size: 14px;
2828
+ }
2829
+ .mb-file-input--lg .mb-file-input__title {
2830
+ font-size: 18px;
2831
+ }
2832
+ .mb-file-input__description {
2833
+ margin-top: 5px;
2834
+ color: var( --mb-text-secondary, #5e666a );
2835
+ font-size: var( --mb-font-size-sm, 13px );
2836
+ font-weight: 400;
2837
+ line-height: 1.45;
2838
+ }
2839
+ .mb-file-input__meta {
2840
+ display: flex;
2841
+ flex-direction: column;
2842
+ align-items: center;
2843
+ margin-top: 10px;
2844
+ color: var( --mb-text-secondary, #5e666a );
2845
+ font-size: 12px;
2846
+ font-weight: 400;
2847
+ line-height: 1.4;
2848
+ }
2849
+ .mb-file-input--dragging .mb-file-input__dropzone {
2850
+ border-color: var(--mb-primary);
2851
+ background: color-mix(in srgb, var(--mb-primary) 9%, var(--mb-background));
2852
+ box-shadow: inset 0 0 0 var( --mb-focus-ring-width, 2px ) var(--mb-primary);
2853
+ }
2854
+ .mb-file-input--dragging .mb-file-input__icon {
2855
+ transform: translateY(-2px);
2856
+ }
2857
+ .mb-file-input--error .mb-file-input__dropzone {
2858
+ border-color: var( --mb-danger, #ef4444 );
2859
+ }
2860
+ .mb-file-input--error .mb-file-input__icon {
2861
+ color: var( --mb-danger, #ef4444 );
2862
+ }
2863
+ .mb-file-input--error .mb-file-input__dropzone:focus-visible {
2864
+ box-shadow: inset 0 0 0 var( --mb-focus-ring-width, 2px ) var( --mb-danger, #ef4444 );
2865
+ }
2866
+ .mb-file-input--disabled {
2867
+ opacity: 0.55;
2868
+ }
2869
+ .mb-file-input--disabled .mb-file-input__dropzone {
2870
+ background: var( --mb-background-secondary, #f3f5f5 );
2871
+ cursor: not-allowed;
2872
+ }
2873
+ .mb-file-input__files {
2874
+ display: flex;
2875
+ flex-direction: column;
2876
+ gap: 6px;
2877
+ }
2878
+ .mb-file-input__file {
2879
+ display: flex;
2880
+ align-items: center;
2881
+ gap: 12px;
2882
+ min-height: 42px;
2883
+ padding: 7px 8px 7px 12px;
2884
+ border-radius: var(--mb-radius);
2885
+ background: var( --mb-background-secondary, #f3f5f5 );
2886
+ }
2887
+ .mb-file-input__file-info {
2888
+ display: flex;
2889
+ flex-direction: column;
2890
+ gap: 2px;
2891
+ min-width: 0;
2892
+ flex: 1;
2893
+ }
2894
+ .mb-file-input__file-name {
2895
+ overflow: hidden;
2896
+ color: var( --mb-text-color, #172322 );
2897
+ font-size: 13px;
2898
+ font-weight: 500;
2899
+ line-height: 1.3;
2900
+ text-overflow: ellipsis;
2901
+ white-space: nowrap;
2902
+ }
2903
+ .mb-file-input__file-size {
2904
+ color: var( --mb-text-muted, #7d868b );
2905
+ font-size: 11px;
2906
+ line-height: 1.3;
2907
+ }
2908
+ .mb-file-input__remove {
2909
+ display: inline-flex;
2910
+ align-items: center;
2911
+ justify-content: center;
2912
+ width: 28px;
2913
+ height: 28px;
2914
+ padding: 0;
2915
+ flex: 0 0 28px;
2916
+ border: none;
2917
+ border-radius: var(--mb-radius-sm);
2918
+ background: transparent;
2919
+ color: var( --mb-text-muted, #7d868b );
2920
+ cursor: pointer;
2921
+ outline: none;
2922
+ transition:
2923
+ background-color var(--mb-transition-fast),
2924
+ color var(--mb-transition-fast),
2925
+ box-shadow var(--mb-transition-fast);
2926
+ }
2927
+ .mb-file-input__remove:hover:not(:disabled) {
2928
+ background: color-mix(in srgb, var(--mb-danger) 12%, transparent);
2929
+ color: var(--mb-danger);
2930
+ }
2931
+ .mb-file-input__remove:focus-visible {
2932
+ box-shadow: inset 0 0 0 var( --mb-focus-ring-width, 2px ) var(--mb-focus-color);
2933
+ }
2934
+ .mb-file-input__remove:disabled {
2935
+ cursor: not-allowed;
2936
+ }
2937
+ .mb-file-input__remove svg {
2938
+ display: block;
2939
+ width: 16px;
2940
+ height: 16px;
2941
+ }
2942
+ @media (prefers-reduced-motion: reduce) {
2943
+ .mb-file-input__dropzone,
2944
+ .mb-file-input__remove,
2945
+ .mb-file-input__icon {
2946
+ transition: none;
2947
+ }
2948
+ }
2949
+
2950
+ /* src/components/Pagination/Pagination.css */
2951
+ .mb-pagination {
2952
+ display: inline-flex;
2953
+ align-items: center;
2954
+ gap: 6px;
2955
+ width: fit-content;
2956
+ color: var(--mb-text-color, #172322);
2957
+ font-family: var(--mb-font-family, inherit);
2958
+ }
2959
+ .mb-pagination__control {
2960
+ display: inline-flex;
2961
+ align-items: center;
2962
+ justify-content: center;
2963
+ flex: 0 0 auto;
2964
+ padding: 0;
2965
+ border: 1px solid transparent;
2966
+ border-radius: var(--mb-radius, 14px);
2967
+ background: transparent;
2968
+ color: var(--mb-text-secondary, #5e666a);
2969
+ font-family: inherit;
2970
+ font-weight: 500;
2971
+ line-height: 1;
2972
+ cursor: pointer;
2973
+ outline: none;
2974
+ transition:
2975
+ background-color var(--mb-transition-fast, 0.15s ease),
2976
+ border-color var(--mb-transition-fast, 0.15s ease),
2977
+ color var(--mb-transition-fast, 0.15s ease),
2978
+ box-shadow var(--mb-transition-fast, 0.15s ease),
2979
+ opacity var(--mb-transition-fast, 0.15s ease);
2980
+ }
2981
+ .mb-pagination--sm .mb-pagination__control,
2982
+ .mb-pagination--sm .mb-pagination__dots {
2983
+ width: 30px;
2984
+ height: 30px;
2985
+ font-size: 12px;
2986
+ }
2987
+ .mb-pagination--md .mb-pagination__control,
2988
+ .mb-pagination--md .mb-pagination__dots {
2989
+ width: 36px;
2990
+ height: 36px;
2991
+ font-size: 14px;
2992
+ }
2993
+ .mb-pagination--lg .mb-pagination__control,
2994
+ .mb-pagination--lg .mb-pagination__dots {
2995
+ width: 42px;
2996
+ height: 42px;
2997
+ font-size: 15px;
2998
+ }
2999
+ .mb-pagination__control:hover:not(:disabled):not(.mb-pagination__control--active) {
3000
+ background: var( --mb-background-secondary, #f3f5f5 );
3001
+ color: var(--mb-text-color, #172322);
3002
+ }
3003
+ .mb-pagination--default .mb-pagination__control {
3004
+ border-color: var(--mb-border-color, #d8dde0);
3005
+ background: var(--mb-background, #ffffff);
3006
+ }
3007
+ .mb-pagination--default .mb-pagination__control--active {
3008
+ border-color: var(--mb-primary);
3009
+ background: color-mix(in srgb, var(--mb-primary) 14%, var(--mb-background));
3010
+ color: var( --mb-primary-active, var(--mb-primary) );
3011
+ }
3012
+ .mb-pagination--filled .mb-pagination__control--active {
3013
+ border-color: var(--mb-primary);
3014
+ background: var(--mb-primary);
3015
+ color: var(--mb-text-color, #172322);
3016
+ }
3017
+ .mb-pagination--filled .mb-pagination__control--active:hover {
3018
+ background: var(--mb-primary-hover);
3019
+ }
3020
+ .mb-pagination__control:focus-visible {
3021
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var( --mb-focus-color, var(--mb-primary) );
3022
+ }
3023
+ .mb-pagination__control:disabled {
3024
+ opacity: 0.38;
3025
+ cursor: not-allowed;
3026
+ }
3027
+ .mb-pagination--disabled {
3028
+ pointer-events: none;
3029
+ opacity: 0.6;
3030
+ }
3031
+ .mb-pagination__dots {
3032
+ display: inline-flex;
3033
+ align-items: center;
3034
+ justify-content: center;
3035
+ flex: 0 0 auto;
3036
+ color: var(--mb-text-muted, #7d868b);
3037
+ user-select: none;
3038
+ }
3039
+ .mb-pagination__icon {
3040
+ display: inline-flex;
3041
+ align-items: center;
3042
+ justify-content: center;
3043
+ width: 18px;
3044
+ height: 18px;
3045
+ line-height: 0;
3046
+ }
3047
+ .mb-pagination--sm .mb-pagination__icon {
3048
+ width: 16px;
3049
+ height: 16px;
3050
+ }
3051
+ .mb-pagination--lg .mb-pagination__icon {
3052
+ width: 20px;
3053
+ height: 20px;
3054
+ }
3055
+ .mb-pagination__icon svg {
3056
+ display: block;
3057
+ width: 100%;
3058
+ height: 100%;
3059
+ }
3060
+ @media (max-width: 520px) {
3061
+ .mb-pagination {
3062
+ gap: 4px;
3063
+ }
3064
+ .mb-pagination--lg .mb-pagination__control,
3065
+ .mb-pagination--lg .mb-pagination__dots {
3066
+ width: 38px;
3067
+ height: 38px;
3068
+ }
3069
+ }
3070
+
3071
+ /* src/components/DatePicker/DatePicker.css */
3072
+ .mb-date-picker {
3073
+ width: 100%;
3074
+ color: var(--mb-text-color);
3075
+ font-family: var(--mb-font-family, inherit);
3076
+ }
3077
+ .mb-date-picker__target {
3078
+ position: relative;
3079
+ width: 100%;
3080
+ }
3081
+ .mb-date-picker__trigger {
3082
+ display: flex;
3083
+ align-items: center;
3084
+ gap: 10px;
3085
+ width: 100%;
3086
+ padding: 0 42px 0 13px;
3087
+ border: 1px solid var(--mb-border-color);
3088
+ border-radius: var(--mb-radius);
3089
+ background: var(--mb-background);
3090
+ color: var(--mb-text-color);
3091
+ font-family: inherit;
3092
+ font-weight: 500;
3093
+ text-align: left;
3094
+ cursor: pointer;
3095
+ outline: none;
3096
+ transition:
3097
+ border-color var(--mb-transition-fast),
3098
+ background-color var(--mb-transition-fast),
3099
+ box-shadow var(--mb-transition-fast),
3100
+ opacity var(--mb-transition-fast);
3101
+ }
3102
+ .mb-date-picker--sm .mb-date-picker__trigger {
3103
+ height: 32px;
3104
+ font-size: 12px;
3105
+ }
3106
+ .mb-date-picker--md .mb-date-picker__trigger {
3107
+ height: 36px;
3108
+ font-size: 13px;
3109
+ }
3110
+ .mb-date-picker--lg .mb-date-picker__trigger {
3111
+ height: 42px;
3112
+ font-size: 14px;
3113
+ }
3114
+ .mb-date-picker__trigger:hover:not(:disabled) {
3115
+ border-color: var(--mb-border-hover);
3116
+ }
3117
+ .mb-date-picker__trigger:focus-visible {
3118
+ border-color: var(--mb-primary);
3119
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color);
3120
+ }
3121
+ .mb-date-picker__calendar-icon {
3122
+ display: inline-flex;
3123
+ align-items: center;
3124
+ justify-content: center;
3125
+ width: 18px;
3126
+ height: 18px;
3127
+ flex: 0 0 18px;
3128
+ color: var(--mb-text-muted);
3129
+ }
3130
+ .mb-date-picker__calendar-icon svg {
3131
+ display: block;
3132
+ width: 100%;
3133
+ height: 100%;
3134
+ }
3135
+ .mb-date-picker__value {
3136
+ min-width: 0;
3137
+ flex: 1;
3138
+ overflow: hidden;
3139
+ text-overflow: ellipsis;
3140
+ white-space: nowrap;
3141
+ }
3142
+ .mb-date-picker__placeholder {
3143
+ color: var(--mb-text-muted);
3144
+ font-weight: 400;
3145
+ }
3146
+ .mb-date-picker__clear {
3147
+ position: absolute;
3148
+ top: 50%;
3149
+ right: 5px;
3150
+ display: inline-flex;
3151
+ align-items: center;
3152
+ justify-content: center;
3153
+ width: 28px;
3154
+ height: 28px;
3155
+ padding: 0;
3156
+ border: none;
3157
+ border-radius: var(--mb-radius-sm);
3158
+ background: transparent;
3159
+ color: var(--mb-text-muted);
3160
+ cursor: pointer;
3161
+ outline: none;
3162
+ transform: translateY(-50%);
3163
+ transition:
3164
+ background-color var(--mb-transition-fast),
3165
+ color var(--mb-transition-fast),
3166
+ box-shadow var(--mb-transition-fast);
3167
+ }
3168
+ .mb-date-picker__clear:hover {
3169
+ background: var(--mb-background-secondary);
3170
+ color: var(--mb-text-color);
3171
+ }
3172
+ .mb-date-picker__clear:focus-visible {
3173
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color);
3174
+ }
3175
+ .mb-date-picker__clear svg {
3176
+ width: 15px;
3177
+ height: 15px;
3178
+ }
3179
+ .mb-date-picker__dropdown .mb-popover__content {
3180
+ padding: 0;
3181
+ }
3182
+ .mb-date-picker__calendar {
3183
+ padding: 14px;
3184
+ }
3185
+ .mb-date-picker__header {
3186
+ display: grid;
3187
+ grid-template-columns: 32px minmax(0, 1fr) 32px;
3188
+ align-items: center;
3189
+ gap: 8px;
3190
+ margin-bottom: 12px;
3191
+ }
3192
+ .mb-date-picker__month {
3193
+ overflow: hidden;
3194
+ color: var(--mb-text-color);
3195
+ font-size: 14px;
3196
+ font-weight: 600;
3197
+ line-height: 1.3;
3198
+ text-align: center;
3199
+ text-overflow: ellipsis;
3200
+ text-transform: capitalize;
3201
+ white-space: nowrap;
3202
+ }
3203
+ .mb-date-picker__navigation {
3204
+ display: inline-flex;
3205
+ align-items: center;
3206
+ justify-content: center;
3207
+ width: 32px;
3208
+ height: 32px;
3209
+ padding: 0;
3210
+ border: none;
3211
+ border-radius: var(--mb-radius-sm);
3212
+ background: transparent;
3213
+ color: var(--mb-text-secondary);
3214
+ cursor: pointer;
3215
+ outline: none;
3216
+ transition:
3217
+ background-color var(--mb-transition-fast),
3218
+ color var(--mb-transition-fast),
3219
+ box-shadow var(--mb-transition-fast),
3220
+ opacity var(--mb-transition-fast);
3221
+ }
3222
+ .mb-date-picker__navigation:hover:not(:disabled) {
3223
+ background: var(--mb-background-secondary);
3224
+ color: var(--mb-text-color);
3225
+ }
3226
+ .mb-date-picker__navigation:focus-visible {
3227
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color);
3228
+ }
3229
+ .mb-date-picker__navigation:disabled {
3230
+ opacity: 0.3;
3231
+ cursor: not-allowed;
3232
+ }
3233
+ .mb-date-picker__navigation svg {
3234
+ width: 18px;
3235
+ height: 18px;
3236
+ }
3237
+ .mb-date-picker__weekdays,
3238
+ .mb-date-picker__days {
3239
+ display: grid;
3240
+ grid-template-columns: repeat(7, minmax(0, 1fr));
3241
+ gap: 4px;
3242
+ }
3243
+ .mb-date-picker__weekdays {
3244
+ margin-bottom: 4px;
3245
+ }
3246
+ .mb-date-picker__weekday {
3247
+ display: flex;
3248
+ align-items: center;
3249
+ justify-content: center;
3250
+ height: 28px;
3251
+ color: var(--mb-text-muted);
3252
+ font-size: 11px;
3253
+ font-weight: 600;
3254
+ line-height: 1;
3255
+ text-transform: uppercase;
3256
+ }
3257
+ .mb-date-picker__day {
3258
+ position: relative;
3259
+ display: inline-flex;
3260
+ align-items: center;
3261
+ justify-content: center;
3262
+ width: 100%;
3263
+ aspect-ratio: 1;
3264
+ padding: 0;
3265
+ border: 1px solid transparent;
3266
+ border-radius: var(--mb-radius-sm);
3267
+ background: transparent;
3268
+ color: var(--mb-text-color);
3269
+ font-family: inherit;
3270
+ font-size: 12px;
3271
+ font-weight: 500;
3272
+ line-height: 1;
3273
+ cursor: pointer;
3274
+ outline: none;
3275
+ transition:
3276
+ background-color var(--mb-transition-fast),
3277
+ border-color var(--mb-transition-fast),
3278
+ color var(--mb-transition-fast),
3279
+ box-shadow var(--mb-transition-fast),
3280
+ opacity var(--mb-transition-fast);
3281
+ }
3282
+ .mb-date-picker__day:hover:not(:disabled):not(.mb-date-picker__day--selected):not(.mb-date-picker__day--range-start):not(.mb-date-picker__day--range-end) {
3283
+ background: var(--mb-background-secondary);
3284
+ }
3285
+ .mb-date-picker__day:focus-visible {
3286
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color);
3287
+ }
3288
+ .mb-date-picker__day--outside {
3289
+ color: var(--mb-text-muted);
3290
+ opacity: 0.48;
3291
+ }
3292
+ .mb-date-picker__day--today {
3293
+ border-color: color-mix(in srgb, var(--mb-primary) 65%, transparent);
3294
+ }
3295
+ .mb-date-picker__day--selected {
3296
+ border-color: var(--mb-primary);
3297
+ background: var(--mb-primary);
3298
+ color: var(--mb-text-color);
3299
+ }
3300
+ .mb-date-picker__day--selected:hover {
3301
+ background: var(--mb-primary-hover);
3302
+ }
3303
+ .mb-date-picker__day--in-range {
3304
+ border-color: transparent;
3305
+ background: color-mix(in srgb, var(--mb-primary) 16%, var(--mb-background));
3306
+ color: var( --mb-primary-active, var(--mb-primary) );
3307
+ }
3308
+ .mb-date-picker__day--range-start,
3309
+ .mb-date-picker__day--range-end {
3310
+ border-color: var(--mb-primary);
3311
+ background: var(--mb-primary);
3312
+ color: var(--mb-text-color);
3313
+ font-weight: 600;
3314
+ }
3315
+ .mb-date-picker__day--range-start:hover,
3316
+ .mb-date-picker__day--range-end:hover {
3317
+ background: var(--mb-primary-hover);
3318
+ }
3319
+ .mb-date-picker__day:disabled {
3320
+ opacity: 0.28;
3321
+ cursor: not-allowed;
3322
+ }
3323
+ .mb-date-picker__footer {
3324
+ display: flex;
3325
+ align-items: center;
3326
+ justify-content: space-between;
3327
+ gap: 12px;
3328
+ min-height: 31px;
3329
+ margin-top: 12px;
3330
+ padding-top: 10px;
3331
+ border-top: 1px solid var(--mb-border-color);
3332
+ }
3333
+ .mb-date-picker__today {
3334
+ min-height: 30px;
3335
+ padding: 0 12px;
3336
+ border: none;
3337
+ border-radius: var(--mb-radius-sm);
3338
+ background: transparent;
3339
+ color: var( --mb-primary-active, var(--mb-primary) );
3340
+ font-family: inherit;
3341
+ font-size: 12px;
3342
+ font-weight: 600;
3343
+ cursor: pointer;
3344
+ outline: none;
3345
+ transition:
3346
+ background-color var(--mb-transition-fast),
3347
+ box-shadow var(--mb-transition-fast),
3348
+ opacity var(--mb-transition-fast);
3349
+ }
3350
+ .mb-date-picker__today:hover:not(:disabled) {
3351
+ background: color-mix(in srgb, var(--mb-primary) 10%, transparent);
3352
+ }
3353
+ .mb-date-picker__today:focus-visible {
3354
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color);
3355
+ }
3356
+ .mb-date-picker__today:disabled {
3357
+ opacity: 0.35;
3358
+ cursor: not-allowed;
3359
+ }
3360
+ .mb-date-picker__range-hint {
3361
+ color: var(--mb-text-muted);
3362
+ font-size: 11px;
3363
+ line-height: 1.3;
3364
+ }
3365
+ .mb-date-picker--error .mb-date-picker__trigger {
3366
+ border-color: var(--mb-danger);
3367
+ }
3368
+ .mb-date-picker--error .mb-date-picker__trigger:focus-visible {
3369
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-danger);
3370
+ }
3371
+ .mb-date-picker--disabled {
3372
+ opacity: 0.58;
3373
+ }
3374
+ .mb-date-picker--disabled .mb-date-picker__trigger {
3375
+ background: var(--mb-background-secondary);
3376
+ cursor: not-allowed;
3377
+ }
3378
+
3379
+ /* src/components/Card/Card.css */
3380
+ .mb-card {
3381
+ display: flex;
3382
+ flex-direction: column;
3383
+ width: 100%;
3384
+ box-sizing: border-box;
3385
+ border: none;
3386
+ background: var(--mb-card-background, #ffffff);
3387
+ color: var(--mb-text-color, #172322);
3388
+ font-family: var(--mb-font-family, inherit);
3389
+ overflow: hidden;
3390
+ }
3391
+ .mb-card--padding-sm {
3392
+ padding: 14px;
3393
+ }
3394
+ .mb-card--padding-md {
3395
+ padding: 20px;
3396
+ }
3397
+ .mb-card--padding-lg {
3398
+ padding: 28px;
3399
+ }
3400
+ .mb-card--radius-sm {
3401
+ border-radius: 12px;
3402
+ }
3403
+ .mb-card--radius-md {
3404
+ border-radius: 18px;
3405
+ }
3406
+ .mb-card--radius-lg {
3407
+ border-radius: 24px;
3408
+ }
3409
+ .mb-card--shadow-none {
3410
+ box-shadow: none;
3411
+ }
3412
+ .mb-card--shadow-sm {
3413
+ box-shadow: 0 4px 16px rgba(23, 35, 34, 0.08);
3414
+ }
3415
+ .mb-card--shadow-md {
3416
+ box-shadow: 0 10px 32px rgba(23, 35, 34, 0.12);
3417
+ }
3418
+ .mb-card__header {
3419
+ display: flex;
3420
+ align-items: center;
3421
+ margin-bottom: 16px;
3422
+ }
3423
+ .mb-card__content {
3424
+ display: flex;
3425
+ flex-direction: column;
3426
+ min-width: 0;
3427
+ }
3428
+ .mb-card__footer {
3429
+ display: flex;
3430
+ align-items: center;
3431
+ margin-top: 20px;
3432
+ }
3433
+
3434
+ /* src/components/IconButton/IconButton.css */
3435
+ .mb-icon-button {
3436
+ display: inline-flex;
3437
+ align-items: center;
3438
+ justify-content: center;
3439
+ flex-shrink: 0;
3440
+ padding: 0;
3441
+ border: none;
3442
+ border-radius: var(--mb-radius, 14px);
3443
+ font-family: var(--mb-font-family, inherit);
3444
+ line-height: 1;
3445
+ cursor: pointer;
3446
+ user-select: none;
3447
+ outline: none;
3448
+ transition:
3449
+ background-color var(--mb-transition-fast, 0.15s ease),
3450
+ color var(--mb-transition-fast, 0.15s ease),
3451
+ border-color var(--mb-transition-fast, 0.15s ease),
3452
+ box-shadow var(--mb-transition-fast, 0.15s ease),
3453
+ opacity var(--mb-transition-fast, 0.15s ease);
3454
+ }
3455
+ .mb-icon-button--sm {
3456
+ width: 32px;
3457
+ height: 32px;
3458
+ }
3459
+ .mb-icon-button--md {
3460
+ width: 36px;
3461
+ height: 36px;
3462
+ }
3463
+ .mb-icon-button--lg {
3464
+ width: 42px;
3465
+ height: 42px;
3466
+ }
3467
+ .mb-icon-button--primary {
3468
+ background: var(--mb-primary, #30d5c8);
3469
+ color: var(--mb-text-color, #172322);
3470
+ }
3471
+ .mb-icon-button--primary:hover:not(:disabled) {
3472
+ background: var(--mb-primary-hover, #2bc8bc);
3473
+ }
3474
+ .mb-icon-button--primary:active:not(:disabled) {
3475
+ background: var(--mb-primary-active, #27b9ae);
3476
+ }
3477
+ .mb-icon-button--secondary {
3478
+ background: var(--mb-background-secondary, #f3f5f5);
3479
+ color: var(--mb-text-color, #172322);
3480
+ }
3481
+ .mb-icon-button--secondary:hover:not(:disabled) {
3482
+ background: color-mix(in srgb, var(--mb-text-color, #172322) 9%, var(--mb-background, #ffffff));
3483
+ }
3484
+ .mb-icon-button--outline {
3485
+ border: 1px solid var(--mb-primary, #30d5c8);
3486
+ background: transparent;
3487
+ color: var(--mb-primary-active, #27b9ae);
3488
+ }
3489
+ .mb-icon-button--outline:hover:not(:disabled) {
3490
+ background: color-mix(in srgb, var(--mb-primary, #30d5c8) 10%, transparent);
3491
+ }
3492
+ .mb-icon-button--ghost {
3493
+ background: transparent;
3494
+ color: var(--mb-primary-active, #27b9ae);
3495
+ }
3496
+ .mb-icon-button--ghost:hover:not(:disabled) {
3497
+ background: color-mix(in srgb, var(--mb-primary, #30d5c8) 10%, transparent);
3498
+ }
3499
+ .mb-icon-button:focus-visible {
3500
+ box-shadow: inset 0 0 0 var(--mb-focus-ring-width, 2px) var(--mb-focus-color, var(--mb-primary));
3501
+ }
3502
+ .mb-icon-button:disabled {
3503
+ opacity: 0.45;
3504
+ cursor: not-allowed;
3505
+ }
3506
+
3507
+ /* src/components/Input/Input.css */
3508
+ .mb-input {
3509
+ position: relative;
3510
+ display: flex;
3511
+ align-items: center;
3512
+ width: 100%;
3513
+ height: 36px;
3514
+ border: 1px solid var(--mb-border-color, #d8dde0);
3515
+ border-radius: var(--mb-radius, 14px);
3516
+ background: var(--mb-background, #ffffff);
3517
+ color: var(--mb-text-color, #172322);
3518
+ font-family: var(--mb-font-family, inherit);
3519
+ transition:
3520
+ border-color var(--mb-transition-fast, 0.15s ease),
3521
+ background-color var(--mb-transition-fast, 0.15s ease),
3522
+ box-shadow var(--mb-transition-fast, 0.15s ease),
3523
+ opacity var(--mb-transition-fast, 0.15s ease);
3524
+ }
3525
+ .mb-input__control {
3526
+ width: 100%;
3527
+ height: 100%;
3528
+ min-width: 0;
3529
+ padding: 0 14px;
3530
+ border: none;
3531
+ border-radius: inherit;
3532
+ outline: none;
3533
+ background: transparent;
3534
+ color: inherit;
3535
+ font-family: inherit;
3536
+ font-size: 13px;
3537
+ font-weight: 500;
3538
+ line-height: 1;
3539
+ }
3540
+ .mb-input__control::placeholder {
3541
+ color: var(--mb-gray-500, #7d868b);
3542
+ opacity: 1;
3543
+ }
3544
+ .mb-input__section {
3545
+ position: absolute;
3546
+ z-index: 1;
3547
+ display: inline-flex;
3548
+ align-items: center;
3549
+ justify-content: center;
3550
+ color: var(--mb-gray-500, #7d868b);
3551
+ pointer-events: none;
3552
+ }
3553
+ .mb-input__section--left {
3554
+ left: 13px;
3555
+ }
3556
+ .mb-input__section--right {
3557
+ right: 13px;
3558
+ }
3559
+ .mb-input--with-left-section .mb-input__control {
3560
+ padding-left: 42px;
3561
+ }
3562
+ .mb-input--with-right-section .mb-input__control {
3563
+ padding-right: 42px;
3564
+ }
3565
+ .mb-input:hover:not(.mb-input--disabled) {
3566
+ border-color: var(--mb-border-hover, #bfc7cb);
3567
+ }
3568
+ .mb-input:focus-within {
3569
+ border-color: var(--mb-primary, #30d5c8);
3570
+ box-shadow: inset 0 0 0 2px var(--mb-primary, #30d5c8);
3571
+ }
3572
+ .mb-input:focus-within .mb-input__section {
3573
+ color: var(--mb-primary, #30d5c8);
3574
+ }
3575
+ .mb-input--error {
3576
+ border-color: var(--mb-danger, #ef4444);
3577
+ }
3578
+ .mb-input--error:focus-within {
3579
+ border-color: var(--mb-danger, #ef4444);
3580
+ box-shadow: inset 0 0 0 2px var(--mb-danger, #ef4444);
3581
+ }
3582
+ .mb-input--error .mb-input__section {
3583
+ color: var(--mb-danger, #ef4444);
3584
+ }
3585
+ .mb-input--disabled {
3586
+ background: var(--mb-gray-100, #f3f4f6);
3587
+ opacity: 0.65;
3588
+ }
3589
+ .mb-input--disabled .mb-input__control {
3590
+ cursor: not-allowed;
3591
+ }
3592
+ .mb-input__control::selection {
3593
+ background: rgba(48, 213, 200, 0.3);
3594
+ }
3595
+ .mb-input__control[type=date] {
3596
+ color-scheme: light;
3597
+ }
3598
+ .mb-input__control[type=date]::-webkit-calendar-picker-indicator {
3599
+ opacity: 0.65;
3600
+ cursor: pointer;
3601
+ }
3602
+
3603
+ /* src/components/Textarea/Textarea.css */
3604
+ .mb-textarea {
3605
+ width: 100%;
3606
+ min-height: 96px;
3607
+ box-sizing: border-box;
3608
+ padding: 12px 14px;
3609
+ border: 1px solid #d8dde0;
3610
+ border-radius: 12px;
3611
+ background: #ffffff;
3612
+ color: var(--mb-text-color, #172322);
3613
+ font-family: var(--mb-font-family, "Manrope", sans-serif);
3614
+ font-size: 13px;
3615
+ font-weight: 500;
3616
+ line-height: 1.5;
3617
+ resize: vertical;
3618
+ outline: none;
3619
+ transition:
3620
+ border-color 0.15s ease,
3621
+ box-shadow 0.15s ease,
3622
+ background-color 0.15s ease,
3623
+ color 0.15s ease,
3624
+ opacity 0.15s ease;
3625
+ }
3626
+ .mb-textarea::placeholder {
3627
+ color: #9aa2a7;
3628
+ opacity: 1;
3629
+ }
3630
+ .mb-textarea:hover:not(:disabled):not(:focus) {
3631
+ border-color: #bfc7cb;
3632
+ }
3633
+ .mb-textarea:focus {
3634
+ border-color: var(--mb-primary, #30d5c8);
3635
+ box-shadow: inset 0 0 0 2px var(--mb-primary, #30d5c8);
3636
+ }
3637
+ .mb-textarea:disabled {
3638
+ background: #f3f5f6;
3639
+ color: #9aa2a7;
3640
+ opacity: 0.7;
3641
+ cursor: not-allowed;
3642
+ resize: none;
3643
+ }
3644
+ .mb-textarea:read-only:not(:disabled) {
3645
+ background: #f7f8f8;
3646
+ cursor: default;
3647
+ }
3648
+ .mb-textarea::selection {
3649
+ background: rgba(48, 213, 200, 0.3);
3650
+ }
3651
+
3652
+ /* src/components/Text/Text.css */
3653
+ .mb-text {
3654
+ display: inline-flex;
3655
+ align-items: center;
3656
+ gap: 6px;
3657
+ margin: 0;
3658
+ font-family: var(--mb-font-family, inherit);
3659
+ line-height: 1.5;
3660
+ }
3661
+ .mb-text--xs {
3662
+ font-size: 12px;
3663
+ }
3664
+ .mb-text--sm {
3665
+ font-size: 13px;
3666
+ }
3667
+ .mb-text--md {
3668
+ font-size: 14px;
3669
+ }
3670
+ .mb-text--lg {
3671
+ font-size: 16px;
3672
+ }
3673
+ .mb-text--regular {
3674
+ font-weight: 400;
3675
+ }
3676
+ .mb-text--medium {
3677
+ font-weight: 500;
3678
+ }
3679
+ .mb-text--semibold {
3680
+ font-weight: 600;
3681
+ }
3682
+ .mb-text--bold {
3683
+ font-weight: 700;
3684
+ }
3685
+ .mb-text--default {
3686
+ color: var(--mb-text-color, #172322);
3687
+ }
3688
+ .mb-text--muted {
3689
+ color: #8a8f98;
3690
+ }
3691
+ .mb-text--primary {
3692
+ color: var(--mb-primary, #30d5c8);
3693
+ }
3694
+ .mb-text__content {
3695
+ display: inline;
3696
+ min-width: 0;
3697
+ }
3698
+
3699
+ /* src/components/Title/Title.css */
3700
+ .mb-title {
3701
+ display: inline-flex;
3702
+ align-items: center;
3703
+ gap: 8px;
3704
+ width: fit-content;
3705
+ margin: 0;
3706
+ font-family: var(--mb-font-family, inherit);
3707
+ line-height: 1.2;
3708
+ letter-spacing: -0.02em;
3709
+ }
3710
+ .mb-title--xs {
3711
+ font-size: 16px;
3712
+ }
3713
+ .mb-title--sm {
3714
+ font-size: 20px;
3715
+ }
3716
+ .mb-title--md {
3717
+ font-size: 24px;
3718
+ }
3719
+ .mb-title--lg {
3720
+ font-size: 32px;
3721
+ }
3722
+ .mb-title--xl {
3723
+ font-size: 40px;
3724
+ }
3725
+ .mb-title--medium {
3726
+ font-weight: 500;
3727
+ }
3728
+ .mb-title--semibold {
3729
+ font-weight: 600;
3730
+ }
3731
+ .mb-title--bold {
3732
+ font-weight: 700;
3733
+ }
3734
+ .mb-title--default {
3735
+ color: var(--mb-text-color, #172322);
3736
+ }
3737
+ .mb-title--muted {
3738
+ color: #8a8f98;
3739
+ }
3740
+ .mb-title--primary {
3741
+ color: var(--mb-primary, #30d5c8);
3742
+ }
3743
+ .mb-title__content {
3744
+ display: inline;
3745
+ min-width: 0;
3746
+ }
3747
+ /*# sourceMappingURL=index.css.map */