fomantic-ui 2.9.3-beta.10 → 2.9.3-beta.11
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/emoji.css +1 -1
- package/dist/components/emoji.min.css +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 +33 -17
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +2 -2
- 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 -1
- package/dist/components/icon.min.css +1 -1
- 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/menu.css +9 -3
- package/dist/components/menu.min.css +2 -2
- 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 +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- 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 +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- 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 +3 -2
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +27 -5
- package/dist/components/segment.min.css +2 -2
- 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.css +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.css +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 +6 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- 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 +130 -75
- package/dist/semantic.js +28 -27
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/definitions/collections/form.less +8 -6
- package/src/definitions/collections/menu.less +27 -20
- package/src/definitions/elements/segment.less +33 -9
- package/src/definitions/modules/search.js +2 -1
- package/src/definitions/modules/toast.less +7 -0
- package/src/themes/default/elements/segment.variables +4 -0
- package/src/themes/default/globals/site.variables +3 -0
- package/src/themes/default/modules/toast.variables +1 -0
package/package.json
CHANGED
@@ -527,9 +527,10 @@
|
|
527
527
|
color: @c;
|
528
528
|
}
|
529
529
|
|
530
|
-
|
531
|
-
|
532
|
-
|
530
|
+
@supports selector(:has(.f)) {
|
531
|
+
.ui.form .fields:has(.@{state}) > label {
|
532
|
+
color: @c;
|
533
|
+
}
|
533
534
|
}
|
534
535
|
|
535
536
|
.ui.form .fields.@{state} .field .ui.label,
|
@@ -735,9 +736,10 @@
|
|
735
736
|
color: @lbg;
|
736
737
|
}
|
737
738
|
|
738
|
-
|
739
|
-
|
740
|
-
|
739
|
+
@supports selector(:has(.f)) {
|
740
|
+
.ui.inverted.form .fields:has(.@{state}) > label {
|
741
|
+
color: @lbg;
|
742
|
+
}
|
741
743
|
}
|
742
744
|
}
|
743
745
|
});
|
@@ -1623,29 +1623,36 @@ Floated Menu / Item
|
|
1623
1623
|
}
|
1624
1624
|
}
|
1625
1625
|
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1626
|
+
& when (@variationMenuEqualWidth) {
|
1627
|
+
/* -------------------
|
1628
|
+
Evenly Sized
|
1629
|
+
-------------------- */
|
1629
1630
|
|
1630
|
-
.ui.item
|
1631
|
-
|
1632
|
-
|
1633
|
-
padding-left: 0 !important;
|
1634
|
-
padding-right: 0 !important;
|
1635
|
-
margin-left: 0 !important;
|
1636
|
-
margin-right: 0 !important;
|
1637
|
-
text-align: center;
|
1638
|
-
justify-content: center;
|
1639
|
-
}
|
1640
|
-
.ui.attached.item.menu:not(.tabular) {
|
1641
|
-
margin: 0 @attachedHorizontalOffset !important;
|
1642
|
-
}
|
1631
|
+
.ui[class*="equal width"].menu > .item {
|
1632
|
+
flex: 1;
|
1633
|
+
}
|
1643
1634
|
|
1644
|
-
.ui.
|
1645
|
-
|
1646
|
-
|
1635
|
+
.ui[class*="equal width"].menu > .item,
|
1636
|
+
.ui.item.menu,
|
1637
|
+
.ui.item.menu .item {
|
1638
|
+
width: 100%;
|
1639
|
+
padding-left: 0 !important;
|
1640
|
+
padding-right: 0 !important;
|
1641
|
+
margin-left: 0 !important;
|
1642
|
+
margin-right: 0 !important;
|
1643
|
+
text-align: center;
|
1644
|
+
justify-content: center;
|
1645
|
+
}
|
1646
|
+
.ui.attached[class*="equal width"].menu:not(.tabular),
|
1647
|
+
.ui.attached.item.menu:not(.tabular) {
|
1648
|
+
margin: 0 @attachedHorizontalOffset !important;
|
1649
|
+
}
|
1650
|
+
|
1651
|
+
.ui[class*="equal width"].menu > .item:last-child::before,
|
1652
|
+
.ui.item.menu .item:last-child::before {
|
1653
|
+
display: none;
|
1654
|
+
}
|
1647
1655
|
|
1648
|
-
& when (@variationMenuEqualWidth) {
|
1649
1656
|
.ui.menu.two.item .item {
|
1650
1657
|
width: 50%;
|
1651
1658
|
}
|
@@ -189,6 +189,9 @@
|
|
189
189
|
margin: @piledMargin 0;
|
190
190
|
box-shadow: @piledBoxShadow;
|
191
191
|
z-index: @piledZIndex;
|
192
|
+
background-color: @white;
|
193
|
+
border: @piledBorder;
|
194
|
+
color: @textColor;
|
192
195
|
}
|
193
196
|
.ui.piled.segment:first-child {
|
194
197
|
margin-top: 0;
|
@@ -200,7 +203,7 @@
|
|
200
203
|
.ui.piled.segments::before,
|
201
204
|
.ui.piled.segment::after,
|
202
205
|
.ui.piled.segment::before {
|
203
|
-
background-color:
|
206
|
+
background-color: inherit;
|
204
207
|
visibility: visible;
|
205
208
|
content: "";
|
206
209
|
display: block;
|
@@ -208,9 +211,16 @@
|
|
208
211
|
left: 0;
|
209
212
|
position: absolute;
|
210
213
|
width: 100%;
|
211
|
-
border:
|
214
|
+
border: inherit;
|
212
215
|
box-shadow: @piledBoxShadow;
|
213
216
|
}
|
217
|
+
& when (@variationSegmentInverted) {
|
218
|
+
.ui.inverted.piled.segment {
|
219
|
+
background-color: @invertedBackground;
|
220
|
+
border: @invertedPiledBorder;
|
221
|
+
color: @invertedTextColor;
|
222
|
+
}
|
223
|
+
}
|
214
224
|
.ui.piled.segments::before,
|
215
225
|
.ui.piled.segment::before {
|
216
226
|
transform: rotate(-@piledDegrees);
|
@@ -240,6 +250,12 @@
|
|
240
250
|
margin-bottom: 0;
|
241
251
|
}
|
242
252
|
}
|
253
|
+
@supports selector(:has(.f)) {
|
254
|
+
*:has(> .ui.piled.segment) {
|
255
|
+
z-index: 0;
|
256
|
+
position: relative;
|
257
|
+
}
|
258
|
+
}
|
243
259
|
}
|
244
260
|
|
245
261
|
& when (@variationSegmentStacked) {
|
@@ -258,7 +274,7 @@
|
|
258
274
|
position: absolute;
|
259
275
|
bottom: -(@stackedHeight / 2);
|
260
276
|
left: 0;
|
261
|
-
border-top:
|
277
|
+
border-top: @borderWidth solid @stackedBorderColor;
|
262
278
|
background: @stackedPageBackground;
|
263
279
|
width: 100%;
|
264
280
|
height: @stackedHeight;
|
@@ -277,12 +293,14 @@
|
|
277
293
|
}
|
278
294
|
& when (@variationSegmentInverted) {
|
279
295
|
/* Inverted */
|
280
|
-
.ui.stacked.inverted.segments
|
281
|
-
.ui.stacked.inverted.
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
296
|
+
.ui.stacked.inverted.segments,
|
297
|
+
.ui.stacked.inverted.segment {
|
298
|
+
border: @borderWidth solid @invertedStackedBorderColor;
|
299
|
+
&::before,
|
300
|
+
&::after {
|
301
|
+
background-color: @subtleTransparentBlack;
|
302
|
+
border-top: @borderWidth solid @invertedStackedBorderColor;
|
303
|
+
}
|
286
304
|
}
|
287
305
|
}
|
288
306
|
}
|
@@ -354,6 +372,12 @@
|
|
354
372
|
.ui.raised.raised.segment {
|
355
373
|
box-shadow: @raisedBoxShadow;
|
356
374
|
}
|
375
|
+
& when (@variationSegmentInverted) {
|
376
|
+
.ui.inverted.raised.raised.segments,
|
377
|
+
.ui.inverted.raised.raised.segment {
|
378
|
+
box-shadow: @invertedRaisedBoxShadow;
|
379
|
+
}
|
380
|
+
}
|
357
381
|
}
|
358
382
|
|
359
383
|
& when (@variationSegmentGroups) {
|
@@ -561,6 +561,7 @@
|
|
561
561
|
if (cache) {
|
562
562
|
module.debug('Reading result from cache', searchTerm);
|
563
563
|
module.save.results(cache.results);
|
564
|
+
settings.onResults.call(element, cache.results, true);
|
564
565
|
module.addResults(cache.html);
|
565
566
|
module.inject.id(cache.results);
|
566
567
|
callback();
|
@@ -1345,7 +1346,7 @@
|
|
1345
1346
|
onResultsAdd: false,
|
1346
1347
|
|
1347
1348
|
onSearchQuery: function (query) {},
|
1348
|
-
onResults: function (response) {},
|
1349
|
+
onResults: function (response, fromCache) {},
|
1349
1350
|
|
1350
1351
|
onResultsOpen: function () {},
|
1351
1352
|
onResultsClose: function () {},
|
@@ -139,6 +139,13 @@
|
|
139
139
|
box-shadow: @floatingShadow;
|
140
140
|
border: @toastBoxBorder;
|
141
141
|
}
|
142
|
+
& when (@variationToastInverted) {
|
143
|
+
&.inverted.floating,
|
144
|
+
&.inverted.hoverfloating:hover {
|
145
|
+
box-shadow: @invertedFloatingShadow;
|
146
|
+
border: @invertedToastBoxBorder;
|
147
|
+
}
|
148
|
+
}
|
142
149
|
}
|
143
150
|
& when (@variationToastCompact) {
|
144
151
|
&.compact,
|
@@ -63,6 +63,7 @@
|
|
63
63
|
@piledBoxShadow: "";
|
64
64
|
@piledDegrees: 1.2deg;
|
65
65
|
@piledBorder: @border;
|
66
|
+
@invertedPiledBorder: @borderWidth solid @solidWhiteBorderColor;
|
66
67
|
|
67
68
|
/* Circular */
|
68
69
|
@circularPadding: 2em;
|
@@ -72,6 +73,8 @@
|
|
72
73
|
@stackedPageBackground: @subtleTransparentBlack;
|
73
74
|
@stackedPadding: @verticalPadding + (0.4em);
|
74
75
|
@tallStackedPadding: @verticalPadding + (0.8em);
|
76
|
+
@stackedBorderColor: @borderColor;
|
77
|
+
@invertedStackedBorderColor: rgba(225, 225, 225, 0.5);
|
75
78
|
|
76
79
|
/*******************************
|
77
80
|
States
|
@@ -92,6 +95,7 @@
|
|
92
95
|
|
93
96
|
/* Raised */
|
94
97
|
@raisedBoxShadow: @floatingShadow;
|
98
|
+
@invertedRaisedBoxShadow: @invertedFloatingShadow;
|
95
99
|
|
96
100
|
/* Padded */
|
97
101
|
@paddedSegmentPadding: 1.5em;
|
@@ -653,6 +653,9 @@
|
|
653
653
|
@floatingShadow:
|
654
654
|
0 2px 4px 0 rgba(34, 36, 38, 0.12),
|
655
655
|
0 2px 10px 0 rgba(34, 36, 38, 0.15);
|
656
|
+
@invertedFloatingShadow:
|
657
|
+
0 2px 4px 0 rgba(225, 225, 225, 0.1),
|
658
|
+
0 2px 10px 0 rgba(225, 225, 225, 0.5);
|
656
659
|
|
657
660
|
/*******************************
|
658
661
|
Power-User
|