@elliemae/ds-modal-slide 2.4.1-rc.1 → 2.4.1-rc.5

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.
@@ -40,7 +40,7 @@ const DSModalSlide = _ref => {
40
40
  const [show, setShow] = React.useState(isOpen);
41
41
  const [width, setWidth] = React.useState(50);
42
42
  const theme = dsSystem.useTheme();
43
- const contentRows = [...(header ? ["minmax(".concat(theme.space.m, ", 'auto')"), 'auto'] : []), 'auto', ...(footer ? ['auto', theme.space.m] : [])];
43
+ const contentRows = [...(header ? ['auto', '1px'] : []), '1fr', ...(footer ? ['1px', theme.space.m] : [])];
44
44
  const updateShow = React.useCallback(() => {
45
45
  if (fullWidth) setWidth(100);else setWidth(50);
46
46
 
@@ -45,7 +45,7 @@ const ModalHeader = _ref => {
45
45
 
46
46
  const HeaderWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
47
47
  componentId: "sc-oxqqo8-0"
48
- })(["display:flex;justify-content:space-between;width:100%;align-items:center;"]);
48
+ })(["display:flex;justify-content:space-between;width:100%;align-items:center;height:48px;overflow:hidden;"]);
49
49
  const StyledSeparator = /*#__PURE__*/styled__default["default"](DSSeparator__default["default"]).withConfig({
50
50
  componentId: "sc-oxqqo8-1"
51
51
  })(["padding:", " 0;"], props => props.theme.space.xs);
@@ -29,7 +29,7 @@ const DSModalSlide = _ref => {
29
29
  const [show, setShow] = useState(isOpen);
30
30
  const [width, setWidth] = useState(50);
31
31
  const theme = useTheme();
32
- const contentRows = [...(header ? ["minmax(".concat(theme.space.m, ", 'auto')"), 'auto'] : []), 'auto', ...(footer ? ['auto', theme.space.m] : [])];
32
+ const contentRows = [...(header ? ['auto', '1px'] : []), '1fr', ...(footer ? ['1px', theme.space.m] : [])];
33
33
  const updateShow = useCallback(() => {
34
34
  if (fullWidth) setWidth(100);else setWidth(50);
35
35
 
@@ -34,7 +34,7 @@ const ModalHeader = _ref => {
34
34
 
35
35
  const HeaderWrapper = /*#__PURE__*/styled.div.withConfig({
36
36
  componentId: "sc-oxqqo8-0"
37
- })(["display:flex;justify-content:space-between;width:100%;align-items:center;"]);
37
+ })(["display:flex;justify-content:space-between;width:100%;align-items:center;height:48px;overflow:hidden;"]);
38
38
  const StyledSeparator = /*#__PURE__*/styled(DSSeparator).withConfig({
39
39
  componentId: "sc-oxqqo8-1"
40
40
  })(["padding:", " 0;"], props => props.theme.space.xs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-modal-slide",
3
- "version": "2.4.1-rc.1",
3
+ "version": "2.4.1-rc.5",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Modal Slide",
6
6
  "module": "./esm/index.js",
@@ -48,12 +48,12 @@
48
48
  "build": "node ../../scripts/build/build.js"
49
49
  },
50
50
  "dependencies": {
51
- "@elliemae/ds-button": "2.4.1-rc.1",
52
- "@elliemae/ds-classnames": "2.4.1-rc.1",
53
- "@elliemae/ds-grid": "2.4.1-rc.1",
54
- "@elliemae/ds-icons": "2.4.1-rc.1",
55
- "@elliemae/ds-separator": "2.4.1-rc.1",
56
- "@elliemae/ds-system": "2.4.1-rc.1",
51
+ "@elliemae/ds-button": "2.4.1-rc.5",
52
+ "@elliemae/ds-classnames": "2.4.1-rc.5",
53
+ "@elliemae/ds-grid": "2.4.1-rc.5",
54
+ "@elliemae/ds-icons": "2.4.1-rc.5",
55
+ "@elliemae/ds-separator": "2.4.1-rc.5",
56
+ "@elliemae/ds-system": "2.4.1-rc.5",
57
57
  "prop-types": "~15.7.2",
58
58
  "react-desc": "~4.1.3"
59
59
  },