@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/dist/index.js CHANGED
@@ -32222,6 +32222,7 @@ class Dropdown extends React__namespace.Component {
32222
32222
  e.stopPropagation();
32223
32223
  }
32224
32224
  }, /*#__PURE__*/React__namespace.createElement(wonderBlocksDropdown.SingleSelect, {
32225
+ placeholder: "",
32225
32226
  onChange: value => this._handleChange(parseInt(value)),
32226
32227
  selectedValue: String(this.props.selected),
32227
32228
  disabled: this.props.apiOptions.readOnly
@@ -32240,7 +32241,7 @@ _defineProperty(Dropdown, "defaultProps", {
32240
32241
  const optionsTransform = widgetOptions => {
32241
32242
  return {
32242
32243
  placeholder: widgetOptions.placeholder,
32243
- choices: ___default["default"].map(widgetOptions.choices, choice => choice.content)
32244
+ choices: widgetOptions.choices.map(choice => choice.content)
32244
32245
  };
32245
32246
  };
32246
32247