@react-fabric/searchbar 1.0.0-beta.57 → 1.0.0-beta.59

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.
@@ -66,8 +66,10 @@ var FilterTag = function FilterTag(_ref) {
66
66
  color: color,
67
67
  className: classNames("outline max-w-60", filter.disabled && "opacity-65"),
68
68
  variant: filter.pinned ? "solid" : undefined,
69
- icon: icon,
70
- iconColor: color,
69
+ icon: icon && {
70
+ icon: icon,
71
+ color: color
72
+ },
71
73
  onIconClick: function onIconClick(e) {
72
74
  return [onChange(_objectSpread(_objectSpread({}, filter), {}, {
73
75
  disabled: !filter.disabled
@@ -66,8 +66,10 @@ var FilterTag = function FilterTag(_ref) {
66
66
  color: color,
67
67
  className: classNames("outline max-w-60", filter.disabled && "opacity-65"),
68
68
  variant: filter.pinned ? "solid" : undefined,
69
- icon: icon,
70
- iconColor: color,
69
+ icon: icon && {
70
+ icon: icon,
71
+ color: color
72
+ },
71
73
  onIconClick: function onIconClick(e) {
72
74
  return [onChange(_objectSpread(_objectSpread({}, filter), {}, {
73
75
  disabled: !filter.disabled
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-fabric/searchbar",
3
- "version": "1.0.0-beta.57",
3
+ "version": "1.0.0-beta.59",
4
4
  "description": "RUF: Searchbar with filters package",
5
5
  "author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
6
6
  "license": "MIT",
@@ -33,26 +33,26 @@
33
33
  "watch": "npm-run-all -p watch:rollup watch:dts"
34
34
  },
35
35
  "dependencies": {
36
- "@floating-ui/react": "^0.27.9",
37
- "@react-fabric/core": "^1.0.0-beta.57",
38
- "@react-fabric/form": "^1.0.0-beta.57",
39
- "@react-fabric/monaco": "^1.0.0-beta.57",
40
- "@react-fabric/utilities": "^1.0.0-beta.52",
41
- "classnames": "^2.5.1",
42
- "react-hook-form": "^7.56.4"
36
+ "@floating-ui/react": "~0.27.16",
37
+ "@react-fabric/core": "^1.0.0-beta.59",
38
+ "@react-fabric/form": "^1.0.0-beta.59",
39
+ "@react-fabric/monaco": "^1.0.0-beta.59",
40
+ "@react-fabric/utilities": "^1.0.0-beta.59",
41
+ "classnames": "~2.5.1",
42
+ "react-hook-form": "~7.65.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "i18next": "^25.2.1",
46
- "react": "^19.0.0",
47
- "react-dom": "^19.0.0",
48
- "react-i18next": "^15.5.2"
45
+ "i18next": "~25.6.0",
46
+ "react": "~19.2.0",
47
+ "react-dom": "~19.2.0",
48
+ "react-i18next": "~16.2.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@react-fabric/superdate": "^1.0.0-beta.57"
51
+ "@react-fabric/superdate": "^1.0.0-beta.59"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=18.12.0",
55
55
  "npm": ">=8.19.0"
56
56
  },
57
- "gitHead": "9b596a0a8d6cecaa8479f80c495b64fb42ce739f"
57
+ "gitHead": "74efd06c9c5ac629b6ef5cdc6d53ecb1c356f2eb"
58
58
  }
@@ -95,8 +95,7 @@ export const FilterTag = ({
95
95
  filter.disabled && "opacity-65",
96
96
  )}
97
97
  variant={filter.pinned ? "solid" : undefined}
98
- icon={icon}
99
- iconColor={color}
98
+ icon={icon && { icon, color }}
100
99
  onIconClick={(e) => [
101
100
  onChange({ ...filter, disabled: !filter.disabled }),
102
101
  e.stopPropagation(),