fomantic-ui 2.9.3-beta.56 → 2.9.3-beta.58
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 +138 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +2 -2
- 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 +7 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +2 -2
- 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 +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 -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 +1 -1
- package/dist/components/menu.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 +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 +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.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 +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 +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 +232 -53
- package/dist/semantic.js +26 -26
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +1 -1
- package/package.json +2 -2
- package/src/definitions/modules/calendar.less +29 -0
- package/src/definitions/modules/dropdown.less +10 -0
- package/src/definitions/modules/popup.less +2 -2
- package/src/themes/default/collections/table.variables +8 -8
- package/src/themes/default/elements/button.variables +7 -7
- package/src/themes/default/elements/label.variables +1 -1
- package/src/themes/default/globals/site.variables +339 -339
- package/src/themes/default/globals/variation.variables +1 -0
- package/src/themes/default/modules/popup.variables +1 -1
- package/src/themes/default/modules/toast.variables +5 -5
- package/src/themes/default/views/item.variables +5 -5
- package/src/themes/flat/collections/form.variables +4 -4
- package/src/themes/flat/globals/site.variables +1 -1
- package/src/themes/material/globals/site.variables +1 -1
package/dist/semantic.min.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "fomantic-ui",
|
3
|
-
"version": "2.9.3-beta.
|
3
|
+
"version": "2.9.3-beta.58+1afaf65",
|
4
4
|
"description": "Fomantic empowers designers and developers by creating a shared vocabulary for UI.",
|
5
5
|
"keywords": [
|
6
6
|
"fomantic-ui",
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"gulp-uglify": "^3.0.1",
|
64
64
|
"inquirer": "^8.2.0",
|
65
65
|
"jquery": "^3.4.0",
|
66
|
-
"less": "^3.
|
66
|
+
"less": "^3.12.0 || ^4.0.0",
|
67
67
|
"map-stream": "^0.1.0",
|
68
68
|
"merge-stream": "^2.0.0",
|
69
69
|
"mkdirp": "^1.0.4",
|
@@ -196,6 +196,35 @@
|
|
196
196
|
}
|
197
197
|
}
|
198
198
|
|
199
|
+
/* --------------------
|
200
|
+
Sizes
|
201
|
+
--------------------- */
|
202
|
+
|
203
|
+
& when not (@variationCalendarSizes = false) {
|
204
|
+
each(@variationCalendarSizes, {
|
205
|
+
@s: @@value;
|
206
|
+
.ui.@{value}.calendar,
|
207
|
+
.ui.@{value}.calendar .ui.table tr th,
|
208
|
+
.ui.@{value}.calendar .ui.table tr td {
|
209
|
+
font-size: @s;
|
210
|
+
}
|
211
|
+
.ui.@{value}.calendar .ui.table.year,
|
212
|
+
.ui.@{value}.calendar .ui.table.month,
|
213
|
+
.ui.@{value}.calendar .ui.table.minute {
|
214
|
+
min-width: unit(15 * @s, em);
|
215
|
+
}
|
216
|
+
.ui.@{value}.calendar .ui.table.day {
|
217
|
+
min-width: unit(18 * @s, em);
|
218
|
+
}
|
219
|
+
.ui.@{value}.calendar .ui.table.day.andweek {
|
220
|
+
min-width: unit(22 * @s, em);
|
221
|
+
}
|
222
|
+
.ui.@{value}.calendar .ui.table.hour {
|
223
|
+
min-width: unit(20 * @s, em);
|
224
|
+
}
|
225
|
+
});
|
226
|
+
}
|
227
|
+
|
199
228
|
/*******************************
|
200
229
|
States
|
201
230
|
*******************************/
|
@@ -1181,6 +1181,16 @@ select.ui.dropdown {
|
|
1181
1181
|
}
|
1182
1182
|
}
|
1183
1183
|
|
1184
|
+
& when (@variationDropdownDisabled) or (@variationDropdownReadonly) {
|
1185
|
+
.ui.disabled.dropdown,
|
1186
|
+
.ui.read-only.dropdown {
|
1187
|
+
> .remove.icon,
|
1188
|
+
> .label > .delete.icon {
|
1189
|
+
display: none;
|
1190
|
+
}
|
1191
|
+
}
|
1192
|
+
}
|
1193
|
+
|
1184
1194
|
/*******************************
|
1185
1195
|
Variations
|
1186
1196
|
*******************************/
|
@@ -833,8 +833,8 @@
|
|
833
833
|
@color: @value;
|
834
834
|
@c: @colors[@@color][color];
|
835
835
|
@l: @colors[@@color][light];
|
836
|
-
@cl: lighten(@c, @loadingColoredPercent);
|
837
|
-
@ll: darken(@l, @loadingColoredPercent);
|
836
|
+
@cl: if(iscolor(@c), lighten(@c, @loadingColoredPercent), @c);
|
837
|
+
@ll: if(iscolor(@l), darken(@l, @loadingColoredPercent), @l);
|
838
838
|
|
839
839
|
& when not (@variationPopupTooltip) {
|
840
840
|
.ui.ui.ui.@{color}.popup::before,
|
@@ -116,32 +116,32 @@
|
|
116
116
|
/* Positive */
|
117
117
|
@positiveColor: @positiveTextColor;
|
118
118
|
@positiveBoxShadow: @stateMarkerWidth 0 0 @positiveBorderColor inset;
|
119
|
-
@positiveBackgroundHover: darken(@positiveBackgroundColor, 3);
|
120
|
-
@positiveColorHover: darken(@positiveColor, 3);
|
119
|
+
@positiveBackgroundHover: if(iscolor(@positiveBackgroundColor), darken(@positiveBackgroundColor, 3), @positiveBackgroundColor);
|
120
|
+
@positiveColorHover: if(iscolor(@positiveColor), darken(@positiveColor, 3), @positiveColor);
|
121
121
|
@invertedPositiveColor: @positiveTextColor;
|
122
122
|
@invertedPositiveBackgroundColor: @positiveBorderColor;
|
123
123
|
|
124
124
|
/* Negative */
|
125
125
|
@negativeColor: @negativeTextColor;
|
126
126
|
@negativeBoxShadow: @stateMarkerWidth 0 0 @negativeBorderColor inset;
|
127
|
-
@negativeBackgroundHover: darken(@negativeBackgroundColor, 3);
|
128
|
-
@negativeColorHover: darken(@negativeColor, 3);
|
127
|
+
@negativeBackgroundHover: if(iscolor(@negativeBackgroundColor), darken(@negativeBackgroundColor, 3), @negativeBackgroundColor);
|
128
|
+
@negativeColorHover: if(iscolor(@negativeColor), darken(@negativeColor, 3), @negativeColor);
|
129
129
|
@invertedNegativeColor: @negativeTextColor;
|
130
130
|
@invertedNegativeBackgroundColor: @negativeBorderColor;
|
131
131
|
|
132
132
|
/* Error */
|
133
133
|
@errorColor: @errorTextColor;
|
134
134
|
@errorBoxShadow: @stateMarkerWidth 0 0 @errorBorderColor inset;
|
135
|
-
@errorBackgroundHover: darken(@errorBackgroundColor, 3);
|
136
|
-
@errorColorHover: darken(@errorColor, 3);
|
135
|
+
@errorBackgroundHover: if(iscolor(@errorBackgroundColor), darken(@errorBackgroundColor, 3), @errorBackgroundColor);
|
136
|
+
@errorColorHover: if(iscolor(@errorColor), darken(@errorColor, 3), @errorColor);
|
137
137
|
@invertedErrorColor: @errorTextColor;
|
138
138
|
@invertedErrorBackgroundColor: @errorBorderColor;
|
139
139
|
|
140
140
|
/* Warning */
|
141
141
|
@warningColor: @warningTextColor;
|
142
142
|
@warningBoxShadow: @stateMarkerWidth 0 0 @warningBorderColor inset;
|
143
|
-
@warningBackgroundHover: darken(@warningBackgroundColor, 3);
|
144
|
-
@warningColorHover: darken(@warningColor, 3);
|
143
|
+
@warningBackgroundHover: if(iscolor(@warningBackgroundColor), darken(@warningBackgroundColor, 3), @warningBackgroundColor);
|
144
|
+
@warningColorHover: if(iscolor(@warningColor), darken(@warningColor, 3), @warningColor);
|
145
145
|
@invertedWarningColor: @warningTextColor;
|
146
146
|
@invertedWarningBackgroundColor: #eec97e;
|
147
147
|
|
@@ -247,28 +247,28 @@
|
|
247
247
|
@tertiaryHorizontalPadding: 0.5em;
|
248
248
|
@tertiaryLineHeight: 0.2em;
|
249
249
|
@tertiaryTextColor: @textColor;
|
250
|
-
@tertiaryLineColor: lighten(@tertiaryTextColor, 20%);
|
250
|
+
@tertiaryLineColor: if(iscolor(@tertiaryTextColor), lighten(@tertiaryTextColor, 20%), @tertiaryTextColor);
|
251
251
|
@tertiaryWithUnderline: false;
|
252
252
|
@tertiaryWithOverline: false;
|
253
253
|
@tertiaryBackgroundColor: none;
|
254
254
|
|
255
255
|
/* Tertiary Hover */
|
256
|
-
@tertiaryHoverColor: lighten(fadein(@tertiaryTextColor, 100%), 20%);
|
257
|
-
@tertiaryHoverLineColor: lighten(@tertiaryHoverColor, 20%);
|
256
|
+
@tertiaryHoverColor: if(iscolor(@tertiaryTextColor), lighten(fadein(@tertiaryTextColor, 100%), 20%), @tertiaryTextColor);
|
257
|
+
@tertiaryHoverLineColor: if(iscolor(@tertiaryHoverColor), lighten(@tertiaryHoverColor, 20%), @tertiaryHoverColor);
|
258
258
|
@tertiaryHoverWithUnderline: true;
|
259
259
|
@tertiaryHoverWithOverline: false;
|
260
260
|
@tertiaryHoverBackgroundColor: none;
|
261
261
|
|
262
262
|
/* Tertiary Focus */
|
263
|
-
@tertiaryFocusColor: lighten(fadein(@tertiaryTextColor, 100%), 20%);
|
264
|
-
@tertiaryFocusLineColor: lighten(@tertiaryHoverColor, 20%);
|
263
|
+
@tertiaryFocusColor: if(iscolor(@tertiaryTextColor), lighten(fadein(@tertiaryTextColor, 100%), 20%), @tertiaryTextColor);
|
264
|
+
@tertiaryFocusLineColor: if(iscolor(@tertiaryHoverColor), lighten(@tertiaryHoverColor, 20%), @tertiaryHoverColor);
|
265
265
|
@tertiaryFocusWithUnderline: true;
|
266
266
|
@tertiaryFocusWithOverline: false;
|
267
267
|
@tertiaryFocusBackgroundColor: none;
|
268
268
|
|
269
269
|
/* Tertiary Active */
|
270
|
-
@tertiaryActiveColor: lighten(@tertiaryHoverColor, 20%);
|
271
|
-
@tertiaryActiveLineColor: lighten(@tertiaryActiveColor, 20%);
|
270
|
+
@tertiaryActiveColor: if(iscolor(@tertiaryHoverColor), lighten(@tertiaryHoverColor, 20%), @tertiaryHoverColor);
|
271
|
+
@tertiaryActiveLineColor: if(iscolor(@tertiaryActiveColor), lighten(@tertiaryActiveColor, 20%), @tertiaryActiveColor);
|
272
272
|
@tertiaryActiveWithUnderline: true;
|
273
273
|
@tertiaryActiveWithOverline: false;
|
274
274
|
@tertiaryActiveBackgroundColor: none;
|
@@ -158,7 +158,7 @@
|
|
158
158
|
@ribbonZIndex: 1;
|
159
159
|
|
160
160
|
/* Inverted */
|
161
|
-
@invertedBackgroundColor: darken(@backgroundColor, 20);
|
161
|
+
@invertedBackgroundColor: if(iscolor(@backgroundColor), darken(@backgroundColor, 20), @backgroundColor);
|
162
162
|
@invertedBackground: @black;
|
163
163
|
@invertedBoxShadowSize: 2px;
|
164
164
|
@invertedBorderSize: 1px;
|