@salutejs/plasma-new-hope 0.188.0-canary.1552.11776095169.0 → 0.188.0-canary.1553.11777577645.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.css +0 -2
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.js +6 -31
  3. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +0 -2
  5. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +0 -2
  6. package/cjs/index.css +0 -2
  7. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -32
  8. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -5
  9. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +7 -33
  10. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -5
  11. package/es/components/Combobox/ComboboxNew/Combobox.css +0 -2
  12. package/es/components/Combobox/ComboboxNew/Combobox.js +8 -33
  13. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  14. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +0 -2
  15. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +0 -2
  16. package/es/index.css +0 -2
  17. package/package.json +5 -5
  18. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -32
  19. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -5
  20. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +7 -33
  21. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -5
  22. package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
  23. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  24. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +2 -40
  25. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  26. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +120 -1080
  27. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  28. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +120 -1080
  29. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  30. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.css +0 -1
  31. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -37
  32. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js.map +0 -1
  33. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -15
  34. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js.map +0 -1
  35. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles_22v2s5.css +0 -1
  36. package/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -55
  37. package/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js.map +0 -1
  38. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -38
  39. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -13
  40. package/emotion/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -53
  41. package/emotion/es/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -29
  42. package/emotion/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -6
  43. package/emotion/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -47
  44. package/es/components/Combobox/ComboboxNew/ui/Form/Form.css +0 -1
  45. package/es/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -33
  46. package/es/components/Combobox/ComboboxNew/ui/Form/Form.js.map +0 -1
  47. package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -11
  48. package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js.map +0 -1
  49. package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles_22v2s5.css +0 -1
  50. package/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -50
  51. package/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js.map +0 -1
  52. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -38
  53. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -12
  54. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -53
  55. package/styled-components/es/components/Combobox/ComboboxNew/ui/Form/Form.js +0 -29
  56. package/styled-components/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +0 -5
  57. package/styled-components/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +0 -47
  58. package/types/components/Combobox/ComboboxNew/ui/Form/Form.d.ts +0 -6
  59. package/types/components/Combobox/ComboboxNew/ui/Form/Form.d.ts.map +0 -1
  60. package/types/components/Combobox/ComboboxNew/ui/Form/Form.styles.d.ts +0 -3
  61. package/types/components/Combobox/ComboboxNew/ui/Form/Form.styles.d.ts.map +0 -1
  62. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts +0 -4
  63. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts.map +0 -1
@@ -1,47 +0,0 @@
1
- export var createEvent = function createEvent(ref) {
2
- if (ref.current) {
3
- var event = new Event('change', {
4
- bubbles: true
5
- });
6
- Object.defineProperty(event, 'target', {
7
- writable: false,
8
- value: ref.current
9
- });
10
- var syntheticEvent = createSyntheticEvent(event);
11
- return syntheticEvent;
12
- }
13
- return null;
14
- };
15
- export var createSyntheticEvent = function createSyntheticEvent(event) {
16
- var _isDefaultPrevented = false;
17
- var _isPropagationStopped = false;
18
- var preventDefault = function preventDefault() {
19
- _isDefaultPrevented = true;
20
- event.preventDefault();
21
- };
22
- var stopPropagation = function stopPropagation() {
23
- _isPropagationStopped = true;
24
- event.stopPropagation();
25
- };
26
- return {
27
- nativeEvent: event,
28
- currentTarget: event.currentTarget,
29
- target: event.target,
30
- bubbles: event.bubbles,
31
- cancelable: event.cancelable,
32
- defaultPrevented: event.defaultPrevented,
33
- eventPhase: event.eventPhase,
34
- isTrusted: event.isTrusted,
35
- preventDefault: preventDefault,
36
- isDefaultPrevented: function isDefaultPrevented() {
37
- return _isDefaultPrevented;
38
- },
39
- stopPropagation: stopPropagation,
40
- isPropagationStopped: function isPropagationStopped() {
41
- return _isPropagationStopped;
42
- },
43
- persist: function persist() {},
44
- timeStamp: event.timeStamp,
45
- type: event.type
46
- };
47
- };
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { ComboboxProps } from '../../Combobox.types';
3
- export declare const Form: React.ForwardRefExoticComponent<Pick<ComboboxProps<import("../..").ItemOption>, "name" | "value" | "multiple"> & {
4
- onChange: (value: React.ChangeEvent<HTMLSelectElement> | null) => void;
5
- } & React.RefAttributes<HTMLSelectElement>>;
6
- //# sourceMappingURL=Form.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAI7D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAQrD,eAAO,MAAM,IAAI;sBAHK,MAAM,WAAW,CAAC,iBAAiB,CAAC,GAAG,IAAI,KAAK,IAAI;2CAuBxE,CAAC"}
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const SelectHidden: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSelectElement> & import("react").SelectHTMLAttributes<HTMLSelectElement> & Record<never, unknown>>;
3
- //# sourceMappingURL=Form.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Form.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Form/Form.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,YAAY,iLAExB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { RefObject } from 'react';
2
- export declare const createEvent: (ref: RefObject<HTMLSelectElement>) => import("react").ChangeEvent<HTMLSelectElement> | null;
3
- export declare const createSyntheticEvent: <T extends Element, E extends Event>(event: E) => import("react").SyntheticEvent<T, E>;
4
- //# sourceMappingURL=syntheticEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"syntheticEvent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/syntheticEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,eAAO,MAAM,WAAW,QAAS,UAAU,iBAAiB,CAAC,0DAS5D,CAAC;AAEF,eAAO,MAAM,oBAAoB,wFA4BhC,CAAC"}