@carbon/ibm-products-styles 2.71.0 → 2.72.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/ibm-products-styles",
3
3
  "description": "Carbon for IBM Products styles",
4
- "version": "2.71.0",
4
+ "version": "2.72.0",
5
5
  "license": "Apache-2.0",
6
6
  "installConfig": {
7
7
  "hoistingLimits": "none"
@@ -45,12 +45,11 @@
45
45
  "test": "jest --colors"
46
46
  },
47
47
  "devDependencies": {
48
- "chalk": "^4.1.2",
49
48
  "copyfiles": "^2.4.1",
50
49
  "cross-env": "^10.0.0",
51
50
  "glob": "^11.0.1",
52
51
  "jest": "^29.7.0",
53
- "jest-config-ibm-cloud-cognitive": "^1.34.0",
52
+ "jest-config-ibm-cloud-cognitive": "^1.35.0",
54
53
  "jest-environment-jsdom": "^29.7.0",
55
54
  "npm-run-all2": "^8.0.0",
56
55
  "rimraf": "^6.0.1",
@@ -67,5 +66,5 @@
67
66
  "dependencies": {
68
67
  "@ibm/telemetry-js": "^1.9.1"
69
68
  },
70
- "gitHead": "98ca4d24bcc54951cf99c2c892da24b5ea44e059"
69
+ "gitHead": "9574ac50c9027213234f5fb015b44af96cc6ad0c"
71
70
  }
@@ -794,6 +794,7 @@ $duration: 1000ms;
794
794
 
795
795
  .#{$block-class}__content {
796
796
  padding: $spacing-06 0;
797
+ background-color: $layer;
797
798
  }
798
799
 
799
800
  .#{$block-class}__content__title-wrapper {
@@ -903,12 +904,13 @@ $duration: 1000ms;
903
904
  }
904
905
 
905
906
  .#{$block-class}__tab-bar {
907
+ background-color: $layer;
906
908
  margin-inline-start: -$spacing-05;
907
909
  }
908
910
 
909
911
  .#{$block-class}__tab-bar--tablist {
910
912
  display: grid;
911
- grid-gap: $spacing-10;
913
+ gap: $spacing-07;
912
914
  grid-template-columns: auto minmax(0, 1fr);
913
915
  }
914
916
 
@@ -966,6 +968,29 @@ $duration: 1000ms;
966
968
  padding: $spacing-05;
967
969
  }
968
970
 
971
+ .#{$block-class}--tag-overflow-container {
972
+ align-content: center;
973
+ text-align: end;
974
+ @include breakpoint(sm) {
975
+ transform: translateX(calc(-1 * #{$spacing-06}));
976
+ }
977
+ @include breakpoint(md) {
978
+ transform: translateX(calc(-1 * #{$spacing-03}));
979
+ }
980
+ @include breakpoint(lg) {
981
+ transform: translateX($spacing-08);
982
+ }
983
+ }
984
+
985
+ .#{$block-class}--tag-overflow-popover__hidden {
986
+ visibility: hidden;
987
+ }
988
+
989
+ .#{$block-class}--tag-overflow-container__has-no-hidden-items {
990
+ /* stylelint-disable-next-line carbon/layout-use */
991
+ transform: translateX($spacing-07);
992
+ }
993
+
969
994
  .#{$block-class}__tag-item {
970
995
  flex-shrink: 0;
971
996
  }
@@ -100,12 +100,6 @@ $block-class-modal: #{$block-class}-modal;
100
100
  font-family: inherit;
101
101
  }
102
102
 
103
- .#{$block-class-overflow}__show-all-tags-link.#{c4p-settings.$carbon-prefix}--link:visited {
104
- display: inline-block;
105
- margin: $spacing-03 0 $spacing-02; // to match the tags
106
- color: $link-inverse;
107
- }
108
-
109
103
  .#{c4p-settings.$carbon-prefix}--link:active,
110
104
  .#{c4p-settings.$carbon-prefix}--link:active:visited,
111
105
  .#{c4p-settings.$carbon-prefix}--link:active:visited:hover {
@@ -120,6 +114,18 @@ $block-class-modal: #{$block-class}-modal;
120
114
  .#{$block-class-overflow}__show-all-tags-link {
121
115
  color: $link-inverse;
122
116
  margin-block-start: $spacing-03;
117
+
118
+ &:hover {
119
+ color: $link-inverse-hover;
120
+ }
121
+
122
+ &:focus {
123
+ color: $focus-inverse;
124
+ }
125
+
126
+ &:visited {
127
+ color: $link-inverse;
128
+ }
123
129
  }
124
130
 
125
131
  .#{$block-class-overflow}__tag-item.#{$block-class-overflow}__tag-item--tag
@@ -102,12 +102,6 @@ $block-class-modal: #{$_block-class}-modal;
102
102
  text-align: start;
103
103
  }
104
104
 
105
- .#{$block-class-overflow}__show-all-tags-link.#{$carbon-prefix}--link:visited {
106
- display: inline-block;
107
- margin: $spacing-03 0 $spacing-02; // to match the tags
108
- color: $link-inverse;
109
- }
110
-
111
105
  .#{$carbon-prefix}--link:active,
112
106
  .#{$carbon-prefix}--link:active:visited,
113
107
  .#{$carbon-prefix}--link:active:visited:hover {
@@ -122,6 +116,18 @@ $block-class-modal: #{$_block-class}-modal;
122
116
  .#{$block-class-overflow}__show-all-tags-link {
123
117
  color: $link-inverse;
124
118
  margin-block-start: $spacing-03;
119
+
120
+ &:hover {
121
+ color: $link-inverse-hover;
122
+ }
123
+
124
+ &:focus {
125
+ color: $focus-inverse;
126
+ }
127
+
128
+ &:visited {
129
+ color: $link-inverse;
130
+ }
125
131
  }
126
132
 
127
133
  .#{$block-class-overflow}__tag-item.#{$block-class-overflow}__tag-item--tag