@synerise/ds-layout 0.16.6 → 1.0.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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
+ ## [0.16.7](https://github.com/synerise/synerise-design/compare/@synerise/ds-layout@0.16.6...@synerise/ds-layout@0.16.7) (2025-03-10)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-layout
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.16.6](https://github.com/synerise/synerise-design/compare/@synerise/ds-layout@0.16.5...@synerise/ds-layout@0.16.6) (2025-03-04)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-layout
@@ -7,19 +7,19 @@ import Icon from '@synerise/ds-icon';
7
7
  var DEFAULT_TOP_OFFSET = 55;
8
8
  export var ArrowIcon = styled(Icon).withConfig({
9
9
  displayName: "Layoutstyles__ArrowIcon",
10
- componentId: "i053aj-0"
10
+ componentId: "sc-i053aj-0"
11
11
  })([""]);
12
12
  export var CloseIcon = styled(Icon).withConfig({
13
13
  displayName: "Layoutstyles__CloseIcon",
14
- componentId: "i053aj-1"
14
+ componentId: "sc-i053aj-1"
15
15
  })(["display:none;"]);
16
16
  export var LayoutContent = styled.div.withConfig({
17
17
  displayName: "Layoutstyles__LayoutContent",
18
- componentId: "i053aj-2"
18
+ componentId: "sc-i053aj-2"
19
19
  })(["overflow:hidden;width:100%;height:100%;", ";"], mediaQuery.to.small(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["overflow-x: auto;"]))));
20
20
  export var LayoutHeader = styled.div.withConfig({
21
21
  displayName: "Layoutstyles__LayoutHeader",
22
- componentId: "i053aj-3"
22
+ componentId: "sc-i053aj-3"
23
23
  })(["&&&{margin:0;display:block;width:100%;}z-index:1;box-shadow:0 2px 6px ", ";border-bottom:1px solid ", ";"], function (props) {
24
24
  return hexToRgba(props.theme.palette['grey-400'], 0.12);
25
25
  }, function (props) {
@@ -27,27 +27,27 @@ export var LayoutHeader = styled.div.withConfig({
27
27
  });
28
28
  export var LayoutSubheader = styled.div.withConfig({
29
29
  displayName: "Layoutstyles__LayoutSubheader",
30
- componentId: "i053aj-4"
30
+ componentId: "sc-i053aj-4"
31
31
  })(["position:relative;max-width:100%;top:0;z-index:1;box-shadow:0 4px 12px 0 rgba(35,41,54,0.04);"]);
32
32
  export var LayoutBody = styled.div.withConfig({
33
33
  displayName: "Layoutstyles__LayoutBody",
34
- componentId: "i053aj-5"
34
+ componentId: "sc-i053aj-5"
35
35
  })(["flex:1;display:flex;flex-direction:row;min-height:0;min-width:0;position:relative;overflow:hidden;height:100%;", ";", ";"], mediaQuery.to.small(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["min-width: 704px;}"]))), function (props) {
36
36
  return props.allowOverflow && mediaQuery.to.small(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["overflow-x: auto;"])));
37
37
  });
38
38
  export var LayoutMain = styled.div.withConfig({
39
39
  displayName: "Layoutstyles__LayoutMain",
40
- componentId: "i053aj-6"
40
+ componentId: "sc-i053aj-6"
41
41
  })(["position:relative;max-width:100%;width:100%;", ";", ";"], mediaQuery.to.small(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["min-width: 704px;"]))), mediaQuery.to.medium(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["height: 100%;"]))));
42
42
  export var LayoutMainInner = styled.div.withConfig({
43
43
  displayName: "Layoutstyles__LayoutMainInner",
44
- componentId: "i053aj-7"
44
+ componentId: "sc-i053aj-7"
45
45
  })(["", ";&&{padding:", ";}"], mediaQuery.from.medium(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["padding: 24px;"]))), function (props) {
46
46
  return props.fullPage ? '0' : '24px';
47
47
  });
48
48
  export var LayoutContainer = styled.div.withConfig({
49
49
  displayName: "Layoutstyles__LayoutContainer",
50
- componentId: "i053aj-8"
50
+ componentId: "sc-i053aj-8"
51
51
  })(["height:100%;display:flex;flex-direction:column;overflow:hidden;", ";", "{", ";}", "{overflow:", ";", ";}"], function (props) {
52
52
  return props.fillViewport && css(["position:absolute;width:100%;height:calc(100vh - ", "px);"], props.viewportTopOffset !== undefined ? props.viewportTopOffset : DEFAULT_TOP_OFFSET);
53
53
  }, LayoutMain, function (props) {
@@ -59,7 +59,7 @@ export var LayoutContainer = styled.div.withConfig({
59
59
  });
60
60
  export var SidebarButton = styled.button.withConfig({
61
61
  displayName: "Layoutstyles__SidebarButton",
62
- componentId: "i053aj-9"
62
+ componentId: "sc-i053aj-9"
63
63
  })(["width:36px;height:44px;background-color:", ";align-items:center;justify-content:center;position:absolute;cursor:pointer;border-radius:", ";right:", ";left:", ";top:", ";outline:0;border:0;display:flex;opacity:1;visibility:visible;transition:all 0.3s ease;z-index:1;", ";", "{transition:transform 0.3s ease;}", ";", ";", " ", ";"], function (props) {
64
64
  return props.theme.palette['grey-500'];
65
65
  }, function (props) {
@@ -81,7 +81,7 @@ export var SidebarButton = styled.button.withConfig({
81
81
  });
82
82
  export var LayoutSidebar = styled.div.withConfig({
83
83
  displayName: "Layoutstyles__LayoutSidebar",
84
- componentId: "i053aj-10"
84
+ componentId: "sc-i053aj-10"
85
85
  })(["", ";position:relative;z-index:10;overflow-y:auto;overflow-x:hidden;background-color:#fff;height:100%;box-shadow:0 4px 12px 0 rgba(35,41,54,0.04);width:", ";max-width:100%;", ";", ";", ";", ";}"], function (props) {
86
86
  return !props.animationDisabled && css(["will-change:width;transform-style:preserve-3d;transition:max-width 0.3s ease;"]);
87
87
  }, function (props) {
@@ -99,7 +99,7 @@ export var LayoutSidebar = styled.div.withConfig({
99
99
  }));
100
100
  export var LayoutSidebarWrapper = styled.div.withConfig({
101
101
  displayName: "Layoutstyles__LayoutSidebarWrapper",
102
- componentId: "i053aj-11"
102
+ componentId: "sc-i053aj-11"
103
103
  })(["position:relative;overflow:visible;height:100%;left:", ";right:", ";z-index:10;", ";&:hover{", "{background-color:", ";left:", ";right:", ";", ";", ";}}", ";", ";)"], function (props) {
104
104
  return props.right ? 'auto' : '0';
105
105
  }, function (props) {
@@ -123,5 +123,5 @@ export var LayoutSidebarWrapper = styled.div.withConfig({
123
123
  });
124
124
  export var LayoutSidebarInner = styled.div.withConfig({
125
125
  displayName: "Layoutstyles__LayoutSidebarInner",
126
- componentId: "i053aj-12"
126
+ componentId: "sc-i053aj-12"
127
127
  })(["padding:24px 0;display:flex;flex-flow:column;height:100%;overflow-y:auto;overflow-x:hidden;"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-layout",
3
- "version": "0.16.6",
3
+ "version": "1.0.0",
4
4
  "description": "Layout UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -21,7 +21,7 @@
21
21
  "build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
22
22
  "build:watch": "npm run build:js -- --watch",
23
23
  "defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
24
- "pack:ci": "npm pack --pack-destination ../../portal/storybook-static/static",
24
+ "pack:ci": "npm pack --pack-destination ../../storybook/storybook-static/static",
25
25
  "prepublish": "npm run build",
26
26
  "test": "jest",
27
27
  "test:watch": "npm run test -- --watchAll",
@@ -34,14 +34,14 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-icon": "^0.72.0",
38
- "@synerise/ds-scrollbar": "^0.12.6",
39
- "@synerise/ds-utils": "^0.32.2"
37
+ "@synerise/ds-icon": "^1.0.0",
38
+ "@synerise/ds-scrollbar": "^1.0.0",
39
+ "@synerise/ds-utils": "^1.0.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@synerise/ds-core": "*",
43
43
  "react": ">=16.9.0 <= 18.3.1",
44
44
  "styled-components": "^5.3.3"
45
45
  },
46
- "gitHead": "c5a647bd7a24a2c9294e781b2b69223e8543859f"
46
+ "gitHead": "e4c3690238a44b584b9ea41e4aa52b1eec42174b"
47
47
  }