@salutejs/plasma-new-hope 0.68.0-canary.1151.8450920847.0 → 0.68.0-canary.1155.8481923291.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Dropdown/Dropdown.js +2 -1
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Popover/Popover.js +46 -31
- package/cjs/components/Popover/Popover.js.map +1 -1
- package/es/components/Dropdown/Dropdown.js +2 -1
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Popover/Popover.js +46 -31
- package/es/components/Popover/Popover.js.map +1 -1
- package/package.json +4 -4
- package/styled-components/cjs/components/Chip/Chip.template-doc.mdx +2 -2
- package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -1
- package/styled-components/cjs/components/Popover/Popover.js +46 -31
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/es/components/Chip/Chip.template-doc.mdx +2 -2
- package/styled-components/es/components/Dropdown/Dropdown.js +2 -1
- package/styled-components/es/components/Popover/Popover.js +46 -31
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +7 -0
- package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
- package/types/components/Chip/Chip.d.ts +2 -26
- package/types/components/Chip/Chip.d.ts.map +1 -1
- package/types/components/Chip/Chip.types.d.ts +5 -6
- package/types/components/Chip/Chip.types.d.ts.map +1 -1
- package/types/components/Combobox/Combobox.styles.d.ts +8 -2
- package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
- package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts +1 -13
- package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.styles.d.ts +7 -1
- package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
- package/types/components/Indicator/Indicator.d.ts +2 -2
- package/types/components/Popover/Popover.d.ts +2 -2
- package/types/components/Popover/Popover.d.ts.map +1 -1
- package/types/components/Popover/Popover.types.d.ts +19 -14
- package/types/components/Popover/Popover.types.d.ts.map +1 -1
- package/types/components/Select/Select.styles.d.ts +8 -2
- package/types/components/Select/Select.styles.d.ts.map +1 -1
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +1 -13
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Chip/Chip.d.ts +1 -13
- package/types/examples/plasma_b2c/components/Chip/Chip.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Indicator/Indicator.d.ts +2 -2
- package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +7 -1
- package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Chip/Chip.d.ts +1 -13
- package/types/examples/plasma_web/components/Chip/Chip.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Indicator/Indicator.d.ts +2 -2
- package/types/examples/plasma_web/components/Popover/Popover.d.ts +7 -1
- package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Chip/Chip.d.ts +1 -13
- package/types/examples/sds_engineer/components/Chip/Chip.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Popover/Popover.d.ts +7 -1
- package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
@@ -1,6 +1,5 @@
|
|
1
1
|
import { Placement, ComputedPlacement } from '@popperjs/core';
|
2
2
|
import type { HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
|
3
|
-
export declare type PopoverTrigger = 'hover' | 'click';
|
4
3
|
export declare type PopoverPlacementBasic = ComputedPlacement;
|
5
4
|
export declare type PopoverPlacement = Placement;
|
6
5
|
export declare type CustomPopoverProps = {
|
@@ -8,12 +7,6 @@ export declare type CustomPopoverProps = {
|
|
8
7
|
* Всплывающее окно раскрыто или нет.
|
9
8
|
*/
|
10
9
|
isOpen?: boolean;
|
11
|
-
/**
|
12
|
-
* Способ открытия всплывающего окна - наведение или клик мышью.
|
13
|
-
* @default
|
14
|
-
* click
|
15
|
-
*/
|
16
|
-
trigger?: PopoverTrigger;
|
17
10
|
/**
|
18
11
|
* Сторона открытия окна относительно target элемента.
|
19
12
|
* @default
|
@@ -60,12 +53,6 @@ export declare type CustomPopoverProps = {
|
|
60
53
|
* Событие сворачивания/разворачивания всплывающего окна.
|
61
54
|
*/
|
62
55
|
onToggle?: (isOpen: boolean, event: SyntheticEvent | Event) => void;
|
63
|
-
/**
|
64
|
-
* Закрывать окно при нажатии вне области окна.
|
65
|
-
* @default
|
66
|
-
* true
|
67
|
-
*/
|
68
|
-
closeOnOverlayClick?: boolean;
|
69
56
|
/**
|
70
57
|
* Закрывать окно при нажатии ESC.
|
71
58
|
* @default
|
@@ -80,5 +67,23 @@ export declare type CustomPopoverProps = {
|
|
80
67
|
usePortal?: boolean;
|
81
68
|
view?: string;
|
82
69
|
};
|
83
|
-
export declare type
|
70
|
+
export declare type PopoverTrigger = {
|
71
|
+
/**
|
72
|
+
* Способ открытия всплывающего окна - наведение или клик мышью.
|
73
|
+
* @default
|
74
|
+
* click
|
75
|
+
*/
|
76
|
+
trigger?: 'click';
|
77
|
+
/**
|
78
|
+
* Закрывать окно при нажатии вне области окна. (Если trigger === 'click')
|
79
|
+
*/
|
80
|
+
closeOnOverlayClick?: boolean;
|
81
|
+
} | {
|
82
|
+
trigger?: 'hover';
|
83
|
+
/**
|
84
|
+
* Закрывать окно при наведении вне области target-элемента. (Если trigger === 'hover')
|
85
|
+
*/
|
86
|
+
closeOnBeyondTargetHover?: boolean;
|
87
|
+
};
|
88
|
+
export declare type PopoverProps = HTMLAttributes<HTMLDivElement> & CustomPopoverProps & PopoverTrigger;
|
84
89
|
//# sourceMappingURL=Popover.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,oBAAY,
|
1
|
+
{"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC;AACtD,oBAAY,gBAAgB,GAAG,SAAS,CAAC;AAEzC,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,cAAc,GACpB;IACI;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC,GACD;IACI,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAER,oBAAY,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
|
@@ -3,10 +3,16 @@ export declare const StyledRoot: import("@linaria/react").StyledComponent<import
|
|
3
3
|
export declare const StyledSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
4
|
export declare const StyledPopover: import("@linaria/react").StyledComponent<{
|
5
5
|
selectWidth?: number | undefined;
|
6
|
-
} & import("../../engines/types").PropsType<{
|
6
|
+
} & (import("../../engines/types").PropsType<{
|
7
7
|
view: {
|
8
8
|
css: import("@linaria/core").LinariaClassName;
|
9
9
|
};
|
10
|
-
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps &
|
10
|
+
}> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
|
11
|
+
trigger?: "click" | undefined;
|
12
|
+
closeOnOverlayClick?: boolean | undefined;
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
|
14
|
+
trigger?: "hover" | undefined;
|
15
|
+
closeOnBeyondTargetHover?: boolean | undefined;
|
16
|
+
} & import("react").RefAttributes<HTMLDivElement>)))>;
|
11
17
|
export declare const StyledNativeSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSelectElement> & import("react").SelectHTMLAttributes<HTMLSelectElement> & Record<never, unknown>>;
|
12
18
|
//# sourceMappingURL=Select.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAaxB,CAAC;AAKF,eAAO,MAAM,aAAa
|
1
|
+
{"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAaxB,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;;;;;;;qDAMzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAwB9B,CAAC"}
|
@@ -1,15 +1,3 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("react").
|
3
|
-
text?: string | undefined;
|
4
|
-
contentLeft?: import("react").ReactNode;
|
5
|
-
contentRight?: import("react").ReactNode;
|
6
|
-
contentClearButton?: import("react").ReactNode;
|
7
|
-
disabled?: boolean | undefined;
|
8
|
-
readOnly?: boolean | undefined;
|
9
|
-
size?: ("m" | "s" | "xs" | "l") | undefined;
|
10
|
-
view?: ("secondary" | "default" | "positive") | undefined;
|
11
|
-
onClear?: (() => void) | undefined;
|
12
|
-
} & {
|
13
|
-
children?: import("react").ReactNode;
|
14
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
2
|
+
export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("../../../Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
|
15
3
|
//# sourceMappingURL=SelectChip.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectChip/SelectChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU
|
1
|
+
{"version":3,"file":"SelectChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectChip/SelectChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU,6PAwCtB,CAAC"}
|
@@ -17,17 +17,5 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
|
|
17
17
|
focused: {
|
18
18
|
true: import("@linaria/core").LinariaClassName;
|
19
19
|
};
|
20
|
-
}> & import("react").
|
21
|
-
text?: string | undefined;
|
22
|
-
contentLeft?: import("react").ReactNode;
|
23
|
-
contentRight?: import("react").ReactNode;
|
24
|
-
contentClearButton?: import("react").ReactNode;
|
25
|
-
disabled?: boolean | undefined;
|
26
|
-
readOnly?: boolean | undefined;
|
27
|
-
size?: ("m" | "s" | "xs" | "l") | undefined;
|
28
|
-
view?: ("secondary" | "default" | "positive") | undefined;
|
29
|
-
onClear?: (() => void) | undefined;
|
30
|
-
} & {
|
31
|
-
children?: import("react").ReactNode;
|
32
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
20
|
+
}> & import("../../../../components/Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
|
33
21
|
//# sourceMappingURL=Chip.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;wGAA0B,CAAC"}
|
@@ -33,7 +33,7 @@ declare const mergedConfig: import("../../../../engines").ComponentConfig<string
|
|
33
33
|
};
|
34
34
|
}>, import("react").HTMLAttributes<HTMLDivElement> & {
|
35
35
|
size: "m" | "s" | "l";
|
36
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
36
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
|
37
37
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
38
38
|
declare const Indicator: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
39
39
|
view: {
|
@@ -53,7 +53,7 @@ declare const Indicator: import("react").FunctionComponent<import("../../../../e
|
|
53
53
|
};
|
54
54
|
}> & import("react").HTMLAttributes<HTMLDivElement> & {
|
55
55
|
size: "m" | "s" | "l";
|
56
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
56
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
|
57
57
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
58
58
|
export { Indicator, mergedConfig };
|
59
59
|
//# sourceMappingURL=Indicator.d.ts.map
|
@@ -4,5 +4,11 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
|
|
4
4
|
view: {
|
5
5
|
default: import("@linaria/core").LinariaClassName;
|
6
6
|
};
|
7
|
-
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps &
|
7
|
+
}> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
|
8
|
+
trigger?: "click" | undefined;
|
9
|
+
closeOnOverlayClick?: boolean | undefined;
|
10
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
|
11
|
+
trigger?: "hover" | undefined;
|
12
|
+
closeOnBeyondTargetHover?: boolean | undefined;
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>))>;
|
8
14
|
//# sourceMappingURL=Popover.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;;;;;;;oDAA0B,CAAC"}
|
@@ -17,17 +17,5 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
|
|
17
17
|
focused: {
|
18
18
|
true: import("@linaria/core").LinariaClassName;
|
19
19
|
};
|
20
|
-
}> & import("react").
|
21
|
-
text?: string | undefined;
|
22
|
-
contentLeft?: import("react").ReactNode;
|
23
|
-
contentRight?: import("react").ReactNode;
|
24
|
-
contentClearButton?: import("react").ReactNode;
|
25
|
-
disabled?: boolean | undefined;
|
26
|
-
readOnly?: boolean | undefined;
|
27
|
-
size?: ("m" | "s" | "xs" | "l") | undefined;
|
28
|
-
view?: ("secondary" | "default" | "positive") | undefined;
|
29
|
-
onClear?: (() => void) | undefined;
|
30
|
-
} & {
|
31
|
-
children?: import("react").ReactNode;
|
32
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
20
|
+
}> & import("../../../../components/Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
|
33
21
|
//# sourceMappingURL=Chip.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;wGAA0B,CAAC"}
|
@@ -33,7 +33,7 @@ declare const mergedConfig: import("../../../../engines").ComponentConfig<string
|
|
33
33
|
};
|
34
34
|
}>, import("react").HTMLAttributes<HTMLDivElement> & {
|
35
35
|
size: "m" | "s" | "l";
|
36
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
36
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
|
37
37
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
38
38
|
declare const Indicator: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
39
39
|
view: {
|
@@ -53,7 +53,7 @@ declare const Indicator: import("react").FunctionComponent<import("../../../../e
|
|
53
53
|
};
|
54
54
|
}> & import("react").HTMLAttributes<HTMLDivElement> & {
|
55
55
|
size: "m" | "s" | "l";
|
56
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
56
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "warning" | "positive" | "negative";
|
57
57
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
58
58
|
export { Indicator, mergedConfig };
|
59
59
|
//# sourceMappingURL=Indicator.d.ts.map
|
@@ -4,5 +4,11 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
|
|
4
4
|
view: {
|
5
5
|
default: import("@linaria/core").LinariaClassName;
|
6
6
|
};
|
7
|
-
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps &
|
7
|
+
}> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
|
8
|
+
trigger?: "click" | undefined;
|
9
|
+
closeOnOverlayClick?: boolean | undefined;
|
10
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
|
11
|
+
trigger?: "hover" | undefined;
|
12
|
+
closeOnBeyondTargetHover?: boolean | undefined;
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>))>;
|
8
14
|
//# sourceMappingURL=Popover.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;;;;;;;oDAA0B,CAAC"}
|
@@ -12,17 +12,5 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
|
|
12
12
|
readOnly: {
|
13
13
|
true: import("@linaria/core").LinariaClassName;
|
14
14
|
};
|
15
|
-
}> & import("react").
|
16
|
-
text?: string | undefined;
|
17
|
-
contentLeft?: import("react").ReactNode;
|
18
|
-
contentRight?: import("react").ReactNode;
|
19
|
-
contentClearButton?: import("react").ReactNode;
|
20
|
-
disabled?: boolean | undefined;
|
21
|
-
readOnly?: boolean | undefined;
|
22
|
-
size?: ("m" | "s" | "xs" | "l") | undefined;
|
23
|
-
view?: ("secondary" | "default" | "positive") | undefined;
|
24
|
-
onClear?: (() => void) | undefined;
|
25
|
-
} & {
|
26
|
-
children?: import("react").ReactNode;
|
27
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
15
|
+
}> & import("../../../../components/Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
|
28
16
|
//# sourceMappingURL=Chip.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Chip/Chip.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;;;wGAA0B,CAAC"}
|
@@ -4,5 +4,11 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
|
|
4
4
|
view: {
|
5
5
|
default: import("@linaria/core").LinariaClassName;
|
6
6
|
};
|
7
|
-
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps &
|
7
|
+
}> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
|
8
|
+
trigger?: "click" | undefined;
|
9
|
+
closeOnOverlayClick?: boolean | undefined;
|
10
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
|
11
|
+
trigger?: "hover" | undefined;
|
12
|
+
closeOnBeyondTargetHover?: boolean | undefined;
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>))>;
|
8
14
|
//# sourceMappingURL=Popover.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;;;;;;;oDAA0B,CAAC"}
|