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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.css +2 -0
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.js +42 -24
  3. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
  5. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
  6. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  7. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  8. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
  9. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +39 -0
  10. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
  11. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +15 -0
  12. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
  13. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
  14. package/cjs/components/Combobox/ComboboxOld/Combobox.css +4 -5
  15. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -5
  16. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -5
  17. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -5
  18. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -5
  19. package/cjs/components/Dropdown/Dropdown.css +4 -5
  20. package/cjs/components/Dropdown/Dropdown.js +2 -4
  21. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  22. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -5
  23. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
  24. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  25. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -7
  26. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  27. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_14yih1y.css → DropdownItem.styles_1b439rx.css} +0 -1
  28. package/cjs/components/Select/Select.js +1 -0
  29. package/cjs/components/Select/Select.js.map +1 -1
  30. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +2 -1
  31. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  32. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -18
  33. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  34. package/cjs/index.css +6 -5
  35. package/cjs/index.js +2 -0
  36. package/cjs/index.js.map +1 -1
  37. package/cjs/utils/createEvent.js +54 -0
  38. package/cjs/utils/createEvent.js.map +1 -0
  39. package/cjs/utils/index.js.map +1 -1
  40. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +43 -29
  41. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  42. package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
  43. package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +13 -0
  44. package/emotion/cjs/components/Dropdown/Dropdown.js +2 -4
  45. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
  46. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +11 -15
  47. package/emotion/cjs/components/Select/Select.js +1 -0
  48. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +2 -1
  49. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -24
  50. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  51. package/emotion/cjs/utils/createEvent.js +53 -0
  52. package/emotion/cjs/utils/index.js +10 -1
  53. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +44 -29
  54. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  55. package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
  56. package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +6 -0
  57. package/emotion/es/components/Dropdown/Dropdown.js +2 -4
  58. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -4
  59. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +11 -15
  60. package/emotion/es/components/Select/Select.js +1 -0
  61. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +2 -1
  62. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -24
  63. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  64. package/emotion/es/utils/createEvent.js +47 -0
  65. package/emotion/es/utils/index.js +1 -0
  66. package/es/components/Combobox/ComboboxNew/Combobox.css +2 -0
  67. package/es/components/Combobox/ComboboxNew/Combobox.js +44 -26
  68. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  69. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
  70. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
  71. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  72. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  73. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
  74. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +35 -0
  75. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
  76. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +11 -0
  77. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
  78. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
  79. package/es/components/Combobox/ComboboxOld/Combobox.css +4 -5
  80. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -5
  81. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -5
  82. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -5
  83. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -5
  84. package/es/components/Dropdown/Dropdown.css +4 -5
  85. package/es/components/Dropdown/Dropdown.js +2 -4
  86. package/es/components/Dropdown/Dropdown.js.map +1 -1
  87. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -5
  88. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -4
  89. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  90. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -7
  91. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  92. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_14yih1y.css → DropdownItem.styles_1b439rx.css} +0 -1
  93. package/es/components/Select/Select.js +1 -0
  94. package/es/components/Select/Select.js.map +1 -1
  95. package/es/components/Select/ui/Inner/ui/Item/Item.js +2 -1
  96. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  97. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +4 -19
  98. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  99. package/es/index.css +6 -5
  100. package/es/index.js +1 -0
  101. package/es/index.js.map +1 -1
  102. package/es/utils/createEvent.js +50 -0
  103. package/es/utils/createEvent.js.map +1 -0
  104. package/es/utils/index.js.map +1 -1
  105. package/package.json +2 -3
  106. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +43 -29
  107. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  108. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
  109. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +12 -0
  110. package/styled-components/cjs/components/Dropdown/Dropdown.js +2 -4
  111. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -3
  112. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -5
  113. package/styled-components/cjs/components/Select/Select.js +1 -0
  114. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +2 -1
  115. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -24
  116. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  117. package/styled-components/cjs/utils/createEvent.js +53 -0
  118. package/styled-components/cjs/utils/index.js +10 -1
  119. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +44 -29
  120. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  121. package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
  122. package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +5 -0
  123. package/styled-components/es/components/Dropdown/Dropdown.js +2 -4
  124. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -4
  125. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -5
  126. package/styled-components/es/components/Select/Select.js +1 -0
  127. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +2 -1
  128. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +3 -24
  129. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  130. package/styled-components/es/utils/createEvent.js +47 -0
  131. package/styled-components/es/utils/index.js +1 -0
  132. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  133. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +26 -3
  134. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  135. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  136. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +6 -0
  137. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts.map +1 -0
  138. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts +3 -0
  139. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts.map +1 -0
  140. package/types/components/Dropdown/Dropdown.d.ts +2 -50
  141. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  142. package/types/components/Dropdown/Dropdown.types.d.ts +6 -11
  143. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  144. package/types/components/Dropdown/index.d.ts +0 -1
  145. package/types/components/Dropdown/index.d.ts.map +1 -1
  146. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  147. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +0 -1
  148. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  149. package/types/components/Select/Select.d.ts.map +1 -1
  150. package/types/components/Select/Select.types.d.ts +2 -1
  151. package/types/components/Select/Select.types.d.ts.map +1 -1
  152. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  153. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  154. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1076 -116
  155. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  156. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +1 -25
  157. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
  158. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1076 -116
  159. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  160. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +1 -25
  161. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
  162. package/types/utils/createEvent.d.ts +3 -0
  163. package/types/utils/createEvent.d.ts.map +1 -0
  164. package/types/utils/index.d.ts +1 -0
  165. package/types/utils/index.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Combobox/Combobox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAIxE,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAET,YAAY,GAAG,IAAI,CAAC;AAEzB,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -9,29 +9,5 @@ export declare const Dropdown: import("react").FunctionComponent<import("../../.
9
9
  view: {
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
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>>;
12
+ }> & import("../../../../components/Dropdown/Dropdown.types").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
37
13
  //# sourceMappingURL=Dropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mGAA0B,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;4HAA0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { RefObject } from 'react';
2
+ export declare const createEvent: <T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>(ref: RefObject<T>) => import("react").ChangeEvent<T> | null;
3
+ //# sourceMappingURL=createEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createEvent.d.ts","sourceRoot":"","sources":["../../src/utils/createEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,eAAO,MAAM,WAAW,oIAWvB,CAAC"}
@@ -6,6 +6,7 @@ export { IS_REACT_18, safeUseId } from './react';
6
6
  export { isNumber } from './isNumber';
7
7
  export { mergeRefs, setRefList } from './setRefList';
8
8
  export { isEmpty } from './isEmpty';
9
+ export { createEvent } from './createEvent';
9
10
  export * as constants from './constants';
10
11
  export * from './getPopoverPlacement';
11
12
  export { noop } from './noop';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CA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