@mailstep/design-system 0.4.8 → 0.4.9-beta.1
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 +1 -0
- package/ui/Elements/Fonts/index.js +10 -0
- package/ui/index.es.js +2987 -2980
- package/ui/index.umd.js +164 -164
|
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.
|
|
3
|
+
"version": "0.4.9-beta.1",
|
|
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",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import { createGlobalStyle } from '@xstyled/styled-components';
|
|
6
|
+
import InterLightMailstep from '../../../assets/fonts/Inter-Light_mailstep.woff2';
|
|
7
|
+
import InterRegularMailstep from '../../../assets/fonts/Inter-Regular_mailstep.woff2';
|
|
8
|
+
import InterMediumMailstep from '../../../assets/fonts/Inter-Medium_mailstep.woff2';
|
|
9
|
+
export var GlobalStyle = 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
|
+
var templateObject_1;
|