@synerise/ds-filter 0.15.11 → 0.15.12
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 +8 -0
- package/dist/Filter.d.ts +0 -1
- package/dist/Filter.types.d.ts +5 -5
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.15.11...@synerise/ds-filter@0.15.12) (2023-10-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-filter
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.15.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-filter@0.15.10...@synerise/ds-filter@0.15.11) (2023-09-26)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-filter
|
package/dist/Filter.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FilterProps } from './Filter.types';
|
|
3
2
|
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
3
|
export default Filter;
|
package/dist/Filter.types.d.ts
CHANGED
|
@@ -2,23 +2,23 @@ import * as React from 'react';
|
|
|
2
2
|
import { LogicOperator, LogicOperatorValue, LogicProps } from '@synerise/ds-logic/src/Logic.types';
|
|
3
3
|
import { StepCardProps } from '@synerise/ds-step-card/src/StepCard.types';
|
|
4
4
|
import { MatchingProps, MatchingTexts } from '@synerise/ds-logic/src/Matching/Matching.types';
|
|
5
|
-
export
|
|
5
|
+
export type LogicType = {
|
|
6
6
|
type: 'LOGIC';
|
|
7
7
|
id: string;
|
|
8
8
|
data: Partial<LogicProps>;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type StepType = {
|
|
11
11
|
type: 'STEP';
|
|
12
12
|
id: string;
|
|
13
13
|
data: Partial<StepCardProps>;
|
|
14
14
|
logic?: LogicType;
|
|
15
15
|
expressionType?: 'attribute' | 'event';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
17
|
+
export type Expression = LogicType | StepType;
|
|
18
|
+
export type addFilterComponentProps = {
|
|
19
19
|
isLimitExceeded: boolean;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type FilterProps = {
|
|
22
22
|
maxConditionsLimit?: number;
|
|
23
23
|
expressions: Expression[];
|
|
24
24
|
matching?: MatchingProps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-filter",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.12",
|
|
4
4
|
"description": "Filter UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
],
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-button": "^0.18.
|
|
36
|
-
"@synerise/ds-logic": "^0.8.
|
|
37
|
-
"@synerise/ds-step-card": "^0.9.
|
|
38
|
-
"@synerise/ds-utils": "^0.24.
|
|
35
|
+
"@synerise/ds-button": "^0.18.3",
|
|
36
|
+
"@synerise/ds-logic": "^0.8.10",
|
|
37
|
+
"@synerise/ds-step-card": "^0.9.11",
|
|
38
|
+
"@synerise/ds-utils": "^0.24.17",
|
|
39
39
|
"react-intl": "3.12.0",
|
|
40
40
|
"react-sortablejs": "^6.0.0"
|
|
41
41
|
},
|
|
@@ -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": "1c1adf344f447e404a1d6320ad1d3f8486f29f67"
|
|
53
53
|
}
|