@adiba-banking-cloud/backoffice 0.0.93 → 0.0.95

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.
@@ -12223,7 +12223,7 @@ const SearchPanel = _ref3 => {
12223
12223
  })
12224
12224
  }, /*#__PURE__*/React.createElement(core.Group, {
12225
12225
  gap: 'xs'
12226
- }, /*#__PURE__*/React.createElement(core.TextInput, _extends({
12226
+ }, /*#__PURE__*/React.createElement(core.TextInput, {
12227
12227
  fw: 300,
12228
12228
  name: "search",
12229
12229
  size: "md",
@@ -12235,10 +12235,12 @@ const SearchPanel = _ref3 => {
12235
12235
  rightSection: typeof filterFn == 'function' ? /*#__PURE__*/React.createElement(core.ActionIcon, {
12236
12236
  variant: "transparent",
12237
12237
  onClick: filterFn
12238
- }, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null)
12239
- }, form$1.getInputProps("search"), {
12240
- onChange: e => setSearch(e.currentTarget.value)
12241
- })), /*#__PURE__*/React.createElement(core.Button, {
12238
+ }, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null),
12239
+ onChange: e => {
12240
+ setSearch(e.currentTarget.value);
12241
+ form$1.setFieldValue("search", e.currentTarget.value);
12242
+ }
12243
+ }), /*#__PURE__*/React.createElement(core.Button, {
12242
12244
  variant: "light",
12243
12245
  size: "md",
12244
12246
  fw: 300,
@@ -12202,7 +12202,7 @@ const SearchPanel = _ref3 => {
12202
12202
  })
12203
12203
  }, /*#__PURE__*/React.createElement(Group, {
12204
12204
  gap: 'xs'
12205
- }, /*#__PURE__*/React.createElement(TextInput, _extends({
12205
+ }, /*#__PURE__*/React.createElement(TextInput, {
12206
12206
  fw: 300,
12207
12207
  name: "search",
12208
12208
  size: "md",
@@ -12214,10 +12214,12 @@ const SearchPanel = _ref3 => {
12214
12214
  rightSection: typeof filterFn == 'function' ? /*#__PURE__*/React.createElement(ActionIcon, {
12215
12215
  variant: "transparent",
12216
12216
  onClick: filterFn
12217
- }, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null)
12218
- }, form.getInputProps("search"), {
12219
- onChange: e => setSearch(e.currentTarget.value)
12220
- })), /*#__PURE__*/React.createElement(Button, {
12217
+ }, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null),
12218
+ onChange: e => {
12219
+ setSearch(e.currentTarget.value);
12220
+ form.setFieldValue("search", e.currentTarget.value);
12221
+ }
12222
+ }), /*#__PURE__*/React.createElement(Button, {
12221
12223
  variant: "light",
12222
12224
  size: "md",
12223
12225
  fw: 300,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adiba-banking-cloud/backoffice",
3
3
  "author": "TUROG Technologies",
4
- "version": "0.0.93",
4
+ "version": "0.0.95",
5
5
  "description": "An ADIBA component library for backoffice and dashboard applications",
6
6
  "license": "ISC",
7
7
  "main": "build/index.cjs.js",