@crystaldesign/diva-backoffice 24.5.0-beta.19 → 24.5.0-beta.20

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.
@@ -22,7 +22,7 @@ import { toJS, makeAutoObservable, observable, action, makeObservable } from 'mo
22
22
  import merge from 'deepmerge';
23
23
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
24
24
  import FileExcelOutlined from '@ant-design/icons/FileExcelOutlined';
25
- import { DownloadOutlined, FullscreenOutlined, FileUnknownOutlined, PlusCircleOutlined as PlusCircleOutlined$1, MinusCircleOutlined, HomeOutlined as HomeOutlined$1, InboxOutlined, PlusSquareOutlined, DeleteOutlined as DeleteOutlined$1 } from '@ant-design/icons';
25
+ import { DownloadOutlined, FullscreenOutlined, FileUnknownOutlined, CloseOutlined as CloseOutlined$1, PlusCircleOutlined as PlusCircleOutlined$1, MinusCircleOutlined, HomeOutlined as HomeOutlined$1, InboxOutlined, PlusSquareOutlined, DeleteOutlined as DeleteOutlined$1 } from '@ant-design/icons';
26
26
  import AssetEditor from '@crystaldesign/media-upload';
27
27
  import debounce from 'lodash/debounce';
28
28
  import { isArray } from 'lodash';
@@ -19184,13 +19184,16 @@ var multiSelectProps = function multiSelectProps(title, filter) {
19184
19184
  var selKeys = [].concat(filterValues, ['in']);
19185
19185
  setSelectedKeys(selKeys.length ? selKeys : []);
19186
19186
  };
19187
- return /*#__PURE__*/jsx("div", {
19187
+ return /*#__PURE__*/jsxs("div", {
19188
19188
  style: {
19189
- padding: 8
19189
+ padding: 8,
19190
+ display: 'flex',
19191
+ gap: 5,
19192
+ alignItems: 'flex-start'
19190
19193
  },
19191
- children: /*#__PURE__*/jsxs(Space, {
19194
+ children: [/*#__PURE__*/jsx(Space, {
19192
19195
  direction: "vertical",
19193
- children: [/*#__PURE__*/jsx(Select$2, {
19196
+ children: /*#__PURE__*/jsx(Select$2, {
19194
19197
  mode: "multiple",
19195
19198
  allowClear: true,
19196
19199
  value: displayselectedValues,
@@ -19200,32 +19203,33 @@ var multiSelectProps = function multiSelectProps(title, filter) {
19200
19203
  defaultValue: [],
19201
19204
  onChange: handleChange,
19202
19205
  options: options
19203
- }), /*#__PURE__*/jsxs(Space, {
19204
- children: [/*#__PURE__*/jsx(Button, {
19205
- type: "primary",
19206
- onClick: function onClick() {
19207
- return confirm();
19208
- },
19209
- icon: /*#__PURE__*/jsx(SearchOutlined, {}),
19210
- size: "small",
19211
- style: {
19212
- width: 90
19213
- },
19214
- children: "Filter"
19215
- }), /*#__PURE__*/jsx(Button, {
19216
- onClick: function onClick() {
19217
- setDisplaySelectedvalues([]);
19218
- clearFilters === null || clearFilters === void 0 || clearFilters();
19219
- confirm();
19220
- },
19221
- size: "small",
19222
- style: {
19223
- width: 90
19224
- },
19225
- children: "Reset"
19226
- })]
19206
+ })
19207
+ }), /*#__PURE__*/jsxs(Space, {
19208
+ children: [/*#__PURE__*/jsx(Button, {
19209
+ type: "primary",
19210
+ onClick: function onClick() {
19211
+ return confirm();
19212
+ },
19213
+ icon: /*#__PURE__*/jsx(SearchOutlined, {}),
19214
+ size: "small",
19215
+ style: {
19216
+ width: 30,
19217
+ height: 30
19218
+ }
19219
+ }), /*#__PURE__*/jsx(Button, {
19220
+ onClick: function onClick() {
19221
+ setDisplaySelectedvalues([]);
19222
+ clearFilters === null || clearFilters === void 0 || clearFilters();
19223
+ confirm();
19224
+ },
19225
+ size: "small",
19226
+ icon: /*#__PURE__*/jsx(CloseOutlined$1, {}),
19227
+ style: {
19228
+ width: 30,
19229
+ height: 30
19230
+ }
19227
19231
  })]
19228
- })
19232
+ })]
19229
19233
  });
19230
19234
  }
19231
19235
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getColumnFilterProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/utils/getColumnFilterProps.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,CAAC,OAAO,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,MAAM,MAwBjD"}
1
+ {"version":3,"file":"getColumnFilterProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/utils/getColumnFilterProps.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,MAAM,CAAC,OAAO,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,MAAM,MAwBjD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "24.5.0-beta.19",
3
+ "version": "24.5.0-beta.20",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^5.15.0",
@@ -50,5 +50,5 @@
50
50
  },
51
51
  "module": "build/esm/index.js",
52
52
  "types": "./build/types/backoffice/src/index.d.ts",
53
- "gitHead": "cde994bde5462edab7d2a7b2f70bdbf4324524d5"
53
+ "gitHead": "27eeab2ab300491097dd16f9b0252030a4a8b2ff"
54
54
  }