@mailstep/design-system 0.4.9-beta.3 → 0.4.9-beta.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.
- package/package.json +7 -2
- package/ui/System/Fonts/index.d.ts +2 -0
- package/ui/System/Fonts/index.js +7 -0
- package/ui/index.es.js +2987 -2980
- package/ui/index.umd.js +164 -164
- package/ui/Elements/Fonts/index.d.ts +0 -2
- package/ui/Elements/Fonts/index.js +0 -11
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailstep/design-system",
|
|
3
|
-
"version": "0.4.9-beta.
|
|
3
|
+
"version": "0.4.9-beta.5",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./ui/index.js",
|
|
7
7
|
"module": "./ui/index.es.js",
|
|
8
8
|
"types": "./ui/index.d.ts",
|
|
9
9
|
"files": [
|
|
10
|
-
"ui",
|
|
10
|
+
"ui",
|
|
11
|
+
"assets"
|
|
11
12
|
],
|
|
12
13
|
"scripts": {
|
|
13
14
|
"storybook": "storybook dev -p 6006",
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
"@types/node": "^20.1.7",
|
|
41
42
|
"@types/react": "^18.2.6",
|
|
42
43
|
"@types/react-dom": "^18.2.4",
|
|
44
|
+
"@types/react-helmet": "^6.1.11",
|
|
43
45
|
"@types/react-router": "^5.1.20",
|
|
44
46
|
"@types/react-router-dom": "^5.3.3",
|
|
45
47
|
"@types/styled-components": "^5.1.26",
|
|
@@ -92,5 +94,8 @@
|
|
|
92
94
|
},
|
|
93
95
|
"resolutions": {
|
|
94
96
|
"jackspeak": "2.1.1"
|
|
97
|
+
},
|
|
98
|
+
"dependencies": {
|
|
99
|
+
"react-helmet": "^6.1.0"
|
|
95
100
|
}
|
|
96
101
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Helmet } from 'react-helmet';
|
|
3
|
+
import InterLightMailstep from '../../../assets/fonts/Inter-Light_mailstep.woff2';
|
|
4
|
+
import InterRegularMailstep from '../../../assets/fonts/Inter-Regular_mailstep.woff2';
|
|
5
|
+
import InterMediumMailstep from '../../../assets/fonts/Inter-Medium_mailstep.woff2';
|
|
6
|
+
var Fonts = function () { return (_jsx(Helmet, { children: _jsx("style", { type: "text/css", children: "\n @font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400; /* normal */\n font-display: swap;\n src: url(".concat(InterLightMailstep, ") format('woff2'); /* inter 300 */\n }\n \n @font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600; /* semiBold */\n font-display: swap;\n src: url(").concat(InterRegularMailstep, ") format('woff2');\n }\n \n @font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700; /* bold */\n font-display: swap;\n src: url(").concat(InterMediumMailstep, ") format('woff2');\n }\n ") }) })); };
|
|
7
|
+
export default Fonts;
|