@salutejs/plasma-new-hope 0.193.1-canary.1561.11839785759.0 → 0.193.1-canary.1562.11858039838.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.js +18 -4
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  3. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  4. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  5. package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -4
  6. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
  7. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
  8. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
  9. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
  10. package/cjs/components/Dropdown/Dropdown.css +5 -4
  11. package/cjs/components/Dropdown/Dropdown.js +4 -2
  12. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  13. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
  14. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  15. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  16. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -1
  17. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  18. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
  19. package/cjs/components/Pagination/Pagination.css +2 -2
  20. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  21. package/cjs/components/Select/Select.css +2 -2
  22. package/cjs/components/Select/Select.js +4 -12
  23. package/cjs/components/Select/Select.js.map +1 -1
  24. package/cjs/components/Select/Select.tokens.js +1 -11
  25. package/cjs/components/Select/Select.tokens.js.map +1 -1
  26. package/cjs/components/Select/ui/Inner/Inner.css +2 -2
  27. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  28. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  29. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  30. package/cjs/components/Select/ui/Target/Target.css +2 -2
  31. package/cjs/components/Select/ui/Target/Target.js +4 -5
  32. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  33. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  34. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +20 -6
  35. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  36. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
  37. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  38. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
  39. package/cjs/index.css +7 -6
  40. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -4
  41. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  42. package/emotion/cjs/components/Dropdown/Dropdown.js +4 -2
  43. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  44. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
  45. package/emotion/cjs/components/Select/Select.js +4 -12
  46. package/emotion/cjs/components/Select/Select.tokens.js +1 -11
  47. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  48. package/emotion/cjs/components/Select/ui/Target/Target.js +4 -5
  49. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +26 -6
  50. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
  51. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -20
  52. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  53. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -20
  54. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  55. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +22 -4
  56. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  57. package/emotion/es/components/Dropdown/Dropdown.js +4 -2
  58. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  59. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
  60. package/emotion/es/components/Select/Select.js +4 -12
  61. package/emotion/es/components/Select/Select.tokens.js +1 -11
  62. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  63. package/emotion/es/components/Select/ui/Target/Target.js +4 -5
  64. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +26 -6
  65. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
  66. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +20 -20
  67. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  68. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +20 -20
  69. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  70. package/es/components/Combobox/ComboboxNew/Combobox.js +19 -5
  71. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  72. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  73. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  74. package/es/components/Combobox/ComboboxOld/Combobox.css +5 -4
  75. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
  76. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
  77. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
  78. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
  79. package/es/components/Dropdown/Dropdown.css +5 -4
  80. package/es/components/Dropdown/Dropdown.js +4 -2
  81. package/es/components/Dropdown/Dropdown.js.map +1 -1
  82. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
  83. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  84. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  85. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -2
  86. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  87. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
  88. package/es/components/Pagination/Pagination.css +2 -2
  89. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  90. package/es/components/Select/Select.css +2 -2
  91. package/es/components/Select/Select.js +4 -12
  92. package/es/components/Select/Select.js.map +1 -1
  93. package/es/components/Select/Select.tokens.js +1 -11
  94. package/es/components/Select/Select.tokens.js.map +1 -1
  95. package/es/components/Select/ui/Inner/Inner.css +2 -2
  96. package/es/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  97. package/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  98. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  99. package/es/components/Select/ui/Target/Target.css +2 -2
  100. package/es/components/Select/ui/Target/Target.js +4 -5
  101. package/es/components/Select/ui/Target/Target.js.map +1 -1
  102. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  103. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +21 -7
  104. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  105. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
  106. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  107. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
  108. package/es/index.css +7 -6
  109. package/package.json +3 -2
  110. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -4
  111. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  112. package/styled-components/cjs/components/Dropdown/Dropdown.js +4 -2
  113. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  114. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
  115. package/styled-components/cjs/components/Select/Select.js +4 -12
  116. package/styled-components/cjs/components/Select/Select.tokens.js +1 -11
  117. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  118. package/styled-components/cjs/components/Select/ui/Target/Target.js +4 -5
  119. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +26 -6
  120. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
  121. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +8 -8
  122. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  123. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +8 -8
  124. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  125. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +22 -4
  126. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  127. package/styled-components/es/components/Dropdown/Dropdown.js +4 -2
  128. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  129. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
  130. package/styled-components/es/components/Select/Select.js +4 -12
  131. package/styled-components/es/components/Select/Select.tokens.js +1 -11
  132. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  133. package/styled-components/es/components/Select/ui/Target/Target.js +4 -5
  134. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +26 -6
  135. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
  136. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +8 -8
  137. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
  138. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +8 -8
  139. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
  140. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  141. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -2
  142. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  143. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  144. package/types/components/Dropdown/Dropdown.d.ts +50 -2
  145. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  146. package/types/components/Dropdown/Dropdown.types.d.ts +11 -6
  147. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  148. package/types/components/Dropdown/index.d.ts +1 -0
  149. package/types/components/Dropdown/index.d.ts.map +1 -1
  150. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  151. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +1 -0
  152. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  153. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +0 -96
  154. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  155. package/types/components/Select/Select.d.ts.map +1 -1
  156. package/types/components/Select/Select.tokens.d.ts +1 -11
  157. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  158. package/types/components/Select/Select.types.d.ts +3 -6
  159. package/types/components/Select/Select.types.d.ts.map +1 -1
  160. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  161. package/types/components/Select/ui/Target/Target.d.ts +1 -2
  162. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  163. package/types/components/Select/ui/Target/Target.types.d.ts +2 -3
  164. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  165. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  166. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  167. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  168. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  169. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +25 -1
  170. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
  171. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  172. package/types/examples/plasma_b2c/components/Select/Select.d.ts +0 -96
  173. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  174. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +25 -1
  175. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
  176. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  177. package/types/examples/plasma_web/components/Select/Select.d.ts +0 -96
  178. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  179. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1b7iij0.css +0 -3
  180. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1b7iij0.css +0 -3
@@ -5,11 +5,59 @@ export declare const Context: React.Context<ItemContext>;
5
5
  /**
6
6
  * Выпадающий список.
7
7
  */
8
- export declare const dropdownRoot: (Root: RootProps<HTMLDivElement, Omit<DropdownProps, 'items'>>) => React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLDivElement>>;
8
+ export declare const dropdownRoot: (Root: RootProps<HTMLDivElement, Omit<DropdownProps, 'items'>>) => React.ForwardRefExoticComponent<{
9
+ items: import(".").DropdownItemOption[];
10
+ alwaysOpened?: boolean | undefined;
11
+ children?: React.ReactNode;
12
+ itemRole?: string | undefined;
13
+ onHover?: ((index: number) => void) | undefined;
14
+ onItemSelect?: ((item: import(".").DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
15
+ trigger?: import("./Dropdown.types").DropdownTrigger | undefined;
16
+ placement?: import("./Dropdown.types").DropdownPlacement | undefined;
17
+ offset?: [number, number] | undefined;
18
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
19
+ hasArrow?: boolean | undefined;
20
+ closeOnSelect?: boolean | undefined;
21
+ closeOnOverlayClick?: boolean | undefined;
22
+ onToggle?: ((isOpen: boolean, event: Event | React.SyntheticEvent<Element, Event>) => void) | undefined;
23
+ size?: string | undefined;
24
+ view?: string | undefined;
25
+ variant?: "normal" | "tight" | undefined;
26
+ portal?: string | React.RefObject<HTMLElement> | undefined;
27
+ renderItem?: ((item: import(".").DropdownItemOption) => React.ReactNode) | undefined;
28
+ onItemClick?: ((item: import(".").DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
29
+ listOverflow?: import("csstype").Property.Overflow | undefined;
30
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
31
+ hoverIndex?: number | undefined;
32
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
9
33
  export declare const dropdownConfig: {
10
34
  name: string;
11
35
  tag: string;
12
- layout: (Root: RootProps<HTMLDivElement, Omit<DropdownProps, 'items'>>) => React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLDivElement>>;
36
+ layout: (Root: RootProps<HTMLDivElement, Omit<DropdownProps, 'items'>>) => React.ForwardRefExoticComponent<{
37
+ items: import(".").DropdownItemOption[];
38
+ alwaysOpened?: boolean | undefined;
39
+ children?: React.ReactNode;
40
+ itemRole?: string | undefined;
41
+ onHover?: ((index: number) => void) | undefined;
42
+ onItemSelect?: ((item: import(".").DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
43
+ trigger?: import("./Dropdown.types").DropdownTrigger | undefined;
44
+ placement?: import("./Dropdown.types").DropdownPlacement | undefined;
45
+ offset?: [number, number] | undefined;
46
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
47
+ hasArrow?: boolean | undefined;
48
+ closeOnSelect?: boolean | undefined;
49
+ closeOnOverlayClick?: boolean | undefined;
50
+ onToggle?: ((isOpen: boolean, event: Event | React.SyntheticEvent<Element, Event>) => void) | undefined;
51
+ size?: string | undefined;
52
+ view?: string | undefined;
53
+ variant?: "normal" | "tight" | undefined;
54
+ portal?: string | React.RefObject<HTMLElement> | undefined;
55
+ renderItem?: ((item: import(".").DropdownItemOption) => React.ReactNode) | undefined;
56
+ onItemClick?: ((item: import(".").DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
57
+ listOverflow?: import("csstype").Property.Overflow | undefined;
58
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
59
+ hoverIndex?: number | undefined;
60
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
13
61
  base: import("@linaria/core").LinariaClassName;
14
62
  variations: {
15
63
  view: {
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,aAAa,EAA0B,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM3F,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,yFAyJrF,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA3JQ,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;CA4KzF,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,aAAa,EAA0B,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM3F,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;+EA2JrF,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA7JQ,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8KzF,CAAC"}
@@ -1,14 +1,14 @@
1
- import type { CSSProperties, HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
1
+ import type { HTMLAttributes, ReactNode, SyntheticEvent, CSSProperties } from 'react';
2
2
  import React from 'react';
3
3
  import { FocusedPathState } from './reducers/focusedPathReducer';
4
4
  import { DropdownItemOption } from './ui/DropdownItem/DropdownItem.type';
5
5
  export declare type DropdownPlacement = 'auto' | 'top' | 'right' | 'bottom' | 'left';
6
6
  export declare type DropdownTrigger = 'hover' | 'click';
7
- export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
7
+ export declare type DropdownProps<T extends DropdownItemOption = DropdownItemOption> = {
8
8
  /**
9
9
  * Список элементов.
10
10
  */
11
- items: Array<DropdownItemOption>;
11
+ items: T[];
12
12
  /**
13
13
  * Дропдаун открыт всегда.
14
14
  */
@@ -29,7 +29,7 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
29
29
  /**
30
30
  * Обработчик выбора item.
31
31
  */
32
- onItemSelect?: (item: DropdownItemOption, event: SyntheticEvent) => void;
32
+ onItemSelect?: (item: T, event: SyntheticEvent) => void;
33
33
  /**
34
34
  * Способ открытия дропдауна окна - наведение или клик мышью.
35
35
  * @default click
@@ -80,11 +80,15 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
80
80
  * Портал для выпадающего списка. Принимает id контейнера или ref.
81
81
  */
82
82
  portal?: string | React.RefObject<HTMLElement>;
83
+ /**
84
+ * Callback для кастомной настройки айтема в выпадающем списке.
85
+ */
86
+ renderItem?: (item: T) => React.ReactNode;
83
87
  /**
84
88
  * Обработчик клика по item.
85
89
  * @deprecated использовать onItemSelect.
86
90
  */
87
- onItemClick?: (item: DropdownItemOption, event: SyntheticEvent) => void;
91
+ onItemClick?: (item: T, event: SyntheticEvent) => void;
88
92
  /**
89
93
  * Значение css overflow для выпадающего меню.
90
94
  * @default initial
@@ -104,7 +108,7 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
104
108
  * @deprecated использовать onHover
105
109
  */
106
110
  hoverIndex?: number;
107
- }
111
+ } & HTMLAttributes<HTMLDivElement>;
108
112
  export declare type HandleGlobalToggleType = (opened: boolean, event: SyntheticEvent | Event) => void;
109
113
  export declare type PlacementType = 'auto' | 'top-start' | 'right-start' | 'bottom-start' | 'left-start';
110
114
  export declare type FloatingPopoverProps = {
@@ -130,5 +134,6 @@ export declare type ItemContext = {
130
134
  onItemClick: DropdownProps['onItemClick'];
131
135
  hasArrow: DropdownProps['hasArrow'];
132
136
  treeId: string;
137
+ renderItem: DropdownProps['renderItem'];
133
138
  };
134
139
  //# sourceMappingURL=Dropdown.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.types.d.ts","sourceRoot":"","sources":["../../../src/components/Drop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,eAAe,CAAC,CAAC;IAC9C,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,YAAY,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC5C,WAAW,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC1C,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;CAC3C,CAAC"}
@@ -4,4 +4,5 @@ export { useKeyNavigation as useDropdownKeyNavigation } from './hooks/useKeyboar
4
4
  export type { DropdownProps, DropdownPlacementBasic, DropdownPlacement, DropdownTrigger, } from './ui/DropdownOld/Dropdown.types';
5
5
  export type { DropdownItemProps, DropdownItemOption } from './ui/DropdownItem/DropdownItem.type';
6
6
  export * from './ui';
7
+ export type { DropdownProps as DropdownNewProps } from './Dropdown.types';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,YAAY,EACR,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,GAClB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACjG,cAAc,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,YAAY,EACR,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,GAClB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACjG,cAAc,MAAM,CAAC;AAErB,YAAY,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAc,MAAM,OAAO,CAAC;AASjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8G9C,CAAC"}
1
+ {"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAc,MAAM,OAAO,CAAC;AAgBjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAmH9C,CAAC"}
@@ -39,4 +39,5 @@ export declare const Divider: import("@linaria/react").StyledComponent<import("r
39
39
  export declare const Wrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & {
40
40
  variant: DropdownProps['variant'];
41
41
  }>;
42
+ export declare const RenderItemWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
42
43
  //# sourceMappingURL=DropdownItem.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAOrD,eAAO,MAAM,WAAW,qKAgBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAAiB,CAAC;AAEzC,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,OAAO;aAAyB,aAAa,CAAC,SAAS,CAAC;EASpE,CAAC;AAEF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAmDnE,CAAC"}
1
+ {"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAOrD,eAAO,MAAM,WAAW,qKAgBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAAiB,CAAC;AAEzC,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,OAAO;aAAyB,aAAa,CAAC,SAAS,CAAC;EASpE,CAAC;AAEF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAmDnE,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAG7B,CAAC"}
@@ -1,97 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const SelectPerPageRoot: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
3
  export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & (({
4
- requiredPlacement?: "left" | "right" | undefined;
5
- } & {
6
- required: true;
7
- optional?: false | undefined;
8
- } & {
9
- target?: "textfield-like" | undefined;
10
- view?: "default" | "warning" | "positive" | "negative" | undefined;
11
- contentLeft?: import("react").ReactNode;
12
- labelPlacement?: "inner" | "outer" | undefined;
13
- placeholder?: string | undefined;
14
- helperText?: string | undefined;
15
- } & {
16
- multiselect?: false | undefined;
17
- separator?: undefined;
18
- } & {
19
- value?: any;
20
- onChange?: ((value: any) => void) | undefined;
21
- listOverflow?: import("csstype").Property.Overflow | undefined;
22
- listHeight?: import("csstype").Property.Height<string | number> | undefined;
23
- placeholder?: string | undefined;
24
- helperText?: string | undefined;
25
- disabled?: boolean | undefined;
26
- items?: import("../../../Select").DropdownNodeSelect[] | undefined;
27
- onItemSelect?: ((e: import("../../../Select").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
28
- children?: undefined;
29
- isTargetAmount?: boolean | undefined;
30
- renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
31
- placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
32
- label?: string | undefined;
33
- onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
34
- variant?: "normal" | "tight" | undefined;
35
- listWidth?: import("csstype").Property.Width<string | number> | undefined;
36
- portal?: string | import("react").RefObject<HTMLElement> | undefined;
37
- renderValue?: ((item: import("../../../Select").DropdownNodeSelect) => string) | undefined;
38
- renderItem?: ((item: import("../../../Select").DropdownNodeSelect) => import("react").ReactNode) | undefined;
39
- closeAfterSelect?: boolean | undefined;
40
- size?: string | undefined;
41
- view?: string | undefined;
42
- chipView?: string | undefined;
43
- status?: "error" | "success" | "warning" | undefined;
44
- hasItems?: boolean | undefined;
45
- isOpen?: boolean | undefined;
46
- } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
47
- requiredPlacement?: "left" | "right" | undefined;
48
- } & {
49
- required: true;
50
- optional?: false | undefined;
51
- } & {
52
- target?: "textfield-like" | undefined;
53
- view?: "default" | "warning" | "positive" | "negative" | undefined;
54
- contentLeft?: import("react").ReactNode;
55
- labelPlacement?: "inner" | "outer" | undefined;
56
- placeholder?: string | undefined;
57
- helperText?: string | undefined;
58
- } & {
59
- multiselect?: true | undefined;
60
- separator?: string | undefined;
61
- } & {
62
- value?: any;
63
- onChange?: ((value: any) => void) | undefined;
64
- listOverflow?: import("csstype").Property.Overflow | undefined;
65
- listHeight?: import("csstype").Property.Height<string | number> | undefined;
66
- placeholder?: string | undefined;
67
- helperText?: string | undefined;
68
- disabled?: boolean | undefined;
69
- items?: import("../../../Select").DropdownNodeSelect[] | undefined;
70
- onItemSelect?: ((e: import("../../../Select").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
71
- children?: undefined;
72
- isTargetAmount?: boolean | undefined;
73
- renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
74
- placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
75
- label?: string | undefined;
76
- onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
77
- variant?: "normal" | "tight" | undefined;
78
- listWidth?: import("csstype").Property.Width<string | number> | undefined;
79
- portal?: string | import("react").RefObject<HTMLElement> | undefined;
80
- renderValue?: ((item: import("../../../Select").DropdownNodeSelect) => string) | undefined;
81
- renderItem?: ((item: import("../../../Select").DropdownNodeSelect) => import("react").ReactNode) | undefined;
82
- closeAfterSelect?: boolean | undefined;
83
- size?: string | undefined;
84
- view?: string | undefined;
85
- chipView?: string | undefined;
86
- status?: "error" | "success" | "warning" | undefined;
87
- hasItems?: boolean | undefined;
88
- isOpen?: boolean | undefined;
89
- } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
90
- requiredPlacement?: "left" | "right" | undefined;
91
- } & {
92
- optional?: true | undefined;
93
- required?: false | undefined;
94
- } & {
95
4
  target?: "textfield-like" | undefined;
96
5
  view?: "default" | "warning" | "positive" | "negative" | undefined;
97
6
  contentLeft?: import("react").ReactNode;
@@ -130,11 +39,6 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
130
39
  hasItems?: boolean | undefined;
131
40
  isOpen?: boolean | undefined;
132
41
  } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
133
- requiredPlacement?: "left" | "right" | undefined;
134
- } & {
135
- optional?: true | undefined;
136
- required?: false | undefined;
137
- } & {
138
42
  target?: "textfield-like" | undefined;
139
43
  view?: "default" | "warning" | "positive" | "negative" | undefined;
140
44
  contentLeft?: import("react").ReactNode;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLA6B/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLA6B/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,KAA4F,MAAM,OAAO,CAAC;AAGjH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAiB1C,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAiB,MAAM,gBAAgB,CAAC;AAIpF,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC,kJAiVzF,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAnVQ,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC;;;;;;;;;CA+V9F,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAGjH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAiB1C,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIrE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC,kJAsUzF,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAxUQ,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC;;;;;;;;;CAoV9F,CAAC"}
@@ -69,6 +69,7 @@ export declare const tokens: {
69
69
  textFieldBorderColorFocus: string;
70
70
  textFieldPlaceholderColor: string;
71
71
  textFieldPlaceholderColorFocus: string;
72
+ textFieldOptionalColor: string;
72
73
  textFieldHeight: string;
73
74
  textFieldBorderWidth: string;
74
75
  textFieldBorderRadius: string;
@@ -152,17 +153,6 @@ export declare const tokens: {
152
153
  textFieldChipLineHeight: string;
153
154
  textFieldChipClearContentMarginLeft: string;
154
155
  textFieldChipClearContentMarginRight: string;
155
- textFieldIndicatorColor: string;
156
- textFieldIndicatorSizeInner: string;
157
- textFieldIndicatorSizeOuter: string;
158
- textFieldIndicatorLabelPlacementInner: string;
159
- textFieldIndicatorLabelPlacementOuter: string;
160
- textFieldIndicatorLabelPlacementInnerRight: string;
161
- textFieldIndicatorLabelPlacementOuterRight: string;
162
- textFieldClearIndicatorLabelPlacementInner: string;
163
- textFieldClearIndicatorLabelPlacementInnerRight: string;
164
- textFieldClearIndicatorHintInnerRight: string;
165
- textFieldOptionalColor: string;
166
156
  textFieldFocusColor: string;
167
157
  disclosureIconColor: string;
168
158
  disclosureIconColorHover: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgMlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAmBrB,CAAC"}
1
+ {"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAmBrB,CAAC"}
@@ -1,13 +1,11 @@
1
1
  import type { CSSProperties, ButtonHTMLAttributes, SyntheticEvent } from 'react';
2
2
  import React from 'react';
3
- import type { RequiredProps } from '../TextField/TextField.types';
4
3
  import { FocusedPathState } from './reducers';
5
4
  import { ItemOption, MergedDropdownNode as DropdownNode, MergedDropdownNodeTransformed } from './ui/Inner/ui/Item/Item.types';
6
- import type { ValueToCheckedMapType, ValueToItemMapType } from './hooks/usePathMaps';
5
+ import type { ValueToCheckedMapType } from './hooks/usePathMaps';
7
6
  declare type SelectPlacementBasic = 'top' | 'bottom' | 'right' | 'left';
8
7
  declare type SelectPlacement = 'top' | 'bottom' | 'right' | 'left' | 'auto';
9
- export type { RequiredProps };
10
- declare type Target = (RequiredProps & {
8
+ declare type Target = {
11
9
  /**
12
10
  * Стиль селекта: button-like или textfield-like.
13
11
  * @default textfield-like
@@ -31,7 +29,7 @@ declare type Target = (RequiredProps & {
31
29
  * Вспомогательный текст снизу слева для поля ввода.
32
30
  */
33
31
  helperText?: string;
34
- }) | {
32
+ } | {
35
33
  target: 'button-like';
36
34
  view?: 'default' | 'accent' | 'secondary' | 'clear' | 'positive' | 'warning' | 'negative' | 'dark' | 'black' | 'white';
37
35
  contentLeft?: never;
@@ -143,7 +141,6 @@ export declare type ItemContext = {
143
141
  handleItemClick: (item: MergedDropdownNodeTransformed, e: React.MouseEvent<HTMLElement>) => void;
144
142
  variant: MergedSelectProps['variant'];
145
143
  renderItem: MergedSelectProps['renderItem'];
146
- valueToItemMap: ValueToItemMapType;
147
144
  treeId: string;
148
145
  };
149
146
  export declare type SelectPropsOld<T = any> = ({
@@ -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,cAAc,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EACH,UAAU,EACV,kBAAkB,IAAI,YAAY,EAClC,6BAA6B,EAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAErF,aAAK,oBAAoB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAChE,aAAK,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAEpE,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,aAAK,MAAM,GACL,CAAC,aAAa,GAAG;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,IAAI,CAAC,EAAE,SAAS,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E,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;IACjG,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,SAAS,EAAE,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC;IACvD,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Inner/ui/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAU,EAAE,EAAc,MAAM,OAAO,CAAC;AAStD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAazC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAqH9B,CAAC"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Inner/ui/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAU,EAAE,EAAc,MAAM,OAAO,CAAC;AAStD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAazC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAoH9B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare const Target: React.ForwardRefExoticComponent<Pick<import("../..").MergedSelectProps<any, import("../..").DropdownNodeSelect>, "label" | "view" | "placeholder" | "disabled" | "size" | "contentLeft" | "labelPlacement" | "helperText" | "multiselect" | "renderValue" | "isTargetAmount" | "chipView"> & {
2
+ export declare const Target: React.ForwardRefExoticComponent<Pick<import("../..").MergedSelectProps<any, import("../..").DropdownNodeSelect>, "label" | "view" | "target" | "placeholder" | "disabled" | "size" | "contentLeft" | "labelPlacement" | "helperText" | "multiselect" | "renderValue" | "isTargetAmount" | "chipView"> & {
3
3
  value: import("../../Select.types").DefaultValueType;
4
4
  opened: boolean;
5
5
  valueToItemMap: import("../../hooks/usePathMaps").ValueToItemMapType;
@@ -11,7 +11,6 @@ export declare const Target: React.ForwardRefExoticComponent<Pick<import("../.."
11
11
  activeDescendantItemValue: string;
12
12
  onChange: (newValue: string | number | (string | number)[]) => void;
13
13
  labelToItemMap: import("../../hooks/usePathMaps").LabelToItemMapType;
14
- requiredProps: import("../../Select.types").RequiredProps | undefined;
15
14
  separator?: string | undefined;
16
15
  } & React.RefAttributes<HTMLButtonElement>>;
17
16
  //# sourceMappingURL=Target.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;2CA0FlB,CAAC"}
1
+ {"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,eAAO,MAAM,MAAM;;;;;;;;;;;;;2CAyFlB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { KeyboardEvent, MutableRefObject } from 'react';
2
2
  import type { LabelToItemMapType, ValueToItemMapType } from '../../hooks/usePathMaps';
3
- import type { DefaultValueType, MergedSelectProps, RequiredProps } from '../../Select.types';
4
- export declare type TargetProps = Pick<MergedSelectProps, 'size' | 'view' | 'label' | 'labelPlacement' | 'placeholder' | 'contentLeft' | 'disabled' | 'renderValue' | 'multiselect' | 'helperText' | 'isTargetAmount' | 'chipView'> & {
3
+ import type { DefaultValueType, MergedSelectProps } from '../../Select.types';
4
+ export declare type TargetProps = Pick<MergedSelectProps, 'size' | 'view' | 'label' | 'labelPlacement' | 'placeholder' | 'contentLeft' | 'disabled' | 'renderValue' | 'multiselect' | 'helperText' | 'isTargetAmount' | 'target' | 'chipView'> & {
5
5
  value: DefaultValueType;
6
6
  opened: boolean;
7
7
  valueToItemMap: ValueToItemMapType;
@@ -13,7 +13,6 @@ export declare type TargetProps = Pick<MergedSelectProps, 'size' | 'view' | 'lab
13
13
  activeDescendantItemValue: string;
14
14
  onChange: (newValue: string | number | Array<string | number>) => void;
15
15
  labelToItemMap: LabelToItemMapType;
16
- requiredProps: RequiredProps | undefined;
17
16
  separator?: string;
18
17
  };
19
18
  //# sourceMappingURL=Target.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAE7F,oBAAY,WAAW,GAAG,IAAI,CAC1B,iBAAiB,EACf,MAAM,GACN,MAAM,GACN,OAAO,GACP,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,UAAU,GACV,aAAa,GACb,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,UAAU,CACf,GAAG;IACA,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,kBAAkB,CAAC;IACnC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACvD,WAAW,EAAE,iBAAiB,CAAC;IAC/B,eAAe,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAClD,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,yBAAyB,EAAE,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;IACvE,cAAc,EAAE,kBAAkB,CAAC;IACnC,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE9E,oBAAY,WAAW,GAAG,IAAI,CAC1B,iBAAiB,EACf,MAAM,GACN,MAAM,GACN,OAAO,GACP,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,UAAU,GACV,aAAa,GACb,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,QAAQ,GACR,UAAU,CACf,GAAG;IACA,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,kBAAkB,CAAC;IACnC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACvD,WAAW,EAAE,iBAAiB,CAAC;IAC/B,eAAe,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAClD,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,yBAAyB,EAAE,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;IACvE,cAAc,EAAE,kBAAkB,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,SAAS,yFA+FrB,CAAC"}
1
+ {"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,SAAS,yFAiHrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Textfield.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.styles.tsx"],"names":[],"mappings":";AAUA,eAAO,MAAM,eAAe;YAA+B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sJAoIjE,CAAC;AAEF,eAAO,MAAM,gBAAgB;cAA0B,OAAO;EAc7D,CAAC;AAEF,eAAO,MAAM,WAAW,6GAAuC,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { TargetProps } from '../../Target.types';
2
- export declare type TextfieldProps = Pick<TargetProps, 'inputWrapperRef' | 'opened' | 'multiselect' | 'value' | 'label' | 'placeholder' | 'onKeyDown' | 'labelPlacement' | 'size' | 'view' | 'handleClickArrow' | 'contentLeft' | 'helperText' | 'treeId' | 'activeDescendantItemValue' | 'disabled' | 'isTargetAmount' | 'valueToItemMap' | 'renderValue' | 'onChange' | 'labelToItemMap' | 'chipView' | 'requiredProps'>;
2
+ export declare type TextfieldProps = Pick<TargetProps, 'inputWrapperRef' | 'opened' | 'multiselect' | 'value' | 'label' | 'placeholder' | 'onKeyDown' | 'labelPlacement' | 'size' | 'view' | 'handleClickArrow' | 'contentLeft' | 'helperText' | 'treeId' | 'activeDescendantItemValue' | 'disabled' | 'isTargetAmount' | 'valueToItemMap' | 'renderValue' | 'onChange' | 'labelToItemMap' | 'chipView'>;
3
3
  //# sourceMappingURL=Textfield.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Textfield.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,cAAc,GAAG,IAAI,CAC7B,WAAW,EACT,iBAAiB,GACjB,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,aAAa,GACb,WAAW,GACX,gBAAgB,GAChB,MAAM,GACN,MAAM,GACN,kBAAkB,GAClB,aAAa,GACb,YAAY,GACZ,QAAQ,GACR,2BAA2B,GAC3B,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,UAAU,GACV,gBAAgB,GAChB,UAAU,GACV,eAAe,CACpB,CAAC"}
1
+ {"version":3,"file":"Textfield.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,cAAc,GAAG,IAAI,CAC7B,WAAW,EACT,iBAAiB,GACjB,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,aAAa,GACb,WAAW,GACX,gBAAgB,GAChB,MAAM,GACN,MAAM,GACN,kBAAkB,GAClB,aAAa,GACb,YAAY,GACZ,QAAQ,GACR,2BAA2B,GAC3B,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,UAAU,GACV,gBAAgB,GAChB,UAAU,CACf,CAAC"}
@@ -9,5 +9,29 @@ export declare const Dropdown: import("react").FunctionComponent<import("../../.
9
9
  view: {
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
12
- }> & import("../../../../components/Dropdown/Dropdown.types").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ }> & {
13
+ items: import("../../../../components/Dropdown").DropdownItemOption[];
14
+ alwaysOpened?: boolean | undefined;
15
+ children?: import("react").ReactNode;
16
+ itemRole?: string | undefined;
17
+ onHover?: ((index: number) => void) | undefined;
18
+ onItemSelect?: ((item: import("../../../../components/Dropdown").DropdownItemOption, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
19
+ trigger?: import("../../../../components/Dropdown/Dropdown.types").DropdownTrigger | undefined;
20
+ placement?: import("../../../../components/Dropdown/Dropdown.types").DropdownPlacement | undefined;
21
+ offset?: [number, number] | undefined;
22
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
23
+ hasArrow?: boolean | undefined;
24
+ closeOnSelect?: boolean | undefined;
25
+ closeOnOverlayClick?: boolean | undefined;
26
+ onToggle?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
27
+ size?: string | undefined;
28
+ view?: string | undefined;
29
+ variant?: "normal" | "tight" | undefined;
30
+ portal?: string | import("react").RefObject<HTMLElement> | undefined;
31
+ renderItem?: ((item: import("../../../../components/Dropdown").DropdownItemOption) => import("react").ReactNode) | undefined;
32
+ onItemClick?: ((item: import("../../../../components/Dropdown").DropdownItemOption, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
33
+ listOverflow?: import("csstype").Property.Overflow | undefined;
34
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
35
+ hoverIndex?: number | undefined;
36
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
13
37
  //# sourceMappingURL=Dropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;4HAA0B,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mGAA0B,CAAC"}
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4sBlB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwpBlB,CAAC"}