@mailstep/design-system 0.4.9-beta.0 → 0.4.9-beta.2
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/assets/fonts/Inter-Bold_mailstep.woff2 +0 -0
- package/assets/fonts/Inter-Light_mailstep.woff2 +0 -0
- package/assets/fonts/Inter-Medium_mailstep.woff2 +0 -0
- package/assets/fonts/Inter-Regular_mailstep.woff2 +0 -0
- package/assets/fonts/Inter-SemiBold_mailstep.woff2 +0 -0
- package/assets/fonts/Inter-Thin_mailstep.woff2 +0 -0
- package/assets/fonts.css +0 -0
- package/package.json +2 -2
- package/ui/Elements/Fonts/index.d.ts +2 -1
- package/ui/Elements/Fonts/index.js +2 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/assets/fonts.css
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailstep/design-system",
|
|
3
|
-
"version": "0.4.9-beta.
|
|
3
|
+
"version": "0.4.9-beta.2",
|
|
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", "assets"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
13
|
"storybook": "storybook dev -p 6006",
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const Fonts: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
2
|
+
export default Fonts;
|
|
@@ -6,5 +6,6 @@ import { createGlobalStyle } from '@xstyled/styled-components';
|
|
|
6
6
|
import InterLightMailstep from '../../../assets/fonts/Inter-Light_mailstep.woff2';
|
|
7
7
|
import InterRegularMailstep from '../../../assets/fonts/Inter-Regular_mailstep.woff2';
|
|
8
8
|
import InterMediumMailstep from '../../../assets/fonts/Inter-Medium_mailstep.woff2';
|
|
9
|
-
|
|
9
|
+
var Fonts = createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n @font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400; /* normal */\n font-display: swap;\n src: url(", ") 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(", ") 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(", ") format('woff2');\n }\n"], ["\n @font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400; /* normal */\n font-display: swap;\n src: url(", ") 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(", ") 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(", ") format('woff2');\n }\n"])), InterLightMailstep, InterRegularMailstep, InterMediumMailstep);
|
|
10
|
+
export default Fonts;
|
|
10
11
|
var templateObject_1;
|