@carbon/styles 1.21.0-rc.0 → 1.21.0

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.21.0-rc.0",
4
+ "version": "1.21.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -32,13 +32,13 @@
32
32
  "sass": "^1.33.0"
33
33
  },
34
34
  "dependencies": {
35
- "@carbon/colors": "^11.11.0",
36
- "@carbon/feature-flags": "^0.11.0",
37
- "@carbon/grid": "^11.10.0",
38
- "@carbon/layout": "^11.10.0",
39
- "@carbon/motion": "^11.8.0",
40
- "@carbon/themes": "^11.16.0-rc.0",
41
- "@carbon/type": "^11.14.0",
35
+ "@carbon/colors": "^11.12.0",
36
+ "@carbon/feature-flags": "^0.12.0",
37
+ "@carbon/grid": "^11.11.0",
38
+ "@carbon/layout": "^11.11.0",
39
+ "@carbon/motion": "^11.9.0",
40
+ "@carbon/themes": "^11.16.0",
41
+ "@carbon/type": "^11.15.0",
42
42
  "@ibm/plex": "6.0.0-next.6"
43
43
  },
44
44
  "devDependencies": {
@@ -50,7 +50,7 @@
50
50
  "lodash.isequal": "^4.5.0",
51
51
  "postcss": "^8.4.14",
52
52
  "postcss-flexbugs-fixes": "^5.0.2",
53
- "rimraf": "^3.0.2",
53
+ "rimraf": "^4.0.0",
54
54
  "sass": "^1.51.0"
55
55
  },
56
56
  "sideEffects": [
@@ -59,5 +59,5 @@
59
59
  "scss/**/*.css",
60
60
  "css/**/*.css"
61
61
  ],
62
- "gitHead": "ea6d0bd04da0db028d625f62f018ea3997a19656"
62
+ "gitHead": "36b2a3b42be5bebb706861030d1ec4a21ae47c5f"
63
63
  }
@@ -83,6 +83,30 @@ describe('@carbon/styles/scss/type', () => {
83
83
  "display-02",
84
84
  "display-03",
85
85
  "display-04",
86
+ "legal-01",
87
+ "legal-02",
88
+ "body-compact-01",
89
+ "body-compact-02",
90
+ "heading-compact-01",
91
+ "heading-compact-02",
92
+ "body-01",
93
+ "body-02",
94
+ "heading-03",
95
+ "heading-04",
96
+ "heading-05",
97
+ "heading-06",
98
+ "heading-07",
99
+ "fluid-heading-03",
100
+ "fluid-heading-04",
101
+ "fluid-heading-05",
102
+ "fluid-heading-06",
103
+ "fluid-paragraph-01",
104
+ "fluid-quotation-01",
105
+ "fluid-quotation-02",
106
+ "fluid-display-01",
107
+ "fluid-display-02",
108
+ "fluid-display-03",
109
+ "fluid-display-04",
86
110
  "font-families",
87
111
  "font-weights",
88
112
  "tokens",
@@ -43,6 +43,7 @@ $copy-btn-feedback: $background-inverse !default;
43
43
  }
44
44
 
45
45
  .#{$prefix}--snippet--disabled .#{$prefix}--snippet-btn--expand:hover,
46
+ .#{$prefix}--snippet--disabled .#{$prefix}--copy-btn,
46
47
  .#{$prefix}--snippet--disabled .#{$prefix}--copy-btn:hover {
47
48
  background-color: $layer;
48
49
  color: $text-disabled;
@@ -19,7 +19,7 @@
19
19
 
20
20
  // V11: Possibly deprecate
21
21
  .#{$prefix}--combo-box.#{$prefix}--list-box--light:hover {
22
- background-color: $field;
22
+ background-color: $field-02;
23
23
  }
24
24
 
25
25
  .#{$prefix}--combo-box .#{$prefix}--text-input::-ms-clear {
@@ -131,7 +131,7 @@
131
131
  }
132
132
 
133
133
  .#{$prefix}--dropdown--light {
134
- background-color: $field;
134
+ background-color: $field-02;
135
135
 
136
136
  &:hover {
137
137
  background-color: $field-hover;
@@ -353,7 +353,7 @@
353
353
 
354
354
  // V11: Possibly deprecate
355
355
  &.#{$prefix}--dropdown--light:hover {
356
- background-color: $field;
356
+ background-color: $field-02;
357
357
  }
358
358
  }
359
359
 
@@ -112,7 +112,7 @@ $list-box-menu-width: rem(300px);
112
112
 
113
113
  // V11: Possibly deprecate
114
114
  .#{$prefix}--list-box--expanded:hover.#{$prefix}--list-box--light:hover {
115
- background-color: $field;
115
+ background-color: $field-02;
116
116
  }
117
117
 
118
118
  .#{$prefix}--list-box .#{$prefix}--text-input {
@@ -155,7 +155,7 @@ $list-box-menu-width: rem(300px);
155
155
  // V11: Possibly deprecate
156
156
  // Light variation for 'list-box'
157
157
  .#{$prefix}--list-box--light {
158
- background-color: $field;
158
+ background-color: $field-02;
159
159
 
160
160
  &:hover {
161
161
  background-color: $field-hover;
@@ -183,7 +183,7 @@ $list-box-menu-width: rem(300px);
183
183
 
184
184
  // V11: Possibly deprecate
185
185
  .#{$prefix}--list-box--light.#{$prefix}--list-box--disabled {
186
- background-color: $field;
186
+ background-color: $field-02;
187
187
  }
188
188
 
189
189
  .#{$prefix}--list-box--disabled,
@@ -121,7 +121,7 @@
121
121
  }
122
122
 
123
123
  .#{$prefix}--select--light .#{$prefix}--select-input {
124
- background-color: $field;
124
+ background-color: $field-02;
125
125
 
126
126
  &:hover {
127
127
  background-color: $field-hover;
@@ -129,7 +129,7 @@
129
129
 
130
130
  &:disabled,
131
131
  &:hover:disabled {
132
- background-color: $field;
132
+ background-color: $field-02;
133
133
  color: $text-disabled;
134
134
  cursor: not-allowed;
135
135
  }
@@ -44,7 +44,7 @@
44
44
 
45
45
  // V11: Possibly deprecate
46
46
  .#{$prefix}--tile--light {
47
- background-color: $layer;
47
+ background-color: $layer-02;
48
48
  }
49
49
 
50
50
  .#{$prefix}--tile--clickable,
@@ -51,6 +51,32 @@
51
51
  $display-02,
52
52
  $display-03,
53
53
  $display-04,
54
+ // V11 Tokens
55
+ $legal-01,
56
+ $legal-02,
57
+ $body-compact-01,
58
+ $body-compact-02,
59
+ $heading-compact-01,
60
+ $heading-compact-02,
61
+ $body-01,
62
+ $body-02,
63
+ $heading-03,
64
+ $heading-04,
65
+ $heading-05,
66
+ $heading-06,
67
+ $heading-07,
68
+ $fluid-heading-03,
69
+ $fluid-heading-04,
70
+ $fluid-heading-05,
71
+ $fluid-heading-06,
72
+ $fluid-paragraph-01,
73
+ $fluid-quotation-01,
74
+ $fluid-quotation-02,
75
+ $fluid-display-01,
76
+ $fluid-display-02,
77
+ $fluid-display-03,
78
+ $fluid-display-04,
79
+ // others
54
80
  $font-families,
55
81
  $font-weights,
56
82
  $tokens;