@salutejs/plasma-new-hope 0.88.0-canary.1233.9439608380.0 → 0.88.0-canary.1233.9449328054.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/cjs/components/Select/Select.css +0 -5
  2. package/cjs/components/Select/Select.js +1 -6
  3. package/cjs/components/Select/Select.js.map +1 -1
  4. package/cjs/components/Select/elements/Inner/Inner.css +0 -5
  5. package/cjs/components/Select/elements/Inner/elements/Item/Item.css +0 -5
  6. package/es/components/Select/Select.css +0 -5
  7. package/es/components/Select/Select.js +1 -6
  8. package/es/components/Select/Select.js.map +1 -1
  9. package/es/components/Select/elements/Inner/Inner.css +0 -5
  10. package/es/components/Select/elements/Inner/elements/Item/Item.css +0 -5
  11. package/package.json +2 -2
  12. package/styled-components/cjs/components/Select/Select.js +1 -6
  13. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +14 -2
  14. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +40 -0
  15. package/styled-components/cjs/examples/plasma_web/components/Select/Select.js +17 -0
  16. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +817 -0
  17. package/styled-components/cjs/examples/plasma_web/components/Select/style.css +38 -0
  18. package/styled-components/es/components/Select/Select.js +1 -6
  19. package/styled-components/es/examples/plasma_b2c/components/Select/Select.js +2 -2
  20. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +14 -2
  21. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +34 -0
  22. package/styled-components/es/examples/plasma_web/components/Select/Select.js +6 -0
  23. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +817 -0
  24. package/styled-components/es/examples/plasma_web/components/Select/style.css +38 -0
  25. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +16 -0
  26. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  27. package/types/components/Select/Select.d.ts.map +1 -1
  28. package/types/components/Select/Select.types.d.ts +21 -17
  29. package/types/components/Select/Select.types.d.ts.map +1 -1
  30. package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts +1 -1
  31. package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts.map +1 -1
  32. package/types/examples/plasma_b2c/components/Select/Select.d.ts +18 -2
  33. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  34. package/types/examples/plasma_web/components/Select/Select.config.d.ts +33 -0
  35. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -0
  36. package/types/examples/plasma_web/components/Select/Select.d.ts +81 -0
  37. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -0
@@ -0,0 +1,38 @@
1
+
2
+ .container {
3
+ width: 100%;
4
+ }
5
+
6
+ table {
7
+ border-collapse: collapse;
8
+ box-shadow: 0 0 20px rgba(0,0,0,0.1);
9
+ }
10
+
11
+ th,
12
+ td {
13
+ padding: 15px;
14
+ }
15
+
16
+ th {
17
+ text-align: left;
18
+ }
19
+
20
+ table, th, td {
21
+ border: 1px solid lightgray;
22
+ border-collapse: collapse;
23
+ }
24
+
25
+ thead {
26
+ th {
27
+ background-color: #55608f;
28
+ color: #fff;
29
+ }
30
+ }
31
+
32
+ tbody {
33
+
34
+ td {
35
+ position: relative;
36
+
37
+ }
38
+ }
@@ -9,6 +9,10 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
9
9
  target?: "textfield" | undefined;
10
10
  view?: "default" | "warning" | "positive" | "negative" | undefined;
11
11
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
12
+ label?: string | undefined;
13
+ labelPlacement?: "inner" | "outer" | undefined;
14
+ placeholder?: string | undefined;
15
+ helperText?: string | undefined;
12
16
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
13
17
  value: string;
14
18
  onChange: (value: string) => void;
@@ -18,6 +22,10 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
18
22
  target?: "button" | undefined;
19
23
  view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
20
24
  contentLeft?: undefined;
25
+ label?: undefined;
26
+ labelPlacement?: undefined;
27
+ placeholder?: undefined;
28
+ helperText?: undefined;
21
29
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
22
30
  value: string[];
23
31
  onChange: (value: string[]) => void;
@@ -27,6 +35,10 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
27
35
  target?: "textfield" | undefined;
28
36
  view?: "default" | "warning" | "positive" | "negative" | undefined;
29
37
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
38
+ label?: string | undefined;
39
+ labelPlacement?: "inner" | "outer" | undefined;
40
+ placeholder?: string | undefined;
41
+ helperText?: string | undefined;
30
42
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
31
43
  value: string[];
32
44
  onChange: (value: string[]) => void;
@@ -36,6 +48,10 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
36
48
  target?: "button" | undefined;
37
49
  view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
38
50
  contentLeft?: undefined;
51
+ label?: undefined;
52
+ labelPlacement?: undefined;
53
+ placeholder?: undefined;
54
+ helperText?: undefined;
39
55
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
40
56
  export declare const SelectPerPageTypography: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
41
57
  //# sourceMappingURL=PaginationSelectPerPage.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAsB/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,qKAOnC,CAAC"}
1
+ {"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAsB/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,qKAOnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAa1C,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK/D,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,WAAW,CAAC,0FA8QpE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAhRQ,UAAU,iBAAiB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;CAkSzE,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAY1C,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK/D,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,WAAW,CAAC,0FAsQpE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAxQQ,UAAU,iBAAiB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;CA0RzE,CAAC"}
@@ -16,10 +16,31 @@ declare type Target = {
16
16
  * Слот для контента слева.
17
17
  */
18
18
  contentLeft?: React.ReactElement;
19
+ /**
20
+ * Метка-подпись к элементу.
21
+ */
22
+ label?: string;
23
+ /**
24
+ * Расположение лейбла.
25
+ * @default outer
26
+ */
27
+ labelPlacement?: 'outer' | 'inner';
28
+ /**
29
+ * Placeholder.
30
+ */
31
+ placeholder?: string;
32
+ /**
33
+ * Вспомогательный текст снизу слева для поля ввода.
34
+ */
35
+ helperText?: string;
19
36
  } | {
20
37
  target?: 'button' | never;
21
38
  view?: 'default' | 'accent' | 'secondary' | 'clear' | 'positive' | 'warning' | 'negative' | 'dark' | 'black' | 'white';
22
39
  contentLeft?: never;
40
+ label?: never;
41
+ labelPlacement?: never;
42
+ placeholder?: never;
43
+ helperText?: never;
23
44
  };
24
45
  declare type IsMultiselect = {
25
46
  value: string;
@@ -49,23 +70,6 @@ export interface BasicProps {
49
70
  * @default bottom
50
71
  */
51
72
  placement?: SelectPlacement | Array<SelectPlacementBasic>;
52
- /**
53
- * Метка-подпись к элементу.
54
- */
55
- label?: string;
56
- /**
57
- * Расположение лейбла.
58
- * @default outer
59
- */
60
- labelPlacement?: 'outer' | 'inner';
61
- /**
62
- * Placeholder.
63
- */
64
- placeholder?: string;
65
- /**
66
- * Вспомогательный текст снизу слева для поля ввода.
67
- */
68
- helperText?: string;
69
73
  /**
70
74
  * Компонент неактивен.
71
75
  * @default false
@@ -1 +1 @@
1
- {"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,oBAAY,oBAAoB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AACvE,oBAAY,eAAe,GAAG,oBAAoB,GAAG,MAAM,CAAC;AAE5D,aAAK,MAAM,GACL;IACI;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC;IAC7B,IAAI,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IACvD;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CACpC,GACD;IACI,MAAM,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC1B,IAAI,CAAC,EACC,SAAS,GACT,QAAQ,GACR,WAAW,GACX,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC;CACvB,CAAC;AAER,aAAK,aAAa,GACZ;IACI,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,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AAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,MAAM,CAAC;IAEjF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;CAC5C;AAED,oBAAY,WAAW,GAAG,UAAU,GAChC,aAAa,GACb,MAAM,GACN,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAAC,CAAC;AAEnH,oBAAY,WAAW,GAAG;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,qBAAqB,CAAC;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC1B,oBAAoB,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzF,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACnC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  export interface Props {
3
- icon?: React.ReactElement;
4
3
  description: string;
4
+ icon?: React.ReactElement;
5
5
  buttonText?: string;
6
6
  buttonAction?: () => void;
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SelectNotFoundContent.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,KAAK;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B"}
1
+ {"version":3,"file":"SelectNotFoundContent.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,KAAK;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { SelectNotFoundContent } from '../../../../components/Select';
3
- export declare const Select: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
+ declare const Select: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
4
  size: {
5
5
  xs: import("@linaria/core").LinariaClassName;
6
6
  s: import("@linaria/core").LinariaClassName;
@@ -33,6 +33,10 @@ export declare const Select: import("react").FunctionComponent<import("../../../
33
33
  target?: "textfield" | undefined;
34
34
  view?: "default" | "warning" | "positive" | "negative" | undefined;
35
35
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
+ label?: string | undefined;
37
+ labelPlacement?: "inner" | "outer" | undefined;
38
+ placeholder?: string | undefined;
39
+ helperText?: string | undefined;
36
40
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
37
41
  value: string;
38
42
  onChange: (value: string) => void;
@@ -42,6 +46,10 @@ export declare const Select: import("react").FunctionComponent<import("../../../
42
46
  target?: "button" | undefined;
43
47
  view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
44
48
  contentLeft?: undefined;
49
+ label?: undefined;
50
+ labelPlacement?: undefined;
51
+ placeholder?: undefined;
52
+ helperText?: undefined;
45
53
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
46
54
  value: string[];
47
55
  onChange: (value: string[]) => void;
@@ -51,6 +59,10 @@ export declare const Select: import("react").FunctionComponent<import("../../../
51
59
  target?: "textfield" | undefined;
52
60
  view?: "default" | "warning" | "positive" | "negative" | undefined;
53
61
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
62
+ label?: string | undefined;
63
+ labelPlacement?: "inner" | "outer" | undefined;
64
+ placeholder?: string | undefined;
65
+ helperText?: string | undefined;
54
66
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
55
67
  value: string[];
56
68
  onChange: (value: string[]) => void;
@@ -60,6 +72,10 @@ export declare const Select: import("react").FunctionComponent<import("../../../
60
72
  target?: "button" | undefined;
61
73
  view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
62
74
  contentLeft?: undefined;
75
+ label?: undefined;
76
+ labelPlacement?: undefined;
77
+ placeholder?: undefined;
78
+ helperText?: undefined;
63
79
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
64
- export { SelectNotFoundContent };
80
+ export { Select, SelectNotFoundContent };
65
81
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.ts"],"names":[],"mappings":";AACA,OAAO,EAAgB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAKpF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAA0B,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.ts"],"names":[],"mappings":";AACA,OAAO,EAAgB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAKpF,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAA0B,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1,33 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ chipView: string;
5
+ size: string;
6
+ };
7
+ variations: {
8
+ size: {
9
+ xs: import("@linaria/core").LinariaClassName;
10
+ s: import("@linaria/core").LinariaClassName;
11
+ m: import("@linaria/core").LinariaClassName;
12
+ l: import("@linaria/core").LinariaClassName;
13
+ };
14
+ view: {
15
+ default: import("@linaria/core").LinariaClassName;
16
+ positive: import("@linaria/core").LinariaClassName;
17
+ warning: import("@linaria/core").LinariaClassName;
18
+ negative: import("@linaria/core").LinariaClassName;
19
+ accent: import("@linaria/core").LinariaClassName;
20
+ secondary: import("@linaria/core").LinariaClassName;
21
+ clear: import("@linaria/core").LinariaClassName;
22
+ dark: import("@linaria/core").LinariaClassName;
23
+ black: import("@linaria/core").LinariaClassName;
24
+ white: import("@linaria/core").LinariaClassName;
25
+ };
26
+ chipView: {
27
+ default: import("@linaria/core").LinariaClassName;
28
+ secondary: import("@linaria/core").LinariaClassName;
29
+ accent: import("@linaria/core").LinariaClassName;
30
+ };
31
+ };
32
+ };
33
+ //# sourceMappingURL=Select.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8YlB,CAAC"}
@@ -0,0 +1,81 @@
1
+ /// <reference types="react" />
2
+ import { SelectNotFoundContent } from '../../../../components/Select';
3
+ declare const Select: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
+ size: {
5
+ xs: import("@linaria/core").LinariaClassName;
6
+ s: import("@linaria/core").LinariaClassName;
7
+ m: import("@linaria/core").LinariaClassName;
8
+ l: import("@linaria/core").LinariaClassName;
9
+ };
10
+ view: {
11
+ default: import("@linaria/core").LinariaClassName;
12
+ positive: import("@linaria/core").LinariaClassName;
13
+ warning: import("@linaria/core").LinariaClassName;
14
+ negative: import("@linaria/core").LinariaClassName;
15
+ accent: import("@linaria/core").LinariaClassName;
16
+ secondary: import("@linaria/core").LinariaClassName;
17
+ clear: import("@linaria/core").LinariaClassName;
18
+ dark: import("@linaria/core").LinariaClassName;
19
+ black: import("@linaria/core").LinariaClassName;
20
+ white: import("@linaria/core").LinariaClassName;
21
+ };
22
+ chipView: {
23
+ default: import("@linaria/core").LinariaClassName;
24
+ secondary: import("@linaria/core").LinariaClassName;
25
+ accent: import("@linaria/core").LinariaClassName;
26
+ };
27
+ }> & ((import("../../../../components/Select/Select.types").BasicProps & {
28
+ value: string;
29
+ onChange: (value: string) => void;
30
+ separator?: undefined;
31
+ isTargetAmount?: false | undefined;
32
+ } & {
33
+ target?: "textfield" | undefined;
34
+ view?: "default" | "warning" | "positive" | "negative" | undefined;
35
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
+ label?: string | undefined;
37
+ labelPlacement?: "inner" | "outer" | undefined;
38
+ placeholder?: string | undefined;
39
+ helperText?: string | undefined;
40
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
41
+ value: string;
42
+ onChange: (value: string) => void;
43
+ separator?: undefined;
44
+ isTargetAmount?: false | undefined;
45
+ } & {
46
+ target?: "button" | undefined;
47
+ view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
48
+ contentLeft?: undefined;
49
+ label?: undefined;
50
+ labelPlacement?: undefined;
51
+ placeholder?: undefined;
52
+ helperText?: undefined;
53
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
54
+ value: string[];
55
+ onChange: (value: string[]) => void;
56
+ separator?: string | undefined;
57
+ isTargetAmount?: boolean | undefined;
58
+ } & {
59
+ target?: "textfield" | undefined;
60
+ view?: "default" | "warning" | "positive" | "negative" | undefined;
61
+ contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
62
+ label?: string | undefined;
63
+ labelPlacement?: "inner" | "outer" | undefined;
64
+ placeholder?: string | undefined;
65
+ helperText?: string | undefined;
66
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
67
+ value: string[];
68
+ onChange: (value: string[]) => void;
69
+ separator?: string | undefined;
70
+ isTargetAmount?: boolean | undefined;
71
+ } & {
72
+ target?: "button" | undefined;
73
+ view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
74
+ contentLeft?: undefined;
75
+ label?: undefined;
76
+ labelPlacement?: undefined;
77
+ placeholder?: undefined;
78
+ helperText?: undefined;
79
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
80
+ export { Select, SelectNotFoundContent };
81
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Select/Select.ts"],"names":[],"mappings":";AACA,OAAO,EAAgB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAKpF,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAA0B,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,CAAC"}