orcs-design-system 3.3.0 → 3.3.1

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.
@@ -9,7 +9,7 @@ export const Bar = styled("header").attrs(props => ({
9
9
  displayName: "Headerstyles__Bar",
10
10
  componentId: "sc-xs8ba0-0"
11
11
  })(props => ({
12
- height: themeGet("appScale.navBarSize")(props)
12
+ height: themeGet("appScale.newNavBarSize")(props)
13
13
  }), css({
14
14
  width: "100%",
15
15
  zIndex: 12,
@@ -56,7 +56,7 @@ export const SearchContainer = styled("div").withConfig({
56
56
  displayName: "Headerstyles__SearchContainer",
57
57
  componentId: "sc-xs8ba0-2"
58
58
  })(props => css({
59
- maxWidth: "600px",
59
+ maxWidth: "550px",
60
60
  flex: "1 1 auto",
61
61
  borderRadius: themeGet("radii.2")(props),
62
62
  boxShadow: themeGet("shadows.boxDefault")(props)
@@ -87,8 +87,8 @@ const SideNavExpanded = styled("div").withConfig({
87
87
  })(props => css({
88
88
  position: "relative",
89
89
  display: props.active ? "block" : "none",
90
- minWidth: props.large ? "calc(" + themeGet("appScale.sidebarMaxWidthLarge")(props) + " - " + themeGet("appScale.navBarSize")(props) + ")" : "calc(" + themeGet("appScale.sidebarMaxWidth")(props) + " - " + themeGet("appScale.navBarSize")(props) + ")",
91
- maxWidth: props.large ? "calc(" + themeGet("appScale.sidebarMaxWidthLarge")(props) + " - " + themeGet("appScale.navBarSize")(props) + ")" : "calc(" + themeGet("appScale.sidebarMaxWidth")(props) + " - " + themeGet("appScale.navBarSize")(props) + ")",
90
+ minWidth: props.large ? "calc(" + themeGet("appScale.sidebarMaxWidthLarge")(props) + " - " + themeGet("appScale.newNavBarSize")(props) + ")" : "calc(" + themeGet("appScale.sidebarMaxWidth")(props) + " - " + themeGet("appScale.newNavBarSize")(props) + ")",
91
+ maxWidth: props.large ? "calc(" + themeGet("appScale.sidebarMaxWidthLarge")(props) + " - " + themeGet("appScale.newNavBarSize")(props) + ")" : "calc(" + themeGet("appScale.sidebarMaxWidth")(props) + " - " + themeGet("appScale.newNavBarSize")(props) + ")",
92
92
  height: "inherit",
93
93
  overflowY: "auto",
94
94
  padding: "16px",
@@ -102,7 +102,7 @@ const SideNavExpanded = styled("div").withConfig({
102
102
  maxWidth: "initial",
103
103
  borderLeft: "none",
104
104
  borderBottom: `solid 1px ${themeGet("colors.greyLighter")(props)}`,
105
- height: "calc(" + themeGet("appScale.sidebarMobileHeight")(props) + " - " + themeGet("appScale.navBarSize")(props) + ")"
105
+ height: "calc(" + themeGet("appScale.sidebarMobileHeight")(props) + " - " + themeGet("appScale.newNavBarSize")(props) + ")"
106
106
  }
107
107
  }));
108
108
  const SideNav = _ref => {
@@ -6,7 +6,7 @@ export const fonts = {
6
6
  };
7
7
  export const font = fonts.main;
8
8
  export const fontFamilies = fonts;
9
- export const fontSizes = ["1.1rem", "1.2rem", "1.4rem", "1.6rem", "1.8rem", "2.2rem", "2.6rem", "3.0rem", "3.4rem", "4.4rem", "6rem"];
9
+ export const fontSizes = ["1.1rem", "1.2rem", "1.3rem", "1.6rem", "1.8rem", "2.2rem", "2.6rem", "3.0rem", "3.4rem", "4.4rem", "6rem"];
10
10
  export const fontWeights = [300, 400, 600];
11
11
  export const lineHeights = [1, 1.5, 2];
12
12
 
@@ -214,7 +214,8 @@ export const mediaQueries = {
214
214
  // APP-SPECIFIC DIMENSIONS
215
215
 
216
216
  export const appScale = {
217
- navBarSize: "70px",
217
+ navBarSize: "50px",
218
+ newNavBarSize: "70px",
218
219
  sideNavSize: "42px",
219
220
  sidebarMaxWidth: "360px",
220
221
  sidebarMaxWidthLarge: "450px",
package/es/systemtheme.js CHANGED
@@ -6,7 +6,7 @@ export const fonts = {
6
6
  };
7
7
  export const font = fonts.main;
8
8
  export const fontFamilies = fonts;
9
- export const fontSizes = ["1.2rem", "1.4rem", "1.6rem", "1.8rem", "2.0rem", "2.4rem", "2.8rem", "3.2rem", "3.6rem", "4.8rem", "6.4rem"];
9
+ export const fontSizes = ["1.2rem", "1.4rem", "1.5rem", "1.8rem", "2.0rem", "2.4rem", "2.8rem", "3.2rem", "3.6rem", "4.8rem", "6.4rem"];
10
10
  export const fontWeights = [300, 400, 600];
11
11
  export const lineHeights = [1, 1.5, 2];
12
12
 
@@ -213,7 +213,8 @@ export const mediaQueries = {
213
213
  // APP-SPECIFIC DIMENSIONS
214
214
 
215
215
  export const appScale = {
216
- navBarSize: "70px",
216
+ navBarSize: "54px",
217
+ newNavBarSize: "70px",
217
218
  sideNavSize: "50px",
218
219
  sidebarMaxWidth: "360px",
219
220
  sidebarMaxWidthLarge: "550px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orcs-design-system",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "engines": {
5
5
  "node": "20.12.2"
6
6
  },