@synerise/ds-operators 0.10.39 → 0.10.41
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
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.10.41](https://github.com/Synerise/synerise-design/compare/@synerise/ds-operators@0.10.40...@synerise/ds-operators@0.10.41) (2023-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-operators
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.10.40](https://github.com/Synerise/synerise-design/compare/@synerise/ds-operators@0.10.39...@synerise/ds-operators@0.10.40) (2023-10-02)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-operators
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.10.39](https://github.com/Synerise/synerise-design/compare/@synerise/ds-operators@0.10.38...@synerise/ds-operators@0.10.39) (2023-09-26)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-operators
|
package/dist/Operator.types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReactNode, ReactText } from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type OperatorTexts = {
|
|
3
3
|
buttonLabel: string;
|
|
4
4
|
searchPlaceholder: string;
|
|
5
5
|
noResults: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type OperatorsItem = {
|
|
8
8
|
name: string;
|
|
9
9
|
icon: ReactNode;
|
|
10
10
|
group?: string;
|
|
@@ -15,7 +15,7 @@ export declare type OperatorsItem = {
|
|
|
15
15
|
value?: string;
|
|
16
16
|
subGroups?: OperatorsGroup[];
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type OperatorsGroup = {
|
|
19
19
|
defaultGroup?: boolean;
|
|
20
20
|
icon: ReactNode;
|
|
21
21
|
id: ReactText;
|
|
@@ -24,7 +24,7 @@ export declare type OperatorsGroup = {
|
|
|
24
24
|
tooltip?: string;
|
|
25
25
|
subGroups?: OperatorsGroup[];
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type OperatorsProps = {
|
|
28
28
|
value?: OperatorsItem | undefined;
|
|
29
29
|
onActivate?: () => void;
|
|
30
30
|
onDeactivate?: () => void;
|
|
@@ -37,7 +37,7 @@ export declare type OperatorsProps = {
|
|
|
37
37
|
readOnly?: boolean;
|
|
38
38
|
errorText?: ReactNode;
|
|
39
39
|
};
|
|
40
|
-
export
|
|
40
|
+
export type OperatorsDropdownProps = {
|
|
41
41
|
setDropdownVisible: (show: boolean) => void;
|
|
42
42
|
setSelected: (val: OperatorsItem | OperatorsGroup) => void;
|
|
43
43
|
groups: OperatorsGroup[];
|
|
@@ -190,8 +190,7 @@ var OperatorsDropdown = function OperatorsDropdown(_ref) {
|
|
|
190
190
|
style: {
|
|
191
191
|
padding: 8
|
|
192
192
|
}
|
|
193
|
-
}, //
|
|
194
|
-
// @ts-ignore
|
|
193
|
+
}, // @ts-ignore
|
|
195
194
|
currentItems.length ? currentItems : /*#__PURE__*/React.createElement(Result, {
|
|
196
195
|
noSearchResults: true,
|
|
197
196
|
type: "no-results",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-operators",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.41",
|
|
4
4
|
"description": "Operators UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
],
|
|
33
33
|
"types": "dist/index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@synerise/ds-button": "^0.18.
|
|
36
|
-
"@synerise/ds-dropdown": "^0.17.
|
|
37
|
-
"@synerise/ds-icon": "^0.58.
|
|
38
|
-
"@synerise/ds-menu": "^0.
|
|
39
|
-
"@synerise/ds-result": "^0.6.
|
|
40
|
-
"@synerise/ds-scrollbar": "^0.6.
|
|
41
|
-
"@synerise/ds-tabs": "^0.13.
|
|
42
|
-
"@synerise/ds-tooltip": "^0.14.
|
|
43
|
-
"@synerise/ds-utils": "^0.24.
|
|
35
|
+
"@synerise/ds-button": "^0.18.3",
|
|
36
|
+
"@synerise/ds-dropdown": "^0.17.82",
|
|
37
|
+
"@synerise/ds-icon": "^0.58.3",
|
|
38
|
+
"@synerise/ds-menu": "^0.18.0",
|
|
39
|
+
"@synerise/ds-result": "^0.6.32",
|
|
40
|
+
"@synerise/ds-scrollbar": "^0.6.8",
|
|
41
|
+
"@synerise/ds-tabs": "^0.13.80",
|
|
42
|
+
"@synerise/ds-tooltip": "^0.14.5",
|
|
43
|
+
"@synerise/ds-utils": "^0.24.17",
|
|
44
44
|
"react-intl": "3.12.0",
|
|
45
45
|
"uuid": "^8.3.2"
|
|
46
46
|
},
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"@testing-library/react": "10.0.1",
|
|
55
55
|
"@testing-library/user-event": "^10.3.1"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "d944339a738211d8f74b27360481aafd7ef51ddd"
|
|
58
58
|
}
|