igniteui-webcomponents 4.0.0-alpha.3 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/components/avatar/themes/avatar.base.css.js +6 -6
  3. package/components/avatar/themes/avatar.base.css.js.map +1 -1
  4. package/components/badge/themes/light/badge.base.css.js +6 -6
  5. package/components/badge/themes/light/badge.base.css.js.map +1 -1
  6. package/components/button/themes/button/light/button.base.css.js +6 -6
  7. package/components/button/themes/button/light/button.base.css.js.map +1 -1
  8. package/components/button/themes/button/light/button.material.css.js +6 -6
  9. package/components/button/themes/button/light/button.material.css.js.map +1 -1
  10. package/components/button/themes/icon-button/light/icon-button.base.css.js +6 -6
  11. package/components/button/themes/icon-button/light/icon-button.base.css.js.map +1 -1
  12. package/components/calendar/themes/calendar.base.css.js +6 -6
  13. package/components/calendar/themes/calendar.base.css.js.map +1 -1
  14. package/components/calendar/themes/fluent/calendar.fluent.css.js +6 -6
  15. package/components/calendar/themes/fluent/calendar.fluent.css.js.map +1 -1
  16. package/components/card/themes/light/card.actions.bootstrap.css.js +6 -6
  17. package/components/card/themes/light/card.actions.bootstrap.css.js.map +1 -1
  18. package/components/card/themes/light/card.actions.material.css.js +6 -6
  19. package/components/card/themes/light/card.actions.material.css.js.map +1 -1
  20. package/components/card/themes/light/card.content.bootstrap.css.js +6 -6
  21. package/components/card/themes/light/card.content.bootstrap.css.js.map +1 -1
  22. package/components/card/themes/light/card.content.indigo.css.js +6 -6
  23. package/components/card/themes/light/card.content.indigo.css.js.map +1 -1
  24. package/components/card/themes/light/card.content.material.css.js +6 -6
  25. package/components/card/themes/light/card.content.material.css.js.map +1 -1
  26. package/components/card/themes/light/card.header.bootstrap.css.js +6 -6
  27. package/components/card/themes/light/card.header.bootstrap.css.js.map +1 -1
  28. package/components/card/themes/light/card.header.fluent.css.js +6 -6
  29. package/components/card/themes/light/card.header.fluent.css.js.map +1 -1
  30. package/components/card/themes/light/card.header.indigo.css.js +6 -6
  31. package/components/card/themes/light/card.header.indigo.css.js.map +1 -1
  32. package/components/card/themes/light/card.header.material.css.js +6 -6
  33. package/components/card/themes/light/card.header.material.css.js.map +1 -1
  34. package/components/card/themes/light/card.material.css.js +6 -6
  35. package/components/card/themes/light/card.material.css.js.map +1 -1
  36. package/components/card/themes/light/card.media.material.css.js +6 -6
  37. package/components/card/themes/light/card.media.material.css.js.map +1 -1
  38. package/components/checkbox/checkbox-base.d.ts +2 -0
  39. package/components/checkbox/checkbox-base.js +3 -0
  40. package/components/checkbox/checkbox-base.js.map +1 -1
  41. package/components/checkbox/themes/light/checkbox.base.css.js +6 -6
  42. package/components/checkbox/themes/light/checkbox.base.css.js.map +1 -1
  43. package/components/checkbox/themes/light/switch.base.css.js +6 -6
  44. package/components/checkbox/themes/light/switch.base.css.js.map +1 -1
  45. package/components/chip/themes/chip.base.css.js +6 -6
  46. package/components/chip/themes/chip.base.css.js.map +1 -1
  47. package/components/chip/themes/chip.bootstrap.css.js +6 -6
  48. package/components/chip/themes/chip.bootstrap.css.js.map +1 -1
  49. package/components/chip/themes/chip.fluent.css.js +6 -6
  50. package/components/chip/themes/chip.fluent.css.js.map +1 -1
  51. package/components/chip/themes/chip.indigo.css.js +6 -6
  52. package/components/chip/themes/chip.indigo.css.js.map +1 -1
  53. package/components/chip/themes/chip.material.css.js +6 -6
  54. package/components/chip/themes/chip.material.css.js.map +1 -1
  55. package/components/dialog/themes/light/dialog.base.css.js +6 -6
  56. package/components/dialog/themes/light/dialog.base.css.js.map +1 -1
  57. package/components/dropdown/themes/light/dropdown-group.base.css.js +6 -6
  58. package/components/dropdown/themes/light/dropdown-group.base.css.js.map +1 -1
  59. package/components/dropdown/themes/light/dropdown-header.base.css.js +6 -6
  60. package/components/dropdown/themes/light/dropdown-header.base.css.js.map +1 -1
  61. package/components/dropdown/themes/light/dropdown-item.base.css.js +6 -6
  62. package/components/dropdown/themes/light/dropdown-item.base.css.js.map +1 -1
  63. package/components/dropdown/themes/light/dropdown.base.css.js +6 -6
  64. package/components/dropdown/themes/light/dropdown.base.css.js.map +1 -1
  65. package/components/icon/icon.material.css.js +6 -6
  66. package/components/icon/icon.material.css.js.map +1 -1
  67. package/components/input/input.d.ts +2 -0
  68. package/components/input/input.js +3 -0
  69. package/components/input/input.js.map +1 -1
  70. package/components/input/themes/light/input.base.css.js +6 -6
  71. package/components/input/themes/light/input.base.css.js.map +1 -1
  72. package/components/list/themes/light/list-header.base.css.js +6 -6
  73. package/components/list/themes/light/list-header.base.css.js.map +1 -1
  74. package/components/list/themes/light/list-item.base.css.js +6 -6
  75. package/components/list/themes/light/list-item.base.css.js.map +1 -1
  76. package/components/list/themes/light/list.base.css.js +6 -6
  77. package/components/list/themes/light/list.base.css.js.map +1 -1
  78. package/components/nav-drawer/themes/light/nav-drawer-header-item.base.css.js +6 -6
  79. package/components/nav-drawer/themes/light/nav-drawer-header-item.base.css.js.map +1 -1
  80. package/components/nav-drawer/themes/light/nav-drawer-item.base.css.js +6 -6
  81. package/components/nav-drawer/themes/light/nav-drawer-item.base.css.js.map +1 -1
  82. package/components/nav-drawer/themes/light/nav-drawer.base.css.js +6 -6
  83. package/components/nav-drawer/themes/light/nav-drawer.base.css.js.map +1 -1
  84. package/components/navbar/themes/light/navbar.base.css.js +6 -6
  85. package/components/navbar/themes/light/navbar.base.css.js.map +1 -1
  86. package/components/progress/themes/circular/circular.progress.base.css.js +32 -30
  87. package/components/progress/themes/circular/circular.progress.base.css.js.map +1 -1
  88. package/components/progress/themes/circular/circular.progress.bootstrap.css.js +2 -2
  89. package/components/progress/themes/circular/circular.progress.bootstrap.css.js.map +1 -1
  90. package/components/progress/themes/circular/circular.progress.fluent.css.js +1 -1
  91. package/components/progress/themes/circular/circular.progress.fluent.css.js.map +1 -1
  92. package/components/progress/themes/linear/linear.progress.base.css.js +22 -22
  93. package/components/progress/themes/linear/linear.progress.base.css.js.map +1 -1
  94. package/components/progress/themes/linear/linear.progress.bootstrap.css.js +22 -22
  95. package/components/progress/themes/linear/linear.progress.bootstrap.css.js.map +1 -1
  96. package/components/progress/themes/linear/linear.progress.indigo.css.js +6 -6
  97. package/components/progress/themes/linear/linear.progress.indigo.css.js.map +1 -1
  98. package/components/radio/radio.d.ts +3 -1
  99. package/components/radio/radio.js +4 -1
  100. package/components/radio/radio.js.map +1 -1
  101. package/components/radio/themes/light/radio.base.css.js +6 -6
  102. package/components/radio/themes/light/radio.base.css.js.map +1 -1
  103. package/components/radio-group/radio-group.base.css.js +6 -6
  104. package/components/radio-group/radio-group.base.css.js.map +1 -1
  105. package/components/rating/rating-symbol.base.css.js +6 -6
  106. package/components/rating/rating-symbol.base.css.js.map +1 -1
  107. package/components/rating/rating.base.css.js +6 -6
  108. package/components/rating/rating.base.css.js.map +1 -1
  109. package/components/ripple/ripple.material.css.js +6 -6
  110. package/components/ripple/ripple.material.css.js.map +1 -1
  111. package/components/select/select.d.ts +2 -0
  112. package/components/select/select.js +12 -6
  113. package/components/select/select.js.map +1 -1
  114. package/components/select/themes/light/select.base.css.js +13 -6
  115. package/components/select/themes/light/select.base.css.js.map +1 -1
  116. package/components/slider/themes/light/slider.base.css.js +6 -6
  117. package/components/slider/themes/light/slider.base.css.js.map +1 -1
  118. package/components/snackbar/themes/light/snackbar.base.css.js +6 -6
  119. package/components/snackbar/themes/light/snackbar.base.css.js.map +1 -1
  120. package/components/tabs/tab-panel.js +1 -0
  121. package/components/tabs/tab-panel.js.map +1 -1
  122. package/components/tabs/tabs.js +1 -3
  123. package/components/tabs/tabs.js.map +1 -1
  124. package/components/tabs/themes/light/tab-panel.base.css.js +6 -7
  125. package/components/tabs/themes/light/tab-panel.base.css.js.map +1 -1
  126. package/components/tabs/themes/light/tab.base.css.js +6 -6
  127. package/components/tabs/themes/light/tab.base.css.js.map +1 -1
  128. package/components/tabs/themes/light/tabs.base.css.js +6 -6
  129. package/components/tabs/themes/light/tabs.base.css.js.map +1 -1
  130. package/components/toggle/toggle.controller.d.ts +1 -1
  131. package/components/toggle/toggle.controller.js.map +1 -1
  132. package/components/toggle/toggle.directive.d.ts +2 -2
  133. package/components/toggle/toggle.directive.js.map +1 -1
  134. package/components/tree/themes/light/tree-item.base.css.js +6 -6
  135. package/components/tree/themes/light/tree-item.base.css.js.map +1 -1
  136. package/components/tree/themes/light/tree.base.css.js +6 -6
  137. package/components/tree/themes/light/tree.base.css.js.map +1 -1
  138. package/index.d.ts +2 -1
  139. package/index.js +1 -0
  140. package/index.js.map +1 -1
  141. package/package.json +1 -1
  142. package/themes/dark/bootstrap.css +152 -87
  143. package/themes/dark/fluent.css +152 -87
  144. package/themes/dark/indigo.css +72 -7
  145. package/themes/dark/material.css +152 -87
  146. package/themes/light/bootstrap.css +152 -87
  147. package/themes/light/fluent.css +152 -87
  148. package/themes/light/indigo.css +72 -7
  149. package/themes/light/material.css +152 -87
  150. package/theming/config.d.ts +1 -1
  151. package/theming/config.js +1 -2
  152. package/theming/config.js.map +1 -1
  153. package/theming/index.d.ts +1 -1
  154. package/theming/index.js +1 -1
  155. package/theming/index.js.map +1 -1
  156. package/theming/theming-controller.d.ts +1 -1
  157. package/theming/theming-controller.js.map +1 -1
  158. package/theming/theming-decorator.d.ts +1 -1
  159. package/theming/theming-decorator.js.map +1 -1
  160. package/theming/theming-event.d.ts +1 -1
  161. package/theming/theming-event.js.map +1 -1
@@ -1,13 +1,75 @@
1
- /* stylelint-disable max-line-length */
2
- /* stylelint-disable-next-line max-line-length */
3
- .igc-scrollbar {
4
- --scrolbar-size: 1rem;
5
- --igc-scrollbar-track-color: hsla(var(--ig-gray-100), var(--ig-gray-a));
6
- --igc-scrollbar-thumb-color: hsla(var(--ig-gray-400), var(--ig-gray-a));
1
+ /**
2
+ * @sass-export-section="light-material"
3
+ */
4
+ /**
5
+ * @sass-export-section="light-bootstrap"
6
+ */
7
+ /**
8
+ * @sass-export-section="light-fluent"
9
+ */
10
+ /**
11
+ * @sass-export-section="light-indigo"
12
+ */
13
+ /**
14
+ * @sass-export-section="light"
15
+ */
16
+ /**
17
+ * @sass-export-section="dark-material"
18
+ */
19
+ /**
20
+ * @sass-export-section="dark-bootstrap"
21
+ */
22
+ /**
23
+ * @sass-export-section="dark-fluent"
24
+ */
25
+ /**
26
+ * @sass-export-section="dark-indigo"
27
+ */
28
+ /**
29
+ * @sass-export-section="dark"
30
+ */
31
+ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */
32
+ /**
33
+ * @sass-export-section="bootstrap"
34
+ */
35
+ /**
36
+ * @sass-export-section="material"
37
+ */
38
+ /**
39
+ * @sass-export-section="fluent"
40
+ */
41
+ /**
42
+ * @sass-export-section="indigo"
43
+ */
44
+ /**
45
+ * @sass-export-section="material"
46
+ */
47
+ .ig-scrollbar {
48
+ --size: var(--ig-scrollbar-size, 1rem);
49
+ --thumb-background: var(--ig-scrollbar-thumb-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));
50
+ --track-background: var(--ig-scrollbar-track-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));
51
+ scrollbar-width: var(--size);
52
+ scrollbar-color: var(--thumb-background) var(--track-background);
7
53
  }
8
54
 
55
+ .ig-scrollbar ::-webkit-scrollbar {
56
+ width: var(--size);
57
+ height: var(--size);
58
+ background: var(--track-background);
59
+ }
60
+
61
+ .ig-scrollbar ::-webkit-scrollbar-thumb {
62
+ background: var(--thumb-background);
63
+ }
64
+
65
+ @media (hover: none) {
66
+ .ig-scrollbar ::-webkit-scrollbar {
67
+ width: auto;
68
+ height: auto;
69
+ }
70
+ }
9
71
  :root {
10
- --igc-theme: bootstrap;
72
+ --ig-theme: bootstrap;
11
73
  --ig-radius-factor: 1;
12
74
  --ig-spacing: 1;
13
75
  --ig-spacing-inline: 1;
@@ -15,6 +77,9 @@
15
77
  --ig-size-small: 1;
16
78
  --ig-size-medium: 2;
17
79
  --ig-size-large: 3;
80
+ --ig-scrollbar-size: 1rem;
81
+ --ig-scrollbar-thumb-background: hsla(var(--ig-gray-400), var(--ig-gray-a));
82
+ --ig-scrollbar-track-background: hsla(var(--ig-gray-100), var(--ig-gray-a));
18
83
  }
19
84
 
20
85
  :root {
@@ -426,7 +491,7 @@
426
491
  --ig-calendar-labels-margin-bottom: 0;
427
492
  }
428
493
 
429
- .ig-typography__h1 {
494
+ .ig-typography h1 {
430
495
  font-family: var(--ig-h1-font-family);
431
496
  font-size: var(--ig-h1-font-size);
432
497
  font-weight: var(--ig-h1-font-weight);
@@ -437,7 +502,7 @@
437
502
  margin-top: var(--ig-h1-margin-top);
438
503
  margin-bottom: var(--ig-h1-margin-bottom);
439
504
  }
440
- .ig-typography__h2 {
505
+ .ig-typography h2 {
441
506
  font-family: var(--ig-h2-font-family);
442
507
  font-size: var(--ig-h2-font-size);
443
508
  font-weight: var(--ig-h2-font-weight);
@@ -448,7 +513,7 @@
448
513
  margin-top: var(--ig-h2-margin-top);
449
514
  margin-bottom: var(--ig-h2-margin-bottom);
450
515
  }
451
- .ig-typography__h3 {
516
+ .ig-typography h3 {
452
517
  font-family: var(--ig-h3-font-family);
453
518
  font-size: var(--ig-h3-font-size);
454
519
  font-weight: var(--ig-h3-font-weight);
@@ -459,7 +524,7 @@
459
524
  margin-top: var(--ig-h3-margin-top);
460
525
  margin-bottom: var(--ig-h3-margin-bottom);
461
526
  }
462
- .ig-typography__h4 {
527
+ .ig-typography h4 {
463
528
  font-family: var(--ig-h4-font-family);
464
529
  font-size: var(--ig-h4-font-size);
465
530
  font-weight: var(--ig-h4-font-weight);
@@ -470,7 +535,7 @@
470
535
  margin-top: var(--ig-h4-margin-top);
471
536
  margin-bottom: var(--ig-h4-margin-bottom);
472
537
  }
473
- .ig-typography__h5 {
538
+ .ig-typography h5 {
474
539
  font-family: var(--ig-h5-font-family);
475
540
  font-size: var(--ig-h5-font-size);
476
541
  font-weight: var(--ig-h5-font-weight);
@@ -481,7 +546,7 @@
481
546
  margin-top: var(--ig-h5-margin-top);
482
547
  margin-bottom: var(--ig-h5-margin-bottom);
483
548
  }
484
- .ig-typography__h6 {
549
+ .ig-typography h6 {
485
550
  font-family: var(--ig-h6-font-family);
486
551
  font-size: var(--ig-h6-font-size);
487
552
  font-weight: var(--ig-h6-font-weight);
@@ -492,29 +557,7 @@
492
557
  margin-top: var(--ig-h6-margin-top);
493
558
  margin-bottom: var(--ig-h6-margin-bottom);
494
559
  }
495
- .ig-typography__subtitle-1 {
496
- font-family: var(--ig-subtitle-1-font-family);
497
- font-size: var(--ig-subtitle-1-font-size);
498
- font-weight: var(--ig-subtitle-1-font-weight);
499
- font-style: var(--ig-subtitle-1-font-style);
500
- line-height: var(--ig-subtitle-1-line-height);
501
- letter-spacing: var(--ig-subtitle-1-letter-spacing);
502
- text-transform: var(--ig-subtitle-1-text-transform);
503
- margin-top: var(--ig-subtitle-1-margin-top);
504
- margin-bottom: var(--ig-subtitle-1-margin-bottom);
505
- }
506
- .ig-typography__subtitle-2 {
507
- font-family: var(--ig-subtitle-2-font-family);
508
- font-size: var(--ig-subtitle-2-font-size);
509
- font-weight: var(--ig-subtitle-2-font-weight);
510
- font-style: var(--ig-subtitle-2-font-style);
511
- line-height: var(--ig-subtitle-2-line-height);
512
- letter-spacing: var(--ig-subtitle-2-letter-spacing);
513
- text-transform: var(--ig-subtitle-2-text-transform);
514
- margin-top: var(--ig-subtitle-2-margin-top);
515
- margin-bottom: var(--ig-subtitle-2-margin-bottom);
516
- }
517
- .ig-typography__body-1 {
560
+ .ig-typography p {
518
561
  font-family: var(--ig-body-1-font-family);
519
562
  font-size: var(--ig-body-1-font-size);
520
563
  font-weight: var(--ig-body-1-font-weight);
@@ -525,51 +568,7 @@
525
568
  margin-top: var(--ig-body-1-margin-top);
526
569
  margin-bottom: var(--ig-body-1-margin-bottom);
527
570
  }
528
- .ig-typography__body-2 {
529
- font-family: var(--ig-body-2-font-family);
530
- font-size: var(--ig-body-2-font-size);
531
- font-weight: var(--ig-body-2-font-weight);
532
- font-style: var(--ig-body-2-font-style);
533
- line-height: var(--ig-body-2-line-height);
534
- letter-spacing: var(--ig-body-2-letter-spacing);
535
- text-transform: var(--ig-body-2-text-transform);
536
- margin-top: var(--ig-body-2-margin-top);
537
- margin-bottom: var(--ig-body-2-margin-bottom);
538
- }
539
- .ig-typography__button {
540
- font-family: var(--ig-button-font-family);
541
- font-size: var(--ig-button-font-size);
542
- font-weight: var(--ig-button-font-weight);
543
- font-style: var(--ig-button-font-style);
544
- line-height: var(--ig-button-line-height);
545
- letter-spacing: var(--ig-button-letter-spacing);
546
- text-transform: var(--ig-button-text-transform);
547
- margin-top: var(--ig-button-margin-top);
548
- margin-bottom: var(--ig-button-margin-bottom);
549
- }
550
- .ig-typography__caption {
551
- font-family: var(--ig-caption-font-family);
552
- font-size: var(--ig-caption-font-size);
553
- font-weight: var(--ig-caption-font-weight);
554
- font-style: var(--ig-caption-font-style);
555
- line-height: var(--ig-caption-line-height);
556
- letter-spacing: var(--ig-caption-letter-spacing);
557
- text-transform: var(--ig-caption-text-transform);
558
- margin-top: var(--ig-caption-margin-top);
559
- margin-bottom: var(--ig-caption-margin-bottom);
560
- }
561
- .ig-typography__overline {
562
- font-family: var(--ig-overline-font-family);
563
- font-size: var(--ig-overline-font-size);
564
- font-weight: var(--ig-overline-font-weight);
565
- font-style: var(--ig-overline-font-style);
566
- line-height: var(--ig-overline-line-height);
567
- letter-spacing: var(--ig-overline-letter-spacing);
568
- text-transform: var(--ig-overline-text-transform);
569
- margin-top: var(--ig-overline-margin-top);
570
- margin-bottom: var(--ig-overline-margin-bottom);
571
- }
572
- .ig-typography h1 {
571
+ .ig-typography .ig-typography__h1 {
573
572
  font-family: var(--ig-h1-font-family);
574
573
  font-size: var(--ig-h1-font-size);
575
574
  font-weight: var(--ig-h1-font-weight);
@@ -580,7 +579,7 @@
580
579
  margin-top: var(--ig-h1-margin-top);
581
580
  margin-bottom: var(--ig-h1-margin-bottom);
582
581
  }
583
- .ig-typography h2 {
582
+ .ig-typography .ig-typography__h2 {
584
583
  font-family: var(--ig-h2-font-family);
585
584
  font-size: var(--ig-h2-font-size);
586
585
  font-weight: var(--ig-h2-font-weight);
@@ -591,7 +590,7 @@
591
590
  margin-top: var(--ig-h2-margin-top);
592
591
  margin-bottom: var(--ig-h2-margin-bottom);
593
592
  }
594
- .ig-typography h3 {
593
+ .ig-typography .ig-typography__h3 {
595
594
  font-family: var(--ig-h3-font-family);
596
595
  font-size: var(--ig-h3-font-size);
597
596
  font-weight: var(--ig-h3-font-weight);
@@ -602,7 +601,7 @@
602
601
  margin-top: var(--ig-h3-margin-top);
603
602
  margin-bottom: var(--ig-h3-margin-bottom);
604
603
  }
605
- .ig-typography h4 {
604
+ .ig-typography .ig-typography__h4 {
606
605
  font-family: var(--ig-h4-font-family);
607
606
  font-size: var(--ig-h4-font-size);
608
607
  font-weight: var(--ig-h4-font-weight);
@@ -613,7 +612,7 @@
613
612
  margin-top: var(--ig-h4-margin-top);
614
613
  margin-bottom: var(--ig-h4-margin-bottom);
615
614
  }
616
- .ig-typography h5 {
615
+ .ig-typography .ig-typography__h5 {
617
616
  font-family: var(--ig-h5-font-family);
618
617
  font-size: var(--ig-h5-font-size);
619
618
  font-weight: var(--ig-h5-font-weight);
@@ -624,7 +623,7 @@
624
623
  margin-top: var(--ig-h5-margin-top);
625
624
  margin-bottom: var(--ig-h5-margin-bottom);
626
625
  }
627
- .ig-typography h6 {
626
+ .ig-typography .ig-typography__h6 {
628
627
  font-family: var(--ig-h6-font-family);
629
628
  font-size: var(--ig-h6-font-size);
630
629
  font-weight: var(--ig-h6-font-weight);
@@ -635,7 +634,29 @@
635
634
  margin-top: var(--ig-h6-margin-top);
636
635
  margin-bottom: var(--ig-h6-margin-bottom);
637
636
  }
638
- .ig-typography p {
637
+ .ig-typography .ig-typography__subtitle-1 {
638
+ font-family: var(--ig-subtitle-1-font-family);
639
+ font-size: var(--ig-subtitle-1-font-size);
640
+ font-weight: var(--ig-subtitle-1-font-weight);
641
+ font-style: var(--ig-subtitle-1-font-style);
642
+ line-height: var(--ig-subtitle-1-line-height);
643
+ letter-spacing: var(--ig-subtitle-1-letter-spacing);
644
+ text-transform: var(--ig-subtitle-1-text-transform);
645
+ margin-top: var(--ig-subtitle-1-margin-top);
646
+ margin-bottom: var(--ig-subtitle-1-margin-bottom);
647
+ }
648
+ .ig-typography .ig-typography__subtitle-2 {
649
+ font-family: var(--ig-subtitle-2-font-family);
650
+ font-size: var(--ig-subtitle-2-font-size);
651
+ font-weight: var(--ig-subtitle-2-font-weight);
652
+ font-style: var(--ig-subtitle-2-font-style);
653
+ line-height: var(--ig-subtitle-2-line-height);
654
+ letter-spacing: var(--ig-subtitle-2-letter-spacing);
655
+ text-transform: var(--ig-subtitle-2-text-transform);
656
+ margin-top: var(--ig-subtitle-2-margin-top);
657
+ margin-bottom: var(--ig-subtitle-2-margin-bottom);
658
+ }
659
+ .ig-typography .ig-typography__body-1 {
639
660
  font-family: var(--ig-body-1-font-family);
640
661
  font-size: var(--ig-body-1-font-size);
641
662
  font-weight: var(--ig-body-1-font-weight);
@@ -646,6 +667,50 @@
646
667
  margin-top: var(--ig-body-1-margin-top);
647
668
  margin-bottom: var(--ig-body-1-margin-bottom);
648
669
  }
670
+ .ig-typography .ig-typography__body-2 {
671
+ font-family: var(--ig-body-2-font-family);
672
+ font-size: var(--ig-body-2-font-size);
673
+ font-weight: var(--ig-body-2-font-weight);
674
+ font-style: var(--ig-body-2-font-style);
675
+ line-height: var(--ig-body-2-line-height);
676
+ letter-spacing: var(--ig-body-2-letter-spacing);
677
+ text-transform: var(--ig-body-2-text-transform);
678
+ margin-top: var(--ig-body-2-margin-top);
679
+ margin-bottom: var(--ig-body-2-margin-bottom);
680
+ }
681
+ .ig-typography .ig-typography__button {
682
+ font-family: var(--ig-button-font-family);
683
+ font-size: var(--ig-button-font-size);
684
+ font-weight: var(--ig-button-font-weight);
685
+ font-style: var(--ig-button-font-style);
686
+ line-height: var(--ig-button-line-height);
687
+ letter-spacing: var(--ig-button-letter-spacing);
688
+ text-transform: var(--ig-button-text-transform);
689
+ margin-top: var(--ig-button-margin-top);
690
+ margin-bottom: var(--ig-button-margin-bottom);
691
+ }
692
+ .ig-typography .ig-typography__caption {
693
+ font-family: var(--ig-caption-font-family);
694
+ font-size: var(--ig-caption-font-size);
695
+ font-weight: var(--ig-caption-font-weight);
696
+ font-style: var(--ig-caption-font-style);
697
+ line-height: var(--ig-caption-line-height);
698
+ letter-spacing: var(--ig-caption-letter-spacing);
699
+ text-transform: var(--ig-caption-text-transform);
700
+ margin-top: var(--ig-caption-margin-top);
701
+ margin-bottom: var(--ig-caption-margin-bottom);
702
+ }
703
+ .ig-typography .ig-typography__overline {
704
+ font-family: var(--ig-overline-font-family);
705
+ font-size: var(--ig-overline-font-size);
706
+ font-weight: var(--ig-overline-font-weight);
707
+ font-style: var(--ig-overline-font-style);
708
+ line-height: var(--ig-overline-line-height);
709
+ letter-spacing: var(--ig-overline-letter-spacing);
710
+ text-transform: var(--ig-overline-text-transform);
711
+ margin-top: var(--ig-overline-margin-top);
712
+ margin-bottom: var(--ig-overline-margin-bottom);
713
+ }
649
714
 
650
715
  igc-dropdown {
651
716
  --border-color: hsla(var(--ig-gray-100), var(--ig-gray-a));
@@ -1,13 +1,75 @@
1
- /* stylelint-disable max-line-length */
2
- /* stylelint-disable-next-line max-line-length */
3
- .igc-scrollbar {
4
- --scrolbar-size: 1rem;
5
- --igc-scrollbar-track-color: hsla(var(--ig-gray-100), var(--ig-gray-a));
6
- --igc-scrollbar-thumb-color: hsla(var(--ig-gray-400), var(--ig-gray-a));
1
+ /**
2
+ * @sass-export-section="light-material"
3
+ */
4
+ /**
5
+ * @sass-export-section="light-bootstrap"
6
+ */
7
+ /**
8
+ * @sass-export-section="light-fluent"
9
+ */
10
+ /**
11
+ * @sass-export-section="light-indigo"
12
+ */
13
+ /**
14
+ * @sass-export-section="light"
15
+ */
16
+ /**
17
+ * @sass-export-section="dark-material"
18
+ */
19
+ /**
20
+ * @sass-export-section="dark-bootstrap"
21
+ */
22
+ /**
23
+ * @sass-export-section="dark-fluent"
24
+ */
25
+ /**
26
+ * @sass-export-section="dark-indigo"
27
+ */
28
+ /**
29
+ * @sass-export-section="dark"
30
+ */
31
+ /* stylelint-disable max-line-length */ /* stylelint-disable max-line-length */
32
+ /**
33
+ * @sass-export-section="bootstrap"
34
+ */
35
+ /**
36
+ * @sass-export-section="material"
37
+ */
38
+ /**
39
+ * @sass-export-section="fluent"
40
+ */
41
+ /**
42
+ * @sass-export-section="indigo"
43
+ */
44
+ /**
45
+ * @sass-export-section="material"
46
+ */
47
+ .ig-scrollbar {
48
+ --size: var(--ig-scrollbar-size, 1rem);
49
+ --thumb-background: var(--ig-scrollbar-thumb-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));
50
+ --track-background: var(--ig-scrollbar-track-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));
51
+ scrollbar-width: var(--size);
52
+ scrollbar-color: var(--thumb-background) var(--track-background);
7
53
  }
8
54
 
55
+ .ig-scrollbar ::-webkit-scrollbar {
56
+ width: var(--size);
57
+ height: var(--size);
58
+ background: var(--track-background);
59
+ }
60
+
61
+ .ig-scrollbar ::-webkit-scrollbar-thumb {
62
+ background: var(--thumb-background);
63
+ }
64
+
65
+ @media (hover: none) {
66
+ .ig-scrollbar ::-webkit-scrollbar {
67
+ width: auto;
68
+ height: auto;
69
+ }
70
+ }
9
71
  :root {
10
- --igc-theme: fluent;
72
+ --ig-theme: fluent;
11
73
  --ig-radius-factor: 1;
12
74
  --ig-spacing: 1;
13
75
  --ig-spacing-inline: 1;
@@ -15,6 +77,9 @@
15
77
  --ig-size-small: 1;
16
78
  --ig-size-medium: 2;
17
79
  --ig-size-large: 3;
80
+ --ig-scrollbar-size: 1rem;
81
+ --ig-scrollbar-thumb-background: hsla(var(--ig-gray-400), var(--ig-gray-a));
82
+ --ig-scrollbar-track-background: hsla(var(--ig-gray-100), var(--ig-gray-a));
18
83
  }
19
84
 
20
85
  :root {
@@ -417,7 +482,7 @@
417
482
  --ig-overline-margin-bottom: 0;
418
483
  }
419
484
 
420
- .ig-typography__h1 {
485
+ .ig-typography h1 {
421
486
  font-family: var(--ig-h1-font-family);
422
487
  font-size: var(--ig-h1-font-size);
423
488
  font-weight: var(--ig-h1-font-weight);
@@ -428,7 +493,7 @@
428
493
  margin-top: var(--ig-h1-margin-top);
429
494
  margin-bottom: var(--ig-h1-margin-bottom);
430
495
  }
431
- .ig-typography__h2 {
496
+ .ig-typography h2 {
432
497
  font-family: var(--ig-h2-font-family);
433
498
  font-size: var(--ig-h2-font-size);
434
499
  font-weight: var(--ig-h2-font-weight);
@@ -439,7 +504,7 @@
439
504
  margin-top: var(--ig-h2-margin-top);
440
505
  margin-bottom: var(--ig-h2-margin-bottom);
441
506
  }
442
- .ig-typography__h3 {
507
+ .ig-typography h3 {
443
508
  font-family: var(--ig-h3-font-family);
444
509
  font-size: var(--ig-h3-font-size);
445
510
  font-weight: var(--ig-h3-font-weight);
@@ -450,7 +515,7 @@
450
515
  margin-top: var(--ig-h3-margin-top);
451
516
  margin-bottom: var(--ig-h3-margin-bottom);
452
517
  }
453
- .ig-typography__h4 {
518
+ .ig-typography h4 {
454
519
  font-family: var(--ig-h4-font-family);
455
520
  font-size: var(--ig-h4-font-size);
456
521
  font-weight: var(--ig-h4-font-weight);
@@ -461,7 +526,7 @@
461
526
  margin-top: var(--ig-h4-margin-top);
462
527
  margin-bottom: var(--ig-h4-margin-bottom);
463
528
  }
464
- .ig-typography__h5 {
529
+ .ig-typography h5 {
465
530
  font-family: var(--ig-h5-font-family);
466
531
  font-size: var(--ig-h5-font-size);
467
532
  font-weight: var(--ig-h5-font-weight);
@@ -472,7 +537,7 @@
472
537
  margin-top: var(--ig-h5-margin-top);
473
538
  margin-bottom: var(--ig-h5-margin-bottom);
474
539
  }
475
- .ig-typography__h6 {
540
+ .ig-typography h6 {
476
541
  font-family: var(--ig-h6-font-family);
477
542
  font-size: var(--ig-h6-font-size);
478
543
  font-weight: var(--ig-h6-font-weight);
@@ -483,29 +548,7 @@
483
548
  margin-top: var(--ig-h6-margin-top);
484
549
  margin-bottom: var(--ig-h6-margin-bottom);
485
550
  }
486
- .ig-typography__subtitle-1 {
487
- font-family: var(--ig-subtitle-1-font-family);
488
- font-size: var(--ig-subtitle-1-font-size);
489
- font-weight: var(--ig-subtitle-1-font-weight);
490
- font-style: var(--ig-subtitle-1-font-style);
491
- line-height: var(--ig-subtitle-1-line-height);
492
- letter-spacing: var(--ig-subtitle-1-letter-spacing);
493
- text-transform: var(--ig-subtitle-1-text-transform);
494
- margin-top: var(--ig-subtitle-1-margin-top);
495
- margin-bottom: var(--ig-subtitle-1-margin-bottom);
496
- }
497
- .ig-typography__subtitle-2 {
498
- font-family: var(--ig-subtitle-2-font-family);
499
- font-size: var(--ig-subtitle-2-font-size);
500
- font-weight: var(--ig-subtitle-2-font-weight);
501
- font-style: var(--ig-subtitle-2-font-style);
502
- line-height: var(--ig-subtitle-2-line-height);
503
- letter-spacing: var(--ig-subtitle-2-letter-spacing);
504
- text-transform: var(--ig-subtitle-2-text-transform);
505
- margin-top: var(--ig-subtitle-2-margin-top);
506
- margin-bottom: var(--ig-subtitle-2-margin-bottom);
507
- }
508
- .ig-typography__body-1 {
551
+ .ig-typography p {
509
552
  font-family: var(--ig-body-1-font-family);
510
553
  font-size: var(--ig-body-1-font-size);
511
554
  font-weight: var(--ig-body-1-font-weight);
@@ -516,51 +559,7 @@
516
559
  margin-top: var(--ig-body-1-margin-top);
517
560
  margin-bottom: var(--ig-body-1-margin-bottom);
518
561
  }
519
- .ig-typography__body-2 {
520
- font-family: var(--ig-body-2-font-family);
521
- font-size: var(--ig-body-2-font-size);
522
- font-weight: var(--ig-body-2-font-weight);
523
- font-style: var(--ig-body-2-font-style);
524
- line-height: var(--ig-body-2-line-height);
525
- letter-spacing: var(--ig-body-2-letter-spacing);
526
- text-transform: var(--ig-body-2-text-transform);
527
- margin-top: var(--ig-body-2-margin-top);
528
- margin-bottom: var(--ig-body-2-margin-bottom);
529
- }
530
- .ig-typography__button {
531
- font-family: var(--ig-button-font-family);
532
- font-size: var(--ig-button-font-size);
533
- font-weight: var(--ig-button-font-weight);
534
- font-style: var(--ig-button-font-style);
535
- line-height: var(--ig-button-line-height);
536
- letter-spacing: var(--ig-button-letter-spacing);
537
- text-transform: var(--ig-button-text-transform);
538
- margin-top: var(--ig-button-margin-top);
539
- margin-bottom: var(--ig-button-margin-bottom);
540
- }
541
- .ig-typography__caption {
542
- font-family: var(--ig-caption-font-family);
543
- font-size: var(--ig-caption-font-size);
544
- font-weight: var(--ig-caption-font-weight);
545
- font-style: var(--ig-caption-font-style);
546
- line-height: var(--ig-caption-line-height);
547
- letter-spacing: var(--ig-caption-letter-spacing);
548
- text-transform: var(--ig-caption-text-transform);
549
- margin-top: var(--ig-caption-margin-top);
550
- margin-bottom: var(--ig-caption-margin-bottom);
551
- }
552
- .ig-typography__overline {
553
- font-family: var(--ig-overline-font-family);
554
- font-size: var(--ig-overline-font-size);
555
- font-weight: var(--ig-overline-font-weight);
556
- font-style: var(--ig-overline-font-style);
557
- line-height: var(--ig-overline-line-height);
558
- letter-spacing: var(--ig-overline-letter-spacing);
559
- text-transform: var(--ig-overline-text-transform);
560
- margin-top: var(--ig-overline-margin-top);
561
- margin-bottom: var(--ig-overline-margin-bottom);
562
- }
563
- .ig-typography h1 {
562
+ .ig-typography .ig-typography__h1 {
564
563
  font-family: var(--ig-h1-font-family);
565
564
  font-size: var(--ig-h1-font-size);
566
565
  font-weight: var(--ig-h1-font-weight);
@@ -571,7 +570,7 @@
571
570
  margin-top: var(--ig-h1-margin-top);
572
571
  margin-bottom: var(--ig-h1-margin-bottom);
573
572
  }
574
- .ig-typography h2 {
573
+ .ig-typography .ig-typography__h2 {
575
574
  font-family: var(--ig-h2-font-family);
576
575
  font-size: var(--ig-h2-font-size);
577
576
  font-weight: var(--ig-h2-font-weight);
@@ -582,7 +581,7 @@
582
581
  margin-top: var(--ig-h2-margin-top);
583
582
  margin-bottom: var(--ig-h2-margin-bottom);
584
583
  }
585
- .ig-typography h3 {
584
+ .ig-typography .ig-typography__h3 {
586
585
  font-family: var(--ig-h3-font-family);
587
586
  font-size: var(--ig-h3-font-size);
588
587
  font-weight: var(--ig-h3-font-weight);
@@ -593,7 +592,7 @@
593
592
  margin-top: var(--ig-h3-margin-top);
594
593
  margin-bottom: var(--ig-h3-margin-bottom);
595
594
  }
596
- .ig-typography h4 {
595
+ .ig-typography .ig-typography__h4 {
597
596
  font-family: var(--ig-h4-font-family);
598
597
  font-size: var(--ig-h4-font-size);
599
598
  font-weight: var(--ig-h4-font-weight);
@@ -604,7 +603,7 @@
604
603
  margin-top: var(--ig-h4-margin-top);
605
604
  margin-bottom: var(--ig-h4-margin-bottom);
606
605
  }
607
- .ig-typography h5 {
606
+ .ig-typography .ig-typography__h5 {
608
607
  font-family: var(--ig-h5-font-family);
609
608
  font-size: var(--ig-h5-font-size);
610
609
  font-weight: var(--ig-h5-font-weight);
@@ -615,7 +614,7 @@
615
614
  margin-top: var(--ig-h5-margin-top);
616
615
  margin-bottom: var(--ig-h5-margin-bottom);
617
616
  }
618
- .ig-typography h6 {
617
+ .ig-typography .ig-typography__h6 {
619
618
  font-family: var(--ig-h6-font-family);
620
619
  font-size: var(--ig-h6-font-size);
621
620
  font-weight: var(--ig-h6-font-weight);
@@ -626,7 +625,29 @@
626
625
  margin-top: var(--ig-h6-margin-top);
627
626
  margin-bottom: var(--ig-h6-margin-bottom);
628
627
  }
629
- .ig-typography p {
628
+ .ig-typography .ig-typography__subtitle-1 {
629
+ font-family: var(--ig-subtitle-1-font-family);
630
+ font-size: var(--ig-subtitle-1-font-size);
631
+ font-weight: var(--ig-subtitle-1-font-weight);
632
+ font-style: var(--ig-subtitle-1-font-style);
633
+ line-height: var(--ig-subtitle-1-line-height);
634
+ letter-spacing: var(--ig-subtitle-1-letter-spacing);
635
+ text-transform: var(--ig-subtitle-1-text-transform);
636
+ margin-top: var(--ig-subtitle-1-margin-top);
637
+ margin-bottom: var(--ig-subtitle-1-margin-bottom);
638
+ }
639
+ .ig-typography .ig-typography__subtitle-2 {
640
+ font-family: var(--ig-subtitle-2-font-family);
641
+ font-size: var(--ig-subtitle-2-font-size);
642
+ font-weight: var(--ig-subtitle-2-font-weight);
643
+ font-style: var(--ig-subtitle-2-font-style);
644
+ line-height: var(--ig-subtitle-2-line-height);
645
+ letter-spacing: var(--ig-subtitle-2-letter-spacing);
646
+ text-transform: var(--ig-subtitle-2-text-transform);
647
+ margin-top: var(--ig-subtitle-2-margin-top);
648
+ margin-bottom: var(--ig-subtitle-2-margin-bottom);
649
+ }
650
+ .ig-typography .ig-typography__body-1 {
630
651
  font-family: var(--ig-body-1-font-family);
631
652
  font-size: var(--ig-body-1-font-size);
632
653
  font-weight: var(--ig-body-1-font-weight);
@@ -637,6 +658,50 @@
637
658
  margin-top: var(--ig-body-1-margin-top);
638
659
  margin-bottom: var(--ig-body-1-margin-bottom);
639
660
  }
661
+ .ig-typography .ig-typography__body-2 {
662
+ font-family: var(--ig-body-2-font-family);
663
+ font-size: var(--ig-body-2-font-size);
664
+ font-weight: var(--ig-body-2-font-weight);
665
+ font-style: var(--ig-body-2-font-style);
666
+ line-height: var(--ig-body-2-line-height);
667
+ letter-spacing: var(--ig-body-2-letter-spacing);
668
+ text-transform: var(--ig-body-2-text-transform);
669
+ margin-top: var(--ig-body-2-margin-top);
670
+ margin-bottom: var(--ig-body-2-margin-bottom);
671
+ }
672
+ .ig-typography .ig-typography__button {
673
+ font-family: var(--ig-button-font-family);
674
+ font-size: var(--ig-button-font-size);
675
+ font-weight: var(--ig-button-font-weight);
676
+ font-style: var(--ig-button-font-style);
677
+ line-height: var(--ig-button-line-height);
678
+ letter-spacing: var(--ig-button-letter-spacing);
679
+ text-transform: var(--ig-button-text-transform);
680
+ margin-top: var(--ig-button-margin-top);
681
+ margin-bottom: var(--ig-button-margin-bottom);
682
+ }
683
+ .ig-typography .ig-typography__caption {
684
+ font-family: var(--ig-caption-font-family);
685
+ font-size: var(--ig-caption-font-size);
686
+ font-weight: var(--ig-caption-font-weight);
687
+ font-style: var(--ig-caption-font-style);
688
+ line-height: var(--ig-caption-line-height);
689
+ letter-spacing: var(--ig-caption-letter-spacing);
690
+ text-transform: var(--ig-caption-text-transform);
691
+ margin-top: var(--ig-caption-margin-top);
692
+ margin-bottom: var(--ig-caption-margin-bottom);
693
+ }
694
+ .ig-typography .ig-typography__overline {
695
+ font-family: var(--ig-overline-font-family);
696
+ font-size: var(--ig-overline-font-size);
697
+ font-weight: var(--ig-overline-font-weight);
698
+ font-style: var(--ig-overline-font-style);
699
+ line-height: var(--ig-overline-line-height);
700
+ letter-spacing: var(--ig-overline-letter-spacing);
701
+ text-transform: var(--ig-overline-text-transform);
702
+ margin-top: var(--ig-overline-margin-top);
703
+ margin-bottom: var(--ig-overline-margin-bottom);
704
+ }
640
705
 
641
706
  igc-button {
642
707
  --text-color: hsla(var(--ig-surface-500), var(--ig-surface-a));