Skip to content

Commit

Permalink
Merge branch 'master' into ghost-button-padding-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Jul 17, 2019
2 parents fe1d270 + 3850475 commit f4ca4a2
Show file tree
Hide file tree
Showing 12 changed files with 68 additions and 8 deletions.
24 changes: 24 additions & 0 deletions packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
- [✅icon-02 [variable]](#icon-02-variable)
- [✅icon-03 [variable]](#icon-03-variable)
- [✅link-01 [variable]](#link-01-variable)
- [✅inverse-link [variable]](#inverse-link-variable)
- [✅field-01 [variable]](#field-01-variable)
- [✅field-02 [variable]](#field-02-variable)
- [✅inverse-01 [variable]](#inverse-01-variable)
Expand Down Expand Up @@ -3664,6 +3665,7 @@ Define theme variables from a map of tokens
$icon-02: map-get($theme, 'icon-02') !global;
$icon-03: map-get($theme, 'icon-03') !global;
$link-01: map-get($theme, 'link-01') !global;
$inverse-link: map-get($theme, 'inverse-link') !global;
$field-01: map-get($theme, 'field-01') !global;
$field-02: map-get($theme, 'field-02') !global;
$inverse-01: map-get($theme, 'inverse-01') !global;
Expand Down Expand Up @@ -3724,6 +3726,7 @@ Define theme variables from a map of tokens
--icon-02: #{map-get($theme, 'icon-02')};
--icon-03: #{map-get($theme, 'icon-03')};
--link-01: #{map-get($theme, 'link-01')};
--inverse-link: #{map-get($theme, 'inverse-link')};
--field-01: #{map-get($theme, 'field-01')};
--field-02: #{map-get($theme, 'field-02')};
--inverse-01: #{map-get($theme, 'inverse-01')};
Expand Down Expand Up @@ -3829,6 +3832,7 @@ Define theme variables from a map of tokens
- [icon-02 [variable]](#icon-02-variable)
- [icon-03 [variable]](#icon-03-variable)
- [link-01 [variable]](#link-01-variable)
- [inverse-link [variable]](#inverse-link-variable)
- [field-01 [variable]](#field-01-variable)
- [field-02 [variable]](#field-02-variable)
- [inverse-01 [variable]](#inverse-01-variable)
Expand Down Expand Up @@ -3900,6 +3904,7 @@ $carbon--theme--white: (
icon-02: #565656,
icon-03: #ffffff,
link-01: #0062ff,
inverse-link: #6ea6ff,
field-01: #f3f3f3,
field-02: #ffffff,
inverse-01: #ffffff,
Expand Down Expand Up @@ -3979,6 +3984,7 @@ $carbon--theme--g10: (
icon-02: #565656,
icon-03: #ffffff,
link-01: #0062ff,
inverse-link: #6ea6ff,
field-01: #ffffff,
field-02: #f3f3f3,
inverse-01: #ffffff,
Expand Down Expand Up @@ -4056,6 +4062,7 @@ $carbon--theme--g90: (
icon-02: #bebebe,
icon-03: #ffffff,
link-01: #6ea6ff,
inverse-link: #0062ff,
field-01: #3d3d3d,
field-02: #565656,
inverse-01: #171717,
Expand Down Expand Up @@ -4131,6 +4138,7 @@ $carbon--theme--g100: (
icon-02: #bebebe,
icon-03: #ffffff,
link-01: #6ea6ff,
inverse-link: #0062ff,
field-01: #282828,
field-02: #3d3d3d,
inverse-01: #171717,
Expand Down Expand Up @@ -4689,6 +4697,22 @@ $link-01: map-get($carbon--theme, 'link-01');
- [inline-notification--button-color [mixin]](#inline-notification--button-color-mixin)
- [progress-indicator [mixin]](#progress-indicator-mixin)

### ✅inverse-link [variable]

<details>
<summary>Source code</summary>

```scss
$inverse-link: map-get($carbon--theme, 'inverse-link');
```

</details>

- **Group**: [@carbon/themes](#carbonthemes)
- **Type**: `Color`
- **Used by**:
- [carbon--theme [mixin]](#carbon--theme-mixin)

### ✅field-01 [variable]

Default input fields; Field color on \$ui-backgrounds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// @access public
/// @group @carbon/icons
@mixin carbon--icons {
@media screen and (-ms-high-contract: active) {
@media screen and (-ms-high-contrast: active) {
svg {
fill: ButtonText;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
$icon-02: map-get($theme, 'icon-02') !global;
$icon-03: map-get($theme, 'icon-03') !global;
$link-01: map-get($theme, 'link-01') !global;
$inverse-link: map-get($theme, 'inverse-link') !global;
$field-01: map-get($theme, 'field-01') !global;
$field-02: map-get($theme, 'field-02') !global;
$inverse-01: map-get($theme, 'inverse-01') !global;
Expand Down Expand Up @@ -108,6 +109,7 @@
--icon-02: #{map-get($theme, 'icon-02')};
--icon-03: #{map-get($theme, 'icon-03')};
--link-01: #{map-get($theme, 'link-01')};
--inverse-link: #{map-get($theme, 'inverse-link')};
--field-01: #{map-get($theme, 'field-01')};
--field-02: #{map-get($theme, 'field-02')};
--inverse-01: #{map-get($theme, 'inverse-01')};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ $carbon--theme--white: (
icon-02: #565656,
icon-03: #ffffff,
link-01: #0062ff,
inverse-link: #6ea6ff,
field-01: #f3f3f3,
field-02: #ffffff,
inverse-01: #ffffff,
Expand Down Expand Up @@ -92,6 +93,7 @@ $carbon--theme--g10: (
icon-02: #565656,
icon-03: #ffffff,
link-01: #0062ff,
inverse-link: #6ea6ff,
field-01: #ffffff,
field-02: #f3f3f3,
inverse-01: #ffffff,
Expand Down Expand Up @@ -156,6 +158,7 @@ $carbon--theme--g90: (
icon-02: #bebebe,
icon-03: #ffffff,
link-01: #6ea6ff,
inverse-link: #0062ff,
field-01: #3d3d3d,
field-02: #565656,
inverse-01: #171717,
Expand All @@ -172,7 +175,7 @@ $carbon--theme--g90: (
focus: #ffffff,
hover-primary: #0353e9,
active-primary: #0530ad,
hover-primary-text: #054ada,
hover-primary-text: #97c1ff,
hover-secondary: #606060,
active-secondary: #3d3d3d,
hover-tertiary: #f3f3f3,
Expand Down Expand Up @@ -220,6 +223,7 @@ $carbon--theme--g100: (
icon-02: #bebebe,
icon-03: #ffffff,
link-01: #6ea6ff,
inverse-link: #0062ff,
field-01: #282828,
field-02: #3d3d3d,
inverse-01: #171717,
Expand All @@ -236,7 +240,7 @@ $carbon--theme--g100: (
focus: #ffffff,
hover-primary: #0353e9,
active-primary: #0530ad,
hover-primary-text: #054ada,
hover-primary-text: #97c1ff,
hover-secondary: #606060,
active-secondary: #3d3d3d,
hover-tertiary: #f3f3f3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ $icon-03: map-get($carbon--theme, 'icon-03') !default;
/// @access public
/// @group @carbon/themes
$link-01: map-get($carbon--theme, 'link-01') !default;
/// @type Color
/// @access public
/// @group @carbon/themes
$inverse-link: map-get($carbon--theme, 'inverse-link') !default;
/// Default input fields; Field color on $ui-backgrounds
/// @type Color
/// @access public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// @access public
/// @group @carbon/icons
@mixin carbon--icons {
@media screen and (-ms-high-contract: active) {
@media screen and (-ms-high-contrast: active) {
svg {
fill: ButtonText;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
$icon-02: map-get($theme, 'icon-02') !global;
$icon-03: map-get($theme, 'icon-03') !global;
$link-01: map-get($theme, 'link-01') !global;
$inverse-link: map-get($theme, 'inverse-link') !global;
$field-01: map-get($theme, 'field-01') !global;
$field-02: map-get($theme, 'field-02') !global;
$inverse-01: map-get($theme, 'inverse-01') !global;
Expand Down Expand Up @@ -108,6 +109,7 @@
--icon-02: #{map-get($theme, 'icon-02')};
--icon-03: #{map-get($theme, 'icon-03')};
--link-01: #{map-get($theme, 'link-01')};
--inverse-link: #{map-get($theme, 'inverse-link')};
--field-01: #{map-get($theme, 'field-01')};
--field-02: #{map-get($theme, 'field-02')};
--inverse-01: #{map-get($theme, 'inverse-01')};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ $icon-03: map-get($carbon--theme, 'icon-03') !default;
/// @access public
/// @group @carbon/themes
$link-01: map-get($carbon--theme, 'link-01') !default;
/// @type Color
/// @access public
/// @group @carbon/themes
$inverse-link: map-get($carbon--theme, 'inverse-link') !default;
/// Default input fields; Field color on $ui-backgrounds
/// @type Color
/// @access public
Expand Down
22 changes: 21 additions & 1 deletion packages/elements/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
- [✅icon-02 [variable]](#icon-02-variable)
- [✅icon-03 [variable]](#icon-03-variable)
- [✅link-01 [variable]](#link-01-variable)
- [✅inverse-link [variable]](#inverse-link-variable)
- [✅field-01 [variable]](#field-01-variable)
- [✅field-02 [variable]](#field-02-variable)
- [✅inverse-01 [variable]](#inverse-01-variable)
Expand Down Expand Up @@ -1509,7 +1510,7 @@ Makes SVGs accessible in high contrast mode

```scss
@mixin carbon--icons() {
@media screen and (-ms-high-contract: active) {
@media screen and (-ms-high-contrast: active) {
svg {
fill: ButtonText;
}
Expand Down Expand Up @@ -3310,6 +3311,7 @@ Define theme variables from a map of tokens
$icon-02: map-get($theme, 'icon-02') !global;
$icon-03: map-get($theme, 'icon-03') !global;
$link-01: map-get($theme, 'link-01') !global;
$inverse-link: map-get($theme, 'inverse-link') !global;
$field-01: map-get($theme, 'field-01') !global;
$field-02: map-get($theme, 'field-02') !global;
$inverse-01: map-get($theme, 'inverse-01') !global;
Expand Down Expand Up @@ -3370,6 +3372,7 @@ Define theme variables from a map of tokens
--icon-02: #{map-get($theme, 'icon-02')};
--icon-03: #{map-get($theme, 'icon-03')};
--link-01: #{map-get($theme, 'link-01')};
--inverse-link: #{map-get($theme, 'inverse-link')};
--field-01: #{map-get($theme, 'field-01')};
--field-02: #{map-get($theme, 'field-02')};
--inverse-01: #{map-get($theme, 'inverse-01')};
Expand Down Expand Up @@ -3475,6 +3478,7 @@ Define theme variables from a map of tokens
- [icon-02 [variable]](#icon-02-variable)
- [icon-03 [variable]](#icon-03-variable)
- [link-01 [variable]](#link-01-variable)
- [inverse-link [variable]](#inverse-link-variable)
- [field-01 [variable]](#field-01-variable)
- [field-02 [variable]](#field-02-variable)
- [inverse-01 [variable]](#inverse-01-variable)
Expand Down Expand Up @@ -4167,6 +4171,22 @@ $link-01: map-get($carbon--theme, 'link-01');

</details>

- **Group**: [@carbon/themes](#carbonthemes)
- **Type**: `Color`
- **Used by**:
- [carbon--theme [mixin]](#carbon--theme-mixin)

### ✅inverse-link [variable]

<details>
<summary>Source code</summary>

```scss
$inverse-link: map-get($carbon--theme, 'inverse-link');
```

</details>

- **Group**: [@carbon/themes](#carbonthemes)
- **Type**: `Color`
- **Used by**:
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Makes SVGs accessible in high contrast mode

```scss
@mixin carbon--icons() {
@media screen and (-ms-high-contract: active) {
@media screen and (-ms-high-contrast: active) {
svg {
fill: ButtonText;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/scss/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// @access public
/// @group @carbon/icons
@mixin carbon--icons {
@media screen and (-ms-high-contract: active) {
@media screen and (-ms-high-contrast: active) {
svg {
fill: ButtonText;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/ListBox/ListBoxField.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ListBoxField.propTypes = {
/**
* Optional prop to specify the tabIndex of the <ListBox> trigger button
*/
tabIndex: PropTypes.oneOf([PropTypes.number, PropTypes.string]),
tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
};

export default ListBoxField;

0 comments on commit f4ca4a2

Please sign in to comment.