@salutejs/plasma-new-hope 0.66.0-dev.0 → 0.67.0-canary.1148.8443817650.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. package/cjs/components/Cell/Cell.css +3 -0
  2. package/cjs/components/Cell/Cell.js +72 -0
  3. package/cjs/components/Cell/Cell.js.map +1 -0
  4. package/cjs/components/Cell/Cell.styles.js +42 -0
  5. package/cjs/components/Cell/Cell.styles.js.map +1 -0
  6. package/cjs/components/Cell/Cell.tokens.js +51 -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_c5qh0x.css +1 -0
  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 +67 -0
  32. package/es/components/Cell/Cell.js.map +1 -0
  33. package/es/components/Cell/Cell.styles.js +34 -0
  34. package/es/components/Cell/Cell.styles.js.map +1 -0
  35. package/es/components/Cell/Cell.tokens.js +46 -0
  36. package/es/components/Cell/Cell.tokens.js.map +1 -0
  37. package/es/components/Cell/Textbox/Textbox.js +16 -0
  38. package/es/components/Cell/Textbox/Textbox.js.map +1 -0
  39. package/es/components/Cell/Textbox/Textbox.styles.js +9 -0
  40. package/es/components/Cell/Textbox/Textbox.styles.js.map +1 -0
  41. package/es/components/Cell/Textbox/ui/TextLabel.js +13 -0
  42. package/es/components/Cell/Textbox/ui/TextLabel.js.map +1 -0
  43. package/es/components/Cell/Textbox/ui/TextSubtitle.js +13 -0
  44. package/es/components/Cell/Textbox/ui/TextSubtitle.js.map +1 -0
  45. package/es/components/Cell/Textbox/ui/TextTitle.js +13 -0
  46. package/es/components/Cell/Textbox/ui/TextTitle.js.map +1 -0
  47. package/es/components/Cell/variations/_size/base.js +5 -0
  48. package/es/components/Cell/variations/_size/base.js.map +1 -0
  49. package/es/components/Cell/variations/_size/base_x642ct.css +1 -0
  50. package/es/components/Cell/variations/_stretching/base.js +5 -0
  51. package/es/components/Cell/variations/_stretching/base.js.map +1 -0
  52. package/es/components/Cell/variations/_stretching/base_1ryz4br.css +1 -0
  53. package/es/components/Cell/variations/_view/base.js +5 -0
  54. package/es/components/Cell/variations/_view/base.js.map +1 -0
  55. package/es/components/Cell/variations/_view/base_c5qh0x.css +1 -0
  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 +72 -0
  61. package/styled-components/cjs/components/Cell/Cell.styles.js +37 -0
  62. package/styled-components/cjs/components/Cell/Cell.tokens.js +49 -0
  63. package/styled-components/cjs/components/Cell/Cell.types.js +5 -0
  64. package/styled-components/cjs/components/Cell/Textbox/Textbox.js +19 -0
  65. package/styled-components/cjs/components/Cell/Textbox/Textbox.styles.js +12 -0
  66. package/styled-components/cjs/components/Cell/Textbox/Textbox.types.js +5 -0
  67. package/styled-components/cjs/components/Cell/Textbox/ui/TextLabel.js +16 -0
  68. package/styled-components/cjs/components/Cell/Textbox/ui/TextSubtitle.js +16 -0
  69. package/styled-components/cjs/components/Cell/Textbox/ui/TextTitle.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/examples/plasma_b2c/components/Cell/Cell.config.js +31 -0
  78. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +35 -0
  79. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +157 -0
  80. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +31 -0
  81. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +35 -0
  82. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +157 -0
  83. package/styled-components/cjs/index.js +11 -0
  84. package/styled-components/es/components/Cell/Cell.js +63 -0
  85. package/styled-components/es/components/Cell/Cell.styles.js +30 -0
  86. package/styled-components/es/components/Cell/Cell.tokens.js +43 -0
  87. package/styled-components/es/components/Cell/Cell.types.js +1 -0
  88. package/styled-components/es/components/Cell/Textbox/Textbox.js +12 -0
  89. package/styled-components/es/components/Cell/Textbox/Textbox.styles.js +5 -0
  90. package/styled-components/es/components/Cell/Textbox/Textbox.types.js +1 -0
  91. package/styled-components/es/components/Cell/Textbox/ui/TextLabel.js +9 -0
  92. package/styled-components/es/components/Cell/Textbox/ui/TextSubtitle.js +9 -0
  93. package/styled-components/es/components/Cell/Textbox/ui/TextTitle.js +9 -0
  94. package/styled-components/es/components/Cell/index.js +6 -0
  95. package/styled-components/es/components/Cell/variations/_size/base.js +2 -0
  96. package/styled-components/es/components/Cell/variations/_size/tokens.json +1 -0
  97. package/styled-components/es/components/Cell/variations/_stretching/base.js +3 -0
  98. package/styled-components/es/components/Cell/variations/_stretching/tokens.json +1 -0
  99. package/styled-components/es/components/Cell/variations/_view/base.js +3 -0
  100. package/styled-components/es/components/Cell/variations/_view/tokens.json +1 -0
  101. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +25 -0
  102. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +6 -0
  103. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +157 -0
  104. package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +25 -0
  105. package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +6 -0
  106. package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +157 -0
  107. package/styled-components/es/index.js +1 -0
  108. package/types/components/Cell/Cell.d.ts +49 -0
  109. package/types/components/Cell/Cell.d.ts.map +1 -0
  110. package/types/components/Cell/Cell.styles.d.ts +11 -0
  111. package/types/components/Cell/Cell.styles.d.ts.map +1 -0
  112. package/types/components/Cell/Cell.tokens.d.ts +44 -0
  113. package/types/components/Cell/Cell.tokens.d.ts.map +1 -0
  114. package/types/components/Cell/Cell.types.d.ts +54 -0
  115. package/types/components/Cell/Cell.types.d.ts.map +1 -0
  116. package/types/components/Cell/Textbox/Textbox.d.ts +4 -0
  117. package/types/components/Cell/Textbox/Textbox.d.ts.map +1 -0
  118. package/types/components/Cell/Textbox/Textbox.styles.d.ts +2 -0
  119. package/types/components/Cell/Textbox/Textbox.styles.d.ts.map +1 -0
  120. package/types/components/Cell/Textbox/Textbox.types.d.ts +20 -0
  121. package/types/components/Cell/Textbox/Textbox.types.d.ts.map +1 -0
  122. package/types/components/Cell/Textbox/ui/TextLabel.d.ts +7 -0
  123. package/types/components/Cell/Textbox/ui/TextLabel.d.ts.map +1 -0
  124. package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts +7 -0
  125. package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts.map +1 -0
  126. package/types/components/Cell/Textbox/ui/TextTitle.d.ts +7 -0
  127. package/types/components/Cell/Textbox/ui/TextTitle.d.ts.map +1 -0
  128. package/types/components/Cell/index.d.ts +9 -0
  129. package/types/components/Cell/index.d.ts.map +1 -0
  130. package/types/components/Cell/variations/_size/base.d.ts +2 -0
  131. package/types/components/Cell/variations/_size/base.d.ts.map +1 -0
  132. package/types/components/Cell/variations/_stretching/base.d.ts +2 -0
  133. package/types/components/Cell/variations/_stretching/base.d.ts.map +1 -0
  134. package/types/components/Cell/variations/_view/base.d.ts +2 -0
  135. package/types/components/Cell/variations/_view/base.d.ts.map +1 -0
  136. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +24 -0
  137. package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +1 -0
  138. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +31 -0
  139. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -0
  140. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +2 -2
  141. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +24 -0
  142. package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +1 -0
  143. package/types/examples/plasma_web/components/Cell/Cell.d.ts +31 -0
  144. package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -0
  145. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +2 -2
  146. package/types/index.d.ts +1 -0
  147. package/types/index.d.ts.map +1 -1
@@ -0,0 +1,54 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ export declare type AlignLeftProp = 'center' | 'top' | 'bottom';
3
+ export declare type AlignRightProp = 'center' | 'top';
4
+ export declare type Sizes = 'l' | 'm' | 's' | 'xs';
5
+ declare type CustomCellProps = {
6
+ /**
7
+ * Размер
8
+ */
9
+ size: Sizes;
10
+ /**
11
+ * Слот для контента слева, например `Icon`
12
+ */
13
+ contentLeft?: ReactNode;
14
+ /**
15
+ * Слот для контента спарва, например `Icon`
16
+ */
17
+ contentRight?: ReactNode;
18
+ /**
19
+ * Слот для контента спарва, например `Icon`
20
+ */
21
+ content?: ReactNode;
22
+ /**
23
+ * Вертикальное выравнивание контента слева.
24
+ */
25
+ alignLeft?: AlignLeftProp;
26
+ /**
27
+ * Вертикальное выравнивание контента справа.
28
+ */
29
+ alignRight?: AlignRightProp;
30
+ /**
31
+ * Ширина cell
32
+ * @description
33
+ * Может принимать три значения:
34
+ * fixed - кнопка фиксированной ширины;
35
+ * filled - кнопка занимает всю доступную ширину
36
+ * auto - кнопка растягивается в зависимости от контента
37
+ */
38
+ stretching?: 'fixed' | 'filled' | 'auto';
39
+ /**
40
+ * Слот для Title
41
+ */
42
+ title?: ReactNode;
43
+ /**
44
+ * Слот для Subtitle
45
+ */
46
+ subtitle?: ReactNode;
47
+ /**
48
+ * Слот для Label
49
+ */
50
+ label?: ReactNode;
51
+ };
52
+ export declare type CellProps = HTMLAttributes<HTMLDivElement> & CustomCellProps;
53
+ export {};
54
+ //# 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,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,oBAAY,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AACxD,oBAAY,cAAc,GAAG,QAAQ,GAAG,KAAK,CAAC;AAC9C,oBAAY,KAAK,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAE3C,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC;IAE5B;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEzC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,oBAAY,SAAS,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ import type { TextboxProps } from './Textbox.types';
3
+ export declare const Textbox: React.FC<HTMLAttributes<HTMLDivElement> & TextboxProps>;
4
+ //# sourceMappingURL=Textbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/Textbox/Textbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAMpD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,YAAY,CAe3E,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const TextboxStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=Textbox.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/Textbox/Textbox.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,oEAIzB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ export declare type AlignLeftProp = 'center' | 'top' | 'bottom';
3
+ export declare type AlignRightProp = 'center' | 'top';
4
+ declare type CustomTextboxProps = {
5
+ /**
6
+ * Слот для Title
7
+ */
8
+ title?: ReactNode;
9
+ /**
10
+ * Слот для Subtitle
11
+ */
12
+ subtitle?: ReactNode;
13
+ /**
14
+ * Слот для Label
15
+ */
16
+ label?: ReactNode;
17
+ };
18
+ export declare type TextboxProps = HTMLAttributes<HTMLDivElement> & CustomTextboxProps;
19
+ export {};
20
+ //# sourceMappingURL=Textbox.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textbox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/Textbox/Textbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,oBAAY,aAAa,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AACxD,oBAAY,cAAc,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE9C,aAAK,kBAAkB,GAAG;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,oBAAY,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type TextLabelProps = {
3
+ text?: string;
4
+ };
5
+ export declare const TextLabel: React.FC<HTMLAttributes<HTMLDivElement> & TextLabelProps>;
6
+ export {};
7
+ //# sourceMappingURL=TextLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/Textbox/ui/TextLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAE/E,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type TextSubtitleProps = {
3
+ text?: string;
4
+ };
5
+ export declare const TextSubtitle: React.FC<HTMLAttributes<HTMLDivElement> & TextSubtitleProps>;
6
+ export {};
7
+ //# sourceMappingURL=TextSubtitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextSubtitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/Textbox/ui/TextSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,iBAAiB,GAAG;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,iBAAiB,CAErF,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ declare type TextTitleProps = {
3
+ text?: string;
4
+ };
5
+ export declare const TextTitle: React.FC<HTMLAttributes<HTMLDivElement> & TextTitleProps>;
6
+ export {};
7
+ //# sourceMappingURL=TextTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/Textbox/ui/TextTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAE/E,CAAC"}
@@ -0,0 +1,9 @@
1
+ export { TextLabel } from './Textbox/ui/TextLabel';
2
+ export { TextTitle } from './Textbox/ui/TextTitle';
3
+ export { TextSubtitle } from './Textbox/ui/TextSubtitle';
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 { Textbox } from './Textbox/Textbox';
8
+ export type { TextboxProps } from './Textbox/Textbox.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,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,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,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,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,0CAGhB,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_b2c/components/Cell/Cell.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAwJlB,CAAC"}
@@ -0,0 +1,31 @@
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
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
19
+ size: import("../../../../components/Cell/Cell.types").Sizes;
20
+ contentLeft?: import("react").ReactNode;
21
+ contentRight?: import("react").ReactNode;
22
+ content?: import("react").ReactNode;
23
+ alignLeft?: import("../../../../components/Cell/Cell.types").AlignLeftProp | undefined;
24
+ alignRight?: import("../../../../components/Cell/Cell.types").AlignRightProp | undefined;
25
+ stretching?: "fixed" | "auto" | "filled" | undefined;
26
+ title?: import("react").ReactNode;
27
+ subtitle?: import("react").ReactNode;
28
+ label?: import("react").ReactNode;
29
+ } & import("react").RefAttributes<HTMLSelectElement>>;
30
+ export { Textbox, TextLabel, TextSubtitle, TextTitle };
31
+ //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,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;
@@ -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,31 @@
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
+ }> & import("react").HTMLAttributes<HTMLDivElement> & {
19
+ size: import("../../../../components/Cell/Cell.types").Sizes;
20
+ contentLeft?: import("react").ReactNode;
21
+ contentRight?: import("react").ReactNode;
22
+ content?: import("react").ReactNode;
23
+ alignLeft?: import("../../../../components/Cell/Cell.types").AlignLeftProp | undefined;
24
+ alignRight?: import("../../../../components/Cell/Cell.types").AlignRightProp | undefined;
25
+ stretching?: "fixed" | "auto" | "filled" | undefined;
26
+ title?: import("react").ReactNode;
27
+ subtitle?: import("react").ReactNode;
28
+ label?: import("react").ReactNode;
29
+ } & import("react").RefAttributes<HTMLSelectElement>>;
30
+ export { Textbox, TextLabel, TextSubtitle, TextTitle };
31
+ //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;qDAA0B,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;
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"}
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"}