@carbon/styles 1.27.0-rc.0 → 1.27.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.27.0-rc.0",
4
+ "version": "1.27.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -32,17 +32,17 @@
32
32
  "sass": "^1.33.0"
33
33
  },
34
34
  "dependencies": {
35
- "@carbon/colors": "^11.14.0-rc.0",
35
+ "@carbon/colors": "^11.14.0",
36
36
  "@carbon/feature-flags": "^0.13.0",
37
- "@carbon/grid": "^11.13.0-rc.0",
38
- "@carbon/layout": "^11.13.0-rc.0",
37
+ "@carbon/grid": "^11.13.0",
38
+ "@carbon/layout": "^11.13.0",
39
39
  "@carbon/motion": "^11.10.0",
40
- "@carbon/themes": "^11.18.0-rc.0",
41
- "@carbon/type": "^11.17.0-rc.0",
40
+ "@carbon/themes": "^11.18.0",
41
+ "@carbon/type": "^11.17.0",
42
42
  "@ibm/plex": "6.0.0-next.6"
43
43
  },
44
44
  "devDependencies": {
45
- "@carbon/test-utils": "^10.28.0-rc.0",
45
+ "@carbon/test-utils": "^10.28.0",
46
46
  "autoprefixer": "^10.4.7",
47
47
  "browserslist-config-carbon": "^11.1.0",
48
48
  "css": "^3.0.0",
@@ -59,5 +59,5 @@
59
59
  "scss/**/*.css",
60
60
  "css/**/*.css"
61
61
  ],
62
- "gitHead": "af6bbf9ea6a025c19a041ea352dfde798e1cd22f"
62
+ "gitHead": "9d9c35494255b0ad0996bad46ffaf093cdd20012"
63
63
  }
@@ -230,6 +230,13 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
230
230
  }
231
231
  }
232
232
 
233
+ //-----------------------------
234
+ // Wrapper
235
+ //-----------------------------
236
+ .#{$prefix}--tabs__nav-item-label-wrapper {
237
+ display: flex;
238
+ }
239
+
233
240
  //-----------------------------
234
241
  // Item
235
242
  //-----------------------------
@@ -266,6 +273,19 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
266
273
  outline $duration-fast-01 motion(standard, productive);
267
274
  }
268
275
 
276
+ //-----------------------------
277
+ // Icon
278
+ //-----------------------------
279
+ .#{$prefix}--tabs__nav-item--icon {
280
+ display: flex;
281
+ align-items: center;
282
+ padding-left: $spacing-03;
283
+ }
284
+
285
+ &.#{$prefix}--tabs--contained .#{$prefix}--tabs__nav-item--icon {
286
+ padding-left: $spacing-05;
287
+ }
288
+
269
289
  //-----------------------------
270
290
  // Link
271
291
  //-----------------------------
@@ -326,8 +346,8 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
326
346
  overflow-x: visible;
327
347
  }
328
348
 
329
- .#{$prefix}--tabs__nav-item--icon,
330
- &.#{$prefix}--tabs--contained .#{$prefix}--tabs__nav-item--icon {
349
+ .#{$prefix}--tabs__nav-item--icon-only,
350
+ &.#{$prefix}--tabs--contained .#{$prefix}--tabs__nav-item--icon-only {
331
351
  display: flex;
332
352
  width: $icon-tab-size;
333
353
  height: $icon-tab-size;
@@ -30,6 +30,10 @@
30
30
  &:focus {
31
31
  outline: none;
32
32
  }
33
+
34
+ &:hover {
35
+ cursor: pointer;
36
+ }
33
37
  }
34
38
 
35
39
  .#{$prefix}--tree-node:focus > .#{$prefix}--tree-node__label {