venice-ui 1.0.5 → 1.0.6
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/dist/cjs/Theme/Theme.js +1 -1
- package/dist/cjs/Theme/Theme.js.map +1 -1
- package/dist/cjs/components/Modal/Modal.js +2 -2
- package/dist/cjs/components/common/commonComponents.js +1 -1
- package/dist/cjs/components/common/commonComponents.js.map +1 -1
- package/dist/esm/Theme/Theme.js +2 -5
- package/dist/esm/Theme/Theme.js.map +1 -1
- package/dist/esm/components/Aligment/Aligment.styles.js +2 -8
- package/dist/esm/components/Aligment/Aligment.styles.js.map +1 -1
- package/dist/esm/components/Aligment/index.js +1 -5
- package/dist/esm/components/Aligment/index.js.map +1 -1
- package/dist/esm/components/Button/Button.js +4 -11
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Button/Button.styles.js +27 -33
- package/dist/esm/components/Button/Button.styles.js.map +1 -1
- package/dist/esm/components/Button/index.js +1 -5
- package/dist/esm/components/Button/index.js.map +1 -1
- package/dist/esm/components/Icons/Icon.js +8 -15
- package/dist/esm/components/Icons/Icon.js.map +1 -1
- package/dist/esm/components/Icons/Icon.styles.js +7 -13
- package/dist/esm/components/Icons/Icon.styles.js.map +1 -1
- package/dist/esm/components/Icons/IconsPath.js +1 -4
- package/dist/esm/components/Icons/IconsPath.js.map +1 -1
- package/dist/esm/components/Icons/index.js +1 -5
- package/dist/esm/components/Icons/index.js.map +1 -1
- package/dist/esm/components/InputText/InputText.js +4 -11
- package/dist/esm/components/InputText/InputText.js.map +1 -1
- package/dist/esm/components/InputText/InputText.styles.js +8 -14
- package/dist/esm/components/InputText/InputText.styles.js.map +1 -1
- package/dist/esm/components/InputText/index.js +1 -5
- package/dist/esm/components/InputText/index.js.map +1 -1
- package/dist/esm/components/Modal/Modal.js +18 -25
- package/dist/esm/components/Modal/Modal.js.map +1 -1
- package/dist/esm/components/Modal/Modal.styles.js +10 -16
- package/dist/esm/components/Modal/Modal.styles.js.map +1 -1
- package/dist/esm/components/Modal/index.js +1 -5
- package/dist/esm/components/Modal/index.js.map +1 -1
- package/dist/esm/components/Typography/Typography.styles.js +17 -23
- package/dist/esm/components/Typography/Typography.styles.js.map +1 -1
- package/dist/esm/components/Typography/index.js +1 -8
- package/dist/esm/components/Typography/index.js.map +1 -1
- package/dist/esm/components/common/commonComponents.js +5 -11
- package/dist/esm/components/common/commonComponents.js.map +1 -1
- package/dist/esm/components/common/index.js +1 -17
- package/dist/esm/components/common/index.js.map +1 -1
- package/dist/esm/example/ExampleComponent.js +14 -20
- package/dist/esm/example/ExampleComponent.js.map +1 -1
- package/dist/esm/example/index.js +1 -17
- package/dist/esm/example/index.js.map +1 -1
- package/dist/esm/index.js +6 -22
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.js +1 -17
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/types.js +1 -2
- package/package.json +1 -1
package/dist/cjs/Theme/Theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Theme.js","sourceRoot":"","sources":["../../../src/Theme/Theme.ts"],"names":[],"mappings":";;;AAAa,QAAA,KAAK,GAAG;IACnB,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,SAAS;QACtB,iBAAiB,EAAE,SAAS;QAC5B,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"Theme.js","sourceRoot":"","sources":["../../../src/Theme/Theme.ts"],"names":[],"mappings":";;;AAAa,QAAA,KAAK,GAAG;IACnB,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,SAAS;QACtB,iBAAiB,EAAE,SAAS;QAC5B,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,iBAAiB;KAC7B;IAED,QAAQ,EAAE;QACR,EAAE,EAAE,MAAM;QACV,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,EAAE,EAAE,MAAM;KACX;IACD,UAAU,EAAE;QACV,EAAE,EAAE,MAAM;QACV,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,EAAE,EAAE,MAAM;KACX;IAED,OAAO,EAAE;QACP,EAAE,EAAE,KAAK;QACT,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,MAAM;QACT,EAAE,EAAE,MAAM;QACV,GAAG,EAAE,MAAM;KACZ;IACD,MAAM,EAAC;QACL,cAAc,EAAE,IAAI;KACrB;IACD,YAAY,EAAE;QACZ,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,KAAK;KACT;IACD,MAAM,EAAC;QACL,CAAC,EAAE,iEAAiE;KACrE;CACF,CAAC"}
|
|
@@ -18,11 +18,11 @@ const Modal = ({ children, title, handleConfirm, handleClose, labelConfirm, labe
|
|
|
18
18
|
};
|
|
19
19
|
return (react_1.default.createElement(Modal_styles_1.ModalOverlayer, null,
|
|
20
20
|
react_1.default.createElement(Modal_styles_1.ModalElement, { size: size },
|
|
21
|
-
react_1.default.createElement(Aligment_1.Aligment, { justify: !title ? 'flex-end' : 'space-between', vPadding: Theme_1.Theme.padding.
|
|
21
|
+
react_1.default.createElement(Aligment_1.Aligment, { justify: !title ? 'flex-end' : 'space-between', vPadding: Theme_1.Theme.padding.l, hPadding: Theme_1.Theme.padding.l },
|
|
22
22
|
title && react_1.default.createElement(Typography_1.TextHeader, null, title),
|
|
23
23
|
react_1.default.createElement(Icons_1.Icon, { onClick: handleClose, name: "close" })),
|
|
24
24
|
react_1.default.createElement(common_1.ScrollCotainer, null, children),
|
|
25
|
-
react_1.default.createElement(Aligment_1.Aligment, { justify: 'flex-end', vPadding: Theme_1.Theme.padding.
|
|
25
|
+
react_1.default.createElement(Aligment_1.Aligment, { justify: 'flex-end', vPadding: Theme_1.Theme.padding.l, hPadding: Theme_1.Theme.padding.l },
|
|
26
26
|
react_1.default.createElement(Button_1.Button, { mode: isMultiButtons() ? 'inverse' : 'primary', onClick: () => handleClose(), text: labelClose, left: isMultiButtons() }),
|
|
27
27
|
handleConfirm && labelConfirm && (react_1.default.createElement(Button_1.Button, { onClick: handleConfirm, text: labelConfirm }))))));
|
|
28
28
|
};
|
|
@@ -11,7 +11,7 @@ exports.Container = styled_components_1.default.div `
|
|
|
11
11
|
`;
|
|
12
12
|
exports.ScrollCotainer = styled_components_1.default.div `
|
|
13
13
|
width: 100%;
|
|
14
|
-
padding: ${Theme_1.Theme.padding.l}
|
|
14
|
+
padding: ${Theme_1.Theme.padding.l};
|
|
15
15
|
overflow: auto;
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonComponents.js","sourceRoot":"","sources":["../../../../src/components/common/commonComponents.tsx"],"names":[],"mappings":";;;;;;AAAA,0EAAsC;AACtC,6CAAyC;AAE5B,QAAA,SAAS,GAAG,2BAAM,CAAC,GAAG,CAAA;;CAElC,CAAA;AAEY,QAAA,cAAc,GAAG,2BAAM,CAAC,GAAG,CAAA;;aAE3B,aAAK,CAAC,OAAO,CAAC,CAAC
|
|
1
|
+
{"version":3,"file":"commonComponents.js","sourceRoot":"","sources":["../../../../src/components/common/commonComponents.tsx"],"names":[],"mappings":";;;;;;AAAA,0EAAsC;AACtC,6CAAyC;AAE5B,QAAA,SAAS,GAAG,2BAAM,CAAC,GAAG,CAAA;;CAElC,CAAA;AAEY,QAAA,cAAc,GAAG,2BAAM,CAAC,GAAG,CAAA;;aAE3B,aAAK,CAAC,OAAO,CAAC,CAAC;;;CAG3B,CAAA"}
|
package/dist/esm/Theme/Theme.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Theme = void 0;
|
|
4
|
-
exports.Theme = {
|
|
1
|
+
export const Theme = {
|
|
5
2
|
colors: {
|
|
6
3
|
primary: "#4c95c5",
|
|
7
4
|
text: '#333333',
|
|
@@ -10,7 +7,7 @@ exports.Theme = {
|
|
|
10
7
|
white: "#ffffff",
|
|
11
8
|
black: "#333333",
|
|
12
9
|
gray_1: "#b7b7b7",
|
|
13
|
-
overlayer: 'rgba(
|
|
10
|
+
overlayer: 'rgba(0,0,0,0.4)'
|
|
14
11
|
},
|
|
15
12
|
fontSize: {
|
|
16
13
|
xs: "12px",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Theme.js","sourceRoot":"","sources":["../../../src/Theme/Theme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Theme.js","sourceRoot":"","sources":["../../../src/Theme/Theme.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,SAAS;QACtB,iBAAiB,EAAE,SAAS;QAC5B,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,iBAAiB;KAC7B;IAED,QAAQ,EAAE;QACR,EAAE,EAAE,MAAM;QACV,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,EAAE,EAAE,MAAM;KACX;IACD,UAAU,EAAE;QACV,EAAE,EAAE,MAAM;QACV,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,EAAE,EAAE,MAAM;KACX;IAED,OAAO,EAAE;QACP,EAAE,EAAE,KAAK;QACT,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,MAAM;QACT,EAAE,EAAE,MAAM;QACV,GAAG,EAAE,MAAM;KACZ;IACD,MAAM,EAAC;QACL,cAAc,EAAE,IAAI;KACrB;IACD,YAAY,EAAE;QACZ,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,KAAK;QACR,CAAC,EAAE,KAAK;KACT;IACD,MAAM,EAAC;QACL,CAAC,EAAE,iEAAiE;KACrE;CACF,CAAC"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Aligment = void 0;
|
|
7
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
-
exports.Aligment = styled_components_1.default.div `
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
export const Aligment = styled.div `
|
|
9
3
|
box-sizing: border-box;
|
|
10
4
|
display: flex;
|
|
11
5
|
width: ${p => p.width ? p.width : '100%'};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Aligment.styles.js","sourceRoot":"","sources":["../../../../src/components/Aligment/Aligment.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Aligment.styles.js","sourceRoot":"","sources":["../../../../src/components/Aligment/Aligment.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAYvC,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAgB;;;WAGvC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM;oBACtB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK;qBACrC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe;iBAChD,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ;eACnC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM;aAC/B,CAAC,CAAA,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG;sBAC7D,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa;CAC/E,CAAC"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Aligment = void 0;
|
|
4
|
-
var Aligment_styles_1 = require("./Aligment.styles");
|
|
5
|
-
Object.defineProperty(exports, "Aligment", { enumerable: true, get: function () { return Aligment_styles_1.Aligment; } });
|
|
1
|
+
export { Aligment } from './Aligment.styles';
|
|
6
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Aligment/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Aligment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonElement } from './Button.styles';
|
|
3
|
+
export const Button = ({ text, mode = 'primary', size = 'regular', right = false, left = false, onClick, }) => {
|
|
4
|
+
return (React.createElement(ButtonElement, { mode: mode, size: size, right: right, left: left, onClick: onClick }, text));
|
|
4
5
|
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Button = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const Button_styles_1 = require("./Button.styles");
|
|
9
|
-
const Button = ({ text, mode = 'primary', size = 'regular', right = false, left = false, onClick, }) => {
|
|
10
|
-
return (react_1.default.createElement(Button_styles_1.ButtonElement, { mode: mode, size: size, right: right, left: left, onClick: onClick }, text));
|
|
11
|
-
};
|
|
12
|
-
exports.Button = Button;
|
|
13
6
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAU/C,MAAM,CAAC,MAAM,MAAM,GAAqB,CAAC,EACvC,IAAI,EACJ,IAAI,GAAG,SAAS,EAChB,IAAI,GAAG,SAAS,EAChB,KAAK,GAAG,KAAK,EACb,IAAI,GAAG,KAAK,EACZ,OAAO,GACR,EAAE,EAAE;IACH,OAAO,CACL,oBAAC,aAAa,IACZ,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,IAEf,IAAI,CACS,CACjB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,65 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ButtonElement = void 0;
|
|
7
|
-
const polished_1 = require("polished");
|
|
8
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const Theme_1 = require("../../Theme/Theme");
|
|
10
|
-
exports.ButtonElement = styled_components_1.default.button `
|
|
1
|
+
import { lighten } from 'polished';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { Theme } from '../../Theme/Theme';
|
|
4
|
+
export const ButtonElement = styled.button `
|
|
11
5
|
transition: 300ms;
|
|
12
|
-
border-radius: ${
|
|
6
|
+
border-radius: ${Theme.borderRadius.s};
|
|
13
7
|
overflow: hidden;
|
|
14
8
|
cursor: pointer;
|
|
15
9
|
box-sizing: border-box;
|
|
16
|
-
margin-left: ${(p) => (p.right ?
|
|
17
|
-
margin-right: ${(p) => (p.left ?
|
|
10
|
+
margin-left: ${(p) => (p.right ? Theme.padding.m : '0')};
|
|
11
|
+
margin-right: ${(p) => (p.left ? Theme.padding.m : '0')};
|
|
18
12
|
display: flex;
|
|
19
13
|
align-items: center;
|
|
20
14
|
justify-content: center;
|
|
21
15
|
display: flex;
|
|
22
16
|
|
|
23
17
|
${(p) => p.mode === 'primary' &&
|
|
24
|
-
`background-color: ${
|
|
25
|
-
color: ${
|
|
18
|
+
`background-color: ${Theme.colors.primary};
|
|
19
|
+
color: ${Theme.colors.white};
|
|
26
20
|
border: 1px solid rgba(0,0,0,0.15);`}
|
|
27
21
|
${(p) => p.mode === 'inverse' &&
|
|
28
|
-
`background-color: ${
|
|
29
|
-
color: ${
|
|
30
|
-
border: 1px solid ${
|
|
22
|
+
`background-color: ${Theme.colors.white};
|
|
23
|
+
color: ${Theme.colors.primary};
|
|
24
|
+
border: 1px solid ${Theme.colors.primary};
|
|
31
25
|
`}
|
|
32
26
|
${(p) => p.mode === 'ghost' &&
|
|
33
27
|
`background-color:transparent;
|
|
34
|
-
color: ${
|
|
28
|
+
color: ${Theme.colors.primary};
|
|
35
29
|
border:none;`}
|
|
36
30
|
${(p) => p.size === 'regular' &&
|
|
37
|
-
`font-size: ${
|
|
38
|
-
line-height: ${
|
|
39
|
-
padding: ${
|
|
31
|
+
`font-size: ${Theme.fontSize.m};
|
|
32
|
+
line-height: ${Theme.lineHeight.m};
|
|
33
|
+
padding: ${Theme.padding.m} ${Theme.padding.l};`}
|
|
40
34
|
${(p) => p.size === 'small' &&
|
|
41
|
-
`font-size: ${
|
|
42
|
-
line-height: ${
|
|
43
|
-
padding: ${
|
|
35
|
+
`font-size: ${Theme.fontSize.s};
|
|
36
|
+
line-height: ${Theme.lineHeight.s};
|
|
37
|
+
padding: ${Theme.padding.s} ${Theme.padding.m};`}
|
|
44
38
|
${(p) => p.size === 'flat' &&
|
|
45
|
-
`font-size: ${
|
|
46
|
-
line-height: ${
|
|
47
|
-
padding: ${
|
|
39
|
+
`font-size: ${Theme.fontSize.m};
|
|
40
|
+
line-height: ${Theme.lineHeight.m};
|
|
41
|
+
padding: ${Theme.padding.s} ${Theme.padding.s};`}
|
|
48
42
|
&:hover {
|
|
49
43
|
transition: 300ms;
|
|
50
44
|
${(p) => p.mode === 'primary' &&
|
|
51
|
-
`background-color: ${
|
|
45
|
+
`background-color: ${lighten(0.1, Theme.colors.primary)};`}
|
|
52
46
|
${(p) => p.mode === 'inverse' &&
|
|
53
|
-
`background-color: ${
|
|
54
|
-
${(p) => p.mode === 'ghost' && `color: ${
|
|
47
|
+
`background-color: ${lighten(0.4, Theme.colors.primary)}`};
|
|
48
|
+
${(p) => p.mode === 'ghost' && `color: ${lighten(0.2, Theme.colors.primary)};`}
|
|
55
49
|
}
|
|
56
50
|
|
|
57
51
|
&.disable,
|
|
58
52
|
button[disabled] {
|
|
59
|
-
color: ${
|
|
53
|
+
color: ${Theme.colors.disableText};
|
|
60
54
|
cursor: default;
|
|
61
55
|
&:hover {
|
|
62
|
-
color: ${
|
|
56
|
+
color: ${Theme.colors.disableBackground};
|
|
63
57
|
}
|
|
64
58
|
}
|
|
65
59
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.styles.js","sourceRoot":"","sources":["../../../../src/components/Button/Button.styles.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.styles.js","sourceRoot":"","sources":["../../../../src/components/Button/Button.styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClC,OAAO,MAAM,MAAM,mBAAmB,CAAA;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AASzC,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAgB;;mBAEvC,KAAK,CAAC,YAAY,CAAC,CAAC;;;;iBAItB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;kBACvC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;;;;;;IAMrD,CAAC,CAAC,EAAE,EAAE,CACN,CAAC,CAAC,IAAI,KAAK,SAAS;IACpB,qBAAqB,KAAK,CAAC,MAAM,CAAC,OAAO;aAChC,KAAK,CAAC,MAAM,CAAC,KAAK;wCACS;IACpC,CAAC,CAAC,EAAE,EAAE,CACN,CAAC,CAAC,IAAI,KAAK,SAAS;IACpB,qBAAqB,KAAK,CAAC,MAAM,CAAC,KAAK;aAC9B,KAAK,CAAC,MAAM,CAAC,OAAO;wBACT,KAAK,CAAC,MAAM,CAAC,OAAO;KACvC;IACD,CAAC,CAAC,EAAE,EAAE,CACN,CAAC,CAAC,IAAI,KAAK,OAAO;IAClB;aACS,KAAK,CAAC,MAAM,CAAC,OAAO;iBAChB;IACb,CAAC,CAAC,EAAE,EAAE,CACN,CAAC,CAAC,IAAI,KAAK,SAAS;IACpB,cAAc,KAAK,CAAC,QAAQ,CAAC,CAAC;mBACf,KAAK,CAAC,UAAU,CAAC,CAAC;eACtB,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG;IAChD,CAAC,CAAC,EAAE,EAAE,CACN,CAAC,CAAC,IAAI,KAAK,OAAO;IAClB,cAAc,KAAK,CAAC,QAAQ,CAAC,CAAC;mBACf,KAAK,CAAC,UAAU,CAAC,CAAC;eACtB,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG;IAChD,CAAC,CAAC,EAAE,EAAE,CACN,CAAC,CAAC,IAAI,KAAK,MAAM;IACjB,cAAc,KAAK,CAAC,QAAQ,CAAC,CAAC;mBACf,KAAK,CAAC,UAAU,CAAC,CAAC;eACtB,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG;;;MAG9C,CAAC,CAAC,EAAE,EAAE,CACN,CAAC,CAAC,IAAI,KAAK,SAAS;IACpB,qBAAqB,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG;MAC1D,CAAC,CAAC,EAAE,EAAE,CACN,CAAC,CAAC,IAAI,KAAK,SAAS;IACpB,qBAAqB,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;MACzD,CAAC,CAAC,EAAE,EAAE,CACN,CAAC,CAAC,IAAI,KAAK,OAAO,IAAI,UAAU,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG;;;;;aAK9D,KAAK,CAAC,MAAM,CAAC,WAAW;;;eAGtB,KAAK,CAAC,MAAM,CAAC,iBAAiB;;;CAG5C,CAAA"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Button = void 0;
|
|
4
|
-
var Button_1 = require("./Button");
|
|
5
|
-
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
|
|
1
|
+
export { Button } from './Button';
|
|
6
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Button/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAA"}
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '../../Theme/Theme';
|
|
3
|
+
import { IconElement } from './Icon.styles';
|
|
4
|
+
import { iconsPath } from './IconsPath';
|
|
5
|
+
export const Icon = ({ size = 24, name, color = Theme.colors.text, bgColor, onClick, }) => {
|
|
6
|
+
return (React.createElement(IconElement, { onClick: onClick, bgColor: bgColor },
|
|
7
|
+
React.createElement("svg", { width: size, height: size, viewBox: '0 0 48 48', preserveAspectRatio: "xMidYMid meet", x: "0", y: "0", name: name },
|
|
8
|
+
React.createElement("path", { d: iconsPath[name], fill: color }))));
|
|
4
9
|
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Icon = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const Theme_1 = require("../../Theme/Theme");
|
|
9
|
-
const Icon_styles_1 = require("./Icon.styles");
|
|
10
|
-
const IconsPath_1 = require("./IconsPath");
|
|
11
|
-
const Icon = ({ size = 24, name, color = Theme_1.Theme.colors.text, bgColor, onClick, }) => {
|
|
12
|
-
return (react_1.default.createElement(Icon_styles_1.IconElement, { onClick: onClick, bgColor: bgColor },
|
|
13
|
-
react_1.default.createElement("svg", { width: size, height: size, viewBox: '0 0 48 48', preserveAspectRatio: "xMidYMid meet", x: "0", y: "0", name: name },
|
|
14
|
-
react_1.default.createElement("path", { d: IconsPath_1.iconsPath[name], fill: color }))));
|
|
15
|
-
};
|
|
16
|
-
exports.Icon = Icon;
|
|
17
10
|
//# sourceMappingURL=Icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../../src/components/Icons/Icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../../src/components/Icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AASvC,MAAM,CAAC,MAAM,IAAI,GAAyB,CAAC,EACzC,IAAI,GAAG,EAAE,EACT,IAAI,EACJ,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,EACzB,OAAO,EACP,OAAO,GACR,EAAE,EAAE;IACH,OAAO,CACL,oBAAC,WAAW,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO;QAC7C,6BACE,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,WAAW,EACpB,mBAAmB,EAAC,eAAe,EACnC,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,IAAI,EAAE,IAAI;YAEV,8BAAM,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,GAAI,CACrC,CACM,CACf,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.IconElement = void 0;
|
|
7
|
-
const polished_1 = require("polished");
|
|
8
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const Theme_1 = require("../../Theme/Theme");
|
|
10
|
-
exports.IconElement = styled_components_1.default.div `
|
|
1
|
+
import { lighten } from "polished";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import { Theme } from "../../Theme/Theme";
|
|
4
|
+
export const IconElement = styled.div `
|
|
11
5
|
transition: 300ms;
|
|
12
6
|
box-sizing: border-box;
|
|
13
7
|
width:auto;
|
|
14
8
|
display:inline-flex;
|
|
15
|
-
border-radius: ${
|
|
9
|
+
border-radius: ${Theme.borderRadius.s};
|
|
16
10
|
${p => p.onClick !== undefined &&
|
|
17
11
|
`
|
|
18
|
-
padding: ${
|
|
12
|
+
padding: ${Theme.padding.s};
|
|
19
13
|
cursor:pointer;
|
|
20
14
|
&:hover{
|
|
21
|
-
background-color: ${p.bgColor ? `rgba(255,255,255,0.2)` :
|
|
15
|
+
background-color: ${p.bgColor ? `rgba(255,255,255,0.2)` : lighten(0.4, Theme.colors.primary)};
|
|
22
16
|
transition: 300ms;
|
|
23
17
|
}
|
|
24
18
|
svg{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.styles.js","sourceRoot":"","sources":["../../../../src/components/Icons/Icon.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Icon.styles.js","sourceRoot":"","sources":["../../../../src/components/Icons/Icon.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAO1C,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAmB;;;;;mBAKrC,KAAK,CAAC,YAAY,CAAC,CAAC;IACnC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,KAAK,SAAS;IAC9B;eACa,KAAK,CAAC,OAAO,CAAC,CAAC;;;0BAGJ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,uBAAuB,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO,CAAG;;;;;;GAOnG;CACD,CAAA"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.iconsPath = void 0;
|
|
4
|
-
exports.iconsPath = {
|
|
1
|
+
export const iconsPath = {
|
|
5
2
|
close: "m12.45 37.65-2.1-2.1L21.9 24 10.35 12.45l2.1-2.1L24 21.9l11.55-11.55 2.1 2.1L26.1 24l11.55 11.55-2.1 2.1L24 26.1Z",
|
|
6
3
|
add: "M22.5 38V25.5H10v-3h12.5V10h3v12.5H38v3H25.5V38Z",
|
|
7
4
|
back: "M24 40 8 24 24 8l2.1 2.1-12.4 12.4H40v3H13.7l12.4 12.4Z",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconsPath.js","sourceRoot":"","sources":["../../../../src/components/Icons/IconsPath.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IconsPath.js","sourceRoot":"","sources":["../../../../src/components/Icons/IconsPath.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,mHAAmH;IAC1H,GAAG,EAAE,kDAAkD;IACvD,IAAI,EAAE,yDAAyD;IAC/D,MAAM,EAAE,wLAAwL;IAChM,MAAM,EAAE,mBAAmB;IAC3B,MAAM,EAAE,2lBAA2lB;IACnmB,IAAI,EAAE,8CAA8C;IACpD,WAAW,EAAE,sDAAsD;IACnE,WAAW,EAAE,yDAAyD;CAEvE,CAAA"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Icon = void 0;
|
|
4
|
-
var Icon_1 = require("./Icon");
|
|
5
|
-
Object.defineProperty(exports, "Icon", { enumerable: true, get: function () { return Icon_1.Icon; } });
|
|
1
|
+
export { Icon } from './Icon';
|
|
6
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Icons/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { InputTextField } from "./InputText.styles";
|
|
3
|
+
export const InputText = ({ label, value, name, read = false, disable = false, size = "normal", onChange, }) => {
|
|
4
|
+
return React.createElement(InputTextField, null);
|
|
4
5
|
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.InputText = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const InputText_styles_1 = require("./InputText.styles");
|
|
9
|
-
const InputText = ({ label, value, name, read = false, disable = false, size = "normal", onChange, }) => {
|
|
10
|
-
return react_1.default.createElement(InputText_styles_1.InputTextField, null);
|
|
11
|
-
};
|
|
12
|
-
exports.InputText = InputText;
|
|
13
6
|
//# sourceMappingURL=InputText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputText.js","sourceRoot":"","sources":["../../../../src/components/InputText/InputText.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputText.js","sourceRoot":"","sources":["../../../../src/components/InputText/InputText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAYpD,MAAM,CAAC,MAAM,SAAS,GAAwB,CAAC,EAC7C,KAAK,EACL,KAAK,EACL,IAAI,EACJ,IAAI,GAAG,KAAK,EACZ,OAAO,GAAG,KAAK,EACf,IAAI,GAAG,QAAQ,EACf,QAAQ,GACT,EAAE,EAAE;IACH,OAAO,oBAAC,cAAc,OAAG,CAAC;AAC5B,CAAC,CAAC"}
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
exports.InputTextField = void 0;
|
|
7
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
-
const Theme_1 = require("../../Theme/Theme");
|
|
9
|
-
exports.InputTextField = styled_components_1.default.input `
|
|
10
|
-
background-color: ${Theme_1.Theme.colors.white};
|
|
11
|
-
border: 1px solid ${Theme_1.Theme.colors.gray_1};
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import { Theme } from "../../Theme/Theme";
|
|
3
|
+
export const InputTextField = styled.input `
|
|
4
|
+
background-color: ${Theme.colors.white};
|
|
5
|
+
border: 1px solid ${Theme.colors.gray_1};
|
|
12
6
|
width: 100%;
|
|
13
7
|
border-radius: 2px;
|
|
14
8
|
box-sizing: border-box;
|
|
15
9
|
outline: 0;
|
|
16
10
|
font-family: "Lato", sans-serif;
|
|
17
|
-
padding: ${
|
|
11
|
+
padding: ${Theme.padding.s};
|
|
18
12
|
margin: 0;
|
|
19
|
-
font-size: ${
|
|
13
|
+
font-size: ${Theme.fontSize.m};
|
|
20
14
|
|
|
21
15
|
:focus {
|
|
22
|
-
border-color: ${
|
|
16
|
+
border-color: ${Theme.colors.primary};
|
|
23
17
|
}
|
|
24
18
|
`;
|
|
25
19
|
//# sourceMappingURL=InputText.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputText.styles.js","sourceRoot":"","sources":["../../../../src/components/InputText/InputText.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputText.styles.js","sourceRoot":"","sources":["../../../../src/components/InputText/InputText.styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAA;sBACpB,KAAK,CAAC,MAAM,CAAC,KAAK;sBAClB,KAAK,CAAC,MAAM,CAAC,MAAM;;;;;;aAM5B,KAAK,CAAC,OAAO,CAAC,CAAC;;eAEb,KAAK,CAAC,QAAQ,CAAC,CAAC;;;oBAGX,KAAK,CAAC,MAAM,CAAC,OAAO;;CAEvC,CAAC"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InputText = void 0;
|
|
4
|
-
var InputText_1 = require("./InputText");
|
|
5
|
-
Object.defineProperty(exports, "InputText", { enumerable: true, get: function () { return InputText_1.InputText; } });
|
|
1
|
+
export { InputText } from "./InputText";
|
|
6
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/InputText/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/InputText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,30 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
const Button_1 = require("../Button");
|
|
11
|
-
const common_1 = require("../common");
|
|
12
|
-
const Icons_1 = require("../Icons");
|
|
13
|
-
const Typography_1 = require("../Typography");
|
|
14
|
-
const Modal_styles_1 = require("./Modal.styles");
|
|
15
|
-
const Modal = ({ children, title, handleConfirm, handleClose, labelConfirm, labelClose, size = 'small', }) => {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Theme } from '../../Theme/Theme';
|
|
3
|
+
import { Aligment } from '../Aligment';
|
|
4
|
+
import { Button } from '../Button';
|
|
5
|
+
import { ScrollCotainer } from '../common';
|
|
6
|
+
import { Icon } from '../Icons';
|
|
7
|
+
import { TextHeader } from '../Typography';
|
|
8
|
+
import { ModalElement, ModalOverlayer } from './Modal.styles';
|
|
9
|
+
export const Modal = ({ children, title, handleConfirm, handleClose, labelConfirm, labelClose, size = 'small', }) => {
|
|
16
10
|
const isMultiButtons = () => {
|
|
17
11
|
return handleConfirm !== undefined && labelConfirm !== undefined;
|
|
18
12
|
};
|
|
19
|
-
return (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
title &&
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
handleConfirm && labelConfirm && (
|
|
13
|
+
return (React.createElement(ModalOverlayer, null,
|
|
14
|
+
React.createElement(ModalElement, { size: size },
|
|
15
|
+
React.createElement(Aligment, { justify: !title ? 'flex-end' : 'space-between', vPadding: Theme.padding.l, hPadding: Theme.padding.l },
|
|
16
|
+
title && React.createElement(TextHeader, null, title),
|
|
17
|
+
React.createElement(Icon, { onClick: handleClose, name: "close" })),
|
|
18
|
+
React.createElement(ScrollCotainer, null, children),
|
|
19
|
+
React.createElement(Aligment, { justify: 'flex-end', vPadding: Theme.padding.l, hPadding: Theme.padding.l },
|
|
20
|
+
React.createElement(Button, { mode: isMultiButtons() ? 'inverse' : 'primary', onClick: () => handleClose(), text: labelClose, left: isMultiButtons() }),
|
|
21
|
+
handleConfirm && labelConfirm && (React.createElement(Button, { onClick: handleConfirm, text: labelConfirm }))))));
|
|
28
22
|
};
|
|
29
|
-
exports.Modal = Modal;
|
|
30
23
|
//# sourceMappingURL=Modal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAY7D,MAAM,CAAC,MAAM,KAAK,GAAoB,CAAC,EACrC,QAAQ,EACR,KAAK,EACL,aAAa,EACb,WAAW,EACX,YAAY,EACZ,UAAU,EACV,IAAI,GAAG,OAAO,GACf,EAAE,EAAE;IACH,MAAM,cAAc,GAAG,GAAY,EAAE;QACnC,OAAO,aAAa,KAAK,SAAS,IAAI,YAAY,KAAK,SAAS,CAAA;IAClE,CAAC,CAAA;IACD,OAAO,CACL,oBAAC,cAAc;QACb,oBAAC,YAAY,IAAC,IAAI,EAAE,IAAI;YACtB,oBAAC,QAAQ,IACP,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,eAAe,EAC9C,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EACzB,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;gBAExB,KAAK,IAAI,oBAAC,UAAU,QAAE,KAAK,CAAc;gBAC1C,oBAAC,IAAI,IAAC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAC,OAAO,GAAG,CAClC;YACX,oBAAC,cAAc,QAAE,QAAQ,CAAkB;YAC3C,oBAAC,QAAQ,IACP,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EACzB,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;gBAEzB,oBAAC,MAAM,IACL,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAC9C,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,EAC5B,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,cAAc,EAAE,GACtB;gBAED,aAAa,IAAI,YAAY,IAAI,CAChC,oBAAC,MAAM,IAAC,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,YAAY,GAAI,CACvD,CACQ,CACE,CACA,CAClB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,37 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ModalElement = exports.ModalOverlayer = void 0;
|
|
7
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
-
const Theme_1 = require("../../Theme/Theme");
|
|
9
|
-
exports.ModalOverlayer = styled_components_1.default.div `
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import { Theme } from '../../Theme/Theme';
|
|
3
|
+
export const ModalOverlayer = styled.div `
|
|
10
4
|
box-sizing: border-box;
|
|
11
5
|
align-items: center;
|
|
12
|
-
background-color: ${
|
|
6
|
+
background-color: ${Theme.colors.overlayer};
|
|
13
7
|
display: flex;
|
|
14
8
|
justify-content: center;
|
|
15
9
|
height: 100vh;
|
|
16
10
|
left: 0;
|
|
17
11
|
top: 0;
|
|
18
|
-
padding: ${
|
|
12
|
+
padding: ${Theme.padding.l};
|
|
19
13
|
width: 100%;
|
|
20
14
|
position: fixed;
|
|
21
|
-
z-index: ${
|
|
15
|
+
z-index: ${Theme.zIndex.modalOverlayer};
|
|
22
16
|
`;
|
|
23
|
-
|
|
17
|
+
export const ModalElement = styled.div `
|
|
24
18
|
box-sizing: border-box;
|
|
25
19
|
display: flex;
|
|
26
20
|
width: 100%;
|
|
27
|
-
background-color: ${
|
|
28
|
-
border-radius: ${
|
|
21
|
+
background-color: ${Theme.colors.white};
|
|
22
|
+
border-radius: ${Theme.borderRadius.m};
|
|
29
23
|
max-height: 100%;
|
|
30
24
|
overflow: hidden;
|
|
31
25
|
flex-direction: column;
|
|
32
26
|
position: relative;
|
|
33
27
|
max-width: 60rem;
|
|
34
|
-
box-shadow: ${
|
|
28
|
+
box-shadow: ${Theme.shadow.m}
|
|
35
29
|
${p => p.size === 'small' && `max-width:500px`}
|
|
36
30
|
${p => p.size === 'medium' && `max-width:750px`}
|
|
37
31
|
${p => p.size === 'large' && `max-width:100%`}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.styles.js","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.styles.js","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.styles.ts"],"names":[],"mappings":"AAAA,OAAQ,MAAM,MAAM,mBAAmB,CAAA;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAA;;;sBAGlB,KAAK,CAAC,MAAM,CAAC,SAAS;;;;;;aAM/B,KAAK,CAAC,OAAO,CAAC,CAAC;;;aAGf,KAAK,CAAC,MAAM,CAAC,cAAc;CACvC,CAAC;AAKF,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAmB;;;;sBAInC,KAAK,CAAC,MAAM,CAAC,KAAK;mBACrB,KAAK,CAAC,YAAY,CAAC,CAAC;;;;;;gBAMvB,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,OAAO,IAAI,iBAAiB;IAC5C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,IAAI,iBAAiB;IAC7C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,OAAO,IAAI,gBAAgB;;CAE9C,CAAC"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Modal = void 0;
|
|
4
|
-
var Modal_1 = require("./Modal");
|
|
5
|
-
Object.defineProperty(exports, "Modal", { enumerable: true, get: function () { return Modal_1.Modal; } });
|
|
1
|
+
export { Modal } from './Modal';
|
|
6
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Modal/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAA"}
|
|
@@ -1,34 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
exports.TextLabel = exports.TextSubHeader = exports.TextHeader = exports.TextSmall = exports.Text = void 0;
|
|
7
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
-
const Theme_1 = require("../../Theme/Theme");
|
|
9
|
-
exports.Text = styled_components_1.default.div `
|
|
10
|
-
font-size: ${Theme_1.Theme.fontSize.m};
|
|
11
|
-
line-height: ${Theme_1.Theme.lineHeight.m};
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import { Theme } from '../../Theme/Theme';
|
|
3
|
+
export const Text = styled.div `
|
|
4
|
+
font-size: ${Theme.fontSize.m};
|
|
5
|
+
line-height: ${Theme.lineHeight.m};
|
|
12
6
|
font-weight: normal;
|
|
13
7
|
`;
|
|
14
|
-
|
|
15
|
-
font-size: ${
|
|
16
|
-
line-height: ${
|
|
8
|
+
export const TextSmall = styled.div `
|
|
9
|
+
font-size: ${Theme.fontSize.s};
|
|
10
|
+
line-height: ${Theme.lineHeight.s};
|
|
17
11
|
font-weight: normal;
|
|
18
12
|
`;
|
|
19
|
-
|
|
20
|
-
font-size: ${
|
|
21
|
-
line-height: ${
|
|
13
|
+
export const TextHeader = styled.div `
|
|
14
|
+
font-size: ${Theme.fontSize.l};
|
|
15
|
+
line-height: ${Theme.lineHeight.l};
|
|
22
16
|
font-weight: 300;
|
|
23
17
|
`;
|
|
24
|
-
|
|
25
|
-
font-size: ${
|
|
26
|
-
line-height: ${
|
|
18
|
+
export const TextSubHeader = styled.div `
|
|
19
|
+
font-size: ${Theme.fontSize.m};
|
|
20
|
+
line-height: ${Theme.lineHeight.m};
|
|
27
21
|
font-weight: 300;
|
|
28
22
|
`;
|
|
29
|
-
|
|
30
|
-
font-size: ${
|
|
31
|
-
line-height: ${
|
|
23
|
+
export const TextLabel = styled.div `
|
|
24
|
+
font-size: ${Theme.fontSize.xs};
|
|
25
|
+
line-height: ${Theme.lineHeight.xs};
|
|
32
26
|
font-weight: bold;
|
|
33
27
|
`;
|
|
34
28
|
//# sourceMappingURL=Typography.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.styles.js","sourceRoot":"","sources":["../../../../src/components/Typography/Typography.styles.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Typography.styles.js","sourceRoot":"","sources":["../../../../src/components/Typography/Typography.styles.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAA;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAEzC,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAA;eACf,KAAK,CAAC,QAAQ,CAAC,CAAC;iBACd,KAAK,CAAC,UAAU,CAAC,CAAC;;CAElC,CAAA;AACD,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;eACpB,KAAK,CAAC,QAAQ,CAAC,CAAC;iBACd,KAAK,CAAC,UAAU,CAAC,CAAC;;CAElC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAA;eACrB,KAAK,CAAC,QAAQ,CAAC,CAAC;iBACd,KAAK,CAAC,UAAU,CAAC,CAAC;;CAElC,CAAA;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAA;eACxB,KAAK,CAAC,QAAQ,CAAC,CAAC;iBACd,KAAK,CAAC,UAAU,CAAC,CAAC;;CAElC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;eACpB,KAAK,CAAC,QAAQ,CAAC,EAAE;iBACf,KAAK,CAAC,UAAU,CAAC,EAAE;;CAEnC,CAAA"}
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TextLabel = exports.TextSubHeader = exports.TextHeader = exports.Text = void 0;
|
|
4
|
-
var Typography_styles_1 = require("./Typography.styles");
|
|
5
|
-
Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return Typography_styles_1.Text; } });
|
|
6
|
-
Object.defineProperty(exports, "TextHeader", { enumerable: true, get: function () { return Typography_styles_1.TextHeader; } });
|
|
7
|
-
Object.defineProperty(exports, "TextSubHeader", { enumerable: true, get: function () { return Typography_styles_1.TextSubHeader; } });
|
|
8
|
-
Object.defineProperty(exports, "TextLabel", { enumerable: true, get: function () { return Typography_styles_1.TextLabel; } });
|
|
1
|
+
export { Text, TextHeader, TextSubHeader, TextLabel } from './Typography.styles';
|
|
9
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Typography/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAE,UAAU,EAAC,aAAa,EAAC,SAAS,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ScrollCotainer = exports.Container = void 0;
|
|
7
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
-
const Theme_1 = require("../../Theme/Theme");
|
|
9
|
-
exports.Container = styled_components_1.default.div `
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import { Theme } from '../../Theme/Theme';
|
|
3
|
+
export const Container = styled.div `
|
|
10
4
|
width: 100%;
|
|
11
5
|
`;
|
|
12
|
-
|
|
6
|
+
export const ScrollCotainer = styled.div `
|
|
13
7
|
width: 100%;
|
|
14
|
-
padding: ${
|
|
8
|
+
padding: ${Theme.padding.l};
|
|
15
9
|
overflow: auto;
|
|
16
10
|
box-sizing: border-box;
|
|
17
11
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonComponents.js","sourceRoot":"","sources":["../../../../src/components/common/commonComponents.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"commonComponents.js","sourceRoot":"","sources":["../../../../src/components/common/commonComponents.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAA;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAEzC,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;CAElC,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAA;;aAE3B,KAAK,CAAC,OAAO,CAAC,CAAC;;;CAG3B,CAAA"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./commonComponents"), exports);
|
|
1
|
+
export * from './commonComponents';
|
|
18
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/common/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,37 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ExampleTableHeader = exports.ExampleTableCell = exports.ExampleTableRow = exports.ExampleTable = exports.ExmpleBlockWrapper = exports.ExmpleBlock = exports.StoryWrapper = void 0;
|
|
7
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
-
const Theme_1 = require("../Theme/Theme");
|
|
9
|
-
exports.StoryWrapper = styled_components_1.default.div `
|
|
10
|
-
padding: ${Theme_1.Theme.padding.l}
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import { Theme } from '../Theme/Theme';
|
|
3
|
+
export const StoryWrapper = styled.div `
|
|
4
|
+
padding: ${Theme.padding.l}
|
|
11
5
|
`;
|
|
12
|
-
|
|
6
|
+
export const ExmpleBlock = styled.div `
|
|
13
7
|
padding: ${(p) => (p.width ? p.width : '10px')} ${(p) => (p.height ? p.height : '10px')};
|
|
14
8
|
text-align: center;
|
|
15
|
-
font-size:${
|
|
9
|
+
font-size:${Theme.fontSize.xl}
|
|
16
10
|
`;
|
|
17
|
-
|
|
11
|
+
export const ExmpleBlockWrapper = styled.div `
|
|
18
12
|
background-color: ${(p) => (p.color ? p.color : '#aaaaaa')};
|
|
19
|
-
border-radius: ${
|
|
13
|
+
border-radius: ${Theme.borderRadius.m};
|
|
20
14
|
`;
|
|
21
|
-
|
|
15
|
+
export const ExampleTable = styled.table `
|
|
22
16
|
width: 100%;
|
|
23
17
|
border-collapse: collapse;
|
|
24
18
|
`;
|
|
25
|
-
|
|
19
|
+
export const ExampleTableRow = styled.tr `
|
|
26
20
|
width: 100%;
|
|
27
21
|
border-collapse: collapse;
|
|
28
22
|
`;
|
|
29
|
-
|
|
30
|
-
padding:${
|
|
23
|
+
export const ExampleTableCell = styled.td `
|
|
24
|
+
padding:${Theme.padding.m};
|
|
31
25
|
border-bottom:1px solid #dddddd;
|
|
32
26
|
`;
|
|
33
|
-
|
|
34
|
-
padding:${
|
|
27
|
+
export const ExampleTableHeader = styled.th `
|
|
28
|
+
padding:${Theme.padding.m};
|
|
35
29
|
border-collapse: collapse;
|
|
36
30
|
background-color:#dddddd;
|
|
37
31
|
text-align: left;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExampleComponent.js","sourceRoot":"","sources":["../../../src/example/ExampleComponent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ExampleComponent.js","sourceRoot":"","sources":["../../../src/example/ExampleComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAA;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEtC,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAA;aACzB,KAAK,CAAC,OAAO,CAAC,CAAC;CAC3B,CAAA;AAOD,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAC,GAAG,CAAc;aACtC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;;cAE5E,KAAK,CAAC,QAAQ,CAAC,EAAE;CAC9B,CAAA;AAKD,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAqB;sBAC3C,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;mBACzC,KAAK,CAAC,YAAY,CAAC,CAAC;CACtC,CAAA;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAAA;;;CAGvC,CAAA;AACD,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,EAAE,CAAA;;;CAGvC,CAAA;AACD,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,EAAE,CAAA;YAC7B,KAAK,CAAC,OAAO,CAAC,CAAC;;CAE1B,CAAA;AACD,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,EAAE,CAAA;YAC/B,KAAK,CAAC,OAAO,CAAC,CAAC;;;;CAI1B,CAAA"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ExampleComponent"), exports);
|
|
1
|
+
export * from './ExampleComponent';
|
|
18
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/example/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/example/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./components/InputText"), exports);
|
|
18
|
-
__exportStar(require("./components/Modal"), exports);
|
|
19
|
-
__exportStar(require("./components/Aligment"), exports);
|
|
20
|
-
__exportStar(require("./components/Typography"), exports);
|
|
21
|
-
__exportStar(require("./components/Button"), exports);
|
|
22
|
-
__exportStar(require("./components/Icons"), exports);
|
|
1
|
+
export * from "./components/InputText";
|
|
2
|
+
export * from './components/Modal';
|
|
3
|
+
export * from './components/Aligment';
|
|
4
|
+
export * from './components/Typography';
|
|
5
|
+
export * from './components/Button';
|
|
6
|
+
export * from './components/Icons';
|
|
23
7
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA"}
|
package/dist/esm/types/index.js
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
1
|
+
export * from './types';
|
|
18
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
package/dist/esm/types/types.js
CHANGED