fomantic-ui 2.9.1-beta.27 → 2.9.1-beta.29
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/.eslintrc.js +0 -1
- package/.github/workflows/ci.yml +6 -0
- package/.prettierrc.js +12 -0
- package/.stylelintrc.js +13 -7
- package/README.md +1 -1
- package/dist/components/accordion.css +9 -21
- package/dist/components/accordion.js +3 -3
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +2 -3
- package/dist/components/ad.min.css +2 -2
- package/dist/components/api.js +3 -3
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +336 -713
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +5 -10
- package/dist/components/calendar.js +3 -3
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +88 -201
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +35 -86
- package/dist/components/checkbox.js +3 -3
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +4 -8
- package/dist/components/comment.min.css +2 -2
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +20 -129
- package/dist/components/dimmer.js +3 -3
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +3 -6
- package/dist/components/divider.min.css +2 -2
- package/dist/components/dropdown.css +51 -149
- package/dist/components/dropdown.js +13 -7
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +2 -7
- package/dist/components/embed.js +3 -3
- package/dist/components/embed.min.css +2 -2
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +1 -2
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +7 -21
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +30 -71
- package/dist/components/flyout.js +3 -16
- package/dist/components/flyout.min.css +2 -2
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +32 -101
- package/dist/components/form.js +3 -3
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +72 -182
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +5 -11
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +37 -74
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +8 -21
- package/dist/components/image.min.css +2 -2
- package/dist/components/input.css +15 -50
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +13 -38
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +18 -45
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +1 -7
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +21 -103
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +49 -145
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +50 -114
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +20 -54
- package/dist/components/modal.js +3 -11
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +2 -5
- package/dist/components/nag.js +3 -3
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +7 -25
- package/dist/components/placeholder.min.css +2 -2
- package/dist/components/popup.css +68 -139
- package/dist/components/popup.js +16 -7
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +25 -120
- package/dist/components/progress.js +3 -3
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +2 -39
- package/dist/components/rating.js +3 -3
- package/dist/components/rating.min.css +2 -2
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +6 -11
- package/dist/components/reset.min.css +2 -2
- package/dist/components/reveal.css +26 -58
- package/dist/components/reveal.min.css +2 -2
- package/dist/components/search.css +8 -22
- package/dist/components/search.js +3 -3
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +32 -89
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +4 -16
- package/dist/components/shape.js +3 -15
- package/dist/components/shape.min.css +2 -2
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +59 -147
- package/dist/components/sidebar.js +3 -16
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -14
- package/dist/components/site.js +11 -38
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +8 -26
- package/dist/components/slider.js +3 -3
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +3 -3
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +11 -43
- package/dist/components/statistic.min.css +2 -2
- package/dist/components/step.css +26 -89
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -5
- package/dist/components/sticky.js +3 -11
- package/dist/components/sticky.min.css +2 -2
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +3 -5
- package/dist/components/tab.js +3 -3
- package/dist/components/tab.min.css +2 -2
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +202 -409
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +32 -108
- package/dist/components/toast.js +3 -3
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +264 -1312
- package/dist/components/transition.js +3 -3
- package/dist/components/transition.min.css +2 -2
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +3 -11
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +51 -3547
- package/dist/semantic.js +107 -181
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/examples/fixed.html +1 -1
- package/examples/grid.html +1 -1
- package/package.json +2 -2
- package/src/definitions/behaviors/api.js +2 -2
- package/src/definitions/behaviors/form.js +2 -2
- package/src/definitions/behaviors/state.js +2 -2
- package/src/definitions/behaviors/visibility.js +2 -10
- package/src/definitions/collections/table.less +4 -0
- package/src/definitions/elements/button.less +7 -2
- package/src/definitions/elements/icon.less +19 -27
- package/src/definitions/elements/image.less +0 -4
- package/src/definitions/elements/loader.less +2 -0
- package/src/definitions/elements/segment.less +3 -1
- package/src/definitions/globals/site.js +10 -37
- package/src/definitions/modules/accordion.js +2 -2
- package/src/definitions/modules/calendar.js +2 -2
- package/src/definitions/modules/checkbox.js +2 -2
- package/src/definitions/modules/dimmer.js +2 -2
- package/src/definitions/modules/dimmer.less +2 -10
- package/src/definitions/modules/dropdown.js +12 -6
- package/src/definitions/modules/dropdown.less +1 -4
- package/src/definitions/modules/embed.js +2 -2
- package/src/definitions/modules/flyout.js +2 -15
- package/src/definitions/modules/flyout.less +0 -1
- package/src/definitions/modules/modal.js +2 -10
- package/src/definitions/modules/modal.less +0 -2
- package/src/definitions/modules/nag.js +2 -2
- package/src/definitions/modules/popup.js +15 -6
- package/src/definitions/modules/popup.less +2 -0
- package/src/definitions/modules/progress.js +2 -2
- package/src/definitions/modules/rating.js +2 -2
- package/src/definitions/modules/rating.less +2 -4
- package/src/definitions/modules/search.js +2 -2
- package/src/definitions/modules/search.less +0 -1
- package/src/definitions/modules/shape.js +2 -14
- package/src/definitions/modules/sidebar.js +2 -15
- package/src/definitions/modules/sidebar.less +0 -1
- package/src/definitions/modules/slider.js +2 -2
- package/src/definitions/modules/sticky.js +2 -10
- package/src/definitions/modules/sticky.less +0 -7
- package/src/definitions/modules/tab.js +2 -2
- package/src/definitions/modules/toast.js +2 -2
- package/src/definitions/modules/toast.less +3 -1
- package/src/definitions/modules/transition.js +2 -2
- package/src/definitions/views/card.less +4 -15
- package/src/semantic.less +6 -6
- package/src/themes/amazon/elements/button.variables +4 -9
- package/src/themes/bootstrap3/elements/button.variables +3 -7
- package/src/themes/classic/elements/button.variables +6 -12
- package/src/themes/classic/views/card.overrides +2 -4
- package/src/themes/colored/modules/checkbox.variables +1 -3
- package/src/themes/default/collections/form.variables +1 -2
- package/src/themes/default/collections/menu.variables +2 -4
- package/src/themes/default/collections/message.variables +38 -76
- package/src/themes/default/collections/table.variables +2 -4
- package/src/themes/default/elements/button.variables +6 -12
- package/src/themes/default/elements/flag.variables +3 -3
- package/src/themes/default/elements/icon.variables +9 -11
- package/src/themes/default/elements/input.variables +1 -2
- package/src/themes/default/elements/list.variables +3 -7
- package/src/themes/default/elements/placeholder.variables +12 -8
- package/src/themes/default/elements/segment.variables +5 -6
- package/src/themes/default/elements/step.variables +1 -2
- package/src/themes/default/globals/site.variables +41 -83
- package/src/themes/default/modules/accordion.variables +4 -8
- package/src/themes/default/modules/checkbox.variables +4 -8
- package/src/themes/default/modules/dimmer.variables +1 -3
- package/src/themes/default/modules/dropdown.variables +1 -2
- package/src/themes/default/modules/embed.variables +2 -5
- package/src/themes/default/modules/modal.variables +3 -6
- package/src/themes/default/modules/progress.variables +1 -2
- package/src/themes/default/modules/rating.variables +1 -2
- package/src/themes/default/modules/search.variables +3 -6
- package/src/themes/default/modules/shape.variables +1 -2
- package/src/themes/default/modules/slider.variables +3 -1
- package/src/themes/default/views/card.variables +8 -18
- package/src/themes/github/collections/form.variables +1 -2
- package/src/themes/github/collections/menu.variables +1 -2
- package/src/themes/github/collections/message.variables +2 -4
- package/src/themes/github/elements/button.variables +4 -8
- package/src/themes/github/elements/input.variables +1 -2
- package/src/themes/github/modules/dropdown.variables +1 -3
- package/src/themes/material/elements/button.variables +2 -4
- package/src/themes/material/elements/icon.variables +1 -2
- package/src/themes/pulsar/elements/loader.overrides +0 -38
- package/src/themes/raised/elements/button.variables +1 -2
- package/src/themes/round/elements/button.variables +1 -3
- package/src/themes/striped/modules/progress.overrides +11 -11
- package/tasks/README.md +2 -2
- package/tasks/admin/components/create.js +2 -2
- package/tasks/build/assets.js +1 -1
- package/tasks/build/css.js +1 -1
- package/tasks/build/javascript.js +1 -1
- package/tasks/build.js +2 -2
- package/tasks/collections/docs.js +1 -1
- package/tasks/collections/install.js +2 -2
- package/tasks/collections/various.js +1 -1
- package/tasks/config/admin/release.js +5 -5
- package/tasks/config/admin/templates/README.md +8 -8
- package/tasks/config/admin/templates/bower.json +3 -2
- package/tasks/config/admin/templates/component-package.js +3 -3
- package/tasks/config/admin/templates/package.json +5 -5
- package/tasks/config/tasks.js +15 -11
- package/tasks/docs/build.js +2 -2
- package/tasks/install.js +2 -3
- package/tasks/watch.js +1 -1
@@ -3,67 +3,29 @@
|
|
3
3
|
*******************************/
|
4
4
|
|
5
5
|
.ui.loader::after {
|
6
|
-
-webkit-animation: loader-pulsar 2s infinite linear;
|
7
6
|
animation: loader-pulsar 2s infinite linear;
|
8
7
|
}
|
9
8
|
|
10
|
-
@-webkit-keyframes loader-pulsar {
|
11
|
-
0% {
|
12
|
-
-webkit-transform: rotate(0);
|
13
|
-
transform: rotate(0);
|
14
|
-
opacity: 0;
|
15
|
-
}
|
16
|
-
20% {
|
17
|
-
-webkit-transform: rotate(360deg);
|
18
|
-
transform: rotate(360deg);
|
19
|
-
}
|
20
|
-
40% {
|
21
|
-
-webkit-transform: rotate(740deg);
|
22
|
-
transform: rotate(740deg);
|
23
|
-
opacity: 1;
|
24
|
-
}
|
25
|
-
60% {
|
26
|
-
-webkit-transform: rotate(1120deg);
|
27
|
-
transform: rotate(1120deg);
|
28
|
-
opacity: 1;
|
29
|
-
}
|
30
|
-
80% {
|
31
|
-
-webkit-transform: rotate(1440deg);
|
32
|
-
transform: rotate(1440deg);
|
33
|
-
}
|
34
|
-
100% {
|
35
|
-
-webkit-transform: rotate(1800deg);
|
36
|
-
transform: rotate(1800deg);
|
37
|
-
opacity: 0;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
9
|
@keyframes loader-pulsar {
|
42
10
|
0% {
|
43
|
-
-webkit-transform: rotate(0);
|
44
11
|
transform: rotate(0);
|
45
12
|
opacity: 0;
|
46
13
|
}
|
47
14
|
20% {
|
48
|
-
-webkit-transform: rotate(360deg);
|
49
15
|
transform: rotate(360deg);
|
50
16
|
}
|
51
17
|
40% {
|
52
|
-
-webkit-transform: rotate(740deg);
|
53
18
|
transform: rotate(740deg);
|
54
19
|
opacity: 1;
|
55
20
|
}
|
56
21
|
60% {
|
57
|
-
-webkit-transform: rotate(1120deg);
|
58
22
|
transform: rotate(1120deg);
|
59
23
|
opacity: 1;
|
60
24
|
}
|
61
25
|
80% {
|
62
|
-
-webkit-transform: rotate(1440deg);
|
63
26
|
transform: rotate(1440deg);
|
64
27
|
}
|
65
28
|
100% {
|
66
|
-
-webkit-transform: rotate(1800deg);
|
67
29
|
transform: rotate(1800deg);
|
68
30
|
opacity: 0;
|
69
31
|
}
|
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
.ui.progress .bar {
|
6
6
|
background-size: 30px 30px;
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
7
|
+
// prettier-ignore
|
8
|
+
background-image: linear-gradient(
|
9
|
+
135deg,
|
10
|
+
rgba(255, 255, 255, 0.08) 25%,
|
11
|
+
transparent 25%,
|
12
|
+
transparent 50%,
|
13
|
+
rgba(255, 255, 255, 0.08) 50%,
|
14
|
+
rgba(255, 255, 255, 0.08) 75%,
|
15
|
+
transparent 75%,
|
16
|
+
transparent
|
17
|
+
);
|
18
18
|
}
|
19
19
|
|
20
20
|
.ui.progress.active .bar::after {
|
package/tasks/README.md
CHANGED
@@ -7,9 +7,9 @@
|
|
7
7
|
|
8
8
|
## How to use
|
9
9
|
|
10
|
-
These tasks can be imported into your own gulpfile allowing you to avoid using
|
10
|
+
These tasks can be imported into your own gulpfile allowing you to avoid using Fomantic's build tools
|
11
11
|
|
12
12
|
```javascript
|
13
|
-
const watch = require('path/to/
|
13
|
+
const watch = require('path/to/fomantic/tasks/watch');
|
14
14
|
gulp.task('watch ui', watch);
|
15
15
|
```
|
@@ -169,7 +169,7 @@ module.exports = function (callback) {
|
|
169
169
|
.pipe(flatten())
|
170
170
|
.pipe(jsonEditor(function (bower) {
|
171
171
|
bower.name = packageName;
|
172
|
-
bower.description = capitalizedComponent + ' -
|
172
|
+
bower.description = capitalizedComponent + ' - Fomantic UI';
|
173
173
|
if (isJavascript) {
|
174
174
|
bower.main = isCSS
|
175
175
|
? [component + '.js', component + '.css']
|
@@ -205,7 +205,7 @@ module.exports = function (callback) {
|
|
205
205
|
if (version) {
|
206
206
|
npm.version = version;
|
207
207
|
}
|
208
|
-
npm.title = '
|
208
|
+
npm.title = 'Fomantic UI - ' + capitalizedComponent;
|
209
209
|
npm.description = 'Single component release of ' + component;
|
210
210
|
npm.repository = {
|
211
211
|
type: 'git',
|
package/tasks/build/assets.js
CHANGED
@@ -29,7 +29,7 @@ function build(src, config) {
|
|
29
29
|
|
30
30
|
function buildAssets(src, config, callback) {
|
31
31
|
if (!install.isSetup()) {
|
32
|
-
console.error('Cannot build assets. Run "gulp install" to set-up
|
32
|
+
console.error('Cannot build assets. Run "gulp install" to set-up Fomantic');
|
33
33
|
callback();
|
34
34
|
|
35
35
|
return;
|
package/tasks/build/css.js
CHANGED
@@ -122,7 +122,7 @@ function pack(type, compress) {
|
|
122
122
|
|
123
123
|
function buildCSS(src, type, config, opts, callback) {
|
124
124
|
if (!install.isSetup()) {
|
125
|
-
console.error('Cannot build CSS files. Run "gulp install" to set-up
|
125
|
+
console.error('Cannot build CSS files. Run "gulp install" to set-up Fomantic');
|
126
126
|
callback();
|
127
127
|
|
128
128
|
return;
|
@@ -88,7 +88,7 @@ function pack(type, compress) {
|
|
88
88
|
|
89
89
|
function buildJS(src, type, config, callback) {
|
90
90
|
if (!install.isSetup()) {
|
91
|
-
console.error('Cannot build Javascript. Run "gulp install" to set-up
|
91
|
+
console.error('Cannot build Javascript. Run "gulp install" to set-up Fomantic');
|
92
92
|
callback();
|
93
93
|
|
94
94
|
return;
|
package/tasks/build.js
CHANGED
@@ -11,10 +11,10 @@ const
|
|
11
11
|
;
|
12
12
|
|
13
13
|
module.exports = function (callback) {
|
14
|
-
console.info('Building
|
14
|
+
console.info('Building Fomantic');
|
15
15
|
|
16
16
|
if (!install.isSetup()) {
|
17
|
-
console.error('Cannot find semantic.json. Run "gulp install" to set-up
|
17
|
+
console.error('Cannot find semantic.json. Run "gulp install" to set-up Fomantic');
|
18
18
|
|
19
19
|
return 1;
|
20
20
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
/*
|
6
6
|
Lets you serve files to a local documentation instance
|
7
|
-
https://github.com/
|
7
|
+
https://github.com/fomantic/Fomantic-UI-Docs/
|
8
8
|
*/
|
9
9
|
module.exports = function (gulp) {
|
10
10
|
let
|
@@ -17,5 +17,5 @@ module.exports = function (gulp) {
|
|
17
17
|
gulp.task('install').description = 'Runs set-up';
|
18
18
|
|
19
19
|
gulp.task('check-install', checkInstall);
|
20
|
-
gulp.task('check-install').description = 'Displays current version of
|
20
|
+
gulp.task('check-install').description = 'Displays current version of Fomantic';
|
21
21
|
};
|
@@ -27,8 +27,8 @@ module.exports = {
|
|
27
27
|
notes: './RELEASE-NOTES.md',
|
28
28
|
},
|
29
29
|
|
30
|
-
org: '
|
31
|
-
repo: '
|
30
|
+
org: 'fomantic',
|
31
|
+
repo: 'Fomantic-UI',
|
32
32
|
|
33
33
|
// files created for package managers
|
34
34
|
files: {
|
@@ -39,18 +39,18 @@ module.exports = {
|
|
39
39
|
},
|
40
40
|
|
41
41
|
// root name for distribution repos
|
42
|
-
distRepoRoot: '
|
42
|
+
distRepoRoot: 'Fomantic-UI-',
|
43
43
|
|
44
44
|
// root name for single component repos
|
45
45
|
componentRepoRoot: 'UI-',
|
46
46
|
|
47
47
|
// root name for package managers
|
48
|
-
packageRoot: '
|
48
|
+
packageRoot: 'fomantic-ui-',
|
49
49
|
|
50
50
|
// root path to repos
|
51
51
|
outputRoot: '../repos/',
|
52
52
|
|
53
|
-
homepage: '
|
53
|
+
homepage: 'https://www.fomantic-ui.com',
|
54
54
|
|
55
55
|
// distributions that get separate repos
|
56
56
|
distributions: [
|
@@ -1,32 +1,32 @@
|
|
1
|
-
#
|
1
|
+
# Fomantic {Component}
|
2
2
|
|
3
|
-
This repository contains pre-compiled {component} files using the default themes. This is intended for use in projects that do not need all the bells and whistles of
|
3
|
+
This repository contains pre-compiled {component} files using the default themes. This is intended for use in projects that do not need all the bells and whistles of Fomantic UI, and want to keep file size to a minimum.
|
4
4
|
|
5
|
-
For the latest changes please see the [Release Notes](https://github.com/
|
5
|
+
For the latest changes please see the [Release Notes](https://github.com/fomantic/UI-{Component}/blob/master/RELEASE-NOTES.md)
|
6
6
|
|
7
7
|
**Special Note**
|
8
8
|
An update in `2.0.8` has fixed an issue which may have prevented some single component modules from working correctly. Please see notes in [this pull request](https://github.com/Semantic-Org/Semantic-UI/pull/2816).
|
9
9
|
|
10
|
-
If you're looking for the full version of
|
10
|
+
If you're looking for the full version of Fomantic including all components and build tools [check out the main project repository](https://github.com/fomantic/Fomantic-UI)
|
11
11
|
|
12
12
|
#### To install with Bower
|
13
13
|
```
|
14
|
-
bower install
|
14
|
+
bower install fomantic-ui-{component}
|
15
15
|
```
|
16
16
|
|
17
17
|
#### To install with NPM
|
18
18
|
```
|
19
|
-
npm install
|
19
|
+
npm install fomantic-ui-{component}
|
20
20
|
```
|
21
21
|
|
22
22
|
#### To install with Meteor
|
23
23
|
```
|
24
|
-
meteor add
|
24
|
+
meteor add fomantic:ui-{component}
|
25
25
|
```
|
26
26
|
|
27
27
|
|
28
28
|
## Addendum
|
29
29
|
|
30
|
-
This element's definitions (required class names, html structures) are available in the [UI Docs](
|
30
|
+
This element's definitions (required class names, html structures) are available in the [UI Docs](https://www.fomantic-ui.com)
|
31
31
|
|
32
32
|
Please consider checking out [all the benefits to theming](http://www.learnsemantic.com/guide/expert.html) before using these stand-alone releases.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name" : "Component",
|
3
3
|
"description" : "Component distribution",
|
4
|
-
"homepage" : "
|
4
|
+
"homepage" : "https://www.fomantic-ui.com",
|
5
5
|
"author": {
|
6
6
|
"name" : "Jack Lukic",
|
7
7
|
"web" : "http://www.jacklukic.com"
|
@@ -10,13 +10,14 @@
|
|
10
10
|
"./index.js"
|
11
11
|
],
|
12
12
|
"keywords": [
|
13
|
+
"fomantic",
|
13
14
|
"semantic",
|
14
15
|
"ui",
|
15
16
|
"css3",
|
16
17
|
"framework"
|
17
18
|
],
|
18
19
|
"license" : [
|
19
|
-
"
|
20
|
+
"https://github.com/fomantic/Fomantic-UI/blob/master/LICENSE.md"
|
20
21
|
],
|
21
22
|
"ignore": [
|
22
23
|
"docs",
|
@@ -1,8 +1,8 @@
|
|
1
1
|
Package.describe({
|
2
|
-
name: '
|
3
|
-
summary: '
|
2
|
+
name: 'fomantic:ui-{component}',
|
3
|
+
summary: 'Fomantic UI - {Component}: Single component release',
|
4
4
|
version: '{version}',
|
5
|
-
git: 'git://github.com/
|
5
|
+
git: 'git://github.com/fomantic/UI-{Component}.git',
|
6
6
|
});
|
7
7
|
|
8
8
|
Package.onUse(function (api) {
|
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
|
-
"name": "
|
2
|
+
"name": "fomantic",
|
3
3
|
"version": "1.0.0",
|
4
|
-
"title": "
|
4
|
+
"title": "Fomantic UI",
|
5
5
|
"description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.",
|
6
|
-
"homepage": "
|
6
|
+
"homepage": "https://www.fomantic-ui.com",
|
7
7
|
"author": "Jack Lukic <jack@semantic-ui.com>",
|
8
8
|
"license": "MIT",
|
9
9
|
"repository": {
|
10
10
|
"type": "git",
|
11
|
-
"url": "git://github.com/
|
11
|
+
"url": "git://github.com/fomantic/Fomantic-UI.git"
|
12
12
|
},
|
13
13
|
"bugs": {
|
14
|
-
"url": "https://github.com/
|
14
|
+
"url": "https://github.com/fomantic/Fomantic-UI/issues"
|
15
15
|
},
|
16
16
|
"devDependencies": {}
|
17
17
|
}
|
package/tasks/config/tasks.js
CHANGED
@@ -9,13 +9,19 @@ let defaultBrowsers = browserslist(browserslist.defaults);
|
|
9
9
|
let userBrowsers = browserslist();
|
10
10
|
let hasBrowserslistConfig = JSON.stringify(defaultBrowsers) !== JSON.stringify(userBrowsers);
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
12
|
+
var prefix = config.prefix || {};
|
13
|
+
if (!prefix.overrideBrowserslist && !hasBrowserslistConfig) {
|
14
|
+
prefix.overrideBrowserslist = [
|
15
|
+
'last 2 Chrome versions',
|
16
|
+
'last 2 Firefox versions',
|
17
|
+
'last 2 Safari versions',
|
18
|
+
'last 4 iOS major versions',
|
19
|
+
'last 4 Android major versions',
|
20
|
+
'last 4 ChromeAndroid versions',
|
21
|
+
'Edge 12',
|
22
|
+
'ie 11',
|
23
|
+
];
|
24
|
+
}
|
19
25
|
|
20
26
|
// Node 12 does not support ??, so a little polyfill
|
21
27
|
let nullish = (value, fallback) => (value !== undefined && value !== null ? value : fallback);
|
@@ -136,10 +142,8 @@ module.exports = {
|
|
136
142
|
},
|
137
143
|
},
|
138
144
|
|
139
|
-
/*
|
140
|
-
prefix:
|
141
|
-
overrideBrowserslist: overrideBrowserslist,
|
142
|
-
},
|
145
|
+
/* Browserslist Prefix config */
|
146
|
+
prefix: prefix,
|
143
147
|
|
144
148
|
/* File Renames */
|
145
149
|
rename: {
|
package/tasks/docs/build.js
CHANGED
@@ -95,10 +95,10 @@ module.exports = function (callback) {
|
|
95
95
|
Build
|
96
96
|
--------------- */
|
97
97
|
|
98
|
-
console.info('Building
|
98
|
+
console.info('Building Fomantic for docs');
|
99
99
|
|
100
100
|
if (!install.isSetup()) {
|
101
|
-
console.error('Cannot build files. Run "gulp install" to set-up
|
101
|
+
console.error('Cannot build files. Run "gulp install" to set-up Fomantic');
|
102
102
|
callback();
|
103
103
|
|
104
104
|
return;
|
package/tasks/install.js
CHANGED
@@ -7,9 +7,8 @@
|
|
7
7
|
|
8
8
|
For more notes
|
9
9
|
|
10
|
-
*
|
11
|
-
* (NPM)
|
12
|
-
* (NPM) Upgrade - Will look for semantic install, copy over files and update if new version
|
10
|
+
* (NPM) Install - Will ask for where to put fomantic (outside pm folder)
|
11
|
+
* (NPM) Upgrade - Will look for fomantic install, copy over files and update if new version
|
13
12
|
* Standard installer runs asking for paths to site files etc
|
14
13
|
*/
|
15
14
|
|
package/tasks/watch.js
CHANGED
@@ -22,7 +22,7 @@ const
|
|
22
22
|
// export task
|
23
23
|
module.exports = function () {
|
24
24
|
if (!install.isSetup()) {
|
25
|
-
console.error('Cannot watch files. Run "gulp install" to set-up
|
25
|
+
console.error('Cannot watch files. Run "gulp install" to set-up Fomantic');
|
26
26
|
|
27
27
|
return;
|
28
28
|
}
|