@trackunit/react-components 0.0.167 → 0.0.170
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/index.css +4 -0
- package/index.js +5 -1
- package/package.json +1 -1
package/index.css
CHANGED
package/index.js
CHANGED
|
@@ -255,7 +255,8 @@ const Button = React.forwardRef((_a, ref) => {
|
|
|
255
255
|
ref: ref
|
|
256
256
|
}, rest, {
|
|
257
257
|
children: [loading && jsx(StyledSpinner, {
|
|
258
|
-
centered: true
|
|
258
|
+
centered: true,
|
|
259
|
+
containerClassName: fullWidth ? tws`tu-button__spinner--full-width` : ""
|
|
259
260
|
}), prefix, children, suffix]
|
|
260
261
|
}));
|
|
261
262
|
});
|
|
@@ -3960,6 +3961,9 @@ const useCustomComponents = (componentsProps, disabled, menuIsClosing, refMenuIs
|
|
|
3960
3961
|
},
|
|
3961
3962
|
Control: props => {
|
|
3962
3963
|
return jsx(components.Control, Object.assign({}, props, {
|
|
3964
|
+
innerProps: Object.assign(Object.assign({}, props.innerProps), {
|
|
3965
|
+
onTouchEnd: () => null
|
|
3966
|
+
}),
|
|
3963
3967
|
className: props.isDisabled ? tws`tu-select__control--disabled` : ""
|
|
3964
3968
|
}));
|
|
3965
3969
|
},
|