@universal-tennis/ui-shared 0.0.5 → 0.0.7
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/App.d.ts +2 -2
- package/dist/App.js +12 -10
- package/dist/App.js.map +1 -1
- package/dist/components.d.ts +1 -0
- package/dist/components.js +5 -1
- package/dist/components.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -12
- package/dist/items.d.ts +2 -2
- package/dist/items.js +1 -1
- package/dist/stories/atoms/Button/Button.d.ts +7 -0
- package/dist/stories/atoms/Button/Button.js +61 -0
- package/dist/stories/atoms/Button/Button.js.map +1 -0
- package/dist/stories/atoms/{Button.stories.d.ts → Button/Button.stories.d.ts} +15 -13
- package/dist/stories/atoms/Button/Button.stories.js +32 -0
- package/dist/stories/atoms/Button/Button.stories.js.map +1 -0
- package/dist/stories/atoms/Button/index.d.ts +1 -0
- package/dist/stories/atoms/Button/index.js +2 -0
- package/dist/stories/atoms/Button/index.js.map +1 -0
- package/dist/stories/atoms/Typography/Typography.d.ts +9 -0
- package/dist/stories/atoms/Typography/Typography.js +76 -0
- package/dist/stories/atoms/Typography/Typography.js.map +1 -0
- package/dist/stories/atoms/Typography/Typography.stories.d.ts +37 -0
- package/dist/stories/atoms/Typography/Typography.stories.js +191 -0
- package/dist/stories/atoms/Typography/Typography.stories.js.map +1 -0
- package/dist/stories/atoms/Typography/index.d.ts +1 -0
- package/dist/stories/atoms/Typography/index.js +2 -0
- package/dist/stories/atoms/Typography/index.js.map +1 -0
- package/package.json +86 -86
- package/public/index.html +2 -0
- package/src/components.jsx +1 -0
- package/src/custom.d.ts +13 -13
- package/src/items.jsx +1 -1
- package/src/stories/atoms/{Button.stories.tsx → Button/Button.stories.tsx} +7 -1
- package/src/stories/atoms/{Button.tsx → Button/Button.tsx} +18 -4
- package/src/stories/atoms/Button/index.tsx +1 -0
- package/src/stories/atoms/Typography/Typography.stories.tsx +229 -0
- package/src/stories/atoms/Typography/Typography.tsx +113 -0
- package/src/stories/atoms/Typography/index.tsx +1 -0
- package/src/stories/atoms/Typography/typography.css +26 -0
- package/tsconfig.json +24 -24
- package/workflows/package-release-1.yml +32 -32
- package/dist/stories/Button.d.ts +0 -27
- package/dist/stories/Button.js +0 -51
- package/dist/stories/Button.js.map +0 -1
- package/dist/stories/Button.stories.d.ts +0 -15
- package/dist/stories/Button.stories.js +0 -34
- package/dist/stories/Button.stories.js.map +0 -1
- package/dist/stories/Header.d.ts +0 -19
- package/dist/stories/Header.js +0 -31
- package/dist/stories/Header.js.map +0 -1
- package/dist/stories/Header.stories.d.ts +0 -11
- package/dist/stories/Header.stories.js +0 -20
- package/dist/stories/Header.stories.js.map +0 -1
- package/dist/stories/Page.d.ts +0 -1
- package/dist/stories/Page.js +0 -38
- package/dist/stories/Page.js.map +0 -1
- package/dist/stories/Page.stories.d.ts +0 -11
- package/dist/stories/Page.stories.js +0 -30
- package/dist/stories/Page.stories.js.map +0 -1
- package/dist/stories/assets/comments.svg +0 -1
- package/dist/stories/assets/direction.svg +0 -1
- package/dist/stories/atoms/Button.d.ts +0 -7
- package/dist/stories/atoms/Button.js +0 -20
- package/dist/stories/atoms/Button.js.map +0 -1
- package/dist/stories/atoms/Button.stories.js +0 -22
- package/dist/stories/atoms/Button.stories.js.map +0 -1
package/dist/App.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default App;
|
|
2
|
-
declare function App(): JSX.Element;
|
|
1
|
+
export default App;
|
|
2
|
+
declare function App(): JSX.Element;
|
package/dist/App.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
function App() {
|
|
2
|
-
return (React.createElement("div", { className: "App" },
|
|
3
|
-
React.createElement("header", { className: "App-header" },
|
|
4
|
-
React.createElement("p", null,
|
|
5
|
-
"Edit
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
function App() {
|
|
2
|
+
return (React.createElement("div", { className: "App" },
|
|
3
|
+
React.createElement("header", { className: "App-header" },
|
|
4
|
+
React.createElement("p", null,
|
|
5
|
+
"Edit",
|
|
6
|
+
' ',
|
|
7
|
+
React.createElement("code", null, "src/App.js"),
|
|
8
|
+
' ',
|
|
9
|
+
"and save to reload."),
|
|
10
|
+
React.createElement("a", { className: "App-link", href: "https://reactjs.org", target: "_blank", rel: "noopener noreferrer" }, "Learn React"))));
|
|
11
|
+
}
|
|
12
|
+
export default App;
|
|
11
13
|
//# sourceMappingURL=App.js.map
|
package/dist/App.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"App.js","sourceRoot":"","sources":["../src/App.js"],"names":[],"mappings":"AAAA,SAAS,GAAG;IACV,OAAO,CACL,6BAAK,SAAS,EAAC,KAAK;QAClB,gCAAQ,SAAS,EAAC,YAAY;YAC5B;;gBAEP,GAAG;gBACJ,+CAAuB;gBACtB,GAAG;sCAEQ;YACJ,2BACE,SAAS,EAAC,UAAU,EACpB,IAAI,EAAC,qBAAqB,EAC1B,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,kBAGvB,CACG,CACL,CACP,CAAC;AACJ,CAAC;AAED,eAAe,GAAG,CAAC"}
|
package/dist/components.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/components.js
CHANGED
package/dist/components.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.jsx"],"names":[],"mappings":"AAAA,wBAAwB"}
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.jsx"],"names":[],"mappings":"AAAA,QAAQ;AACR,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAEnE,YAAY;AACZ,aAAa"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ReactDOM from 'react-dom/client';
|
|
3
|
-
import './index.css';
|
|
4
|
-
import App from './App';
|
|
5
|
-
import reportWebVitals from './reportWebVitals';
|
|
6
|
-
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
7
|
-
root.render(React.createElement(React.StrictMode, null,
|
|
8
|
-
React.createElement(App, null)));
|
|
9
|
-
// If you want to start measuring performance in your app, pass a function
|
|
10
|
-
// to log results (for example: reportWebVitals(console.log))
|
|
11
|
-
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
12
|
-
reportWebVitals();
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ReactDOM from 'react-dom/client';
|
|
3
|
+
import './index.css';
|
|
4
|
+
import App from './App';
|
|
5
|
+
import reportWebVitals from './reportWebVitals';
|
|
6
|
+
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
7
|
+
root.render(React.createElement(React.StrictMode, null,
|
|
8
|
+
React.createElement(App, null)));
|
|
9
|
+
// If you want to start measuring performance in your app, pass a function
|
|
10
|
+
// to log results (for example: reportWebVitals(console.log))
|
|
11
|
+
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
12
|
+
reportWebVitals();
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
package/dist/items.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _exports:
|
|
2
|
-
export = _exports;
|
|
1
|
+
declare const _exports: typeof import("./components");
|
|
2
|
+
export = _exports;
|
package/dist/items.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
module.exports = require('./components');
|
|
1
|
+
module.exports = require('./components');
|
|
2
2
|
//# sourceMappingURL=items.js.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import React from 'react';
|
|
13
|
+
import MuiButton from '@mui/material/Button';
|
|
14
|
+
import { styled } from '@mui/material/styles';
|
|
15
|
+
const StyledButton = styled(MuiButton)({
|
|
16
|
+
borderRadius: '24px',
|
|
17
|
+
fontSize: '12px',
|
|
18
|
+
padding: '0 24px',
|
|
19
|
+
height: '40px',
|
|
20
|
+
whiteSpace: 'nowrap',
|
|
21
|
+
lineHeight: '39px',
|
|
22
|
+
border: '1px solid transparent'
|
|
23
|
+
});
|
|
24
|
+
const PrimaryButton = styled(StyledButton)((props) => ({
|
|
25
|
+
backgroundColor: 'var(--black)',
|
|
26
|
+
color: 'var(--white)',
|
|
27
|
+
width: props.isExpanded ? '100%' : 'inherit',
|
|
28
|
+
'&:hover': {
|
|
29
|
+
backgroundColor: 'var(--darkest-grey)',
|
|
30
|
+
borderColor: 'var(--darkest-grey)',
|
|
31
|
+
},
|
|
32
|
+
'&:disabled': {
|
|
33
|
+
backgroundColor: 'var(--lightest-grey)',
|
|
34
|
+
borderColor: 'var(--lightest-grey)',
|
|
35
|
+
},
|
|
36
|
+
}));
|
|
37
|
+
const SecondaryButton = styled(StyledButton)({
|
|
38
|
+
borderColor: 'var(--black)',
|
|
39
|
+
backgroundColor: 'transparent',
|
|
40
|
+
color: 'var(--black)',
|
|
41
|
+
'&:hover': {
|
|
42
|
+
borderColor: 'var(--darkest-grey)',
|
|
43
|
+
},
|
|
44
|
+
'&:disabled': {
|
|
45
|
+
borderColor: 'var(--disabled)'
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
export default function Button(_a) {
|
|
49
|
+
var { children, category } = _a, props = __rest(_a, ["children", "category"]);
|
|
50
|
+
switch (category) {
|
|
51
|
+
case 'primary':
|
|
52
|
+
return (React.createElement(PrimaryButton, Object.assign({}, props), children));
|
|
53
|
+
case 'primary-expanded':
|
|
54
|
+
return (React.createElement(PrimaryButton, Object.assign({ isExpanded: true }, props), children));
|
|
55
|
+
case 'secondary':
|
|
56
|
+
return (React.createElement(SecondaryButton, Object.assign({}, props), children));
|
|
57
|
+
default:
|
|
58
|
+
return (React.createElement(StyledButton, Object.assign({}, props), children));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=Button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../src/stories/atoms/Button/Button.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,SAAS,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAW9C,MAAM,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;IACrC,YAAY,EAAE,MAAM;IACpB,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,MAAM;IACd,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,MAAM;IAClB,MAAM,EAAE,uBAAuB;CAChC,CAAC,CAAC;AAEH,MAAM,aAAa,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,KAAwB,EAAE,EAAE,CAAC,CAAC;IACxE,eAAe,EAAE,cAAc;IAC/B,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;IAE5C,SAAS,EAAE;QACT,eAAe,EAAE,qBAAqB;QACtC,WAAW,EAAE,qBAAqB;KACnC;IACD,YAAY,EAAE;QACZ,eAAe,EAAE,sBAAsB;QACvC,WAAW,EAAE,sBAAsB;KACpC;CACF,CAAC,CAAC,CAAC;AAEJ,MAAM,eAAe,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;IAC3C,WAAW,EAAE,cAAc;IAC3B,eAAe,EAAE,aAAa;IAC9B,KAAK,EAAE,cAAc;IAErB,SAAS,EAAE;QACT,WAAW,EAAE,qBAAqB;KACnC;IACD,YAAY,EAAE;QACZ,WAAW,EAAE,iBAAiB;KAC/B;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAA6C;QAA7C,EAAE,QAAQ,EAAE,QAAQ,OAAyB,EAApB,KAAK,cAA9B,wBAAgC,CAAF;IAC3D,QAAQ,QAAQ,EAAE;QAChB,KAAK,SAAS;YACZ,OAAO,CACL,oBAAC,aAAa,oBACR,KAAK,GAER,QAAQ,CACK,CACjB,CAAC;QACJ,KAAK,kBAAkB;YACrB,OAAO,CACH,oBAAC,aAAa,kBACZ,UAAU,UACN,KAAK,GAER,QAAQ,CACK,CACnB,CAAC;QACJ,KAAK,WAAW;YACd,OAAO,CACL,oBAAC,eAAe,oBACV,KAAK,GAER,QAAQ,CACO,CACnB,CAAC;QACJ;YACE,OAAO,CACH,oBAAC,YAAY,oBACP,KAAK,GAEV,QAAQ,CACM,CAClB,CAAC;KACL;AACH,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: typeof Button;
|
|
5
|
-
argTypes: {
|
|
6
|
-
backgroundColor: {
|
|
7
|
-
control: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Primary: any;
|
|
13
|
-
export declare const
|
|
1
|
+
import Button from './Button';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof Button;
|
|
5
|
+
argTypes: {
|
|
6
|
+
backgroundColor: {
|
|
7
|
+
control: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const Primary: any;
|
|
13
|
+
export declare const PrimaryExpanded: any;
|
|
14
|
+
export declare const Secondary: any;
|
|
15
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Button from './Button';
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Atoms/Button',
|
|
5
|
+
component: Button,
|
|
6
|
+
argTypes: {
|
|
7
|
+
backgroundColor: { control: 'color' },
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
function Template(args) {
|
|
11
|
+
return React.createElement(Button, Object.assign({}, args));
|
|
12
|
+
}
|
|
13
|
+
export const Primary = Template.bind({});
|
|
14
|
+
Primary.args = {
|
|
15
|
+
category: "primary",
|
|
16
|
+
children: 'Button',
|
|
17
|
+
};
|
|
18
|
+
export const PrimaryExpanded = Template.bind({});
|
|
19
|
+
PrimaryExpanded.args = {
|
|
20
|
+
category: "primary-expanded",
|
|
21
|
+
children: 'Button',
|
|
22
|
+
};
|
|
23
|
+
export const Secondary = Template.bind({});
|
|
24
|
+
Secondary.args = {
|
|
25
|
+
category: "secondary",
|
|
26
|
+
children: 'Button',
|
|
27
|
+
};
|
|
28
|
+
export const Default = Template.bind({});
|
|
29
|
+
Default.args = {
|
|
30
|
+
children: 'Button',
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=Button.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.stories.js","sourceRoot":"","sources":["../../../../src/stories/atoms/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,MAAM,MAAM,UAAU,CAAC;AAO9B,eAAe;IACb,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE;QACR,eAAe,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;KACtC;CACF,CAAC;AAEF,SAAS,QAAQ,CAAC,IAAW;IAC3B,OAAO,oBAAC,MAAM,oBAAK,IAAI,EAAI,CAAC;AAC9B,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,OAAO,CAAC,IAAI,GAAG;IACb,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,QAAQ;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACjD,eAAe,CAAC,IAAI,GAAG;IACrB,QAAQ,EAAE,kBAAkB;IAC5B,QAAQ,EAAE,QAAQ;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3C,SAAS,CAAC,IAAI,GAAG;IACf,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,QAAQ;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzC,OAAO,CAAC,IAAI,GAAG;IACb,QAAQ,EAAE,QAAQ;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Button } from './Button';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/stories/atoms/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import "./typography.css";
|
|
3
|
+
type TypographyProps = {
|
|
4
|
+
children: string | ReactElement;
|
|
5
|
+
category?: string;
|
|
6
|
+
size?: string;
|
|
7
|
+
};
|
|
8
|
+
export default function Typography({ children, category, size, ...props }: TypographyProps): JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import React from 'react';
|
|
13
|
+
import MuiTypography from '@mui/material/Typography';
|
|
14
|
+
import { styled } from '@mui/material/styles';
|
|
15
|
+
import "./typography.css";
|
|
16
|
+
const DISPLAY_SIZES = {
|
|
17
|
+
"XXX-large": '120px',
|
|
18
|
+
"XX-large": '100px',
|
|
19
|
+
"X-large": '75px',
|
|
20
|
+
large: '50px',
|
|
21
|
+
"large-light": '50px',
|
|
22
|
+
"medium-book": '36px',
|
|
23
|
+
};
|
|
24
|
+
const PRIMARY_SIZES = {
|
|
25
|
+
"large-bold": '34px',
|
|
26
|
+
"large-book": '34px',
|
|
27
|
+
"large-light": '34px',
|
|
28
|
+
"medium-semibold": '22px',
|
|
29
|
+
"medium-medium": '22px',
|
|
30
|
+
"medium-book": '22px',
|
|
31
|
+
"small-book": '16px',
|
|
32
|
+
"x-small-book": '12px',
|
|
33
|
+
};
|
|
34
|
+
const SECONDARY_SIZES = {
|
|
35
|
+
"large-medium": '20px',
|
|
36
|
+
"large-book": '20px',
|
|
37
|
+
"medium-medium": '16px',
|
|
38
|
+
"medium-book": '16px',
|
|
39
|
+
"small-medium-cap": '14px',
|
|
40
|
+
"small-medium": '14px',
|
|
41
|
+
"small-book": '14px',
|
|
42
|
+
"x-small-medium-cap": '12px',
|
|
43
|
+
"x-small-medium": '12px',
|
|
44
|
+
"x-small-book-cap": '12px',
|
|
45
|
+
"x-small-book": '12px',
|
|
46
|
+
"xx-small-medium-cap": '10px',
|
|
47
|
+
"xx-small-book": '10px',
|
|
48
|
+
};
|
|
49
|
+
const DisplayTypography = styled(MuiTypography)((props) => ({
|
|
50
|
+
fontFamily: 'var(--display)',
|
|
51
|
+
fontSize: DISPLAY_SIZES[props.size],
|
|
52
|
+
}));
|
|
53
|
+
const PrimaryTypography = styled(MuiTypography)((props) => ({
|
|
54
|
+
fontFamily: 'var(--primary)',
|
|
55
|
+
fontSize: PRIMARY_SIZES[props.size],
|
|
56
|
+
}));
|
|
57
|
+
const SecondaryTypography = styled(MuiTypography)((props) => ({
|
|
58
|
+
fontFamily: 'var(--secondary)',
|
|
59
|
+
fontSize: SECONDARY_SIZES[props.size],
|
|
60
|
+
textTransform: props.isCap ? 'uppercase' : 'inherit'
|
|
61
|
+
}));
|
|
62
|
+
export default function Typography(_a) {
|
|
63
|
+
var { children, category, size } = _a, props = __rest(_a, ["children", "category", "size"]);
|
|
64
|
+
const isCap = size === null || size === void 0 ? void 0 : size.includes("cap");
|
|
65
|
+
switch (category) {
|
|
66
|
+
case 'primary':
|
|
67
|
+
return (React.createElement(PrimaryTypography, Object.assign({ size: size }, props), children));
|
|
68
|
+
case 'secondary':
|
|
69
|
+
return (React.createElement(SecondaryTypography, Object.assign({ size: size, isCap: isCap }, props), children));
|
|
70
|
+
case 'display':
|
|
71
|
+
return (React.createElement(DisplayTypography, Object.assign({ size: size }, props), children));
|
|
72
|
+
default:
|
|
73
|
+
return (React.createElement(PrimaryTypography, Object.assign({ size: size }, props), children));
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=Typography.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typography.js","sourceRoot":"","sources":["../../../../src/stories/atoms/Typography/Typography.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,aAAa,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,kBAAkB,CAAC;AAa1B,MAAM,aAAa,GAAG;IACpB,WAAW,EAAE,OAAO;IACpB,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE,MAAM;IACjB,KAAK,EAAE,MAAM;IACb,aAAa,EAAE,MAAM;IACrB,aAAa,EAAE,MAAM;CACtB,CAAC;AAEF,MAAM,aAAa,GAAG;IACpB,YAAY,EAAE,MAAM;IACpB,YAAY,EAAE,MAAM;IACpB,aAAa,EAAE,MAAM;IACrB,iBAAiB,EAAE,MAAM;IACzB,eAAe,EAAE,MAAM;IACvB,aAAa,EAAE,MAAM;IACrB,YAAY,EAAE,MAAM;IACpB,cAAc,EAAE,MAAM;CACvB,CAAC;AAEF,MAAM,eAAe,GAAG;IACtB,cAAc,EAAE,MAAM;IACtB,YAAY,EAAE,MAAM;IACpB,eAAe,EAAE,MAAM;IACvB,aAAa,EAAE,MAAM;IACrB,kBAAkB,EAAE,MAAM;IAC1B,cAAc,EAAE,MAAM;IACtB,YAAY,EAAE,MAAM;IACpB,oBAAoB,EAAE,MAAM;IAC5B,gBAAgB,EAAE,MAAM;IACxB,kBAAkB,EAAE,MAAM;IAC1B,cAAc,EAAE,MAAM;IACtB,qBAAqB,EAAE,MAAM;IAC7B,eAAe,EAAE,MAAM;CACxB,CAAC;AAEF,MAAM,iBAAiB,GAAG,MAAM,CAAC,aAAa,CAAC,CA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K,GAER,QAAQ,CACS,CACrB,CAAC;QACJ;YACE,OAAO,CACH,oBAAC,iBAAiB,kBAChB,IAAI,EAAE,IAAI,IACN,KAAK,GAEV,QAAQ,CACW,CACvB,CAAC;KACL;AACH,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import Typography from './Typography';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: typeof Typography;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Default: any;
|
|
8
|
+
export declare const Display: any;
|
|
9
|
+
export declare const DisplayXXXLarge: any;
|
|
10
|
+
export declare const DisplayXXLarge: any;
|
|
11
|
+
export declare const DisplayXLarge: any;
|
|
12
|
+
export declare const DisplayLarge: any;
|
|
13
|
+
export declare const DisplayLargelight: any;
|
|
14
|
+
export declare const DisplayMediumBook: any;
|
|
15
|
+
export declare const Primary: any;
|
|
16
|
+
export declare const PrimaryLargeBold: any;
|
|
17
|
+
export declare const PrimaryLargeBook: any;
|
|
18
|
+
export declare const PrimaryLargeLight: any;
|
|
19
|
+
export declare const PrimaryMediumSemiBold: any;
|
|
20
|
+
export declare const PrimaryMediumMedium: any;
|
|
21
|
+
export declare const PrimaryMediumBook: any;
|
|
22
|
+
export declare const PrimarySmallBook: any;
|
|
23
|
+
export declare const PrimaryXSmallBook: any;
|
|
24
|
+
export declare const Secondary: any;
|
|
25
|
+
export declare const SecondaryLargeMedium: any;
|
|
26
|
+
export declare const SecondaryLargeBook: any;
|
|
27
|
+
export declare const SecondaryMediumMedium: any;
|
|
28
|
+
export declare const SecondaryMediumBook: any;
|
|
29
|
+
export declare const SecondarySmallMediumCap: any;
|
|
30
|
+
export declare const SecondarySmallMedium: any;
|
|
31
|
+
export declare const SecondarySmallBook: any;
|
|
32
|
+
export declare const SecondaryXSmallMediumCap: any;
|
|
33
|
+
export declare const SecondaryXSmallMedium: any;
|
|
34
|
+
export declare const SecondaryXSmallBookCap: any;
|
|
35
|
+
export declare const SecondaryXSmallBook: any;
|
|
36
|
+
export declare const SecondaryXXSmallMediumCap: any;
|
|
37
|
+
export declare const SecondaryXXSmallBook: any;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Typography from './Typography';
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Atoms/Typography',
|
|
5
|
+
component: Typography,
|
|
6
|
+
};
|
|
7
|
+
function Template(args) {
|
|
8
|
+
return React.createElement(Typography, Object.assign({}, args));
|
|
9
|
+
}
|
|
10
|
+
export const Default = Template.bind({});
|
|
11
|
+
Default.args = {
|
|
12
|
+
children: 'Text',
|
|
13
|
+
};
|
|
14
|
+
export const Display = Template.bind({});
|
|
15
|
+
Display.args = {
|
|
16
|
+
category: "display",
|
|
17
|
+
children: 'Text',
|
|
18
|
+
};
|
|
19
|
+
export const DisplayXXXLarge = Template.bind({});
|
|
20
|
+
DisplayXXXLarge.args = {
|
|
21
|
+
children: 'Text',
|
|
22
|
+
category: "display",
|
|
23
|
+
size: 'XXX-large'
|
|
24
|
+
};
|
|
25
|
+
export const DisplayXXLarge = Template.bind({});
|
|
26
|
+
DisplayXXLarge.args = {
|
|
27
|
+
children: 'Text',
|
|
28
|
+
category: "display",
|
|
29
|
+
size: 'XX-large'
|
|
30
|
+
};
|
|
31
|
+
export const DisplayXLarge = Template.bind({});
|
|
32
|
+
DisplayXLarge.args = {
|
|
33
|
+
children: 'Text',
|
|
34
|
+
category: "display",
|
|
35
|
+
size: 'X-large'
|
|
36
|
+
};
|
|
37
|
+
export const DisplayLarge = Template.bind({});
|
|
38
|
+
DisplayLarge.args = {
|
|
39
|
+
children: 'Text',
|
|
40
|
+
category: "display",
|
|
41
|
+
size: 'large'
|
|
42
|
+
};
|
|
43
|
+
export const DisplayLargelight = Template.bind({});
|
|
44
|
+
DisplayLargelight.args = {
|
|
45
|
+
children: 'Text',
|
|
46
|
+
category: "display",
|
|
47
|
+
size: 'large-light'
|
|
48
|
+
};
|
|
49
|
+
export const DisplayMediumBook = Template.bind({});
|
|
50
|
+
DisplayMediumBook.args = {
|
|
51
|
+
children: 'Text',
|
|
52
|
+
category: "display",
|
|
53
|
+
size: 'medium-book'
|
|
54
|
+
};
|
|
55
|
+
export const Primary = Template.bind({});
|
|
56
|
+
Primary.args = {
|
|
57
|
+
category: "primary",
|
|
58
|
+
children: 'Text',
|
|
59
|
+
};
|
|
60
|
+
export const PrimaryLargeBold = Template.bind({});
|
|
61
|
+
PrimaryLargeBold.args = {
|
|
62
|
+
children: 'Text',
|
|
63
|
+
category: "primary",
|
|
64
|
+
size: 'large-bold'
|
|
65
|
+
};
|
|
66
|
+
export const PrimaryLargeBook = Template.bind({});
|
|
67
|
+
PrimaryLargeBook.args = {
|
|
68
|
+
children: 'Text',
|
|
69
|
+
category: "primary",
|
|
70
|
+
size: 'large-book'
|
|
71
|
+
};
|
|
72
|
+
export const PrimaryLargeLight = Template.bind({});
|
|
73
|
+
PrimaryLargeLight.args = {
|
|
74
|
+
children: 'Text',
|
|
75
|
+
category: "primary",
|
|
76
|
+
size: 'large-light'
|
|
77
|
+
};
|
|
78
|
+
export const PrimaryMediumSemiBold = Template.bind({});
|
|
79
|
+
PrimaryMediumSemiBold.args = {
|
|
80
|
+
children: 'Text',
|
|
81
|
+
category: "primary",
|
|
82
|
+
size: 'medium-semibold'
|
|
83
|
+
};
|
|
84
|
+
export const PrimaryMediumMedium = Template.bind({});
|
|
85
|
+
PrimaryMediumMedium.args = {
|
|
86
|
+
children: 'Text',
|
|
87
|
+
category: "primary",
|
|
88
|
+
size: 'medium-medium'
|
|
89
|
+
};
|
|
90
|
+
export const PrimaryMediumBook = Template.bind({});
|
|
91
|
+
PrimaryMediumBook.args = {
|
|
92
|
+
children: 'Text',
|
|
93
|
+
category: "primary",
|
|
94
|
+
size: 'medium-book'
|
|
95
|
+
};
|
|
96
|
+
export const PrimarySmallBook = Template.bind({});
|
|
97
|
+
PrimarySmallBook.args = {
|
|
98
|
+
children: 'Text',
|
|
99
|
+
category: "primary",
|
|
100
|
+
size: 'small-book'
|
|
101
|
+
};
|
|
102
|
+
export const PrimaryXSmallBook = Template.bind({});
|
|
103
|
+
PrimaryXSmallBook.args = {
|
|
104
|
+
children: 'Text',
|
|
105
|
+
category: "primary",
|
|
106
|
+
size: 'x-small-book'
|
|
107
|
+
};
|
|
108
|
+
export const Secondary = Template.bind({});
|
|
109
|
+
Secondary.args = {
|
|
110
|
+
category: "secondary",
|
|
111
|
+
children: 'Text',
|
|
112
|
+
};
|
|
113
|
+
export const SecondaryLargeMedium = Template.bind({});
|
|
114
|
+
SecondaryLargeMedium.args = {
|
|
115
|
+
category: "secondary",
|
|
116
|
+
children: 'Text',
|
|
117
|
+
size: 'large-medium'
|
|
118
|
+
};
|
|
119
|
+
export const SecondaryLargeBook = Template.bind({});
|
|
120
|
+
SecondaryLargeBook.args = {
|
|
121
|
+
category: "secondary",
|
|
122
|
+
children: 'Text',
|
|
123
|
+
size: 'large-book'
|
|
124
|
+
};
|
|
125
|
+
export const SecondaryMediumMedium = Template.bind({});
|
|
126
|
+
SecondaryMediumMedium.args = {
|
|
127
|
+
category: "secondary",
|
|
128
|
+
children: 'Text',
|
|
129
|
+
size: 'medium-medium'
|
|
130
|
+
};
|
|
131
|
+
export const SecondaryMediumBook = Template.bind({});
|
|
132
|
+
SecondaryMediumBook.args = {
|
|
133
|
+
category: "secondary",
|
|
134
|
+
children: 'Text',
|
|
135
|
+
size: 'medium-book'
|
|
136
|
+
};
|
|
137
|
+
export const SecondarySmallMediumCap = Template.bind({});
|
|
138
|
+
SecondarySmallMediumCap.args = {
|
|
139
|
+
category: "secondary",
|
|
140
|
+
children: 'Text',
|
|
141
|
+
size: 'small-medium-cap'
|
|
142
|
+
};
|
|
143
|
+
export const SecondarySmallMedium = Template.bind({});
|
|
144
|
+
SecondarySmallMedium.args = {
|
|
145
|
+
category: "secondary",
|
|
146
|
+
children: 'Text',
|
|
147
|
+
size: 'small-medium'
|
|
148
|
+
};
|
|
149
|
+
export const SecondarySmallBook = Template.bind({});
|
|
150
|
+
SecondarySmallBook.args = {
|
|
151
|
+
category: "secondary",
|
|
152
|
+
children: 'Text',
|
|
153
|
+
size: 'small-book'
|
|
154
|
+
};
|
|
155
|
+
export const SecondaryXSmallMediumCap = Template.bind({});
|
|
156
|
+
SecondaryXSmallMediumCap.args = {
|
|
157
|
+
category: "secondary",
|
|
158
|
+
children: 'Text',
|
|
159
|
+
size: 'x-small-medium-cap'
|
|
160
|
+
};
|
|
161
|
+
export const SecondaryXSmallMedium = Template.bind({});
|
|
162
|
+
SecondaryXSmallMedium.args = {
|
|
163
|
+
category: "secondary",
|
|
164
|
+
children: 'Text',
|
|
165
|
+
size: 'x-small-medium'
|
|
166
|
+
};
|
|
167
|
+
export const SecondaryXSmallBookCap = Template.bind({});
|
|
168
|
+
SecondaryXSmallBookCap.args = {
|
|
169
|
+
category: "secondary",
|
|
170
|
+
children: 'Text',
|
|
171
|
+
size: 'x-small-book-cap'
|
|
172
|
+
};
|
|
173
|
+
export const SecondaryXSmallBook = Template.bind({});
|
|
174
|
+
SecondaryXSmallBook.args = {
|
|
175
|
+
category: "secondary",
|
|
176
|
+
children: 'Text',
|
|
177
|
+
size: 'x-small-book'
|
|
178
|
+
};
|
|
179
|
+
export const SecondaryXXSmallMediumCap = Template.bind({});
|
|
180
|
+
SecondaryXXSmallMediumCap.args = {
|
|
181
|
+
category: "secondary",
|
|
182
|
+
children: 'Text',
|
|
183
|
+
size: 'xx-small-medium-cap'
|
|
184
|
+
};
|
|
185
|
+
export const SecondaryXXSmallBook = Template.bind({});
|
|
186
|
+
SecondaryXXSmallBook.args = {
|
|
187
|
+
category: "secondary",
|
|
188
|
+
children: 'Text',
|
|
189
|
+
size: 'xx-small-book'
|
|
190
|
+
};
|
|
191
|
+
//# sourceMappingURL=Typography.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typography.stories.js","sourceRoot":"","sources":["../../../../src/stories/atoms/Typography/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AAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACtD,oBAAoB,CAAC,IAAI,GAAG;IAC1B,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,MAAM;IAChB,IAAI,EAAE,eAAe;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Typography } from './Typography';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/stories/atoms/Typography/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC"}
|