@khanacademy/wonder-blocks-clickable 2.3.0 → 2.3.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/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 11);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -1057,7 +1057,7 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
1057
1057
|
/* fade */
|
|
1058
1058
|
"a"])(white, 0.5),
|
|
1059
1059
|
// Brand
|
|
1060
|
-
darkBlue: "#
|
|
1060
|
+
darkBlue: "#0b2149",
|
|
1061
1061
|
teal: "#14bf96",
|
|
1062
1062
|
lightBlue: "#37c5fd",
|
|
1063
1063
|
pink: "#fa50ae"
|
|
@@ -1132,29 +1132,53 @@ module.exports = require("react-router-dom");
|
|
|
1132
1132
|
/* 6 */
|
|
1133
1133
|
/***/ (function(module, exports) {
|
|
1134
1134
|
|
|
1135
|
-
|
|
1135
|
+
function _extends() {
|
|
1136
|
+
module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
1137
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
1138
|
+
var source = arguments[i];
|
|
1139
|
+
|
|
1140
|
+
for (var key in source) {
|
|
1141
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
1142
|
+
target[key] = source[key];
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
return target;
|
|
1148
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1149
|
+
return _extends.apply(this, arguments);
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1136
1153
|
|
|
1137
1154
|
/***/ }),
|
|
1138
1155
|
/* 7 */
|
|
1156
|
+
/***/ (function(module, exports) {
|
|
1157
|
+
|
|
1158
|
+
module.exports = require("@khanacademy/wonder-blocks-core");
|
|
1159
|
+
|
|
1160
|
+
/***/ }),
|
|
1161
|
+
/* 8 */
|
|
1139
1162
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1140
1163
|
|
|
1141
1164
|
"use strict";
|
|
1142
1165
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Clickable; });
|
|
1143
|
-
/* harmony import */ var
|
|
1144
|
-
/* harmony import */ var
|
|
1145
|
-
/* harmony import */ var
|
|
1146
|
-
/* harmony import */ var
|
|
1147
|
-
/* harmony import */ var
|
|
1148
|
-
/* harmony import */ var
|
|
1149
|
-
/* harmony import */ var
|
|
1150
|
-
/* harmony import */ var
|
|
1151
|
-
/* harmony import */ var
|
|
1152
|
-
/* harmony import */ var
|
|
1153
|
-
/* harmony import */ var
|
|
1154
|
-
/* harmony import */ var
|
|
1155
|
-
/* harmony import */ var
|
|
1156
|
-
/* harmony import */ var
|
|
1157
|
-
|
|
1166
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
|
|
1167
|
+
/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__);
|
|
1168
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0);
|
|
1169
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
1170
|
+
/* harmony import */ var aphrodite__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
|
|
1171
|
+
/* harmony import */ var aphrodite__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(aphrodite__WEBPACK_IMPORTED_MODULE_2__);
|
|
1172
|
+
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5);
|
|
1173
|
+
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_router_dom__WEBPACK_IMPORTED_MODULE_3__);
|
|
1174
|
+
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10);
|
|
1175
|
+
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_router__WEBPACK_IMPORTED_MODULE_4__);
|
|
1176
|
+
/* harmony import */ var _khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7);
|
|
1177
|
+
/* harmony import */ var _khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_5__);
|
|
1178
|
+
/* harmony import */ var _khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3);
|
|
1179
|
+
/* harmony import */ var _khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_6__);
|
|
1180
|
+
/* harmony import */ var _util_get_clickable_behavior_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4);
|
|
1181
|
+
/* harmony import */ var _util_is_client_side_url_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1);
|
|
1158
1182
|
|
|
1159
1183
|
|
|
1160
1184
|
|
|
@@ -1164,9 +1188,9 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
1164
1188
|
|
|
1165
1189
|
|
|
1166
1190
|
|
|
1167
|
-
const StyledAnchor = Object(
|
|
1168
|
-
const StyledButton = Object(
|
|
1169
|
-
const StyledLink = Object(
|
|
1191
|
+
const StyledAnchor = Object(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_5__["addStyle"])("a");
|
|
1192
|
+
const StyledButton = Object(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_5__["addStyle"])("button");
|
|
1193
|
+
const StyledLink = Object(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_5__["addStyle"])(react_router_dom__WEBPACK_IMPORTED_MODULE_3__["Link"]);
|
|
1170
1194
|
/**
|
|
1171
1195
|
* A component to turn any custom component into a clickable one.
|
|
1172
1196
|
*
|
|
@@ -1201,31 +1225,31 @@ const StyledLink = Object(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODU
|
|
|
1201
1225
|
* ```
|
|
1202
1226
|
*/
|
|
1203
1227
|
|
|
1204
|
-
class Clickable extends
|
|
1228
|
+
class Clickable extends react__WEBPACK_IMPORTED_MODULE_1__["Component"] {
|
|
1205
1229
|
constructor(...args) {
|
|
1206
1230
|
super(...args);
|
|
1207
1231
|
|
|
1208
1232
|
this.getCorrectTag = (clickableState, router, commonProps) => {
|
|
1209
1233
|
const activeHref = this.props.href && !this.props.disabled;
|
|
1210
|
-
const useClient = router && !this.props.skipClientNav && Object(
|
|
1234
|
+
const useClient = router && !this.props.skipClientNav && Object(_util_is_client_side_url_js__WEBPACK_IMPORTED_MODULE_8__[/* isClientSideUrl */ "a"])(this.props.href || ""); // NOTE: checking this.props.href here is redundant, but flow
|
|
1211
1235
|
// needs it to refine this.props.href to a string.
|
|
1212
1236
|
|
|
1213
1237
|
if (activeHref && useClient && this.props.href) {
|
|
1214
|
-
return /*#__PURE__*/
|
|
1238
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"](StyledLink, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, commonProps, {
|
|
1215
1239
|
to: this.props.href,
|
|
1216
1240
|
role: this.props.role,
|
|
1217
1241
|
target: this.props.target || undefined,
|
|
1218
1242
|
"aria-disabled": this.props.disabled ? "true" : undefined
|
|
1219
1243
|
}), this.props.children(clickableState));
|
|
1220
1244
|
} else if (activeHref && !useClient) {
|
|
1221
|
-
return /*#__PURE__*/
|
|
1245
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"](StyledAnchor, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, commonProps, {
|
|
1222
1246
|
href: this.props.href,
|
|
1223
1247
|
role: this.props.role,
|
|
1224
1248
|
target: this.props.target || undefined,
|
|
1225
1249
|
"aria-disabled": this.props.disabled ? "true" : undefined
|
|
1226
1250
|
}), this.props.children(clickableState));
|
|
1227
1251
|
} else {
|
|
1228
|
-
return /*#__PURE__*/
|
|
1252
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"](StyledButton, _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, commonProps, {
|
|
1229
1253
|
type: "button",
|
|
1230
1254
|
"aria-disabled": this.props.disabled
|
|
1231
1255
|
}), this.props.children(clickableState));
|
|
@@ -1250,12 +1274,12 @@ class Clickable extends react__WEBPACK_IMPORTED_MODULE_0__["Component"] {
|
|
|
1250
1274
|
disabled,
|
|
1251
1275
|
...restProps
|
|
1252
1276
|
} = this.props;
|
|
1253
|
-
const ClickableBehavior = Object(
|
|
1277
|
+
const ClickableBehavior = Object(_util_get_clickable_behavior_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"])(href, skipClientNav, router);
|
|
1254
1278
|
|
|
1255
1279
|
const getStyle = state => [styles.reset, styles.link, !hideDefaultFocusRing && state.focused && (light ? styles.focusedLight : styles.focused), disabled && styles.disabled, style];
|
|
1256
1280
|
|
|
1257
1281
|
if (beforeNav) {
|
|
1258
|
-
return /*#__PURE__*/
|
|
1282
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"](ClickableBehavior, {
|
|
1259
1283
|
href: href,
|
|
1260
1284
|
onClick: onClick,
|
|
1261
1285
|
beforeNav: beforeNav,
|
|
@@ -1269,7 +1293,7 @@ class Clickable extends react__WEBPACK_IMPORTED_MODULE_0__["Component"] {
|
|
|
1269
1293
|
...childrenProps
|
|
1270
1294
|
}));
|
|
1271
1295
|
} else {
|
|
1272
|
-
return /*#__PURE__*/
|
|
1296
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"](ClickableBehavior, {
|
|
1273
1297
|
href: href,
|
|
1274
1298
|
onClick: onClick,
|
|
1275
1299
|
safeWithNav: safeWithNav,
|
|
@@ -1286,7 +1310,7 @@ class Clickable extends react__WEBPACK_IMPORTED_MODULE_0__["Component"] {
|
|
|
1286
1310
|
}
|
|
1287
1311
|
|
|
1288
1312
|
render() {
|
|
1289
|
-
return /*#__PURE__*/
|
|
1313
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__["createElement"](react_router__WEBPACK_IMPORTED_MODULE_4__["__RouterContext"].Consumer, null, router => this.renderClickableBehavior(router));
|
|
1290
1314
|
}
|
|
1291
1315
|
|
|
1292
1316
|
} // Source: https://gist.github.com/MoOx/9137295
|
|
@@ -1296,7 +1320,7 @@ Clickable.defaultProps = {
|
|
|
1296
1320
|
disabled: false,
|
|
1297
1321
|
"aria-label": ""
|
|
1298
1322
|
};
|
|
1299
|
-
const styles =
|
|
1323
|
+
const styles = aphrodite__WEBPACK_IMPORTED_MODULE_2__["StyleSheet"].create({
|
|
1300
1324
|
reset: {
|
|
1301
1325
|
border: "none",
|
|
1302
1326
|
margin: 0,
|
|
@@ -1330,43 +1354,43 @@ const styles = aphrodite__WEBPACK_IMPORTED_MODULE_1__["StyleSheet"].create({
|
|
|
1330
1354
|
},
|
|
1331
1355
|
focused: {
|
|
1332
1356
|
":focus": {
|
|
1333
|
-
outline: `solid 2px ${
|
|
1357
|
+
outline: `solid 2px ${_khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_6___default.a.blue}`
|
|
1334
1358
|
}
|
|
1335
1359
|
},
|
|
1336
1360
|
focusedLight: {
|
|
1337
|
-
outline: `solid 2px ${
|
|
1361
|
+
outline: `solid 2px ${_khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_6___default.a.white}`
|
|
1338
1362
|
},
|
|
1339
1363
|
disabled: {
|
|
1340
|
-
color:
|
|
1364
|
+
color: _khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_6___default.a.offBlack32,
|
|
1341
1365
|
cursor: "not-allowed",
|
|
1342
1366
|
":focus": {
|
|
1343
1367
|
outline: "none"
|
|
1344
1368
|
},
|
|
1345
1369
|
":focus-visible": {
|
|
1346
|
-
outline: `solid 2px ${
|
|
1370
|
+
outline: `solid 2px ${_khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_6___default.a.blue}`
|
|
1347
1371
|
}
|
|
1348
1372
|
}
|
|
1349
1373
|
});
|
|
1350
1374
|
|
|
1351
1375
|
/***/ }),
|
|
1352
|
-
/*
|
|
1376
|
+
/* 9 */
|
|
1353
1377
|
/***/ (function(module, exports) {
|
|
1354
1378
|
|
|
1355
1379
|
module.exports = require("aphrodite");
|
|
1356
1380
|
|
|
1357
1381
|
/***/ }),
|
|
1358
|
-
/*
|
|
1382
|
+
/* 10 */
|
|
1359
1383
|
/***/ (function(module, exports) {
|
|
1360
1384
|
|
|
1361
1385
|
module.exports = require("react-router");
|
|
1362
1386
|
|
|
1363
1387
|
/***/ }),
|
|
1364
|
-
/*
|
|
1388
|
+
/* 11 */
|
|
1365
1389
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1366
1390
|
|
|
1367
1391
|
"use strict";
|
|
1368
1392
|
__webpack_require__.r(__webpack_exports__);
|
|
1369
|
-
/* harmony import */ var _components_clickable_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
1393
|
+
/* harmony import */ var _components_clickable_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
|
|
1370
1394
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _components_clickable_js__WEBPACK_IMPORTED_MODULE_0__["a"]; });
|
|
1371
1395
|
|
|
1372
1396
|
/* harmony import */ var _components_clickable_behavior_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-clickable",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"description": "Clickable component for Wonder-Blocks.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "^7.18.6",
|
|
19
|
-
"@khanacademy/wonder-blocks-core": "^4.
|
|
19
|
+
"@khanacademy/wonder-blocks-core": "^4.4.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"aphrodite": "^1.2.5",
|
|
@@ -4,7 +4,7 @@ exports[`wonder-blocks-clickable example 1 1`] = `
|
|
|
4
4
|
<div
|
|
5
5
|
className=""
|
|
6
6
|
style={
|
|
7
|
-
|
|
7
|
+
{
|
|
8
8
|
"alignItems": "stretch",
|
|
9
9
|
"borderStyle": "solid",
|
|
10
10
|
"borderWidth": 0,
|
|
@@ -39,8 +39,8 @@ exports[`wonder-blocks-clickable example 1 1`] = `
|
|
|
39
39
|
onTouchStart={[Function]}
|
|
40
40
|
role="tab"
|
|
41
41
|
style={
|
|
42
|
-
|
|
43
|
-
"::MozFocusInner":
|
|
42
|
+
{
|
|
43
|
+
"::MozFocusInner": {
|
|
44
44
|
"border": 0,
|
|
45
45
|
},
|
|
46
46
|
"MozOsxFontSmoothing": "inherit",
|
|
@@ -68,7 +68,7 @@ exports[`wonder-blocks-clickable example 1 1`] = `
|
|
|
68
68
|
<div
|
|
69
69
|
className=""
|
|
70
70
|
style={
|
|
71
|
-
|
|
71
|
+
{
|
|
72
72
|
"alignItems": "stretch",
|
|
73
73
|
"borderStyle": "solid",
|
|
74
74
|
"borderWidth": 0,
|
|
@@ -87,11 +87,11 @@ exports[`wonder-blocks-clickable example 1 1`] = `
|
|
|
87
87
|
<span
|
|
88
88
|
className=""
|
|
89
89
|
style={
|
|
90
|
-
|
|
90
|
+
{
|
|
91
91
|
"MozOsxFontSmoothing": "grayscale",
|
|
92
92
|
"WebkitFontSmoothing": "antialiased",
|
|
93
93
|
"display": "block",
|
|
94
|
-
"fontFamily": "Lato,
|
|
94
|
+
"fontFamily": "Lato, "Noto Sans", sans-serif",
|
|
95
95
|
"fontSize": 16,
|
|
96
96
|
"fontWeight": 400,
|
|
97
97
|
"lineHeight": "22px",
|
|
@@ -109,9 +109,9 @@ exports[`wonder-blocks-clickable example 2 1`] = `
|
|
|
109
109
|
<div
|
|
110
110
|
className=""
|
|
111
111
|
style={
|
|
112
|
-
|
|
112
|
+
{
|
|
113
113
|
"alignItems": "stretch",
|
|
114
|
-
"backgroundColor": "#
|
|
114
|
+
"backgroundColor": "#0b2149",
|
|
115
115
|
"borderStyle": "solid",
|
|
116
116
|
"borderWidth": 0,
|
|
117
117
|
"boxSizing": "border-box",
|
|
@@ -146,8 +146,8 @@ exports[`wonder-blocks-clickable example 2 1`] = `
|
|
|
146
146
|
onTouchStart={[Function]}
|
|
147
147
|
role="tab"
|
|
148
148
|
style={
|
|
149
|
-
|
|
150
|
-
"::MozFocusInner":
|
|
149
|
+
{
|
|
150
|
+
"::MozFocusInner": {
|
|
151
151
|
"border": 0,
|
|
152
152
|
},
|
|
153
153
|
"MozOsxFontSmoothing": "inherit",
|
|
@@ -175,7 +175,7 @@ exports[`wonder-blocks-clickable example 2 1`] = `
|
|
|
175
175
|
<div
|
|
176
176
|
className=""
|
|
177
177
|
style={
|
|
178
|
-
|
|
178
|
+
{
|
|
179
179
|
"alignItems": "stretch",
|
|
180
180
|
"borderStyle": "solid",
|
|
181
181
|
"borderWidth": 0,
|
|
@@ -194,11 +194,11 @@ exports[`wonder-blocks-clickable example 2 1`] = `
|
|
|
194
194
|
<span
|
|
195
195
|
className=""
|
|
196
196
|
style={
|
|
197
|
-
|
|
197
|
+
{
|
|
198
198
|
"MozOsxFontSmoothing": "grayscale",
|
|
199
199
|
"WebkitFontSmoothing": "antialiased",
|
|
200
200
|
"display": "block",
|
|
201
|
-
"fontFamily": "Lato,
|
|
201
|
+
"fontFamily": "Lato, "Noto Sans", sans-serif",
|
|
202
202
|
"fontSize": 16,
|
|
203
203
|
"fontWeight": 400,
|
|
204
204
|
"lineHeight": "22px",
|
|
@@ -216,7 +216,7 @@ exports[`wonder-blocks-clickable example 3 1`] = `
|
|
|
216
216
|
<div
|
|
217
217
|
className=""
|
|
218
218
|
style={
|
|
219
|
-
|
|
219
|
+
{
|
|
220
220
|
"alignItems": "center",
|
|
221
221
|
"borderStyle": "solid",
|
|
222
222
|
"borderWidth": 0,
|
|
@@ -250,7 +250,7 @@ exports[`wonder-blocks-clickable example 3 1`] = `
|
|
|
250
250
|
onTouchEnd={[Function]}
|
|
251
251
|
onTouchStart={[Function]}
|
|
252
252
|
style={
|
|
253
|
-
|
|
253
|
+
{
|
|
254
254
|
"MozOsxFontSmoothing": "inherit",
|
|
255
255
|
"WebkitFontSmoothing": "inherit",
|
|
256
256
|
"background": "transparent",
|
|
@@ -295,7 +295,7 @@ exports[`wonder-blocks-clickable example 3 1`] = `
|
|
|
295
295
|
onTouchEnd={[Function]}
|
|
296
296
|
onTouchStart={[Function]}
|
|
297
297
|
style={
|
|
298
|
-
|
|
298
|
+
{
|
|
299
299
|
"MozOsxFontSmoothing": "inherit",
|
|
300
300
|
"WebkitFontSmoothing": "inherit",
|
|
301
301
|
"background": "transparent",
|
|
@@ -329,7 +329,7 @@ exports[`wonder-blocks-clickable example 4 1`] = `
|
|
|
329
329
|
<div
|
|
330
330
|
className=""
|
|
331
331
|
style={
|
|
332
|
-
|
|
332
|
+
{
|
|
333
333
|
"alignItems": "stretch",
|
|
334
334
|
"borderStyle": "solid",
|
|
335
335
|
"borderWidth": 0,
|
|
@@ -363,7 +363,7 @@ exports[`wonder-blocks-clickable example 4 1`] = `
|
|
|
363
363
|
onTouchEnd={[Function]}
|
|
364
364
|
onTouchStart={[Function]}
|
|
365
365
|
style={
|
|
366
|
-
|
|
366
|
+
{
|
|
367
367
|
"MozOsxFontSmoothing": "inherit",
|
|
368
368
|
"WebkitFontSmoothing": "inherit",
|
|
369
369
|
"background": "transparent",
|
|
@@ -388,7 +388,7 @@ exports[`wonder-blocks-clickable example 4 1`] = `
|
|
|
388
388
|
<div
|
|
389
389
|
className=""
|
|
390
390
|
style={
|
|
391
|
-
|
|
391
|
+
{
|
|
392
392
|
"alignItems": "stretch",
|
|
393
393
|
"borderStyle": "solid",
|
|
394
394
|
"borderWidth": 0,
|
|
@@ -407,11 +407,11 @@ exports[`wonder-blocks-clickable example 4 1`] = `
|
|
|
407
407
|
<span
|
|
408
408
|
className=""
|
|
409
409
|
style={
|
|
410
|
-
|
|
410
|
+
{
|
|
411
411
|
"MozOsxFontSmoothing": "grayscale",
|
|
412
412
|
"WebkitFontSmoothing": "antialiased",
|
|
413
413
|
"display": "block",
|
|
414
|
-
"fontFamily": "Lato,
|
|
414
|
+
"fontFamily": "Lato, "Noto Sans", sans-serif",
|
|
415
415
|
"fontSize": 16,
|
|
416
416
|
"fontWeight": 400,
|
|
417
417
|
"lineHeight": "22px",
|