Skip to content

Commit

Permalink
Merge branch 'master' into reset
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Dec 9, 2020
2 parents b932848 + fba0cbd commit 0302891
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 48 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/ci.yml

This file was deleted.

24 changes: 15 additions & 9 deletions packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -8361,8 +8361,12 @@ $disabled-01: if(
- [carbon--theme [mixin]](#carbon--theme-mixin)
- [accordion [mixin]](#accordion-mixin)
- [content-switcher [mixin]](#content-switcher-mixin)
- [date-picker [mixin]](#date-picker-mixin)
- [file-uploader [mixin]](#file-uploader-mixin)
- [listbox [mixin]](#listbox-mixin)
- [number-input [mixin]](#number-input-mixin)
- [search [mixin]](#search-mixin)
- [select [mixin]](#select-mixin)
- [slider [mixin]](#slider-mixin)
- [tags [mixin]](#tags-mixin)
- [text-area [mixin]](#text-area-mixin)
Expand Down Expand Up @@ -14987,7 +14991,6 @@ Code snippet styles

display: flex;
align-items: center;
min-width: rem(320px);
max-width: rem(760px);
height: $carbon--spacing-08;
padding-right: $carbon--spacing-08;
Expand Down Expand Up @@ -15032,7 +15035,6 @@ Code snippet styles
@include bx--snippet;

display: flex;
min-width: rem(320px);
max-width: 100%;
padding: $carbon--spacing-05;

Expand Down Expand Up @@ -17826,7 +17828,7 @@ Date picker styles

&:disabled {
color: $disabled-02;
background-color: $disabled-background-color;
background-color: $disabled-01;
border-bottom: 1px solid transparent;
cursor: not-allowed;
}
Expand Down Expand Up @@ -17940,6 +17942,7 @@ Date picker styles
- [field-01 [variable]](#field-01-variable)
- [ui-04 [variable]](#ui-04-variable)
- [disabled-02 [variable]](#disabled-02-variable)
- [disabled-01 [variable]](#disabled-01-variable)
- [icon-01 [variable]](#icon-01-variable)
- [support-03 [variable]](#support-03-variable)
- [support-01 [variable]](#support-01-variable)
Expand Down Expand Up @@ -21498,7 +21501,7 @@ Number input styles
.#{$prefix}--number input[type='number']:disabled,
.#{$prefix}--number--readonly input[type='number'] {
color: $disabled;
background-color: $disabled-background-color;
background-color: $disabled-01;
border-bottom-color: transparent;
cursor: not-allowed;
}
Expand Down Expand Up @@ -21729,6 +21732,7 @@ Number input styles
- [text-01 [variable]](#text-01-variable)
- [field-01 [variable]](#field-01-variable)
- [ui-04 [variable]](#ui-04-variable)
- [disabled-01 [variable]](#disabled-01-variable)
- [icon-01 [variable]](#icon-01-variable)
- [support-01 [variable]](#support-01-variable)
- [support-03 [variable]](#support-03-variable)
Expand Down Expand Up @@ -23278,7 +23282,7 @@ Search styles

.#{$prefix}--search-input[disabled] {
color: $disabled;
background-color: $disabled-background-color;
background-color: $disabled-01;
border-bottom: 1px solid transparent;
cursor: not-allowed;

Expand Down Expand Up @@ -23503,6 +23507,7 @@ Search styles
- [text-01 [variable]](#text-01-variable)
- [field-01 [variable]](#field-01-variable)
- [ui-04 [variable]](#ui-04-variable)
- [disabled-01 [variable]](#disabled-01-variable)
- [field-02 [variable]](#field-02-variable)
- [spacing-07 [variable]](#spacing-07-variable)
- [spacing-08 [variable]](#spacing-08-variable)
Expand Down Expand Up @@ -23591,8 +23596,8 @@ Select styles
&:disabled,
&:hover:disabled {
color: $disabled-02;
background-color: $disabled-background-color;
border-bottom-color: $disabled-background-color;
background-color: $disabled-01;
border-bottom-color: $disabled-01;
cursor: not-allowed;
}
}
Expand Down Expand Up @@ -23630,7 +23635,7 @@ Select styles
&:disabled,
&:hover:disabled {
color: $disabled-02;
background-color: $disabled-background-color;
background-color: $disabled-01;
cursor: not-allowed;
}
}
Expand Down Expand Up @@ -23719,7 +23724,7 @@ Select styles

.#{$prefix}--select--inline .#{$prefix}--select-input[disabled],
.#{$prefix}--select--inline .#{$prefix}--select-input[disabled]:hover {
background-color: $disabled-background-color;
background-color: $disabled-01;
}

.#{$prefix}--select--inline .#{$prefix}--select__arrow {
Expand Down Expand Up @@ -23773,6 +23778,7 @@ Select styles
- [ui-04 [variable]](#ui-04-variable)
- [hover-ui [variable]](#hover-ui-variable)
- [disabled-02 [variable]](#disabled-02-variable)
- [disabled-01 [variable]](#disabled-01-variable)
- [field-02 [variable]](#field-02-variable)
- [ui-05 [variable]](#ui-05-variable)
- [support-01 [variable]](#support-01-variable)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@

display: flex;
align-items: center;
min-width: rem(320px);
max-width: rem(760px);
height: $carbon--spacing-08;
padding-right: $carbon--spacing-08;
Expand Down Expand Up @@ -164,7 +163,6 @@
@include bx--snippet;

display: flex;
min-width: rem(320px);
max-width: 100%;
padding: $carbon--spacing-05;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

&:disabled {
color: $disabled-02;
background-color: $disabled-background-color;
background-color: $disabled-01;
border-bottom: 1px solid transparent;
cursor: not-allowed;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
.#{$prefix}--number input[type='number']:disabled,
.#{$prefix}--number--readonly input[type='number'] {
color: $disabled;
background-color: $disabled-background-color;
background-color: $disabled-01;
border-bottom-color: transparent;
cursor: not-allowed;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/search/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

.#{$prefix}--search-input[disabled] {
color: $disabled;
background-color: $disabled-background-color;
background-color: $disabled-01;
border-bottom: 1px solid transparent;
cursor: not-allowed;

Expand Down
8 changes: 4 additions & 4 deletions packages/components/src/components/select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
&:disabled,
&:hover:disabled {
color: $disabled-02;
background-color: $disabled-background-color;
border-bottom-color: $disabled-background-color;
background-color: $disabled-01;
border-bottom-color: $disabled-01;
cursor: not-allowed;
}
}
Expand Down Expand Up @@ -124,7 +124,7 @@
&:disabled,
&:hover:disabled {
color: $disabled-02;
background-color: $disabled-background-color;
background-color: $disabled-01;
cursor: not-allowed;
}
}
Expand Down Expand Up @@ -213,7 +213,7 @@

.#{$prefix}--select--inline .#{$prefix}--select-input[disabled],
.#{$prefix}--select--inline .#{$prefix}--select-input[disabled]:hover {
background-color: $disabled-background-color;
background-color: $disabled-01;
}

.#{$prefix}--select--inline .#{$prefix}--select__arrow {
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/globals/scss/_theme-tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ $disabled: $disabled-02 !default;
/// @type Color
/// @access public
/// @group global-themes
/// @deprecated
$disabled-background-color: $disabled-01 !default;

/// @type Color
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ export const inline = () => (
);

export const multiline = () => (
<div style={{ width: '50%' }}>
<CodeSnippet {...props()} type="multi" feedback="Copied to clipboard">
{` "scripts": {
<CodeSnippet {...props()} type="multi" feedback="Copied to clipboard">
{` "scripts": {
"build": "lerna run build --stream --prefix --npm-client yarn",
"ci-check": "carbon-cli ci-check",
"clean": "lerna run clean && lerna clean --yes && rimraf node_modules",
Expand Down Expand Up @@ -61,8 +60,7 @@ export const multiline = () => (
"@babel/preset-react": "^7.10.0",
"@babel/runtime": "^7.10.0",
"@commitlint/cli": "^8.3.5",`}
</CodeSnippet>
</div>
</CodeSnippet>
);

export const singleline = () => (
Expand Down

0 comments on commit 0302891

Please sign in to comment.