@react-fabric/searchbar 1.0.0-beta.43 → 1.0.0-beta.45

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.
@@ -63,7 +63,7 @@ var FilterTag = function FilterTag(_ref) {
63
63
  children: [/*#__PURE__*/jsxRuntime.jsx(core.Chip, {
64
64
  size: "sm",
65
65
  color: color,
66
- className: "outline outline-1 max-w-60",
66
+ className: classNames("outline max-w-60", filter.disabled && "opacity-65"),
67
67
  variant: filter.pinned ? "solid" : undefined,
68
68
  icon: icon,
69
69
  iconColor: color,
@@ -63,7 +63,7 @@ var FilterTag = function FilterTag(_ref) {
63
63
  children: [/*#__PURE__*/jsx(Chip, {
64
64
  size: "sm",
65
65
  color: color,
66
- className: "outline outline-1 max-w-60",
66
+ className: classNames("outline max-w-60", filter.disabled && "opacity-65"),
67
67
  variant: filter.pinned ? "solid" : undefined,
68
68
  icon: icon,
69
69
  iconColor: color,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-fabric/searchbar",
3
- "version": "1.0.0-beta.43",
3
+ "version": "1.0.0-beta.45",
4
4
  "description": "RUF: Searchbar with filters package",
5
5
  "author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
6
6
  "license": "MIT",
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@floating-ui/react": "^0.26.24",
37
- "@react-fabric/core": "^1.0.0-beta.43",
38
- "@react-fabric/form": "^1.0.0-beta.43",
39
- "@react-fabric/monaco": "^1.0.0-beta.43",
40
- "@react-fabric/utilities": "^1.0.0-beta.43",
37
+ "@react-fabric/core": "^1.0.0-beta.45",
38
+ "@react-fabric/form": "^1.0.0-beta.45",
39
+ "@react-fabric/monaco": "^1.0.0-beta.45",
40
+ "@react-fabric/utilities": "^1.0.0-beta.45",
41
41
  "classnames": "^2.5.1",
42
42
  "react-hook-form": "^7.52.1"
43
43
  },
@@ -48,11 +48,11 @@
48
48
  "react-i18next": "^15.0.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@react-fabric/superdate": "^1.0.0-beta.43"
51
+ "@react-fabric/superdate": "^1.0.0-beta.45"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=18.12.0",
55
55
  "npm": ">=8.19.0"
56
56
  },
57
- "gitHead": "92cd2fc5c71e3f0e00a9cff83ff924c51d7adb57"
57
+ "gitHead": "37d7cbcd99da40553f4ac775c3332d5281565936"
58
58
  }
@@ -82,7 +82,10 @@ export const FilterTag = ({
82
82
  <Chip
83
83
  size="sm"
84
84
  color={color}
85
- className="outline outline-1 max-w-60"
85
+ className={classNames(
86
+ "outline max-w-60",
87
+ filter.disabled && "opacity-65",
88
+ )}
86
89
  variant={filter.pinned ? "solid" : undefined}
87
90
  icon={icon}
88
91
  iconColor={color}