@antimatter-audio/antimatter-ui 1.0.8 → 1.0.10

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.
@@ -0,0 +1,996 @@
1
+ .Button {
2
+ font-size: 1rem;
3
+ display: flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+ padding-right: var(--spacing-mediumsmall);
7
+ padding-left: var(--spacing-mediumsmall);
8
+ cursor: pointer;
9
+ vertical-align: middle;
10
+ white-space: nowrap;
11
+ text-decoration: none;
12
+ text-transform: uppercase;
13
+ text-align: center;
14
+ color: var(--text-color-default);
15
+ background-color: var(--input-background-color-default);
16
+ border: 0;
17
+ border-radius: var(--border-radius-default);
18
+ appearance: none;
19
+ user-select: none;
20
+ }
21
+
22
+ .Button-small {
23
+ height: var(--spacing-mediumsmall);
24
+ }
25
+
26
+ .Button-large {
27
+ height: var(--spacing-medium);
28
+ }
29
+
30
+ .Button.selected {
31
+ color: var(--accent-color-default);
32
+ }
33
+
34
+ .Button:hover {
35
+ background-color: var(--input-background-color-hover);
36
+ outline: 0;
37
+ }
38
+
39
+ .Button:disabled,
40
+ .Button.disabled {
41
+ cursor: not-allowed;
42
+ color: var(--input-text-color-disabled);
43
+ background: var(--input-background-color-disabled);
44
+ }
45
+
46
+
47
+ /* Custom styles */
48
+
49
+
50
+
51
+ /* Styles from https://github.com/kristoferjoseph/flexboxgrid */
52
+ :root {
53
+ --gutter-width: 1rem;
54
+ --outer-margin: 2rem;
55
+ --gutter-compensation: calc((var(--gutter-width) * 0.5) * -1);
56
+ --half-gutter-width: calc((var(--gutter-width) * 0.5));
57
+ --xs-min: 30;
58
+ --sm-min: 48;
59
+ --md-min: 64;
60
+ --lg-min: 75;
61
+ --screen-xs-min: var(--xs-min)em;
62
+ --screen-sm-min: var(--sm-min)em;
63
+ --screen-md-min: var(--md-min)em;
64
+ --screen-lg-min: var(--lg-min)em;
65
+ --container-sm: calc(var(--sm-min) + var(--gutter-width));
66
+ --container-md: calc(var(--md-min) + var(--gutter-width));
67
+ --container-lg: calc(var(--lg-min) + var(--gutter-width));
68
+ }
69
+
70
+ @custom-media --sm-viewport only screen and (min-width: 48em);
71
+ @custom-media --md-viewport only screen and (min-width: 64em);
72
+ @custom-media --lg-viewport only screen and (min-width: 75em);
73
+
74
+ .container-fluid, .container {
75
+ margin-right: auto;
76
+ margin-left: auto;
77
+ }
78
+
79
+ .container-fluid {
80
+ padding-right: var(--outer-margin, 2rem);
81
+ padding-left: var(--outer-margin, 2rem);
82
+ }
83
+
84
+ .row {
85
+ box-sizing: border-box;
86
+ display: flex;
87
+ flex: 0 1 auto;
88
+ flex-direction: row;
89
+ flex-wrap: wrap;
90
+ margin-right: var(--gutter-compensation, -0.5rem);
91
+ margin-left: var(--gutter-compensation, -0.5rem);
92
+ }
93
+
94
+ .row.reverse {
95
+ flex-direction: row-reverse;
96
+ }
97
+
98
+ .col.reverse {
99
+ flex-direction: column-reverse;
100
+ }
101
+
102
+ .col-xs,
103
+ .col-xs-1,
104
+ .col-xs-2,
105
+ .col-xs-3,
106
+ .col-xs-4,
107
+ .col-xs-5,
108
+ .col-xs-6,
109
+ .col-xs-7,
110
+ .col-xs-8,
111
+ .col-xs-9,
112
+ .col-xs-10,
113
+ .col-xs-11,
114
+ .col-xs-12,
115
+ .col-xs-offset-0,
116
+ .col-xs-offset-1,
117
+ .col-xs-offset-2,
118
+ .col-xs-offset-3,
119
+ .col-xs-offset-4,
120
+ .col-xs-offset-5,
121
+ .col-xs-offset-6,
122
+ .col-xs-offset-7,
123
+ .col-xs-offset-8,
124
+ .col-xs-offset-9,
125
+ .col-xs-offset-10,
126
+ .col-xs-offset-11,
127
+ .col-xs-offset-12 {
128
+ box-sizing: border-box;
129
+ flex: 0 0 auto;
130
+ padding-right: var(--half-gutter-width, 0.5rem);
131
+ padding-left: var(--half-gutter-width, 0.5rem);
132
+ }
133
+
134
+ .col-xs {
135
+ flex-grow: 1;
136
+ flex-basis: 0;
137
+ max-width: 100%;
138
+ }
139
+
140
+ .col-xs-1 {
141
+ flex-basis: 8.33333333%;
142
+ max-width: 8.33333333%;
143
+ }
144
+
145
+ .col-xs-2 {
146
+ flex-basis: 16.66666667%;
147
+ max-width: 16.66666667%;
148
+ }
149
+
150
+ .col-xs-3 {
151
+ flex-basis: 25%;
152
+ max-width: 25%;
153
+ }
154
+
155
+ .col-xs-4 {
156
+ flex-basis: 33.33333333%;
157
+ max-width: 33.33333333%;
158
+ }
159
+
160
+ .col-xs-5 {
161
+ flex-basis: 41.66666667%;
162
+ max-width: 41.66666667%;
163
+ }
164
+
165
+ .col-xs-6 {
166
+ flex-basis: 50%;
167
+ max-width: 50%;
168
+ }
169
+
170
+ .col-xs-7 {
171
+ flex-basis: 58.33333333%;
172
+ max-width: 58.33333333%;
173
+ }
174
+
175
+ .col-xs-8 {
176
+ flex-basis: 66.66666667%;
177
+ max-width: 66.66666667%;
178
+ }
179
+
180
+ .col-xs-9 {
181
+ flex-basis: 75%;
182
+ max-width: 75%;
183
+ }
184
+
185
+ .col-xs-10 {
186
+ flex-basis: 83.33333333%;
187
+ max-width: 83.33333333%;
188
+ }
189
+
190
+ .col-xs-11 {
191
+ flex-basis: 91.66666667%;
192
+ max-width: 91.66666667%;
193
+ }
194
+
195
+ .col-xs-12 {
196
+ flex-basis: 100%;
197
+ max-width: 100%;
198
+ }
199
+
200
+ .col-xs-offset-0 {
201
+ margin-left: 0;
202
+ }
203
+
204
+ .col-xs-offset-1 {
205
+ margin-left: 8.33333333%;
206
+ }
207
+
208
+ .col-xs-offset-2 {
209
+ margin-left: 16.66666667%;
210
+ }
211
+
212
+ .col-xs-offset-3 {
213
+ margin-left: 25%;
214
+ }
215
+
216
+ .col-xs-offset-4 {
217
+ margin-left: 33.33333333%;
218
+ }
219
+
220
+ .col-xs-offset-5 {
221
+ margin-left: 41.66666667%;
222
+ }
223
+
224
+ .col-xs-offset-6 {
225
+ margin-left: 50%;
226
+ }
227
+
228
+ .col-xs-offset-7 {
229
+ margin-left: 58.33333333%;
230
+ }
231
+
232
+ .col-xs-offset-8 {
233
+ margin-left: 66.66666667%;
234
+ }
235
+
236
+ .col-xs-offset-9 {
237
+ margin-left: 75%;
238
+ }
239
+
240
+ .col-xs-offset-10 {
241
+ margin-left: 83.33333333%;
242
+ }
243
+
244
+ .col-xs-offset-11 {
245
+ margin-left: 91.66666667%;
246
+ }
247
+
248
+ .start-xs {
249
+ justify-content: flex-start;
250
+ text-align: start;
251
+ }
252
+
253
+ .center-xs {
254
+ justify-content: center;
255
+ text-align: center;
256
+ }
257
+
258
+ .end-xs {
259
+ justify-content: flex-end;
260
+ text-align: end;
261
+ }
262
+
263
+ .top-xs {
264
+ align-items: flex-start;
265
+ }
266
+
267
+ .middle-xs {
268
+ align-items: center;
269
+ }
270
+
271
+ .bottom-xs {
272
+ align-items: flex-end;
273
+ }
274
+
275
+ .around-xs {
276
+ justify-content: space-around;
277
+ }
278
+
279
+ .between-xs {
280
+ justify-content: space-between;
281
+ }
282
+
283
+ .first-xs {
284
+ order: -1;
285
+ }
286
+
287
+ .last-xs {
288
+ order: 1;
289
+ }
290
+
291
+ @media (--sm-viewport) {
292
+ .container {
293
+ width: var(--container-sm, 46rem);
294
+ }
295
+
296
+ .col-sm,
297
+ .col-sm-1,
298
+ .col-sm-2,
299
+ .col-sm-3,
300
+ .col-sm-4,
301
+ .col-sm-5,
302
+ .col-sm-6,
303
+ .col-sm-7,
304
+ .col-sm-8,
305
+ .col-sm-9,
306
+ .col-sm-10,
307
+ .col-sm-11,
308
+ .col-sm-12,
309
+ .col-sm-offset-0,
310
+ .col-sm-offset-1,
311
+ .col-sm-offset-2,
312
+ .col-sm-offset-3,
313
+ .col-sm-offset-4,
314
+ .col-sm-offset-5,
315
+ .col-sm-offset-6,
316
+ .col-sm-offset-7,
317
+ .col-sm-offset-8,
318
+ .col-sm-offset-9,
319
+ .col-sm-offset-10,
320
+ .col-sm-offset-11,
321
+ .col-sm-offset-12 {
322
+ box-sizing: border-box;
323
+ flex: 0 0 auto;
324
+ padding-right: var(--half-gutter-width, 0.5rem);
325
+ padding-left: var(--half-gutter-width, 0.5rem);
326
+ }
327
+
328
+ .col-sm {
329
+ flex-grow: 1;
330
+ flex-basis: 0;
331
+ max-width: 100%;
332
+ }
333
+
334
+ .col-sm-1 {
335
+ flex-basis: 8.33333333%;
336
+ max-width: 8.33333333%;
337
+ }
338
+
339
+ .col-sm-2 {
340
+ flex-basis: 16.66666667%;
341
+ max-width: 16.66666667%;
342
+ }
343
+
344
+ .col-sm-3 {
345
+ flex-basis: 25%;
346
+ max-width: 25%;
347
+ }
348
+
349
+ .col-sm-4 {
350
+ flex-basis: 33.33333333%;
351
+ max-width: 33.33333333%;
352
+ }
353
+
354
+ .col-sm-5 {
355
+ flex-basis: 41.66666667%;
356
+ max-width: 41.66666667%;
357
+ }
358
+
359
+ .col-sm-6 {
360
+ flex-basis: 50%;
361
+ max-width: 50%;
362
+ }
363
+
364
+ .col-sm-7 {
365
+ flex-basis: 58.33333333%;
366
+ max-width: 58.33333333%;
367
+ }
368
+
369
+ .col-sm-8 {
370
+ flex-basis: 66.66666667%;
371
+ max-width: 66.66666667%;
372
+ }
373
+
374
+ .col-sm-9 {
375
+ flex-basis: 75%;
376
+ max-width: 75%;
377
+ }
378
+
379
+ .col-sm-10 {
380
+ flex-basis: 83.33333333%;
381
+ max-width: 83.33333333%;
382
+ }
383
+
384
+ .col-sm-11 {
385
+ flex-basis: 91.66666667%;
386
+ max-width: 91.66666667%;
387
+ }
388
+
389
+ .col-sm-12 {
390
+ flex-basis: 100%;
391
+ max-width: 100%;
392
+ }
393
+
394
+ .col-sm-offset-0 {
395
+ margin-left: 0;
396
+ }
397
+
398
+ .col-sm-offset-1 {
399
+ margin-left: 8.33333333%;
400
+ }
401
+
402
+ .col-sm-offset-2 {
403
+ margin-left: 16.66666667%;
404
+ }
405
+
406
+ .col-sm-offset-3 {
407
+ margin-left: 25%;
408
+ }
409
+
410
+ .col-sm-offset-4 {
411
+ margin-left: 33.33333333%;
412
+ }
413
+
414
+ .col-sm-offset-5 {
415
+ margin-left: 41.66666667%;
416
+ }
417
+
418
+ .col-sm-offset-6 {
419
+ margin-left: 50%;
420
+ }
421
+
422
+ .col-sm-offset-7 {
423
+ margin-left: 58.33333333%;
424
+ }
425
+
426
+ .col-sm-offset-8 {
427
+ margin-left: 66.66666667%;
428
+ }
429
+
430
+ .col-sm-offset-9 {
431
+ margin-left: 75%;
432
+ }
433
+
434
+ .col-sm-offset-10 {
435
+ margin-left: 83.33333333%;
436
+ }
437
+
438
+ .col-sm-offset-11 {
439
+ margin-left: 91.66666667%;
440
+ }
441
+
442
+ .start-sm {
443
+ justify-content: flex-start;
444
+ text-align: start;
445
+ }
446
+
447
+ .center-sm {
448
+ justify-content: center;
449
+ text-align: center;
450
+ }
451
+
452
+ .end-sm {
453
+ justify-content: flex-end;
454
+ text-align: end;
455
+ }
456
+
457
+ .top-sm {
458
+ align-items: flex-start;
459
+ }
460
+
461
+ .middle-sm {
462
+ align-items: center;
463
+ }
464
+
465
+ .bottom-sm {
466
+ align-items: flex-end;
467
+ }
468
+
469
+ .around-sm {
470
+ justify-content: space-around;
471
+ }
472
+
473
+ .between-sm {
474
+ justify-content: space-between;
475
+ }
476
+
477
+ .first-sm {
478
+ order: -1;
479
+ }
480
+
481
+ .last-sm {
482
+ order: 1;
483
+ }
484
+ }
485
+
486
+ @media (--md-viewport) {
487
+ .container {
488
+ width: var(--container-md, 61rem);
489
+ }
490
+
491
+ .col-md,
492
+ .col-md-1,
493
+ .col-md-2,
494
+ .col-md-3,
495
+ .col-md-4,
496
+ .col-md-5,
497
+ .col-md-6,
498
+ .col-md-7,
499
+ .col-md-8,
500
+ .col-md-9,
501
+ .col-md-10,
502
+ .col-md-11,
503
+ .col-md-12,
504
+ .col-md-offset-0,
505
+ .col-md-offset-1,
506
+ .col-md-offset-2,
507
+ .col-md-offset-3,
508
+ .col-md-offset-4,
509
+ .col-md-offset-5,
510
+ .col-md-offset-6,
511
+ .col-md-offset-7,
512
+ .col-md-offset-8,
513
+ .col-md-offset-9,
514
+ .col-md-offset-10,
515
+ .col-md-offset-11,
516
+ .col-md-offset-12 {
517
+ box-sizing: border-box;
518
+ flex: 0 0 auto;
519
+ padding-right: var(--half-gutter-width, 0.5rem);
520
+ padding-left: var(--half-gutter-width, 0.5rem);
521
+ }
522
+
523
+ .col-md {
524
+ flex-grow: 1;
525
+ flex-basis: 0;
526
+ max-width: 100%;
527
+ }
528
+
529
+ .col-md-1 {
530
+ flex-basis: 8.33333333%;
531
+ max-width: 8.33333333%;
532
+ }
533
+
534
+ .col-md-2 {
535
+ flex-basis: 16.66666667%;
536
+ max-width: 16.66666667%;
537
+ }
538
+
539
+ .col-md-3 {
540
+ flex-basis: 25%;
541
+ max-width: 25%;
542
+ }
543
+
544
+ .col-md-4 {
545
+ flex-basis: 33.33333333%;
546
+ max-width: 33.33333333%;
547
+ }
548
+
549
+ .col-md-5 {
550
+ flex-basis: 41.66666667%;
551
+ max-width: 41.66666667%;
552
+ }
553
+
554
+ .col-md-6 {
555
+ flex-basis: 50%;
556
+ max-width: 50%;
557
+ }
558
+
559
+ .col-md-7 {
560
+ flex-basis: 58.33333333%;
561
+ max-width: 58.33333333%;
562
+ }
563
+
564
+ .col-md-8 {
565
+ flex-basis: 66.66666667%;
566
+ max-width: 66.66666667%;
567
+ }
568
+
569
+ .col-md-9 {
570
+ flex-basis: 75%;
571
+ max-width: 75%;
572
+ }
573
+
574
+ .col-md-10 {
575
+ flex-basis: 83.33333333%;
576
+ max-width: 83.33333333%;
577
+ }
578
+
579
+ .col-md-11 {
580
+ flex-basis: 91.66666667%;
581
+ max-width: 91.66666667%;
582
+ }
583
+
584
+ .col-md-12 {
585
+ flex-basis: 100%;
586
+ max-width: 100%;
587
+ }
588
+
589
+ .col-md-offset-0 {
590
+ margin-left: 0;
591
+ }
592
+
593
+ .col-md-offset-1 {
594
+ margin-left: 8.33333333%;
595
+ }
596
+
597
+ .col-md-offset-2 {
598
+ margin-left: 16.66666667%;
599
+ }
600
+
601
+ .col-md-offset-3 {
602
+ margin-left: 25%;
603
+ }
604
+
605
+ .col-md-offset-4 {
606
+ margin-left: 33.33333333%;
607
+ }
608
+
609
+ .col-md-offset-5 {
610
+ margin-left: 41.66666667%;
611
+ }
612
+
613
+ .col-md-offset-6 {
614
+ margin-left: 50%;
615
+ }
616
+
617
+ .col-md-offset-7 {
618
+ margin-left: 58.33333333%;
619
+ }
620
+
621
+ .col-md-offset-8 {
622
+ margin-left: 66.66666667%;
623
+ }
624
+
625
+ .col-md-offset-9 {
626
+ margin-left: 75%;
627
+ }
628
+
629
+ .col-md-offset-10 {
630
+ margin-left: 83.33333333%;
631
+ }
632
+
633
+ .col-md-offset-11 {
634
+ margin-left: 91.66666667%;
635
+ }
636
+
637
+ .start-md {
638
+ justify-content: flex-start;
639
+ text-align: start;
640
+ }
641
+
642
+ .center-md {
643
+ justify-content: center;
644
+ text-align: center;
645
+ }
646
+
647
+ .end-md {
648
+ justify-content: flex-end;
649
+ text-align: end;
650
+ }
651
+
652
+ .top-md {
653
+ align-items: flex-start;
654
+ }
655
+
656
+ .middle-md {
657
+ align-items: center;
658
+ }
659
+
660
+ .bottom-md {
661
+ align-items: flex-end;
662
+ }
663
+
664
+ .around-md {
665
+ justify-content: space-around;
666
+ }
667
+
668
+ .between-md {
669
+ justify-content: space-between;
670
+ }
671
+
672
+ .first-md {
673
+ order: -1;
674
+ }
675
+
676
+ .last-md {
677
+ order: 1;
678
+ }
679
+ }
680
+
681
+ @media (--lg-viewport) {
682
+ .container {
683
+ width: var(--container-lg, 71rem);
684
+ }
685
+
686
+ .col-lg,
687
+ .col-lg-1,
688
+ .col-lg-2,
689
+ .col-lg-3,
690
+ .col-lg-4,
691
+ .col-lg-5,
692
+ .col-lg-6,
693
+ .col-lg-7,
694
+ .col-lg-8,
695
+ .col-lg-9,
696
+ .col-lg-10,
697
+ .col-lg-11,
698
+ .col-lg-12,
699
+ .col-lg-offset-0,
700
+ .col-lg-offset-1,
701
+ .col-lg-offset-2,
702
+ .col-lg-offset-3,
703
+ .col-lg-offset-4,
704
+ .col-lg-offset-5,
705
+ .col-lg-offset-6,
706
+ .col-lg-offset-7,
707
+ .col-lg-offset-8,
708
+ .col-lg-offset-9,
709
+ .col-lg-offset-10,
710
+ .col-lg-offset-11,
711
+ .col-lg-offset-12 {
712
+ box-sizing: border-box;
713
+ flex: 0 0 auto;
714
+ padding-right: var(--half-gutter-width, 0.5rem);
715
+ padding-left: var(--half-gutter-width, 0.5rem);
716
+ }
717
+
718
+ .col-lg {
719
+ flex-grow: 1;
720
+ flex-basis: 0;
721
+ max-width: 100%;
722
+ }
723
+
724
+ .col-lg-1 {
725
+ flex-basis: 8.33333333%;
726
+ max-width: 8.33333333%;
727
+ }
728
+
729
+ .col-lg-2 {
730
+ flex-basis: 16.66666667%;
731
+ max-width: 16.66666667%;
732
+ }
733
+
734
+ .col-lg-3 {
735
+ flex-basis: 25%;
736
+ max-width: 25%;
737
+ }
738
+
739
+ .col-lg-4 {
740
+ flex-basis: 33.33333333%;
741
+ max-width: 33.33333333%;
742
+ }
743
+
744
+ .col-lg-5 {
745
+ flex-basis: 41.66666667%;
746
+ max-width: 41.66666667%;
747
+ }
748
+
749
+ .col-lg-6 {
750
+ flex-basis: 50%;
751
+ max-width: 50%;
752
+ }
753
+
754
+ .col-lg-7 {
755
+ flex-basis: 58.33333333%;
756
+ max-width: 58.33333333%;
757
+ }
758
+
759
+ .col-lg-8 {
760
+ flex-basis: 66.66666667%;
761
+ max-width: 66.66666667%;
762
+ }
763
+
764
+ .col-lg-9 {
765
+ flex-basis: 75%;
766
+ max-width: 75%;
767
+ }
768
+
769
+ .col-lg-10 {
770
+ flex-basis: 83.33333333%;
771
+ max-width: 83.33333333%;
772
+ }
773
+
774
+ .col-lg-11 {
775
+ flex-basis: 91.66666667%;
776
+ max-width: 91.66666667%;
777
+ }
778
+
779
+ .col-lg-12 {
780
+ flex-basis: 100%;
781
+ max-width: 100%;
782
+ }
783
+
784
+ .col-lg-offset-0 {
785
+ margin-left: 0;
786
+ }
787
+
788
+ .col-lg-offset-1 {
789
+ margin-left: 8.33333333%;
790
+ }
791
+
792
+ .col-lg-offset-2 {
793
+ margin-left: 16.66666667%;
794
+ }
795
+
796
+ .col-lg-offset-3 {
797
+ margin-left: 25%;
798
+ }
799
+
800
+ .col-lg-offset-4 {
801
+ margin-left: 33.33333333%;
802
+ }
803
+
804
+ .col-lg-offset-5 {
805
+ margin-left: 41.66666667%;
806
+ }
807
+
808
+ .col-lg-offset-6 {
809
+ margin-left: 50%;
810
+ }
811
+
812
+ .col-lg-offset-7 {
813
+ margin-left: 58.33333333%;
814
+ }
815
+
816
+ .col-lg-offset-8 {
817
+ margin-left: 66.66666667%;
818
+ }
819
+
820
+ .col-lg-offset-9 {
821
+ margin-left: 75%;
822
+ }
823
+
824
+ .col-lg-offset-10 {
825
+ margin-left: 83.33333333%;
826
+ }
827
+
828
+ .col-lg-offset-11 {
829
+ margin-left: 91.66666667%;
830
+ }
831
+
832
+ .start-lg {
833
+ justify-content: flex-start;
834
+ text-align: start;
835
+ }
836
+
837
+ .center-lg {
838
+ justify-content: center;
839
+ text-align: center;
840
+ }
841
+
842
+ .end-lg {
843
+ justify-content: flex-end;
844
+ text-align: end;
845
+ }
846
+
847
+ .top-lg {
848
+ align-items: flex-start;
849
+ }
850
+
851
+ .middle-lg {
852
+ align-items: center;
853
+ }
854
+
855
+ .bottom-lg {
856
+ align-items: flex-end;
857
+ }
858
+
859
+ .around-lg {
860
+ justify-content: space-around;
861
+ }
862
+
863
+ .between-lg {
864
+ justify-content: space-between;
865
+ }
866
+
867
+ .first-lg {
868
+ order: -1;
869
+ }
870
+
871
+ .last-lg {
872
+ order: 1;
873
+ }
874
+ }
875
+ .Dropdown-button {
876
+ font-size: 1rem;
877
+ display: flex;
878
+ align-items: center;
879
+ justify-content: center;
880
+ padding-right: var(--spacing-mediumsmall);
881
+ padding-left: var(--spacing-mediumsmall);
882
+ cursor: pointer;
883
+ vertical-align: middle;
884
+ white-space: nowrap;
885
+ text-decoration: none;
886
+ text-transform: uppercase;
887
+ text-align: center;
888
+ color: var(--text-color-default);
889
+ background-color: var(--input-background-color-default);
890
+ border: 0;
891
+ border-radius: var(--border-radius-default);
892
+ appearance: none;
893
+ user-select: none;
894
+ height: var(--spacing-xlarge);
895
+ }
896
+
897
+ .Dropdown-button:hover,
898
+ .Dropdown-button:focus,
899
+ .Dropdown-button:active {
900
+ color: var(--text-color-default);
901
+ background-color: var(--input-background-color-hover);
902
+ outline: 0;
903
+ }
904
+
905
+ .Dropdown-button:disabled,
906
+ .Dropdown-button.disabled {
907
+ cursor: not-allowed;
908
+ color: var(--input-text-color-disabled);
909
+ background: var(--input-background-color-disabled);
910
+
911
+ &:hover {
912
+ color: var(--input-text-color-disabled);
913
+ background: var(--input-background-color-disabled);
914
+ }
915
+ }
916
+
917
+ .Dropdown-menu {
918
+ background-color: var(--input-background-color-default);
919
+ z-index:10;
920
+ }
921
+
922
+ .Dropdown-menu-item {
923
+ font-family: var(--font-family-body);
924
+ color: var(--text-color-default);
925
+ padding: var(--spacing-medium);
926
+ background-color: var(--input-background-color-hover);
927
+ cursor: pointer;
928
+ }
929
+
930
+ .Dropdown-menu-item:hover {
931
+ background-color: var(--input-background-color-disabled);
932
+ }
933
+ .Knob {
934
+ height: 3rem;
935
+ background-color: var(--input-background-color-default);
936
+ width: 3rem;
937
+ border-radius: 100%;
938
+ position: relative;
939
+ }
940
+
941
+ .Knob-inner {
942
+ position: absolute;
943
+ top: 0;
944
+ right: 0;
945
+ left: 0;
946
+ bottom: 0;
947
+ height: 100%;
948
+ width: 100%;
949
+ }
950
+
951
+ .Knob-marker {
952
+ position: absolute;
953
+ top: 0;
954
+ right: 0;
955
+ left: 50%;
956
+ width: var(--spacing-xsmall);
957
+ height: 50%;
958
+ border-radius: 125rem;
959
+ background-color: var(--text-color-default);
960
+ transform: translate(-50%, 0)
961
+ rotate(0)
962
+ skewX(0)
963
+ skewY(0)
964
+ scaleX(1)
965
+ scaleY(1);
966
+ }
967
+
968
+
969
+ .track {
970
+ height: var(--spacing-medium);
971
+ background-color: var(--input-background-color-default);
972
+ }
973
+
974
+ .thumb {
975
+ height: var(--spacing-medium);
976
+ width: var(--spacing-medium);
977
+ background-color: var(--input-background-color-selected);
978
+ }
979
+ .h1 {
980
+ font-family: var(--font-family-header);
981
+ font-size: var(--font-size-large);
982
+ font-weight: bold;
983
+ text-transform: capitalize;
984
+ }
985
+
986
+ .h2 {
987
+ font-family: var(--font-family-header);
988
+ font-size: var(--font-size-default);
989
+ font-weight: bold;
990
+ text-transform: capitalize;
991
+ }
992
+
993
+ .TextLabel {
994
+ font-family: var(--font-family-label);
995
+ font-size: var(--font-size-default);
996
+ }
@@ -0,0 +1,100 @@
1
+ import * as React from 'react';
2
+ import React__default from 'react';
3
+
4
+ declare enum BUTTON_SIZE {
5
+ SMALL = "SMALL",
6
+ LARGE = "LARGE"
7
+ }
8
+
9
+ interface TextButtonProps {
10
+ disabled?: boolean;
11
+ size?: BUTTON_SIZE;
12
+ onClick?: any;
13
+ text?: string;
14
+ id?: any;
15
+ className?: string;
16
+ style?: object;
17
+ children?: React.ReactNode;
18
+ }
19
+ declare const Button: React.FC<React.PropsWithChildren<TextButtonProps>>;
20
+
21
+ declare enum SPACING {
22
+ X_SMALL = "xsmall",
23
+ SMALL = "small",
24
+ MEDIUM_SMALL = "mediumsmall",
25
+ MEDIUM = "medium",
26
+ MEDIUM_LARGE = "mediumlarge",
27
+ LARGE = "large",
28
+ X_LARGE = "xlarge"
29
+ }
30
+
31
+ interface GridColProps {
32
+ span?: number;
33
+ offset?: number;
34
+ padding?: Array<SPACING>;
35
+ centerContentHorizontal?: boolean;
36
+ centerContentVertical?: boolean;
37
+ alignContentRight?: boolean;
38
+ className?: string;
39
+ onClick?: () => void;
40
+ }
41
+ declare const Col: React.FC<React.PropsWithChildren<GridColProps>>;
42
+
43
+ declare enum FLEX_DIRECTION {
44
+ ROW = 0,
45
+ COLUMN = 1
46
+ }
47
+
48
+ interface GridRowProps {
49
+ className?: string;
50
+ id?: string;
51
+ style?: object;
52
+ flexDirection?: FLEX_DIRECTION;
53
+ onClick?: () => void;
54
+ }
55
+ declare const Row: React.FC<React.PropsWithChildren<GridRowProps>>;
56
+
57
+ interface DropdownProps {
58
+ items: Array<string>;
59
+ id: string;
60
+ className?: string;
61
+ onChange?: (event: any) => {};
62
+ }
63
+ declare const Dropdown: React__default.FC<DropdownProps>;
64
+
65
+ interface KnobProps {
66
+ id?: any;
67
+ className?: string;
68
+ style?: object;
69
+ }
70
+ declare const Knob: React__default.FC<React__default.PropsWithChildren<KnobProps>>;
71
+
72
+ interface SliderProps {
73
+ id?: any;
74
+ className?: string;
75
+ }
76
+ declare const Slider: React.FC<React.PropsWithChildren<SliderProps>>;
77
+
78
+ declare enum TEXT_HEADER_LEVELS {
79
+ H1 = "h1",
80
+ H2 = "h2"
81
+ }
82
+
83
+ interface TextHeaderProps {
84
+ level: TEXT_HEADER_LEVELS;
85
+ text?: string;
86
+ id?: any;
87
+ className?: string;
88
+ style?: object;
89
+ }
90
+ declare const TextHeader: React.FC<React.PropsWithChildren<TextHeaderProps>>;
91
+
92
+ interface TextLabelProps {
93
+ text?: string;
94
+ id?: any;
95
+ className?: string;
96
+ style?: object;
97
+ }
98
+ declare const TextLabel: React.FC<React.PropsWithChildren<TextLabelProps>>;
99
+
100
+ export { Button, Col, Dropdown, FLEX_DIRECTION, SPACING as GRID_SPACING, Knob, Row, SPACING, Slider, TEXT_HEADER_LEVELS, TextHeader, TextLabel };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antimatter-audio/antimatter-ui",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "React UI component library for Antimatter Audio.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "main": "./dist/index.js",
10
10
  "type": "module",
11
- "types": "./dist",
11
+ "types": "./dist/index.d.ts",
12
12
  "scripts": {
13
13
  "build": "rollup -c",
14
14
  "start": "rollup -c -w"