@salutejs/sdds-serv 0.222.1-dev.0 → 0.223.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/api/sdds-serv.api.md +6 -0
  2. package/components/Flow/Flow.config.d.ts +4 -0
  3. package/components/Flow/Flow.config.js +11 -0
  4. package/components/Flow/Flow.config.js.map +1 -0
  5. package/components/Flow/Flow.d.ts +4 -0
  6. package/components/Flow/Flow.js +12 -0
  7. package/components/Flow/Flow.js.map +1 -0
  8. package/components/Flow/index.d.ts +1 -0
  9. package/emotion/cjs/components/Flow/Flow.config.js +10 -0
  10. package/emotion/cjs/components/Flow/Flow.js +10 -0
  11. package/emotion/cjs/components/Flow/Flow.stories.tsx +133 -0
  12. package/emotion/cjs/components/Flow/index.js +12 -0
  13. package/emotion/cjs/index.js +11 -0
  14. package/emotion/es/components/Flow/Flow.config.js +4 -0
  15. package/emotion/es/components/Flow/Flow.js +4 -0
  16. package/emotion/es/components/Flow/Flow.stories.tsx +133 -0
  17. package/emotion/es/components/Flow/index.js +1 -0
  18. package/emotion/es/index.js +1 -0
  19. package/es/components/Flow/Flow.config.js +7 -0
  20. package/es/components/Flow/Flow.config.js.map +1 -0
  21. package/es/components/Flow/Flow.js +8 -0
  22. package/es/components/Flow/Flow.js.map +1 -0
  23. package/es/index.js +1 -0
  24. package/es/index.js.map +1 -1
  25. package/index.d.ts +1 -0
  26. package/index.js +2 -0
  27. package/package.json +3 -3
  28. package/styled-components/cjs/components/Flow/Flow.config.js +10 -0
  29. package/styled-components/cjs/components/Flow/Flow.js +10 -0
  30. package/styled-components/cjs/components/Flow/index.js +12 -0
  31. package/styled-components/cjs/index.js +11 -0
  32. package/styled-components/es/components/Flow/Flow.config.js +4 -0
  33. package/styled-components/es/components/Flow/Flow.js +4 -0
  34. package/styled-components/es/components/Flow/index.js +1 -0
  35. package/styled-components/es/index.js +1 -0
@@ -109,6 +109,7 @@ import { dsplSBold } from '@salutejs/sdds-themes/tokens';
109
109
  import { FC } from 'react';
110
110
  import { FileProcessHandler } from '@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types';
111
111
  import { Filter } from '@salutejs/plasma-new-hope/types/engines/types';
112
+ import { FlowProps } from '@salutejs/plasma-new-hope/styled-components';
112
113
  import { FormTypeNumber } from '@salutejs/plasma-new-hope/types/types/FormType';
113
114
  import { FormTypeString } from '@salutejs/plasma-new-hope/types/types/FormType';
114
115
  import { ForwardRefExoticComponent } from 'react';
@@ -1718,6 +1719,11 @@ xs: PolymorphicClassName;
1718
1719
  };
1719
1720
  }> & Props_2 & RefAttributes<HTMLDivElement>>;
1720
1721
 
1722
+ // @public (undocumented)
1723
+ export const Flow: FunctionComponent<PropsType< {}> & FlowProps & {
1724
+ minColWidth?: string | undefined;
1725
+ } & RefAttributes<HTMLDivElement>>;
1726
+
1721
1727
  // @public (undocumented)
1722
1728
  export const Grid: FunctionComponent<PropsType< {
1723
1729
  view: {
@@ -0,0 +1,4 @@
1
+ export declare const config: {
2
+ defaults: {};
3
+ variations: {};
4
+ };
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var config = {
6
+ defaults: {},
7
+ variations: {}
8
+ };
9
+
10
+ exports.config = config;
11
+ //# sourceMappingURL=Flow.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flow.config.js","sources":["../../src-css/components/Flow/Flow.config.ts"],"sourcesContent":["export const config = {\n defaults: {},\n variations: {},\n};\n"],"names":["config","defaults","variations"],"mappings":";;;;AAAO,IAAMA,MAAM,GAAG;EAClBC,QAAQ,EAAE,EAAE;AACZC,EAAAA,UAAU,EAAE,EAAC;AACjB;;;;"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const Flow: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{}> & import("@salutejs/plasma-new-hope/styled-components").FlowProps & {
3
+ minColWidth?: string | undefined;
4
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var plasmaNewHope = require('@salutejs/plasma-new-hope');
6
+ var Flow_config = require('./Flow.config.js');
7
+
8
+ var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.flowConfig, Flow_config.config);
9
+ var Flow = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
10
+
11
+ exports.Flow = Flow;
12
+ //# sourceMappingURL=Flow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flow.js","sources":["../../src-css/components/Flow/Flow.ts"],"sourcesContent":["import { flowConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Flow.config';\n\nconst mergedConfig = mergeConfig(flowConfig, config);\n\nexport const Flow = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","flowConfig","config","Flow","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,wBAAU,EAAEC,kBAAM,CAAC,CAAA;IAEvCC,IAAI,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
@@ -0,0 +1 @@
1
+ export { Flow } from './Flow';
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var config = exports.config = {
8
+ defaults: {},
9
+ variations: {}
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Flow = void 0;
7
+ var _emotion = /*#__PURE__*/require("@salutejs/plasma-new-hope/emotion");
8
+ var _Flow = /*#__PURE__*/require("./Flow.config");
9
+ var mergedConfig = /*#__PURE__*/(0, _emotion.mergeConfig)(_emotion.flowConfig, _Flow.config);
10
+ var Flow = exports.Flow = /*#__PURE__*/(0, _emotion.component)(mergedConfig);
@@ -0,0 +1,133 @@
1
+ import React, { ComponentProps } from 'react';
2
+ import type { StoryObj, Meta } from '@storybook/react';
3
+ import { InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils';
4
+ import styled from 'styled-components';
5
+
6
+ import { Flow } from './Flow';
7
+
8
+ const orientations = ['vertical', 'horizontal'];
9
+ const arrangements = ['start', 'center', 'end', 'spaceBetween', 'spaceAround'];
10
+ const alignments = ['start', 'center', 'end'];
11
+
12
+ const widths = [100, 32, 171, 74, 179, 55];
13
+ const heights = [10, 50, 45, 33, 14, 55];
14
+
15
+ const FlowCustom = styled(Flow)`
16
+ background: var(--surface-transparent-primary);
17
+ border-radius: 0.5rem;
18
+ `;
19
+
20
+ const Item = styled.div`
21
+ padding: 0.5rem 1rem;
22
+ border-radius: 0.5rem;
23
+ background: #aab1e9;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ `;
28
+
29
+ const meta: Meta<typeof Flow> = {
30
+ title: 'Layout/Flow',
31
+ component: Flow,
32
+ decorators: [InSpacingDecorator],
33
+ argTypes: {
34
+ itemsCount: {
35
+ control: {
36
+ type: 'number',
37
+ },
38
+ },
39
+ containerWidth: {
40
+ control: {
41
+ type: 'text',
42
+ },
43
+ },
44
+ containerHeight: {
45
+ control: {
46
+ type: 'text',
47
+ },
48
+ },
49
+ orientation: {
50
+ options: orientations,
51
+ control: {
52
+ type: 'select',
53
+ },
54
+ },
55
+ arrangement: {
56
+ options: arrangements,
57
+ control: {
58
+ type: 'select',
59
+ },
60
+ },
61
+ alignment: {
62
+ options: alignments,
63
+ control: {
64
+ type: 'select',
65
+ },
66
+ },
67
+ mainAxisGap: {
68
+ control: {
69
+ type: 'text',
70
+ },
71
+ },
72
+ crossAxisGap: {
73
+ control: {
74
+ type: 'text',
75
+ },
76
+ },
77
+ itemsPerLine: {
78
+ control: {
79
+ type: 'text',
80
+ },
81
+ },
82
+ minColWidth: {
83
+ control: {
84
+ type: 'text',
85
+ },
86
+ },
87
+ ...disableProps(['minColWidth']),
88
+ },
89
+ };
90
+
91
+ export default meta;
92
+
93
+ type Story = StoryObj<typeof Flow>;
94
+
95
+ export const Default: Story = {
96
+ args: {
97
+ containerWidth: '450px',
98
+ containerHeight: '200px',
99
+ orientation: 'horizontal',
100
+ arrangement: 'start',
101
+ alignment: 'start',
102
+ mainAxisGap: '10',
103
+ crossAxisGap: '10',
104
+ itemsPerLine: '',
105
+ itemsCount: 6,
106
+ },
107
+ render: ({ itemsCount, containerWidth, containerHeight, ...args }: ComponentProps<typeof Flow>) => {
108
+ const hasLines = Boolean(args.itemsPerLine);
109
+
110
+ return (
111
+ <FlowCustom {...args} style={{ width: containerWidth, height: containerHeight }}>
112
+ {new Array(itemsCount).fill(null).map((width, index) => (
113
+ <Item
114
+ key={index}
115
+ style={
116
+ hasLines
117
+ ? {
118
+ minWidth: widths[index % widths.length],
119
+ minHeight: heights[index % heights.length],
120
+ }
121
+ : {
122
+ width: widths[index % widths.length],
123
+ height: heights[index % heights.length],
124
+ }
125
+ }
126
+ >
127
+ {index + 1}
128
+ </Item>
129
+ ))}
130
+ </FlowCustom>
131
+ );
132
+ },
133
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Flow", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Flow.Flow;
10
+ }
11
+ });
12
+ var _Flow = /*#__PURE__*/require("./Flow");
@@ -91,6 +91,17 @@ Object.keys(_Drawer).forEach(function (key) {
91
91
  }
92
92
  });
93
93
  });
94
+ var _Flow = /*#__PURE__*/require("./components/Flow");
95
+ Object.keys(_Flow).forEach(function (key) {
96
+ if (key === "default" || key === "__esModule") return;
97
+ if (key in exports && exports[key] === _Flow[key]) return;
98
+ Object.defineProperty(exports, key, {
99
+ enumerable: true,
100
+ get: function get() {
101
+ return _Flow[key];
102
+ }
103
+ });
104
+ });
94
105
  var _Grid = /*#__PURE__*/require("./components/Grid");
95
106
  Object.keys(_Grid).forEach(function (key) {
96
107
  if (key === "default" || key === "__esModule") return;
@@ -0,0 +1,4 @@
1
+ export var config = {
2
+ defaults: {},
3
+ variations: {}
4
+ };
@@ -0,0 +1,4 @@
1
+ import { flowConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
2
+ import { config } from './Flow.config';
3
+ var mergedConfig = /*#__PURE__*/mergeConfig(flowConfig, config);
4
+ export var Flow = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,133 @@
1
+ import React, { ComponentProps } from 'react';
2
+ import type { StoryObj, Meta } from '@storybook/react';
3
+ import { InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils';
4
+ import styled from 'styled-components';
5
+
6
+ import { Flow } from './Flow';
7
+
8
+ const orientations = ['vertical', 'horizontal'];
9
+ const arrangements = ['start', 'center', 'end', 'spaceBetween', 'spaceAround'];
10
+ const alignments = ['start', 'center', 'end'];
11
+
12
+ const widths = [100, 32, 171, 74, 179, 55];
13
+ const heights = [10, 50, 45, 33, 14, 55];
14
+
15
+ const FlowCustom = styled(Flow)`
16
+ background: var(--surface-transparent-primary);
17
+ border-radius: 0.5rem;
18
+ `;
19
+
20
+ const Item = styled.div`
21
+ padding: 0.5rem 1rem;
22
+ border-radius: 0.5rem;
23
+ background: #aab1e9;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ `;
28
+
29
+ const meta: Meta<typeof Flow> = {
30
+ title: 'Layout/Flow',
31
+ component: Flow,
32
+ decorators: [InSpacingDecorator],
33
+ argTypes: {
34
+ itemsCount: {
35
+ control: {
36
+ type: 'number',
37
+ },
38
+ },
39
+ containerWidth: {
40
+ control: {
41
+ type: 'text',
42
+ },
43
+ },
44
+ containerHeight: {
45
+ control: {
46
+ type: 'text',
47
+ },
48
+ },
49
+ orientation: {
50
+ options: orientations,
51
+ control: {
52
+ type: 'select',
53
+ },
54
+ },
55
+ arrangement: {
56
+ options: arrangements,
57
+ control: {
58
+ type: 'select',
59
+ },
60
+ },
61
+ alignment: {
62
+ options: alignments,
63
+ control: {
64
+ type: 'select',
65
+ },
66
+ },
67
+ mainAxisGap: {
68
+ control: {
69
+ type: 'text',
70
+ },
71
+ },
72
+ crossAxisGap: {
73
+ control: {
74
+ type: 'text',
75
+ },
76
+ },
77
+ itemsPerLine: {
78
+ control: {
79
+ type: 'text',
80
+ },
81
+ },
82
+ minColWidth: {
83
+ control: {
84
+ type: 'text',
85
+ },
86
+ },
87
+ ...disableProps(['minColWidth']),
88
+ },
89
+ };
90
+
91
+ export default meta;
92
+
93
+ type Story = StoryObj<typeof Flow>;
94
+
95
+ export const Default: Story = {
96
+ args: {
97
+ containerWidth: '450px',
98
+ containerHeight: '200px',
99
+ orientation: 'horizontal',
100
+ arrangement: 'start',
101
+ alignment: 'start',
102
+ mainAxisGap: '10',
103
+ crossAxisGap: '10',
104
+ itemsPerLine: '',
105
+ itemsCount: 6,
106
+ },
107
+ render: ({ itemsCount, containerWidth, containerHeight, ...args }: ComponentProps<typeof Flow>) => {
108
+ const hasLines = Boolean(args.itemsPerLine);
109
+
110
+ return (
111
+ <FlowCustom {...args} style={{ width: containerWidth, height: containerHeight }}>
112
+ {new Array(itemsCount).fill(null).map((width, index) => (
113
+ <Item
114
+ key={index}
115
+ style={
116
+ hasLines
117
+ ? {
118
+ minWidth: widths[index % widths.length],
119
+ minHeight: heights[index % heights.length],
120
+ }
121
+ : {
122
+ width: widths[index % widths.length],
123
+ height: heights[index % heights.length],
124
+ }
125
+ }
126
+ >
127
+ {index + 1}
128
+ </Item>
129
+ ))}
130
+ </FlowCustom>
131
+ );
132
+ },
133
+ };
@@ -0,0 +1 @@
1
+ export { Flow } from './Flow';
@@ -6,6 +6,7 @@ export * from './components/ButtonGroup';
6
6
  export * from './components/Breadcrumbs';
7
7
  export * from './components/Divider';
8
8
  export * from './components/Drawer';
9
+ export * from './components/Flow';
9
10
  export * from './components/Grid';
10
11
  export * from './components/Calendar';
11
12
  export * from './components/Checkbox';
@@ -0,0 +1,7 @@
1
+ var config = {
2
+ defaults: {},
3
+ variations: {}
4
+ };
5
+
6
+ export { config };
7
+ //# sourceMappingURL=Flow.config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flow.config.js","sources":["../../../src-css/components/Flow/Flow.config.ts"],"sourcesContent":["export const config = {\n defaults: {},\n variations: {},\n};\n"],"names":["config","defaults","variations"],"mappings":"AAAO,IAAMA,MAAM,GAAG;EAClBC,QAAQ,EAAE,EAAE;AACZC,EAAAA,UAAU,EAAE,EAAC;AACjB;;;;"}
@@ -0,0 +1,8 @@
1
+ import { component, mergeConfig, flowConfig } from '@salutejs/plasma-new-hope';
2
+ import { config } from './Flow.config.js';
3
+
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(flowConfig, config);
5
+ var Flow = /*#__PURE__*/component(mergedConfig);
6
+
7
+ export { Flow };
8
+ //# sourceMappingURL=Flow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flow.js","sources":["../../../src-css/components/Flow/Flow.ts"],"sourcesContent":["import { flowConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Flow.config';\n\nconst mergedConfig = mergeConfig(flowConfig, config);\n\nexport const Flow = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","flowConfig","config","Flow","component"],"mappings":";;;AAIA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,UAAU,EAAEC,MAAM,CAAC,CAAA;IAEvCC,IAAI,gBAAGC,SAAS,CAACL,YAAY;;;;"}
package/es/index.js CHANGED
@@ -21,6 +21,7 @@ export { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from './components/
21
21
  export { Dropdown } from './components/Dropdown/Dropdown.js';
22
22
  export { Dropzone } from './components/Dropzone/Dropzone.js';
23
23
  export { EmptyState } from './components/EmptyState/EmptyState.js';
24
+ export { Flow } from './components/Flow/Flow.js';
24
25
  export { Grid } from './components/Grid/Grid.js';
25
26
  export { IconButton } from './components/IconButton/IconButton.js';
26
27
  export { Image } from './components/Image/Image.js';
package/es/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './components/ButtonGroup';
6
6
  export * from './components/Breadcrumbs';
7
7
  export * from './components/Divider';
8
8
  export * from './components/Drawer';
9
+ export * from './components/Flow';
9
10
  export * from './components/Grid';
10
11
  export * from './components/Calendar';
11
12
  export * from './components/Checkbox';
package/index.js CHANGED
@@ -25,6 +25,7 @@ var Drawer = require('./components/Drawer/Drawer.js');
25
25
  var Dropdown = require('./components/Dropdown/Dropdown.js');
26
26
  var Dropzone = require('./components/Dropzone/Dropzone.js');
27
27
  var EmptyState = require('./components/EmptyState/EmptyState.js');
28
+ var Flow = require('./components/Flow/Flow.js');
28
29
  var Grid = require('./components/Grid/Grid.js');
29
30
  var IconButton = require('./components/IconButton/IconButton.js');
30
31
  var Image = require('./components/Image/Image.js');
@@ -264,6 +265,7 @@ exports.DrawerHeader = Drawer.DrawerHeader;
264
265
  exports.Dropdown = Dropdown.Dropdown;
265
266
  exports.Dropzone = Dropzone.Dropzone;
266
267
  exports.EmptyState = EmptyState.EmptyState;
268
+ exports.Flow = Flow.Flow;
267
269
  exports.Grid = Grid.Grid;
268
270
  exports.IconButton = IconButton.IconButton;
269
271
  exports.Image = Image.Image;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-serv",
3
- "version": "0.222.1-dev.0",
3
+ "version": "0.223.0-dev.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS SERV web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  "directory": "packages/sdds-serv"
49
49
  },
50
50
  "dependencies": {
51
- "@salutejs/plasma-new-hope": "0.237.1-dev.0",
51
+ "@salutejs/plasma-new-hope": "0.238.0-dev.0",
52
52
  "@salutejs/sdds-themes": "0.31.0"
53
53
  },
54
54
  "peerDependencies": {
@@ -153,5 +153,5 @@
153
153
  "sideEffects": [
154
154
  "*.css"
155
155
  ],
156
- "gitHead": "7fc78258fe61b50aa631b3bc31dde2c029fbc909"
156
+ "gitHead": "776b4a8340b8a4ad8c82a83a7484fdac9941cf35"
157
157
  }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var config = exports.config = {
8
+ defaults: {},
9
+ variations: {}
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Flow = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _Flow = /*#__PURE__*/require("./Flow.config");
9
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.flowConfig, _Flow.config);
10
+ var Flow = exports.Flow = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Flow", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Flow.Flow;
10
+ }
11
+ });
12
+ var _Flow = /*#__PURE__*/require("./Flow");
@@ -91,6 +91,17 @@ Object.keys(_Drawer).forEach(function (key) {
91
91
  }
92
92
  });
93
93
  });
94
+ var _Flow = /*#__PURE__*/require("./components/Flow");
95
+ Object.keys(_Flow).forEach(function (key) {
96
+ if (key === "default" || key === "__esModule") return;
97
+ if (key in exports && exports[key] === _Flow[key]) return;
98
+ Object.defineProperty(exports, key, {
99
+ enumerable: true,
100
+ get: function get() {
101
+ return _Flow[key];
102
+ }
103
+ });
104
+ });
94
105
  var _Grid = /*#__PURE__*/require("./components/Grid");
95
106
  Object.keys(_Grid).forEach(function (key) {
96
107
  if (key === "default" || key === "__esModule") return;
@@ -0,0 +1,4 @@
1
+ export var config = {
2
+ defaults: {},
3
+ variations: {}
4
+ };
@@ -0,0 +1,4 @@
1
+ import { flowConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
2
+ import { config } from './Flow.config';
3
+ var mergedConfig = /*#__PURE__*/mergeConfig(flowConfig, config);
4
+ export var Flow = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1 @@
1
+ export { Flow } from './Flow';
@@ -6,6 +6,7 @@ export * from './components/ButtonGroup';
6
6
  export * from './components/Breadcrumbs';
7
7
  export * from './components/Divider';
8
8
  export * from './components/Drawer';
9
+ export * from './components/Flow';
9
10
  export * from './components/Grid';
10
11
  export * from './components/Calendar';
11
12
  export * from './components/Checkbox';