@react-fabric/searchbar 1.0.0-beta.28 → 1.0.0-beta.29

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.
@@ -72,7 +72,7 @@ var FilterTag = function FilterTag(_ref) {
72
72
  disabled: !filter.disabled
73
73
  })), e.stopPropagation()];
74
74
  },
75
- "data-testid": "filter-tag",
75
+ "data-ref": "filterTag",
76
76
  "data-test-value": filter.id,
77
77
  stopPropagation: true,
78
78
  onRemove: filter.required ? undefined : function () {
@@ -149,7 +149,7 @@ var SearchBar = function SearchBar(_ref) {
149
149
  });
150
150
  },
151
151
  onSelect: updateHistory,
152
- "data-testid": "searchbar-input",
152
+ "data-ref": "searchbarInput",
153
153
  onEnterPressed: function onEnterPressed() {
154
154
  return fireSearch(state.query, state.filters);
155
155
  }
@@ -72,7 +72,7 @@ var FilterTag = function FilterTag(_ref) {
72
72
  disabled: !filter.disabled
73
73
  })), e.stopPropagation()];
74
74
  },
75
- "data-testid": "filter-tag",
75
+ "data-ref": "filterTag",
76
76
  "data-test-value": filter.id,
77
77
  stopPropagation: true,
78
78
  onRemove: filter.required ? undefined : function () {
@@ -149,7 +149,7 @@ var SearchBar = function SearchBar(_ref) {
149
149
  });
150
150
  },
151
151
  onSelect: updateHistory,
152
- "data-testid": "searchbar-input",
152
+ "data-ref": "searchbarInput",
153
153
  onEnterPressed: function onEnterPressed() {
154
154
  return fireSearch(state.query, state.filters);
155
155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-fabric/searchbar",
3
- "version": "1.0.0-beta.28",
3
+ "version": "1.0.0-beta.29",
4
4
  "description": "RUF: Searchbar with filters package",
5
5
  "author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
6
6
  "license": "MIT",
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@floating-ui/react": "^0.26.24",
37
- "@react-fabric/core": "^1.0.0-beta.28",
38
- "@react-fabric/date": "^1.0.0-beta.28",
39
- "@react-fabric/form": "^1.0.0-beta.28",
40
- "@react-fabric/monaco": "^1.0.0-beta.28",
41
- "@react-fabric/utilities": "^1.0.0-beta.28",
37
+ "@react-fabric/core": "^1.0.0-beta.29",
38
+ "@react-fabric/date": "^1.0.0-beta.29",
39
+ "@react-fabric/form": "^1.0.0-beta.29",
40
+ "@react-fabric/monaco": "^1.0.0-beta.29",
41
+ "@react-fabric/utilities": "^1.0.0-beta.29",
42
42
  "classnames": "^2.5.1",
43
43
  "react-hook-form": "^7.52.1"
44
44
  },
@@ -52,5 +52,5 @@
52
52
  "node": ">=18.12.0",
53
53
  "npm": ">=8.19.0"
54
54
  },
55
- "gitHead": "80f9d8a9f96dbd0e7a4287087e23996682bf2c0a"
55
+ "gitHead": "1011b13034b9f8f28c292468aed602217496da4a"
56
56
  }
@@ -90,7 +90,7 @@ export const FilterTag = ({
90
90
  onChange({ ...filter, disabled: !filter.disabled }),
91
91
  e.stopPropagation(),
92
92
  ]}
93
- data-testid="filter-tag"
93
+ data-ref="filterTag"
94
94
  data-test-value={filter.id}
95
95
  stopPropagation
96
96
  onRemove={filter.required ? undefined : () => onRemove()}
@@ -153,7 +153,7 @@ export const SearchBar = ({
153
153
  decorateStart={decorateStart}
154
154
  onInput={() => dispatch({ type: "dirty", dirty: true })}
155
155
  onSelect={updateHistory}
156
- data-testid="searchbar-input"
156
+ data-ref="searchbarInput"
157
157
  onEnterPressed={() => fireSearch(state.query, state.filters)}
158
158
  />
159
159
  {append}