@khanacademy/wonder-blocks-search-field 1.0.4 → 1.0.7
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 +25 -0
- package/dist/index.js +249 -94
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-search-field
|
|
2
2
|
|
|
3
|
+
## 1.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @khanacademy/wonder-blocks-icon-button@3.4.9
|
|
8
|
+
|
|
9
|
+
## 1.0.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [83486dba]
|
|
14
|
+
- @khanacademy/wonder-blocks-icon@1.2.29
|
|
15
|
+
- @khanacademy/wonder-blocks-icon-button@3.4.8
|
|
16
|
+
|
|
17
|
+
## 1.0.5
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [5f4a4297]
|
|
22
|
+
- Updated dependencies [2b96fd59]
|
|
23
|
+
- @khanacademy/wonder-blocks-core@4.3.2
|
|
24
|
+
- @khanacademy/wonder-blocks-icon@1.2.28
|
|
25
|
+
- @khanacademy/wonder-blocks-icon-button@3.4.7
|
|
26
|
+
- @khanacademy/wonder-blocks-typography@1.1.32
|
|
27
|
+
|
|
3
28
|
## 1.0.4
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
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 = 26);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -119,15 +119,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
119
119
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10);
|
|
120
120
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__);
|
|
121
121
|
/* harmony import */ var history__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3);
|
|
122
|
-
/* harmony import */ var mini_create_react_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
122
|
+
/* harmony import */ var mini_create_react_context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(21);
|
|
123
123
|
/* harmony import */ var tiny_invariant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5);
|
|
124
124
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2);
|
|
125
|
-
/* harmony import */ var path_to_regexp__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
|
|
125
|
+
/* harmony import */ var path_to_regexp__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(15);
|
|
126
126
|
/* harmony import */ var path_to_regexp__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(path_to_regexp__WEBPACK_IMPORTED_MODULE_7__);
|
|
127
|
-
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
|
|
127
|
+
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(16);
|
|
128
128
|
/* harmony import */ var react_is__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_is__WEBPACK_IMPORTED_MODULE_8__);
|
|
129
129
|
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(7);
|
|
130
|
-
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
|
|
130
|
+
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(22);
|
|
131
131
|
/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_10__);
|
|
132
132
|
|
|
133
133
|
|
|
@@ -776,7 +776,7 @@ if (false) { var secondaryBuildName, initialBuildName, buildNames, key, global;
|
|
|
776
776
|
"use strict";
|
|
777
777
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _extends; });
|
|
778
778
|
function _extends() {
|
|
779
|
-
_extends = Object.assign
|
|
779
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
780
780
|
for (var i = 1; i < arguments.length; i++) {
|
|
781
781
|
var source = arguments[i];
|
|
782
782
|
|
|
@@ -789,7 +789,6 @@ function _extends() {
|
|
|
789
789
|
|
|
790
790
|
return target;
|
|
791
791
|
};
|
|
792
|
-
|
|
793
792
|
return _extends.apply(this, arguments);
|
|
794
793
|
}
|
|
795
794
|
|
|
@@ -806,8 +805,8 @@ function _extends() {
|
|
|
806
805
|
/* unused harmony export parsePath */
|
|
807
806
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return createPath; });
|
|
808
807
|
/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
809
|
-
/* harmony import */ var resolve_pathname__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
810
|
-
/* harmony import */ var value_equal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
808
|
+
/* harmony import */ var resolve_pathname__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23);
|
|
809
|
+
/* harmony import */ var value_equal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(24);
|
|
811
810
|
/* harmony import */ var tiny_invariant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5);
|
|
812
811
|
|
|
813
812
|
|
|
@@ -1736,7 +1735,7 @@ function createMemoryHistory(props) {
|
|
|
1736
1735
|
|
|
1737
1736
|
"use strict";
|
|
1738
1737
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _inheritsLoose; });
|
|
1739
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
1738
|
+
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
|
|
1740
1739
|
|
|
1741
1740
|
function _inheritsLoose(subClass, superClass) {
|
|
1742
1741
|
subClass.prototype = Object.create(superClass.prototype);
|
|
@@ -1819,7 +1818,7 @@ module.exports = require("aphrodite");
|
|
|
1819
1818
|
if (false) { var throwOnDirectAccess, ReactIs; } else {
|
|
1820
1819
|
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1821
1820
|
// http://fb.me/prop-types-in-prod
|
|
1822
|
-
module.exports = __webpack_require__(
|
|
1821
|
+
module.exports = __webpack_require__(30)();
|
|
1823
1822
|
}
|
|
1824
1823
|
|
|
1825
1824
|
|
|
@@ -1836,16 +1835,17 @@ module.exports = require("@khanacademy/wonder-blocks-icon");
|
|
|
1836
1835
|
module.exports = require("@khanacademy/wonder-blocks-color");
|
|
1837
1836
|
|
|
1838
1837
|
/***/ }),
|
|
1839
|
-
/* 13
|
|
1838
|
+
/* 13 */,
|
|
1839
|
+
/* 14 */
|
|
1840
1840
|
/***/ (function(module, exports) {
|
|
1841
1841
|
|
|
1842
1842
|
module.exports = require("@khanacademy/wonder-blocks-typography");
|
|
1843
1843
|
|
|
1844
1844
|
/***/ }),
|
|
1845
|
-
/*
|
|
1845
|
+
/* 15 */
|
|
1846
1846
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1847
1847
|
|
|
1848
|
-
var isarray = __webpack_require__(
|
|
1848
|
+
var isarray = __webpack_require__(33)
|
|
1849
1849
|
|
|
1850
1850
|
/**
|
|
1851
1851
|
* Expose `pathToRegexp`.
|
|
@@ -2274,7 +2274,19 @@ function pathToRegexp (path, keys, options) {
|
|
|
2274
2274
|
|
|
2275
2275
|
|
|
2276
2276
|
/***/ }),
|
|
2277
|
-
/*
|
|
2277
|
+
/* 16 */
|
|
2278
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2279
|
+
|
|
2280
|
+
"use strict";
|
|
2281
|
+
|
|
2282
|
+
|
|
2283
|
+
if (true) {
|
|
2284
|
+
module.exports = __webpack_require__(34);
|
|
2285
|
+
} else {}
|
|
2286
|
+
|
|
2287
|
+
|
|
2288
|
+
/***/ }),
|
|
2289
|
+
/* 17 */
|
|
2278
2290
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2279
2291
|
|
|
2280
2292
|
"use strict";
|
|
@@ -2282,13 +2294,13 @@ function pathToRegexp (path, keys, options) {
|
|
|
2282
2294
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
2283
2295
|
/* harmony import */ var aphrodite__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
|
|
2284
2296
|
/* harmony import */ var aphrodite__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(aphrodite__WEBPACK_IMPORTED_MODULE_1__);
|
|
2285
|
-
/* harmony import */ var _khanacademy_wonder_blocks_typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
2297
|
+
/* harmony import */ var _khanacademy_wonder_blocks_typography__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
|
|
2286
2298
|
/* harmony import */ var _khanacademy_wonder_blocks_typography__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_typography__WEBPACK_IMPORTED_MODULE_2__);
|
|
2287
2299
|
/* harmony import */ var _khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8);
|
|
2288
2300
|
/* harmony import */ var _khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_core__WEBPACK_IMPORTED_MODULE_3__);
|
|
2289
|
-
/* harmony import */ var _khanacademy_wonder_blocks_icon_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
2301
|
+
/* harmony import */ var _khanacademy_wonder_blocks_icon_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(18);
|
|
2290
2302
|
/* harmony import */ var _khanacademy_wonder_blocks_icon_button__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_icon_button__WEBPACK_IMPORTED_MODULE_4__);
|
|
2291
|
-
/* harmony import */ var _khanacademy_wonder_blocks_form__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
|
|
2303
|
+
/* harmony import */ var _khanacademy_wonder_blocks_form__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(19);
|
|
2292
2304
|
/* harmony import */ var _khanacademy_wonder_blocks_form__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_form__WEBPACK_IMPORTED_MODULE_5__);
|
|
2293
2305
|
/* harmony import */ var _khanacademy_wonder_blocks_icon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11);
|
|
2294
2306
|
/* harmony import */ var _khanacademy_wonder_blocks_icon__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_icon__WEBPACK_IMPORTED_MODULE_6__);
|
|
@@ -2296,7 +2308,7 @@ function pathToRegexp (path, keys, options) {
|
|
|
2296
2308
|
/* harmony import */ var _khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_7__);
|
|
2297
2309
|
/* harmony import */ var _khanacademy_wonder_blocks_spacing__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6);
|
|
2298
2310
|
/* harmony import */ var _khanacademy_wonder_blocks_spacing__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_khanacademy_wonder_blocks_spacing__WEBPACK_IMPORTED_MODULE_8__);
|
|
2299
|
-
/* harmony import */ var _util_constants_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
|
|
2311
|
+
/* harmony import */ var _util_constants_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25);
|
|
2300
2312
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2301
2313
|
|
|
2302
2314
|
|
|
@@ -2448,13 +2460,13 @@ const styles = aphrodite__WEBPACK_IMPORTED_MODULE_1__["StyleSheet"].create({
|
|
|
2448
2460
|
/* harmony default export */ __webpack_exports__["a"] = (SearchField);
|
|
2449
2461
|
|
|
2450
2462
|
/***/ }),
|
|
2451
|
-
/*
|
|
2463
|
+
/* 18 */
|
|
2452
2464
|
/***/ (function(module, exports) {
|
|
2453
2465
|
|
|
2454
2466
|
module.exports = require("@khanacademy/wonder-blocks-icon-button");
|
|
2455
2467
|
|
|
2456
2468
|
/***/ }),
|
|
2457
|
-
/*
|
|
2469
|
+
/* 19 */
|
|
2458
2470
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2459
2471
|
|
|
2460
2472
|
module.exports =
|
|
@@ -2742,7 +2754,7 @@ function (module, exports) {
|
|
|
2742
2754
|
|
|
2743
2755
|
/***/
|
|
2744
2756
|
function (module, exports) {
|
|
2745
|
-
module.exports = __webpack_require__(
|
|
2757
|
+
module.exports = __webpack_require__(14);
|
|
2746
2758
|
/***/
|
|
2747
2759
|
},
|
|
2748
2760
|
/* 5 */
|
|
@@ -2811,7 +2823,7 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
2811
2823
|
|
|
2812
2824
|
/***/
|
|
2813
2825
|
function (module, exports) {
|
|
2814
|
-
module.exports = __webpack_require__(
|
|
2826
|
+
module.exports = __webpack_require__(27);
|
|
2815
2827
|
/***/
|
|
2816
2828
|
},
|
|
2817
2829
|
/* 8 */
|
|
@@ -2859,8 +2871,22 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
2859
2871
|
* ☑️ A nicely styled checkbox for all your checking needs. Can optionally take
|
|
2860
2872
|
* label and description props.
|
|
2861
2873
|
*
|
|
2874
|
+
* If used by itself, a checkbox provides two options - checked and unchecked.
|
|
2875
|
+
* A group of checkboxes can be used to allow a user to select multiple values
|
|
2876
|
+
* from a list of options.
|
|
2877
|
+
*
|
|
2862
2878
|
* If you want a whole group of Checkbox[es] that are related, see the Choice
|
|
2863
2879
|
* and CheckboxGroup components.
|
|
2880
|
+
*
|
|
2881
|
+
* ### Usage
|
|
2882
|
+
*
|
|
2883
|
+
* ```jsx
|
|
2884
|
+
* import {Checkbox} from "@khanacademy/wonder-blocks-form";
|
|
2885
|
+
*
|
|
2886
|
+
* const [checked, setChecked] = React.useState(false);
|
|
2887
|
+
*
|
|
2888
|
+
* <Checkbox checked={checked} onChange={setChecked} />
|
|
2889
|
+
* ```
|
|
2864
2890
|
*/
|
|
2865
2891
|
|
|
2866
2892
|
|
|
@@ -3206,6 +3232,24 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
3206
3232
|
boxShadow: `0px 0px 0px 1px ${_khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_2___default.a.red}, 0px 0px 0px 2px ${_khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_2___default.a.white}`
|
|
3207
3233
|
}
|
|
3208
3234
|
});
|
|
3235
|
+
/**
|
|
3236
|
+
* A TextField is an element used to accept a single line of text from the user.
|
|
3237
|
+
*
|
|
3238
|
+
* ### Usage
|
|
3239
|
+
*
|
|
3240
|
+
* ```jsx
|
|
3241
|
+
* import {TextField} from "@khanacademy/wonder-blocks-form";
|
|
3242
|
+
*
|
|
3243
|
+
* const [value, setValue] = React.useState("");
|
|
3244
|
+
*
|
|
3245
|
+
* <TextField
|
|
3246
|
+
* id="some-unique-text-field-id"
|
|
3247
|
+
* value={value}
|
|
3248
|
+
* onChange={setValue}
|
|
3249
|
+
* />
|
|
3250
|
+
* ```
|
|
3251
|
+
*/
|
|
3252
|
+
|
|
3209
3253
|
const TextField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["forwardRef"]((props, ref) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["createElement"](TextFieldInternal, _extends({}, props, {
|
|
3210
3254
|
forwardedRef: ref
|
|
3211
3255
|
})));
|
|
@@ -3494,6 +3538,63 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
3494
3538
|
*
|
|
3495
3539
|
* If you wish to use just a single field, use Checkbox or Radio with the
|
|
3496
3540
|
* optional label and description props.
|
|
3541
|
+
*
|
|
3542
|
+
* ### Checkbox Usage
|
|
3543
|
+
*
|
|
3544
|
+
* ```jsx
|
|
3545
|
+
* import {Choice, CheckboxGroup} from "@khanacademy/wonder-blocks-form";
|
|
3546
|
+
*
|
|
3547
|
+
* const [selectedValues, setSelectedValues] = React.useState([]);
|
|
3548
|
+
*
|
|
3549
|
+
* // Checkbox usage
|
|
3550
|
+
* <CheckboxGroup
|
|
3551
|
+
* label="some-label"
|
|
3552
|
+
* description="some-description"
|
|
3553
|
+
* groupName="some-group-name"
|
|
3554
|
+
* onChange={setSelectedValues}
|
|
3555
|
+
* selectedValues={selectedValues}
|
|
3556
|
+
* />
|
|
3557
|
+
* // Add as many choices as necessary
|
|
3558
|
+
* <Choice
|
|
3559
|
+
* label="Choice 1"
|
|
3560
|
+
* value="some-choice-value"
|
|
3561
|
+
* description="Some choice description."
|
|
3562
|
+
* />
|
|
3563
|
+
* <Choice
|
|
3564
|
+
* label="Choice 2"
|
|
3565
|
+
* value="some-choice-value-2"
|
|
3566
|
+
* description="Some choice description."
|
|
3567
|
+
* />
|
|
3568
|
+
* </CheckboxGroup>
|
|
3569
|
+
* ```
|
|
3570
|
+
*
|
|
3571
|
+
* ### Radio Usage
|
|
3572
|
+
*
|
|
3573
|
+
* ```jsx
|
|
3574
|
+
* import {Choice, RadioGroup} from "@khanacademy/wonder-blocks-form";
|
|
3575
|
+
*
|
|
3576
|
+
* const [selectedValue, setSelectedValue] = React.useState("");
|
|
3577
|
+
*
|
|
3578
|
+
* <RadioGroup
|
|
3579
|
+
* label="some-label"
|
|
3580
|
+
* description="some-description"
|
|
3581
|
+
* groupName="some-group-name"
|
|
3582
|
+
* onChange={setSelectedValue}>
|
|
3583
|
+
* selectedValues={selectedValue}
|
|
3584
|
+
* />
|
|
3585
|
+
* // Add as many choices as necessary
|
|
3586
|
+
* <Choice
|
|
3587
|
+
* label="Choice 1"
|
|
3588
|
+
* value="some-choice-value"
|
|
3589
|
+
* description="Some choice description."
|
|
3590
|
+
* />
|
|
3591
|
+
* <Choice
|
|
3592
|
+
* label="Choice 2"
|
|
3593
|
+
* value="some-choice-value-2"
|
|
3594
|
+
* description="Some choice description."
|
|
3595
|
+
* />
|
|
3596
|
+
* </RadioGroup>
|
|
3597
|
+
* ```
|
|
3497
3598
|
*/
|
|
3498
3599
|
|
|
3499
3600
|
|
|
@@ -3593,6 +3694,33 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
3593
3694
|
* many props for its children Choice components. The Choice component is
|
|
3594
3695
|
* exposed for the user to apply custom styles or to indicate which choices are
|
|
3595
3696
|
* disabled.
|
|
3697
|
+
*
|
|
3698
|
+
* ### Usage
|
|
3699
|
+
*
|
|
3700
|
+
* ```jsx
|
|
3701
|
+
* import {Choice, CheckboxGroup} from "@khanacademy/wonder-blocks-form";
|
|
3702
|
+
*
|
|
3703
|
+
* const [selectedValues, setSelectedValues] = React.useState([]);
|
|
3704
|
+
*
|
|
3705
|
+
* <CheckboxGroup
|
|
3706
|
+
* label="some-label"
|
|
3707
|
+
* description="some-description"
|
|
3708
|
+
* groupName="some-group-name"
|
|
3709
|
+
* onChange={setSelectedValues}
|
|
3710
|
+
* selectedValues={selectedValues}
|
|
3711
|
+
* />
|
|
3712
|
+
* // Add as many choices as necessary
|
|
3713
|
+
* <Choice
|
|
3714
|
+
* label="Choice 1"
|
|
3715
|
+
* value="some-choice-value"
|
|
3716
|
+
* />
|
|
3717
|
+
* <Choice
|
|
3718
|
+
* label="Choice 2"
|
|
3719
|
+
* value="some-choice-value-2"
|
|
3720
|
+
* description="Some choice description."
|
|
3721
|
+
* />
|
|
3722
|
+
* </CheckboxGroup>
|
|
3723
|
+
* ```
|
|
3596
3724
|
*/
|
|
3597
3725
|
|
|
3598
3726
|
class CheckboxGroup extends react__WEBPACK_IMPORTED_MODULE_0__["Component"] {
|
|
@@ -3732,6 +3860,33 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
3732
3860
|
* indicate which choices are disabled. The use of the groupName prop is
|
|
3733
3861
|
* important to maintain expected keyboard navigation behavior for
|
|
3734
3862
|
* accessibility.
|
|
3863
|
+
*
|
|
3864
|
+
* ### Usage
|
|
3865
|
+
*
|
|
3866
|
+
* ```jsx
|
|
3867
|
+
* import {Choice, RadioGroup} from "@khanacademy/wonder-blocks-form";
|
|
3868
|
+
*
|
|
3869
|
+
* const [selectedValue, setSelectedValue] = React.useState([]);
|
|
3870
|
+
*
|
|
3871
|
+
* <RadioGroup
|
|
3872
|
+
* label="some-label"
|
|
3873
|
+
* description="some-description"
|
|
3874
|
+
* groupName="some-group-name"
|
|
3875
|
+
* onChange={setSelectedValue}
|
|
3876
|
+
* selectedValue={selectedValue}
|
|
3877
|
+
* />
|
|
3878
|
+
* // Add as many choices as necessary
|
|
3879
|
+
* <Choice
|
|
3880
|
+
* label="Choice 1"
|
|
3881
|
+
* value="some-choice-value"
|
|
3882
|
+
* />
|
|
3883
|
+
* <Choice
|
|
3884
|
+
* label="Choice 2"
|
|
3885
|
+
* value="some-choice-value-2"
|
|
3886
|
+
* description="Some choice description."
|
|
3887
|
+
* />
|
|
3888
|
+
* </RadioGroup>
|
|
3889
|
+
* ```
|
|
3735
3890
|
*/
|
|
3736
3891
|
|
|
3737
3892
|
class RadioGroup extends react__WEBPACK_IMPORTED_MODULE_0__["Component"] {
|
|
@@ -3966,6 +4121,27 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
3966
4121
|
disabled: false,
|
|
3967
4122
|
light: false
|
|
3968
4123
|
};
|
|
4124
|
+
/**
|
|
4125
|
+
* A LabeledTextField is an element used to accept a single line of text
|
|
4126
|
+
* from the user paired with a label, description, and error field elements.
|
|
4127
|
+
*
|
|
4128
|
+
* ### Usage
|
|
4129
|
+
*
|
|
4130
|
+
* ```jsx
|
|
4131
|
+
* import {LabeledTextField} from "@khanacademy/wonder-blocks-form";
|
|
4132
|
+
*
|
|
4133
|
+
* const [value, setValue] = React.useState("");
|
|
4134
|
+
*
|
|
4135
|
+
* <LabeledTextField
|
|
4136
|
+
* label="Label"
|
|
4137
|
+
* description="Hello, this is the description for this field"
|
|
4138
|
+
* placeholder="Placeholder"
|
|
4139
|
+
* value={value}
|
|
4140
|
+
* onChange={setValue}
|
|
4141
|
+
* />
|
|
4142
|
+
* ```
|
|
4143
|
+
*/
|
|
4144
|
+
|
|
3969
4145
|
const LabeledTextField = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["forwardRef"]((props, ref) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["createElement"](LabeledTextFieldInternal, _extends({}, props, {
|
|
3970
4146
|
forwardedRef: ref
|
|
3971
4147
|
})));
|
|
@@ -3978,7 +4154,7 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
3978
4154
|
|
|
3979
4155
|
/***/
|
|
3980
4156
|
function (module, exports) {
|
|
3981
|
-
module.exports = __webpack_require__(
|
|
4157
|
+
module.exports = __webpack_require__(28);
|
|
3982
4158
|
/***/
|
|
3983
4159
|
},
|
|
3984
4160
|
/* 17 */
|
|
@@ -4703,22 +4879,21 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
4703
4879
|
]);
|
|
4704
4880
|
|
|
4705
4881
|
/***/ }),
|
|
4706
|
-
/*
|
|
4882
|
+
/* 20 */
|
|
4707
4883
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4708
4884
|
|
|
4709
4885
|
"use strict";
|
|
4710
4886
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _setPrototypeOf; });
|
|
4711
4887
|
function _setPrototypeOf(o, p) {
|
|
4712
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
4888
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
4713
4889
|
o.__proto__ = p;
|
|
4714
4890
|
return o;
|
|
4715
4891
|
};
|
|
4716
|
-
|
|
4717
4892
|
return _setPrototypeOf(o, p);
|
|
4718
4893
|
}
|
|
4719
4894
|
|
|
4720
4895
|
/***/ }),
|
|
4721
|
-
/*
|
|
4896
|
+
/* 21 */
|
|
4722
4897
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4723
4898
|
|
|
4724
4899
|
"use strict";
|
|
@@ -4902,16 +5077,16 @@ var index = react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext || create
|
|
|
4902
5077
|
|
|
4903
5078
|
/* harmony default export */ __webpack_exports__["a"] = (index);
|
|
4904
5079
|
|
|
4905
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(
|
|
5080
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(32)))
|
|
4906
5081
|
|
|
4907
5082
|
/***/ }),
|
|
4908
|
-
/*
|
|
5083
|
+
/* 22 */
|
|
4909
5084
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4910
5085
|
|
|
4911
5086
|
"use strict";
|
|
4912
5087
|
|
|
4913
5088
|
|
|
4914
|
-
var reactIs = __webpack_require__(
|
|
5089
|
+
var reactIs = __webpack_require__(16);
|
|
4915
5090
|
|
|
4916
5091
|
/**
|
|
4917
5092
|
* Copyright 2015, Yahoo! Inc.
|
|
@@ -5015,7 +5190,7 @@ module.exports = hoistNonReactStatics;
|
|
|
5015
5190
|
|
|
5016
5191
|
|
|
5017
5192
|
/***/ }),
|
|
5018
|
-
/*
|
|
5193
|
+
/* 23 */
|
|
5019
5194
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5020
5195
|
|
|
5021
5196
|
"use strict";
|
|
@@ -5097,7 +5272,7 @@ function resolvePathname(to, from) {
|
|
|
5097
5272
|
|
|
5098
5273
|
|
|
5099
5274
|
/***/ }),
|
|
5100
|
-
/*
|
|
5275
|
+
/* 24 */
|
|
5101
5276
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5102
5277
|
|
|
5103
5278
|
"use strict";
|
|
@@ -5140,7 +5315,7 @@ function valueEqual(a, b) {
|
|
|
5140
5315
|
|
|
5141
5316
|
|
|
5142
5317
|
/***/ }),
|
|
5143
|
-
/*
|
|
5318
|
+
/* 25 */
|
|
5144
5319
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5145
5320
|
|
|
5146
5321
|
"use strict";
|
|
@@ -5151,17 +5326,17 @@ const defaultLabels = {
|
|
|
5151
5326
|
};
|
|
5152
5327
|
|
|
5153
5328
|
/***/ }),
|
|
5154
|
-
/*
|
|
5329
|
+
/* 26 */
|
|
5155
5330
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5156
5331
|
|
|
5157
5332
|
"use strict";
|
|
5158
5333
|
__webpack_require__.r(__webpack_exports__);
|
|
5159
|
-
/* harmony import */ var _components_search_field_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
5334
|
+
/* harmony import */ var _components_search_field_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
|
|
5160
5335
|
|
|
5161
5336
|
/* harmony default export */ __webpack_exports__["default"] = (_components_search_field_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]);
|
|
5162
5337
|
|
|
5163
5338
|
/***/ }),
|
|
5164
|
-
/*
|
|
5339
|
+
/* 27 */
|
|
5165
5340
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5166
5341
|
|
|
5167
5342
|
module.exports =
|
|
@@ -5607,7 +5782,7 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
5607
5782
|
"b"]).map(spec => spec.query), Object.values(_util_specs_js__WEBPACK_IMPORTED_MODULE_2__[
|
|
5608
5783
|
/* MEDIA_MODAL_SPEC */
|
|
5609
5784
|
"c"]).map(spec => spec.query));
|
|
5610
|
-
const mediaQueryLists = {}; // eslint-disable-next-line
|
|
5785
|
+
const mediaQueryLists = {}; // eslint-disable-next-line ft-flow/require-exact-type
|
|
5611
5786
|
// If for some reason we're not able to resolve the current media size we
|
|
5612
5787
|
// fall back to this state.
|
|
5613
5788
|
|
|
@@ -5761,6 +5936,32 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
5761
5936
|
|
|
5762
5937
|
} // gen-snapshot-tests.js only understands `export default class ...`
|
|
5763
5938
|
|
|
5939
|
+
/**
|
|
5940
|
+
* ***NOTE: The MediaLayout component is being deprecated. Do not use this!!***
|
|
5941
|
+
*
|
|
5942
|
+
* MediaLayout is a container component that accepts a `styleSheets` object,
|
|
5943
|
+
* whose keys are media sizes. It listens for changes to the current media
|
|
5944
|
+
* size and passes the current `mediaSize`, `mediaSpec`, and `styles` to
|
|
5945
|
+
* `children`, which is a render function taking those three values as an
|
|
5946
|
+
* object.
|
|
5947
|
+
*
|
|
5948
|
+
* Valid keys for the `styleSheets` object are (in order of precedence):
|
|
5949
|
+
* - `small`, `medium`, `large`
|
|
5950
|
+
* - `mdOrSmaller`, `mdOrLarger`
|
|
5951
|
+
* - `all`
|
|
5952
|
+
*
|
|
5953
|
+
* `MediaLayout` will merge style rules from multiple styles that match the
|
|
5954
|
+
* current media query, e.g. `"(min-width: 1024px)"`.
|
|
5955
|
+
*
|
|
5956
|
+
* The `mediaSpec` is an object with one or more of the following keys:
|
|
5957
|
+
* `small`, `medium`, or `large`. Each value contains the following data:
|
|
5958
|
+
* - `query: string` e.g. "(min-width: 1024px)"
|
|
5959
|
+
* - `totalColumns: number`
|
|
5960
|
+
* - `gutterWidth: number`
|
|
5961
|
+
* - `marginWidth: number`
|
|
5962
|
+
* - `maxWidth: number`
|
|
5963
|
+
*/
|
|
5964
|
+
|
|
5764
5965
|
|
|
5765
5966
|
class MediaLayout extends react__WEBPACK_IMPORTED_MODULE_0__["Component"] {
|
|
5766
5967
|
render() {
|
|
@@ -6053,7 +6254,7 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
6053
6254
|
]);
|
|
6054
6255
|
|
|
6055
6256
|
/***/ }),
|
|
6056
|
-
/*
|
|
6257
|
+
/* 28 */
|
|
6057
6258
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6058
6259
|
|
|
6059
6260
|
module.exports =
|
|
@@ -6377,7 +6578,6 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
6377
6578
|
case "checkbox":
|
|
6378
6579
|
case "radio":
|
|
6379
6580
|
case "listbox":
|
|
6380
|
-
case "option":
|
|
6381
6581
|
return {
|
|
6382
6582
|
triggerOnEnter: false,
|
|
6383
6583
|
triggerOnSpace: true
|
|
@@ -6387,6 +6587,7 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
6387
6587
|
case "button":
|
|
6388
6588
|
case "menuitem":
|
|
6389
6589
|
case "menu":
|
|
6590
|
+
case "option":
|
|
6390
6591
|
default:
|
|
6391
6592
|
return {
|
|
6392
6593
|
triggerOnEnter: true,
|
|
@@ -7402,7 +7603,7 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
7402
7603
|
|
|
7403
7604
|
/***/
|
|
7404
7605
|
function (module, exports) {
|
|
7405
|
-
module.exports = __webpack_require__(
|
|
7606
|
+
module.exports = __webpack_require__(29);
|
|
7406
7607
|
/***/
|
|
7407
7608
|
},
|
|
7408
7609
|
/* 6 */
|
|
@@ -7755,7 +7956,7 @@ function (module, __webpack_exports__, __webpack_require__) {
|
|
|
7755
7956
|
]);
|
|
7756
7957
|
|
|
7757
7958
|
/***/ }),
|
|
7758
|
-
/*
|
|
7959
|
+
/* 29 */
|
|
7759
7960
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7760
7961
|
|
|
7761
7962
|
"use strict";
|
|
@@ -8071,7 +8272,7 @@ if (false) { var ariaCurrentType; }
|
|
|
8071
8272
|
|
|
8072
8273
|
|
|
8073
8274
|
/***/ }),
|
|
8074
|
-
/*
|
|
8275
|
+
/* 30 */
|
|
8075
8276
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8076
8277
|
|
|
8077
8278
|
"use strict";
|
|
@@ -8084,7 +8285,7 @@ if (false) { var ariaCurrentType; }
|
|
|
8084
8285
|
|
|
8085
8286
|
|
|
8086
8287
|
|
|
8087
|
-
var ReactPropTypesSecret = __webpack_require__(
|
|
8288
|
+
var ReactPropTypesSecret = __webpack_require__(31);
|
|
8088
8289
|
|
|
8089
8290
|
function emptyFunction() {}
|
|
8090
8291
|
function emptyFunctionWithReset() {}
|
|
@@ -8142,7 +8343,7 @@ module.exports = function() {
|
|
|
8142
8343
|
|
|
8143
8344
|
|
|
8144
8345
|
/***/ }),
|
|
8145
|
-
/*
|
|
8346
|
+
/* 31 */
|
|
8146
8347
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8147
8348
|
|
|
8148
8349
|
"use strict";
|
|
@@ -8161,7 +8362,7 @@ module.exports = ReactPropTypesSecret;
|
|
|
8161
8362
|
|
|
8162
8363
|
|
|
8163
8364
|
/***/ }),
|
|
8164
|
-
/*
|
|
8365
|
+
/* 32 */
|
|
8165
8366
|
/***/ (function(module, exports) {
|
|
8166
8367
|
|
|
8167
8368
|
var g;
|
|
@@ -8187,7 +8388,7 @@ module.exports = g;
|
|
|
8187
8388
|
|
|
8188
8389
|
|
|
8189
8390
|
/***/ }),
|
|
8190
|
-
/*
|
|
8391
|
+
/* 33 */
|
|
8191
8392
|
/***/ (function(module, exports) {
|
|
8192
8393
|
|
|
8193
8394
|
module.exports = Array.isArray || function (arr) {
|
|
@@ -8196,19 +8397,7 @@ module.exports = Array.isArray || function (arr) {
|
|
|
8196
8397
|
|
|
8197
8398
|
|
|
8198
8399
|
/***/ }),
|
|
8199
|
-
/*
|
|
8200
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8201
|
-
|
|
8202
|
-
"use strict";
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
if (true) {
|
|
8206
|
-
module.exports = __webpack_require__(33);
|
|
8207
|
-
} else {}
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
/***/ }),
|
|
8211
|
-
/* 33 */
|
|
8400
|
+
/* 34 */
|
|
8212
8401
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8213
8402
|
|
|
8214
8403
|
"use strict";
|
|
@@ -8229,39 +8418,5 @@ exports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return
|
|
|
8229
8418
|
exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;
|
|
8230
8419
|
|
|
8231
8420
|
|
|
8232
|
-
/***/ }),
|
|
8233
|
-
/* 34 */
|
|
8234
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8235
|
-
|
|
8236
|
-
"use strict";
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
if (true) {
|
|
8240
|
-
module.exports = __webpack_require__(35);
|
|
8241
|
-
} else {}
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
/***/ }),
|
|
8245
|
-
/* 35 */
|
|
8246
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8247
|
-
|
|
8248
|
-
"use strict";
|
|
8249
|
-
/** @license React v16.12.0
|
|
8250
|
-
* react-is.production.min.js
|
|
8251
|
-
*
|
|
8252
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8253
|
-
*
|
|
8254
|
-
* This source code is licensed under the MIT license found in the
|
|
8255
|
-
* LICENSE file in the root directory of this source tree.
|
|
8256
|
-
*/
|
|
8257
|
-
|
|
8258
|
-
Object.defineProperty(exports,"__esModule",{value:!0});
|
|
8259
|
-
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?Symbol.for("react.suspense_list"):
|
|
8260
|
-
60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.fundamental"):60117,w=b?Symbol.for("react.responder"):60118,x=b?Symbol.for("react.scope"):60119;function y(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function z(a){return y(a)===m}
|
|
8261
|
-
exports.typeOf=y;exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;
|
|
8262
|
-
exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===v||a.$$typeof===w||a.$$typeof===x)};exports.isAsyncMode=function(a){return z(a)||y(a)===l};exports.isConcurrentMode=z;exports.isContextConsumer=function(a){return y(a)===k};exports.isContextProvider=function(a){return y(a)===h};
|
|
8263
|
-
exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return y(a)===n};exports.isFragment=function(a){return y(a)===e};exports.isLazy=function(a){return y(a)===t};exports.isMemo=function(a){return y(a)===r};exports.isPortal=function(a){return y(a)===d};exports.isProfiler=function(a){return y(a)===g};exports.isStrictMode=function(a){return y(a)===f};exports.isSuspense=function(a){return y(a)===p};
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
8421
|
/***/ })
|
|
8267
8422
|
/******/ ]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-search-field",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"description": "Search Field components for Wonder Blocks.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"access": "public"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@babel/runtime": "^7.
|
|
18
|
+
"@babel/runtime": "^7.18.6",
|
|
19
19
|
"@khanacademy/wonder-blocks-color": "^1.1.20",
|
|
20
|
-
"@khanacademy/wonder-blocks-core": "^4.3.
|
|
21
|
-
"@khanacademy/wonder-blocks-icon": "^1.2.
|
|
22
|
-
"@khanacademy/wonder-blocks-icon-button": "^3.4.
|
|
20
|
+
"@khanacademy/wonder-blocks-core": "^4.3.2",
|
|
21
|
+
"@khanacademy/wonder-blocks-icon": "^1.2.29",
|
|
22
|
+
"@khanacademy/wonder-blocks-icon-button": "^3.4.9",
|
|
23
23
|
"@khanacademy/wonder-blocks-spacing": "^3.0.5",
|
|
24
|
-
"@khanacademy/wonder-blocks-typography": "^1.1.
|
|
24
|
+
"@khanacademy/wonder-blocks-typography": "^1.1.32"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"aphrodite": "^1.2.5",
|