@livechat/design-system-react-components 1.15.0 → 1.16.1
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/dist/components/Picker/Picker.d.ts +1 -76
- package/dist/components/Picker/Picker.stories.d.ts +1 -1
- package/dist/components/Picker/components/PickerList.d.ts +25 -0
- package/dist/components/Picker/components/PickerListItem.d.ts +14 -0
- package/dist/components/Picker/components/PickerTrigger.d.ts +17 -0
- package/dist/components/Picker/components/PickerTriggerBody.d.ts +19 -0
- package/dist/components/Picker/constants.d.ts +18 -1
- package/dist/components/Picker/helpers.d.ts +2 -1
- package/dist/components/Picker/index.d.ts +2 -2
- package/dist/components/Picker/types.d.ts +103 -3
- package/dist/components/Popover/types.d.ts +2 -2
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/dsrc.cjs.js +1 -1
- package/dist/dsrc.es.js +2128 -2028
- package/dist/preview-stats.json +607 -580
- package/dist/style.css +1 -1
- package/package.json +5 -7
- package/dist/components/Picker/PickerList.d.ts +0 -14
- package/dist/components/Picker/PickerListItem.d.ts +0 -11
- package/dist/components/Picker/Trigger.d.ts +0 -17
- package/dist/components/Picker/TriggerBody.d.ts +0 -16
- /package/dist/components/Picker/{PickerList.spec.d.ts → components/PickerList.spec.d.ts} +0 -0
- /package/dist/components/Picker/{Trigger.spec.d.ts → components/PickerTrigger.spec.d.ts} +0 -0
- /package/dist/components/Picker/{TriggerBody.spec.d.ts → components/PickerTriggerBody.spec.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/design-system-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -70,19 +70,17 @@
|
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@emotion/css": "^11.9.0",
|
|
73
|
-
"@floating-ui/react": "^0.26.
|
|
74
|
-
"@floating-ui/react-dom": "^0.7.0",
|
|
75
|
-
"@floating-ui/react-dom-interactions": "^0.6.1",
|
|
73
|
+
"@floating-ui/react": "^0.26.4",
|
|
76
74
|
"@livechat/data-utils": "^0.2.16",
|
|
77
75
|
"@livechat/design-system-icons": "^1.15.0",
|
|
78
|
-
"@popperjs/core": "^2.11.2",
|
|
79
76
|
"clsx": "^1.1.1",
|
|
80
77
|
"date-fns": "^2.28.0",
|
|
81
78
|
"lodash.debounce": "^4.0.8",
|
|
82
79
|
"lodash.escape": "^4.0.1",
|
|
83
80
|
"polished": "^4.1.3",
|
|
84
81
|
"react-day-picker": "^7.4.10",
|
|
85
|
-
"react-transition-group": "^4.4.2"
|
|
82
|
+
"react-transition-group": "^4.4.2",
|
|
83
|
+
"react-virtuoso": "^4.6.2"
|
|
86
84
|
},
|
|
87
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "789673034dc8a1aab1fb40028caeba9871f8f67e"
|
|
88
86
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IPickerListItem } from './types';
|
|
3
|
-
export interface IPickerListProps {
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
items: IPickerListItem[];
|
|
6
|
-
selectedItemsKeys: string[] | null;
|
|
7
|
-
emptyStateText?: string;
|
|
8
|
-
selectAllOptionText?: string;
|
|
9
|
-
isMultiSelect?: boolean;
|
|
10
|
-
onClose: () => void;
|
|
11
|
-
onSelect: (item: IPickerListItem) => void;
|
|
12
|
-
onSelectAll: () => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const PickerList: React.FC<IPickerListProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IPickerListItem } from './types';
|
|
3
|
-
interface IProps {
|
|
4
|
-
item: IPickerListItem;
|
|
5
|
-
isItemSelected: boolean;
|
|
6
|
-
currentItemKey: string | null;
|
|
7
|
-
isAdjacentStyleApplied: 'top' | 'middle' | 'bottom';
|
|
8
|
-
onSelect: (item: IPickerListItem) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const PickerListItem: React.FC<IProps>;
|
|
11
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Size } from 'utils';
|
|
3
|
-
export interface ITriggerProps {
|
|
4
|
-
isSearchDisabled: boolean;
|
|
5
|
-
isDisabled?: boolean;
|
|
6
|
-
isError?: boolean;
|
|
7
|
-
isItemSelected: boolean;
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
isRequired?: boolean;
|
|
10
|
-
isMultiSelect?: boolean;
|
|
11
|
-
size?: Size;
|
|
12
|
-
hideClearButton?: boolean;
|
|
13
|
-
onTrigger: (e: React.MouseEvent | KeyboardEvent) => void;
|
|
14
|
-
onClear: () => void;
|
|
15
|
-
testId?: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const Trigger: React.FC<React.PropsWithChildren<ITriggerProps>>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Size } from 'utils';
|
|
3
|
-
import { PickerType, IPickerListItem } from './types';
|
|
4
|
-
export interface ITriggerBodyProps {
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
isSearchDisabled?: boolean;
|
|
7
|
-
isDisabled?: boolean;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
items?: IPickerListItem[] | null;
|
|
10
|
-
type: PickerType;
|
|
11
|
-
clearSearchAfterSelection?: boolean;
|
|
12
|
-
size?: Size;
|
|
13
|
-
onItemRemove: (item: IPickerListItem) => void;
|
|
14
|
-
onFilter: (text: string) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const TriggerBody: React.FC<ITriggerBodyProps>;
|
|
File without changes
|
|
File without changes
|
/package/dist/components/Picker/{TriggerBody.spec.d.ts → components/PickerTriggerBody.spec.d.ts}
RENAMED
|
File without changes
|