@sproutsocial/racine 11.7.0-input-beta.4 → 11.8.0
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/__flow__/Checkbox/styles.js +75 -75
- package/__flow__/Collapsible/index.js +2 -3
- package/__flow__/EnumIconNames.js +1 -1
- package/__flow__/IconViewBoxes.js +1 -1
- package/__flow__/Image/index.js +2 -10
- package/__flow__/Input/index.js +2 -2
- package/__flow__/Input/index.stories.js +52 -40
- package/__flow__/SegmentedControl/index.js +2 -3
- package/__flow__/TableCell/index.js +2 -9
- package/__flow__/ToggleHint/index.js +2 -9
- package/__flow__/systemProps/color.js +2 -1
- package/__flow__/utils/responsiveProps/index.test.js +2 -10
- package/commonjs/IconViewBoxes.js +2 -0
- package/commonjs/Input/index.js +4 -2
- package/commonjs/include-icons.js +1 -1
- package/dist/iconList.js +1 -1
- package/dist/icons.svg +1 -1
- package/icons/help-alt.svg +3 -0
- package/icons/plug.svg +3 -0
- package/includeIcons.js +1 -1
- package/lib/IconViewBoxes.js +2 -0
- package/lib/Input/index.js +4 -2
- package/lib/include-icons.js +1 -1
- package/package.json +1 -1
package/lib/IconViewBoxes.js
CHANGED
|
@@ -171,6 +171,7 @@ module.exports = {
|
|
|
171
171
|
"heart-outline": "0 0 16 16",
|
|
172
172
|
"heart": "0 0 16 16",
|
|
173
173
|
"heartbeat": "0 0 18 16",
|
|
174
|
+
"help-alt": "0 0 12 16",
|
|
174
175
|
"help": "0 0 16 16",
|
|
175
176
|
"hiking": "0 0 16 16",
|
|
176
177
|
"history": "0 0 16 16",
|
|
@@ -253,6 +254,7 @@ module.exports = {
|
|
|
253
254
|
"pinterest": "0 0 16 16",
|
|
254
255
|
"play-circle": "0 0 16 16",
|
|
255
256
|
"play": "0 0 14 16",
|
|
257
|
+
"plug": "0 0 12 16",
|
|
256
258
|
"plus": "0 0 16 18",
|
|
257
259
|
"positive-sentiment": "0 0 16 16",
|
|
258
260
|
"power-up-outline": "0 0 12 16",
|
package/lib/Input/index.js
CHANGED
|
@@ -84,9 +84,11 @@ var Input = /*#__PURE__*/function (_React$Component) {
|
|
|
84
84
|
var input = _this.inputRef.current;
|
|
85
85
|
|
|
86
86
|
if (input) {
|
|
87
|
+
var _Object$getOwnPropert;
|
|
88
|
+
|
|
87
89
|
// Clear the value via the input prototype, then dispatch an input event in order to trigger handleChange
|
|
88
|
-
var nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value").set;
|
|
89
|
-
nativeInputValueSetter.call(input, "");
|
|
90
|
+
var nativeInputValueSetter = (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")) == null ? void 0 : _Object$getOwnPropert.set;
|
|
91
|
+
nativeInputValueSetter == null ? void 0 : nativeInputValueSetter.call(input, "");
|
|
90
92
|
var inputEvent = new Event("input", {
|
|
91
93
|
bubbles: true
|
|
92
94
|
});
|