@salutejs/plasma-new-hope 0.135.0-canary.1404.10631789671.0 → 0.135.0-canary.1405.10631388441.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. package/cjs/components/DatePicker/RangeDate/RangeDate.js +9 -19
  2. package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  3. package/cjs/components/DatePicker/SingleDate/SingleDate.js +5 -12
  4. package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  5. package/cjs/components/DatePicker/hooks/useDatePicker.js +7 -9
  6. package/cjs/components/DatePicker/hooks/useDatePicker.js.map +1 -1
  7. package/cjs/components/DatePicker/utils/dateHelper.js +13 -13
  8. package/cjs/components/DatePicker/utils/dateHelper.js.map +1 -1
  9. package/cjs/components/InputGroup/InputGroup.css +11 -0
  10. package/cjs/components/InputGroup/InputGroup.js +81 -0
  11. package/cjs/components/InputGroup/InputGroup.js.map +1 -0
  12. package/cjs/components/InputGroup/InputGroup.styles.js +9 -0
  13. package/cjs/components/InputGroup/InputGroup.styles.js.map +1 -0
  14. package/cjs/components/InputGroup/InputGroup.styles_1ivl67d.css +1 -0
  15. package/cjs/components/InputGroup/InputGroup.tokens.js +94 -0
  16. package/cjs/components/InputGroup/InputGroup.tokens.js.map +1 -0
  17. package/cjs/components/InputGroup/variations/_gap/base.js +9 -0
  18. package/cjs/components/InputGroup/variations/_gap/base.js.map +1 -0
  19. package/cjs/components/InputGroup/variations/_gap/base_1k4piyx.css +1 -0
  20. package/cjs/components/InputGroup/variations/_orientation/base.js +9 -0
  21. package/cjs/components/InputGroup/variations/_orientation/base.js.map +1 -0
  22. package/cjs/components/InputGroup/variations/_orientation/base_mgs8eg.css +1 -0
  23. package/cjs/components/InputGroup/variations/_shape/base.js +9 -0
  24. package/cjs/components/InputGroup/variations/_shape/base.js.map +1 -0
  25. package/cjs/components/InputGroup/variations/_shape/base_3k0aw7.css +1 -0
  26. package/cjs/components/InputGroup/variations/_size/base.js +9 -0
  27. package/cjs/components/InputGroup/variations/_size/base.js.map +1 -0
  28. package/cjs/components/InputGroup/variations/_size/base_1vk5vms.css +1 -0
  29. package/cjs/components/InputGroup/variations/_stretching/base.js +9 -0
  30. package/cjs/components/InputGroup/variations/_stretching/base.js.map +1 -0
  31. package/cjs/components/InputGroup/variations/_stretching/base_1cr1a83.css +1 -0
  32. package/cjs/components/TextField/TextField.js +1 -1
  33. package/cjs/components/TextField/TextField.js.map +1 -1
  34. package/cjs/components/TextField/TextField.tokens.js +2 -1
  35. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  36. package/cjs/index.css +12 -0
  37. package/cjs/index.js +7 -0
  38. package/cjs/index.js.map +1 -1
  39. package/cjs/utils/datejs.js +0 -2
  40. package/cjs/utils/datejs.js.map +1 -1
  41. package/emotion/cjs/components/DatePicker/DatePicker.template-doc.mdx +0 -32
  42. package/emotion/cjs/components/DatePicker/RangeDate/RangeDate.js +9 -19
  43. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.js +5 -12
  44. package/emotion/cjs/components/DatePicker/hooks/useDatePicker.js +7 -9
  45. package/emotion/cjs/components/DatePicker/utils/dateHelper.js +13 -13
  46. package/emotion/cjs/components/InputGroup/InputGroup.js +83 -0
  47. package/emotion/cjs/components/InputGroup/InputGroup.styles.js +17 -0
  48. package/emotion/cjs/components/InputGroup/InputGroup.template-doc.mdx +126 -0
  49. package/emotion/cjs/components/InputGroup/InputGroup.tokens.js +92 -0
  50. package/emotion/cjs/components/InputGroup/InputGroup.types.js +5 -0
  51. package/emotion/cjs/components/InputGroup/index.js +31 -0
  52. package/emotion/cjs/components/InputGroup/variations/_gap/base.js +9 -0
  53. package/emotion/cjs/components/InputGroup/variations/_gap/tokens.json +1 -0
  54. package/emotion/cjs/components/InputGroup/variations/_orientation/base.js +9 -0
  55. package/emotion/cjs/components/InputGroup/variations/_orientation/tokens.json +1 -0
  56. package/emotion/cjs/components/InputGroup/variations/_shape/base.js +11 -0
  57. package/emotion/cjs/components/InputGroup/variations/_shape/tokens.json +1 -0
  58. package/emotion/cjs/components/InputGroup/variations/_size/base.js +10 -0
  59. package/emotion/cjs/components/InputGroup/variations/_size/tokens.json +58 -0
  60. package/emotion/cjs/components/InputGroup/variations/_stretching/base.js +9 -0
  61. package/emotion/cjs/components/InputGroup/variations/_stretching/tokens.json +1 -0
  62. package/emotion/cjs/components/TextField/TextField.js +2 -2
  63. package/emotion/cjs/components/TextField/TextField.tokens.js +2 -1
  64. package/emotion/cjs/components/TextField/index.js +6 -0
  65. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -33
  66. package/emotion/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.config.js +38 -0
  67. package/emotion/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.js +11 -0
  68. package/emotion/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.stories.tsx +116 -0
  69. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -34
  70. package/emotion/cjs/examples/plasma_web/components/InputGroup/InputGroup.config.js +38 -0
  71. package/emotion/cjs/examples/plasma_web/components/InputGroup/InputGroup.js +11 -0
  72. package/emotion/cjs/examples/plasma_web/components/InputGroup/InputGroup.stories.tsx +116 -0
  73. package/emotion/cjs/index.js +11 -0
  74. package/emotion/cjs/utils/datejs.js +0 -2
  75. package/emotion/es/components/DatePicker/DatePicker.template-doc.mdx +0 -32
  76. package/emotion/es/components/DatePicker/RangeDate/RangeDate.js +9 -19
  77. package/emotion/es/components/DatePicker/SingleDate/SingleDate.js +5 -12
  78. package/emotion/es/components/DatePicker/hooks/useDatePicker.js +7 -9
  79. package/emotion/es/components/DatePicker/utils/dateHelper.js +13 -13
  80. package/emotion/es/components/InputGroup/InputGroup.js +74 -0
  81. package/emotion/es/components/InputGroup/InputGroup.styles.js +11 -0
  82. package/emotion/es/components/InputGroup/InputGroup.template-doc.mdx +126 -0
  83. package/emotion/es/components/InputGroup/InputGroup.tokens.js +86 -0
  84. package/emotion/es/components/InputGroup/InputGroup.types.js +1 -0
  85. package/emotion/es/components/InputGroup/index.js +2 -0
  86. package/emotion/es/components/InputGroup/variations/_gap/base.js +3 -0
  87. package/emotion/es/components/InputGroup/variations/_gap/tokens.json +1 -0
  88. package/emotion/es/components/InputGroup/variations/_orientation/base.js +3 -0
  89. package/emotion/es/components/InputGroup/variations/_orientation/tokens.json +1 -0
  90. package/emotion/es/components/InputGroup/variations/_shape/base.js +5 -0
  91. package/emotion/es/components/InputGroup/variations/_shape/tokens.json +1 -0
  92. package/emotion/es/components/InputGroup/variations/_size/base.js +4 -0
  93. package/emotion/es/components/InputGroup/variations/_size/tokens.json +58 -0
  94. package/emotion/es/components/InputGroup/variations/_stretching/base.js +3 -0
  95. package/emotion/es/components/InputGroup/variations/_stretching/tokens.json +1 -0
  96. package/emotion/es/components/TextField/TextField.js +2 -2
  97. package/emotion/es/components/TextField/TextField.tokens.js +2 -1
  98. package/emotion/es/components/TextField/index.js +1 -1
  99. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -33
  100. package/emotion/es/examples/plasma_b2c/components/InputGroup/InputGroup.config.js +32 -0
  101. package/emotion/es/examples/plasma_b2c/components/InputGroup/InputGroup.js +5 -0
  102. package/emotion/es/examples/plasma_b2c/components/InputGroup/InputGroup.stories.tsx +116 -0
  103. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -34
  104. package/emotion/es/examples/plasma_web/components/InputGroup/InputGroup.config.js +32 -0
  105. package/emotion/es/examples/plasma_web/components/InputGroup/InputGroup.js +5 -0
  106. package/emotion/es/examples/plasma_web/components/InputGroup/InputGroup.stories.tsx +116 -0
  107. package/emotion/es/index.js +1 -0
  108. package/emotion/es/utils/datejs.js +0 -2
  109. package/es/components/DatePicker/RangeDate/RangeDate.js +9 -19
  110. package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  111. package/es/components/DatePicker/SingleDate/SingleDate.js +5 -12
  112. package/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  113. package/es/components/DatePicker/hooks/useDatePicker.js +7 -9
  114. package/es/components/DatePicker/hooks/useDatePicker.js.map +1 -1
  115. package/es/components/DatePicker/utils/dateHelper.js +13 -13
  116. package/es/components/DatePicker/utils/dateHelper.js.map +1 -1
  117. package/es/components/InputGroup/InputGroup.css +11 -0
  118. package/es/components/InputGroup/InputGroup.js +76 -0
  119. package/es/components/InputGroup/InputGroup.js.map +1 -0
  120. package/es/components/InputGroup/InputGroup.styles.js +5 -0
  121. package/es/components/InputGroup/InputGroup.styles.js.map +1 -0
  122. package/es/components/InputGroup/InputGroup.styles_1ivl67d.css +1 -0
  123. package/es/components/InputGroup/InputGroup.tokens.js +89 -0
  124. package/es/components/InputGroup/InputGroup.tokens.js.map +1 -0
  125. package/es/components/InputGroup/variations/_gap/base.js +5 -0
  126. package/es/components/InputGroup/variations/_gap/base.js.map +1 -0
  127. package/es/components/InputGroup/variations/_gap/base_1k4piyx.css +1 -0
  128. package/es/components/InputGroup/variations/_orientation/base.js +5 -0
  129. package/es/components/InputGroup/variations/_orientation/base.js.map +1 -0
  130. package/es/components/InputGroup/variations/_orientation/base_mgs8eg.css +1 -0
  131. package/es/components/InputGroup/variations/_shape/base.js +5 -0
  132. package/es/components/InputGroup/variations/_shape/base.js.map +1 -0
  133. package/es/components/InputGroup/variations/_shape/base_3k0aw7.css +1 -0
  134. package/es/components/InputGroup/variations/_size/base.js +5 -0
  135. package/es/components/InputGroup/variations/_size/base.js.map +1 -0
  136. package/es/components/InputGroup/variations/_size/base_1vk5vms.css +1 -0
  137. package/es/components/InputGroup/variations/_stretching/base.js +5 -0
  138. package/es/components/InputGroup/variations/_stretching/base.js.map +1 -0
  139. package/es/components/InputGroup/variations/_stretching/base_1cr1a83.css +1 -0
  140. package/es/components/TextField/TextField.js +1 -1
  141. package/es/components/TextField/TextField.js.map +1 -1
  142. package/es/components/TextField/TextField.tokens.js +2 -1
  143. package/es/components/TextField/TextField.tokens.js.map +1 -1
  144. package/es/index.css +12 -0
  145. package/es/index.js +3 -1
  146. package/es/index.js.map +1 -1
  147. package/es/utils/datejs.js +0 -2
  148. package/es/utils/datejs.js.map +1 -1
  149. package/package.json +2 -2
  150. package/styled-components/cjs/components/DatePicker/DatePicker.template-doc.mdx +0 -32
  151. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +9 -19
  152. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +5 -12
  153. package/styled-components/cjs/components/DatePicker/hooks/useDatePicker.js +7 -9
  154. package/styled-components/cjs/components/DatePicker/utils/dateHelper.js +13 -13
  155. package/styled-components/cjs/components/InputGroup/InputGroup.js +83 -0
  156. package/styled-components/cjs/components/InputGroup/InputGroup.styles.js +8 -0
  157. package/styled-components/cjs/components/InputGroup/InputGroup.template-doc.mdx +126 -0
  158. package/styled-components/cjs/components/InputGroup/InputGroup.tokens.js +92 -0
  159. package/styled-components/cjs/components/InputGroup/InputGroup.types.js +5 -0
  160. package/styled-components/cjs/components/InputGroup/index.js +31 -0
  161. package/styled-components/cjs/components/InputGroup/variations/_gap/base.js +9 -0
  162. package/styled-components/cjs/components/InputGroup/variations/_gap/tokens.json +1 -0
  163. package/styled-components/cjs/components/InputGroup/variations/_orientation/base.js +9 -0
  164. package/styled-components/cjs/components/InputGroup/variations/_orientation/tokens.json +1 -0
  165. package/styled-components/cjs/components/InputGroup/variations/_shape/base.js +11 -0
  166. package/styled-components/cjs/components/InputGroup/variations/_shape/tokens.json +1 -0
  167. package/styled-components/cjs/components/InputGroup/variations/_size/base.js +10 -0
  168. package/styled-components/cjs/components/InputGroup/variations/_size/tokens.json +58 -0
  169. package/styled-components/cjs/components/InputGroup/variations/_stretching/base.js +9 -0
  170. package/styled-components/cjs/components/InputGroup/variations/_stretching/tokens.json +1 -0
  171. package/styled-components/cjs/components/TextField/TextField.js +1 -1
  172. package/styled-components/cjs/components/TextField/TextField.tokens.js +2 -1
  173. package/styled-components/cjs/components/TextField/index.js +6 -0
  174. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -33
  175. package/styled-components/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.config.js +38 -0
  176. package/styled-components/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.js +11 -0
  177. package/styled-components/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.stories.tsx +116 -0
  178. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -34
  179. package/styled-components/cjs/examples/plasma_web/components/InputGroup/InputGroup.config.js +38 -0
  180. package/styled-components/cjs/examples/plasma_web/components/InputGroup/InputGroup.js +11 -0
  181. package/styled-components/cjs/examples/plasma_web/components/InputGroup/InputGroup.stories.tsx +116 -0
  182. package/styled-components/cjs/index.js +11 -0
  183. package/styled-components/cjs/utils/datejs.js +0 -2
  184. package/styled-components/es/components/DatePicker/DatePicker.template-doc.mdx +0 -32
  185. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +9 -19
  186. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +5 -12
  187. package/styled-components/es/components/DatePicker/hooks/useDatePicker.js +7 -9
  188. package/styled-components/es/components/DatePicker/utils/dateHelper.js +13 -13
  189. package/styled-components/es/components/InputGroup/InputGroup.js +74 -0
  190. package/styled-components/es/components/InputGroup/InputGroup.styles.js +2 -0
  191. package/styled-components/es/components/InputGroup/InputGroup.template-doc.mdx +126 -0
  192. package/styled-components/es/components/InputGroup/InputGroup.tokens.js +86 -0
  193. package/styled-components/es/components/InputGroup/InputGroup.types.js +1 -0
  194. package/styled-components/es/components/InputGroup/index.js +2 -0
  195. package/styled-components/es/components/InputGroup/variations/_gap/base.js +3 -0
  196. package/styled-components/es/components/InputGroup/variations/_gap/tokens.json +1 -0
  197. package/styled-components/es/components/InputGroup/variations/_orientation/base.js +3 -0
  198. package/styled-components/es/components/InputGroup/variations/_orientation/tokens.json +1 -0
  199. package/styled-components/es/components/InputGroup/variations/_shape/base.js +5 -0
  200. package/styled-components/es/components/InputGroup/variations/_shape/tokens.json +1 -0
  201. package/styled-components/es/components/InputGroup/variations/_size/base.js +4 -0
  202. package/styled-components/es/components/InputGroup/variations/_size/tokens.json +58 -0
  203. package/styled-components/es/components/InputGroup/variations/_stretching/base.js +3 -0
  204. package/styled-components/es/components/InputGroup/variations/_stretching/tokens.json +1 -0
  205. package/styled-components/es/components/TextField/TextField.js +1 -1
  206. package/styled-components/es/components/TextField/TextField.tokens.js +2 -1
  207. package/styled-components/es/components/TextField/index.js +1 -1
  208. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +0 -33
  209. package/styled-components/es/examples/plasma_b2c/components/InputGroup/InputGroup.config.js +32 -0
  210. package/styled-components/es/examples/plasma_b2c/components/InputGroup/InputGroup.js +5 -0
  211. package/styled-components/es/examples/plasma_b2c/components/InputGroup/InputGroup.stories.tsx +116 -0
  212. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +0 -34
  213. package/styled-components/es/examples/plasma_web/components/InputGroup/InputGroup.config.js +32 -0
  214. package/styled-components/es/examples/plasma_web/components/InputGroup/InputGroup.js +5 -0
  215. package/styled-components/es/examples/plasma_web/components/InputGroup/InputGroup.stories.tsx +116 -0
  216. package/styled-components/es/index.js +1 -0
  217. package/styled-components/es/utils/datejs.js +0 -2
  218. package/types/components/DatePicker/DatePickerBase.types.d.ts +0 -6
  219. package/types/components/DatePicker/DatePickerBase.types.d.ts.map +1 -1
  220. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -1
  221. package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -1
  222. package/types/components/DatePicker/hooks/useDatePicker.d.ts +1 -1
  223. package/types/components/DatePicker/hooks/useDatePicker.d.ts.map +1 -1
  224. package/types/components/DatePicker/utils/dateHelper.d.ts +3 -4
  225. package/types/components/DatePicker/utils/dateHelper.d.ts.map +1 -1
  226. package/types/components/InputGroup/InputGroup.d.ts +35 -0
  227. package/types/components/InputGroup/InputGroup.d.ts.map +1 -0
  228. package/types/components/InputGroup/InputGroup.styles.d.ts +2 -0
  229. package/types/components/InputGroup/InputGroup.styles.d.ts.map +1 -0
  230. package/types/components/InputGroup/InputGroup.tokens.d.ts +85 -0
  231. package/types/components/InputGroup/InputGroup.tokens.d.ts.map +1 -0
  232. package/types/components/InputGroup/InputGroup.types.d.ts +84 -0
  233. package/types/components/InputGroup/InputGroup.types.d.ts.map +1 -0
  234. package/types/components/InputGroup/index.d.ts +4 -0
  235. package/types/components/InputGroup/index.d.ts.map +1 -0
  236. package/types/components/InputGroup/variations/_gap/base.d.ts +2 -0
  237. package/types/components/InputGroup/variations/_gap/base.d.ts.map +1 -0
  238. package/types/components/InputGroup/variations/_orientation/base.d.ts +2 -0
  239. package/types/components/InputGroup/variations/_orientation/base.d.ts.map +1 -0
  240. package/types/components/InputGroup/variations/_shape/base.d.ts +2 -0
  241. package/types/components/InputGroup/variations/_shape/base.d.ts.map +1 -0
  242. package/types/components/InputGroup/variations/_size/base.d.ts +2 -0
  243. package/types/components/InputGroup/variations/_size/base.d.ts.map +1 -0
  244. package/types/components/InputGroup/variations/_stretching/base.d.ts +2 -0
  245. package/types/components/InputGroup/variations/_stretching/base.d.ts.map +1 -0
  246. package/types/components/TextField/TextField.tokens.d.ts +1 -0
  247. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  248. package/types/components/TextField/index.d.ts +1 -1
  249. package/types/components/TextField/index.d.ts.map +1 -1
  250. package/types/examples/plasma_b2c/components/InputGroup/InputGroup.config.d.ts +31 -0
  251. package/types/examples/plasma_b2c/components/InputGroup/InputGroup.config.d.ts.map +1 -0
  252. package/types/examples/plasma_b2c/components/InputGroup/InputGroup.d.ts +43 -0
  253. package/types/examples/plasma_b2c/components/InputGroup/InputGroup.d.ts.map +1 -0
  254. package/types/examples/plasma_web/components/InputGroup/InputGroup.config.d.ts +31 -0
  255. package/types/examples/plasma_web/components/InputGroup/InputGroup.config.d.ts.map +1 -0
  256. package/types/examples/plasma_web/components/InputGroup/InputGroup.d.ts +43 -0
  257. package/types/examples/plasma_web/components/InputGroup/InputGroup.d.ts.map +1 -0
  258. package/types/index.d.ts +1 -0
  259. package/types/index.d.ts.map +1 -1
  260. package/types/utils/datejs.d.ts +0 -2
  261. package/types/utils/datejs.d.ts.map +1 -1
@@ -0,0 +1,116 @@
1
+ import React from 'react';
2
+ import type { ComponentProps } from 'react';
3
+ import type { StoryObj, Meta } from '@storybook/react';
4
+ import { disableProps } from '@salutejs/plasma-sb-utils';
5
+
6
+ import { WithTheme } from '../../../_helpers';
7
+ import { TextField } from '../TextField/TextField';
8
+
9
+ import { InputGroup } from './InputGroup';
10
+
11
+ type StoryProps = Omit<ComponentProps<typeof InputGroup>, 'gap'> & {
12
+ itemsCount?: number;
13
+ gapDefaultShape?: string;
14
+ gapSegmentedShape?: string;
15
+ };
16
+ type Story = StoryObj<StoryProps>;
17
+
18
+ const sizes = ['l', 'm', 's', 'xs'];
19
+ const orientationValues = ['horizontal', 'vertical'];
20
+ const gapDefaultValues = ['dense', 'wide'];
21
+ const gapSegmentedValues = ['none', 'dense'];
22
+ const shapeValues = ['segmented', 'default'];
23
+ const stretchingValues = ['auto', 'filled'];
24
+
25
+ const meta: Meta<typeof InputGroup> = {
26
+ title: 'plasma_b2c/InputGroup',
27
+ decorators: [WithTheme],
28
+ argTypes: {
29
+ size: {
30
+ options: sizes,
31
+ control: {
32
+ type: 'select',
33
+ },
34
+ },
35
+ orientation: {
36
+ options: orientationValues,
37
+ control: {
38
+ type: 'inline-radio',
39
+ },
40
+ },
41
+ shape: {
42
+ options: shapeValues,
43
+ control: {
44
+ type: 'select',
45
+ },
46
+ },
47
+ stretching: {
48
+ options: stretchingValues,
49
+ control: {
50
+ type: 'select',
51
+ },
52
+ },
53
+ ...disableProps(['gap']),
54
+ },
55
+ };
56
+
57
+ export default meta;
58
+
59
+ export const Default: Story = {
60
+ argTypes: {
61
+ gapDefaultShape: {
62
+ options: gapDefaultValues,
63
+ control: { type: 'select' },
64
+ if: { arg: 'shape', eq: 'default' },
65
+ },
66
+ gapSegmentedShape: {
67
+ options: gapSegmentedValues,
68
+ control: { type: 'select' },
69
+ if: { arg: 'shape', eq: 'segmented' },
70
+ },
71
+ },
72
+ args: {
73
+ size: 'm',
74
+ shape: 'default',
75
+ gapDefaultShape: 'dense',
76
+ gapSegmentedShape: 'dense',
77
+ orientation: 'horizontal',
78
+ itemsCount: 5,
79
+ stretching: 'auto',
80
+ },
81
+ render: ({ itemsCount, gapDefaultShape, gapSegmentedShape, ...args }: StoryProps) => {
82
+ return (
83
+ <InputGroup {...args} gap={(gapDefaultShape || gapSegmentedShape) as any}>
84
+ {Array(itemsCount)
85
+ .fill(true)
86
+ .map((_, i) => (
87
+ <TextField placeholder={`input #${i}`} />
88
+ ))}
89
+ </InputGroup>
90
+ );
91
+ },
92
+ };
93
+
94
+ export const CustomInputs: Story = {
95
+ args: {
96
+ ...Default.args,
97
+ isCommonInputStyles: false,
98
+ },
99
+ argTypes: {
100
+ ...Default.argTypes,
101
+ ...disableProps(['itemsCount']),
102
+ },
103
+ render: ({ gapDefaultShape, gapSegmentedShape, ...args }: StoryProps) => {
104
+ return (
105
+ <>
106
+ <h3>Группа Input с разными размерами</h3>
107
+ <InputGroup {...args} gap={(gapDefaultShape || gapSegmentedShape) as any}>
108
+ <TextField placeholder="Размер l" size="l" />
109
+ <TextField placeholder="Размер m" size="m" />
110
+ <TextField placeholder="Размер s" size="s" />
111
+ <TextField placeholder="Размер xs" size="xs" />
112
+ </InputGroup>
113
+ </>
114
+ );
115
+ },
116
+ };
@@ -47,12 +47,6 @@ const meta: Meta = {
47
47
  type: 'date',
48
48
  },
49
49
  },
50
- lang: {
51
- options: ['ru', 'en'],
52
- control: {
53
- type: 'inline-radio',
54
- },
55
- },
56
50
  },
57
51
  };
58
52
 
@@ -69,8 +63,6 @@ const StoryDefault = ({
69
63
  valueError,
70
64
  valueSuccess,
71
65
  size,
72
- lang,
73
- format,
74
66
  ...rest
75
67
  }: StoryPropsDefault) => {
76
68
  const [isOpen, setIsOpen] = useState(false);
@@ -91,8 +83,6 @@ const StoryDefault = ({
91
83
  onChangeValue={(e, currentValue) => {
92
84
  onChangeValue(e, currentValue);
93
85
  }}
94
- lang={lang}
95
- format={format}
96
86
  onCommitDate={() => setIsOpen(false)}
97
87
  {...rest}
98
88
  />
@@ -112,12 +102,6 @@ export const Default: StoryObj<StoryPropsDefault> = {
112
102
  type: 'inline-radio',
113
103
  },
114
104
  },
115
- format: {
116
- options: ['DD.MM.YYYY', 'DD MMMM YYYY'],
117
- control: {
118
- type: 'select',
119
- },
120
- },
121
105
  },
122
106
  args: {
123
107
  label: 'Лейбл',
@@ -125,7 +109,6 @@ export const Default: StoryObj<StoryPropsDefault> = {
125
109
  placeholder: '30.05.2024',
126
110
  size: 'l',
127
111
  view: 'default',
128
- labelPlacement: 'outer',
129
112
  defaultDate: new Date(2024, 5, 14),
130
113
  min: new Date(2024, 1, 1),
131
114
  max: new Date(2024, 12, 29),
@@ -137,8 +120,6 @@ export const Default: StoryObj<StoryPropsDefault> = {
137
120
  enableContentRight: true,
138
121
  valueError: false,
139
122
  valueSuccess: false,
140
- lang: 'ru',
141
- format: 'DD.MM.YYYY',
142
123
  },
143
124
  render: (args) => <StoryDefault {...args} />,
144
125
  };
@@ -248,12 +229,6 @@ export const Range: StoryObj<StoryPropsRange> = {
248
229
  type: 'inline-radio',
249
230
  },
250
231
  },
251
- format: {
252
- options: ['DD.MM.YYYY', 'DD MMMM YYYY'],
253
- control: {
254
- type: 'select',
255
- },
256
- },
257
232
  },
258
233
  args: {
259
234
  label: 'Лейбл',
@@ -280,9 +255,6 @@ export const Range: StoryObj<StoryPropsRange> = {
280
255
  enableSecondTextfieldContentLeft: false,
281
256
  enableSecondTextfieldContentRight: false,
282
257
 
283
- lang: 'ru',
284
- format: 'DD.MM.YYYY',
285
-
286
258
  firstValueError: false,
287
259
  firstValueSuccess: false,
288
260
  secondValueError: false,
@@ -348,12 +320,6 @@ export const Deferred: StoryObj<StoryPropsDefault> = {
348
320
  type: 'inline-radio',
349
321
  },
350
322
  },
351
- format: {
352
- options: ['DD.MM.YYYY', 'DD MMMM YYYY'],
353
- control: {
354
- type: 'select',
355
- },
356
- },
357
323
  },
358
324
  args: {
359
325
  label: 'Лейбл',
@@ -0,0 +1,32 @@
1
+ import { css } from 'styled-components';
2
+ import { inputGroupTokens as tokens } from '../../../../components/InputGroup';
3
+ export var config = {
4
+ defaults: {
5
+ size: 'm'
6
+ },
7
+ variations: {
8
+ size: {
9
+ l: /*#__PURE__*/css(["", ":0.875rem;", ":0.375rem;", ":0.875rem;", ":3.5rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":0.375rem;", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem 0 0.125rem 0;", ":1.5625rem 0 0.5625rem 0;", ":0.25rem;", ":0.5rem;", ":auto;", ":2.75rem;", ":0.75rem;", ":1rem;", ":0.625rem;", ":0rem;", ":1.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], tokens.inputDefaultRadius, tokens.inputSegmentedRadius, tokens.inputSideRadius, tokens.height, tokens.padding, tokens.paddingWithChips, tokens.leftContentMargin, tokens.rightContentMargin, tokens.textBeforeMargin, tokens.textAfterMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight),
10
+ m: /*#__PURE__*/css(["", ":0.75rem;", ":0.25rem;", ":0.75rem;", ":3rem;", ":0.875rem 1rem 0.875rem 1rem;", ":0.375rem;", ":-0.125rem 0.375rem -0.125rem -0.125rem;", ":-0.125rem -0.125rem -0.125rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.625rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem 0 0.125rem 0;", ":1.375rem 0 0.375rem 0;", ":0.25rem;", ":0.375rem;", ":auto;", ":2.25rem;", ":0.625rem;", ":0.875rem;", ":0.5rem;", ":0rem;", ":1.25rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], tokens.inputDefaultRadius, tokens.inputSegmentedRadius, tokens.inputSideRadius, tokens.height, tokens.padding, tokens.paddingWithChips, tokens.leftContentMargin, tokens.rightContentMargin, tokens.textBeforeMargin, tokens.textAfterMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight),
11
+ s: /*#__PURE__*/css(["", ":0.25rem;", ":0.625rem;", ":0.625rem;", ":2.5rem;", ":0.6875rem 0.875rem 0.6875rem 0.875rem;", ":0.375rem;", ":-0.1875rem 0.25rem -0.1875rem -0.125rem;", ":-0.1875rem -0.125rem -0.1875rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.3125rem 0 0 0;", ":1.0625rem 0 0.3125rem 0;", ":0.25rem;", ":0.25rem;", ":auto;", ":1.75rem;", ":0.5rem;", ":0.75rem;", ":0.375rem;", ":0rem;", ":1rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], tokens.inputSegmentedRadius, tokens.inputSideRadius, tokens.inputDefaultRadius, tokens.height, tokens.padding, tokens.paddingWithChips, tokens.leftContentMargin, tokens.rightContentMargin, tokens.textBeforeMargin, tokens.textAfterMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight),
12
+ xs: /*#__PURE__*/css(["", ":0.125rem;", ":0.5rem;", ":0.5rem;", ":2rem;", ":0.5625rem 0.625rem 0.5625rem 0.625rem;", ":0.375rem;", ":-0.0625rem 0.25rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.3125rem 0 0 0;", ":1.0625rem 0 0.3125rem 0;", ":0.25rem;", ":0.125rem;", ":auto;", ":1.25rem;", ":0.375rem;", ":0.625rem;", ":0.25rem;", ":0rem;", ":0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], tokens.inputSegmentedRadius, tokens.inputDefaultRadius, tokens.inputSideRadius, tokens.height, tokens.padding, tokens.paddingWithChips, tokens.leftContentMargin, tokens.rightContentMargin, tokens.textBeforeMargin, tokens.textAfterMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.labelOffset, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, tokens.labelInnerPadding, tokens.contentLabelInnerPadding, tokens.chipGap, tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPaddingRight, tokens.chipPaddingLeft, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipCloseIconSize, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight)
13
+ },
14
+ orientation: {
15
+ horizontal: /*#__PURE__*/css(["", ":row;"], tokens.inputGroupOrientation),
16
+ vertical: /*#__PURE__*/css(["", ":column;"], tokens.inputGroupOrientation)
17
+ },
18
+ gap: {
19
+ none: /*#__PURE__*/css(["", ":0;", ":-0.063rem;", ":inset(0 0.063rem 0 0);", ":-0.063rem;", ":inset(0.063rem 0 0 0);"], tokens.inputGroupItemsGap, tokens.inputGroupWebMarginLeft, tokens.inputGroupWebClipPath, tokens.inputGroupWebMarginTop, tokens.inputGroupWebVerticalClipPath),
20
+ dense: /*#__PURE__*/css(["", ":0.125rem;"], tokens.inputGroupItemsGap),
21
+ wide: /*#__PURE__*/css(["", ":0.5rem;"], tokens.inputGroupItemsGap)
22
+ },
23
+ shape: {
24
+ segmented: /*#__PURE__*/css([""]),
25
+ "default": /*#__PURE__*/css([""])
26
+ },
27
+ stretching: {
28
+ auto: /*#__PURE__*/css([""]),
29
+ filled: /*#__PURE__*/css([""])
30
+ }
31
+ }
32
+ };
@@ -0,0 +1,5 @@
1
+ import { inputGroupConfig } from '../../../../components/InputGroup';
2
+ import { component, mergeConfig } from '../../../../engines';
3
+ import { config } from './InputGroup.config';
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(inputGroupConfig, config);
5
+ export var InputGroup = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,116 @@
1
+ import React from 'react';
2
+ import type { ComponentProps } from 'react';
3
+ import type { StoryObj, Meta } from '@storybook/react';
4
+ import { disableProps } from '@salutejs/plasma-sb-utils';
5
+
6
+ import { WithTheme } from '../../../_helpers';
7
+ import { TextField } from '../TextField/TextField';
8
+
9
+ import { InputGroup } from './InputGroup';
10
+
11
+ type StoryProps = Omit<ComponentProps<typeof InputGroup>, 'gap'> & {
12
+ itemsCount?: number;
13
+ gapDefaultShape?: string;
14
+ gapSegmentedShape?: string;
15
+ };
16
+ type Story = StoryObj<StoryProps>;
17
+
18
+ const sizes = ['l', 'm', 's', 'xs'];
19
+ const orientationValues = ['horizontal', 'vertical'];
20
+ const gapDefaultValues = ['dense', 'wide'];
21
+ const gapSegmentedValues = ['none', 'dense'];
22
+ const shapeValues = ['segmented', 'default'];
23
+ const stretchingValues = ['auto', 'filled'];
24
+
25
+ const meta: Meta<typeof InputGroup> = {
26
+ title: 'plasma_web/InputGroup',
27
+ decorators: [WithTheme],
28
+ argTypes: {
29
+ size: {
30
+ options: sizes,
31
+ control: {
32
+ type: 'select',
33
+ },
34
+ },
35
+ orientation: {
36
+ options: orientationValues,
37
+ control: {
38
+ type: 'inline-radio',
39
+ },
40
+ },
41
+ shape: {
42
+ options: shapeValues,
43
+ control: {
44
+ type: 'select',
45
+ },
46
+ },
47
+ stretching: {
48
+ options: stretchingValues,
49
+ control: {
50
+ type: 'select',
51
+ },
52
+ },
53
+ ...disableProps(['gap']),
54
+ },
55
+ };
56
+
57
+ export default meta;
58
+
59
+ export const Default: Story = {
60
+ argTypes: {
61
+ gapDefaultShape: {
62
+ options: gapDefaultValues,
63
+ control: { type: 'select' },
64
+ if: { arg: 'shape', eq: 'default' },
65
+ },
66
+ gapSegmentedShape: {
67
+ options: gapSegmentedValues,
68
+ control: { type: 'select' },
69
+ if: { arg: 'shape', eq: 'segmented' },
70
+ },
71
+ },
72
+ args: {
73
+ size: 'm',
74
+ shape: 'default',
75
+ gapDefaultShape: 'dense',
76
+ gapSegmentedShape: 'dense',
77
+ orientation: 'horizontal',
78
+ itemsCount: 5,
79
+ stretching: 'auto',
80
+ },
81
+ render: ({ itemsCount, gapDefaultShape, gapSegmentedShape, ...args }: StoryProps) => {
82
+ return (
83
+ <InputGroup {...args} gap={(gapDefaultShape || gapSegmentedShape) as any}>
84
+ {Array(itemsCount)
85
+ .fill(true)
86
+ .map((_, i) => (
87
+ <TextField placeholder={`input #${i}`} />
88
+ ))}
89
+ </InputGroup>
90
+ );
91
+ },
92
+ };
93
+
94
+ export const CustomInputs: Story = {
95
+ args: {
96
+ ...Default.args,
97
+ isCommonInputStyles: false,
98
+ },
99
+ argTypes: {
100
+ ...Default.argTypes,
101
+ ...disableProps(['itemsCount']),
102
+ },
103
+ render: ({ gapDefaultShape, gapSegmentedShape, ...args }: StoryProps) => {
104
+ return (
105
+ <>
106
+ <h3>Группа Input с разными размерами</h3>
107
+ <InputGroup {...args} gap={(gapDefaultShape || gapSegmentedShape) as any}>
108
+ <TextField placeholder="Размер l" size="l" />
109
+ <TextField placeholder="Размер m" size="m" />
110
+ <TextField placeholder="Размер s" size="s" />
111
+ <TextField placeholder="Размер xs" size="xs" />
112
+ </InputGroup>
113
+ </>
114
+ );
115
+ },
116
+ };
@@ -17,6 +17,7 @@ export * from './components/Radiobox';
17
17
  export * from './components/Popover';
18
18
  export * from './components/TextArea';
19
19
  export * from './components/TextField';
20
+ export * from './components/InputGroup';
20
21
  export * from './components/Switch';
21
22
  export * from './components/Tabs';
22
23
  export * from './components/Calendar';
@@ -2,8 +2,6 @@ import dayjs from 'dayjs';
2
2
  import customParseFormat from 'dayjs/plugin/customParseFormat';
3
3
  import quarterOfYear from 'dayjs/plugin/quarterOfYear';
4
4
  import advancedFormat from 'dayjs/plugin/advancedFormat';
5
- import 'dayjs/locale/ru';
6
- import 'dayjs/locale/en';
7
5
  dayjs.extend(customParseFormat);
8
6
  dayjs.extend(quarterOfYear);
9
7
  dayjs.extend(advancedFormat);
@@ -1,7 +1,6 @@
1
1
  import type { Dispatch, MutableRefObject, SetStateAction, SyntheticEvent, ChangeEvent } from 'react';
2
2
  import type { CalendarStateType } from '../Calendar';
3
3
  import type { DateInfo, DisabledDay, EventDay } from '../Calendar/Calendar.types';
4
- import type { Langs } from './utils/dateHelper';
5
4
  export declare type DatePickerCalendarProps = {
6
5
  /**
7
6
  * Формат даты.
@@ -60,10 +59,6 @@ export declare type DatePickerCalendarProps = {
60
59
  * Тип отображения календаря: дни, месяца, года.
61
60
  */
62
61
  type?: CalendarStateType;
63
- /**
64
- * Язык в маске ввода
65
- */
66
- lang?: Langs;
67
62
  };
68
63
  export declare type DatePickerdVariationProps = {
69
64
  /**
@@ -90,7 +85,6 @@ export declare type UseDatePickerProps = {
90
85
  setIsInnerOpen: Dispatch<SetStateAction<boolean>>;
91
86
  dateFormatDelimiter: () => string;
92
87
  format?: string;
93
- lang?: Langs;
94
88
  disabled?: boolean;
95
89
  readOnly?: boolean;
96
90
  maskWithFormat?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"DatePickerBase.types.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAErG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAElF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,oBAAY,uBAAuB,GAAG;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,WAAW,EAAE,CAAC;IAClC;;OAEG;IACH,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,WAAW,EAAE,CAAC;IACpC;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;CAChB,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,kBAAkB,GAAG;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAChD,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC;IAC7D,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,mBAAmB,EAAE,MAAM,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/E,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC1G,CAAC"}
1
+ {"version":3,"file":"DatePickerBase.types.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePickerBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAErG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAElF,oBAAY,uBAAuB,GAAG;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,WAAW,EAAE,CAAC;IAClC;;OAEG;IACH,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,WAAW,EAAE,CAAC;IACpC;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,oBAAY,kBAAkB,GAAG;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAChD,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC;IAC7D,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,mBAAmB,EAAE,MAAM,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/E,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC1G,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RangeDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAQ9D,eAAO,MAAM,mBAAmB,SACtB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+EAqSvG,CAAC;AAEN,eAAO,MAAM,qBAAqB;;;mBAvSxB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgU3G,CAAC"}
1
+ {"version":3,"file":"RangeDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/RangeDate/RangeDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAQ9D,eAAO,MAAM,mBAAmB,SACtB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+EAwRvG,CAAC;AAEN,eAAO,MAAM,qBAAqB;;;mBA1RxB,UAAU,cAAc,EAAE,KAAK,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmT3G,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SingleDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAEpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,eAAO,MAAM,cAAc,SACjB,UAAU,cAAc,EAAE,KAAK,eAAe,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC,gXAgLlG,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBAlLnB,UAAU,cAAc,EAAE,KAAK,eAAe,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;CA2MtG,CAAC"}
1
+ {"version":3,"file":"SingleDate.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAEpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAQlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,eAAO,MAAM,cAAc,SACjB,UAAU,cAAc,EAAE,KAAK,eAAe,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC,gXAyKlG,CAAC;AAEN,eAAO,MAAM,gBAAgB;;;mBA3KnB,UAAU,cAAc,EAAE,KAAK,eAAe,EAAE,QAAQ,GAAG,cAAc,GAAG,eAAe,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;CAoMtG,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { ChangeEvent, SyntheticEvent } from 'react';
2
2
  import type { UseDatePickerProps } from '../DatePickerBase.types';
3
3
  import type { DateInfo } from '../../Calendar/Calendar.types';
4
- export declare const useDatePicker: ({ currentValue, setInputValue, setCalendarValue, setIsInnerOpen, dateFormatDelimiter, format, lang, disabled, readOnly, maskWithFormat, valueError, valueSuccess, inputRef, onToggle, onChangeValue, onCommitDate, }: UseDatePickerProps) => {
4
+ export declare const useDatePicker: ({ currentValue, setInputValue, setCalendarValue, setIsInnerOpen, dateFormatDelimiter, format, disabled, readOnly, maskWithFormat, valueError, valueSuccess, inputRef, onToggle, onChangeValue, onCommitDate, }: UseDatePickerProps) => {
5
5
  datePickerErrorClass: string | undefined;
6
6
  datePickerSuccessClass: string | undefined;
7
7
  handleToggle: (opened: boolean, event: SyntheticEvent | Event) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useDatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/hooks/useDatePicker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE9D,eAAO,MAAM,aAAa,yNAiBvB,kBAAkB;;;2BAIa,OAAO,SAAS,cAAc,GAAG,KAAK;+BAclC,YAAY,gBAAgB,CAAC;;CA8DlE,CAAC"}
1
+ {"version":3,"file":"useDatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/hooks/useDatePicker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE9D,eAAO,MAAM,aAAa,mNAgBvB,kBAAkB;;;2BAIa,OAAO,SAAS,cAAc,GAAG,KAAK;+BAclC,YAAY,gBAAgB,CAAC;;CA8DlE,CAAC"}
@@ -1,7 +1,6 @@
1
- export declare type Langs = 'ru' | 'en';
2
- export declare const formatInputValue: (value?: string | Date | undefined, format?: string | undefined, lang?: Langs | undefined) => string;
3
- export declare const formatCalendarValue: (value?: string | Date | undefined, format?: string | undefined, lang?: Langs | undefined) => Date | undefined;
4
- export declare const getDateFromFormat: (value: Date | string, format?: string | undefined, lang?: Langs | undefined) => {
1
+ export declare const formatInputValue: (value?: string | Date | undefined, format?: string | undefined) => string;
2
+ export declare const formatCalendarValue: (value?: string | Date | undefined, format?: string | undefined) => Date | undefined;
3
+ export declare const getDateFromFormat: (value: Date | string, format?: string | undefined) => {
5
4
  value: string | Date;
6
5
  isError: boolean;
7
6
  isSuccess: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"dateHelper.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/utils/dateHelper.ts"],"names":[],"mappings":"AAEA,oBAAY,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhC,eAAO,MAAM,gBAAgB,sGAc5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,gHAc/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,IAAI,GAAG,MAAM;;;;CAUrD,CAAC;AAEF,eAAO,MAAM,sBAAsB,yCAQlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,qIAsBhC,CAAC"}
1
+ {"version":3,"file":"dateHelper.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/utils/dateHelper.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,4EAc5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,sFAc/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,IAAI,GAAG,MAAM;;;;CAUrD,CAAC;AAEF,eAAO,MAAM,sBAAsB,yCAQlC,CAAC;AAEF,eAAO,MAAM,oBAAoB,qIAsBhC,CAAC"}
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import type { RootProps } from '../../engines';
3
+ import type { InputGroupProps, InputGroupRootProps } from './InputGroup.types';
4
+ export declare const inputGroupRoot: (Root: RootProps<HTMLDivElement, InputGroupRootProps>) => React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
5
+ export declare const inputGroupConfig: {
6
+ name: string;
7
+ tag: string;
8
+ layout: (Root: RootProps<HTMLDivElement, InputGroupRootProps>) => React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
9
+ base: import("@linaria/core").LinariaClassName;
10
+ variations: {
11
+ size: {
12
+ css: import("@linaria/core").LinariaClassName;
13
+ };
14
+ gap: {
15
+ css: import("@linaria/core").LinariaClassName;
16
+ };
17
+ orientation: {
18
+ css: import("@linaria/core").LinariaClassName;
19
+ };
20
+ shape: {
21
+ css: import("@linaria/core").LinariaClassName;
22
+ };
23
+ stretching: {
24
+ css: import("@linaria/core").LinariaClassName;
25
+ };
26
+ };
27
+ defaults: {
28
+ size: string;
29
+ gap: string;
30
+ orientation: string;
31
+ shape: string;
32
+ stretching: string;
33
+ };
34
+ };
35
+ //# sourceMappingURL=InputGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputGroup.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU/C,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE/E,eAAO,MAAM,cAAc,SAAU,UAAU,cAAc,EAAE,mBAAmB,CAAC,2FAiC7E,CAAC;AAEP,eAAO,MAAM,gBAAgB;;;mBAnCQ,UAAU,cAAc,EAAE,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;CAgElF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=InputGroup.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputGroup.styles.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAEhB,CAAC"}
@@ -0,0 +1,85 @@
1
+ export declare const classes: {
2
+ autoStretching: string;
3
+ filledStretching: string;
4
+ inputGroupOverrideStyles: string;
5
+ inputGroupItem: string;
6
+ horizontal: string;
7
+ vertical: string;
8
+ none: string;
9
+ dense: string;
10
+ wide: string;
11
+ segmented: string;
12
+ default: string;
13
+ };
14
+ export declare const tokens: {
15
+ inputGroupOrientation: string;
16
+ inputGroupWebMarginLeft: string;
17
+ inputGroupWebClipPath: string;
18
+ inputGroupWebMarginTop: string;
19
+ inputGroupWebVerticalClipPath: string;
20
+ inputSegmentedRadius: string;
21
+ inputDefaultRadius: string;
22
+ inputSideRadius: string;
23
+ inputGroupItemsGap: string;
24
+ height: string;
25
+ borderWidth: string;
26
+ /** Отступ от границы ТextField */
27
+ padding: string;
28
+ paddingWithChips: string;
29
+ leftContentMargin: string;
30
+ rightContentMargin: string;
31
+ fontFamily: string;
32
+ fontStyle: string;
33
+ fontSize: string;
34
+ fontWeight: string;
35
+ letterSpacing: string;
36
+ lineHeight: string;
37
+ /** Токены лейбла */
38
+ labelOffset: string;
39
+ labelFontFamily: string;
40
+ labelFontStyle: string;
41
+ labelFontSize: string;
42
+ labelFontWeight: string;
43
+ labelLetterSpacing: string;
44
+ labelLineHeight: string;
45
+ labelInnerFontFamily: string;
46
+ labelInnerFontStyle: string;
47
+ labelInnerFontSize: string;
48
+ labelInnerFontWeight: string;
49
+ labelInnerLetterSpacing: string;
50
+ labelInnerLineHeight: string;
51
+ labelInnerPadding: string;
52
+ contentLabelInnerPadding: string;
53
+ leftHelperOffset: string;
54
+ leftHelperFontFamily: string;
55
+ leftHelperFontStyle: string;
56
+ leftHelperFontSize: string;
57
+ leftHelperFontWeight: string;
58
+ leftHelperLetterSpacing: string;
59
+ leftHelperLineHeight: string;
60
+ /** Токены вспомогательного текста */
61
+ textBeforeMargin: string;
62
+ textAfterMargin: string;
63
+ /** Токены чипа */
64
+ chipHeight: string;
65
+ chipBorderRadius: string;
66
+ chipGap: string;
67
+ chipScaleHover: string;
68
+ chipScaleActive: string;
69
+ chipOutlineSize: string;
70
+ chipWidth: string;
71
+ chipPaddingTop: string;
72
+ chipPaddingRight: string;
73
+ chipPaddingBottom: string;
74
+ chipPaddingLeft: string;
75
+ chipCloseIconSize: string;
76
+ chipFontFamily: string;
77
+ chipFontSize: string;
78
+ chipFontStyle: string;
79
+ chipFontWeight: string;
80
+ chipLetterSpacing: string;
81
+ chipLineHeight: string;
82
+ chipClearContentMarginLeft: string;
83
+ chipClearContentMarginRight: string;
84
+ };
85
+ //# sourceMappingURL=InputGroup.tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputGroup.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/InputGroup/InputGroup.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAgBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;IAgBf,kCAAkC;;;;;;;;;;;IAelC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;IA8BpB,qCAAqC;;;IAIrC,kBAAkB;;;;;;;;;;;;;;;;;;;;;CAqBrB,CAAC"}