fomantic-ui 2.9.4-beta.4 → 2.9.4-beta.41
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/.all-contributorsrc +20 -1
- package/.eslintrc.js +17 -0
- package/.github/FUNDING.yml +1 -1
- package/.github/workflows/ci.yml +5 -5
- package/.github/workflows/nightly.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/CONTRIBUTORS.md +2 -0
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +4 -2
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +7 -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 +19 -3
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +4 -2
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +2 -2
- 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 +10 -4
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +3 -3
- 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 +4 -2
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +18 -20
- package/dist/components/dropdown.js +99 -31
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +3 -3
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +17 -7
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +3 -3
- 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 +4 -2
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +15 -5
- package/dist/components/form.js +42 -17
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +3 -3
- package/dist/components/grid.css +5 -5
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +4 -1
- package/dist/components/header.min.css +2 -2
- 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 +30 -10
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -2
- package/dist/components/label.min.css +2 -2
- 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 -2
- 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 +7 -3
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +11 -5
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +3 -3
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -2
- package/dist/components/popup.js +10 -4
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +4 -2
- package/dist/components/progress.min.css +1 -1
- 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 +1 -1
- package/dist/components/rating.js +4 -2
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- 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 +64 -12
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +3 -3
- 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 +4 -2
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +4 -2
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +4 -2
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +4 -2
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +4 -2
- package/dist/components/state.min.js +2 -2
- 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 +4 -2
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +4 -2
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +7 -7
- 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 +1 -1
- package/dist/components/toast.js +4 -2
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +7 -3
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +4 -2
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +152 -101
- package/dist/semantic.js +336 -121
- package/dist/semantic.min.css +3 -3
- package/dist/semantic.min.js +3 -3
- package/dist/themes/basic/assets/fonts/LICENSE.txt +91 -0
- package/dist/themes/default/assets/fonts/LICENSE_Lato.txt +94 -0
- package/dist/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
- package/dist/themes/github/assets/fonts/LICENSE.txt +94 -0
- package/dist/themes/material/assets/fonts/LICENSE.txt +202 -0
- package/package.json +3 -3
- package/src/definitions/behaviors/api.js +6 -2
- package/src/definitions/behaviors/form.js +41 -16
- package/src/definitions/behaviors/state.js +3 -1
- package/src/definitions/behaviors/visibility.js +3 -1
- package/src/definitions/collections/form.less +14 -4
- package/src/definitions/collections/grid.less +4 -4
- package/src/definitions/collections/table.less +6 -6
- package/src/definitions/elements/button.less +25 -3
- package/src/definitions/elements/header.less +5 -0
- package/src/definitions/elements/input.less +14 -6
- package/src/definitions/globals/site.js +3 -1
- package/src/definitions/modules/accordion.js +3 -1
- package/src/definitions/modules/calendar.js +3 -1
- package/src/definitions/modules/checkbox.js +9 -3
- package/src/definitions/modules/dimmer.js +3 -1
- package/src/definitions/modules/dropdown.js +98 -30
- package/src/definitions/modules/dropdown.less +12 -5
- package/src/definitions/modules/embed.js +16 -6
- package/src/definitions/modules/flyout.js +3 -1
- package/src/definitions/modules/modal.js +6 -2
- package/src/definitions/modules/nag.js +10 -4
- package/src/definitions/modules/popup.js +9 -3
- package/src/definitions/modules/progress.js +3 -1
- package/src/definitions/modules/rating.js +3 -1
- package/src/definitions/modules/search.js +63 -11
- package/src/definitions/modules/search.less +9 -2
- package/src/definitions/modules/shape.js +3 -1
- package/src/definitions/modules/sidebar.js +3 -1
- package/src/definitions/modules/slider.js +3 -1
- package/src/definitions/modules/sticky.js +3 -1
- package/src/definitions/modules/tab.js +3 -1
- package/src/definitions/modules/toast.js +3 -1
- package/src/definitions/modules/transition.js +6 -2
- package/src/themes/basic/assets/fonts/LICENSE.txt +91 -0
- package/src/themes/default/assets/fonts/LICENSE_Lato.txt +94 -0
- package/src/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
- package/src/themes/default/collections/form.variables +1 -0
- package/src/themes/default/elements/button.variables +2 -0
- package/src/themes/default/globals/site.variables +3 -0
- package/src/themes/default/globals/variation.variables +3 -0
- package/src/themes/default/modules/dropdown.variables +3 -0
- package/src/themes/default/modules/search.variables +3 -0
- package/src/themes/github/assets/fonts/LICENSE.txt +94 -0
- package/src/themes/material/assets/fonts/LICENSE.txt +202 -0
- package/types/fomantic-ui-accordion.d.ts +1 -1
- package/types/fomantic-ui-api.d.ts +9 -3
- package/types/fomantic-ui-calendar.d.ts +93 -8
- package/types/fomantic-ui-checkbox.d.ts +14 -4
- package/types/fomantic-ui-dimmer.d.ts +1 -1
- package/types/fomantic-ui-dropdown.d.ts +36 -35
- package/types/fomantic-ui-embed.d.ts +1 -1
- package/types/fomantic-ui-flyout.d.ts +24 -10
- package/types/fomantic-ui-form.d.ts +123 -15
- package/types/fomantic-ui-modal.d.ts +75 -5
- package/types/fomantic-ui-nag.d.ts +4 -4
- package/types/fomantic-ui-popup.d.ts +11 -11
- package/types/fomantic-ui-progress.d.ts +12 -6
- package/types/fomantic-ui-rating.d.ts +1 -1
- package/types/fomantic-ui-search.d.ts +43 -13
- package/types/fomantic-ui-shape.d.ts +2 -2
- package/types/fomantic-ui-sidebar.d.ts +4 -4
- package/types/fomantic-ui-slider.d.ts +1 -1
- package/types/fomantic-ui-sticky.d.ts +1 -1
- package/types/fomantic-ui-tab.d.ts +5 -5
- package/types/fomantic-ui-toast.d.ts +7 -2
- package/types/fomantic-ui-transition.d.ts +29 -1
- package/types/fomantic-ui-visibility.d.ts +3 -3
- package/types/index.d.ts +25 -25
- package/types/tests.ts +188 -0
- package/types/tsconfig.json +1 -1
- package/types/fomantic-ui-tests.ts +0 -25
@@ -135,7 +135,10 @@
|
|
135
135
|
// this makes sure $.extend does not add specified search fields to default fields
|
136
136
|
// this is the only setting which should not extend defaults
|
137
137
|
if (parameters && parameters.searchFields !== undefined) {
|
138
|
-
settings.searchFields = parameters.searchFields
|
138
|
+
settings.searchFields = Array.isArray(parameters.searchFields)
|
139
|
+
? parameters.searchFields
|
140
|
+
: [parameters.searchFields]
|
141
|
+
;
|
139
142
|
}
|
140
143
|
},
|
141
144
|
},
|
@@ -169,7 +172,9 @@
|
|
169
172
|
callback = function () {
|
170
173
|
module.cancel.query();
|
171
174
|
module.remove.focus();
|
172
|
-
module.timer = setTimeout(function () {
|
175
|
+
module.timer = setTimeout(function () {
|
176
|
+
module.hideResults();
|
177
|
+
}, settings.hideDelay);
|
173
178
|
}
|
174
179
|
;
|
175
180
|
if (pageLostFocus) {
|
@@ -629,7 +634,7 @@
|
|
629
634
|
exactResults = [],
|
630
635
|
fuzzyResults = [],
|
631
636
|
searchExp = searchTerm.replace(regExp.escape, '\\$&'),
|
632
|
-
matchRegExp
|
637
|
+
matchRegExp = new RegExp(regExp.beginsWith + searchExp, settings.ignoreSearchCase ? 'i' : ''),
|
633
638
|
|
634
639
|
// avoid duplicates when pushing results
|
635
640
|
addResult = function (array, result) {
|
@@ -665,13 +670,14 @@
|
|
665
670
|
var concatenatedContent = [];
|
666
671
|
$.each(searchFields, function (index, field) {
|
667
672
|
var
|
668
|
-
fieldExists =
|
673
|
+
fieldExists = typeof content[field] === 'string' || typeof content[field] === 'number'
|
669
674
|
;
|
670
675
|
if (fieldExists) {
|
671
676
|
var text;
|
672
677
|
text = typeof content[field] === 'string'
|
673
678
|
? module.remove.diacritics(content[field])
|
674
679
|
: content[field].toString();
|
680
|
+
text = $('<div/>', { html: text }).text().trim();
|
675
681
|
if (settings.fullTextSearch === 'all') {
|
676
682
|
concatenatedContent.push(text);
|
677
683
|
if (index < lastSearchFieldIndex) {
|
@@ -702,8 +708,10 @@
|
|
702
708
|
},
|
703
709
|
},
|
704
710
|
exactSearch: function (query, term) {
|
705
|
-
|
706
|
-
|
711
|
+
if (settings.ignoreSearchCase) {
|
712
|
+
query = query.toLowerCase();
|
713
|
+
term = term.toLowerCase();
|
714
|
+
}
|
707
715
|
|
708
716
|
return term.indexOf(query) > -1;
|
709
717
|
},
|
@@ -730,8 +738,10 @@
|
|
730
738
|
if (typeof query !== 'string') {
|
731
739
|
return false;
|
732
740
|
}
|
733
|
-
|
734
|
-
|
741
|
+
if (settings.ignoreSearchCase) {
|
742
|
+
query = query.toLowerCase();
|
743
|
+
term = term.toLowerCase();
|
744
|
+
}
|
735
745
|
if (queryLength > termLength) {
|
736
746
|
return false;
|
737
747
|
}
|
@@ -1086,6 +1096,39 @@
|
|
1086
1096
|
response[fields.results] = response[fields.results].slice(0, settings.maxResults);
|
1087
1097
|
}
|
1088
1098
|
}
|
1099
|
+
if (settings.highlightMatches) {
|
1100
|
+
var results = response[fields.results],
|
1101
|
+
regExpIgnore = settings.ignoreSearchCase ? 'i' : '',
|
1102
|
+
querySplit = module.get.value().split(''),
|
1103
|
+
diacriticReg = settings.ignoreDiacritics ? '[\u0300-\u036F]?' : '',
|
1104
|
+
htmlReg = '(?![^<]*>)',
|
1105
|
+
markedRegExp = new RegExp(htmlReg + '(' + querySplit.join(diacriticReg + ')(.*?)' + htmlReg + '(') + diacriticReg + ')', regExpIgnore),
|
1106
|
+
markedReplacer = function () {
|
1107
|
+
var args = [].slice.call(arguments, 1, querySplit.length * 2).map(function (x, i) {
|
1108
|
+
return i & 1 ? x : '<mark>' + x + '</mark>'; // eslint-disable-line no-bitwise
|
1109
|
+
});
|
1110
|
+
|
1111
|
+
return args.join('');
|
1112
|
+
}
|
1113
|
+
;
|
1114
|
+
$.each(results, function (label, content) {
|
1115
|
+
$.each(settings.searchFields, function (index, field) {
|
1116
|
+
var
|
1117
|
+
fieldExists = typeof content[field] === 'string' || typeof content[field] === 'number'
|
1118
|
+
;
|
1119
|
+
if (fieldExists) {
|
1120
|
+
var markedHTML = typeof content[field] === 'string'
|
1121
|
+
? content[field]
|
1122
|
+
: content[field].toString();
|
1123
|
+
if (settings.ignoreDiacritics) {
|
1124
|
+
markedHTML = markedHTML.normalize('NFD');
|
1125
|
+
}
|
1126
|
+
markedHTML = markedHTML.replace(/<\/?mark>/g, '');
|
1127
|
+
response[fields.results][label][field] = markedHTML.replace(markedRegExp, markedReplacer);
|
1128
|
+
}
|
1129
|
+
});
|
1130
|
+
});
|
1131
|
+
}
|
1089
1132
|
if (isFunction(template)) {
|
1090
1133
|
html = template(response, fields, settings.preserveHTML);
|
1091
1134
|
} else {
|
@@ -1171,7 +1214,9 @@
|
|
1171
1214
|
});
|
1172
1215
|
}
|
1173
1216
|
clearTimeout(module.performance.timer);
|
1174
|
-
module.performance.timer = setTimeout(function () {
|
1217
|
+
module.performance.timer = setTimeout(function () {
|
1218
|
+
module.performance.display();
|
1219
|
+
}, 500);
|
1175
1220
|
},
|
1176
1221
|
display: function () {
|
1177
1222
|
var
|
@@ -1312,9 +1357,15 @@
|
|
1312
1357
|
// search anywhere in value (set to 'exact' to require exact matches
|
1313
1358
|
fullTextSearch: 'exact',
|
1314
1359
|
|
1360
|
+
// Whether search result should highlight matching strings
|
1361
|
+
highlightMatches: false,
|
1362
|
+
|
1315
1363
|
// match results also if they contain diacritics of the same base character (for example searching for "a" will also match "á" or "â" or "à", etc...)
|
1316
1364
|
ignoreDiacritics: false,
|
1317
1365
|
|
1366
|
+
// whether to consider case sensitivity on local searching
|
1367
|
+
ignoreSearchCase: true,
|
1368
|
+
|
1318
1369
|
// whether to add events to prompt automatically
|
1319
1370
|
automatic: true,
|
1320
1371
|
|
@@ -1432,8 +1483,9 @@
|
|
1432
1483
|
};
|
1433
1484
|
if (shouldEscape.test(string)) {
|
1434
1485
|
string = string.replace(/&(?![\d#a-z]{1,12};)/gi, '&');
|
1435
|
-
|
1436
|
-
|
1486
|
+
string = string.replace(badChars, escapedChar);
|
1487
|
+
// FUI controlled HTML is still allowed
|
1488
|
+
string = string.replace(/<(\/)*mark>/g, '<$1mark>');
|
1437
1489
|
}
|
1438
1490
|
|
1439
1491
|
return string;
|
@@ -565,8 +565,8 @@
|
|
565
565
|
.ui.search {
|
566
566
|
font-size: @relativeMedium;
|
567
567
|
}
|
568
|
-
& when not (@
|
569
|
-
each(@
|
568
|
+
& when not (@variationSearchSizes = false) {
|
569
|
+
each(@variationSearchSizes, {
|
570
570
|
@s: @{value}SearchSize;
|
571
571
|
.ui.@{value}.search {
|
572
572
|
font-size: @@s;
|
@@ -574,6 +574,13 @@
|
|
574
574
|
});
|
575
575
|
}
|
576
576
|
|
577
|
+
& when (@variationSearchHighlightMatches) {
|
578
|
+
.ui.search > .results mark {
|
579
|
+
background: @highlightMatchesBackground;
|
580
|
+
color: @highlightMatchesColor;
|
581
|
+
}
|
582
|
+
}
|
583
|
+
|
577
584
|
/* --------------
|
578
585
|
Mobile
|
579
586
|
--------------- */
|
@@ -623,7 +623,9 @@
|
|
623
623
|
});
|
624
624
|
}
|
625
625
|
clearTimeout(module.performance.timer);
|
626
|
-
module.performance.timer = setTimeout(function () {
|
626
|
+
module.performance.timer = setTimeout(function () {
|
627
|
+
module.performance.display();
|
628
|
+
}, 500);
|
627
629
|
},
|
628
630
|
display: function () {
|
629
631
|
var
|
@@ -871,7 +871,9 @@
|
|
871
871
|
});
|
872
872
|
}
|
873
873
|
clearTimeout(module.performance.timer);
|
874
|
-
module.performance.timer = setTimeout(function () {
|
874
|
+
module.performance.timer = setTimeout(function () {
|
875
|
+
module.performance.display();
|
876
|
+
}, 500);
|
875
877
|
},
|
876
878
|
display: function () {
|
877
879
|
var
|
@@ -1267,7 +1267,9 @@
|
|
1267
1267
|
});
|
1268
1268
|
}
|
1269
1269
|
clearTimeout(module.performance.timer);
|
1270
|
-
module.performance.timer = setTimeout(function () {
|
1270
|
+
module.performance.timer = setTimeout(function () {
|
1271
|
+
module.performance.display();
|
1272
|
+
}, 500);
|
1271
1273
|
},
|
1272
1274
|
display: function () {
|
1273
1275
|
var
|
@@ -746,7 +746,9 @@
|
|
746
746
|
});
|
747
747
|
}
|
748
748
|
clearTimeout(module.performance.timer);
|
749
|
-
module.performance.timer = setTimeout(function () {
|
749
|
+
module.performance.timer = setTimeout(function () {
|
750
|
+
module.performance.display();
|
751
|
+
}, 0);
|
750
752
|
},
|
751
753
|
display: function () {
|
752
754
|
var
|
@@ -788,7 +788,9 @@
|
|
788
788
|
});
|
789
789
|
}
|
790
790
|
clearTimeout(module.performance.timer);
|
791
|
-
module.performance.timer = setTimeout(function () {
|
791
|
+
module.performance.timer = setTimeout(function () {
|
792
|
+
module.performance.display();
|
793
|
+
}, 500);
|
792
794
|
},
|
793
795
|
display: function () {
|
794
796
|
var
|
@@ -702,7 +702,9 @@
|
|
702
702
|
});
|
703
703
|
}
|
704
704
|
clearTimeout(module.performance.timer);
|
705
|
-
module.performance.timer = setTimeout(function () {
|
705
|
+
module.performance.timer = setTimeout(function () {
|
706
|
+
module.performance.display();
|
707
|
+
}, 500);
|
706
708
|
},
|
707
709
|
display: function () {
|
708
710
|
var
|
@@ -142,7 +142,9 @@
|
|
142
142
|
? ($allModules.length - index) * interval
|
143
143
|
: index * interval;
|
144
144
|
module.debug('Delaying animation by', delay);
|
145
|
-
setTimeout(function () {
|
145
|
+
setTimeout(function () {
|
146
|
+
module.animate();
|
147
|
+
}, delay);
|
146
148
|
},
|
147
149
|
|
148
150
|
animate: function (overrideSettings) {
|
@@ -849,7 +851,9 @@
|
|
849
851
|
});
|
850
852
|
}
|
851
853
|
clearTimeout(module.performance.timer);
|
852
|
-
module.performance.timer = setTimeout(function () {
|
854
|
+
module.performance.timer = setTimeout(function () {
|
855
|
+
module.performance.display();
|
856
|
+
}, 500);
|
853
857
|
},
|
854
858
|
display: function () {
|
855
859
|
var
|
@@ -0,0 +1,91 @@
|
|
1
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
2
|
+
This license is copied below, and is also available with a FAQ at:
|
3
|
+
http://scripts.sil.org/OFL
|
4
|
+
|
5
|
+
|
6
|
+
-----------------------------------------------------------
|
7
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
8
|
+
-----------------------------------------------------------
|
9
|
+
|
10
|
+
PREAMBLE
|
11
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
12
|
+
development of collaborative font projects, to support the font creation
|
13
|
+
efforts of academic and linguistic communities, and to provide a free and
|
14
|
+
open framework in which fonts may be shared and improved in partnership
|
15
|
+
with others.
|
16
|
+
|
17
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
18
|
+
redistributed freely as long as they are not sold by themselves. The
|
19
|
+
fonts, including any derivative works, can be bundled, embedded,
|
20
|
+
redistributed and/or sold with any software provided that any reserved
|
21
|
+
names are not used by derivative works. The fonts and derivatives,
|
22
|
+
however, cannot be released under any other type of license. The
|
23
|
+
requirement for fonts to remain under this license does not apply
|
24
|
+
to any document created using the fonts or their derivatives.
|
25
|
+
|
26
|
+
DEFINITIONS
|
27
|
+
"Font Software" refers to the set of files released by the Copyright
|
28
|
+
Holder(s) under this license and clearly marked as such. This may
|
29
|
+
include source files, build scripts and documentation.
|
30
|
+
|
31
|
+
"Reserved Font Name" refers to any names specified as such after the
|
32
|
+
copyright statement(s).
|
33
|
+
|
34
|
+
"Original Version" refers to the collection of Font Software components as
|
35
|
+
distributed by the Copyright Holder(s).
|
36
|
+
|
37
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
38
|
+
or substituting -- in part or in whole -- any of the components of the
|
39
|
+
Original Version, by changing formats or by porting the Font Software to a
|
40
|
+
new environment.
|
41
|
+
|
42
|
+
"Author" refers to any designer, engineer, programmer, technical
|
43
|
+
writer or other person who contributed to the Font Software.
|
44
|
+
|
45
|
+
PERMISSION & CONDITIONS
|
46
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
47
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
48
|
+
redistribute, and sell modified and unmodified copies of the Font
|
49
|
+
Software, subject to the following conditions:
|
50
|
+
|
51
|
+
1) Neither the Font Software nor any of its individual components,
|
52
|
+
in Original or Modified Versions, may be sold by itself.
|
53
|
+
|
54
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
55
|
+
redistributed and/or sold with any software, provided that each copy
|
56
|
+
contains the above copyright notice and this license. These can be
|
57
|
+
included either as stand-alone text files, human-readable headers or
|
58
|
+
in the appropriate machine-readable metadata fields within text or
|
59
|
+
binary files as long as those fields can be easily viewed by the user.
|
60
|
+
|
61
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
62
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
63
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
64
|
+
presented to the users.
|
65
|
+
|
66
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
67
|
+
Software shall not be used to promote, endorse or advertise any
|
68
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
69
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
70
|
+
permission.
|
71
|
+
|
72
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
73
|
+
must be distributed entirely under this license, and must not be
|
74
|
+
distributed under any other license. The requirement for fonts to
|
75
|
+
remain under this license does not apply to any document created
|
76
|
+
using the Font Software.
|
77
|
+
|
78
|
+
TERMINATION
|
79
|
+
This license becomes null and void if any of the above conditions are
|
80
|
+
not met.
|
81
|
+
|
82
|
+
DISCLAIMER
|
83
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
84
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
85
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
86
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
87
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
88
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
89
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
90
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
91
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
@@ -0,0 +1,94 @@
|
|
1
|
+
Copyright (c) 2010-2015, Łukasz Dziedzic (dziedzic@typoland.com),
|
2
|
+
with Reserved Font Name Lato.
|
3
|
+
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
6
|
+
http://scripts.sil.org/OFL
|
7
|
+
|
8
|
+
|
9
|
+
-----------------------------------------------------------
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
11
|
+
-----------------------------------------------------------
|
12
|
+
|
13
|
+
PREAMBLE
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
15
|
+
development of collaborative font projects, to support the font creation
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
18
|
+
with others.
|
19
|
+
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
25
|
+
however, cannot be released under any other type of license. The
|
26
|
+
requirement for fonts to remain under this license does not apply
|
27
|
+
to any document created using the fonts or their derivatives.
|
28
|
+
|
29
|
+
DEFINITIONS
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
32
|
+
include source files, build scripts and documentation.
|
33
|
+
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
35
|
+
copyright statement(s).
|
36
|
+
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
38
|
+
distributed by the Copyright Holder(s).
|
39
|
+
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
43
|
+
new environment.
|
44
|
+
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
46
|
+
writer or other person who contributed to the Font Software.
|
47
|
+
|
48
|
+
PERMISSION & CONDITIONS
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
52
|
+
Software, subject to the following conditions:
|
53
|
+
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
56
|
+
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
59
|
+
contains the above copyright notice and this license. These can be
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
63
|
+
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
67
|
+
presented to the users.
|
68
|
+
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
73
|
+
permission.
|
74
|
+
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
76
|
+
must be distributed entirely under this license, and must not be
|
77
|
+
distributed under any other license. The requirement for fonts to
|
78
|
+
remain under this license does not apply to any document created
|
79
|
+
using the Font Software.
|
80
|
+
|
81
|
+
TERMINATION
|
82
|
+
This license becomes null and void if any of the above conditions are
|
83
|
+
not met.
|
84
|
+
|
85
|
+
DISCLAIMER
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
@@ -0,0 +1,165 @@
|
|
1
|
+
Fonticons, Inc. (https://fontawesome.com)
|
2
|
+
|
3
|
+
--------------------------------------------------------------------------------
|
4
|
+
|
5
|
+
Font Awesome Free License
|
6
|
+
|
7
|
+
Font Awesome Free is free, open source, and GPL friendly. You can use it for
|
8
|
+
commercial projects, open source projects, or really almost whatever you want.
|
9
|
+
Full Font Awesome Free license: https://fontawesome.com/license/free.
|
10
|
+
|
11
|
+
--------------------------------------------------------------------------------
|
12
|
+
|
13
|
+
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
|
14
|
+
|
15
|
+
The Font Awesome Free download is licensed under a Creative Commons
|
16
|
+
Attribution 4.0 International License and applies to all icons packaged
|
17
|
+
as SVG and JS file types.
|
18
|
+
|
19
|
+
--------------------------------------------------------------------------------
|
20
|
+
|
21
|
+
# Fonts: SIL OFL 1.1 License
|
22
|
+
|
23
|
+
In the Font Awesome Free download, the SIL OFL license applies to all icons
|
24
|
+
packaged as web and desktop font files.
|
25
|
+
|
26
|
+
Copyright (c) 2023 Fonticons, Inc. (https://fontawesome.com)
|
27
|
+
with Reserved Font Name: "Font Awesome".
|
28
|
+
|
29
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
30
|
+
This license is copied below, and is also available with a FAQ at:
|
31
|
+
http://scripts.sil.org/OFL
|
32
|
+
|
33
|
+
SIL OPEN FONT LICENSE
|
34
|
+
Version 1.1 - 26 February 2007
|
35
|
+
|
36
|
+
PREAMBLE
|
37
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
38
|
+
development of collaborative font projects, to support the font creation
|
39
|
+
efforts of academic and linguistic communities, and to provide a free and
|
40
|
+
open framework in which fonts may be shared and improved in partnership
|
41
|
+
with others.
|
42
|
+
|
43
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
44
|
+
redistributed freely as long as they are not sold by themselves. The
|
45
|
+
fonts, including any derivative works, can be bundled, embedded,
|
46
|
+
redistributed and/or sold with any software provided that any reserved
|
47
|
+
names are not used by derivative works. The fonts and derivatives,
|
48
|
+
however, cannot be released under any other type of license. The
|
49
|
+
requirement for fonts to remain under this license does not apply
|
50
|
+
to any document created using the fonts or their derivatives.
|
51
|
+
|
52
|
+
DEFINITIONS
|
53
|
+
"Font Software" refers to the set of files released by the Copyright
|
54
|
+
Holder(s) under this license and clearly marked as such. This may
|
55
|
+
include source files, build scripts and documentation.
|
56
|
+
|
57
|
+
"Reserved Font Name" refers to any names specified as such after the
|
58
|
+
copyright statement(s).
|
59
|
+
|
60
|
+
"Original Version" refers to the collection of Font Software components as
|
61
|
+
distributed by the Copyright Holder(s).
|
62
|
+
|
63
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
64
|
+
or substituting — in part or in whole — any of the components of the
|
65
|
+
Original Version, by changing formats or by porting the Font Software to a
|
66
|
+
new environment.
|
67
|
+
|
68
|
+
"Author" refers to any designer, engineer, programmer, technical
|
69
|
+
writer or other person who contributed to the Font Software.
|
70
|
+
|
71
|
+
PERMISSION & CONDITIONS
|
72
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
73
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
74
|
+
redistribute, and sell modified and unmodified copies of the Font
|
75
|
+
Software, subject to the following conditions:
|
76
|
+
|
77
|
+
1) Neither the Font Software nor any of its individual components,
|
78
|
+
in Original or Modified Versions, may be sold by itself.
|
79
|
+
|
80
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
81
|
+
redistributed and/or sold with any software, provided that each copy
|
82
|
+
contains the above copyright notice and this license. These can be
|
83
|
+
included either as stand-alone text files, human-readable headers or
|
84
|
+
in the appropriate machine-readable metadata fields within text or
|
85
|
+
binary files as long as those fields can be easily viewed by the user.
|
86
|
+
|
87
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
88
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
89
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
90
|
+
presented to the users.
|
91
|
+
|
92
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
93
|
+
Software shall not be used to promote, endorse or advertise any
|
94
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
95
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
96
|
+
permission.
|
97
|
+
|
98
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
99
|
+
must be distributed entirely under this license, and must not be
|
100
|
+
distributed under any other license. The requirement for fonts to
|
101
|
+
remain under this license does not apply to any document created
|
102
|
+
using the Font Software.
|
103
|
+
|
104
|
+
TERMINATION
|
105
|
+
This license becomes null and void if any of the above conditions are
|
106
|
+
not met.
|
107
|
+
|
108
|
+
DISCLAIMER
|
109
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
110
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
111
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
112
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
113
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
114
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
115
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
116
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
117
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
118
|
+
|
119
|
+
--------------------------------------------------------------------------------
|
120
|
+
|
121
|
+
# Code: MIT License (https://opensource.org/licenses/MIT)
|
122
|
+
|
123
|
+
In the Font Awesome Free download, the MIT license applies to all non-font and
|
124
|
+
non-icon files.
|
125
|
+
|
126
|
+
Copyright 2023 Fonticons, Inc.
|
127
|
+
|
128
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
129
|
+
this software and associated documentation files (the "Software"), to deal in the
|
130
|
+
Software without restriction, including without limitation the rights to use, copy,
|
131
|
+
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
132
|
+
and to permit persons to whom the Software is furnished to do so, subject to the
|
133
|
+
following conditions:
|
134
|
+
|
135
|
+
The above copyright notice and this permission notice shall be included in all
|
136
|
+
copies or substantial portions of the Software.
|
137
|
+
|
138
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
139
|
+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
140
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
141
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
142
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
143
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
144
|
+
|
145
|
+
--------------------------------------------------------------------------------
|
146
|
+
|
147
|
+
# Attribution
|
148
|
+
|
149
|
+
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
|
150
|
+
Awesome Free files already contain embedded comments with sufficient
|
151
|
+
attribution, so you shouldn't need to do anything additional when using these
|
152
|
+
files normally.
|
153
|
+
|
154
|
+
We've kept attribution comments terse, so we ask that you do not actively work
|
155
|
+
to remove them from files, especially code. They're a great way for folks to
|
156
|
+
learn about Font Awesome.
|
157
|
+
|
158
|
+
--------------------------------------------------------------------------------
|
159
|
+
|
160
|
+
# Brand Icons
|
161
|
+
|
162
|
+
All brand icons are trademarks of their respective owners. The use of these
|
163
|
+
trademarks does not indicate endorsement of the trademark holder by Font
|
164
|
+
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
|
165
|
+
to represent the company, product, or service to which they refer.**
|
@@ -1538,3 +1538,6 @@
|
|
1538
1538
|
|
1539
1539
|
@inputWarningPlaceholderColor: if(iscolor(@formWarningColor), lighten(@formWarningColor, 40), @formWarningColor);
|
1540
1540
|
@inputWarningPlaceholderFocusColor: if(iscolor(@formWarningColor), lighten(@formWarningColor, 30), @formWarningColor);
|
1541
|
+
|
1542
|
+
@defaultHighlightMatchesBackground: revert;
|
1543
|
+
@defaultHighlightMatchesColor: revert;
|