@cloudflare/component-header 3.5.59 → 3.5.63
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/CHANGELOG.md +30 -0
- package/es/Header.js +1 -2
- package/lib/Header.js +1 -2
- package/package.json +4 -4
- package/src/Header.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.5.63](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-header@3.5.62...@cloudflare/component-header@3.5.63) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **component-header:** UI-4634 Update background color ([e9ba418](http://stash.cfops.it:7999/fe/stratus/commits/e9ba418))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.5.62](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-header@3.5.60...@cloudflare/component-header@3.5.62) (2021-09-15)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **component-header-dropdown:** DESSYS-917 Dark mode change ([931dfbe](http://stash.cfops.it:7999/fe/stratus/commits/931dfbe))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [3.5.60](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-header@3.5.59...@cloudflare/component-header@3.5.60) (2021-08-25)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @cloudflare/component-header
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [3.5.59](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-header@3.5.58...@cloudflare/component-header@3.5.59) (2021-08-23)
|
|
7
37
|
|
|
8
38
|
|
package/es/Header.js
CHANGED
|
@@ -4,7 +4,7 @@ const Header = createComponent(({
|
|
|
4
4
|
theme,
|
|
5
5
|
sticky
|
|
6
6
|
}) => ({
|
|
7
|
-
backgroundColor: theme.colors.
|
|
7
|
+
backgroundColor: theme.colors.background,
|
|
8
8
|
display: 'flex',
|
|
9
9
|
justifyContent: 'space-between',
|
|
10
10
|
color: theme.colors.gray[1],
|
|
@@ -13,7 +13,6 @@ const Header = createComponent(({
|
|
|
13
13
|
left: 0,
|
|
14
14
|
position: sticky ? 'fixed' : 'static',
|
|
15
15
|
width: '100%',
|
|
16
|
-
borderTop: `3px solid ${theme.colors.cfOrange}`,
|
|
17
16
|
borderBottom: `1px solid ${theme.colors.gray[8]}`,
|
|
18
17
|
zIndex: 1200
|
|
19
18
|
}), 'header');
|
package/lib/Header.js
CHANGED
|
@@ -15,7 +15,7 @@ var Header = (0, _styleContainer.createComponent)(function (_ref) {
|
|
|
15
15
|
var theme = _ref.theme,
|
|
16
16
|
sticky = _ref.sticky;
|
|
17
17
|
return {
|
|
18
|
-
backgroundColor: theme.colors.
|
|
18
|
+
backgroundColor: theme.colors.background,
|
|
19
19
|
display: 'flex',
|
|
20
20
|
justifyContent: 'space-between',
|
|
21
21
|
color: theme.colors.gray[1],
|
|
@@ -24,7 +24,6 @@ var Header = (0, _styleContainer.createComponent)(function (_ref) {
|
|
|
24
24
|
left: 0,
|
|
25
25
|
position: sticky ? 'fixed' : 'static',
|
|
26
26
|
width: '100%',
|
|
27
|
-
borderTop: "3px solid ".concat(theme.colors.cfOrange),
|
|
28
27
|
borderBottom: "1px solid ".concat(theme.colors.gray[8]),
|
|
29
28
|
zIndex: 1200
|
|
30
29
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/component-header",
|
|
3
3
|
"description": "Cloudflare Header Component",
|
|
4
|
-
"version": "3.5.
|
|
4
|
+
"version": "3.5.63",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
7
7
|
"author": "Vojtech Miksu <vojtech@miksu.cz>",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@cloudflare/component-icon": "^6.1
|
|
15
|
-
"@cloudflare/style-container": "^7.
|
|
14
|
+
"@cloudflare/component-icon": "^6.3.1",
|
|
15
|
+
"@cloudflare/style-container": "^7.4.0",
|
|
16
16
|
"prop-types": "^15.6.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"test-coverage": "stratus test --coverage",
|
|
30
30
|
"test-watch": "stratus test --watch"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "bc6771eca21284483f36f77a265d7e5ac79a76a8"
|
|
33
33
|
}
|
package/src/Header.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createComponent } from '@cloudflare/style-container';
|
|
|
3
3
|
|
|
4
4
|
const Header = createComponent(
|
|
5
5
|
({ theme, sticky }) => ({
|
|
6
|
-
backgroundColor: theme.colors.
|
|
6
|
+
backgroundColor: theme.colors.background,
|
|
7
7
|
display: 'flex',
|
|
8
8
|
justifyContent: 'space-between',
|
|
9
9
|
color: theme.colors.gray[1],
|
|
@@ -12,7 +12,6 @@ const Header = createComponent(
|
|
|
12
12
|
left: 0,
|
|
13
13
|
position: sticky ? 'fixed' : 'static',
|
|
14
14
|
width: '100%',
|
|
15
|
-
borderTop: `3px solid ${theme.colors.cfOrange}`,
|
|
16
15
|
borderBottom: `1px solid ${theme.colors.gray[8]}`,
|
|
17
16
|
zIndex: 1200
|
|
18
17
|
}),
|