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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) 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.js +6 -4
  4. package/cjs/components/Select/Select.js.map +1 -1
  5. package/cjs/components/Select/hooks/useKeyboardNavigation.js +9 -0
  6. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  7. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
  8. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  9. package/es/components/Select/Select.js +6 -4
  10. package/es/components/Select/Select.js.map +1 -1
  11. package/es/components/Select/hooks/useKeyboardNavigation.js +9 -0
  12. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  13. package/package.json +2 -2
  14. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
  15. package/styled-components/cjs/components/Select/Select.js +6 -4
  16. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +9 -0
  17. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +1 -0
  18. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +20 -48
  19. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
  20. package/styled-components/es/components/Select/Select.js +6 -4
  21. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +9 -0
  22. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +1 -0
  23. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +20 -48
  24. package/types/components/Dropdown/Dropdown.types.d.ts +5 -9
  25. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  26. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +4 -96
  27. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  28. package/types/components/Select/Select.d.ts +1 -0
  29. package/types/components/Select/Select.d.ts.map +1 -1
  30. package/types/components/Select/Select.types.d.ts +2 -4
  31. package/types/components/Select/Select.types.d.ts.map +1 -1
  32. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  33. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +1 -0
  34. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  35. package/types/examples/plasma_b2c/components/Select/Select.d.ts +4 -96
  36. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
@@ -39,7 +39,7 @@ declare type IsMultiselect = {
39
39
  separator?: string;
40
40
  isTargetAmount?: boolean;
41
41
  };
42
- declare type BasicProps = {
42
+ export interface BasicProps {
43
43
  /**
44
44
  * Список элементов.
45
45
  */
@@ -90,13 +90,11 @@ declare type BasicProps = {
90
90
  variant?: 'normal' | 'tight';
91
91
  /**
92
92
  * Значение css overflow для выпадающего меню.
93
- * @default initial
94
93
  * @example listOverflow="scroll"
95
94
  */
96
95
  listOverflow?: CSSProperties['overflow'];
97
96
  /**
98
97
  * Значение css height для выпадающего меню.
99
- * @default initial
100
98
  * @example listHeight="11", listHeight="auto", listHeight={11}
101
99
  */
102
100
  listHeight?: number | CSSProperties['height'];
@@ -140,7 +138,7 @@ declare type BasicProps = {
140
138
  * @deprecated
141
139
  */
142
140
  status?: 'warning' | 'success' | 'error';
143
- };
141
+ }
144
142
  export declare type SelectProps = BasicProps & IsMultiselect & Target & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'onChange' | 'onResize' | 'onResizeCapture' | 'nonce'>;
145
143
  export declare type ItemContext = {
146
144
  focusedPath: FocusedPathState;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.types.d.ts","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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 +1 @@
1
- {"version":3,"file":"useKeyboardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/hooks/useKeyboardNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAIvF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;CAchB,CAAC;AAQF,UAAU,KAAK;IACX,WAAW,EAAE,gBAAgB,CAAC;IAC9B,mBAAmB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACjD,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IACnC,OAAO,EAAE,WAAW,CAAC;IACrB,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,eAAe,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC1F,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,wBAAwB,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IAC3D,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,cAAc,EAAE,kBAAkB,CAAC;IACnC,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACjD;AAED,UAAU,aAAa;IACnB,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAChE;AAED,eAAO,MAAM,gBAAgB,yNAe1B,KAAK,KAAG,aAyNV,CAAC"}
1
+ {"version":3,"file":"useKeyboardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/hooks/useKeyboardNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAs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  variations: {
@@ -1 +1 @@
1
- {"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6YlB,CAAC"}
1
+ {"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8YlB,CAAC"}
@@ -24,30 +24,7 @@ export declare const Select: import("react").FunctionComponent<import("../../../
24
24
  secondary: import("@linaria/core").LinariaClassName;
25
25
  accent: import("@linaria/core").LinariaClassName;
26
26
  };
27
- }> & (({
28
- items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
29
- placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
30
- label?: string | undefined;
31
- labelPlacement?: "inner" | "outer" | undefined;
32
- placeholder?: string | undefined;
33
- helperText?: string | undefined;
34
- disabled?: boolean | undefined;
35
- onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
36
- isInfiniteLoading?: boolean | undefined;
37
- notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
38
- variant?: "normal" | "tight" | undefined;
39
- listOverflow?: import("csstype").Property.Overflow | undefined;
40
- listHeight?: import("csstype").Property.Height<string | number> | undefined;
41
- listWidth?: import("csstype").Property.Width<string | number> | undefined;
42
- portal?: string | import("react").RefObject<HTMLElement> | undefined;
43
- renderValue?: ((value: string, label: string) => string) | undefined;
44
- size?: string | undefined;
45
- view?: string | undefined;
46
- chipView?: string | undefined;
47
- multiselect?: boolean | undefined;
48
- isOpen?: boolean | undefined;
49
- status?: "error" | "success" | "warning" | undefined;
50
- } & {
27
+ }> & ((import("../../../../components/Select/Select.types").BasicProps & {
51
28
  value: string;
52
29
  onChange: (value: string) => void;
53
30
  separator?: undefined;
@@ -56,30 +33,7 @@ export declare const Select: import("react").FunctionComponent<import("../../../
56
33
  target?: "textfield" | undefined;
57
34
  view?: "default" | "warning" | "positive" | "negative" | undefined;
58
35
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
59
- } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
60
- items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
61
- placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
62
- label?: string | undefined;
63
- labelPlacement?: "inner" | "outer" | undefined;
64
- placeholder?: string | undefined;
65
- helperText?: string | undefined;
66
- disabled?: boolean | undefined;
67
- onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
68
- isInfiniteLoading?: boolean | undefined;
69
- notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
70
- variant?: "normal" | "tight" | undefined;
71
- listOverflow?: import("csstype").Property.Overflow | undefined;
72
- listHeight?: import("csstype").Property.Height<string | number> | undefined;
73
- listWidth?: import("csstype").Property.Width<string | number> | undefined;
74
- portal?: string | import("react").RefObject<HTMLElement> | undefined;
75
- renderValue?: ((value: string, label: string) => string) | undefined;
76
- size?: string | undefined;
77
- view?: string | undefined;
78
- chipView?: string | undefined;
79
- multiselect?: boolean | undefined;
80
- isOpen?: boolean | undefined;
81
- status?: "error" | "success" | "warning" | undefined;
82
- } & {
36
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
83
37
  value: string;
84
38
  onChange: (value: string) => void;
85
39
  separator?: undefined;
@@ -88,30 +42,7 @@ export declare const Select: import("react").FunctionComponent<import("../../../
88
42
  target?: "button" | undefined;
89
43
  view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
90
44
  contentLeft?: undefined;
91
- } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
92
- items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
93
- placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
94
- label?: string | undefined;
95
- labelPlacement?: "inner" | "outer" | undefined;
96
- placeholder?: string | undefined;
97
- helperText?: string | undefined;
98
- disabled?: boolean | undefined;
99
- onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
100
- isInfiniteLoading?: boolean | undefined;
101
- notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
102
- variant?: "normal" | "tight" | undefined;
103
- listOverflow?: import("csstype").Property.Overflow | undefined;
104
- listHeight?: import("csstype").Property.Height<string | number> | undefined;
105
- listWidth?: import("csstype").Property.Width<string | number> | undefined;
106
- portal?: string | import("react").RefObject<HTMLElement> | undefined;
107
- renderValue?: ((value: string, label: string) => string) | undefined;
108
- size?: string | undefined;
109
- view?: string | undefined;
110
- chipView?: string | undefined;
111
- multiselect?: boolean | undefined;
112
- isOpen?: boolean | undefined;
113
- status?: "error" | "success" | "warning" | undefined;
114
- } & {
45
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
115
46
  value: string[];
116
47
  onChange: (value: string[]) => void;
117
48
  separator?: string | undefined;
@@ -120,30 +51,7 @@ export declare const Select: import("react").FunctionComponent<import("../../../
120
51
  target?: "textfield" | undefined;
121
52
  view?: "default" | "warning" | "positive" | "negative" | undefined;
122
53
  contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
123
- } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
124
- items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
125
- placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
126
- label?: string | undefined;
127
- labelPlacement?: "inner" | "outer" | undefined;
128
- placeholder?: string | undefined;
129
- helperText?: string | undefined;
130
- disabled?: boolean | undefined;
131
- onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
132
- isInfiniteLoading?: boolean | undefined;
133
- notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
134
- variant?: "normal" | "tight" | undefined;
135
- listOverflow?: import("csstype").Property.Overflow | undefined;
136
- listHeight?: import("csstype").Property.Height<string | number> | undefined;
137
- listWidth?: import("csstype").Property.Width<string | number> | undefined;
138
- portal?: string | import("react").RefObject<HTMLElement> | undefined;
139
- renderValue?: ((value: string, label: string) => string) | undefined;
140
- size?: string | undefined;
141
- view?: string | undefined;
142
- chipView?: string | undefined;
143
- multiselect?: boolean | undefined;
144
- isOpen?: boolean | undefined;
145
- status?: "error" | "success" | "warning" | undefined;
146
- } & {
54
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
147
55
  value: string[];
148
56
  onChange: (value: string[]) => void;
149
57
  separator?: string | undefined;
@@ -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,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAA0B,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,CAAC"}