@salutejs/sdds-serv 0.215.0-canary.1673.12468530749.0 → 0.215.1-canary.1669.12470399037.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -53,6 +53,9 @@ const meta: Meta<DropdownProps> = {
|
|
53
53
|
control: { type: 'boolean' },
|
54
54
|
if: { arg: 'alwaysOpened', truthy: false },
|
55
55
|
},
|
56
|
+
listWidth: {
|
57
|
+
control: { type: 'text' },
|
58
|
+
},
|
56
59
|
},
|
57
60
|
args: {
|
58
61
|
size: 'm',
|
@@ -60,7 +63,7 @@ const meta: Meta<DropdownProps> = {
|
|
60
63
|
placement: 'bottom-start',
|
61
64
|
trigger: 'click',
|
62
65
|
offset: [0, 0],
|
63
|
-
listWidth: '',
|
66
|
+
listWidth: '300px',
|
64
67
|
hasArrow: true,
|
65
68
|
alwaysOpened: false,
|
66
69
|
closeOnOverlayClick: true,
|
@@ -312,7 +315,7 @@ const StoryNormal = (args: DropdownProps) => {
|
|
312
315
|
onItemSelect={action('onItemSelect')}
|
313
316
|
onItemClick={action('onItemClick')}
|
314
317
|
>
|
315
|
-
<Button text="Список стран" />
|
318
|
+
<Button text="Список стран" size={args.size} />
|
316
319
|
</Dropdown>
|
317
320
|
</>
|
318
321
|
);
|
@@ -53,6 +53,9 @@ const meta: Meta<DropdownProps> = {
|
|
53
53
|
control: { type: 'boolean' },
|
54
54
|
if: { arg: 'alwaysOpened', truthy: false },
|
55
55
|
},
|
56
|
+
listWidth: {
|
57
|
+
control: { type: 'text' },
|
58
|
+
},
|
56
59
|
},
|
57
60
|
args: {
|
58
61
|
size: 'm',
|
@@ -60,7 +63,7 @@ const meta: Meta<DropdownProps> = {
|
|
60
63
|
placement: 'bottom-start',
|
61
64
|
trigger: 'click',
|
62
65
|
offset: [0, 0],
|
63
|
-
listWidth: '',
|
66
|
+
listWidth: '300px',
|
64
67
|
hasArrow: true,
|
65
68
|
alwaysOpened: false,
|
66
69
|
closeOnOverlayClick: true,
|
@@ -312,7 +315,7 @@ const StoryNormal = (args: DropdownProps) => {
|
|
312
315
|
onItemSelect={action('onItemSelect')}
|
313
316
|
onItemClick={action('onItemClick')}
|
314
317
|
>
|
315
|
-
<Button text="Список стран" />
|
318
|
+
<Button text="Список стран" size={args.size} />
|
316
319
|
</Dropdown>
|
317
320
|
</>
|
318
321
|
);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-serv",
|
3
|
-
"version": "0.215.
|
3
|
+
"version": "0.215.1-canary.1669.12470399037.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.231.
|
51
|
+
"@salutejs/plasma-new-hope": "0.231.1-canary.1669.12470399037.0",
|
52
52
|
"@salutejs/sdds-themes": "0.30.1-dev.0"
|
53
53
|
},
|
54
54
|
"peerDependencies": {
|
@@ -79,10 +79,10 @@
|
|
79
79
|
"@rollup/plugin-commonjs": "^25.0.4",
|
80
80
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
81
81
|
"@salutejs/plasma-colors": "0.13.1-dev.0",
|
82
|
-
"@salutejs/plasma-core": "1.
|
83
|
-
"@salutejs/plasma-cy-utils": "0.
|
82
|
+
"@salutejs/plasma-core": "1.189.1-dev.0",
|
83
|
+
"@salutejs/plasma-cy-utils": "0.120.1-dev.0",
|
84
84
|
"@salutejs/plasma-icons": "1.209.1-dev.0",
|
85
|
-
"@salutejs/plasma-sb-utils": "0.
|
85
|
+
"@salutejs/plasma-sb-utils": "0.188.1-dev.0",
|
86
86
|
"@storybook/addon-docs": "7.6.17",
|
87
87
|
"@storybook/addon-essentials": "7.6.17",
|
88
88
|
"@storybook/addons": "7.6.17",
|
@@ -153,5 +153,5 @@
|
|
153
153
|
"sideEffects": [
|
154
154
|
"*.css"
|
155
155
|
],
|
156
|
-
"gitHead": "
|
156
|
+
"gitHead": "e0e5debbbfba90fad706d4bdc5459c0d644cf8b1"
|
157
157
|
}
|