fomantic-ui 2.9.1-beta.7 → 2.9.1-beta.9

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/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +1 -1
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +1 -1
  8. package/dist/components/api.min.js +1 -1
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +1 -1
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +1 -1
  14. package/dist/components/calendar.js +1 -1
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +1 -1
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +1 -1
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +1 -1
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +1 -1
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +1 -1
  34. package/dist/components/dropdown.js +1 -1
  35. package/dist/components/dropdown.min.css +1 -1
  36. package/dist/components/dropdown.min.js +1 -1
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +1 -1
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/feed.css +1 -1
  42. package/dist/components/feed.min.css +1 -1
  43. package/dist/components/flag.css +1 -1
  44. package/dist/components/flag.min.css +1 -1
  45. package/dist/components/flyout.css +1 -1
  46. package/dist/components/flyout.js +1 -1
  47. package/dist/components/flyout.min.css +1 -1
  48. package/dist/components/flyout.min.js +1 -1
  49. package/dist/components/form.css +1 -1
  50. package/dist/components/form.js +1 -1
  51. package/dist/components/form.min.css +1 -1
  52. package/dist/components/form.min.js +1 -1
  53. package/dist/components/grid.css +1 -1
  54. package/dist/components/grid.min.css +1 -1
  55. package/dist/components/header.css +1 -1
  56. package/dist/components/header.min.css +1 -1
  57. package/dist/components/icon.css +1 -14
  58. package/dist/components/icon.min.css +2 -2
  59. package/dist/components/image.css +1 -1
  60. package/dist/components/image.min.css +1 -1
  61. package/dist/components/input.css +1 -1
  62. package/dist/components/input.min.css +1 -1
  63. package/dist/components/item.css +1 -1
  64. package/dist/components/item.min.css +1 -1
  65. package/dist/components/label.css +1 -1
  66. package/dist/components/label.min.css +1 -1
  67. package/dist/components/list.css +1 -1
  68. package/dist/components/list.min.css +1 -1
  69. package/dist/components/loader.css +1 -1
  70. package/dist/components/loader.min.css +1 -1
  71. package/dist/components/message.css +1 -1
  72. package/dist/components/message.min.css +1 -1
  73. package/dist/components/modal.css +1 -1
  74. package/dist/components/modal.js +1 -1
  75. package/dist/components/modal.min.css +1 -1
  76. package/dist/components/modal.min.js +1 -1
  77. package/dist/components/nag.css +3 -4
  78. package/dist/components/nag.js +1 -1
  79. package/dist/components/nag.min.css +2 -2
  80. package/dist/components/nag.min.js +1 -1
  81. package/dist/components/placeholder.css +1 -1
  82. package/dist/components/placeholder.min.css +1 -1
  83. package/dist/components/popup.css +301 -1
  84. package/dist/components/popup.js +1 -1
  85. package/dist/components/popup.min.css +2 -2
  86. package/dist/components/popup.min.js +1 -1
  87. package/dist/components/progress.css +1 -1
  88. package/dist/components/progress.js +1 -1
  89. package/dist/components/progress.min.css +1 -1
  90. package/dist/components/progress.min.js +1 -1
  91. package/dist/components/rail.css +1 -1
  92. package/dist/components/rail.min.css +1 -1
  93. package/dist/components/rating.css +1 -1
  94. package/dist/components/rating.js +1 -1
  95. package/dist/components/rating.min.css +1 -1
  96. package/dist/components/rating.min.js +1 -1
  97. package/dist/components/reset.css +1 -1
  98. package/dist/components/reset.min.css +1 -1
  99. package/dist/components/reveal.css +1 -1
  100. package/dist/components/reveal.min.css +1 -1
  101. package/dist/components/search.css +1 -1
  102. package/dist/components/search.js +1 -1
  103. package/dist/components/search.min.css +1 -1
  104. package/dist/components/search.min.js +1 -1
  105. package/dist/components/segment.css +1 -1
  106. package/dist/components/segment.min.css +1 -1
  107. package/dist/components/shape.css +1 -1
  108. package/dist/components/shape.js +1 -1
  109. package/dist/components/shape.min.css +1 -1
  110. package/dist/components/shape.min.js +1 -1
  111. package/dist/components/sidebar.css +1 -1
  112. package/dist/components/sidebar.js +1 -1
  113. package/dist/components/sidebar.min.css +1 -1
  114. package/dist/components/sidebar.min.js +1 -1
  115. package/dist/components/site.css +1 -1
  116. package/dist/components/site.js +1 -1
  117. package/dist/components/site.min.css +1 -1
  118. package/dist/components/site.min.js +1 -1
  119. package/dist/components/slider.js +1 -1
  120. package/dist/components/slider.min.js +1 -1
  121. package/dist/components/state.js +1 -1
  122. package/dist/components/state.min.js +1 -1
  123. package/dist/components/statistic.css +1 -1
  124. package/dist/components/statistic.min.css +1 -1
  125. package/dist/components/step.css +1 -1
  126. package/dist/components/step.min.css +1 -1
  127. package/dist/components/sticky.css +1 -1
  128. package/dist/components/sticky.js +1 -1
  129. package/dist/components/sticky.min.css +1 -1
  130. package/dist/components/sticky.min.js +1 -1
  131. package/dist/components/tab.css +1 -1
  132. package/dist/components/tab.js +1 -1
  133. package/dist/components/tab.min.css +1 -1
  134. package/dist/components/tab.min.js +1 -1
  135. package/dist/components/table.css +1 -1
  136. package/dist/components/table.min.css +1 -1
  137. package/dist/components/text.css +1 -1
  138. package/dist/components/text.min.css +1 -1
  139. package/dist/components/toast.css +1 -1
  140. package/dist/components/toast.js +1 -1
  141. package/dist/components/toast.min.css +1 -1
  142. package/dist/components/toast.min.js +1 -1
  143. package/dist/components/transition.css +147 -1
  144. package/dist/components/transition.js +1 -1
  145. package/dist/components/transition.min.css +2 -2
  146. package/dist/components/transition.min.js +1 -1
  147. package/dist/components/visibility.js +1 -1
  148. package/dist/components/visibility.min.js +1 -1
  149. package/dist/semantic.css +577 -65
  150. package/dist/semantic.js +26 -26
  151. package/dist/semantic.min.css +2 -2
  152. package/dist/semantic.min.js +1 -1
  153. package/package.json +1 -1
  154. package/src/definitions/elements/icon.less +78 -4
  155. package/src/definitions/modules/nag.less +0 -1
  156. package/src/definitions/modules/popup.less +50 -0
  157. package/src/definitions/modules/transition.less +36 -1
  158. package/src/themes/default/elements/icon.variables +15 -0
  159. package/src/themes/default/globals/variation.variables +6 -1
  160. package/src/themes/default/modules/nag.variables +1 -1
  161. package/src/themes/default/modules/transition.variables +8 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.9.1-beta.7+d459c42
2
+ * # Fomantic UI - 2.9.1-beta.9+845150e
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fomantic-ui",
3
- "version": "2.9.1-beta.7+d459c42",
3
+ "version": "2.9.1-beta.9+845150e",
4
4
  "description": "Fomantic empowers designers and developers by creating a shared vocabulary for UI.",
5
5
  "keywords": [
6
6
  "fomantic-ui",
@@ -163,7 +163,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
163
163
  transform: scale(1, -1);
164
164
  }
165
165
 
166
- & when(@variationIconGroups) {
166
+ & when (@variationIconGroups) {
167
167
  .icons i.flipped.icon:not(.corner):not(:first-child),
168
168
  .icons i.horizontally.flipped.icon:not(.corner):not(:first-child) {
169
169
  transform: translateX(-50%) translateY(-50%) scale(-1, 1);
@@ -194,7 +194,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
194
194
  transform: rotate(180deg);
195
195
  }
196
196
 
197
- & when(@variationIconGroups) {
197
+ & when (@variationIconGroups) {
198
198
  .icons i.rotated.rotated.icon:not(.corner):not(:first-child),
199
199
  .icons i.right.rotated.icon:not(.corner):not(:first-child),
200
200
  .icons i.clockwise.rotated.icon:not(.corner):not(:first-child) {
@@ -245,7 +245,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
245
245
  transform: scale(1, -1) rotate(180deg);
246
246
  }
247
247
 
248
- & when(@variationIconGroups) {
248
+ & when (@variationIconGroups) {
249
249
  .icons i.rotated.flipped.icon:not(.corner):not(:first-child),
250
250
  .icons i.right.rotated.flipped.icon:not(.corner):not(:first-child),
251
251
  .icons i.clockwise.rotated.flipped.icon:not(.corner):not(:first-child) {
@@ -529,6 +529,16 @@ i.icons {
529
529
  });
530
530
  };
531
531
 
532
+ .generateSecondaryIcons(@map) {
533
+ each(@map,{
534
+ @escapedKey: replace(@key,'^([0-9])','\3$1 ');
535
+ @normalizedKey: replace(@escapedKey,'_','.','g');
536
+ i.icon.@{normalizedKey}::after {
537
+ content: "@{value}";
538
+ }
539
+ });
540
+ };
541
+
532
542
  & when (@variationIconDeprecated) {
533
543
 
534
544
  /* Deprecated *In/Out Naming Conflict) */
@@ -584,7 +594,7 @@ i.icons {
584
594
  }
585
595
  }
586
596
 
587
- & when(@variationIconBrand) {
597
+ & when (@variationIconBrand) {
588
598
  /*******************************
589
599
  Brand Icons
590
600
  *******************************/
@@ -598,4 +608,68 @@ i.icons {
598
608
  }
599
609
  }
600
610
 
611
+ & when (@variationIconDuotone) {
612
+ /*******************************
613
+ Duotone Icons
614
+ *******************************/
615
+
616
+ /* Make duotone icons use the proper font */
617
+ i.icon.duotone {
618
+ font-family: @duotoneFontName;
619
+ /* To position the secondary layer on top of the first layer */
620
+ position: relative;
621
+ }
622
+
623
+ /* Set the default opacity levels and colors for each layer */
624
+ i.icon.duotone::before {
625
+ color: @duotonePrimaryColor;
626
+ opacity: @duotonePrimaryOpacity;
627
+ }
628
+
629
+ i.icon.duotone::after {
630
+ /* Position secondary layer to the left, centered horizontally and aligned vertically to flex with different line heights */
631
+ position: absolute;
632
+ left: 0;
633
+ top: 50%;
634
+ transform: translateY(-50%);
635
+ text-align: center;
636
+
637
+ color: @duotoneSecondaryColor;
638
+ opacity: @duotoneSecondaryOpacity;
639
+ }
640
+
641
+ .generateIcons(@icon-duotone-map,false);
642
+ .generateSecondaryIcons(@icon-duotone-secondary-map);
643
+
644
+ & when (@variationIconAliases) {
645
+
646
+ /* Aliases */
647
+ .generateIcons(@icon-duotone-aliases-map,false);
648
+ .generateSecondaryIcons(@icon-duotone-secondary-aliases-map);
649
+ }
650
+
651
+ /*
652
+ * Colors for duotone icons, in the form `primary-secondary`(e.g. `black-grey duotone icon`).
653
+ */
654
+ & when not (@variationIconColors = false) {
655
+ each(@variationIconColors, {
656
+ @color: @value;
657
+ @c: @colors[@@color][color];
658
+ @l: @colors[@@color][light];
659
+
660
+ i.icon.duotone[class*="@{color}-"]::before,
661
+ i.icon.duotone[class*="-@{color}"]::after {
662
+ color: @c;
663
+ }
664
+
665
+ & when (@variationIconInverted) {
666
+ i.icon.inverted.duotone[class*="@{color}-"]::before,
667
+ i.icon.inverted.duotone[class*="-@{color}"]::after {
668
+ color: @l;
669
+ }
670
+ }
671
+ })
672
+ }
673
+ }
674
+
601
675
  .loadUIOverrides();
@@ -104,7 +104,6 @@ a.ui.nag {
104
104
  .ui.overlay.nags,
105
105
  .ui.overlay.nag {
106
106
  position: absolute;
107
- display: block;
108
107
  }
109
108
  }
110
109
 
@@ -805,6 +805,56 @@
805
805
  }
806
806
  }
807
807
 
808
+ & when not (@variationPopupColors = false) {
809
+ each(@variationPopupColors, {
810
+ @color: @value;
811
+ @c: @colors[@@color][color];
812
+ @l: @colors[@@color][light];
813
+
814
+ & when not (@variationPopupTooltip) {
815
+ .ui.ui.ui.@{color}.popup::before,
816
+ .ui.@{color}.popup {
817
+ background: @c;
818
+ color: @white;
819
+ border: none;
820
+ }
821
+ .ui.ui.ui.@{color}.popup::before {
822
+ box-shadow: none;
823
+ }
824
+ & when (@variationPopupInverted) {
825
+ .ui.inverted.@{color}.popup::before,
826
+ .ui.inverted.@{color}.popup {
827
+ background: @l;
828
+ color: @black;
829
+ }
830
+ }
831
+ }
832
+ & when (@variationPopupTooltip) {
833
+ .ui.ui.ui.@{color}.popup::before,
834
+ .ui.@{color}.popup,
835
+ [data-tooltip][data-variation~="@{color}"]::after,
836
+ [data-tooltip][data-variation~="@{color}"]::before {
837
+ background: @c;
838
+ color: @white;
839
+ border: none;
840
+ }
841
+ .ui.ui.ui.@{color}.popup::before,
842
+ [data-tooltip][data-variation~="@{color}"]::before {
843
+ box-shadow: none;
844
+ }
845
+ & when (@variationPopupInverted) {
846
+ .ui.ui.ui.inverted.@{color}.popup::before,
847
+ .ui.inverted.@{color}.popup,
848
+ [data-tooltip][data-inverted][data-variation~="@{color}"]::after,
849
+ [data-tooltip][data-inverted][data-variation~="@{color}"]::before {
850
+ background: @l;
851
+ color: @black;
852
+ }
853
+ }
854
+ }
855
+ })
856
+ }
857
+
808
858
  & when (@variationPopupFlowing) {
809
859
  /*--------------
810
860
  Flowing
@@ -73,10 +73,45 @@
73
73
  /*******************************
74
74
  Variations
75
75
  *******************************/
76
- & when (@variationTransitionLoading) {
76
+ & when (@variationTransitionLooping) {
77
77
  .looping.transition {
78
78
  animation-iteration-count: infinite;
79
79
  }
80
80
  }
81
81
 
82
+ & when (@variationTransitionPulsating) {
83
+ /* Pulsating */
84
+ .pulsating.transition {
85
+ animation-name: pulsating;
86
+ animation-duration: @pulsatingDuration;
87
+ box-shadow: 0 0 0 0 fade(@pulsatingColor, @pulsatingOpacity);
88
+ }
89
+ & when (@variationTransitionInverted) {
90
+ .inverted.pulsating.transition {
91
+ box-shadow: 0 0 0 0 fade(@pulsatingInvertedColor, @pulsatingInvertedOpacity);
92
+ }
93
+ }
94
+ @keyframes pulsating {
95
+ 100% {
96
+ box-shadow: 0 0 0 @pulsatingDistance rgba(255,255,255,0);
97
+ }
98
+ }
99
+ & when not (@variationTransitionColors = false) {
100
+ each(@variationTransitionColors, {
101
+ @color: @value;
102
+ @c: @colors[@@color][color];
103
+ @l: @colors[@@color][light];
104
+
105
+ .@{color}.pulsating.transition {
106
+ box-shadow: 0 0 0 0 fade(@c, @pulsatingOpacity);
107
+ }
108
+ & when (@variationTransitionInverted) {
109
+ .@{color}.inverted.pulsating.transition {
110
+ box-shadow: 0 0 0 0 fade(@l, @pulsatingInvertedOpacity);
111
+ }
112
+ }
113
+ })
114
+ }
115
+ }
116
+
82
117
  .loadUIOverrides();
@@ -41,6 +41,7 @@ Icons are order A-Z in their group, Solid, Outline, Thin (Pro only) and Brand
41
41
  @outlineFontName: 'outline-icons';
42
42
  @thinFontName: 'thin-icons';
43
43
  @brandFontName: 'brand-icons';
44
+ @duotoneFontName: 'duotone-icons';
44
45
 
45
46
  @fonts: {
46
47
  @solid: {
@@ -2062,6 +2063,14 @@ ycombinator: \f23b;
2062
2063
  youtube_play: \f167;
2063
2064
  };
2064
2065
 
2066
+ @icon-duotone-map: {
2067
+ };
2068
+ @icon-duotone-secondary-map: {
2069
+ };
2070
+ @icon-duotone-aliases-map: {
2071
+ };
2072
+ @icon-duotone-secondary-aliases-map: {
2073
+ };
2065
2074
 
2066
2075
  /*--------------
2067
2076
  Definition
@@ -2117,3 +2126,9 @@ youtube_play: \f167;
2117
2126
  @big: 2em;
2118
2127
  @huge: 4em;
2119
2128
  @massive: 8em;
2129
+
2130
+ /* Duotone specifics */
2131
+ @duotonePrimaryColor: inherit;
2132
+ @duotonePrimaryOpacity: 1;
2133
+ @duotoneSecondaryColor: inherit;
2134
+ @duotoneSecondaryOpacity: 0.4;
@@ -91,7 +91,8 @@
91
91
  @variationIconAliases: true;
92
92
  @variationIconOutline: true;
93
93
  @variationIconBrand: true;
94
- @variationIconThin: true; /* Font Awesome Pro only */
94
+ @variationIconThin: false; /* Font Awesome Pro only */
95
+ @variationIconDuotone: false; /* Font Awesome Pro only */
95
96
  @variationIconDisabled: true;
96
97
  @variationIconInverted: true;
97
98
  @variationIconLoading: true;
@@ -716,6 +717,8 @@
716
717
  /* Transition */
717
718
  @variationTransitionDisabled: true;
718
719
  @variationTransitionLoading: true;
720
+ @variationTransitionLooping: true;
721
+ @variationTransitionInverted: true;
719
722
  @variationTransitionBrowse: true;
720
723
  @variationTransitionDrop: true;
721
724
  @variationTransitionFade: true;
@@ -732,6 +735,8 @@
732
735
  @variationTransitionPulse: true;
733
736
  @variationTransitionJiggle: true;
734
737
  @variationTransitionGlow: true;
738
+ @variationTransitionPulsating: true;
739
+ @variationTransitionColors: @variationAllColors;
735
740
 
736
741
  /* Emojis */
737
742
  @variationEmojiColons: true;
@@ -11,7 +11,7 @@
11
11
  @zIndex: 999;
12
12
  @margin: 0;
13
13
 
14
- @background: #777777;
14
+ @background: #909090;
15
15
  @opacity: 0.95;
16
16
  @minHeight: 0;
17
17
  @padding: 0.75em 1em;
@@ -7,4 +7,11 @@
7
7
  @transitionDefaultDuration: 300ms;
8
8
 
9
9
  @use3DAcceleration: translateZ(0);
10
- @backfaceVisibility: hidden;
10
+ @backfaceVisibility: hidden;
11
+
12
+ @pulsatingColor: #808080;
13
+ @pulsatingInvertedColor: #ffffff;
14
+ @pulsatingDuration: 2000ms;
15
+ @pulsatingDistance: 0.8rem;
16
+ @pulsatingOpacity: 50%;
17
+ @pulsatingInvertedOpacity: 70%;