@spothero/ui 22.0.1 → 22.0.3-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.
|
@@ -62,7 +62,7 @@ const Alert = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
62
62
|
}, buttonProps), buttonText) : null, showDismiss ? /*#__PURE__*/_react.default.createElement(_Button.default, (0, _extends2.default)({}, style.dismissButton, {
|
|
63
63
|
onClick: onDismissClick
|
|
64
64
|
}), /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
65
|
-
width:
|
|
65
|
+
width: 6,
|
|
66
66
|
height: "auto",
|
|
67
67
|
as: _x.default
|
|
68
68
|
})) : null));
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.fonts = exports.fontWeights = exports.fontSizes = void 0;
|
|
7
7
|
const fonts = exports.fonts = {
|
|
8
|
-
heading: `"
|
|
9
|
-
body: `"
|
|
8
|
+
heading: `"Plus Jakarta Sans", sans-serif`,
|
|
9
|
+
body: `"Plus Jakarta Sans", sans-serif`
|
|
10
10
|
};
|
|
11
11
|
const fontSizes = exports.fontSizes = {
|
|
12
12
|
'5xl': '3.5rem',
|
package/dist/theme/global.js
CHANGED
|
@@ -25,38 +25,33 @@ const global = {
|
|
|
25
25
|
var _default = exports.default = global;
|
|
26
26
|
const Fonts = () => /*#__PURE__*/_react.default.createElement(_react2.Global, {
|
|
27
27
|
styles: `
|
|
28
|
-
@import url('https://fonts.googleapis.com/css2?family=
|
|
29
|
-
/* Copied from https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap */
|
|
28
|
+
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
|
|
30
29
|
/* latin-ext */
|
|
31
30
|
@font-face {
|
|
32
|
-
font-family:
|
|
31
|
+
font-family: "Plus Jakarta Sans", sans-serif;
|
|
33
32
|
font-style: normal;
|
|
34
33
|
font-weight: 700;
|
|
35
|
-
src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN7rgOXOhpKKSTj5PW.woff2) format('woff2');
|
|
36
34
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
37
35
|
}
|
|
38
36
|
/* latin-ext */
|
|
39
37
|
@font-face {
|
|
40
|
-
font-family:
|
|
38
|
+
font-family: "Plus Jakarta Sans", sans-serif;
|
|
41
39
|
font-style: normal;
|
|
42
40
|
font-weight: 600;
|
|
43
|
-
src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UNirkOXOhpKKSTj5PW.woff2) format('woff2');
|
|
44
41
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
45
42
|
}
|
|
46
43
|
/* latin-ext */
|
|
47
44
|
@font-face {
|
|
48
|
-
font-family:
|
|
45
|
+
font-family: "Plus Jakarta Sans", sans-serif;
|
|
49
46
|
font-style: normal;
|
|
50
47
|
font-weight: 400;
|
|
51
|
-
src: url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFW50bf8pkAp6a.woff2) format('woff2');
|
|
52
48
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
53
49
|
}
|
|
54
50
|
/* latin-ext */
|
|
55
51
|
@font-face {
|
|
56
|
-
font-family:
|
|
52
|
+
font-family: "Plus Jakarta Sans", sans-serif;
|
|
57
53
|
font-style: normal;
|
|
58
54
|
font-weight: 300;
|
|
59
|
-
src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN_r8OXOhpKKSTj5PW.woff2) format('woff2');
|
|
60
55
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
61
56
|
}
|
|
62
57
|
`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spothero/ui",
|
|
3
|
-
"version": "22.0.1",
|
|
3
|
+
"version": "22.0.3-beta.1",
|
|
4
4
|
"description": "SpotHero's React component UI library.",
|
|
5
5
|
"main": "./dist/components/index.js",
|
|
6
6
|
"exports": "./dist/components/index.js",
|
|
@@ -96,12 +96,12 @@
|
|
|
96
96
|
"sass-loader": "10.2.1",
|
|
97
97
|
"@spothero/babel-preset-spothero": "5.1.0",
|
|
98
98
|
"@spothero/browserslist-config": "4.0.0",
|
|
99
|
-
"@spothero/core": "7.0.
|
|
100
|
-
"@spothero/icons": "9.0.0",
|
|
99
|
+
"@spothero/core": "7.0.1-beta.1",
|
|
101
100
|
"@spothero/eslint-config": "6.1.0",
|
|
101
|
+
"@spothero/icons": "9.0.0",
|
|
102
102
|
"@spothero/npm-publisher": "7.0.0",
|
|
103
|
-
"@spothero/
|
|
104
|
-
"@spothero/
|
|
103
|
+
"@spothero/prettier-config": "4.0.0",
|
|
104
|
+
"@spothero/stylelint-config": "6.0.0"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"@chakra-ui/react": "1.8.8",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"regenerator-runtime": "0.13.7",
|
|
118
118
|
"ssr-window": "1.0.1",
|
|
119
119
|
"transitionEnd": "1.0.2",
|
|
120
|
-
"@spothero/utils": "15.0.
|
|
120
|
+
"@spothero/utils": "15.0.1"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"classnames": "^2.2.6",
|