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

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.
@@ -139,7 +139,7 @@ var FilterBar = function FilterBar(_ref) {
139
139
  showArrow: true,
140
140
  children: [/*#__PURE__*/jsxRuntime.jsx(core.Chip, {
141
141
  size: "sm",
142
- className: "!outline-dashed !outline-tint-400",
142
+ className: "outline-dashed! outline-tint-400!",
143
143
  icon: core.CoreIcons.insert,
144
144
  children: t("label.add")
145
145
  }), /*#__PURE__*/jsxRuntime.jsx(FilterEdit.FilterEdit, {
@@ -304,7 +304,7 @@ var FilterForm = function FilterForm(_ref) {
304
304
  onChange: setValues,
305
305
  onSubmit: handleSubmit,
306
306
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
307
- className: "w-[32rem]",
307
+ className: "w-lg",
308
308
  children: [/*#__PURE__*/jsxRuntime.jsxs(core.Row, {
309
309
  children: [/*#__PURE__*/jsxRuntime.jsx(core.Col, {
310
310
  flex: "fill",
@@ -76,7 +76,7 @@ var FilterView = function FilterView(_ref) {
76
76
  text: view
77
77
  })
78
78
  }), /*#__PURE__*/jsxRuntime.jsx("pre", {
79
- className: "overflow-auto bg-base outline text-sm p-2 max-h-[24rem] max-w-[48rem] min-w-[24rem]",
79
+ className: "overflow-auto bg-base outline text-sm p-2 max-h-96 max-w-3xl min-w-[24rem]",
80
80
  children: view
81
81
  }), !filter.required && /*#__PURE__*/jsxRuntime.jsx(core.Button, {
82
82
  size: "sm",
@@ -97,7 +97,7 @@ var QueryForm = function QueryForm(_ref) {
97
97
  className: classNames("block px-2", invalid && "text-danger-600"),
98
98
  children: t("label.query")
99
99
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
100
- className: "h-[24rem] w-[36rem] grid outline place-content-start",
100
+ className: "h-96 w-xl grid outline place-content-start",
101
101
  style: {
102
102
  gridTemplate: '"content" 1fr/1fr'
103
103
  },
@@ -139,7 +139,7 @@ var FilterBar = function FilterBar(_ref) {
139
139
  showArrow: true,
140
140
  children: [/*#__PURE__*/jsx(Chip, {
141
141
  size: "sm",
142
- className: "!outline-dashed !outline-tint-400",
142
+ className: "outline-dashed! outline-tint-400!",
143
143
  icon: CoreIcons.insert,
144
144
  children: t("label.add")
145
145
  }), /*#__PURE__*/jsx(FilterEdit, {
@@ -304,7 +304,7 @@ var FilterForm = function FilterForm(_ref) {
304
304
  onChange: setValues,
305
305
  onSubmit: handleSubmit,
306
306
  children: /*#__PURE__*/jsxs("div", {
307
- className: "w-[32rem]",
307
+ className: "w-lg",
308
308
  children: [/*#__PURE__*/jsxs(Row, {
309
309
  children: [/*#__PURE__*/jsx(Col, {
310
310
  flex: "fill",
@@ -76,7 +76,7 @@ var FilterView = function FilterView(_ref) {
76
76
  text: view
77
77
  })
78
78
  }), /*#__PURE__*/jsx("pre", {
79
- className: "overflow-auto bg-base outline text-sm p-2 max-h-[24rem] max-w-[48rem] min-w-[24rem]",
79
+ className: "overflow-auto bg-base outline text-sm p-2 max-h-96 max-w-3xl min-w-[24rem]",
80
80
  children: view
81
81
  }), !filter.required && /*#__PURE__*/jsx(Button, {
82
82
  size: "sm",
@@ -97,7 +97,7 @@ var QueryForm = function QueryForm(_ref) {
97
97
  className: classNames("block px-2", invalid && "text-danger-600"),
98
98
  children: t("label.query")
99
99
  }), /*#__PURE__*/jsx("div", {
100
- className: "h-[24rem] w-[36rem] grid outline place-content-start",
100
+ className: "h-96 w-xl grid outline place-content-start",
101
101
  style: {
102
102
  gridTemplate: '"content" 1fr/1fr'
103
103
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-fabric/searchbar",
3
- "version": "1.0.0-beta.59",
3
+ "version": "1.0.0-beta.60",
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.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",
37
+ "@react-fabric/core": "^1.0.0-beta.60",
38
+ "@react-fabric/form": "^1.0.0-beta.60",
39
+ "@react-fabric/monaco": "^1.0.0-beta.60",
40
+ "@react-fabric/utilities": "^1.0.0-beta.60",
41
41
  "classnames": "~2.5.1",
42
42
  "react-hook-form": "~7.65.0"
43
43
  },
@@ -48,11 +48,11 @@
48
48
  "react-i18next": "~16.2.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@react-fabric/superdate": "^1.0.0-beta.59"
51
+ "@react-fabric/superdate": "^1.0.0-beta.60"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=18.12.0",
55
55
  "npm": ">=8.19.0"
56
56
  },
57
- "gitHead": "74efd06c9c5ac629b6ef5cdc6d53ecb1c356f2eb"
57
+ "gitHead": "a79f053ee7e13422c06d7d9c35d4f0c2610cdf5d"
58
58
  }
@@ -223,7 +223,7 @@ export const FilterBar = ({
223
223
  <Dropdown showArrow>
224
224
  <Chip
225
225
  size="sm"
226
- className="!outline-dashed !outline-tint-400"
226
+ className="outline-dashed! outline-tint-400!"
227
227
  icon={CoreIcons.insert}
228
228
  >
229
229
  {t("label.add")}
@@ -312,7 +312,7 @@ export const FilterForm = ({
312
312
  onChange={setValues}
313
313
  onSubmit={handleSubmit}
314
314
  >
315
- <div className="w-[32rem]">
315
+ <div className="w-lg">
316
316
  <Row>
317
317
  <Col flex="fill">
318
318
  <Controller name="field">
@@ -26,7 +26,7 @@ import { isNil } from "@react-fabric/utilities";
26
26
  import classNames from "classnames";
27
27
  import { Fragment, useMemo } from "react";
28
28
  import { useTranslation } from "react-i18next";
29
- import { OPERATOR, type FilterBarProps, type FilterObject } from "../types";
29
+ import { type FilterBarProps, type FilterObject } from "../types";
30
30
  import { FilterMenu } from "./FilterMenu";
31
31
 
32
32
  export const FilterTag = ({
@@ -73,7 +73,7 @@ export const FilterView = ({
73
73
  <Copy size="sm" text={view as AnyObject} />
74
74
  </div>
75
75
  )}
76
- <pre className="overflow-auto bg-base outline text-sm p-2 max-h-[24rem] max-w-[48rem] min-w-[24rem]">
76
+ <pre className="overflow-auto bg-base outline text-sm p-2 max-h-96 max-w-3xl min-w-[24rem]">
77
77
  {view}
78
78
  </pre>
79
79
  {!filter.required && (
@@ -120,7 +120,7 @@ export const QueryForm = ({
120
120
  {t("label.query")}
121
121
  </label>
122
122
  <div
123
- className="h-[24rem] w-[36rem] grid outline place-content-start"
123
+ className="h-96 w-xl grid outline place-content-start"
124
124
  style={{
125
125
  gridTemplate: '"content" 1fr/1fr',
126
126
  }}