@salutejs/sdds-cs 0.380.1-dev.0 → 0.381.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.
- package/dist/emotion/cjs/components/DateTimePicker/DateTimePicker.config.js +4 -3
- package/dist/emotion/cjs/components/Group/Group.config.js +50 -0
- package/dist/emotion/cjs/components/Group/Group.js +14 -0
- package/dist/emotion/cjs/components/Group/index.js +20 -0
- package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +7 -6
- package/dist/emotion/cjs/index.js +1 -0
- package/dist/emotion/es/components/DateTimePicker/DateTimePicker.config.js +5 -4
- package/dist/emotion/es/components/Group/Group.config.js +40 -0
- package/dist/emotion/es/components/Group/Group.js +6 -0
- package/dist/emotion/es/components/Group/index.js +2 -0
- package/dist/emotion/es/components/TimePicker/TimePicker.config.js +8 -7
- package/dist/emotion/es/index.js +1 -0
- package/package.json +6 -6
- package/types/components/Group/Group.config.d.ts +27 -0
- package/types/components/Group/Group.d.ts +22 -0
- package/types/components/Group/index.d.ts +3 -0
- package/types/index.d.ts +1 -0
|
@@ -106,9 +106,9 @@ const config = {
|
|
|
106
106
|
${_emotion.dateTimePickerTokens.tooltipBoxShadow}: ${_sdds_cs.shadowDownHardM};
|
|
107
107
|
${_emotion.dateTimePickerTokens.tooltipColor}: ${_sdds_cs.textPrimary};
|
|
108
108
|
|
|
109
|
-
${_emotion.dateTimePickerTokens.timePickerItemBackgroundHover}: ${_sdds_cs.
|
|
109
|
+
${_emotion.dateTimePickerTokens.timePickerItemBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
110
110
|
${_emotion.dateTimePickerTokens.timePickerItemBackgroundActive}: ${_sdds_cs.surfaceSolidSecondary};
|
|
111
|
-
${_emotion.dateTimePickerTokens.timePickerScrollbarColor}: ${_sdds_cs.
|
|
111
|
+
${_emotion.dateTimePickerTokens.timePickerScrollbarColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
112
112
|
${_emotion.dateTimePickerTokens.timePickerScrollbarTrackColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
113
113
|
|
|
114
114
|
${_emotion.dateTimePickerTokens.shortcutColor}: ${_sdds_cs.textPrimary};
|
|
@@ -252,7 +252,7 @@ const config = {
|
|
|
252
252
|
|
|
253
253
|
${_emotion.dateTimePickerTokens.timePickerColumnWidth}: 2.5rem;
|
|
254
254
|
${_emotion.dateTimePickerTokens.timePickerColumnHeight}: 18.625rem;
|
|
255
|
-
${_emotion.dateTimePickerTokens.timePickerColumnGap}:
|
|
255
|
+
${_emotion.dateTimePickerTokens.timePickerColumnGap}: 0rem;
|
|
256
256
|
${_emotion.dateTimePickerTokens.timePickerItemHeight}: 2.5rem;
|
|
257
257
|
${_emotion.dateTimePickerTokens.timePickerItemBorderRadius}: 0.5rem;
|
|
258
258
|
${_emotion.dateTimePickerTokens.timePickerItemPadding}: 0;
|
|
@@ -262,6 +262,7 @@ const config = {
|
|
|
262
262
|
${_emotion.dateTimePickerTokens.timePickerItemFontWeight}: ${_sdds_cs.bodyM.fontWeight};
|
|
263
263
|
${_emotion.dateTimePickerTokens.timePickerItemLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
|
|
264
264
|
${_emotion.dateTimePickerTokens.timePickerItemLineHeight}: ${_sdds_cs.bodyM.lineHeight};
|
|
265
|
+
${_emotion.dateTimePickerTokens.timePickerGap}: 0;
|
|
265
266
|
${_emotion.dateTimePickerTokens.timePickerScrollbarWidth}: 0.125rem;
|
|
266
267
|
${_emotion.dateTimePickerTokens.timePickerScrollbarMargin}: 0.25rem;
|
|
267
268
|
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "config", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return config;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
12
|
+
const config = {
|
|
13
|
+
defaults: {
|
|
14
|
+
gap: 'dense',
|
|
15
|
+
orientation: 'horizontal',
|
|
16
|
+
shape: 'default',
|
|
17
|
+
stretching: 'auto'
|
|
18
|
+
},
|
|
19
|
+
variations: {
|
|
20
|
+
orientation: {
|
|
21
|
+
horizontal: (0, _emotion.css)`
|
|
22
|
+
${_emotion.groupTokens.orientation}: row;
|
|
23
|
+
`,
|
|
24
|
+
vertical: (0, _emotion.css)`
|
|
25
|
+
${_emotion.groupTokens.orientation}: column;
|
|
26
|
+
`
|
|
27
|
+
},
|
|
28
|
+
gap: {
|
|
29
|
+
none: (0, _emotion.css)`
|
|
30
|
+
${_emotion.groupTokens.gap}: 0;
|
|
31
|
+
`,
|
|
32
|
+
dense: (0, _emotion.css)`
|
|
33
|
+
${_emotion.groupTokens.gap}: 0.125rem;
|
|
34
|
+
`,
|
|
35
|
+
wide: (0, _emotion.css)`
|
|
36
|
+
${_emotion.groupTokens.gap}: 0.5rem;
|
|
37
|
+
`
|
|
38
|
+
},
|
|
39
|
+
shape: {
|
|
40
|
+
default: (0, _emotion.css)``,
|
|
41
|
+
segmented: (0, _emotion.css)`
|
|
42
|
+
${_emotion.groupTokens.segmentedRadius}: 0.25rem;
|
|
43
|
+
`
|
|
44
|
+
},
|
|
45
|
+
stretching: {
|
|
46
|
+
auto: (0, _emotion.css)``,
|
|
47
|
+
filled: (0, _emotion.css)``
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "Group", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return Group;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
12
|
+
const _Groupconfig = require("./Group.config");
|
|
13
|
+
const mergedConfig = (0, _emotion.mergeConfig)(_emotion.groupConfig, _Groupconfig.config);
|
|
14
|
+
const Group = (0, _emotion.component)(mergedConfig);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get Group () {
|
|
13
|
+
return _Group.Group;
|
|
14
|
+
},
|
|
15
|
+
get groupTokens () {
|
|
16
|
+
return _emotion.groupTokens;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const _Group = require("./Group");
|
|
20
|
+
const _emotion = require("@salutejs/plasma-new-hope/emotion");
|
|
@@ -51,9 +51,9 @@ const config = {
|
|
|
51
51
|
${_emotion.timePickerTokens.textFieldBorderColorErrorFocus}: ${_sdds_cs.textNegative};
|
|
52
52
|
${_emotion.timePickerTokens.textFieldBorderColorErrorHover}: ${_sdds_cs.textNegative};
|
|
53
53
|
|
|
54
|
-
${_emotion.timePickerTokens.textFieldBorderColorSuccess}: ${_sdds_cs.
|
|
55
|
-
${_emotion.timePickerTokens.textFieldBorderColorSuccessFocus}: ${_sdds_cs.
|
|
56
|
-
${_emotion.timePickerTokens.textFieldBorderColorSuccessHover}: ${_sdds_cs.
|
|
54
|
+
${_emotion.timePickerTokens.textFieldBorderColorSuccess}: ${_sdds_cs.textPositive};
|
|
55
|
+
${_emotion.timePickerTokens.textFieldBorderColorSuccessFocus}: ${_sdds_cs.textPositive};
|
|
56
|
+
${_emotion.timePickerTokens.textFieldBorderColorSuccessHover}: ${_sdds_cs.textPositive};
|
|
57
57
|
|
|
58
58
|
${_emotion.timePickerTokens.textFieldContentSlotColor}: ${_sdds_cs.textSecondary};
|
|
59
59
|
${_emotion.timePickerTokens.textFieldContentSlotColorHover}: ${_sdds_cs.textSecondaryHover};
|
|
@@ -69,11 +69,11 @@ const config = {
|
|
|
69
69
|
${_emotion.timePickerTokens.textFieldPlaceholderColorFocus}: ${_sdds_cs.textTertiary};
|
|
70
70
|
|
|
71
71
|
${_emotion.timePickerTokens.timePickerBackground}: ${_sdds_cs.surfaceSolidCard};
|
|
72
|
-
${_emotion.timePickerTokens.itemBackgroundHover}: ${_sdds_cs.
|
|
72
|
+
${_emotion.timePickerTokens.itemBackgroundHover}: ${_sdds_cs.surfaceTransparentAccent};
|
|
73
73
|
${_emotion.timePickerTokens.itemBackgroundActive}: ${_sdds_cs.surfaceSolidSecondary};
|
|
74
74
|
${_emotion.timePickerTokens.itemFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
75
75
|
|
|
76
|
-
${_emotion.timePickerTokens.scrollbarColor}: ${_sdds_cs.
|
|
76
|
+
${_emotion.timePickerTokens.scrollbarColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
77
77
|
${_emotion.timePickerTokens.scrollbarTrackColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
78
78
|
|
|
79
79
|
${_emotion.timePickerTokens.disabledOpacity}: 0.4;
|
|
@@ -130,7 +130,7 @@ const config = {
|
|
|
130
130
|
${_emotion.timePickerTokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
|
|
131
131
|
|
|
132
132
|
${_emotion.timePickerTokens.timePickerBorderRadius}: 0.625rem;
|
|
133
|
-
${_emotion.timePickerTokens.timePickerWidth}: 7.
|
|
133
|
+
${_emotion.timePickerTokens.timePickerWidth}: 7.5rem;
|
|
134
134
|
${_emotion.timePickerTokens.timePickerPadding}: 0.125rem;
|
|
135
135
|
|
|
136
136
|
${_emotion.timePickerTokens.columnHeight}: 19rem;
|
|
@@ -154,6 +154,7 @@ const config = {
|
|
|
154
154
|
${_emotion.timePickerTokens.leftHelperLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
|
|
155
155
|
${_emotion.timePickerTokens.leftHelperLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
|
|
156
156
|
|
|
157
|
+
${_emotion.timePickerTokens.gap}: 0;
|
|
157
158
|
${_emotion.timePickerTokens.scrollbarWidth}: 0.125rem;
|
|
158
159
|
${_emotion.timePickerTokens.scrollbarMargin}: 0.25rem;
|
|
159
160
|
`
|
|
@@ -8,6 +8,7 @@ _export_star(require("./components/Badge"), exports);
|
|
|
8
8
|
_export_star(require("./components/Breadcrumbs"), exports);
|
|
9
9
|
_export_star(require("./components/Button"), exports);
|
|
10
10
|
_export_star(require("./components/ButtonGroup"), exports);
|
|
11
|
+
_export_star(require("./components/Group"), exports);
|
|
11
12
|
_export_star(require("./components/Divider"), exports);
|
|
12
13
|
_export_star(require("./components/Drawer"), exports);
|
|
13
14
|
_export_star(require("./components/Flow"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bodyM, bodyMBold, bodyS, bodySBold, bodyXS, inverseOutlineSolidSecondary, inverseTextPrimary, outlineAccent, outlineNegative, outlineSolidPrimary, outlineSolidPrimaryHover, shadowDownHardM, shadowDownSoftS, surfaceAccent, surfaceClear, surfaceNegative, surfaceSolidCard, surfaceSolidCardBrightness, surfaceSolidPrimary, surfaceSolidSecondary, surfaceSolidTertiary, surfaceTransparentAccent, textAccent, textAccentActive, textAccentMinor, textNegative, textPositive, textPrimary, textPrimaryHover, textSecondary, textSecondaryActive, textSecondaryHover, textTertiary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
|
+
import { bodyM, bodyMBold, bodyS, bodySBold, bodyXS, inverseOutlineSolidSecondary, inverseTextPrimary, outlineAccent, outlineNegative, outlineSolidPrimary, outlineSolidPrimaryHover, shadowDownHardM, shadowDownSoftS, surfaceAccent, surfaceClear, surfaceNegative, surfaceSolidCard, surfaceSolidCardBrightness, surfaceSolidDefault, surfaceSolidPrimary, surfaceSolidSecondary, surfaceSolidTertiary, surfaceTransparentAccent, textAccent, textAccentActive, textAccentMinor, textNegative, textPositive, textPrimary, textPrimaryHover, textSecondary, textSecondaryActive, textSecondaryHover, textTertiary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
2
2
|
import { dateTimePickerTokens as tokens, css } from '@salutejs/plasma-new-hope/emotion';
|
|
3
3
|
export const config = {
|
|
4
4
|
defaults: {
|
|
@@ -96,9 +96,9 @@ export const config = {
|
|
|
96
96
|
${tokens.tooltipBoxShadow}: ${shadowDownHardM};
|
|
97
97
|
${tokens.tooltipColor}: ${textPrimary};
|
|
98
98
|
|
|
99
|
-
${tokens.timePickerItemBackgroundHover}: ${
|
|
99
|
+
${tokens.timePickerItemBackgroundHover}: ${surfaceTransparentAccent};
|
|
100
100
|
${tokens.timePickerItemBackgroundActive}: ${surfaceSolidSecondary};
|
|
101
|
-
${tokens.timePickerScrollbarColor}: ${
|
|
101
|
+
${tokens.timePickerScrollbarColor}: ${surfaceSolidDefault};
|
|
102
102
|
${tokens.timePickerScrollbarTrackColor}: ${surfaceSolidPrimary};
|
|
103
103
|
|
|
104
104
|
${tokens.shortcutColor}: ${textPrimary};
|
|
@@ -242,7 +242,7 @@ export const config = {
|
|
|
242
242
|
|
|
243
243
|
${tokens.timePickerColumnWidth}: 2.5rem;
|
|
244
244
|
${tokens.timePickerColumnHeight}: 18.625rem;
|
|
245
|
-
${tokens.timePickerColumnGap}:
|
|
245
|
+
${tokens.timePickerColumnGap}: 0rem;
|
|
246
246
|
${tokens.timePickerItemHeight}: 2.5rem;
|
|
247
247
|
${tokens.timePickerItemBorderRadius}: 0.5rem;
|
|
248
248
|
${tokens.timePickerItemPadding}: 0;
|
|
@@ -252,6 +252,7 @@ export const config = {
|
|
|
252
252
|
${tokens.timePickerItemFontWeight}: ${bodyM.fontWeight};
|
|
253
253
|
${tokens.timePickerItemLetterSpacing}: ${bodyM.letterSpacing};
|
|
254
254
|
${tokens.timePickerItemLineHeight}: ${bodyM.lineHeight};
|
|
255
|
+
${tokens.timePickerGap}: 0;
|
|
255
256
|
${tokens.timePickerScrollbarWidth}: 0.125rem;
|
|
256
257
|
${tokens.timePickerScrollbarMargin}: 0.25rem;
|
|
257
258
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { css, groupTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
|
+
export const config = {
|
|
3
|
+
defaults: {
|
|
4
|
+
gap: 'dense',
|
|
5
|
+
orientation: 'horizontal',
|
|
6
|
+
shape: 'default',
|
|
7
|
+
stretching: 'auto'
|
|
8
|
+
},
|
|
9
|
+
variations: {
|
|
10
|
+
orientation: {
|
|
11
|
+
horizontal: css`
|
|
12
|
+
${tokens.orientation}: row;
|
|
13
|
+
`,
|
|
14
|
+
vertical: css`
|
|
15
|
+
${tokens.orientation}: column;
|
|
16
|
+
`
|
|
17
|
+
},
|
|
18
|
+
gap: {
|
|
19
|
+
none: css`
|
|
20
|
+
${tokens.gap}: 0;
|
|
21
|
+
`,
|
|
22
|
+
dense: css`
|
|
23
|
+
${tokens.gap}: 0.125rem;
|
|
24
|
+
`,
|
|
25
|
+
wide: css`
|
|
26
|
+
${tokens.gap}: 0.5rem;
|
|
27
|
+
`
|
|
28
|
+
},
|
|
29
|
+
shape: {
|
|
30
|
+
default: css``,
|
|
31
|
+
segmented: css`
|
|
32
|
+
${tokens.segmentedRadius}: 0.25rem;
|
|
33
|
+
`
|
|
34
|
+
},
|
|
35
|
+
stretching: {
|
|
36
|
+
auto: css``,
|
|
37
|
+
filled: css``
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { groupConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
|
|
2
|
+
import { config } from './Group.config';
|
|
3
|
+
const mergedConfig = mergeConfig(groupConfig, config);
|
|
4
|
+
/**
|
|
5
|
+
* Группа элементов с общими отступами, направлением и скруглением внутренних углов.
|
|
6
|
+
*/ export const Group = component(mergedConfig);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bodyM, bodyS, bodyXS, outlineAccent, outlineSolidPrimary, outlineSolidPrimaryHover, shadowDownSoftS, surfaceAccent, surfaceClear, surfaceNegative, surfaceSolidCard, surfaceSolidPrimary, surfaceSolidSecondary,
|
|
1
|
+
import { bodyM, bodyS, bodyXS, outlineAccent, outlineSolidPrimary, outlineSolidPrimaryHover, shadowDownSoftS, surfaceAccent, surfaceClear, surfaceNegative, surfaceSolidCard, surfaceSolidDefault, surfaceSolidPrimary, surfaceSolidSecondary, surfaceTransparentAccent, textAccent, textAccentActive, textAccentMinor, textNegative, textPositive, textPrimary, textSecondary, textSecondaryActive, textSecondaryHover, textTertiary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
2
2
|
import { timePickerTokens as tokens, css } from '@salutejs/plasma-new-hope/emotion';
|
|
3
3
|
export const config = {
|
|
4
4
|
defaults: {
|
|
@@ -41,9 +41,9 @@ export const config = {
|
|
|
41
41
|
${tokens.textFieldBorderColorErrorFocus}: ${textNegative};
|
|
42
42
|
${tokens.textFieldBorderColorErrorHover}: ${textNegative};
|
|
43
43
|
|
|
44
|
-
${tokens.textFieldBorderColorSuccess}: ${
|
|
45
|
-
${tokens.textFieldBorderColorSuccessFocus}: ${
|
|
46
|
-
${tokens.textFieldBorderColorSuccessHover}: ${
|
|
44
|
+
${tokens.textFieldBorderColorSuccess}: ${textPositive};
|
|
45
|
+
${tokens.textFieldBorderColorSuccessFocus}: ${textPositive};
|
|
46
|
+
${tokens.textFieldBorderColorSuccessHover}: ${textPositive};
|
|
47
47
|
|
|
48
48
|
${tokens.textFieldContentSlotColor}: ${textSecondary};
|
|
49
49
|
${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};
|
|
@@ -59,11 +59,11 @@ export const config = {
|
|
|
59
59
|
${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};
|
|
60
60
|
|
|
61
61
|
${tokens.timePickerBackground}: ${surfaceSolidCard};
|
|
62
|
-
${tokens.itemBackgroundHover}: ${
|
|
62
|
+
${tokens.itemBackgroundHover}: ${surfaceTransparentAccent};
|
|
63
63
|
${tokens.itemBackgroundActive}: ${surfaceSolidSecondary};
|
|
64
64
|
${tokens.itemFocusColor}: ${surfaceAccent};
|
|
65
65
|
|
|
66
|
-
${tokens.scrollbarColor}: ${
|
|
66
|
+
${tokens.scrollbarColor}: ${surfaceSolidDefault};
|
|
67
67
|
${tokens.scrollbarTrackColor}: ${surfaceSolidPrimary};
|
|
68
68
|
|
|
69
69
|
${tokens.disabledOpacity}: 0.4;
|
|
@@ -120,7 +120,7 @@ export const config = {
|
|
|
120
120
|
${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
|
|
121
121
|
|
|
122
122
|
${tokens.timePickerBorderRadius}: 0.625rem;
|
|
123
|
-
${tokens.timePickerWidth}: 7.
|
|
123
|
+
${tokens.timePickerWidth}: 7.5rem;
|
|
124
124
|
${tokens.timePickerPadding}: 0.125rem;
|
|
125
125
|
|
|
126
126
|
${tokens.columnHeight}: 19rem;
|
|
@@ -144,6 +144,7 @@ export const config = {
|
|
|
144
144
|
${tokens.leftHelperLetterSpacing}: ${bodyXS.letterSpacing};
|
|
145
145
|
${tokens.leftHelperLineHeight}: ${bodyXS.lineHeight};
|
|
146
146
|
|
|
147
|
+
${tokens.gap}: 0;
|
|
147
148
|
${tokens.scrollbarWidth}: 0.125rem;
|
|
148
149
|
${tokens.scrollbarMargin}: 0.25rem;
|
|
149
150
|
`
|
package/dist/emotion/es/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export * from './components/Badge';
|
|
|
4
4
|
export * from './components/Breadcrumbs';
|
|
5
5
|
export * from './components/Button';
|
|
6
6
|
export * from './components/ButtonGroup';
|
|
7
|
+
export * from './components/Group';
|
|
7
8
|
export * from './components/Divider';
|
|
8
9
|
export * from './components/Drawer';
|
|
9
10
|
export * from './components/Flow';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/sdds-cs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.381.0-dev.0",
|
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS CS web applications",
|
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
|
6
6
|
"publishConfig": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"styled-components": "^5.3.11"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@salutejs/plasma-new-hope": "0.
|
|
45
|
+
"@salutejs/plasma-new-hope": "0.389.0-dev.0",
|
|
46
46
|
"@salutejs/sdds-themes": "0.87.0-dev.0",
|
|
47
47
|
"classnames": "2.5.1"
|
|
48
48
|
},
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"@rollup/plugin-babel": "^6.0.4",
|
|
63
63
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
64
64
|
"@salutejs/plasma-colors": "0.28.0-dev.0",
|
|
65
|
-
"@salutejs/plasma-core": "1.
|
|
66
|
-
"@salutejs/plasma-cy-utils": "0.
|
|
65
|
+
"@salutejs/plasma-core": "1.250.0-dev.0",
|
|
66
|
+
"@salutejs/plasma-cy-utils": "0.180.0-dev.0",
|
|
67
67
|
"@salutejs/plasma-icons": "1.257.1-dev.0",
|
|
68
|
-
"@salutejs/plasma-sb-utils": "0.
|
|
68
|
+
"@salutejs/plasma-sb-utils": "0.252.0-dev.0",
|
|
69
69
|
"@types/node": "16.7.13",
|
|
70
70
|
"@types/react": "18.0.28",
|
|
71
71
|
"@types/react-dom": "18.0.11",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"sideEffects": [
|
|
108
108
|
"*.css"
|
|
109
109
|
],
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "3c21629c0b49cb41f7254eb061bb18e82a13e858"
|
|
111
111
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const config: {
|
|
2
|
+
defaults: {
|
|
3
|
+
gap: string;
|
|
4
|
+
orientation: string;
|
|
5
|
+
shape: string;
|
|
6
|
+
stretching: string;
|
|
7
|
+
};
|
|
8
|
+
variations: {
|
|
9
|
+
orientation: {
|
|
10
|
+
horizontal: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
11
|
+
vertical: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
12
|
+
};
|
|
13
|
+
gap: {
|
|
14
|
+
none: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
15
|
+
dense: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
16
|
+
wide: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
17
|
+
};
|
|
18
|
+
shape: {
|
|
19
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
20
|
+
segmented: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
21
|
+
};
|
|
22
|
+
stretching: {
|
|
23
|
+
auto: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
24
|
+
filled: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Группа элементов с общими отступами, направлением и скруглением внутренних углов.
|
|
3
|
+
*/
|
|
4
|
+
export declare const Group: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
5
|
+
orientation: {
|
|
6
|
+
horizontal: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
7
|
+
vertical: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
8
|
+
};
|
|
9
|
+
gap: {
|
|
10
|
+
none: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
11
|
+
dense: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
12
|
+
wide: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
13
|
+
};
|
|
14
|
+
shape: {
|
|
15
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
16
|
+
segmented: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
17
|
+
};
|
|
18
|
+
stretching: {
|
|
19
|
+
auto: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
20
|
+
filled: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
21
|
+
};
|
|
22
|
+
}> & import("@salutejs/plasma-new-hope/emotion").GroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
package/types/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './components/Badge';
|
|
|
4
4
|
export * from './components/Breadcrumbs';
|
|
5
5
|
export * from './components/Button';
|
|
6
6
|
export * from './components/ButtonGroup';
|
|
7
|
+
export * from './components/Group';
|
|
7
8
|
export * from './components/Divider';
|
|
8
9
|
export * from './components/Drawer';
|
|
9
10
|
export * from './components/Flow';
|