@synerise/ds-filter 0.18.26 → 0.18.28
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.js +1 -1
- package/dist/Filter.styles.d.ts +1 -0
- package/dist/Filter.styles.js +12 -8
- package/package.json +8 -7
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.18.28](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.18.27...@synerise/ds-filter@0.18.28) (2024-09-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-filter
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.18.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.18.26...@synerise/ds-filter@0.18.27) (2024-09-18)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **filter:** fixes wrapped text in filter header Matching component ([a4ce7bf](https://github.com/Synerise/synerise-design/commit/a4ce7bf5f5ba54850f500105bfaf3eb606bd9c21))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [0.18.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.18.25...@synerise/ds-filter@0.18.26) (2024-09-17)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-filter
|
package/dist/Filter.js
CHANGED
|
@@ -310,7 +310,7 @@ var Filter = function Filter(_ref) {
|
|
|
310
310
|
readOnly: readOnly
|
|
311
311
|
}))));
|
|
312
312
|
}, [text.dropMeHere, componentProps, expressions.length, readOnly]);
|
|
313
|
-
return /*#__PURE__*/React.createElement(S.FilterWrapper, null, /*#__PURE__*/React.createElement(S.FilterHeader, null, texts != null && (_texts$overwritten = texts.overwritten) != null && _texts$overwritten.filterTitle ? /*#__PURE__*/React.createElement(S.FilterTitle, null, texts.overwritten.filterTitle) : /*#__PURE__*/React.createElement(S.
|
|
313
|
+
return /*#__PURE__*/React.createElement(S.FilterWrapper, null, /*#__PURE__*/React.createElement(S.FilterHeader, null, texts != null && (_texts$overwritten = texts.overwritten) != null && _texts$overwritten.filterTitle ? /*#__PURE__*/React.createElement(S.FilterTitle, null, texts.overwritten.filterTitle) : /*#__PURE__*/React.createElement(S.MatchingAndConditionsWrapper, null, /*#__PURE__*/React.createElement(S.MatchingWrapper, null, matching && /*#__PURE__*/React.createElement(Matching, _extends({}, matching, {
|
|
314
314
|
texts: text.matching,
|
|
315
315
|
readOnly: readOnly
|
|
316
316
|
}))), !!maxConditionsLimit && /*#__PURE__*/React.createElement(S.ConditionsLimit, null, text.conditionsLimit, ":", ' ', /*#__PURE__*/React.createElement(S.ConditionsLimitResults, null, expressions.length, "/", maxConditionsLimit))), renderHeaderRightSide && /*#__PURE__*/React.createElement(S.FilterHeaderRightSide, null, renderHeaderRightSide(expressions))), /*#__PURE__*/React.createElement(React.Fragment, null, expressions.length > 0 ? /*#__PURE__*/React.createElement(ReactSortable, _extends({}, SORTABLE_CONFIG, {
|
package/dist/Filter.styles.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const FilterWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const FilterHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const FilterHeaderRightSide: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const MatchingAndConditionsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
5
|
export declare const MatchingWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
6
|
export declare const ConditionsLimit: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
7
|
export declare const ConditionsLimitResults: import("styled-components").StyledComponent<"span", any, {}, never>;
|
package/dist/Filter.styles.js
CHANGED
|
@@ -12,25 +12,29 @@ export var FilterHeaderRightSide = styled.div.withConfig({
|
|
|
12
12
|
displayName: "Filterstyles__FilterHeaderRightSide",
|
|
13
13
|
componentId: "w5f27p-2"
|
|
14
14
|
})(["flex:1;overflow-x:hidden;"]);
|
|
15
|
-
export var
|
|
16
|
-
displayName: "
|
|
15
|
+
export var MatchingAndConditionsWrapper = styled.div.withConfig({
|
|
16
|
+
displayName: "Filterstyles__MatchingAndConditionsWrapper",
|
|
17
17
|
componentId: "w5f27p-3"
|
|
18
18
|
})(["flex:0 0 auto;margin-right:24px;"]);
|
|
19
|
+
export var MatchingWrapper = styled.div.withConfig({
|
|
20
|
+
displayName: "Filterstyles__MatchingWrapper",
|
|
21
|
+
componentId: "w5f27p-4"
|
|
22
|
+
})(["text-wrap:nowrap;"]);
|
|
19
23
|
export var ConditionsLimit = styled.div.withConfig({
|
|
20
24
|
displayName: "Filterstyles__ConditionsLimit",
|
|
21
|
-
componentId: "w5f27p-
|
|
25
|
+
componentId: "w5f27p-5"
|
|
22
26
|
})(["margin-left:16px;"]);
|
|
23
27
|
export var ConditionsLimitResults = styled.span.withConfig({
|
|
24
28
|
displayName: "Filterstyles__ConditionsLimitResults",
|
|
25
|
-
componentId: "w5f27p-
|
|
29
|
+
componentId: "w5f27p-6"
|
|
26
30
|
})(["font-weight:500;"]);
|
|
27
31
|
export var LogicWrapper = styled.div.withConfig({
|
|
28
32
|
displayName: "Filterstyles__LogicWrapper",
|
|
29
|
-
componentId: "w5f27p-
|
|
33
|
+
componentId: "w5f27p-7"
|
|
30
34
|
})(["margin:22px 0;"]);
|
|
31
35
|
export var ExpressionWrapper = styled.div.withConfig({
|
|
32
36
|
displayName: "Filterstyles__ExpressionWrapper",
|
|
33
|
-
componentId: "w5f27p-
|
|
37
|
+
componentId: "w5f27p-8"
|
|
34
38
|
})(["width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;&.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;&&&&.ghost-element{z-index:100 !important;}", "{visibility:visible;opacity:1;}", "{position:absolute;opacity:0;height:0;}", ",", "{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;}}"], DragIcon, Body, Footer, LogicWrapper, function (props) {
|
|
35
39
|
return props.theme.palette['blue-050'];
|
|
36
40
|
}, function (props) {
|
|
@@ -40,11 +44,11 @@ export var ExpressionWrapper = styled.div.withConfig({
|
|
|
40
44
|
});
|
|
41
45
|
export var AddButtonWrapper = styled.div.withConfig({
|
|
42
46
|
displayName: "Filterstyles__AddButtonWrapper",
|
|
43
|
-
componentId: "w5f27p-
|
|
47
|
+
componentId: "w5f27p-9"
|
|
44
48
|
})(["display:flex;align-items:flex-start;justify-content:flex-start;margin:24px 0 0;width:100%;position:relative;"]);
|
|
45
49
|
export var FilterTitle = styled.div.withConfig({
|
|
46
50
|
displayName: "Filterstyles__FilterTitle",
|
|
47
|
-
componentId: "w5f27p-
|
|
51
|
+
componentId: "w5f27p-10"
|
|
48
52
|
})(["font-size:16px;font-weight:500;line-height:1.25;color:", ";text-align:left;user-select:none;margin-bottom:24px;flex:0 0 auto;&:first-letter{text-transform:uppercase;}"], function (props) {
|
|
49
53
|
return props.theme.palette['grey-800'];
|
|
50
54
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-filter",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.28",
|
|
4
4
|
"description": "Filter UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"prepublish": "npm run build",
|
|
26
26
|
"test": "jest",
|
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
|
28
|
-
"types": "tsc --noEmit"
|
|
28
|
+
"types": "tsc --noEmit",
|
|
29
|
+
"upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
|
|
29
30
|
},
|
|
30
31
|
"sideEffects": [
|
|
31
32
|
"dist/style/*",
|
|
@@ -33,10 +34,10 @@
|
|
|
33
34
|
],
|
|
34
35
|
"types": "dist/index.d.ts",
|
|
35
36
|
"dependencies": {
|
|
36
|
-
"@synerise/ds-button": "^0.21.
|
|
37
|
-
"@synerise/ds-logic": "^0.8.
|
|
38
|
-
"@synerise/ds-step-card": "^0.11.
|
|
39
|
-
"@synerise/ds-utils": "^0.29.
|
|
37
|
+
"@synerise/ds-button": "^0.21.12",
|
|
38
|
+
"@synerise/ds-logic": "^0.8.48",
|
|
39
|
+
"@synerise/ds-step-card": "^0.11.27",
|
|
40
|
+
"@synerise/ds-utils": "^0.29.4",
|
|
40
41
|
"react-intl": "3.12.0",
|
|
41
42
|
"react-sortablejs": "^6.0.0",
|
|
42
43
|
"sortablejs": "1.15.1"
|
|
@@ -47,5 +48,5 @@
|
|
|
47
48
|
"react": ">=16.9.0 <= 17.0.2",
|
|
48
49
|
"styled-components": "5.0.1"
|
|
49
50
|
},
|
|
50
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "fc06bd0f13401a57329fb92985b735de33108dbc"
|
|
51
52
|
}
|