@thecb/components 3.5.7 → 3.5.8
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/.tool-versions +1 -0
- package/dist/index.cjs.js +399 -632
- package/package.json +1 -1
- package/src/components/molecules/collapsible-section/CollapsibleSection.js +2 -2
- package/src/components/molecules/nav-menu/NavMenu.theme.js +9 -2
- package/src/components/molecules/nav-menu/NavMenuDesktop.js +6 -1
- package/src/components/molecules/nav-menu/NavMenuMobile.js +6 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ import { themeComponent } from "../../../util/themeUtils";
|
|
|
5
5
|
import Heading from "../../atoms/heading";
|
|
6
6
|
import { FONT_WEIGHT_SEMIBOLD } from "../../../constants/style_constants";
|
|
7
7
|
import { Box, Cluster, Stack, Motion } from "../../atoms/layouts";
|
|
8
|
-
import {
|
|
8
|
+
import { ChevronIcon } from "../../atoms/icons";
|
|
9
9
|
import { noop } from "../../../util/general";
|
|
10
10
|
|
|
11
11
|
const CollapsibleSection = ({
|
|
@@ -95,7 +95,7 @@ const CollapsibleSection = ({
|
|
|
95
95
|
variants={icon}
|
|
96
96
|
style={{ display: "flex", alignItems: "center" }}
|
|
97
97
|
>
|
|
98
|
-
<
|
|
98
|
+
<ChevronIcon />
|
|
99
99
|
</Motion>
|
|
100
100
|
</Cluster>
|
|
101
101
|
</Box>
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
const backgroundColor =
|
|
2
|
-
|
|
1
|
+
const backgroundColor = {
|
|
2
|
+
profile: "#3b414d",
|
|
3
|
+
cms: "#3b414d"
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
const shadowColor = {
|
|
7
|
+
profile: "#292A33",
|
|
8
|
+
cms: "#292A33"
|
|
9
|
+
};
|
|
3
10
|
|
|
4
11
|
export const fallbackValues = {
|
|
5
12
|
backgroundColor,
|
|
@@ -60,4 +60,9 @@ const NavMenuMobile = ({ menuContent = [], visible = false, themeValues }) => {
|
|
|
60
60
|
);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
export default themeComponent(
|
|
63
|
+
export default themeComponent(
|
|
64
|
+
NavMenuMobile,
|
|
65
|
+
"NavMenu",
|
|
66
|
+
fallbackValues,
|
|
67
|
+
"profile"
|
|
68
|
+
);
|