@via-profit/ui-kit 0.1.0-rc.22 → 0.1.0-rc.23

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.
@@ -118,6 +118,7 @@ const ModalConfirmBox = (props, ref) => {
118
118
 
119
119
  .modal-confirmbox .ReactModal__Content {
120
120
  inset: initial !important;
121
+ border: none !important;
121
122
  position: absolute !important;
122
123
  top: 50% !important;
123
124
  padding: 0 !important;
@@ -41,9 +41,7 @@ const React = __importStar(require("react"));
41
41
  const styled_1 = __importDefault(require("@emotion/styled"));
42
42
  const react_1 = require("@emotion/react");
43
43
  const react_modal_1 = __importDefault(require("react-modal"));
44
- const Container = styled_1.default.div `
45
- padding: 1em;
46
- `;
44
+ const Container = styled_1.default.div ``;
47
45
  const ModalDialog = (props, ref) => {
48
46
  const { children } = props, otherProps = __rest(props, ["children"]);
49
47
  const theme = (0, react_1.useTheme)();
@@ -69,6 +67,7 @@ const ModalDialog = (props, ref) => {
69
67
 
70
68
  .modal-dialog .ReactModal__Content {
71
69
  inset: initial !important;
70
+ border: none !important;
72
71
  position: absolute !important;
73
72
  top: 50% !important;
74
73
  left: 50% !important;
@@ -45,7 +45,7 @@ const Button_1 = __importDefault(require("../Button"));
45
45
  const CloseIcon_1 = __importDefault(require("./CloseIcon"));
46
46
  const Container = styled_1.default.div `
47
47
  min-height: 2rem;
48
- max-height: calc(100vh - 3rem);
48
+ height: 100%;
49
49
  display: flex;
50
50
  flex-flow: column;
51
51
  `;
@@ -66,13 +66,11 @@ const Title = styled_1.default.div `
66
66
  font-weight: 600;
67
67
  margin-right: 1em;
68
68
  `;
69
- const Footer = styled_1.default.div `
70
- padding: 1em;
71
- `;
69
+ const Footer = styled_1.default.div ``;
72
70
  const Inner = styled_1.default.div `
73
- padding: 1em;
74
71
  overflow-y: auto;
75
72
  flex: 1;
73
+ display: flex;
76
74
  `;
77
75
  const CloseButton = (0, styled_1.default)(Button_1.default) `
78
76
  margin-left: ${props => (props.$withToolbar ? '1em' : 0)};
@@ -121,6 +119,7 @@ const ModalDrawer = (props, ref) => {
121
119
  }
122
120
 
123
121
  .modal-drawer .ReactModal__Content {
122
+ border: none !important;
124
123
  position: absolute !important;
125
124
  bottom: 0 !important;
126
125
  padding: 0 !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@via-profit/ui-kit",
3
- "version": "0.1.0-rc.22",
3
+ "version": "0.1.0-rc.23",
4
4
  "description": "UI Kit",
5
5
  "repository": {
6
6
  "type": "git",