Skip to content

Commit

Permalink
add new package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyubinhan committed Aug 14, 2018
1 parent 7df0c8d commit 318130b
Show file tree
Hide file tree
Showing 126 changed files with 16,599 additions and 219 deletions.
16,211 changes: 16,211 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"build": "npm-run-all build-css build-js",
"test": "react-scripts test --env=jsdom",
"test:ci": "CI=true react-scripts test --env=jsdom",
"test:lint": "eslint src/",
"test:watch": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
Expand Down
2 changes: 1 addition & 1 deletion semantic.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"permission": false,
"autoInstall": false,
"rtl": false,
"version": "2.3.1"
"version": "2.3.3"
}
Empty file modified src/semantic/gulpfile.js
100755 → 100644
Empty file.
137 changes: 136 additions & 1 deletion src/semantic/src/definitions/elements/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -3124,6 +3124,74 @@
margin-left: -@basicColoredBorderSize;
}

/* Inverted */
.ui.inverted.primary.buttons .button,
.ui.inverted.primary.button {
background-color: transparent;
box-shadow: 0px 0px 0px @invertedBorderSize @lightPrimaryColor inset !important;
color: @lightPrimaryColor;
}
.ui.inverted.primary.buttons .button:hover,
.ui.inverted.primary.button:hover,
.ui.inverted.primary.buttons .button:focus,
.ui.inverted.primary.button:focus,
.ui.inverted.primary.buttons .button.active,
.ui.inverted.primary.button.active,
.ui.inverted.primary.buttons .button:active,
.ui.inverted.primary.button:active {
box-shadow: none !important;
color: @lightPrimaryTextColor;
}
.ui.inverted.primary.buttons .button:hover,
.ui.inverted.primary.button:hover {
background-color: @lightPrimaryColorHover;
}
.ui.inverted.primary.buttons .button:focus,
.ui.inverted.primary.button:focus {
background-color: @lightPrimaryColorFocus;
}
.ui.inverted.primary.buttons .active.button,
.ui.inverted.primary.active.button {
background-color: @lightPrimaryColorActive;
}
.ui.inverted.primary.buttons .button:active,
.ui.inverted.primary.button:active {
background-color: @lightPrimaryColorDown;
}

/* Inverted Basic */
.ui.inverted.primary.basic.buttons .button,
.ui.inverted.primary.buttons .basic.button,
.ui.inverted.primary.basic.button {
background-color: transparent;
box-shadow: @basicInvertedBoxShadow !important;
color: @white !important;
}
.ui.inverted.primary.basic.buttons .button:hover,
.ui.inverted.primary.buttons .basic.button:hover,
.ui.inverted.primary.basic.button:hover {
box-shadow: 0px 0px 0px @invertedBorderSize @lightPrimaryColorHover inset !important;
color: @lightPrimaryColor !important;
}
.ui.inverted.primary.basic.buttons .button:focus,
.ui.inverted.primary.basic.buttons .button:focus,
.ui.inverted.primary.basic.button:focus {
box-shadow: 0px 0px 0px @invertedBorderSize @lightPrimaryColorFocus inset !important;
color: @lightPrimaryColor !important;
}
.ui.inverted.primary.basic.buttons .active.button,
.ui.inverted.primary.buttons .basic.active.button,
.ui.inverted.primary.basic.active.button {
box-shadow: 0px 0px 0px @invertedBorderSize @lightPrimaryColorActive inset !important;
color: @lightPrimaryColor !important;
}
.ui.inverted.primary.basic.buttons .button:active,
.ui.inverted.primary.buttons .basic.button:active,
.ui.inverted.primary.basic.button:active {
box-shadow: 0px 0px 0px @invertedBorderSize @lightPrimaryColorDown inset !important;
color: @lightPrimaryColor !important;
}

/*-------------------
Secondary
--------------------*/
Expand Down Expand Up @@ -3199,6 +3267,74 @@
margin-left: -@basicColoredBorderSize;
}

/* Inverted */
.ui.inverted.secondary.buttons .button,
.ui.inverted.secondary.button {
background-color: transparent;
box-shadow: 0px 0px 0px @invertedBorderSize @lightSecondaryColor inset !important;
color: @lightSecondaryColor;
}
.ui.inverted.secondary.buttons .button:hover,
.ui.inverted.secondary.button:hover,
.ui.inverted.secondary.buttons .button:focus,
.ui.inverted.secondary.button:focus,
.ui.inverted.secondary.buttons .button.active,
.ui.inverted.secondary.button.active,
.ui.inverted.secondary.buttons .button:active,
.ui.inverted.secondary.button:active {
box-shadow: none !important;
color: @lightSecondaryTextColor;
}
.ui.inverted.secondary.buttons .button:hover,
.ui.inverted.secondary.button:hover {
background-color: @lightSecondaryColorHover;
}
.ui.inverted.secondary.buttons .button:focus,
.ui.inverted.secondary.button:focus {
background-color: @lightSecondaryColorFocus;
}
.ui.inverted.secondary.buttons .active.button,
.ui.inverted.secondary.active.button {
background-color: @lightSecondaryColorActive;
}
.ui.inverted.secondary.buttons .button:active,
.ui.inverted.secondary.button:active {
background-color: @lightSecondaryColorDown;
}

/* Inverted Basic */
.ui.inverted.secondary.basic.buttons .button,
.ui.inverted.secondary.buttons .basic.button,
.ui.inverted.secondary.basic.button {
background-color: transparent;
box-shadow: @basicInvertedBoxShadow !important;
color: @white !important;
}
.ui.inverted.secondary.basic.buttons .button:hover,
.ui.inverted.secondary.buttons .basic.button:hover,
.ui.inverted.secondary.basic.button:hover {
box-shadow: 0px 0px 0px @invertedBorderSize @lightSecondaryColorHover inset !important;
color: @lightSecondaryColor !important;
}
.ui.inverted.secondary.basic.buttons .button:focus,
.ui.inverted.secondary.basic.buttons .button:focus,
.ui.inverted.secondary.basic.button:focus {
box-shadow: 0px 0px 0px @invertedBorderSize @lightSecondaryColorFocus inset !important;
color: @lightSecondaryColor !important;
}
.ui.inverted.secondary.basic.buttons .active.button,
.ui.inverted.secondary.buttons .basic.active.button,
.ui.inverted.secondary.basic.active.button {
box-shadow: 0px 0px 0px @invertedBorderSize @lightSecondaryColorActive inset !important;
color: @lightSecondaryColor !important;
}
.ui.inverted.secondary.basic.buttons .button:active,
.ui.inverted.secondary.buttons .basic.button:active,
.ui.inverted.secondary.basic.button:active {
box-shadow: 0px 0px 0px @invertedBorderSize @lightSecondaryColorDown inset !important;
color: @lightSecondaryColor !important;
}

/*---------------
Positive
----------------*/
Expand Down Expand Up @@ -3423,4 +3559,3 @@
}

.loadUIOverrides();

Empty file modified src/semantic/src/definitions/elements/container.less
100755 → 100644
Empty file.
26 changes: 13 additions & 13 deletions src/semantic/src/definitions/elements/label.less
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ a.ui.red.label:hover{
}
/* Basic */
.ui.basic.red.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @red !important;
border-color: @red !important;
}
Expand Down Expand Up @@ -602,7 +602,7 @@ a.ui.orange.label:hover{
}
/* Basic */
.ui.basic.orange.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @orange !important;
border-color: @orange !important;
}
Expand Down Expand Up @@ -638,7 +638,7 @@ a.ui.yellow.label:hover{
}
/* Basic */
.ui.basic.yellow.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @yellow !important;
border-color: @yellow !important;
}
Expand Down Expand Up @@ -674,7 +674,7 @@ a.ui.olive.label:hover{
}
/* Basic */
.ui.basic.olive.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @olive !important;
border-color: @olive !important;
}
Expand Down Expand Up @@ -710,7 +710,7 @@ a.ui.green.label:hover{
}
/* Basic */
.ui.basic.green.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @green !important;
border-color: @green !important;
}
Expand Down Expand Up @@ -746,7 +746,7 @@ a.ui.teal.label:hover{
}
/* Basic */
.ui.basic.teal.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @teal !important;
border-color: @teal !important;
}
Expand Down Expand Up @@ -782,7 +782,7 @@ a.ui.blue.label:hover{
}
/* Basic */
.ui.basic.blue.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @blue !important;
border-color: @blue !important;
}
Expand Down Expand Up @@ -818,7 +818,7 @@ a.ui.violet.label:hover{
}
/* Basic */
.ui.basic.violet.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @violet !important;
border-color: @violet !important;
}
Expand Down Expand Up @@ -854,7 +854,7 @@ a.ui.purple.label:hover{
}
/* Basic */
.ui.basic.purple.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @purple !important;
border-color: @purple !important;
}
Expand Down Expand Up @@ -890,7 +890,7 @@ a.ui.pink.label:hover{
}
/* Basic */
.ui.basic.pink.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @pink !important;
border-color: @pink !important;
}
Expand Down Expand Up @@ -926,7 +926,7 @@ a.ui.brown.label:hover{
}
/* Basic */
.ui.basic.brown.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @brown !important;
border-color: @brown !important;
}
Expand Down Expand Up @@ -962,7 +962,7 @@ a.ui.grey.label:hover{
}
/* Basic */
.ui.basic.grey.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @grey !important;
border-color: @grey !important;
}
Expand Down Expand Up @@ -998,7 +998,7 @@ a.ui.black.label:hover{
}
/* Basic */
.ui.basic.black.label {
background-color: @white !important;
background-color: @basicBackground !important;
color: @black !important;
border-color: @black !important;
}
Expand Down
Empty file modified src/semantic/src/definitions/globals/site.js
100755 → 100644
Empty file.
10 changes: 10 additions & 0 deletions src/semantic/src/definitions/modules/dimmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ $.fn.dimmer = function(parameters) {

bind: {
events: function() {
if(module.is.page()) {
// touch events default to passive, due to changes in chrome to optimize mobile perf
$dimmable.get(0).addEventListener('touchmove', module.event.preventScroll, { passive: false });
}
if(settings.on == 'hover') {
$dimmable
.on('mouseenter' + eventNamespace, module.show)
Expand Down Expand Up @@ -141,6 +145,9 @@ $.fn.dimmer = function(parameters) {

unbind: {
events: function() {
if(module.is.page()) {
$dimmable.get(0).removeEventListener('touchmove', module.event.preventScroll, { passive: false });
}
$module
.removeData(moduleNamespace)
;
Expand All @@ -157,6 +164,9 @@ $.fn.dimmer = function(parameters) {
module.hide();
event.stopImmediatePropagation();
}
},
preventScroll: function(event) {
event.preventDefault();
}
},

Expand Down
17 changes: 13 additions & 4 deletions src/semantic/src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -754,10 +754,19 @@ $.fn.dropdown = function(parameters) {
callback();
},
onSuccess : function(response) {
module.remove.message();
module.setup.menu({
values: response[fields.remoteValues]
});
var
values = response[fields.remoteValues],
hasRemoteValues = ($.isArray(values) && values.length > 0)
;
if(hasRemoteValues) {
module.remove.message();
module.setup.menu({
values: response[fields.remoteValues]
});
}
else {
module.add.message(message.noResults);
}
callback();
}
}
Expand Down
Empty file modified src/semantic/src/definitions/modules/embed.less
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion src/semantic/src/definitions/modules/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ $.fn.search = function(parameters) {
apiSettings = {
debug : settings.debug,
on : false,
cache : true,
cache : settings.cache,
action : 'search',
urlData : {
query : searchTerm
Expand Down
Empty file modified src/semantic/src/definitions/views/ad.less
100755 → 100644
Empty file.
3 changes: 0 additions & 3 deletions src/semantic/src/definitions/views/statistic.less
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
.ui.statistics:first-child {
margin-top: 0em;
}
.ui.statistics:last-child {
margin-bottom: 0em;
}


/*******************************
Expand Down
2 changes: 1 addition & 1 deletion src/semantic/src/theme.less
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
-------------------*/

.loadFonts() when (@importGoogleFonts) {
@import url('@{googleProtocol}fonts.googleapis.com/css?family=@{googleFontRequest}');
@import (css) url('@{googleProtocol}fonts.googleapis.com/css?family=@{googleFontRequest}');
}

/*------------------
Expand Down
Empty file modified src/semantic/src/themes/default/assets/images/flags.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file modified src/semantic/src/themes/default/collections/form.overrides
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/collections/grid.overrides
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/collections/grid.variables
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/collections/menu.overrides
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/collections/message.overrides
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/collections/table.overrides
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/elements/button.overrides
100755 → 100644
Empty file.
2 changes: 2 additions & 0 deletions src/semantic/src/themes/default/elements/button.variables
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,14 @@
/* Ordinality */
@primaryBackgroundImage: @coloredBackgroundImage;
@primaryTextColor: @invertedTextColor;
@lightPrimaryTextColor: @invertedTextColor;
@primaryTextShadow: @invertedTextShadow;
@primaryBoxShadow: @coloredBoxShadow;

@secondaryBackgroundImage: @coloredBackgroundImage;
@secondaryTextColor: @invertedTextColor;
@secondaryTextShadow: @invertedTextShadow;
@lightSecondaryTextColor: @invertedTextColor;
@secondaryBoxShadow: @coloredBoxShadow;

@positiveBackgroundImage: @coloredBackgroundImage;
Expand Down
Empty file modified src/semantic/src/themes/default/elements/container.overrides
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/elements/container.variables
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/elements/divider.overrides
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/elements/flag.overrides
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/elements/flag.variables
100755 → 100644
Empty file.
Empty file modified src/semantic/src/themes/default/elements/header.overrides
100755 → 100644
Empty file.
Loading

0 comments on commit 318130b

Please sign in to comment.