@react-fabric/searchbar 1.0.0-beta.56 → 1.0.0-beta.58

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.
@@ -322,7 +322,7 @@ var FilterForm = function FilterForm(_ref) {
322
322
  })
323
323
  })
324
324
  }), /*#__PURE__*/jsxRuntime.jsxs(core.Col, {
325
- flex: "auto",
325
+ flex: "content",
326
326
  className: "text-center",
327
327
  children: [/*#__PURE__*/jsxRuntime.jsx("label", {
328
328
  className: "block py-0.5 text-sm",
@@ -334,7 +334,7 @@ var FilterForm = function FilterForm(_ref) {
334
334
  })
335
335
  })]
336
336
  }), /*#__PURE__*/jsxRuntime.jsx(core.Col, {
337
- flex: "auto",
337
+ flex: "content",
338
338
  className: "basis-28",
339
339
  children: /*#__PURE__*/jsxRuntime.jsx(form.Controller, {
340
340
  name: "operator",
@@ -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
@@ -322,7 +322,7 @@ var FilterForm = function FilterForm(_ref) {
322
322
  })
323
323
  })
324
324
  }), /*#__PURE__*/jsxs(Col, {
325
- flex: "auto",
325
+ flex: "content",
326
326
  className: "text-center",
327
327
  children: [/*#__PURE__*/jsx("label", {
328
328
  className: "block py-0.5 text-sm",
@@ -334,7 +334,7 @@ var FilterForm = function FilterForm(_ref) {
334
334
  })
335
335
  })]
336
336
  }), /*#__PURE__*/jsx(Col, {
337
- flex: "auto",
337
+ flex: "content",
338
338
  className: "basis-28",
339
339
  children: /*#__PURE__*/jsx(Controller, {
340
340
  name: "operator",
@@ -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.56",
3
+ "version": "1.0.0-beta.58",
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.55",
38
- "@react-fabric/form": "^1.0.0-beta.56",
39
- "@react-fabric/monaco": "^1.0.0-beta.55",
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.58",
38
+ "@react-fabric/form": "^1.0.0-beta.58",
39
+ "@react-fabric/monaco": "^1.0.0-beta.58",
40
+ "@react-fabric/utilities": "^1.0.0-beta.58",
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.56"
51
+ "@react-fabric/superdate": "^1.0.0-beta.58"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=18.12.0",
55
55
  "npm": ">=8.19.0"
56
56
  },
57
- "gitHead": "fd9dd6cfd1a58efb5c4bfb6446928a78cb4f4266"
57
+ "gitHead": "7e66f8c498e37a40e410ecafff2ea6b31505dc1a"
58
58
  }
@@ -328,13 +328,13 @@ export const FilterForm = ({
328
328
  />
329
329
  </Controller>
330
330
  </Col>
331
- <Col flex="auto" className="text-center">
331
+ <Col flex="content" className="text-center">
332
332
  <label className="block py-0.5 text-sm">{t("label.exclude")}</label>
333
333
  <Controller name="negate">
334
334
  <Switch color="danger" />
335
335
  </Controller>
336
336
  </Col>
337
- <Col flex="auto" className="basis-28">
337
+ <Col flex="content" className="basis-28">
338
338
  <Controller name="operator">
339
339
  <Select
340
340
  label={t("label.operator")}
@@ -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(),