@synerise/ds-filter 0.15.8 → 0.15.10
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.
- package/CHANGELOG.md +19 -0
- package/dist/Filter.d.ts +2 -2
- package/dist/Filter.js +2 -3
- package/dist/Filter.styles.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.15.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.15.9...@synerise/ds-filter@0.15.10) (2023-09-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **filter:** dropdowns not closing during dragging ([d60a645](https://github.com/Synerise/synerise-design/commit/d60a645c79c5d82af48a3b2105053774f00a054d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [0.15.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.15.8...@synerise/ds-filter@0.15.9) (2023-09-08)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-filter
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.15.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.15.7...@synerise/ds-filter@0.15.8) (2023-09-05)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-filter
|
package/dist/Filter.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FilterProps } from './Filter.types';
|
|
3
|
-
declare const Filter:
|
|
3
|
+
declare const Filter: ({ maxConditionsLimit, expressions, matching, onChangeOrder, onChangeLogic, onChangeStepMatching, onChangeStepName, onDeleteStep, onDuplicateStep, renderStepFooter, renderStepContent, renderStepHeaderRightSide, addFilterComponent, texts, logicOptions, renderHeaderRightSide, visibilityConfig, readOnly, }: FilterProps) => JSX.Element;
|
|
4
4
|
export default Filter;
|
package/dist/Filter.js
CHANGED
|
@@ -6,8 +6,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
6
6
|
|
|
7
7
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import { useCallback, useMemo, useEffect, useState } from 'react';
|
|
9
|
+
import React, { useCallback, useMemo, useEffect, useState } from 'react';
|
|
11
10
|
import { useIntl } from 'react-intl';
|
|
12
11
|
import { ReactSortable } from 'react-sortablejs';
|
|
13
12
|
import Logic from '@synerise/ds-logic';
|
|
@@ -207,7 +206,7 @@ var Filter = function Filter(_ref) {
|
|
|
207
206
|
style: !readOnly && isActive(expression) ? {
|
|
208
207
|
zIndex: 10001
|
|
209
208
|
} : undefined,
|
|
210
|
-
|
|
209
|
+
onMouseDown: function onMouseDown() {
|
|
211
210
|
return setActiveExpressionId(expression.id);
|
|
212
211
|
}
|
|
213
212
|
}, /*#__PURE__*/React.createElement(Component, _extends({}, expression.data, componentProps(expression, index), {
|
package/dist/Filter.styles.js
CHANGED
|
@@ -31,7 +31,7 @@ export var LogicWrapper = styled.div.withConfig({
|
|
|
31
31
|
export var ExpressionWrapper = styled.div.withConfig({
|
|
32
32
|
displayName: "Filterstyles__ExpressionWrapper",
|
|
33
33
|
componentId: "w5f27p-7"
|
|
34
|
-
})(["width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:", ";&.sortable-chosen{cursor:grabbing;width:100%;opacity:1 !important;height:50px;display:flex;align-items:center;justify-content:center;padding:0;box-shadow:0 16px 32px 0 #23293619;", "{visibility:visible;opacity:1;}", "{
|
|
34
|
+
})(["width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:", ";&.sortable-chosen{cursor:grabbing;width:100%;opacity:1 !important;height:50px;display:flex;align-items:center;justify-content:center;padding:0;box-shadow:0 16px 32px 0 #23293619;", "{visibility:visible;opacity:1;}", "{position:absolute;opacity:0;height:0;}", "{display:none;}", "{display:none;}}&.ghost-element{cursor:grabbing;width:100%;background-color:", ";border-left:2px solid ", ";border-radius:3px;display:flex;align-items:center;justify-content:center;padding:0;margin-bottom:24px;height:68px;box-shadow:none;position:relative;&:before{content:attr(data-dropLabel);text-align:center;position:relative;color:", ";}*{position:absolute;opacity:0;height:0;}}"], function (props) {
|
|
35
35
|
return 1000 - props.index;
|
|
36
36
|
}, DragIcon, Body, Footer, LogicWrapper, function (props) {
|
|
37
37
|
return props.theme.palette['blue-050'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-filter",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.10",
|
|
4
4
|
"description": "Filter UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@synerise/ds-button": "^0.18.1",
|
|
36
|
-
"@synerise/ds-logic": "^0.8.
|
|
37
|
-
"@synerise/ds-step-card": "^0.9.
|
|
36
|
+
"@synerise/ds-logic": "^0.8.8",
|
|
37
|
+
"@synerise/ds-step-card": "^0.9.9",
|
|
38
38
|
"@synerise/ds-utils": "^0.24.15",
|
|
39
39
|
"react-intl": "3.12.0",
|
|
40
40
|
"react-sortablejs": "^6.0.0"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"@testing-library/dom": "^7.0.2",
|
|
50
50
|
"@testing-library/jest-dom": "5.1.1"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "7df57233258ec34b90c3c92dbe1696788abd6ec6"
|
|
53
53
|
}
|