@salutejs/plasma-new-hope 0.68.0-canary.1104.8452362346.0 → 0.68.0-canary.1148.8452223133.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. package/cjs/components/Cell/Cell.css +3 -0
  2. package/cjs/components/Cell/Cell.js +71 -0
  3. package/cjs/components/Cell/Cell.js.map +1 -0
  4. package/cjs/components/Cell/Cell.styles.js +36 -0
  5. package/cjs/components/Cell/Cell.styles.js.map +1 -0
  6. package/cjs/components/Cell/Cell.tokens.js +50 -0
  7. package/cjs/components/Cell/Cell.tokens.js.map +1 -0
  8. package/cjs/components/Cell/Textbox/Textbox.js +20 -0
  9. package/cjs/components/Cell/Textbox/Textbox.js.map +1 -0
  10. package/cjs/components/Cell/Textbox/Textbox.styles.js +13 -0
  11. package/cjs/components/Cell/Textbox/Textbox.styles.js.map +1 -0
  12. package/cjs/components/Cell/Textbox/ui/TextLabel.js +17 -0
  13. package/cjs/components/Cell/Textbox/ui/TextLabel.js.map +1 -0
  14. package/cjs/components/Cell/Textbox/ui/TextSubtitle.js +17 -0
  15. package/cjs/components/Cell/Textbox/ui/TextSubtitle.js.map +1 -0
  16. package/cjs/components/Cell/Textbox/ui/TextTitle.js +17 -0
  17. package/cjs/components/Cell/Textbox/ui/TextTitle.js.map +1 -0
  18. package/cjs/components/Cell/variations/_size/base.js +9 -0
  19. package/cjs/components/Cell/variations/_size/base.js.map +1 -0
  20. package/cjs/components/Cell/variations/_size/base_x642ct.css +1 -0
  21. package/cjs/components/Cell/variations/_stretching/base.js +9 -0
  22. package/cjs/components/Cell/variations/_stretching/base.js.map +1 -0
  23. package/cjs/components/Cell/variations/_stretching/base_1ryz4br.css +1 -0
  24. package/cjs/components/Cell/variations/_view/base.js +9 -0
  25. package/cjs/components/Cell/variations/_view/base.js.map +1 -0
  26. package/cjs/components/Cell/variations/_view/base_2qgj2i.css +1 -0
  27. package/cjs/components/Dropdown/Dropdown.js +1 -2
  28. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  29. package/cjs/components/Popover/Popover.js +31 -46
  30. package/cjs/components/Popover/Popover.js.map +1 -1
  31. package/cjs/index.css +4 -0
  32. package/cjs/index.js +14 -0
  33. package/cjs/index.js.map +1 -1
  34. package/es/components/Cell/Cell.css +3 -0
  35. package/es/components/Cell/Cell.js +66 -0
  36. package/es/components/Cell/Cell.js.map +1 -0
  37. package/es/components/Cell/Cell.styles.js +29 -0
  38. package/es/components/Cell/Cell.styles.js.map +1 -0
  39. package/es/components/Cell/Cell.tokens.js +45 -0
  40. package/es/components/Cell/Cell.tokens.js.map +1 -0
  41. package/es/components/Cell/Textbox/Textbox.js +16 -0
  42. package/es/components/Cell/Textbox/Textbox.js.map +1 -0
  43. package/es/components/Cell/Textbox/Textbox.styles.js +9 -0
  44. package/es/components/Cell/Textbox/Textbox.styles.js.map +1 -0
  45. package/es/components/Cell/Textbox/ui/TextLabel.js +13 -0
  46. package/es/components/Cell/Textbox/ui/TextLabel.js.map +1 -0
  47. package/es/components/Cell/Textbox/ui/TextSubtitle.js +13 -0
  48. package/es/components/Cell/Textbox/ui/TextSubtitle.js.map +1 -0
  49. package/es/components/Cell/Textbox/ui/TextTitle.js +13 -0
  50. package/es/components/Cell/Textbox/ui/TextTitle.js.map +1 -0
  51. package/es/components/Cell/variations/_size/base.js +5 -0
  52. package/es/components/Cell/variations/_size/base.js.map +1 -0
  53. package/es/components/Cell/variations/_size/base_x642ct.css +1 -0
  54. package/es/components/Cell/variations/_stretching/base.js +5 -0
  55. package/es/components/Cell/variations/_stretching/base.js.map +1 -0
  56. package/es/components/Cell/variations/_stretching/base_1ryz4br.css +1 -0
  57. package/es/components/Cell/variations/_view/base.js +5 -0
  58. package/es/components/Cell/variations/_view/base.js.map +1 -0
  59. package/es/components/Cell/variations/_view/base_2qgj2i.css +1 -0
  60. package/es/components/Dropdown/Dropdown.js +1 -2
  61. package/es/components/Dropdown/Dropdown.js.map +1 -1
  62. package/es/components/Popover/Popover.js +31 -46
  63. package/es/components/Popover/Popover.js.map +1 -1
  64. package/es/index.css +4 -0
  65. package/es/index.js +6 -0
  66. package/es/index.js.map +1 -1
  67. package/package.json +2 -2
  68. package/styled-components/cjs/components/Cell/Cell.js +71 -0
  69. package/styled-components/cjs/components/Cell/Cell.styles.js +32 -0
  70. package/styled-components/cjs/components/Cell/Cell.tokens.js +48 -0
  71. package/styled-components/cjs/components/Cell/Cell.types.js +5 -0
  72. package/styled-components/cjs/components/Cell/Textbox/Textbox.js +19 -0
  73. package/styled-components/cjs/components/Cell/Textbox/Textbox.styles.js +12 -0
  74. package/styled-components/cjs/components/Cell/Textbox/Textbox.types.js +5 -0
  75. package/styled-components/cjs/components/Cell/Textbox/ui/TextLabel.js +16 -0
  76. package/styled-components/cjs/components/Cell/Textbox/ui/TextSubtitle.js +16 -0
  77. package/styled-components/cjs/components/Cell/Textbox/ui/TextTitle.js +16 -0
  78. package/styled-components/cjs/components/Cell/index.js +59 -0
  79. package/styled-components/cjs/components/Cell/variations/_size/base.js +8 -0
  80. package/styled-components/cjs/components/Cell/variations/_size/tokens.json +1 -0
  81. package/styled-components/cjs/components/Cell/variations/_stretching/base.js +9 -0
  82. package/styled-components/cjs/components/Cell/variations/_stretching/tokens.json +1 -0
  83. package/styled-components/cjs/components/Cell/variations/_view/base.js +9 -0
  84. package/styled-components/cjs/components/Cell/variations/_view/tokens.json +1 -0
  85. package/styled-components/cjs/components/Dropdown/Dropdown.js +1 -2
  86. package/styled-components/cjs/components/Popover/Popover.js +31 -46
  87. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.config.js +31 -0
  88. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +35 -0
  89. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +131 -0
  90. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  91. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  92. package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
  93. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +31 -0
  94. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +35 -0
  95. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +131 -0
  96. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  97. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  98. package/styled-components/cjs/index.js +11 -0
  99. package/styled-components/es/components/Cell/Cell.js +62 -0
  100. package/styled-components/es/components/Cell/Cell.styles.js +25 -0
  101. package/styled-components/es/components/Cell/Cell.tokens.js +42 -0
  102. package/styled-components/es/components/Cell/Cell.types.js +1 -0
  103. package/styled-components/es/components/Cell/Textbox/Textbox.js +12 -0
  104. package/styled-components/es/components/Cell/Textbox/Textbox.styles.js +5 -0
  105. package/styled-components/es/components/Cell/Textbox/Textbox.types.js +1 -0
  106. package/styled-components/es/components/Cell/Textbox/ui/TextLabel.js +9 -0
  107. package/styled-components/es/components/Cell/Textbox/ui/TextSubtitle.js +9 -0
  108. package/styled-components/es/components/Cell/Textbox/ui/TextTitle.js +9 -0
  109. package/styled-components/es/components/Cell/index.js +6 -0
  110. package/styled-components/es/components/Cell/variations/_size/base.js +2 -0
  111. package/styled-components/es/components/Cell/variations/_size/tokens.json +1 -0
  112. package/styled-components/es/components/Cell/variations/_stretching/base.js +3 -0
  113. package/styled-components/es/components/Cell/variations/_stretching/tokens.json +1 -0
  114. package/styled-components/es/components/Cell/variations/_view/base.js +3 -0
  115. package/styled-components/es/components/Cell/variations/_view/tokens.json +1 -0
  116. package/styled-components/es/components/Dropdown/Dropdown.js +1 -2
  117. package/styled-components/es/components/Popover/Popover.js +31 -46
  118. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +25 -0
  119. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +6 -0
  120. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +131 -0
  121. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  122. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  123. package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
  124. package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +25 -0
  125. package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +6 -0
  126. package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +131 -0
  127. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +1 -1
  128. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +1 -1
  129. package/styled-components/es/index.js +1 -0
  130. package/types/components/Cell/Cell.d.ts +27 -0
  131. package/types/components/Cell/Cell.d.ts.map +1 -0
  132. package/types/components/Cell/Cell.styles.d.ts +10 -0
  133. package/types/components/Cell/Cell.styles.d.ts.map +1 -0
  134. package/types/components/Cell/Cell.tokens.d.ts +43 -0
  135. package/types/components/Cell/Cell.tokens.d.ts.map +1 -0
  136. package/types/components/Cell/Cell.types.d.ts +46 -0
  137. package/types/components/Cell/Cell.types.d.ts.map +1 -0
  138. package/types/components/Cell/Textbox/Textbox.d.ts +4 -0
  139. package/types/components/Cell/Textbox/Textbox.d.ts.map +1 -0
  140. package/types/components/Cell/Textbox/Textbox.styles.d.ts +2 -0
  141. package/types/components/Cell/Textbox/Textbox.styles.d.ts.map +1 -0
  142. package/types/components/Cell/Textbox/Textbox.types.d.ts +35 -0
  143. package/types/components/Cell/Textbox/Textbox.types.d.ts.map +1 -0
  144. package/types/components/Cell/Textbox/ui/TextLabel.d.ts +5 -0
  145. package/types/components/Cell/Textbox/ui/TextLabel.d.ts.map +1 -0
  146. package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts +5 -0
  147. package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts.map +1 -0
  148. package/types/components/Cell/Textbox/ui/TextTitle.d.ts +5 -0
  149. package/types/components/Cell/Textbox/ui/TextTitle.d.ts.map +1 -0
  150. package/types/components/Cell/index.d.ts +9 -0
  151. package/types/components/Cell/index.d.ts.map +1 -0
  152. package/types/components/Cell/variations/_size/base.d.ts +2 -0
  153. package/types/components/Cell/variations/_size/base.d.ts.map +1 -0
  154. package/types/components/Cell/variations/_stretching/base.d.ts +2 -0
  155. package/types/components/Cell/variations/_stretching/base.d.ts.map +1 -0
  156. package/types/components/Cell/variations/_view/base.d.ts +2 -0
  157. package/types/components/Cell/variations/_view/base.d.ts.map +1 -0
  158. package/types/components/Combobox/Combobox.styles.d.ts +2 -8
  159. package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
  160. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  161. package/types/components/Dropdown/Dropdown.styles.d.ts +1 -7
  162. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  163. package/types/components/Popover/Popover.d.ts +2 -2
  164. package/types/components/Popover/Popover.d.ts.map +1 -1
  165. package/types/components/Popover/Popover.types.d.ts +14 -19
  166. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  167. package/types/components/Select/Select.styles.d.ts +2 -8
  168. package/types/components/Select/Select.styles.d.ts.map +1 -1
  169. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +24 -0
  170. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +1 -0
  171. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +48 -0
  172. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -0
  173. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +2 -2
  174. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +1 -7
  175. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
  176. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +24 -0
  177. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +1 -0
  178. package/types/examples/plasma_web/components/Cell/Cell.d.ts +48 -0
  179. package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -0
  180. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +2 -2
  181. package/types/examples/plasma_web/components/Popover/Popover.d.ts +1 -7
  182. package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
  183. package/types/examples/sds_engineer/components/Popover/Popover.d.ts +1 -7
  184. package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
  185. package/types/index.d.ts +1 -0
  186. package/types/index.d.ts.map +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAwJlB,CAAC"}
@@ -0,0 +1,48 @@
1
+ /// <reference types="react" />
2
+ import { Textbox, TextLabel, TextSubtitle, TextTitle } from '../../../../components/Cell';
3
+ export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
+ view: {
5
+ default: import("@linaria/core").LinariaClassName;
6
+ };
7
+ size: {
8
+ l: import("@linaria/core").LinariaClassName;
9
+ m: import("@linaria/core").LinariaClassName;
10
+ s: import("@linaria/core").LinariaClassName;
11
+ xs: import("@linaria/core").LinariaClassName;
12
+ };
13
+ stretching: {
14
+ auto: import("@linaria/core").LinariaClassName;
15
+ filled: import("@linaria/core").LinariaClassName;
16
+ fixed: import("@linaria/core").LinariaClassName;
17
+ };
18
+ }> & (({
19
+ size?: string | undefined;
20
+ view: string;
21
+ contentLeft?: import("react").ReactNode;
22
+ contentRight?: import("react").ReactNode;
23
+ content?: import("react").ReactNode;
24
+ alignLeft?: import("../../../../components/Cell/Cell.types").AlignLeftProp | undefined;
25
+ alignRight?: import("../../../../components/Cell/Cell.types").AlignRightProp | undefined;
26
+ stretching?: "fixed" | "auto" | "filled" | undefined;
27
+ } & import("react").HTMLAttributes<HTMLDivElement> & {
28
+ title?: import("react").ReactNode;
29
+ subtitle?: import("react").ReactNode;
30
+ label?: import("react").ReactNode;
31
+ children?: undefined;
32
+ } & import("react").RefAttributes<HTMLSelectElement>) | ({
33
+ size?: string | undefined;
34
+ view: string;
35
+ contentLeft?: import("react").ReactNode;
36
+ contentRight?: import("react").ReactNode;
37
+ content?: import("react").ReactNode;
38
+ alignLeft?: import("../../../../components/Cell/Cell.types").AlignLeftProp | undefined;
39
+ alignRight?: import("../../../../components/Cell/Cell.types").AlignRightProp | undefined;
40
+ stretching?: "fixed" | "auto" | "filled" | undefined;
41
+ } & import("react").HTMLAttributes<HTMLDivElement> & {
42
+ title?: undefined;
43
+ subtitle?: undefined;
44
+ label?: undefined;
45
+ children?: import("react").ReactNode;
46
+ } & import("react").RefAttributes<HTMLSelectElement>))>;
47
+ export { Textbox, TextLabel, TextSubtitle, TextTitle };
48
+ //# sourceMappingURL=Cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAAc,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMtG,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
9
9
  view: {
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
12
- }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
12
+ }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
13
13
  valueType?: "single" | undefined;
14
14
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
15
15
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
16
- } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
16
+ } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
17
17
  valueType: "multiple";
18
18
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
19
19
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
@@ -4,11 +4,5 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
4
4
  view: {
5
5
  default: import("@linaria/core").LinariaClassName;
6
6
  };
7
- }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
8
- trigger?: "click" | undefined;
9
- closeOnOverlayClick?: boolean | undefined;
10
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
11
- trigger?: "hover" | undefined;
12
- closeOnBeyondTargetHover?: boolean | undefined;
13
- } & import("react").RefAttributes<HTMLDivElement>))>;
7
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
14
8
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;;;;;;;oDAA0B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;gLAA0B,CAAC"}
@@ -0,0 +1,24 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ stretching: string;
6
+ };
7
+ variations: {
8
+ view: {
9
+ default: import("@linaria/core").LinariaClassName;
10
+ };
11
+ size: {
12
+ l: import("@linaria/core").LinariaClassName;
13
+ m: import("@linaria/core").LinariaClassName;
14
+ s: import("@linaria/core").LinariaClassName;
15
+ xs: import("@linaria/core").LinariaClassName;
16
+ };
17
+ stretching: {
18
+ auto: import("@linaria/core").LinariaClassName;
19
+ filled: import("@linaria/core").LinariaClassName;
20
+ fixed: import("@linaria/core").LinariaClassName;
21
+ };
22
+ };
23
+ };
24
+ //# sourceMappingURL=Cell.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAyJlB,CAAC"}
@@ -0,0 +1,48 @@
1
+ /// <reference types="react" />
2
+ import { Textbox, TextLabel, TextSubtitle, TextTitle } from '../../../../components/Cell';
3
+ export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
4
+ view: {
5
+ default: import("@linaria/core").LinariaClassName;
6
+ };
7
+ size: {
8
+ l: import("@linaria/core").LinariaClassName;
9
+ m: import("@linaria/core").LinariaClassName;
10
+ s: import("@linaria/core").LinariaClassName;
11
+ xs: import("@linaria/core").LinariaClassName;
12
+ };
13
+ stretching: {
14
+ auto: import("@linaria/core").LinariaClassName;
15
+ filled: import("@linaria/core").LinariaClassName;
16
+ fixed: import("@linaria/core").LinariaClassName;
17
+ };
18
+ }> & (({
19
+ size?: string | undefined;
20
+ view: string;
21
+ contentLeft?: import("react").ReactNode;
22
+ contentRight?: import("react").ReactNode;
23
+ content?: import("react").ReactNode;
24
+ alignLeft?: import("../../../../components/Cell/Cell.types").AlignLeftProp | undefined;
25
+ alignRight?: import("../../../../components/Cell/Cell.types").AlignRightProp | undefined;
26
+ stretching?: "fixed" | "auto" | "filled" | undefined;
27
+ } & import("react").HTMLAttributes<HTMLDivElement> & {
28
+ title?: import("react").ReactNode;
29
+ subtitle?: import("react").ReactNode;
30
+ label?: import("react").ReactNode;
31
+ children?: undefined;
32
+ } & import("react").RefAttributes<HTMLSelectElement>) | ({
33
+ size?: string | undefined;
34
+ view: string;
35
+ contentLeft?: import("react").ReactNode;
36
+ contentRight?: import("react").ReactNode;
37
+ content?: import("react").ReactNode;
38
+ alignLeft?: import("../../../../components/Cell/Cell.types").AlignLeftProp | undefined;
39
+ alignRight?: import("../../../../components/Cell/Cell.types").AlignRightProp | undefined;
40
+ stretching?: "fixed" | "auto" | "filled" | undefined;
41
+ } & import("react").HTMLAttributes<HTMLDivElement> & {
42
+ title?: undefined;
43
+ subtitle?: undefined;
44
+ label?: undefined;
45
+ children?: import("react").ReactNode;
46
+ } & import("react").RefAttributes<HTMLSelectElement>))>;
47
+ export { Textbox, TextLabel, TextSubtitle, TextTitle };
48
+ //# sourceMappingURL=Cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAAc,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMtG,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
9
9
  view: {
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
12
- }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
12
+ }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
13
13
  valueType?: "single" | undefined;
14
14
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
15
15
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
16
- } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
16
+ } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
17
17
  valueType: "multiple";
18
18
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
19
19
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
@@ -4,11 +4,5 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
4
4
  view: {
5
5
  default: import("@linaria/core").LinariaClassName;
6
6
  };
7
- }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
8
- trigger?: "click" | undefined;
9
- closeOnOverlayClick?: boolean | undefined;
10
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
11
- trigger?: "hover" | undefined;
12
- closeOnBeyondTargetHover?: boolean | undefined;
13
- } & import("react").RefAttributes<HTMLDivElement>))>;
7
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
14
8
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;;;;;;;oDAA0B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;gLAA0B,CAAC"}
@@ -4,11 +4,5 @@ export declare const Popover: import("react").FunctionComponent<import("../../..
4
4
  view: {
5
5
  default: import("@linaria/core").LinariaClassName;
6
6
  };
7
- }> & ((import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
8
- trigger?: "click" | undefined;
9
- closeOnOverlayClick?: boolean | undefined;
10
- } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & {
11
- trigger?: "hover" | undefined;
12
- closeOnBeyondTargetHover?: boolean | undefined;
13
- } & import("react").RefAttributes<HTMLDivElement>))>;
7
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../components/Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
14
8
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;;;;;;;oDAA0B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Popover/Popover.ts"],"names":[],"mappings":";AAKA,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlF,eAAO,MAAM,OAAO;;;;gLAA0B,CAAC"}
package/types/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './hooks';
4
4
  export * from './components/Button';
5
5
  export * from './components/ButtonGroup';
6
6
  export * from './components/Chip';
7
+ export * from './components/Cell';
7
8
  export * from './components/Link';
8
9
  export * from './components/Spinner';
9
10
  export * from './components/Checkbox';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BA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