@manifoldco/mercury
Advanced tools
Comparing version 0.1.0-beta.1 to 0.1.0-beta.2
42
index.js
@@ -45,8 +45,8 @@ var designTokens = { | ||
shadow: { | ||
far: "0 6px 10px rgba(0, 0, 0, 0.15000000596046448)", | ||
near: "0 2px 8px rgba(0, 0, 0, 0.07999999821186066)" | ||
far: "0 6px 10px rgba(0, 0, 0, 0.15)", | ||
near: "0 2px 8px rgba(0, 0, 0, 0.08)" | ||
}, | ||
typography: { | ||
body: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -56,3 +56,3 @@ fontSize: "16px" | ||
caption: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -62,3 +62,3 @@ fontSize: "12px" | ||
heading: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -70,3 +70,3 @@ fontSize: "20px", | ||
headingExtraLarge: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "500", | ||
@@ -78,3 +78,3 @@ fontSize: "32px", | ||
headingLarge: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -85,3 +85,3 @@ fontSize: "25px", | ||
label: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -91,3 +91,3 @@ fontSize: "14px" | ||
monoBody: { | ||
fontFamily: '"IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace', | ||
fontFamily: "'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace", | ||
fontWeight: "400", | ||
@@ -98,3 +98,3 @@ fontSize: "14px", | ||
monoCaption: { | ||
fontFamily: '"IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace', | ||
fontFamily: "'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace", | ||
fontWeight: "400", | ||
@@ -105,3 +105,3 @@ fontSize: "10px", | ||
monoLabel: { | ||
fontFamily: '"IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace', | ||
fontFamily: "'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace", | ||
fontWeight: "400", | ||
@@ -112,3 +112,3 @@ fontSize: "12px", | ||
sidebarBigTitle: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "600", | ||
@@ -118,3 +118,3 @@ fontSize: "16px" | ||
sidebarSmallTitle: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "700", | ||
@@ -124,3 +124,3 @@ fontSize: "14px" | ||
smallScreenBody: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -130,3 +130,3 @@ fontSize: "16px" | ||
smallScreenCaption: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -136,3 +136,3 @@ fontSize: "13px" | ||
smallScreenHeading: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -143,3 +143,3 @@ fontSize: "18px", | ||
smallScreenHeadingExtraLarge: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "500", | ||
@@ -151,3 +151,3 @@ fontSize: "26px", | ||
smallScreenHeadingLarge: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -158,3 +158,3 @@ fontSize: "22px", | ||
smallScreenLabel: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -164,3 +164,3 @@ fontSize: "14px" | ||
subheading: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "600", | ||
@@ -172,3 +172,3 @@ textTransform: "uppercase", | ||
subheadingSmall: { | ||
fontFamily: "-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "500", | ||
@@ -175,0 +175,0 @@ textTransform: "uppercase", |
43
index.ts
@@ -46,4 +46,4 @@ const designTokens = { | ||
shadow: { | ||
far: "0 6px 10px rgba(0, 0, 0, 0.15000000596046448)", | ||
near: "0 2px 8px rgba(0, 0, 0, 0.07999999821186066)", | ||
far: "0 6px 10px rgba(0, 0, 0, 0.15)", | ||
near: "0 2px 8px rgba(0, 0, 0, 0.08)", | ||
}, | ||
@@ -53,3 +53,3 @@ typography: { | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -60,3 +60,3 @@ fontSize: "16px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -67,3 +67,3 @@ fontSize: "12px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -76,3 +76,3 @@ fontSize: "20px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "500", | ||
@@ -85,3 +85,3 @@ fontSize: "32px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -93,3 +93,3 @@ fontSize: "25px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -100,3 +100,3 @@ fontSize: "14px", | ||
fontFamily: | ||
'"IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace', | ||
"'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace", | ||
fontWeight: "400", | ||
@@ -108,3 +108,3 @@ fontSize: "14px", | ||
fontFamily: | ||
'"IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace', | ||
"'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace", | ||
fontWeight: "400", | ||
@@ -116,3 +116,3 @@ fontSize: "10px", | ||
fontFamily: | ||
'"IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace', | ||
"'IBM Plex Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace", | ||
fontWeight: "400", | ||
@@ -124,3 +124,3 @@ fontSize: "12px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "600", | ||
@@ -131,3 +131,3 @@ fontSize: "16px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "700", | ||
@@ -138,3 +138,3 @@ fontSize: "14px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -145,3 +145,3 @@ fontSize: "16px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -152,3 +152,3 @@ fontSize: "13px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -160,3 +160,3 @@ fontSize: "18px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "500", | ||
@@ -169,3 +169,3 @@ fontSize: "26px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -177,3 +177,3 @@ fontSize: "22px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "400", | ||
@@ -184,3 +184,3 @@ fontSize: "14px", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "600", | ||
@@ -193,3 +193,3 @@ textTransform: "uppercase", | ||
fontFamily: | ||
"-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", | ||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
fontWeight: "500", | ||
@@ -202,2 +202,3 @@ textTransform: "uppercase", | ||
}; | ||
export default designTokens; |
@@ -13,3 +13,3 @@ { | ||
}, | ||
"version": "0.1.0-beta.1", | ||
"version": "0.1.0-beta.2", | ||
"main": "index.js", | ||
@@ -29,2 +29,3 @@ "module": "index.js", | ||
"@figma-export/transform-svg-with-svgo": "^1.1.1", | ||
"@storybook/addon-knobs": "^5.3.17", | ||
"@storybook/html": "^5.3.17", | ||
@@ -31,0 +32,0 @@ "@types/jest": "^25.1.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
135350
30
725