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.
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +1 -1
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -14
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +3 -4
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +301 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +147 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +2 -2
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +577 -65
- package/dist/semantic.js +26 -26
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +1 -1
- package/package.json +1 -1
- package/src/definitions/elements/icon.less +78 -4
- package/src/definitions/modules/nag.less +0 -1
- package/src/definitions/modules/popup.less +50 -0
- package/src/definitions/modules/transition.less +36 -1
- package/src/themes/default/elements/icon.variables +15 -0
- package/src/themes/default/globals/variation.variables +6 -1
- package/src/themes/default/modules/nag.variables +1 -1
- package/src/themes/default/modules/transition.variables +8 -1
package/dist/semantic.min.js
CHANGED
package/package.json
CHANGED
@@ -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();
|
@@ -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 (@
|
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:
|
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;
|
@@ -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%;
|