@salutejs/plasma-new-hope 0.88.0-canary.1233.9437372350.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 (57) hide show
  1. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
  2. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  3. package/cjs/components/Select/Select.css +0 -5
  4. package/cjs/components/Select/Select.js +2 -5
  5. package/cjs/components/Select/Select.js.map +1 -1
  6. package/cjs/components/Select/elements/Inner/Inner.css +0 -5
  7. package/cjs/components/Select/elements/Inner/elements/Item/Item.css +0 -5
  8. package/cjs/components/Select/hooks/useKeyboardNavigation.js +9 -0
  9. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  10. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
  11. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  12. package/es/components/Select/Select.css +0 -5
  13. package/es/components/Select/Select.js +2 -5
  14. package/es/components/Select/Select.js.map +1 -1
  15. package/es/components/Select/elements/Inner/Inner.css +0 -5
  16. package/es/components/Select/elements/Inner/elements/Item/Item.css +0 -5
  17. package/es/components/Select/hooks/useKeyboardNavigation.js +9 -0
  18. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  19. package/package.json +2 -2
  20. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
  21. package/styled-components/cjs/components/Select/Select.js +2 -5
  22. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +9 -0
  23. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +1 -0
  24. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +33 -49
  25. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +40 -0
  26. package/styled-components/cjs/examples/plasma_web/components/Select/Select.js +17 -0
  27. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +817 -0
  28. package/styled-components/cjs/examples/plasma_web/components/Select/style.css +38 -0
  29. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
  30. package/styled-components/es/components/Select/Select.js +2 -5
  31. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +9 -0
  32. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +1 -0
  33. package/styled-components/es/examples/plasma_b2c/components/Select/Select.js +2 -2
  34. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +33 -49
  35. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +34 -0
  36. package/styled-components/es/examples/plasma_web/components/Select/Select.js +6 -0
  37. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +817 -0
  38. package/styled-components/es/examples/plasma_web/components/Select/style.css +38 -0
  39. package/types/components/Dropdown/Dropdown.types.d.ts +5 -9
  40. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  41. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +12 -88
  42. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  43. package/types/components/Select/Select.d.ts +1 -0
  44. package/types/components/Select/Select.d.ts.map +1 -1
  45. package/types/components/Select/Select.types.d.ts +23 -21
  46. package/types/components/Select/Select.types.d.ts.map +1 -1
  47. package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts +1 -1
  48. package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts.map +1 -1
  49. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  50. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +1 -0
  51. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  52. package/types/examples/plasma_b2c/components/Select/Select.d.ts +14 -90
  53. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  54. package/types/examples/plasma_web/components/Select/Select.config.d.ts +33 -0
  55. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -0
  56. package/types/examples/plasma_web/components/Select/Select.d.ts +81 -0
  57. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -0
@@ -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"}