@khanacademy/perseus 0.2.5 → 0.2.6

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
@@ -1,5 +1,11 @@
1
1
  # @khanacademy/perseus
2
2
 
3
+ ## 0.2.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 5d67bb03: Add missing deps to peer/dev deps in package.json files
8
+
3
9
  ## 0.2.5
4
10
 
5
11
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -32318,6 +32318,7 @@ class Dropdown extends React.Component {
32318
32318
  e.stopPropagation();
32319
32319
  }
32320
32320
  }, /*#__PURE__*/React.createElement(SingleSelect, {
32321
+ placeholder: "",
32321
32322
  onChange: value => this._handleChange(parseInt(value)),
32322
32323
  selectedValue: String(this.props.selected),
32323
32324
  disabled: this.props.apiOptions.readOnly
@@ -32336,7 +32337,7 @@ _defineProperty(Dropdown, "defaultProps", {
32336
32337
  var optionsTransform = widgetOptions => {
32337
32338
  return {
32338
32339
  placeholder: widgetOptions.placeholder,
32339
- choices: _.map(widgetOptions.choices, choice => choice.content)
32340
+ choices: widgetOptions.choices.map(choice => choice.content)
32340
32341
  };
32341
32342
  };
32342
32343