@synerise/ds-collector 0.6.22 → 0.6.24

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.6.24](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@0.6.23...@synerise/ds-collector@0.6.24) (2023-10-06)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-collector
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.6.23](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@0.6.22...@synerise/ds-collector@0.6.23) (2023-10-02)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-collector
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.6.22](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@0.6.21...@synerise/ds-collector@0.6.22) (2023-09-26)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-collector
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CollectorProps } from './Collector.types';
3
2
  declare const Collector: ({ allowCustomValue, allowMultipleValues, addButtonProps, cancelButtonProps, keepSearchQueryOnSelect, error, className, description, enableCustomFilteringSuggestions, selected, suggestions, showNavigationHints, onConfirm, onCancel, label, errorText, disabled, fixedHeight, texts, lookupConfig, onItemAdd, onItemDeselect, onItemSelect, dropdownContent, disableButtonPanel, disableSearch, dropdownItemHeight, searchValue, renderItem, onSearchValueChange, }: CollectorProps) => JSX.Element;
4
3
  export default Collector;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps } from '@synerise/ds-button';
3
3
  import { ScrollbarAdditionalProps } from '@synerise/ds-scrollbar';
4
- export declare type CollectorProps = {
4
+ export type CollectorProps = {
5
5
  addButtonProps?: Partial<ButtonProps>;
6
6
  allowCustomValue?: boolean;
7
7
  allowMultipleValues?: boolean;
@@ -34,17 +34,17 @@ export declare type CollectorProps = {
34
34
  enableCustomFilteringSuggestions?: boolean;
35
35
  scrollbarProps?: ScrollbarAdditionalProps;
36
36
  };
37
- export declare type CollectorTexts = {
37
+ export type CollectorTexts = {
38
38
  add: string | React.ReactNode;
39
39
  cancel: string | React.ReactNode;
40
40
  placeholder: string;
41
41
  toNavigate: string | React.ReactNode;
42
42
  toSelect: string | React.ReactNode;
43
43
  };
44
- export declare type LookupConfig = {
44
+ export type LookupConfig = {
45
45
  filter: string;
46
46
  display: string;
47
47
  };
48
- export declare type CollectorValue = {
48
+ export type CollectorValue = {
49
49
  [key: string]: any;
50
50
  };
@@ -1,5 +1,5 @@
1
1
  import { CollectorTexts, CollectorProps } from '../../Collector.types';
2
- export declare type ButtonPanelProps = {
2
+ export type ButtonPanelProps = {
3
3
  onCancel: () => void;
4
4
  onConfirm: () => void;
5
5
  disabled: boolean;
@@ -1,4 +1,4 @@
1
1
  import { CollectorTexts } from '../../Collector.types';
2
- export declare type NavigationHintProps = {
2
+ export type NavigationHintProps = {
3
3
  texts: CollectorTexts;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ScrollbarAdditionalProps } from '@synerise/ds-scrollbar';
3
3
  import { CollectorTexts, CollectorValue } from '../../Collector.types';
4
- export declare type OptionsDropdownProps = {
4
+ export type OptionsDropdownProps = {
5
5
  showAddButton?: boolean;
6
6
  options: CollectorValue[];
7
7
  visible?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { CollectorValue } from '../../Collector.types';
2
- export declare type ValuesProps = {
2
+ export type ValuesProps = {
3
3
  values: CollectorValue[];
4
4
  onDeselect?: (value: CollectorValue) => void;
5
5
  focused: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-collector",
3
- "version": "0.6.22",
3
+ "version": "0.6.24",
4
4
  "description": "Collector 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-divider": "^0.5.43",
37
- "@synerise/ds-icon": "^0.58.2",
38
- "@synerise/ds-input": "^0.19.2",
39
- "@synerise/ds-menu": "^0.17.19",
40
- "@synerise/ds-scrollbar": "^0.6.7",
41
- "@synerise/ds-search": "^0.8.65",
42
- "@synerise/ds-utils": "^0.24.16",
43
- "classnames": "^2.2.6"
35
+ "@synerise/ds-button": "^0.18.3",
36
+ "@synerise/ds-divider": "^0.6.0",
37
+ "@synerise/ds-icon": "^0.58.3",
38
+ "@synerise/ds-input": "^0.19.3",
39
+ "@synerise/ds-menu": "^0.18.0",
40
+ "@synerise/ds-scrollbar": "^0.6.8",
41
+ "@synerise/ds-search": "^0.8.67",
42
+ "@synerise/ds-utils": "^0.24.17",
43
+ "classnames": "2.3.2"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@synerise/ds-core": "*",
@@ -52,5 +52,5 @@
52
52
  "@testing-library/jest-dom": "5.1.1",
53
53
  "@testing-library/react": "10.0.1"
54
54
  },
55
- "gitHead": "f1f520c4c5ef9f90bacb5d5e0b2e778ceb8fdf79"
55
+ "gitHead": "d944339a738211d8f74b27360481aafd7ef51ddd"
56
56
  }