@salutejs/plasma-new-hope 0.68.1-canary.1154.8508988159.0 → 0.69.0-canary.1148.8505804388.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. package/cjs/components/Cell/Cell.css +3 -0
  2. package/cjs/components/Cell/Cell.js +70 -0
  3. package/cjs/components/Cell/Cell.js.map +1 -0
  4. package/cjs/components/Cell/Cell.styles.js +39 -0
  5. package/cjs/components/Cell/Cell.styles.js.map +1 -0
  6. package/cjs/components/Cell/Cell.styles_ygfo1w.css +1 -0
  7. package/cjs/components/Cell/Cell.tokens.js +50 -0
  8. package/cjs/components/Cell/Cell.tokens.js.map +1 -0
  9. package/cjs/components/Cell/CellTextbox/CellTextbox.js +21 -0
  10. package/cjs/components/Cell/CellTextbox/CellTextbox.js.map +1 -0
  11. package/cjs/components/Cell/CellTextbox/CellTextbox.styles.js +13 -0
  12. package/cjs/components/Cell/CellTextbox/CellTextbox.styles.js.map +1 -0
  13. package/cjs/components/Cell/CellTextbox/ui/CellTextLabel.js +17 -0
  14. package/cjs/components/Cell/CellTextbox/ui/CellTextLabel.js.map +1 -0
  15. package/cjs/components/Cell/CellTextbox/ui/CellTextSubtitle.js +17 -0
  16. package/cjs/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +1 -0
  17. package/cjs/components/Cell/CellTextbox/ui/CellTextTitle.js +17 -0
  18. package/cjs/components/Cell/CellTextbox/ui/CellTextTitle.js.map +1 -0
  19. package/cjs/components/Cell/variations/_size/base.js +9 -0
  20. package/cjs/components/Cell/variations/_size/base.js.map +1 -0
  21. package/cjs/components/Cell/variations/_size/base_x642ct.css +1 -0
  22. package/cjs/components/Cell/variations/_view/base.js +9 -0
  23. package/cjs/components/Cell/variations/_view/base.js.map +1 -0
  24. package/cjs/components/Cell/variations/_view/base_13f5j4a.css +1 -0
  25. package/cjs/components/Pagination/Pagination.js +4 -6
  26. package/cjs/components/Pagination/Pagination.js.map +1 -1
  27. package/cjs/index.css +4 -0
  28. package/cjs/index.js +14 -0
  29. package/cjs/index.js.map +1 -1
  30. package/es/components/Cell/Cell.css +3 -0
  31. package/es/components/Cell/Cell.js +65 -0
  32. package/es/components/Cell/Cell.js.map +1 -0
  33. package/es/components/Cell/Cell.styles.js +31 -0
  34. package/es/components/Cell/Cell.styles.js.map +1 -0
  35. package/es/components/Cell/Cell.styles_ygfo1w.css +1 -0
  36. package/es/components/Cell/Cell.tokens.js +45 -0
  37. package/es/components/Cell/Cell.tokens.js.map +1 -0
  38. package/es/components/Cell/CellTextbox/CellTextbox.js +17 -0
  39. package/es/components/Cell/CellTextbox/CellTextbox.js.map +1 -0
  40. package/es/components/Cell/CellTextbox/CellTextbox.styles.js +9 -0
  41. package/es/components/Cell/CellTextbox/CellTextbox.styles.js.map +1 -0
  42. package/es/components/Cell/CellTextbox/ui/CellTextLabel.js +13 -0
  43. package/es/components/Cell/CellTextbox/ui/CellTextLabel.js.map +1 -0
  44. package/es/components/Cell/CellTextbox/ui/CellTextSubtitle.js +13 -0
  45. package/es/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +1 -0
  46. package/es/components/Cell/CellTextbox/ui/CellTextTitle.js +13 -0
  47. package/es/components/Cell/CellTextbox/ui/CellTextTitle.js.map +1 -0
  48. package/es/components/Cell/variations/_size/base.js +5 -0
  49. package/es/components/Cell/variations/_size/base.js.map +1 -0
  50. package/es/components/Cell/variations/_size/base_x642ct.css +1 -0
  51. package/es/components/Cell/variations/_view/base.js +5 -0
  52. package/es/components/Cell/variations/_view/base.js.map +1 -0
  53. package/es/components/Cell/variations/_view/base_13f5j4a.css +1 -0
  54. package/es/components/Pagination/Pagination.js +5 -7
  55. package/es/components/Pagination/Pagination.js.map +1 -1
  56. package/es/index.css +4 -0
  57. package/es/index.js +6 -0
  58. package/es/index.js.map +1 -1
  59. package/package.json +2 -2
  60. package/styled-components/cjs/components/Cell/Cell.js +70 -0
  61. package/styled-components/cjs/components/Cell/Cell.styles.js +35 -0
  62. package/styled-components/cjs/components/Cell/Cell.tokens.js +48 -0
  63. package/styled-components/cjs/components/Cell/Cell.types.js +5 -0
  64. package/styled-components/cjs/components/Cell/CellTextbox/CellTextbox.js +20 -0
  65. package/styled-components/cjs/components/Cell/CellTextbox/CellTextbox.styles.js +12 -0
  66. package/styled-components/cjs/components/Cell/CellTextbox/CellTextbox.types.js +5 -0
  67. package/styled-components/cjs/components/Cell/CellTextbox/ui/CellTextLabel.js +16 -0
  68. package/styled-components/cjs/components/Cell/CellTextbox/ui/CellTextSubtitle.js +16 -0
  69. package/styled-components/cjs/components/Cell/CellTextbox/ui/CellTextTitle.js +16 -0
  70. package/styled-components/cjs/components/Cell/index.js +59 -0
  71. package/styled-components/cjs/components/Cell/variations/_size/base.js +8 -0
  72. package/styled-components/cjs/components/Cell/variations/_size/tokens.json +1 -0
  73. package/styled-components/cjs/components/Cell/variations/_stretching/base.js +9 -0
  74. package/styled-components/cjs/components/Cell/variations/_stretching/tokens.json +1 -0
  75. package/styled-components/cjs/components/Cell/variations/_view/base.js +9 -0
  76. package/styled-components/cjs/components/Cell/variations/_view/tokens.json +1 -0
  77. package/styled-components/cjs/components/Pagination/Pagination.js +4 -6
  78. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.config.js +21 -0
  79. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +35 -0
  80. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +128 -0
  81. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +4 -4
  82. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +7 -14
  83. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +21 -0
  84. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +35 -0
  85. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +128 -0
  86. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +4 -4
  87. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +7 -14
  88. package/styled-components/cjs/index.js +11 -0
  89. package/styled-components/es/components/Cell/Cell.js +61 -0
  90. package/styled-components/es/components/Cell/Cell.styles.js +27 -0
  91. package/styled-components/es/components/Cell/Cell.tokens.js +42 -0
  92. package/styled-components/es/components/Cell/Cell.types.js +1 -0
  93. package/styled-components/es/components/Cell/CellTextbox/CellTextbox.js +13 -0
  94. package/styled-components/es/components/Cell/CellTextbox/CellTextbox.styles.js +5 -0
  95. package/styled-components/es/components/Cell/CellTextbox/CellTextbox.types.js +1 -0
  96. package/styled-components/es/components/Cell/CellTextbox/ui/CellTextLabel.js +9 -0
  97. package/styled-components/es/components/Cell/CellTextbox/ui/CellTextSubtitle.js +9 -0
  98. package/styled-components/es/components/Cell/CellTextbox/ui/CellTextTitle.js +9 -0
  99. package/styled-components/es/components/Cell/index.js +6 -0
  100. package/styled-components/es/components/Cell/variations/_size/base.js +2 -0
  101. package/styled-components/es/components/Cell/variations/_size/tokens.json +1 -0
  102. package/styled-components/es/components/Cell/variations/_stretching/base.js +3 -0
  103. package/styled-components/es/components/Cell/variations/_stretching/tokens.json +1 -0
  104. package/styled-components/es/components/Cell/variations/_view/base.js +3 -0
  105. package/styled-components/es/components/Cell/variations/_view/tokens.json +1 -0
  106. package/styled-components/es/components/Pagination/Pagination.js +4 -6
  107. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +15 -0
  108. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +6 -0
  109. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +128 -0
  110. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +4 -4
  111. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +7 -14
  112. package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +15 -0
  113. package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +6 -0
  114. package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +128 -0
  115. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.config.js +4 -4
  116. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +7 -14
  117. package/styled-components/es/index.js +1 -0
  118. package/types/components/Cell/Cell.d.ts +23 -0
  119. package/types/components/Cell/Cell.d.ts.map +1 -0
  120. package/types/components/Cell/Cell.styles.d.ts +11 -0
  121. package/types/components/Cell/Cell.styles.d.ts.map +1 -0
  122. package/types/components/Cell/Cell.tokens.d.ts +43 -0
  123. package/types/components/Cell/Cell.tokens.d.ts.map +1 -0
  124. package/types/components/Cell/Cell.types.d.ts +46 -0
  125. package/types/components/Cell/Cell.types.d.ts.map +1 -0
  126. package/types/components/Cell/CellTextbox/CellTextbox.d.ts +4 -0
  127. package/types/components/Cell/CellTextbox/CellTextbox.d.ts.map +1 -0
  128. package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts +2 -0
  129. package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts.map +1 -0
  130. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts +43 -0
  131. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts.map +1 -0
  132. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts +5 -0
  133. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts.map +1 -0
  134. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts +5 -0
  135. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts.map +1 -0
  136. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts +5 -0
  137. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts.map +1 -0
  138. package/types/components/Cell/index.d.ts +9 -0
  139. package/types/components/Cell/index.d.ts.map +1 -0
  140. package/types/components/Cell/variations/_size/base.d.ts +2 -0
  141. package/types/components/Cell/variations/_size/base.d.ts.map +1 -0
  142. package/types/components/Cell/variations/_stretching/base.d.ts +2 -0
  143. package/types/components/Cell/variations/_stretching/base.d.ts.map +1 -0
  144. package/types/components/Cell/variations/_view/base.d.ts +2 -0
  145. package/types/components/Cell/variations/_view/base.d.ts.map +1 -0
  146. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  147. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +14 -0
  148. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +1 -0
  149. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +45 -0
  150. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -0
  151. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +2 -2
  152. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +14 -0
  153. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +1 -0
  154. package/types/examples/plasma_web/components/Cell/Cell.d.ts +45 -0
  155. package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -0
  156. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +2 -2
  157. package/types/index.d.ts +1 -0
  158. package/types/index.d.ts.map +1 -1
@@ -0,0 +1,43 @@
1
+ export declare const tokens: {
2
+ cellColor: string;
3
+ cellBackgroundColor: string;
4
+ cellPadding: string;
5
+ cellPaddingLeftContent: string;
6
+ cellPaddingContent: string;
7
+ cellPaddingRightContent: string;
8
+ cellTextboxGap: string;
9
+ cellGap: string;
10
+ cellWidth: string;
11
+ cellLabelColor: string;
12
+ cellLabelFontFamily: string;
13
+ cellLabelFontSize: string;
14
+ cellLabelFontStyle: string;
15
+ cellLabelFontWeight: string;
16
+ cellLabelLetterSpacing: string;
17
+ cellLabelLineHeight: string;
18
+ cellTitleColor: string;
19
+ cellTitleFontFamily: string;
20
+ cellTitleFontSize: string;
21
+ cellTitleFontStyle: string;
22
+ cellTitleFontWeight: string;
23
+ cellTitleLetterSpacing: string;
24
+ cellTitleLineHeight: string;
25
+ cellSubtitleColor: string;
26
+ cellSubtitleFontFamily: string;
27
+ cellSubtitleFontSize: string;
28
+ cellSubtitleFontStyle: string;
29
+ cellSubtitleFontWeight: string;
30
+ cellSubtitleLetterSpacing: string;
31
+ cellSubtitleLineHeight: string;
32
+ };
33
+ export declare const classes: {
34
+ autoStretching: string;
35
+ filledStretching: string;
36
+ fixedStretching: string;
37
+ cellWrapper: string;
38
+ cellRoot: string;
39
+ cellContent: string;
40
+ cellLeftContent: string;
41
+ cellRightContent: string;
42
+ };
43
+ //# sourceMappingURL=Cell.tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;CAUnB,CAAC"}
@@ -0,0 +1,46 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { CellTextboxProps } from './CellTextbox/CellTextbox.types';
3
+ export declare type AlignProp = 'center' | 'top' | 'bottom';
4
+ declare type CustomCellProps = {
5
+ /**
6
+ * Размер
7
+ */
8
+ size?: string;
9
+ /**
10
+ * Размер
11
+ */
12
+ view: string;
13
+ /**
14
+ * Слот для контента слева, например `Icon`
15
+ */
16
+ contentLeft?: ReactNode;
17
+ /**
18
+ * Слот для контента спарва, например `Icon`
19
+ */
20
+ contentRight?: ReactNode;
21
+ /**
22
+ * Вертикальное выравнивание контента слева.
23
+ */
24
+ alignContentLeft?: AlignProp;
25
+ /**
26
+ * Вертикальное выравнивание контента справа.
27
+ */
28
+ alignContentRight?: AlignProp;
29
+ /**
30
+ * Ширина cell
31
+ * @description
32
+ * Может принимать три значения:
33
+ * fixed - кнопка фиксированной ширины;
34
+ * filled - кнопка занимает всю доступную ширину
35
+ * auto - кнопка растягивается в зависимости от контента
36
+ */
37
+ stretching?: 'fixed' | 'filled' | 'auto';
38
+ /**
39
+ * Свойство устарело, вместо этого нужно использовать contentLeft
40
+ * @deprecated
41
+ */
42
+ content?: ReactNode;
43
+ };
44
+ export declare type CellProps = CustomCellProps & CellTextboxProps;
45
+ export {};
46
+ //# sourceMappingURL=Cell.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Cell.types.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,oBAAY,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEpD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAE9B;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,oBAAY,SAAS,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import type { CellTextboxProps } from './CellTextbox.types';
3
+ export declare const CellTextbox: React.FC<HTMLAttributes<HTMLDivElement> & CellTextboxProps>;
4
+ //# sourceMappingURL=CellTextbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAM5D,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAoBnF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const CellTextboxStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=CellTextbox.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oEAI7B,CAAC"}
@@ -0,0 +1,43 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ declare type CustomTextboxProps = {
3
+ /**
4
+ * Слот для Title
5
+ */
6
+ title?: ReactNode;
7
+ /**
8
+ * Слот для Subtitle
9
+ */
10
+ subtitle?: ReactNode;
11
+ /**
12
+ * Слот для Label
13
+ */
14
+ label?: ReactNode;
15
+ /**
16
+ * Свойство устарело, вместо этого нужно использовать title
17
+ * @deprecated
18
+ */
19
+ description?: ReactNode;
20
+ children?: never;
21
+ } | {
22
+ /**
23
+ * Слот для Title
24
+ */
25
+ title?: never;
26
+ /**
27
+ * Слот для Subtitle
28
+ */
29
+ subtitle?: never;
30
+ /**
31
+ * Слот для Label
32
+ */
33
+ label?: never;
34
+ /**
35
+ * Свойство устарело, вместо этого нужно использовать title
36
+ * @deprecated
37
+ */
38
+ description?: never;
39
+ children?: ReactNode;
40
+ };
41
+ export declare type CellTextboxProps = HTMLAttributes<HTMLDivElement> & CustomTextboxProps;
42
+ export {};
43
+ //# sourceMappingURL=CellTextbox.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,aAAK,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IAEpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAER,oBAAY,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type TextLabelProps = {};
3
+ export declare const CellTextboxLabel: React.FC<HTMLAttributes<HTMLDivElement> & TextLabelProps>;
4
+ export {};
5
+ //# sourceMappingURL=CellTextLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAEtF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type TextSubtitleProps = {};
3
+ export declare const CellTextboxSubtitle: React.FC<HTMLAttributes<HTMLDivElement> & TextSubtitleProps>;
4
+ export {};
5
+ //# sourceMappingURL=CellTextSubtitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextSubtitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,iBAAiB,CAE5F,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type TextTitleProps = {};
3
+ export declare const CellTextboxTitle: React.FC<HTMLAttributes<HTMLDivElement> & TextTitleProps>;
4
+ export {};
5
+ //# sourceMappingURL=CellTextTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAEtF,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { CellTextboxLabel } from './CellTextbox/ui/CellTextLabel';
2
+ export { CellTextboxTitle } from './CellTextbox/ui/CellTextTitle';
3
+ export { CellTextboxSubtitle } from './CellTextbox/ui/CellTextSubtitle';
4
+ export { cellRoot, cellConfig } from './Cell';
5
+ export type { CellProps } from './Cell.types';
6
+ export { tokens as cellTokens, classes as cellClasses } from './Cell.tokens';
7
+ export { CellTextbox } from './CellTextbox/CellTextbox';
8
+ export type { CellTextboxProps } from './CellTextbox/CellTextbox.types';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,YAAY,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/variations/_stretching/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAUhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAYhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAS1D,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,EAAE,eAAe,CAAC,2FAoK1E,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBAtKQ,UAAU,cAAc,EAAE,eAAe,CAAC;;;;;;;;;;;;;;;;;CA0L9E,CAAC"}
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAG/D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAS1D,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,EAAE,eAAe,CAAC,2FAiK1E,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBAnKQ,UAAU,cAAc,EAAE,eAAe,CAAC;;;;;;;;;;;;;;;;;CAuL9E,CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare const config: {
2
+ variations: {
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ };
6
+ size: {
7
+ l: import("@linaria/core").LinariaClassName;
8
+ m: import("@linaria/core").LinariaClassName;
9
+ s: import("@linaria/core").LinariaClassName;
10
+ xs: import("@linaria/core").LinariaClassName;
11
+ };
12
+ };
13
+ };
14
+ //# sourceMappingURL=Cell.config.d.ts.map
@@ -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;;;;;;;;;;;;CA8IlB,CAAC"}
@@ -0,0 +1,45 @@
1
+ /// <reference types="react" />
2
+ import { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle } 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
+ }> & (({
14
+ size?: string | undefined;
15
+ view: string;
16
+ contentLeft?: import("react").ReactNode;
17
+ contentRight?: import("react").ReactNode;
18
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
19
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
20
+ stretching?: "fixed" | "auto" | "filled" | undefined;
21
+ content?: import("react").ReactNode;
22
+ } & import("react").HTMLAttributes<HTMLDivElement> & {
23
+ title?: import("react").ReactNode;
24
+ subtitle?: import("react").ReactNode;
25
+ label?: import("react").ReactNode;
26
+ description?: import("react").ReactNode;
27
+ children?: undefined;
28
+ } & import("react").RefAttributes<HTMLSelectElement>) | ({
29
+ size?: string | undefined;
30
+ view: string;
31
+ contentLeft?: import("react").ReactNode;
32
+ contentRight?: import("react").ReactNode;
33
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
34
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
35
+ stretching?: "fixed" | "auto" | "filled" | undefined;
36
+ content?: import("react").ReactNode;
37
+ } & import("react").HTMLAttributes<HTMLDivElement> & {
38
+ title?: undefined;
39
+ subtitle?: undefined;
40
+ label?: undefined;
41
+ description?: undefined;
42
+ children?: import("react").ReactNode;
43
+ } & import("react").RefAttributes<HTMLSelectElement>))>;
44
+ export { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle };
45
+ //# 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,EAEH,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACnB,MAAM,6BAA6B,CAAC;AAMrC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,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;
@@ -0,0 +1,14 @@
1
+ export declare const config: {
2
+ variations: {
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ };
6
+ size: {
7
+ l: import("@linaria/core").LinariaClassName;
8
+ m: import("@linaria/core").LinariaClassName;
9
+ s: import("@linaria/core").LinariaClassName;
10
+ xs: import("@linaria/core").LinariaClassName;
11
+ };
12
+ };
13
+ };
14
+ //# 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;;;;;;;;;;;;CA+IlB,CAAC"}
@@ -0,0 +1,45 @@
1
+ /// <reference types="react" />
2
+ import { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle } 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
+ }> & (({
14
+ size?: string | undefined;
15
+ view: string;
16
+ contentLeft?: import("react").ReactNode;
17
+ contentRight?: import("react").ReactNode;
18
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
19
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
20
+ stretching?: "fixed" | "auto" | "filled" | undefined;
21
+ content?: import("react").ReactNode;
22
+ } & import("react").HTMLAttributes<HTMLDivElement> & {
23
+ title?: import("react").ReactNode;
24
+ subtitle?: import("react").ReactNode;
25
+ label?: import("react").ReactNode;
26
+ description?: import("react").ReactNode;
27
+ children?: undefined;
28
+ } & import("react").RefAttributes<HTMLSelectElement>) | ({
29
+ size?: string | undefined;
30
+ view: string;
31
+ contentLeft?: import("react").ReactNode;
32
+ contentRight?: import("react").ReactNode;
33
+ alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
34
+ alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
35
+ stretching?: "fixed" | "auto" | "filled" | undefined;
36
+ content?: import("react").ReactNode;
37
+ } & import("react").HTMLAttributes<HTMLDivElement> & {
38
+ title?: undefined;
39
+ subtitle?: undefined;
40
+ label?: undefined;
41
+ description?: undefined;
42
+ children?: import("react").ReactNode;
43
+ } & import("react").RefAttributes<HTMLSelectElement>))>;
44
+ export { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle };
45
+ //# 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":";AACA,OAAO,EAEH,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACnB,MAAM,6BAA6B,CAAC;AAKrC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,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;
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,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
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,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}