@livechat/design-system-react-components 1.0.0-alpha.37 → 1.0.0-alpha.39
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/dsrc.cjs.js +3 -3
- package/dist/dsrc.es.js +102 -99
- package/dist/dsrc.umd.js +5 -5
- package/dist/shadow/shadow.css +21 -1
- package/dist/shadow/shadow.css.map +1 -1
- package/dist/spacing/shadow.css +21 -1
- package/dist/spacing/shadow.css.map +1 -1
- package/dist/src/components/Button/Button.d.ts +0 -1
- package/dist/src/components/Picker/Picker.d.ts +2 -2
- package/dist/src/components/Picker/constants.d.ts +1 -1
- package/dist/src/components/Tag/Tag.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/themes/dark.css +20 -3
- package/dist/themes/dark.css.map +1 -1
- package/dist/themes/legacy.css +17 -0
- package/dist/themes/legacy.css.map +1 -1
- package/dist/themes/light.css +20 -3
- package/dist/themes/light.css.map +1 -1
- package/package.json +3 -3
package/dist/shadow/shadow.css
CHANGED
|
@@ -1,7 +1,27 @@
|
|
|
1
|
-
:root
|
|
1
|
+
:root,
|
|
2
|
+
.lc-legacy-theme,
|
|
3
|
+
.lc-light-theme {
|
|
2
4
|
--shadow-float: 0 2px 6px rgb(66 77 87 / 40%);
|
|
3
5
|
--shadow-pop-over: 0 6px 20px rgb(66 77 87 / 40%);
|
|
4
6
|
--shadow-modal: 0 10px 50px rgb(66 77 87 / 40%);
|
|
7
|
+
--shadow-tooltip: 0 1px 10px 0 rgb(66 77 87 / 30%);
|
|
8
|
+
--shadow-tooltip-arrow-bottom: 8px -6px 10px -2px rgb(66 77 87 / 30%);
|
|
9
|
+
--shadow-tooltip-arrow-top: -7px 6px 5px -3px rgb(66 77 87 / 30%);
|
|
10
|
+
--shadow-tooltip-arrow-right: -5px -5px 10px -2px rgb(66 77 87 / 30%);
|
|
11
|
+
--shadow-tooltip-arrow-left: 6px 6px 10px -2px rgb(66 77 87 / 30%);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.lc-dark-theme {
|
|
15
|
+
--shadow-float: 0 2px 6px rgb(66 77 87 / 40%);
|
|
16
|
+
--shadow-pop-over: 0 0 2px 1px rgb(0 0 0 / 15%),
|
|
17
|
+
0 4px 16px 1px rgb(1 1 1 / 50%), inset 0 0 0 1px rgb(255 255 255 / 15%);
|
|
18
|
+
--shadow-modal: 0 10px 50px rgb(66 77 87 / 40%);
|
|
19
|
+
--shadow-tooltip: 0 0 2px 1px rgb(0 0 0 / 15%),
|
|
20
|
+
0 4px 16px 1px rgb(1 1 1 / 50%), inset 0 0 0 1px rgb(255 255 255 / 15%);
|
|
21
|
+
--shadow-tooltip-arrow-bottom: unset;
|
|
22
|
+
--shadow-tooltip-arrow-top: unset;
|
|
23
|
+
--shadow-tooltip-arrow-right: unset;
|
|
24
|
+
--shadow-tooltip-arrow-left: unset;
|
|
5
25
|
}
|
|
6
26
|
|
|
7
27
|
/*# sourceMappingURL=shadow.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/foundations/shadow.css"],"names":[],"mappings":"AAAA;EACE;EACA;EACA","file":"shadow.css"}
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/foundations/shadow.css"],"names":[],"mappings":"AAAA;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;AAAA;EAEA;EACA;AAAA;EAEA;EACA;EACA;EACA","file":"shadow.css"}
|
package/dist/spacing/shadow.css
CHANGED
|
@@ -1,7 +1,27 @@
|
|
|
1
|
-
:root
|
|
1
|
+
:root,
|
|
2
|
+
.lc-legacy-theme,
|
|
3
|
+
.lc-light-theme {
|
|
2
4
|
--shadow-float: 0 2px 6px rgb(66 77 87 / 40%);
|
|
3
5
|
--shadow-pop-over: 0 6px 20px rgb(66 77 87 / 40%);
|
|
4
6
|
--shadow-modal: 0 10px 50px rgb(66 77 87 / 40%);
|
|
7
|
+
--shadow-tooltip: 0 1px 10px 0 rgb(66 77 87 / 30%);
|
|
8
|
+
--shadow-tooltip-arrow-bottom: 8px -6px 10px -2px rgb(66 77 87 / 30%);
|
|
9
|
+
--shadow-tooltip-arrow-top: -7px 6px 5px -3px rgb(66 77 87 / 30%);
|
|
10
|
+
--shadow-tooltip-arrow-right: -5px -5px 10px -2px rgb(66 77 87 / 30%);
|
|
11
|
+
--shadow-tooltip-arrow-left: 6px 6px 10px -2px rgb(66 77 87 / 30%);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.lc-dark-theme {
|
|
15
|
+
--shadow-float: 0 2px 6px rgb(66 77 87 / 40%);
|
|
16
|
+
--shadow-pop-over: 0 0 2px 1px rgb(0 0 0 / 15%),
|
|
17
|
+
0 4px 16px 1px rgb(1 1 1 / 50%), inset 0 0 0 1px rgb(255 255 255 / 15%);
|
|
18
|
+
--shadow-modal: 0 10px 50px rgb(66 77 87 / 40%);
|
|
19
|
+
--shadow-tooltip: 0 0 2px 1px rgb(0 0 0 / 15%),
|
|
20
|
+
0 4px 16px 1px rgb(1 1 1 / 50%), inset 0 0 0 1px rgb(255 255 255 / 15%);
|
|
21
|
+
--shadow-tooltip-arrow-bottom: unset;
|
|
22
|
+
--shadow-tooltip-arrow-top: unset;
|
|
23
|
+
--shadow-tooltip-arrow-right: unset;
|
|
24
|
+
--shadow-tooltip-arrow-left: unset;
|
|
5
25
|
}
|
|
6
26
|
|
|
7
27
|
/*# sourceMappingURL=shadow.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/foundations/shadow.css"],"names":[],"mappings":"AAAA;EACE;EACA;EACA","file":"shadow.css"}
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/foundations/shadow.css"],"names":[],"mappings":"AAAA;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;AAAA;EAEA;EACA;AAAA;EAEA;EACA;EACA;EACA","file":"shadow.css"}
|
|
@@ -4,10 +4,10 @@ import { IconSize } from '../Icon';
|
|
|
4
4
|
import { Size } from 'utils';
|
|
5
5
|
export declare type PickerType = 'single' | 'multi';
|
|
6
6
|
export interface IPickerProps {
|
|
7
|
+
id?: string;
|
|
7
8
|
className?: string;
|
|
8
9
|
disabled?: boolean;
|
|
9
|
-
|
|
10
|
-
error?: string;
|
|
10
|
+
error?: boolean;
|
|
11
11
|
options: IPickerListItem[];
|
|
12
12
|
selected?: IPickerListItem[] | null;
|
|
13
13
|
size?: Size;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconSize, IconSource } from '../Icon';
|
|
3
3
|
export interface TagProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
kind?: 'default' | 'info' | 'warning' | 'success' | 'error';
|
|
4
|
+
kind?: 'default' | 'info' | 'warning' | 'success' | 'error' | 'purple' | 'black';
|
|
5
5
|
size?: 'medium' | 'large';
|
|
6
6
|
iconSize?: IconSize;
|
|
7
7
|
customColor?: string;
|