@salutejs/plasma-new-hope 0.68.0-canary.1155.8481923291.0 → 0.68.0-dev.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/styled-components/cjs/components/Chip/Chip.template-doc.mdx +2 -2
- package/styled-components/es/components/Chip/Chip.template-doc.mdx +2 -2
- package/types/components/Chip/Chip.d.ts +26 -2
- package/types/components/Chip/Chip.d.ts.map +1 -1
- package/types/components/Chip/Chip.types.d.ts +6 -5
- package/types/components/Chip/Chip.types.d.ts.map +1 -1
- package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts +13 -1
- package/types/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.d.ts.map +1 -1
- package/types/components/Indicator/Indicator.d.ts +2 -2
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +13 -1
- package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Chip/Chip.d.ts +13 -1
- 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_web/components/Chip/Chip.d.ts +13 -1
- 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/sds_engineer/components/Chip/Chip.d.ts +13 -1
- package/types/examples/sds_engineer/components/Chip/Chip.d.ts.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.68.0-
|
3
|
+
"version": "0.68.0-dev.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -67,7 +67,7 @@
|
|
67
67
|
"@rollup/plugin-babel": "^6.0.3",
|
68
68
|
"@rollup/plugin-commonjs": "^25.0.4",
|
69
69
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
70
|
-
"@salutejs/plasma-sb-utils": "0.
|
70
|
+
"@salutejs/plasma-sb-utils": "0.154.0-dev.0",
|
71
71
|
"@storybook/addon-docs": "^7.6.17",
|
72
72
|
"@storybook/addon-essentials": "^7.6.17",
|
73
73
|
"@storybook/addons": "^7.6.17",
|
@@ -97,10 +97,10 @@
|
|
97
97
|
"@linaria/core": "5.0.2",
|
98
98
|
"@linaria/react": "5.0.3",
|
99
99
|
"@popperjs/core": "2.11.8",
|
100
|
-
"@salutejs/plasma-core": "1.
|
100
|
+
"@salutejs/plasma-core": "1.156.0-dev.0",
|
101
101
|
"focus-visible": "5.2.0",
|
102
102
|
"react-popper": "2.3.0",
|
103
103
|
"storeon": "3.1.5"
|
104
104
|
},
|
105
|
-
"gitHead": "
|
105
|
+
"gitHead": "8db2dde118efdd6a7c6aef5f7cb56a099ac6e7ea"
|
106
106
|
}
|
@@ -70,7 +70,7 @@ export function App() {
|
|
70
70
|
|
71
71
|
### Вид Chip
|
72
72
|
Вид Chip задается с помощью свойства `view`. Возможные значения свойства `view`:
|
73
|
-
+ `"
|
73
|
+
+ `"default"` – основная;
|
74
74
|
+ `"secondary"` – вторичная;
|
75
75
|
+ `"positive"` – успешное завершение;
|
76
76
|
|
@@ -81,7 +81,7 @@ import { Chip } from '@salutejs/{{ package }}';
|
|
81
81
|
export function App() {
|
82
82
|
return (
|
83
83
|
<div>
|
84
|
-
<Chip text="Chip" size="m" view="
|
84
|
+
<Chip text="Chip" size="m" view="default" />
|
85
85
|
<Chip text="Chip" size="m" view="secondary" />
|
86
86
|
<Chip text="Chip" size="m" view="positive" />
|
87
87
|
</div>
|
@@ -70,7 +70,7 @@ export function App() {
|
|
70
70
|
|
71
71
|
### Вид Chip
|
72
72
|
Вид Chip задается с помощью свойства `view`. Возможные значения свойства `view`:
|
73
|
-
+ `"
|
73
|
+
+ `"default"` – основная;
|
74
74
|
+ `"secondary"` – вторичная;
|
75
75
|
+ `"positive"` – успешное завершение;
|
76
76
|
|
@@ -81,7 +81,7 @@ import { Chip } from '@salutejs/{{ package }}';
|
|
81
81
|
export function App() {
|
82
82
|
return (
|
83
83
|
<div>
|
84
|
-
<Chip text="Chip" size="m" view="
|
84
|
+
<Chip text="Chip" size="m" view="default" />
|
85
85
|
<Chip text="Chip" size="m" view="secondary" />
|
86
86
|
<Chip text="Chip" size="m" view="positive" />
|
87
87
|
</div>
|
@@ -1,11 +1,35 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { RootProps } from '../../engines';
|
3
3
|
import type { ChipProps } from './Chip.types';
|
4
|
-
export declare const chipRoot: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<
|
4
|
+
export declare const chipRoot: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
5
|
+
text?: string | undefined;
|
6
|
+
contentLeft?: React.ReactNode;
|
7
|
+
contentRight?: React.ReactNode;
|
8
|
+
contentClearButton?: React.ReactNode;
|
9
|
+
disabled?: boolean | undefined;
|
10
|
+
readOnly?: boolean | undefined;
|
11
|
+
size?: ("m" | "s" | "xs" | "l") | undefined;
|
12
|
+
view?: ("secondary" | "default" | "positive") | undefined;
|
13
|
+
onClear?: (() => void) | undefined;
|
14
|
+
} & {
|
15
|
+
children?: React.ReactNode;
|
16
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
5
17
|
export declare const chipConfig: {
|
6
18
|
name: string;
|
7
19
|
tag: string;
|
8
|
-
layout: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<
|
20
|
+
layout: (Root: RootProps<HTMLButtonElement, ChipProps>) => React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
21
|
+
text?: string | undefined;
|
22
|
+
contentLeft?: React.ReactNode;
|
23
|
+
contentRight?: React.ReactNode;
|
24
|
+
contentClearButton?: 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?: React.ReactNode;
|
32
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
9
33
|
base: import("@linaria/core").LinariaClassName;
|
10
34
|
variations: {
|
11
35
|
view: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC,
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;2CAsDhE,CAAC;AAEP,eAAO,MAAM,UAAU;;;mBAxDQ,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoFrE,CAAC"}
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import type { ButtonHTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
2
|
+
declare type ChipSize = 'l' | 'm' | 's' | 'xs';
|
3
|
+
declare type ChipView = 'default' | 'secondary' | 'positive';
|
2
4
|
declare type CustomChipProps = {
|
3
5
|
/**
|
4
6
|
* Текстовая надпись
|
@@ -33,19 +35,18 @@ declare type CustomChipProps = {
|
|
33
35
|
* @default
|
34
36
|
* m
|
35
37
|
*/
|
36
|
-
size?:
|
38
|
+
size?: ChipSize;
|
37
39
|
/**
|
38
40
|
* Вид Chip
|
39
41
|
* @default
|
40
|
-
*
|
42
|
+
* default
|
41
43
|
*/
|
42
|
-
view?:
|
44
|
+
view?: ChipView;
|
43
45
|
/**
|
44
46
|
* Коллбек при взаимодействии с элементом
|
45
47
|
*/
|
46
48
|
onClear?: () => void;
|
47
49
|
} & PropsWithChildren;
|
48
|
-
export
|
49
|
-
}
|
50
|
+
export declare type ChipProps = ButtonHTMLAttributes<HTMLButtonElement> & CustomChipProps;
|
50
51
|
export {};
|
51
52
|
//# sourceMappingURL=Chip.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,
|
1
|
+
{"version":3,"file":"Chip.types.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chip.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AACvC,aAAK,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AAErD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,GAAG,iBAAiB,CAAC;AAEtB,oBAAY,SAAS,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAC"}
|
@@ -1,3 +1,15 @@
|
|
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("
|
2
|
+
export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
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>>;
|
3
15
|
//# sourceMappingURL=ComboboxChip.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ComboboxChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU,
|
1
|
+
{"version":3,"file":"ComboboxChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ui/ComboboxChip/ComboboxChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU;;;;;;;;;;;;qDAwCtB,CAAC"}
|
@@ -3,14 +3,14 @@ import { RootProps } from '../../engines';
|
|
3
3
|
import { IndicatorProps } from './Indicator.types';
|
4
4
|
export declare const indicatorRoot: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
5
5
|
size: "m" | "s" | "l";
|
6
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
6
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
|
7
7
|
} & React.RefAttributes<HTMLDivElement>>;
|
8
8
|
export declare const indicatorConfig: {
|
9
9
|
name: string;
|
10
10
|
tag: string;
|
11
11
|
layout: (Root: RootProps<HTMLDivElement, IndicatorProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
12
12
|
size: "m" | "s" | "l";
|
13
|
-
view: "accent" | "black" | "white" | "default" | "inactive" | "
|
13
|
+
view: "accent" | "black" | "white" | "default" | "inactive" | "positive" | "warning" | "negative";
|
14
14
|
} & React.RefAttributes<HTMLDivElement>>;
|
15
15
|
base: import("@linaria/core").LinariaClassName;
|
16
16
|
variations: {
|
@@ -1,3 +1,15 @@
|
|
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("
|
2
|
+
export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
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>>;
|
3
15
|
//# 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;;;;;;;;;;;;qDAwCtB,CAAC"}
|
@@ -17,5 +17,17 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
|
|
17
17
|
focused: {
|
18
18
|
true: import("@linaria/core").LinariaClassName;
|
19
19
|
};
|
20
|
-
}> & import("
|
20
|
+
}> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
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>>;
|
21
33
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,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" | "positive" | "warning" | "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" | "positive" | "warning" | "negative";
|
57
57
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
58
58
|
export { Indicator, mergedConfig };
|
59
59
|
//# sourceMappingURL=Indicator.d.ts.map
|
@@ -17,5 +17,17 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
|
|
17
17
|
focused: {
|
18
18
|
true: import("@linaria/core").LinariaClassName;
|
19
19
|
};
|
20
|
-
}> & import("
|
20
|
+
}> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
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>>;
|
21
33
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,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" | "positive" | "warning" | "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" | "positive" | "warning" | "negative";
|
57
57
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
58
58
|
export { Indicator, mergedConfig };
|
59
59
|
//# sourceMappingURL=Indicator.d.ts.map
|
@@ -12,5 +12,17 @@ export declare const Chip: import("react").FunctionComponent<import("../../../..
|
|
12
12
|
readOnly: {
|
13
13
|
true: import("@linaria/core").LinariaClassName;
|
14
14
|
};
|
15
|
-
}> & import("
|
15
|
+
}> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
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>>;
|
16
28
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,CAAC"}
|