@carbon/styles 1.0.0-rc.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/styles",
3
3
  "description": "Styles for the Carbon Design System",
4
- "version": "1.0.0-rc.0",
4
+ "version": "1.0.2",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -27,17 +27,17 @@
27
27
  "sass": "^1.33.0"
28
28
  },
29
29
  "dependencies": {
30
- "@carbon/colors": "^11.0.0-rc.0",
30
+ "@carbon/colors": "^11.0.0",
31
31
  "@carbon/feature-flags": "^0.7.0",
32
- "@carbon/grid": "^11.0.0-rc.0",
33
- "@carbon/layout": "^11.0.0-rc.0",
34
- "@carbon/motion": "^11.0.0-rc.0",
35
- "@carbon/themes": "^11.0.0-rc.0",
36
- "@carbon/type": "^11.0.0-rc.0",
32
+ "@carbon/grid": "^11.0.0",
33
+ "@carbon/layout": "^11.0.0",
34
+ "@carbon/motion": "^11.0.0",
35
+ "@carbon/themes": "^11.0.1",
36
+ "@carbon/type": "^11.0.0",
37
37
  "@ibm/plex": "6.0.0-next.6"
38
38
  },
39
39
  "devDependencies": {
40
- "@carbon/test-utils": "^10.22.0-rc.0",
40
+ "@carbon/test-utils": "^10.22.0",
41
41
  "css": "^3.0.0",
42
42
  "sass": "^1.45.0"
43
43
  },
@@ -46,5 +46,5 @@
46
46
  "scss/**/*.scss",
47
47
  "scss/**/*.css"
48
48
  ],
49
- "gitHead": "e4894776a4996c10bfc8f9a724532a25966aa622"
49
+ "gitHead": "42d17eec46503003defc2a4227ac0c20750713fe"
50
50
  }
package/scss/_reset.scss CHANGED
@@ -6,7 +6,7 @@
6
6
  //
7
7
 
8
8
  @use 'config';
9
- @use 'type/reset' as type;
9
+ @use 'type' as type;
10
10
 
11
11
  @mixin reset {
12
12
  /// http://meyerweb.com/eric/tools/css/reset/
@@ -170,3 +170,7 @@
170
170
  @if config.$css--reset == true {
171
171
  @include reset;
172
172
  }
173
+
174
+ @if config.$css--default-type == true {
175
+ @include type.default-type();
176
+ }
@@ -308,15 +308,13 @@
308
308
  padding: $button-padding-sm;
309
309
  }
310
310
 
311
- // V11: change xl to 2xl
312
- .#{$prefix}--btn--xl:not(.#{$prefix}--btn--icon-only) {
311
+ .#{$prefix}--btn--2xl:not(.#{$prefix}--btn--icon-only) {
313
312
  @include button-padding-large;
314
313
 
315
314
  min-height: rem(80px);
316
315
  }
317
316
 
318
- // V11: change lg to xl
319
- .#{$prefix}--btn--lg:not(.#{$prefix}--btn--icon-only) {
317
+ .#{$prefix}--btn--xl:not(.#{$prefix}--btn--icon-only) {
320
318
  @include button-padding-large;
321
319
 
322
320
  min-height: rem(64px);
@@ -80,21 +80,20 @@
80
80
  background-color: $background-active;
81
81
  }
82
82
 
83
- .#{$prefix}--header__action.#{$prefix}--btn--icon-only.#{$prefix}--tooltip__trigger {
83
+ .#{$prefix}--header__action.#{$prefix}--btn--icon-only {
84
84
  align-items: center;
85
85
  justify-content: center;
86
86
  }
87
87
 
88
- .#{$prefix}--btn.#{$prefix}--btn--icon-only.#{$prefix}--tooltip__trigger.#{$prefix}--header__action
89
- svg {
88
+ .#{$prefix}--btn.#{$prefix}--btn--icon-only.#{$prefix}--header__action svg {
90
89
  fill: $icon-secondary;
91
90
  }
92
91
 
93
- .#{$prefix}--btn.#{$prefix}--btn--icon-only.#{$prefix}--tooltip__trigger.#{$prefix}--header__action:hover
92
+ .#{$prefix}--btn.#{$prefix}--btn--icon-only.#{$prefix}--header__action:hover
94
93
  svg,
95
- .#{$prefix}--btn.#{$prefix}--btn--icon-only.#{$prefix}--tooltip__trigger.#{$prefix}--header__action:active
94
+ .#{$prefix}--btn.#{$prefix}--btn--icon-only.#{$prefix}--header__action:active
96
95
  svg,
97
- .#{$prefix}--btn.#{$prefix}--btn--icon-only.#{$prefix}--tooltip__trigger.#{$prefix}--header__action--active
96
+ .#{$prefix}--btn.#{$prefix}--btn--icon-only.#{$prefix}--header__action--active
98
97
  svg {
99
98
  fill: $icon-primary;
100
99
  }