Skip to content

Commit

Permalink
Merge branch 'release/0.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamindavid committed Apr 2, 2019
2 parents f8eaeec + 6b44422 commit 23a805b
Show file tree
Hide file tree
Showing 16 changed files with 192 additions and 103 deletions.
2 changes: 1 addition & 1 deletion dist/craftui.cjs.js

Large diffs are not rendered by default.

44 changes: 25 additions & 19 deletions dist/craftui.css
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,8 @@ button.c-btn {
.c-btn:not(.outline),
a.c-btn:not(.outline),
button.c-btn:not(.outline) {
-webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .2);
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .2);
-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
}

.c-btn:not([disabled]):hover,
Expand Down Expand Up @@ -923,6 +923,19 @@ body.rtl .c-checkbox input {
height: 4rem;
}

body.ltr .c-radio input {
margin-right: .5rem;
}

body.rtl .c-radio input {
margin-left: .5rem;
}

.c-radio .instructions {
color: #8795a1;
font-size: .875rem;
}

.c-lightswitch .c-lightswitch-input label {
position: relative;
display: block;
Expand Down Expand Up @@ -974,9 +987,10 @@ body.rtl .c-lightswitch .c-lightswitch-input label .slider:before {
background-color: #38c172;
}

.c-lightswitch .c-lightswitch-input label input:active+.slider,
.c-lightswitch .c-lightswitch-input label input:focus+.slider {
-webkit-box-shadow: 0 0 1px #38c172;
box-shadow: 0 0 1px #38c172;
-webkit-box-shadow: 0 0 0 2px rgba(52, 144, 220, .5);
box-shadow: 0 0 0 2px rgba(52, 144, 220, .5);
}

.c-lightswitch .c-lightswitch-input label input:checked+.slider:before {
Expand All @@ -1000,28 +1014,15 @@ body.rtl .c-lightswitch .c-lightswitch-input label .slider:before {
cursor: default;
}

body.ltr .c-radio input {
margin-right: .5rem;
}

body.rtl .c-radio input {
margin-left: .5rem;
}

.c-radio .instructions {
color: #8795a1;
font-size: .875rem;
}

.c-spinner {
display: inline-block;
}

.c-spinner>.animation {
-webkit-animation: rotator .7s linear infinite;
animation: rotator .7s linear infinite;
width: 22px;
height: 22px;
width: 20px;
height: 20px;
border-radius: 50%;
border: 2px solid transparent;
border-top-color: transparent !important;
Expand All @@ -1030,6 +1031,11 @@ body.rtl .c-radio input {
border-bottom-color: #555;
}

.c-spinner.sm>.animation {
width: 16px;
height: 16px;
}

.c-spinner.lg>.animation {
width: 32px;
height: 32px;
Expand Down
2 changes: 1 addition & 1 deletion dist/craftui.es.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/craftui.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/craftui.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/craftui.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/craftui.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/craftui.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/src/stories/spinner.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ storiesOf('Components|Spinner', module)
props: {
size: {
type: String,
default: select('size', ['base', 'lg'], 'base')
default: select('size', ['sm', 'base', 'lg'], 'base')
},
},
}), { notes: { markdown: SpinnerNotesMD } })
Loading

0 comments on commit 23a805b

Please sign in to comment.