baseui 0.0.0-next-0f35a90 → 0.0.0-next-887e00c

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.
@@ -124,11 +124,6 @@ class Select extends React.Component {
124
124
  this.handleClick(event);
125
125
  });
126
126
 
127
- _defineProperty(this, "handleTouchEndClearValue", event => {
128
- if (this.dragging) return;
129
- this.clearValue(event);
130
- });
131
-
132
127
  _defineProperty(this, "handleClick", event => {
133
128
  if (this.props.disabled || !isClick(event) && !isLeftClick(event)) {
134
129
  return;
@@ -800,9 +795,6 @@ class Select extends React.Component {
800
795
  title: ariaLabel,
801
796
  "aria-label": ariaLabel,
802
797
  onClick: this.clearValue,
803
- onTouchEnd: this.handleTouchEndClearValue,
804
- onTouchMove: this.handleTouchMove,
805
- onTouchStart: this.handleTouchStart,
806
798
  role: "button",
807
799
  overrides: {
808
800
  Svg: {
@@ -183,12 +183,6 @@ var Select = /*#__PURE__*/function (_React$Component) {
183
183
  _this.handleClick(event);
184
184
  });
185
185
 
186
- _defineProperty(_assertThisInitialized(_this), "handleTouchEndClearValue", function (event) {
187
- if (_this.dragging) return;
188
-
189
- _this.clearValue(event);
190
- });
191
-
192
186
  _defineProperty(_assertThisInitialized(_this), "handleClick", function (event) {
193
187
  if (_this.props.disabled || !isClick(event) && !isLeftClick(event)) {
194
188
  return;
@@ -929,9 +923,6 @@ var Select = /*#__PURE__*/function (_React$Component) {
929
923
  title: ariaLabel,
930
924
  "aria-label": ariaLabel,
931
925
  onClick: this.clearValue,
932
- onTouchEnd: this.handleTouchEndClearValue,
933
- onTouchMove: this.handleTouchMove,
934
- onTouchStart: this.handleTouchStart,
935
926
  role: "button",
936
927
  overrides: {
937
928
  Svg: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baseui",
3
- "version": "0.0.0-next-0f35a90",
3
+ "version": "0.0.0-next-887e00c",
4
4
  "description": "A React Component library implementing the Base design language",
5
5
  "keywords": [
6
6
  "react",
@@ -204,12 +204,6 @@ var Select = /*#__PURE__*/function (_React$Component) {
204
204
  _this.handleClick(event);
205
205
  });
206
206
 
207
- _defineProperty(_assertThisInitialized(_this), "handleTouchEndClearValue", function (event) {
208
- if (_this.dragging) return;
209
-
210
- _this.clearValue(event);
211
- });
212
-
213
207
  _defineProperty(_assertThisInitialized(_this), "handleClick", function (event) {
214
208
  if (_this.props.disabled || !isClick(event) && !isLeftClick(event)) {
215
209
  return;
@@ -950,9 +944,6 @@ var Select = /*#__PURE__*/function (_React$Component) {
950
944
  title: ariaLabel,
951
945
  "aria-label": ariaLabel,
952
946
  onClick: this.clearValue,
953
- onTouchEnd: this.handleTouchEndClearValue,
954
- onTouchMove: this.handleTouchMove,
955
- onTouchStart: this.handleTouchStart,
956
947
  role: "button",
957
948
  overrides: {
958
949
  Svg: {
@@ -188,10 +188,6 @@ class Select extends React.Component<PropsT, SelectStateT> {
188
188
  if (this.dragging) return;
189
189
  this.handleClick(event);
190
190
  };
191
- handleTouchEndClearValue = (event: TouchEvent) => {
192
- if (this.dragging) return;
193
- this.clearValue(event);
194
- };
195
191
 
196
192
  handleClick = (event: MouseEvent | TouchEvent) => {
197
193
  if (this.props.disabled || (!isClick(event) && !isLeftClick(event))) {
@@ -796,9 +792,6 @@ class Select extends React.Component<PropsT, SelectStateT> {
796
792
  title={ariaLabel}
797
793
  aria-label={ariaLabel}
798
794
  onClick={this.clearValue}
799
- onTouchEnd={this.handleTouchEndClearValue}
800
- onTouchMove={this.handleTouchMove}
801
- onTouchStart={this.handleTouchStart}
802
795
  role="button"
803
796
  overrides={{
804
797
  Svg: {