@carbon-labs/react-ui-shell 0.56.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.
- package/es/components/HeaderContainer.d.ts +11 -1
- package/es/components/HeaderContainer.js +30 -6
- package/es/components/Profile.js +5 -4
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-0.js +272 -272
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-15.js +898 -927
- package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +615 -637
- package/es/node_modules/@carbon/icons-react/node_modules/@carbon/icon-helpers/es/index.js +3 -3
- package/lib/components/HeaderContainer.d.ts +11 -1
- package/lib/components/HeaderContainer.js +29 -5
- package/lib/components/Profile.js +5 -4
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-0.js +273 -273
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-15.js +926 -955
- package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +621 -643
- package/lib/node_modules/@carbon/icons-react/node_modules/@carbon/icon-helpers/es/index.js +3 -3
- package/package.json +2 -2
- package/scss/styles/_header.scss +5 -12
- package/scss/styles/_profile.scss +20 -15
|
@@ -42,8 +42,8 @@ function _objectWithoutProperties(e, t) {
|
|
|
42
42
|
r,
|
|
43
43
|
i = _objectWithoutPropertiesLoose(e, t);
|
|
44
44
|
if (Object.getOwnPropertySymbols) {
|
|
45
|
-
var
|
|
46
|
-
for (r = 0; r <
|
|
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.
|
|
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.
|
|
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": "
|
|
45
|
+
"gitHead": "e6f4e6a5ce706a8be19dc22f663839a34b85f02b"
|
|
46
46
|
}
|
package/scss/styles/_header.scss
CHANGED
|
@@ -22,11 +22,15 @@ $prefix: 'cds' !default;
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.#{$prefix}--header__action:focus {
|
|
25
|
-
|
|
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
|
-
//
|
|
18
|
-
.#{$prefix}--
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
// profile
|
|
18
|
+
.#{$prefix}--profile.#{$prefix}--popover--open {
|
|
19
|
+
background-color: $background;
|
|
20
|
+
}
|
|
21
21
|
|
|
22
|
-
|
|
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
|
}
|
|
@@ -65,10 +71,9 @@ $prefix: 'cds' !default;
|
|
|
65
71
|
// contained-list links
|
|
66
72
|
.#{$prefix}--header-action__content .#{$prefix}--contained-list--on-page {
|
|
67
73
|
padding: 0;
|
|
68
|
-
margin-block-start: -$spacing-05;
|
|
69
74
|
}
|
|
70
75
|
|
|
71
|
-
// TODO: remove
|
|
76
|
+
// TODO: remove when https://github.com/carbon-design-system/carbon/pull/19813 is released
|
|
72
77
|
.#{$prefix}--header-action__content .#{$prefix}--contained-list__header {
|
|
73
78
|
display: none;
|
|
74
79
|
}
|