@carbon-labs/react-ui-shell 0.55.0 → 0.57.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.
@@ -42,8 +42,8 @@ function _objectWithoutProperties(e, t) {
42
42
  r,
43
43
  i = _objectWithoutPropertiesLoose(e, t);
44
44
  if (Object.getOwnPropertySymbols) {
45
- var s = Object.getOwnPropertySymbols(e);
46
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
45
+ var n = Object.getOwnPropertySymbols(e);
46
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
47
47
  }
48
48
  return i;
49
49
  }
@@ -51,7 +51,7 @@ function _objectWithoutPropertiesLoose(r, e) {
51
51
  if (null == r) return {};
52
52
  var t = {};
53
53
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
54
- if (e.includes(n)) continue;
54
+ if (-1 !== e.indexOf(n)) continue;
55
55
  t[n] = r[n];
56
56
  }
57
57
  return t;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon-labs/react-ui-shell",
3
- "version": "0.55.0",
3
+ "version": "0.57.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -42,5 +42,5 @@
42
42
  "dependencies": {
43
43
  "@ibm/telemetry-js": "^1.9.1"
44
44
  },
45
- "gitHead": "6a983f88b50214144700a5e80e27829c3a55502a"
45
+ "gitHead": "e6f4e6a5ce706a8be19dc22f663839a34b85f02b"
46
46
  }
@@ -22,11 +22,15 @@ $prefix: 'cds' !default;
22
22
  }
23
23
 
24
24
  .#{$prefix}--header__action:focus {
25
- box-shadow: inset 0 0 0 1px $focus, inset 0 0 0 2px $background;
25
+ outline-offset: -2px;
26
26
  }
27
27
 
28
28
  .#{$prefix}--header-action__button {
29
29
  block-size: convert.rem(48px);
30
+
31
+ &:focus {
32
+ outline-offset: -2px;
33
+ }
30
34
  }
31
35
 
32
36
  .#{$prefix}--header-action__button.#{$prefix}--btn--ghost:not([disabled]) svg {
@@ -41,11 +45,6 @@ $prefix: 'cds' !default;
41
45
  fill: $icon-primary;
42
46
  }
43
47
 
44
- // TODO: remove when https://github.com/carbon-design-system/carbon/pull/18725 is released
45
- .#{$prefix}--header-action .#{$prefix}--tooltip-content {
46
- color: $text-primary;
47
- }
48
-
49
48
  .#{$prefix}--header-action.#{$prefix}--popover--open
50
49
  .#{$prefix}--header-action__button {
51
50
  background-color: $layer;
@@ -63,12 +62,6 @@ $prefix: 'cds' !default;
63
62
  $link-visited
64
63
  );
65
64
  @include custom-property.declaration('link-focus-text-color', $focus);
66
-
67
- padding: 0;
68
-
69
- > * {
70
- padding: 0 $spacing-05 $spacing-05 $spacing-05;
71
- }
72
65
  }
73
66
 
74
67
  //----------------------------------------------------------------------------
@@ -14,16 +14,30 @@
14
14
 
15
15
  $prefix: 'cds' !default;
16
16
 
17
- // user-info
18
- .#{$prefix}--header-action .#{$prefix}--profile-user-info {
19
- display: flex;
20
- padding-block-start: $spacing-05;
17
+ // profile
18
+ .#{$prefix}--profile.#{$prefix}--popover--open {
19
+ background-color: $background;
20
+ }
21
21
 
22
- &:not(:last-child) {
22
+ .#{$prefix}--profile .#{$prefix}--toggletip-content {
23
+ padding: 0;
24
+ background-color: $background;
25
+ border-inline-start: 1px solid $border-subtle;
26
+ gap: 0;
27
+ max-block-size: 100vh;
28
+ overflow-y: scroll;
29
+
30
+ > * {
31
+ padding: $spacing-05;
23
32
  border-block-end: convert.to-rem(1px) solid $border-subtle;
24
33
  }
25
34
  }
26
35
 
36
+ // user-info
37
+ .#{$prefix}--profile .#{$prefix}--profile-user-info {
38
+ display: flex;
39
+ }
40
+
27
41
  .#{$prefix}--profile-user-info__text-wrapper {
28
42
  margin-inline-start: $spacing-05;
29
43
  }
@@ -37,14 +51,6 @@ $prefix: 'cds' !default;
37
51
  }
38
52
 
39
53
  // read only
40
- .#{$prefix}--profile-read-only {
41
- padding-block-start: 0;
42
-
43
- &:not(:last-child) {
44
- border-block-end: convert.to-rem(1px) solid $border-subtle;
45
- }
46
- }
47
-
48
54
  .#{$prefix}--profile-read-only__items:not(:last-child) {
49
55
  padding-block-end: $spacing-05;
50
56
  }
@@ -61,3 +67,13 @@ $prefix: 'cds' !default;
61
67
 
62
68
  color: $text-primary;
63
69
  }
70
+
71
+ // contained-list links
72
+ .#{$prefix}--header-action__content .#{$prefix}--contained-list--on-page {
73
+ padding: 0;
74
+ }
75
+
76
+ // TODO: remove when https://github.com/carbon-design-system/carbon/pull/19813 is released
77
+ .#{$prefix}--header-action__content .#{$prefix}--contained-list__header {
78
+ display: none;
79
+ }