Skip to content

Commit

Permalink
chore(release): update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
y0hami committed Jun 24, 2021
1 parent 3a235e6 commit a75fbd2
Show file tree
Hide file tree
Showing 152 changed files with 3,995 additions and 1,759 deletions.
2 changes: 1 addition & 1 deletion dist/components/accordion.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Fomantic-UI - Accordion
* # Fomantic-UI 2.8.8 - Accordion
* http://github.com/fomantic/Fomantic-UI/
*
*
Expand Down
2 changes: 1 addition & 1 deletion dist/components/accordion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Fomantic-UI - Accordion
* # Fomantic-UI 2.8.8 - Accordion
* http://github.com/fomantic/Fomantic-UI/
*
*
Expand Down
2 changes: 1 addition & 1 deletion dist/components/accordion.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/components/accordion.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/components/ad.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Fomantic-UI - Ad
* # Fomantic-UI 2.8.8 - Ad
* http://github.com/fomantic/Fomantic-UI/
*
*
Expand Down
2 changes: 1 addition & 1 deletion dist/components/ad.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/components/api.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Fomantic-UI - API
* # Fomantic-UI 2.8.8 - API
* http://github.com/fomantic/Fomantic-UI/
*
*
Expand Down
6 changes: 3 additions & 3 deletions dist/components/api.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/components/breadcrumb.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Fomantic-UI - Breadcrumb
* # Fomantic-UI 2.8.8 - Breadcrumb
* http://github.com/fomantic/Fomantic-UI/
*
*
Expand Down
2 changes: 1 addition & 1 deletion dist/components/breadcrumb.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 29 additions & 2 deletions dist/components/button.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Fomantic-UI - Button
* # Fomantic-UI 2.8.8 - Button
* http://github.com/fomantic/Fomantic-UI/
*
*
Expand Down Expand Up @@ -654,6 +654,33 @@
*******************************/


/*--------------
Stackable
---------------*/


/* Tablet Or Below */
@media only screen and (max-width: 767.98px) {
.ui.stackable.buttons {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
width: 100%;
}
.ui.stackable.buttons .button:first-child {
border-bottom-left-radius: 0;
border-top-right-radius: 0.28571429rem;
}
.ui.stackable.buttons .button:last-child {
border-bottom-left-radius: 0.28571429rem;
border-top-right-radius: 0;
}
.ui.stackable.buttons .button:only-child {
border-radius: 0.28571429rem;
}
}

/*-------------------
Floated
--------------------*/
Expand Down Expand Up @@ -756,7 +783,7 @@
---------------*/

.ui.icon.buttons .button,
.ui.icon.button:not(.animated):not(.compact) {
.ui.icon.button:not(.animated):not(.compact):not(.labeled) {
padding: 0.78571429em 0.78571429em 0.78571429em;
}
.ui.animated.icon.button > .content > .icon,
Expand Down
4 changes: 2 additions & 2 deletions dist/components/button.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/components/calendar.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Fomantic-UI - Calendar
* # Fomantic-UI 2.8.8 - Calendar
* http://github.com/fomantic/Fomantic-UI/
*
*
Expand Down Expand Up @@ -109,7 +109,7 @@
cursor: default;
color: rgba(40, 40, 40, 0.3);
}
.ui.calendar .ui.table tr .adjacent:not(.disabled) {
.ui.calendar .ui.table tr .adjacent:not(.disabled):not(.active) {
color: rgba(0, 0, 0, 0.6);
background: rgba(0, 0, 0, 0.03);
}
Expand Down Expand Up @@ -146,7 +146,7 @@
.ui.inverted.calendar .ui.inverted.table tr .disabled {
color: rgba(225, 225, 225, 0.3);
}
.ui.inverted.calendar .ui.inverted.table tr .adjacent:not(.disabled) {
.ui.inverted.calendar .ui.inverted.table tr .adjacent:not(.disabled):not(.active) {
color: rgba(255, 255, 255, 0.8);
background: rgba(255, 255, 255, 0.02);
}
Expand Down
22 changes: 10 additions & 12 deletions dist/components/calendar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Fomantic-UI - Calendar
* # Fomantic-UI 2.8.8 - Calendar
* http://github.com/fomantic/Fomantic-UI/
*
*
Expand Down Expand Up @@ -377,6 +377,7 @@ $.fn.calendar = function(parameters) {
cell.data(metadata.date, cellDate);
var adjacent = isDay && cellDate.getMonth() !== ((month + 12) % 12);
var disabled = (!settings.selectAdjacentDays && adjacent) || !module.helper.isDateInRange(cellDate, mode) || settings.isDisabled(cellDate, mode) || module.helper.isDisabled(cellDate, mode) || !module.helper.isEnabled(cellDate, mode);
var eventDate;
if (disabled) {
var disabledDate = module.helper.findDayAsObject(cellDate, mode, settings.disabledDates);
if (disabledDate !== null && disabledDate[metadata.message]) {
Expand All @@ -390,7 +391,7 @@ $.fn.calendar = function(parameters) {
}
}
} else {
var eventDate = module.helper.findDayAsObject(cellDate, mode, settings.eventDates);
eventDate = module.helper.findDayAsObject(cellDate, mode, settings.eventDates);
if (eventDate !== null) {
cell.addClass(eventDate[metadata.class] || settings.eventClass);
if (eventDate[metadata.message]) {
Expand All @@ -407,9 +408,9 @@ $.fn.calendar = function(parameters) {
}
var active = module.helper.dateEqual(cellDate, date, mode);
var isToday = module.helper.dateEqual(cellDate, today, mode);
cell.toggleClass(className.adjacentCell, adjacent);
cell.toggleClass(className.adjacentCell, adjacent && !eventDate);
cell.toggleClass(className.disabledCell, disabled);
cell.toggleClass(className.activeCell, active && !adjacent);
cell.toggleClass(className.activeCell, active && !(adjacent && disabled));
if (!isHour && !isMinute) {
cell.toggleClass(className.todayCell, !adjacent && isToday);
}
Expand Down Expand Up @@ -971,7 +972,7 @@ $.fn.calendar = function(parameters) {

helper: {
isDisabled: function(date, mode) {
return (mode === 'day' || mode === 'month' || mode === 'year') && ((settings.disabledDaysOfWeek.indexOf(date.getDay()) !== -1) || settings.disabledDates.some(function(d){
return (mode === 'day' || mode === 'month' || mode === 'year') && ((mode === 'day' && settings.disabledDaysOfWeek.indexOf(date.getDay()) !== -1) || settings.disabledDates.some(function(d){
if(typeof d === 'string') {
d = module.helper.sanitiseDate(d);
}
Expand Down Expand Up @@ -1073,14 +1074,11 @@ $.fn.calendar = function(parameters) {
return null;
},
sanitiseDate: function (date) {
if (!date) {
return undefined;
}
if (!(date instanceof Date)) {
date = parser.date('' + date, settings);
}
if (!date || date === null || isNaN(date.getTime())) {
return undefined;
if (!date || isNaN(date.getTime())) {
return null;
}
return date;
},
Expand Down Expand Up @@ -1467,11 +1465,11 @@ $.fn.calendar.settings = {
if (text.length === 0) {
return null;
}
if(text.match(/^[0-9]{4}[\/\-\.][0-9]{2}[\/\-\.][0-9]{2}$/)){
if(text.match(/^[0-9]{4}[\/\-\.][0-9]{1,2}[\/\-\.][0-9]{1,2}$/)){
text = text.replace(/[\/\-\.]/g,'/') + ' 00:00:00';
}
// Reverse date and month in some cases
text = settings.monthFirst || !text.match(/^[0-9]{2}[\/\-\.]/) ? text : text.replace(/[\/\-\.]/g,'/').replace(/([0-9]+)\/([0-9]+)/,'$2/$1');
text = settings.monthFirst || !text.match(/^[0-9]{1,2}[\/\-\.]/) ? text : text.replace(/[\/\-\.]/g,'/').replace(/([0-9]+)\/([0-9]+)/,'$2/$1');
var textDate = new Date(text);
var numberOnly = text.match(/^[0-9]+$/) !== null;
if(!numberOnly && !isNaN(textDate.getDate())) {
Expand Down
4 changes: 2 additions & 2 deletions dist/components/calendar.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/components/calendar.min.js

Large diffs are not rendered by default.

76 changes: 74 additions & 2 deletions dist/components/card.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Fomantic-UI - Card
* # Fomantic-UI 2.8.8 - Card
* http://github.com/fomantic/Fomantic-UI/
*
*
Expand Down Expand Up @@ -431,6 +431,62 @@
}


/*******************************
States
*******************************/


/*--------------
Disabled
---------------*/

.ui.disabled.card {
opacity: 0.45;
color: rgba(40, 40, 40, 0.3);
pointer-events: none;
}

/*--------------
Loading
---------------*/

.ui.loading.card {
position: relative;
cursor: default;
pointer-events: none;
-webkit-transition: all 0s linear;
transition: all 0s linear;
}
.ui.loading.card:before {
position: absolute;
content: '';
top: 0;
left: 0;
background: rgba(255, 255, 255, 0.8);
width: 100%;
height: 100%;
border-radius: 0.28571429rem;
z-index: 100;
}
.ui.loading.card:after {
position: absolute;
content: '';
top: 50%;
left: 50%;
margin: -1.5em 0 0 -1.5em;
width: 3em;
height: 3em;
-webkit-animation: loader 0.6s infinite linear;
animation: loader 0.6s infinite linear;
border: 0.2em solid #767676;
border-radius: 500rem;
-webkit-box-shadow: 0 0 0 1px transparent;
box-shadow: 0 0 0 1px transparent;
visibility: visible;
z-index: 101;
}


/*******************************
Variations
*******************************/
Expand Down Expand Up @@ -472,7 +528,6 @@
display: -ms-flexbox;
display: flex;
width: 100%;
height: 100%;
border-radius: 0.28571429rem 0 0 0.28571429rem;
}
.ui.horizontal.cards > .card > .image:last-child > img,
Expand All @@ -481,6 +536,7 @@
}
.ui.horizontal.cards > .card > .content,
.ui.horizontal.card > .content {
border-top: none;
-ms-flex-preferred-size: 1px;
flex-basis: 1px;
}
Expand Down Expand Up @@ -1261,6 +1317,14 @@ a.ui.card:hover,
.ui.inverted.card > .content > .header {
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.cards > .card > .content > a.header,
.ui.inverted.card > .content > a.header {
color: rgba(255, 255, 255, 0.9);
}
.ui.inverted.cards > .card > .content > a.header:hover,
.ui.inverted.card > .content > a.header:hover {
color: #1e70bf;
}

/* Description */
.ui.inverted.cards > .card > .content > .description,
Expand Down Expand Up @@ -1305,6 +1369,14 @@ a.inverted.ui.card:hover,
background: #1B1C1D;
}

/* Loading */
.ui.inverted.loading.card {
color: #FFFFFF;
}
.ui.inverted.loading.card:before {
background: rgba(0, 0, 0, 0.85);
}


/*******************************
Theme Overrides
Expand Down
4 changes: 2 additions & 2 deletions dist/components/card.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit a75fbd2

Please sign in to comment.