Skip to content

Commit

Permalink
Merge branch 'master' into update-combobox-devdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Sep 28, 2020
2 parents 92192f0 + f1bf6c9 commit 877aeff
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 24 deletions.
15 changes: 3 additions & 12 deletions packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -7035,9 +7035,6 @@ $text-05: if(
- **Type**: `{undefined}`
- **Used by**:
- [carbon--theme [mixin]](#carbon--theme-mixin)
- [date-picker [mixin]](#date-picker-mixin)
- [search [mixin]](#search-mixin)
- [time-picker [mixin]](#time-picker-mixin)

### ✅text-error [variable]

Expand Down Expand Up @@ -17398,8 +17395,7 @@ Date picker styles
}

&::placeholder {
color: $text-05;
opacity: 1;
@include placeholder-colors;
}
}

Expand Down Expand Up @@ -17474,7 +17470,6 @@ Date picker styles
- [field-01 [variable]](#field-01-variable)
- [ui-04 [variable]](#ui-04-variable)
- [disabled-02 [variable]](#disabled-02-variable)
- [text-05 [variable]](#text-05-variable)
- [icon-01 [variable]](#icon-01-variable)
- [carbon--spacing-09 [variable]](#carbon--spacing-09-variable)

Expand Down Expand Up @@ -22619,8 +22614,7 @@ Search styles
}

&::placeholder {
color: $text-05;
font-weight: 400;
@include placeholder-colors;
}

&::-ms-clear {
Expand All @@ -22636,7 +22630,6 @@ Search styles

&::placeholder {
color: $disabled;
font-weight: 400;
}
}

Expand Down Expand Up @@ -22842,7 +22835,6 @@ Search styles
- [text-01 [variable]](#text-01-variable)
- [field-01 [variable]](#field-01-variable)
- [ui-04 [variable]](#ui-04-variable)
- [text-05 [variable]](#text-05-variable)
- [field-02 [variable]](#field-02-variable)
- [spacing-07 [variable]](#spacing-07-variable)
- [spacing-08 [variable]](#spacing-08-variable)
Expand Down Expand Up @@ -24787,7 +24779,7 @@ Time picker styles
$duration--fast-01 motion(standard, productive);

&::placeholder {
color: $text-05;
@include placeholder-colors;
}
}

Expand Down Expand Up @@ -24815,7 +24807,6 @@ Time picker styles
- **Requires**:
- [prefix [variable]](#prefix-variable)
- [carbon--spacing-01 [variable]](#carbon--spacing-01-variable)
- [text-05 [variable]](#text-05-variable)
- [field-02 [variable]](#field-02-variable)
- [hover-ui [variable]](#hover-ui-variable)
- [disabled-02 [variable]](#disabled-02-variable)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@
}

&::placeholder {
color: $text-05;
opacity: 1;
@include placeholder-colors;
}
}

Expand Down
4 changes: 1 addition & 3 deletions packages/components/src/components/search/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
}

&::placeholder {
color: $text-05;
font-weight: 400;
@include placeholder-colors;
}

&::-ms-clear {
Expand All @@ -69,7 +68,6 @@

&::placeholder {
color: $disabled;
font-weight: 400;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
background-color $duration--fast-01 motion(standard, productive);

&::placeholder {
color: $text-05;
@include placeholder-colors;
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/globals/scss/_helper-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
/// @example @include placeholder-colors;
/// @group global-helpers
@mixin placeholder-colors {
color: $text-03;
color: $text-05;
opacity: 1;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Select/Select-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const props = {
'Form validation UI content (invalidText in <Select>)',
'A valid value is required'
),
labelText: text('Label text (helperText)', 'Select'),
labelText: text('Label text (labelText)', 'Select'),
helperText: text('Helper text (helperText)', 'Optional helper text.'),
onChange: action('onChange'),
}),
Expand Down
5 changes: 1 addition & 4 deletions packages/sketch/src/commands/icons/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,10 @@ function createSVGArtboards(
return icons
.filter((icon) => !icon.deprecated)
.flatMap((icon) => {
const defaultAsset = icon.assets.find((asset) => asset.size === 32);

X_OFFSET = 0;

const artboards = sizes.map((size) => {
const asset =
icon.assets.find((asset) => asset.size === size) || defaultAsset;
const asset = icon.assets.find((asset) => asset.size === 32);
const svgString = NSString.stringWithString(asset.source);
const svgData = svgString.dataUsingEncoding(NSUTF8StringEncoding);
const svgImporter = MSSVGImporter.svgImporter();
Expand Down

0 comments on commit 877aeff

Please sign in to comment.