@synerise/ds-operators 0.10.39 → 0.10.40

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,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.10.40](https://github.com/Synerise/synerise-design/compare/@synerise/ds-operators@0.10.39...@synerise/ds-operators@0.10.40) (2023-10-02)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-operators
9
+
10
+
11
+
12
+
13
+
6
14
  ## [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
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-operators
@@ -1,10 +1,10 @@
1
1
  import { ReactNode, ReactText } from 'react';
2
- export declare type OperatorTexts = {
2
+ export type OperatorTexts = {
3
3
  buttonLabel: string;
4
4
  searchPlaceholder: string;
5
5
  noResults: string;
6
6
  };
7
- export declare type OperatorsItem = {
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 declare type OperatorsGroup = {
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 declare type OperatorsProps = {
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 declare type OperatorsDropdownProps = {
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
- }, // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
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.39",
3
+ "version": "0.10.40",
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.2",
36
- "@synerise/ds-dropdown": "^0.17.80",
37
- "@synerise/ds-icon": "^0.58.2",
38
- "@synerise/ds-menu": "^0.17.19",
39
- "@synerise/ds-result": "^0.6.31",
40
- "@synerise/ds-scrollbar": "^0.6.7",
41
- "@synerise/ds-tabs": "^0.13.78",
42
- "@synerise/ds-tooltip": "^0.14.4",
43
- "@synerise/ds-utils": "^0.24.16",
35
+ "@synerise/ds-button": "^0.18.3",
36
+ "@synerise/ds-dropdown": "^0.17.81",
37
+ "@synerise/ds-icon": "^0.58.3",
38
+ "@synerise/ds-menu": "^0.17.20",
39
+ "@synerise/ds-result": "^0.6.32",
40
+ "@synerise/ds-scrollbar": "^0.6.8",
41
+ "@synerise/ds-tabs": "^0.13.79",
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": "f1f520c4c5ef9f90bacb5d5e0b2e778ceb8fdf79"
57
+ "gitHead": "1c1adf344f447e404a1d6320ad1d3f8486f29f67"
58
58
  }