@salutejs/plasma-new-hope 0.137.1-dev.0 → 0.138.0-canary.1415.10665437827.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (207) hide show
  1. package/cjs/components/InputGroup/InputGroup.css +11 -0
  2. package/cjs/components/InputGroup/InputGroup.js +81 -0
  3. package/cjs/components/InputGroup/InputGroup.js.map +1 -0
  4. package/cjs/components/InputGroup/InputGroup.styles.js +9 -0
  5. package/cjs/components/InputGroup/InputGroup.styles.js.map +1 -0
  6. package/cjs/components/InputGroup/InputGroup.styles_1ivl67d.css +1 -0
  7. package/cjs/components/InputGroup/InputGroup.tokens.js +94 -0
  8. package/cjs/components/InputGroup/InputGroup.tokens.js.map +1 -0
  9. package/cjs/components/InputGroup/variations/_gap/base.js +9 -0
  10. package/cjs/components/InputGroup/variations/_gap/base.js.map +1 -0
  11. package/cjs/components/InputGroup/variations/_gap/base_1k4piyx.css +1 -0
  12. package/cjs/components/InputGroup/variations/_orientation/base.js +9 -0
  13. package/cjs/components/InputGroup/variations/_orientation/base.js.map +1 -0
  14. package/cjs/components/InputGroup/variations/_orientation/base_mgs8eg.css +1 -0
  15. package/cjs/components/InputGroup/variations/_shape/base.js +9 -0
  16. package/cjs/components/InputGroup/variations/_shape/base.js.map +1 -0
  17. package/cjs/components/InputGroup/variations/_shape/base_3k0aw7.css +1 -0
  18. package/cjs/components/InputGroup/variations/_size/base.js +9 -0
  19. package/cjs/components/InputGroup/variations/_size/base.js.map +1 -0
  20. package/cjs/components/InputGroup/variations/_size/base_1vk5vms.css +1 -0
  21. package/cjs/components/InputGroup/variations/_stretching/base.js +9 -0
  22. package/cjs/components/InputGroup/variations/_stretching/base.js.map +1 -0
  23. package/cjs/components/InputGroup/variations/_stretching/base_1cr1a83.css +1 -0
  24. package/cjs/components/Popup/PopupContext.js +1 -1
  25. package/cjs/components/Popup/PopupContext.js.map +1 -1
  26. package/cjs/components/TextField/TextField.js +1 -1
  27. package/cjs/components/TextField/TextField.js.map +1 -1
  28. package/cjs/components/TextField/TextField.tokens.js +2 -1
  29. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  30. package/cjs/index.css +12 -0
  31. package/cjs/index.js +7 -0
  32. package/cjs/index.js.map +1 -1
  33. package/emotion/cjs/components/InputGroup/InputGroup.js +83 -0
  34. package/emotion/cjs/components/InputGroup/InputGroup.styles.js +17 -0
  35. package/emotion/cjs/components/InputGroup/InputGroup.template-doc.mdx +126 -0
  36. package/emotion/cjs/components/InputGroup/InputGroup.tokens.js +92 -0
  37. package/emotion/cjs/components/InputGroup/InputGroup.types.js +5 -0
  38. package/emotion/cjs/components/InputGroup/index.js +31 -0
  39. package/emotion/cjs/components/InputGroup/variations/_gap/base.js +9 -0
  40. package/emotion/cjs/components/InputGroup/variations/_gap/tokens.json +1 -0
  41. package/emotion/cjs/components/InputGroup/variations/_orientation/base.js +9 -0
  42. package/emotion/cjs/components/InputGroup/variations/_orientation/tokens.json +1 -0
  43. package/emotion/cjs/components/InputGroup/variations/_shape/base.js +11 -0
  44. package/emotion/cjs/components/InputGroup/variations/_shape/tokens.json +1 -0
  45. package/emotion/cjs/components/InputGroup/variations/_size/base.js +10 -0
  46. package/emotion/cjs/components/InputGroup/variations/_size/tokens.json +58 -0
  47. package/emotion/cjs/components/InputGroup/variations/_stretching/base.js +9 -0
  48. package/emotion/cjs/components/InputGroup/variations/_stretching/tokens.json +1 -0
  49. package/emotion/cjs/components/Popup/PopupContext.js +1 -1
  50. package/emotion/cjs/components/TextField/TextField.js +2 -2
  51. package/emotion/cjs/components/TextField/TextField.tokens.js +2 -1
  52. package/emotion/cjs/components/TextField/index.js +6 -0
  53. package/emotion/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.config.js +38 -0
  54. package/emotion/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.js +11 -0
  55. package/emotion/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.stories.tsx +116 -0
  56. package/emotion/cjs/examples/plasma_web/components/InputGroup/InputGroup.config.js +38 -0
  57. package/emotion/cjs/examples/plasma_web/components/InputGroup/InputGroup.js +11 -0
  58. package/emotion/cjs/examples/plasma_web/components/InputGroup/InputGroup.stories.tsx +116 -0
  59. package/emotion/cjs/index.js +11 -0
  60. package/emotion/es/components/InputGroup/InputGroup.js +74 -0
  61. package/emotion/es/components/InputGroup/InputGroup.styles.js +11 -0
  62. package/emotion/es/components/InputGroup/InputGroup.template-doc.mdx +126 -0
  63. package/emotion/es/components/InputGroup/InputGroup.tokens.js +86 -0
  64. package/emotion/es/components/InputGroup/InputGroup.types.js +1 -0
  65. package/emotion/es/components/InputGroup/index.js +2 -0
  66. package/emotion/es/components/InputGroup/variations/_gap/base.js +3 -0
  67. package/emotion/es/components/InputGroup/variations/_gap/tokens.json +1 -0
  68. package/emotion/es/components/InputGroup/variations/_orientation/base.js +3 -0
  69. package/emotion/es/components/InputGroup/variations/_orientation/tokens.json +1 -0
  70. package/emotion/es/components/InputGroup/variations/_shape/base.js +5 -0
  71. package/emotion/es/components/InputGroup/variations/_shape/tokens.json +1 -0
  72. package/emotion/es/components/InputGroup/variations/_size/base.js +4 -0
  73. package/emotion/es/components/InputGroup/variations/_size/tokens.json +58 -0
  74. package/emotion/es/components/InputGroup/variations/_stretching/base.js +3 -0
  75. package/emotion/es/components/InputGroup/variations/_stretching/tokens.json +1 -0
  76. package/emotion/es/components/Popup/PopupContext.js +1 -1
  77. package/emotion/es/components/TextField/TextField.js +2 -2
  78. package/emotion/es/components/TextField/TextField.tokens.js +2 -1
  79. package/emotion/es/components/TextField/index.js +1 -1
  80. package/emotion/es/examples/plasma_b2c/components/InputGroup/InputGroup.config.js +32 -0
  81. package/emotion/es/examples/plasma_b2c/components/InputGroup/InputGroup.js +5 -0
  82. package/emotion/es/examples/plasma_b2c/components/InputGroup/InputGroup.stories.tsx +116 -0
  83. package/emotion/es/examples/plasma_web/components/InputGroup/InputGroup.config.js +32 -0
  84. package/emotion/es/examples/plasma_web/components/InputGroup/InputGroup.js +5 -0
  85. package/emotion/es/examples/plasma_web/components/InputGroup/InputGroup.stories.tsx +116 -0
  86. package/emotion/es/index.js +1 -0
  87. package/es/components/InputGroup/InputGroup.css +11 -0
  88. package/es/components/InputGroup/InputGroup.js +76 -0
  89. package/es/components/InputGroup/InputGroup.js.map +1 -0
  90. package/es/components/InputGroup/InputGroup.styles.js +5 -0
  91. package/es/components/InputGroup/InputGroup.styles.js.map +1 -0
  92. package/es/components/InputGroup/InputGroup.styles_1ivl67d.css +1 -0
  93. package/es/components/InputGroup/InputGroup.tokens.js +89 -0
  94. package/es/components/InputGroup/InputGroup.tokens.js.map +1 -0
  95. package/es/components/InputGroup/variations/_gap/base.js +5 -0
  96. package/es/components/InputGroup/variations/_gap/base.js.map +1 -0
  97. package/es/components/InputGroup/variations/_gap/base_1k4piyx.css +1 -0
  98. package/es/components/InputGroup/variations/_orientation/base.js +5 -0
  99. package/es/components/InputGroup/variations/_orientation/base.js.map +1 -0
  100. package/es/components/InputGroup/variations/_orientation/base_mgs8eg.css +1 -0
  101. package/es/components/InputGroup/variations/_shape/base.js +5 -0
  102. package/es/components/InputGroup/variations/_shape/base.js.map +1 -0
  103. package/es/components/InputGroup/variations/_shape/base_3k0aw7.css +1 -0
  104. package/es/components/InputGroup/variations/_size/base.js +5 -0
  105. package/es/components/InputGroup/variations/_size/base.js.map +1 -0
  106. package/es/components/InputGroup/variations/_size/base_1vk5vms.css +1 -0
  107. package/es/components/InputGroup/variations/_stretching/base.js +5 -0
  108. package/es/components/InputGroup/variations/_stretching/base.js.map +1 -0
  109. package/es/components/InputGroup/variations/_stretching/base_1cr1a83.css +1 -0
  110. package/es/components/Popup/PopupContext.js +1 -1
  111. package/es/components/Popup/PopupContext.js.map +1 -1
  112. package/es/components/TextField/TextField.js +1 -1
  113. package/es/components/TextField/TextField.js.map +1 -1
  114. package/es/components/TextField/TextField.tokens.js +2 -1
  115. package/es/components/TextField/TextField.tokens.js.map +1 -1
  116. package/es/index.css +12 -0
  117. package/es/index.js +3 -1
  118. package/es/index.js.map +1 -1
  119. package/package.json +2 -2
  120. package/styled-components/cjs/components/InputGroup/InputGroup.js +83 -0
  121. package/styled-components/cjs/components/InputGroup/InputGroup.styles.js +8 -0
  122. package/styled-components/cjs/components/InputGroup/InputGroup.template-doc.mdx +126 -0
  123. package/styled-components/cjs/components/InputGroup/InputGroup.tokens.js +92 -0
  124. package/styled-components/cjs/components/InputGroup/InputGroup.types.js +5 -0
  125. package/styled-components/cjs/components/InputGroup/index.js +31 -0
  126. package/styled-components/cjs/components/InputGroup/variations/_gap/base.js +9 -0
  127. package/styled-components/cjs/components/InputGroup/variations/_gap/tokens.json +1 -0
  128. package/styled-components/cjs/components/InputGroup/variations/_orientation/base.js +9 -0
  129. package/styled-components/cjs/components/InputGroup/variations/_orientation/tokens.json +1 -0
  130. package/styled-components/cjs/components/InputGroup/variations/_shape/base.js +11 -0
  131. package/styled-components/cjs/components/InputGroup/variations/_shape/tokens.json +1 -0
  132. package/styled-components/cjs/components/InputGroup/variations/_size/base.js +10 -0
  133. package/styled-components/cjs/components/InputGroup/variations/_size/tokens.json +58 -0
  134. package/styled-components/cjs/components/InputGroup/variations/_stretching/base.js +9 -0
  135. package/styled-components/cjs/components/InputGroup/variations/_stretching/tokens.json +1 -0
  136. package/styled-components/cjs/components/Popup/PopupContext.js +1 -1
  137. package/styled-components/cjs/components/TextField/TextField.js +1 -1
  138. package/styled-components/cjs/components/TextField/TextField.tokens.js +2 -1
  139. package/styled-components/cjs/components/TextField/index.js +6 -0
  140. package/styled-components/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.config.js +38 -0
  141. package/styled-components/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.js +11 -0
  142. package/styled-components/cjs/examples/plasma_b2c/components/InputGroup/InputGroup.stories.tsx +116 -0
  143. package/styled-components/cjs/examples/plasma_web/components/InputGroup/InputGroup.config.js +38 -0
  144. package/styled-components/cjs/examples/plasma_web/components/InputGroup/InputGroup.js +11 -0
  145. package/styled-components/cjs/examples/plasma_web/components/InputGroup/InputGroup.stories.tsx +116 -0
  146. package/styled-components/cjs/index.js +11 -0
  147. package/styled-components/es/components/InputGroup/InputGroup.js +74 -0
  148. package/styled-components/es/components/InputGroup/InputGroup.styles.js +2 -0
  149. package/styled-components/es/components/InputGroup/InputGroup.template-doc.mdx +126 -0
  150. package/styled-components/es/components/InputGroup/InputGroup.tokens.js +86 -0
  151. package/styled-components/es/components/InputGroup/InputGroup.types.js +1 -0
  152. package/styled-components/es/components/InputGroup/index.js +2 -0
  153. package/styled-components/es/components/InputGroup/variations/_gap/base.js +3 -0
  154. package/styled-components/es/components/InputGroup/variations/_gap/tokens.json +1 -0
  155. package/styled-components/es/components/InputGroup/variations/_orientation/base.js +3 -0
  156. package/styled-components/es/components/InputGroup/variations/_orientation/tokens.json +1 -0
  157. package/styled-components/es/components/InputGroup/variations/_shape/base.js +5 -0
  158. package/styled-components/es/components/InputGroup/variations/_shape/tokens.json +1 -0
  159. package/styled-components/es/components/InputGroup/variations/_size/base.js +4 -0
  160. package/styled-components/es/components/InputGroup/variations/_size/tokens.json +58 -0
  161. package/styled-components/es/components/InputGroup/variations/_stretching/base.js +3 -0
  162. package/styled-components/es/components/InputGroup/variations/_stretching/tokens.json +1 -0
  163. package/styled-components/es/components/Popup/PopupContext.js +1 -1
  164. package/styled-components/es/components/TextField/TextField.js +1 -1
  165. package/styled-components/es/components/TextField/TextField.tokens.js +2 -1
  166. package/styled-components/es/components/TextField/index.js +1 -1
  167. package/styled-components/es/examples/plasma_b2c/components/InputGroup/InputGroup.config.js +32 -0
  168. package/styled-components/es/examples/plasma_b2c/components/InputGroup/InputGroup.js +5 -0
  169. package/styled-components/es/examples/plasma_b2c/components/InputGroup/InputGroup.stories.tsx +116 -0
  170. package/styled-components/es/examples/plasma_web/components/InputGroup/InputGroup.config.js +32 -0
  171. package/styled-components/es/examples/plasma_web/components/InputGroup/InputGroup.js +5 -0
  172. package/styled-components/es/examples/plasma_web/components/InputGroup/InputGroup.stories.tsx +116 -0
  173. package/styled-components/es/index.js +1 -0
  174. package/types/components/InputGroup/InputGroup.d.ts +35 -0
  175. package/types/components/InputGroup/InputGroup.d.ts.map +1 -0
  176. package/types/components/InputGroup/InputGroup.styles.d.ts +2 -0
  177. package/types/components/InputGroup/InputGroup.styles.d.ts.map +1 -0
  178. package/types/components/InputGroup/InputGroup.tokens.d.ts +85 -0
  179. package/types/components/InputGroup/InputGroup.tokens.d.ts.map +1 -0
  180. package/types/components/InputGroup/InputGroup.types.d.ts +84 -0
  181. package/types/components/InputGroup/InputGroup.types.d.ts.map +1 -0
  182. package/types/components/InputGroup/index.d.ts +4 -0
  183. package/types/components/InputGroup/index.d.ts.map +1 -0
  184. package/types/components/InputGroup/variations/_gap/base.d.ts +2 -0
  185. package/types/components/InputGroup/variations/_gap/base.d.ts.map +1 -0
  186. package/types/components/InputGroup/variations/_orientation/base.d.ts +2 -0
  187. package/types/components/InputGroup/variations/_orientation/base.d.ts.map +1 -0
  188. package/types/components/InputGroup/variations/_shape/base.d.ts +2 -0
  189. package/types/components/InputGroup/variations/_shape/base.d.ts.map +1 -0
  190. package/types/components/InputGroup/variations/_size/base.d.ts +2 -0
  191. package/types/components/InputGroup/variations/_size/base.d.ts.map +1 -0
  192. package/types/components/InputGroup/variations/_stretching/base.d.ts +2 -0
  193. package/types/components/InputGroup/variations/_stretching/base.d.ts.map +1 -0
  194. package/types/components/TextField/TextField.tokens.d.ts +1 -0
  195. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  196. package/types/components/TextField/index.d.ts +1 -1
  197. package/types/components/TextField/index.d.ts.map +1 -1
  198. package/types/examples/plasma_b2c/components/InputGroup/InputGroup.config.d.ts +31 -0
  199. package/types/examples/plasma_b2c/components/InputGroup/InputGroup.config.d.ts.map +1 -0
  200. package/types/examples/plasma_b2c/components/InputGroup/InputGroup.d.ts +43 -0
  201. package/types/examples/plasma_b2c/components/InputGroup/InputGroup.d.ts.map +1 -0
  202. package/types/examples/plasma_web/components/InputGroup/InputGroup.config.d.ts +31 -0
  203. package/types/examples/plasma_web/components/InputGroup/InputGroup.config.d.ts.map +1 -0
  204. package/types/examples/plasma_web/components/InputGroup/InputGroup.d.ts +43 -0
  205. package/types/examples/plasma_web/components/InputGroup/InputGroup.d.ts.map +1 -0
  206. package/types/index.d.ts +1 -0
  207. package/types/index.d.ts.map +1 -1
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.InputGroup = void 0;
7
+ var _InputGroup = /*#__PURE__*/require("../../../../components/InputGroup");
8
+ var _engines = /*#__PURE__*/require("../../../../engines");
9
+ var _InputGroup2 = /*#__PURE__*/require("./InputGroup.config");
10
+ var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_InputGroup.inputGroupConfig, _InputGroup2.config);
11
+ var InputGroup = exports.InputGroup = /*#__PURE__*/(0, _engines.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
+ };
@@ -190,6 +190,17 @@ Object.keys(_TextField).forEach(function (key) {
190
190
  }
191
191
  });
192
192
  });
193
+ var _InputGroup = /*#__PURE__*/require("./components/InputGroup");
194
+ Object.keys(_InputGroup).forEach(function (key) {
195
+ if (key === "default" || key === "__esModule") return;
196
+ if (key in exports && exports[key] === _InputGroup[key]) return;
197
+ Object.defineProperty(exports, key, {
198
+ enumerable: true,
199
+ get: function get() {
200
+ return _InputGroup[key];
201
+ }
202
+ });
203
+ });
193
204
  var _Switch = /*#__PURE__*/require("./components/Switch");
194
205
  Object.keys(_Switch).forEach(function (key) {
195
206
  if (key === "default" || key === "__esModule") return;
@@ -0,0 +1,74 @@
1
+ var _excluded = ["children", "className", "size", "stretching", "gap", "orientation", "shape", "isCommonInputStyles"];
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
+ import React, { forwardRef } from 'react';
6
+ import { cx } from '../../utils';
7
+ import { base as sizeCSS } from './variations/_size/base';
8
+ import { base as gapCSS } from './variations/_gap/base';
9
+ import { base as shapeCSS } from './variations/_shape/base';
10
+ import { base as orientationCSS } from './variations/_orientation/base';
11
+ import { base as stretchingCSS } from './variations/_stretching/base';
12
+ import { base } from './InputGroup.styles';
13
+ import { classes } from './InputGroup.tokens';
14
+ export var inputGroupRoot = function inputGroupRoot(Root) {
15
+ return /*#__PURE__*/forwardRef(function (props, ref) {
16
+ var children = props.children,
17
+ className = props.className,
18
+ size = props.size,
19
+ _props$stretching = props.stretching,
20
+ stretching = _props$stretching === void 0 ? 'auto' : _props$stretching,
21
+ _props$gap = props.gap,
22
+ gap = _props$gap === void 0 ? 'dense' : _props$gap,
23
+ _props$orientation = props.orientation,
24
+ orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,
25
+ _props$shape = props.shape,
26
+ shape = _props$shape === void 0 ? 'default' : _props$shape,
27
+ _props$isCommonInputS = props.isCommonInputStyles,
28
+ isCommonInputStyles = _props$isCommonInputS === void 0 ? true : _props$isCommonInputS,
29
+ rest = _objectWithoutProperties(props, _excluded);
30
+ var orientationClass = classes[orientation];
31
+ var gapClass = classes[gap];
32
+ var shapeClass = classes[shape];
33
+ var stretchingClass = classes["".concat(stretching, "Stretching")];
34
+ var overrideStylesClass = isCommonInputStyles ? classes.inputGroupOverrideStyles : undefined;
35
+ return /*#__PURE__*/React.createElement(Root, _extends({
36
+ ref: ref,
37
+ size: size,
38
+ gap: gap,
39
+ shape: shape,
40
+ orientation: orientation,
41
+ className: cx(overrideStylesClass, orientationClass, gapClass, shapeClass, stretchingClass, className)
42
+ }, rest), children);
43
+ });
44
+ };
45
+ export var inputGroupConfig = {
46
+ name: 'InputGroup',
47
+ tag: 'div',
48
+ layout: inputGroupRoot,
49
+ base: base,
50
+ variations: {
51
+ size: {
52
+ css: sizeCSS
53
+ },
54
+ gap: {
55
+ css: gapCSS
56
+ },
57
+ orientation: {
58
+ css: orientationCSS
59
+ },
60
+ shape: {
61
+ css: shapeCSS
62
+ },
63
+ stretching: {
64
+ css: stretchingCSS
65
+ }
66
+ },
67
+ defaults: {
68
+ size: 'm',
69
+ gap: 'dense',
70
+ orientation: 'horizontal',
71
+ shape: 'default',
72
+ stretching: 'auto'
73
+ }
74
+ };
@@ -0,0 +1,11 @@
1
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
2
+ import { css } from '@emotion/react';
3
+ export var base = process.env.NODE_ENV === "production" ? {
4
+ name: "d6pg61-plasma-new-hope__base",
5
+ styles: "display:inline-flex;label:plasma-new-hope__base;"
6
+ } : {
7
+ name: "d6pg61-plasma-new-hope__base",
8
+ styles: "display:inline-flex;label:plasma-new-hope__base;",
9
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvSW5wdXRHcm91cC9JbnB1dEdyb3VwLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9JbnB1dEdyb3VwL0lucHV0R3JvdXAuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcbmA7XG4iXX0= */",
10
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
11
+ };
@@ -0,0 +1,126 @@
1
+ ---
2
+ id: inputGroup
3
+ title: InputGroup
4
+ ---
5
+
6
+ import { PropsTable, Description } from '@site/src/components';
7
+
8
+ # InputGroup
9
+ <Description name="InputGroup" />
10
+ <PropsTable name="InputGroup" exclude={['css']} />
11
+
12
+ ## Использование
13
+ Компонент `InputGroup` - это обертка для Input. Принимает в себя группу input.
14
+
15
+ ```tsx live
16
+ import React from 'react';
17
+ import { InputGroup, TextField } from '@salutejs/{{ package }}';
18
+
19
+ export function App() {
20
+ return (
21
+ <InputGroup>
22
+ {Array(5)
23
+ .fill(true)
24
+ .map((_, i) => (
25
+ <TextField placeholder={`input #${i}`} />
26
+ ))}
27
+ </InputGroup>
28
+ );
29
+ }
30
+ ```
31
+
32
+ ## Примеры
33
+
34
+ ### Размер группы input
35
+ Размер InputGroup задается с помощью свойства `size`.
36
+ С помощью свойства `isCommonInputStyles` можно отключить переопределение стилей для всех input внутри группы.
37
+ Тогда каждкаждый input будет иметь настраиваемый размер.
38
+
39
+ ```tsx live
40
+ import React from 'react';
41
+ import { InputGroup, TextField } from '@salutejs/{{ package }}';
42
+
43
+ export function App() {
44
+ return (
45
+ <div>
46
+ <InputGroup size="s" view="secondary">
47
+ {Array(5)
48
+ .fill(true)
49
+ .map((_, i) => (
50
+ <TextField placeholder={`input #${i}`} />
51
+ ))}
52
+ </InputGroup>
53
+
54
+ <InputGroup isCommonInputStyles={false}>
55
+ <TextField placeholder="Размер l" size="l" />
56
+ <TextField placeholder="Размер m" size="m" />
57
+ <TextField placeholder="Размер s" size="s" />
58
+ <TextField placeholder="Размер xs" size="xs" />
59
+ </InputGroup>
60
+ </div>
61
+ );
62
+ }
63
+ ```
64
+
65
+ ### Границы input
66
+ Границы input задаются с помощью свойства `shape`.
67
+
68
+ ```tsx live
69
+ import React from 'react';
70
+ import { InputGroup, TextField } from '@salutejs/{{ package }}';
71
+
72
+ export function App() {
73
+ return (
74
+ <div>
75
+ <InputGroup size="xs" shape="segmented">
76
+ {Array(3)
77
+ .fill(true)
78
+ .map((_, i) => (
79
+ <TextField placeholder={`input #${i}`} />
80
+ ))}
81
+ </InputGroup>
82
+
83
+ <InputGroup size="xs" shape="default">
84
+ {Array(3)
85
+ .fill(true)
86
+ .map((_, i) => (
87
+ <TextField placeholder={`input #${i}`} />
88
+ ))}
89
+ </InputGroup>
90
+ </div>
91
+ );
92
+ }
93
+ ```
94
+
95
+ ### Ориентация InputGroup и отступы между input
96
+
97
+ InputGroup может располагаться вертикально или горизонтально и иметь два вида отступов, в зависимости от shape.
98
+ При `shape='default'`, `gap` может принимать значения `dense` и `wide`;
99
+ При `shape='segmented'`, `gap` может принимать значения `none` и `dense`;
100
+
101
+ ```tsx live
102
+ import React from 'react';
103
+ import { InputGroup, TextField } from '@salutejs/{{ package }}';
104
+
105
+ export function App() {
106
+ return (
107
+ <div>
108
+ <InputGroup size="xs" orientation="vertical" shape="segmented" gap="none">
109
+ {Array(5)
110
+ .fill(true)
111
+ .map((_, i) => (
112
+ <TextField placeholder={`input #${i}`} />
113
+ ))}
114
+ </InputGroup>
115
+
116
+ <InputGroup size="xs" orientation="horizontal" gap="wide">
117
+ {Array(4)
118
+ .fill(true)
119
+ .map((_, i) => (
120
+ <TextField placeholder={`input #${i}`} />
121
+ ))}
122
+ </InputGroup>
123
+ </div>
124
+ );
125
+ }
126
+ ```
@@ -0,0 +1,86 @@
1
+ export var classes = {
2
+ autoStretching: 'input-group-stretching-auto',
3
+ filledStretching: 'input-group-stretching-filled',
4
+ inputGroupOverrideStyles: 'input-group-override-styles',
5
+ inputGroupItem: 'input-group-item',
6
+ horizontal: 'input-group-orientation-horizontal',
7
+ vertical: 'input-group-orientation-vertical',
8
+ none: 'input-group-gap-none',
9
+ dense: 'input-group-gap-dense',
10
+ wide: 'input-group-gap-wide',
11
+ segmented: 'input-group-shape-segmented',
12
+ "default": 'input-group-shape-default'
13
+ };
14
+ export var tokens = {
15
+ inputGroupOrientation: '--plasma-input-group-orientation',
16
+ inputGroupWebMarginLeft: '--plasma-input-group-web-margin-left',
17
+ inputGroupWebClipPath: '--plasma-input-group-web-clip-path',
18
+ inputGroupWebMarginTop: '--plasma-input-group-web-margin-top',
19
+ inputGroupWebVerticalClipPath: '--plasma-input-group-web-vertical-clip-path',
20
+ inputSegmentedRadius: '--plasma-input-group-item-segmented-radius',
21
+ inputDefaultRadius: '--plasma-input-group-item-default-radius',
22
+ inputSideRadius: '--plasma-input-group-side-item-radius',
23
+ inputGroupItemsGap: '--plasma-input-group-items-gap',
24
+ height: '--plasma-input-group-item-height',
25
+ borderWidth: '--plasma-input-group-item-border-width',
26
+ /** Отступ от границы ТextField */
27
+ padding: '--plasma-input-group-item-padding',
28
+ paddingWithChips: '--plasma-input-group-item-padding-with-chips',
29
+ /* Токены для инпута */
30
+ leftContentMargin: '--plasma-input-group-item__left-content-margin',
31
+ rightContentMargin: '--plasma-input-group-item__right-content-margin',
32
+ fontFamily: '--plasma-input-group-item-font-family',
33
+ fontStyle: '--plasma-input-group-item-font-style',
34
+ fontSize: '--plasma-input-group-item-font-size',
35
+ fontWeight: '--plasma-input-group-item-font-weight',
36
+ letterSpacing: '--plasma-input-group-item-letter-spacing',
37
+ lineHeight: '--plasma-input-group-item-line-height',
38
+ /** Токены лейбла */
39
+ labelOffset: '--plasma-input-group-item__label-offset',
40
+ labelFontFamily: '--plasma-input-group-item__label-font-family',
41
+ labelFontStyle: '--plasma-input-group-item__label-font-style',
42
+ labelFontSize: '--plasma-input-group-item__label-font-size',
43
+ labelFontWeight: '--plasma-input-group-item__label-font-weight',
44
+ labelLetterSpacing: '--plasma-input-group-item__label-letter-spacing',
45
+ labelLineHeight: '--plasma-input-group-item__label-line-height',
46
+ /* label-placement-inner */
47
+ labelInnerFontFamily: '--plasma-input-group-item-placement_inner__label-font-family',
48
+ labelInnerFontStyle: '--plasma-input-group-item-placement_inner__label-font-style',
49
+ labelInnerFontSize: '--plasma-input-group-item-placement_inner__label-font-size',
50
+ labelInnerFontWeight: '--plasma-input-group-item-placement_inner__label-font-weight',
51
+ labelInnerLetterSpacing: '--plasma-input-group-item-placement_inner__label-letter-spacing',
52
+ labelInnerLineHeight: '--plasma-input-group-item-placement_inner__label-line-height',
53
+ labelInnerPadding: '--plasma-input-group-item-placement_inner__label-padding',
54
+ contentLabelInnerPadding: '--plasma-input-group-item-placement_inner__content-padding',
55
+ leftHelperOffset: '--plasma-input-group-item__left-helper-offset',
56
+ leftHelperFontFamily: '--plasma-input-group-item__left-helper-font-family',
57
+ leftHelperFontStyle: '--plasma-input-group-item__left-helper-font-style',
58
+ leftHelperFontSize: '--plasma-input-group-item__left-helper-font-size',
59
+ leftHelperFontWeight: '--plasma-input-group-item__left-helper-font-weight',
60
+ leftHelperLetterSpacing: '--plasma-input-group-item__left-helper-letter-spacing',
61
+ leftHelperLineHeight: '--plasma-input-group-item__left-helper-line-height',
62
+ /** Токены вспомогательного текста */
63
+ textBeforeMargin: '--plasma-input-group-item__before-text-margin',
64
+ textAfterMargin: '--plasma-input-group-item__after-text-margin',
65
+ /** Токены чипа */
66
+ chipHeight: '--plasma-input-group-item__chip-height',
67
+ chipBorderRadius: '--plasma-input-group-item__chip-border-radius',
68
+ chipGap: '--plasma-input-group-item__chip-gap',
69
+ chipScaleHover: '--plasma-input-group-item__chip-scale-hover',
70
+ chipScaleActive: '--plasma-input-group-item__chip-scale-active',
71
+ chipOutlineSize: '--plasma-input-group-item__chip-outline-size',
72
+ chipWidth: '--plasma-input-group-item__chip-width',
73
+ chipPaddingTop: '--plasma-input-group-item__chip-padding-top',
74
+ chipPaddingRight: '--plasma-input-group-item__chip-padding-right',
75
+ chipPaddingBottom: '--plasma-input-group-item__chip-padding-bottom',
76
+ chipPaddingLeft: '--plasma-input-group-item__chip-padding-left',
77
+ chipCloseIconSize: '--plasma-input-group-item__chip-close-icon-size',
78
+ chipFontFamily: '--plasma-input-group-item__chip-font-family',
79
+ chipFontSize: '--plasma-input-group-item__chip-font-size',
80
+ chipFontStyle: '--plasma-input-group-item__chip-font-style',
81
+ chipFontWeight: '--plasma-input-group-item__chip-font-weight',
82
+ chipLetterSpacing: '--plasma-input-group-item__chip-letter-spacing',
83
+ chipLineHeight: '--plasma-input-group-item__chip-line-height',
84
+ chipClearContentMarginLeft: '--plasma-input-group-item__chip-clear-content-margin-left',
85
+ chipClearContentMarginRight: '--plasma-input-group-item__chip-clear-content-margin-right'
86
+ };
@@ -0,0 +1,2 @@
1
+ export { inputGroupRoot, inputGroupConfig } from './InputGroup';
2
+ export { tokens as inputGroupTokens, classes as inputGroupClasses } from './InputGroup.tokens';
@@ -0,0 +1,3 @@
1
+ import { css } from '@emotion/react';
2
+ import { tokens } from '../../InputGroup.tokens';
3
+ export var base = /*#__PURE__*/css("gap:var(", tokens.inputGroupItemsGap, ");;label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvSW5wdXRHcm91cC92YXJpYXRpb25zL19nYXAvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9JbnB1dEdyb3VwL3ZhcmlhdGlvbnMvX2dhcC9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9JbnB1dEdyb3VwLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGdhcDogdmFyKCR7dG9rZW5zLmlucHV0R3JvdXBJdGVtc0dhcH0pO1xuYDtcbiJdfQ== */"));
@@ -0,0 +1 @@
1
+ ["--plasma-input-group-items-gap"]
@@ -0,0 +1,3 @@
1
+ import { css } from '@emotion/react';
2
+ import { classes, tokens } from '../../InputGroup.tokens';
3
+ export var base = /*#__PURE__*/css("flex-direction:var(", tokens.inputGroupOrientation, ");&.", classes.vertical, " .", classes.inputGroupItem, "{width:auto;};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvSW5wdXRHcm91cC92YXJpYXRpb25zL19vcmllbnRhdGlvbi9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUl1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0lucHV0R3JvdXAvdmFyaWF0aW9ucy9fb3JpZW50YXRpb24vYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vSW5wdXRHcm91cC50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICBmbGV4LWRpcmVjdGlvbjogdmFyKCR7dG9rZW5zLmlucHV0R3JvdXBPcmllbnRhdGlvbn0pO1xuXG4gICAgJi4ke2NsYXNzZXMudmVydGljYWx9IC4ke2NsYXNzZXMuaW5wdXRHcm91cEl0ZW19IHtcbiAgICAgICAgd2lkdGg6IGF1dG87XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -0,0 +1 @@
1
+ ["--plasma-input-group-orientation"]
@@ -0,0 +1,5 @@
1
+ import { css } from '@emotion/react';
2
+ import { classes, tokens } from '../../InputGroup.tokens';
3
+ import { textFieldTokens, textFieldClasses } from '../../../TextField';
4
+ import { InputWrapper } from '../../../TextField/TextField.styles';
5
+ export var base = /*#__PURE__*/css("&.", classes["default"], "{--plasma_private-input-radius-inner:var(", tokens.inputDefaultRadius, ");}&.", classes.segmented, "{--plasma_private-input-radius-inner:var(", tokens.inputSegmentedRadius, ");&.", classes.none, "{--plasma_private-input-radius-inner:0;}}& .", textFieldClasses.inputGroupItem, " ", InputWrapper, "{", textFieldTokens.borderRadius, ":var(--plasma_private-input-radius-inner);transition:clip-path 0.05s ease-in;}&.", classes.horizontal, "&.", classes.none, " .", textFieldClasses.inputGroupItem, "{&:not(:first-child){margin-left:var(", tokens.inputGroupWebMarginLeft, ");}&:not(:last-child){", InputWrapper, "{clip-path:var(", tokens.inputGroupWebClipPath, ");&:hover,&:focus-within{clip-path:inset(0 0 0 0);}}}}&.", classes.vertical, "&.", classes.none, " .", textFieldClasses.inputGroupItem, "{&:not(:first-child){margin-top:var(", tokens.inputGroupWebMarginTop, ");}&:not(:first-child){", InputWrapper, "{clip-path:var(", tokens.inputGroupWebVerticalClipPath, ");&:hover,&:focus-within{clip-path:inset(0 0 0 0);}}}}&.", classes.horizontal, ",&.", classes.vertical, "{.", textFieldClasses.inputGroupItem, ":first-child:last-child ", InputWrapper, "{border-radius:var(", tokens.inputSideRadius, ");}}&.", classes.horizontal, "{.", textFieldClasses.inputGroupItem, ":first-child ", InputWrapper, "{--plasma_private-left-side-radius:var(", tokens.inputSideRadius, ") var(--plasma_private-input-radius-inner) var(--plasma_private-input-radius-inner) var(", tokens.inputSideRadius, ");border-radius:var(--plasma_private-left-side-radius);}.", textFieldClasses.inputGroupItem, ":last-child ", InputWrapper, "{--plasma_private-right-side-radius:var(--plasma_private-input-radius-inner) var(", tokens.inputSideRadius, ") var(", tokens.inputSideRadius, ") var(--plasma_private-input-radius-inner);border-radius:var(--plasma_private-right-side-radius);}}&.", classes.vertical, "{.", textFieldClasses.inputGroupItem, ":first-child ", InputWrapper, "{--plasma_private-up-side-radius:var(", tokens.inputSideRadius, ") var(", tokens.inputSideRadius, ") var(--plasma_private-input-radius-inner) var(--plasma_private-input-radius-inner);border-radius:var(--plasma_private-up-side-radius);}.", textFieldClasses.inputGroupItem, ":last-child ", InputWrapper, "{--plasma_private-down-side-radius:var(--plasma_private-input-radius-inner) var(--plasma_private-input-radius-inner) var(", tokens.inputSideRadius, ") var(", tokens.inputSideRadius, ");border-radius:var(--plasma_private-down-side-radius);}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvSW5wdXRHcm91cC92YXJpYXRpb25zL19zaGFwZS9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU11QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0lucHV0R3JvdXAvdmFyaWF0aW9ucy9fc2hhcGUvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vSW5wdXRHcm91cC50b2tlbnMnO1xuaW1wb3J0IHsgdGV4dEZpZWxkVG9rZW5zLCB0ZXh0RmllbGRDbGFzc2VzIH0gZnJvbSAnLi4vLi4vLi4vVGV4dEZpZWxkJztcbmltcG9ydCB7IElucHV0V3JhcHBlciB9IGZyb20gJy4uLy4uLy4uL1RleHRGaWVsZC9UZXh0RmllbGQuc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJi4ke2NsYXNzZXMuZGVmYXVsdH0ge1xuICAgICAgICAtLXBsYXNtYV9wcml2YXRlLWlucHV0LXJhZGl1cy1pbm5lcjogdmFyKCR7dG9rZW5zLmlucHV0RGVmYXVsdFJhZGl1c30pO1xuICAgIH1cblxuICAgICYuJHtjbGFzc2VzLnNlZ21lbnRlZH0ge1xuICAgICAgICAtLXBsYXNt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AgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy52ZXJ0aWNhbH0ge1xuICAgICAgICAuJHt0ZXh0RmllbGRDbGFzc2VzLmlucHV0R3JvdXBJdGVtfTpmaXJzdC1jaGlsZCAke0lucHV0V3JhcHBlcn0ge1xuICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS11cC1zaWRlLXJhZGl1czogdmFyKCR7dG9rZW5zLmlucHV0U2lkZVJhZGl1c30pIHZhcigke3Rva2Vucy5pbnB1dFNpZGVSYWRpdXN9KVxuICAgICAgICAgICAgICAgIHZhcigtLXBsYXNtYV9wcml2YXRlLWlucHV0LXJhZGl1cy1pbm5lcikgdmFyKC0tcGxhc21hX3ByaXZhdGUtaW5wdXQtcmFkaXVzLWlubmVyKTtcblxuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogdmFyKC0tcGxhc21hX3ByaXZhdGUtdXAtc2lkZS1yYWRpdXMpO1xuICAgICAgICB9XG4gICAgICAgIC4ke3RleHRGaWVsZENsYXNzZXMuaW5wdXRHcm91cEl0ZW19Omxhc3QtY2hpbGQgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtZG93bi1zaWRlLXJhZGl1czogdmFyKC0tcGxhc21hX3ByaXZhdGUtaW5wdXQtcmFkaXVzLWlubmVyKVxuICAgICAgICAgICAgICAgIHZhcigtLXBsYXNtYV9wcml2YXRlLWlucHV0LXJhZGl1cy1pbm5lcikgdmFyKCR7dG9rZW5zLmlucHV0U2lkZVJhZGl1c30pIHZhcigke3Rva2Vucy5pbnB1dFNpZGVSYWRpdXN9KTtcblxuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogdmFyKC0tcGxhc21hX3ByaXZhdGUtZG93bi1zaWRlLXJhZGl1cyk7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
@@ -0,0 +1 @@
1
+ ["--plasma-input-group-item-segmented-radius", "--plasma-input-group-item-default-radius"]
@@ -0,0 +1,4 @@
1
+ import { css } from '@emotion/react';
2
+ import { classes, tokens } from '../../InputGroup.tokens';
3
+ import { textFieldTokens } from '../../../TextField';
4
+ export var base = /*#__PURE__*/css("&.", classes.inputGroupOverrideStyles, " .", classes.inputGroupItem, "{", textFieldTokens.height, ":var(", tokens.height, ");", textFieldTokens.padding, ":var(", tokens.padding, ");", textFieldTokens.paddingWithChips, ":var(", tokens.paddingWithChips, ");", textFieldTokens.leftContentMargin, ":var(", tokens.leftContentMargin, ");", textFieldTokens.rightContentMargin, ":var(", tokens.rightContentMargin, ");", textFieldTokens.textBeforeMargin, ":var(", tokens.textBeforeMargin, ");", textFieldTokens.textAfterMargin, ":var(", tokens.textAfterMargin, ");", textFieldTokens.fontFamily, ":var(", tokens.fontFamily, ");", textFieldTokens.fontSize, ":var(", tokens.fontSize, ");", textFieldTokens.fontStyle, ":var(", tokens.fontStyle, ");", textFieldTokens.fontWeight, ":var(", tokens.fontWeight, ");", textFieldTokens.letterSpacing, ":var(", tokens.letterSpacing, ");", textFieldTokens.lineHeight, ":var(", tokens.lineHeight, ");", textFieldTokens.labelOffset, ":var(", tokens.labelOffset, ");", textFieldTokens.labelFontFamily, ":var(", tokens.labelFontFamily, ");", textFieldTokens.labelFontSize, ":var(", tokens.labelFontSize, ");", textFieldTokens.labelFontStyle, ":var(", tokens.labelFontStyle, ");", textFieldTokens.labelFontWeight, ":var(", tokens.labelFontWeight, ");", textFieldTokens.labelLetterSpacing, ":var(", tokens.labelLetterSpacing, ");", textFieldTokens.labelLineHeight, ":var(", tokens.labelLineHeight, ");", textFieldTokens.leftHelperOffset, ":var(", tokens.leftHelperOffset, ");", textFieldTokens.leftHelperFontFamily, ":var(", tokens.leftHelperFontFamily, ");", textFieldTokens.leftHelperFontSize, ":var(", tokens.leftHelperFontSize, ");", textFieldTokens.leftHelperFontStyle, ":var(", tokens.leftHelperFontStyle, ");", textFieldTokens.leftHelperFontWeight, ":var(", tokens.leftHelperFontWeight, ");", textFieldTokens.leftHelperLetterSpacing, ":var(", tokens.leftHelperLetterSpacing, ");", textFieldTokens.leftHelperLineHeight, ":var(", tokens.leftHelperLineHeight, ");", textFieldTokens.labelInnerPadding, ":var(", tokens.labelInnerPadding, ");", textFieldTokens.contentLabelInnerPadding, ":var(", tokens.contentLabelInnerPadding, ");", textFieldTokens.chipGap, ":var(", tokens.chipGap, ");", textFieldTokens.chipBorderRadius, ":var(", tokens.chipBorderRadius, ");", textFieldTokens.chipWidth, ":var(", tokens.chipWidth, ");", textFieldTokens.chipHeight, ":var(", tokens.chipHeight, ");", textFieldTokens.chipPaddingRight, ":var(", tokens.chipPaddingRight, ");", textFieldTokens.chipPaddingLeft, ":var(", tokens.chipPaddingLeft, ");", textFieldTokens.chipClearContentMarginLeft, ":var(", tokens.chipClearContentMarginLeft, ");", textFieldTokens.chipClearContentMarginRight, ":var(", tokens.chipClearContentMarginRight, ");", textFieldTokens.chipCloseIconSize, ":var(", tokens.chipCloseIconSize, ");", textFieldTokens.chipFontFamily, ":var(", tokens.chipFontFamily, ");", textFieldTokens.chipFontSize, ":var(", tokens.chipFontSize, ");", textFieldTokens.chipFontStyle, ":var(", tokens.chipFontStyle, ");", textFieldTokens.chipFontWeight, ":var(", tokens.chipFontWeight, ");", textFieldTokens.chipLetterSpacing, ":var(", tokens.chipLetterSpacing, ");", textFieldTokens.chipLineHeight, ":var(", tokens.chipLineHeight, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvSW5wdXRHcm91cC92YXJpYXRpb25zL19zaXplL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbX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2YXIoJHt0b2tlbnMuY2hpcEZvbnRGYW1pbHl9KTtcbiAgICAgICAgJHt0ZXh0RmllbGRUb2tlbnMuY2hpcEZvbnRTaXplfTogdmFyKCR7dG9rZW5zLmNoaXBGb250U2l6ZX0pO1xuICAgICAgICAke3RleHRGaWVsZFRva2Vucy5jaGlwRm9udFN0eWxlfTogdmFyKCR7dG9rZW5zLmNoaXBGb250U3R5bGV9KTtcbiAgICAgICAgJHt0ZXh0RmllbGRUb2tlbnMuY2hpcEZvbnRXZWlnaHR9OiB2YXIoJHt0b2tlbnMuY2hpcEZvbnRXZWlnaHR9KTtcbiAgICAgICAgJHt0ZXh0RmllbGRUb2tlbnMuY2hpcExldHRlclNwYWNpbmd9OiB2YXIoJHt0b2tlbnMuY2hpcExldHRlclNwYWNpbmd9KTtcbiAgICAgICAgJHt0ZXh0RmllbGRUb2tlbnMuY2hpcExpbmVIZWlnaHR9OiB2YXIoJHt0b2tlbnMuY2hpcExpbmVIZWlnaHR9KTtcbiAgICB9XG5gO1xuIl19 */"));
@@ -0,0 +1,58 @@
1
+ [
2
+ "--plasma-input-group-item-height",
3
+ "--plasma-input-group-item-border-width",
4
+ "--plasma-input-group-item-padding",
5
+ "--plasma-input-group-item-padding-with-chips",
6
+ "--plasma-input-group-item__left-content-margin",
7
+ "--plasma-input-group-item__right-content-margin",
8
+ "--plasma-input-group-item-font-family",
9
+ "--plasma-input-group-item-font-style",
10
+ "--plasma-input-group-item-font-size",
11
+ "--plasma-input-group-item-font-weight",
12
+ "--plasma-input-group-item-letter-spacing",
13
+ "--plasma-input-group-item-line-height",
14
+ "--plasma-input-group-item__label-offset",
15
+ "--plasma-input-group-item__label-font-family",
16
+ "--plasma-input-group-item__label-font-style",
17
+ "--plasma-input-group-item__label-font-size",
18
+ "--plasma-input-group-item__label-font-weight",
19
+ "--plasma-input-group-item__label-letter-spacing",
20
+ "--plasma-input-group-item__label-line-height",
21
+ "--plasma-input-group-item-placement_inner__label-font-family",
22
+ "--plasma-input-group-item-placement_inner__label-font-style",
23
+ "--plasma-input-group-item-placement_inner__label-font-size",
24
+ "--plasma-input-group-item-placement_inner__label-font-weight",
25
+ "--plasma-input-group-item-placement_inner__label-letter-spacing",
26
+ "--plasma-input-group-item-placement_inner__label-line-height",
27
+ "--plasma-input-group-item-placement_inner__label-padding",
28
+ "--plasma-input-group-item-placement_inner__content-padding",
29
+ "--plasma-input-group-item__left-helper-offset",
30
+ "--plasma-input-group-item__left-helper-font-family",
31
+ "--plasma-input-group-item__left-helper-font-style",
32
+ "--plasma-input-group-item__left-helper-font-size",
33
+ "--plasma-input-group-item__left-helper-font-weight",
34
+ "--plasma-input-group-item__left-helper-letter-spacing",
35
+ "--plasma-input-group-item__left-helper-line-height",
36
+ "--plasma-input-group-item__before-text-margin",
37
+ "--plasma-input-group-item__after-text-margin",
38
+ "--plasma-input-group-item__chip-height",
39
+ "--plasma-input-group-item__chip-border-radius",
40
+ "--plasma-input-group-item__chip-gap",
41
+ "--plasma-input-group-item__chip-scale-hover",
42
+ "--plasma-input-group-item__chip-scale-active",
43
+ "--plasma-input-group-item__chip-outline-size",
44
+ "--plasma-input-group-item__chip-width",
45
+ "--plasma-input-group-item__chip-padding-top",
46
+ "--plasma-input-group-item__chip-padding-right",
47
+ "--plasma-input-group-item__chip-padding-bottom",
48
+ "--plasma-input-group-item__chip-padding-left",
49
+ "--plasma-input-group-item__chip-close-icon-size",
50
+ "--plasma-input-group-item__chip-font-family",
51
+ "--plasma-input-group-item__chip-font-size",
52
+ "--plasma-input-group-item__chip-font-style",
53
+ "--plasma-input-group-item__chip-font-weight",
54
+ "--plasma-input-group-item__chip-letter-spacing",
55
+ "--plasma-input-group-item__chip-line-height",
56
+ "--plasma-input-group-item__chip-clear-content-margin-left",
57
+ "--plasma-input-group-item__chip-clear-content-margin-right"
58
+ ]
@@ -0,0 +1,3 @@
1
+ import { css } from '@emotion/react';
2
+ import { classes } from '../../InputGroup.tokens';
3
+ export var base = /*#__PURE__*/css("&.", classes.filledStretching, "{width:100%;.", classes.inputGroupItem, "{width:100%;}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvSW5wdXRHcm91cC92YXJpYXRpb25zL19zdHJldGNoaW5nL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXVCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvSW5wdXRHcm91cC92YXJpYXRpb25zL19zdHJldGNoaW5nL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMgfSBmcm9tICcuLi8uLi9JbnB1dEdyb3VwLnRva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgICYuJHtjbGFzc2VzLmZpbGxlZFN0cmV0Y2hpbmd9IHtcbiAgICAgICAgd2lkdGg6IDEwMCU7XG5cbiAgICAgICAgLiR7Y2xhc3Nlcy5pbnB1dEdyb3VwSXRlbX0ge1xuICAgICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
@@ -26,7 +26,7 @@ export var usePopupContext = function usePopupContext() {
26
26
  };
27
27
  export var PopupProvider = function PopupProvider(_ref) {
28
28
  var children = _ref.children;
29
- var prevBodyOverflowY = useRef(typeof document !== 'undefined' ? document.body.style.overflowY : '');
29
+ var prevBodyOverflowY = useRef(document.body.style.overflowY);
30
30
  var _useState = useState([]),
31
31
  _useState2 = _slicedToArray(_useState, 2),
32
32
  items = _useState2[0],