@mailstep/design-system 0.4.9-beta.2 → 0.4.9-beta.4
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
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.4",
|
|
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
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Fonts:
|
|
1
|
+
declare const Fonts: () => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default Fonts;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return cooked;
|
|
4
|
-
};
|
|
5
|
-
import { createGlobalStyle } from '@xstyled/styled-components';
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Helmet } from 'react-helmet';
|
|
6
3
|
import InterLightMailstep from '../../../assets/fonts/Inter-Light_mailstep.woff2';
|
|
7
4
|
import InterRegularMailstep from '../../../assets/fonts/Inter-Regular_mailstep.woff2';
|
|
8
5
|
import InterMediumMailstep from '../../../assets/fonts/Inter-Medium_mailstep.woff2';
|
|
9
|
-
var Fonts =
|
|
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 ") }) })); };
|
|
10
7
|
export default Fonts;
|
|
11
|
-
var templateObject_1;
|
package/assets/fonts.css
DELETED
|
File without changes
|