@salutejs/plasma-new-hope 0.231.0-dev.0 → 0.231.1-canary.1669.12470399037.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/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -2
- package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -2
- package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -2
- package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -2
- package/package.json +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -2
- package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -2
- package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -2
- package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -2
- package/types/components/Dropdown/Dropdown.types.d.ts +1 -0
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
@@ -53,6 +53,9 @@ const meta: Meta<StoryDropdownProps> = {
|
|
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<StoryDropdownProps> = {
|
|
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,
|
@@ -294,7 +297,7 @@ const StoryNormal = (args: StoryDropdownProps) => {
|
|
294
297
|
onItemSelect={action('onItemSelect')}
|
295
298
|
onItemClick={action('onItemClick')}
|
296
299
|
>
|
297
|
-
<Button text="Список стран" />
|
300
|
+
<Button text="Список стран" size={args.size} />
|
298
301
|
</Dropdown>
|
299
302
|
);
|
300
303
|
};
|
@@ -53,6 +53,9 @@ const meta: Meta<StoryDropdownProps> = {
|
|
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<StoryDropdownProps> = {
|
|
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,
|
@@ -294,7 +297,7 @@ const StoryNormal = (args: StoryDropdownProps) => {
|
|
294
297
|
onItemSelect={action('onItemSelect')}
|
295
298
|
onItemClick={action('onItemClick')}
|
296
299
|
>
|
297
|
-
<Button text="Список стран" />
|
300
|
+
<Button text="Список стран" size={args.size} />
|
298
301
|
</Dropdown>
|
299
302
|
);
|
300
303
|
};
|
@@ -53,6 +53,9 @@ const meta: Meta<StoryDropdownProps> = {
|
|
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<StoryDropdownProps> = {
|
|
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,
|
@@ -294,7 +297,7 @@ const StoryNormal = (args: StoryDropdownProps) => {
|
|
294
297
|
onItemSelect={action('onItemSelect')}
|
295
298
|
onItemClick={action('onItemClick')}
|
296
299
|
>
|
297
|
-
<Button text="Список стран" />
|
300
|
+
<Button text="Список стран" size={args.size} />
|
298
301
|
</Dropdown>
|
299
302
|
);
|
300
303
|
};
|
@@ -53,6 +53,9 @@ const meta: Meta<StoryDropdownProps> = {
|
|
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<StoryDropdownProps> = {
|
|
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,
|
@@ -294,7 +297,7 @@ const StoryNormal = (args: StoryDropdownProps) => {
|
|
294
297
|
onItemSelect={action('onItemSelect')}
|
295
298
|
onItemClick={action('onItemClick')}
|
296
299
|
>
|
297
|
-
<Button text="Список стран" />
|
300
|
+
<Button text="Список стран" size={args.size} />
|
298
301
|
</Dropdown>
|
299
302
|
);
|
300
303
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.231.
|
3
|
+
"version": "0.231.1-canary.1669.12470399037.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "./cjs/index.js",
|
6
6
|
"module": "./es/index.js",
|
@@ -145,5 +145,5 @@
|
|
145
145
|
"sideEffects": [
|
146
146
|
"*.css"
|
147
147
|
],
|
148
|
-
"gitHead": "
|
148
|
+
"gitHead": "e0e5debbbfba90fad706d4bdc5459c0d644cf8b1"
|
149
149
|
}
|
@@ -53,6 +53,9 @@ const meta: Meta<StoryDropdownProps> = {
|
|
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<StoryDropdownProps> = {
|
|
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,
|
@@ -294,7 +297,7 @@ const StoryNormal = (args: StoryDropdownProps) => {
|
|
294
297
|
onItemSelect={action('onItemSelect')}
|
295
298
|
onItemClick={action('onItemClick')}
|
296
299
|
>
|
297
|
-
<Button text="Список стран" />
|
300
|
+
<Button text="Список стран" size={args.size} />
|
298
301
|
</Dropdown>
|
299
302
|
);
|
300
303
|
};
|
@@ -53,6 +53,9 @@ const meta: Meta<StoryDropdownProps> = {
|
|
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<StoryDropdownProps> = {
|
|
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,
|
@@ -294,7 +297,7 @@ const StoryNormal = (args: StoryDropdownProps) => {
|
|
294
297
|
onItemSelect={action('onItemSelect')}
|
295
298
|
onItemClick={action('onItemClick')}
|
296
299
|
>
|
297
|
-
<Button text="Список стран" />
|
300
|
+
<Button text="Список стран" size={args.size} />
|
298
301
|
</Dropdown>
|
299
302
|
);
|
300
303
|
};
|
@@ -53,6 +53,9 @@ const meta: Meta<StoryDropdownProps> = {
|
|
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<StoryDropdownProps> = {
|
|
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,
|
@@ -294,7 +297,7 @@ const StoryNormal = (args: StoryDropdownProps) => {
|
|
294
297
|
onItemSelect={action('onItemSelect')}
|
295
298
|
onItemClick={action('onItemClick')}
|
296
299
|
>
|
297
|
-
<Button text="Список стран" />
|
300
|
+
<Button text="Список стран" size={args.size} />
|
298
301
|
</Dropdown>
|
299
302
|
);
|
300
303
|
};
|
@@ -53,6 +53,9 @@ const meta: Meta<StoryDropdownProps> = {
|
|
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<StoryDropdownProps> = {
|
|
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,
|
@@ -294,7 +297,7 @@ const StoryNormal = (args: StoryDropdownProps) => {
|
|
294
297
|
onItemSelect={action('onItemSelect')}
|
295
298
|
onItemClick={action('onItemClick')}
|
296
299
|
>
|
297
|
-
<Button text="Список стран" />
|
300
|
+
<Button text="Список стран" size={args.size} />
|
298
301
|
</Dropdown>
|
299
302
|
);
|
300
303
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.types.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,oBAAY,iBAAiB,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE7E,oBAAY,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD,oBAAY,aAAa,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,IAAI;IAC3E;;OAEG;IACH,KAAK,EAAE,CAAC,EAAE,CAAC;IACX;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACxD;;;OAGG;IACH,OAAO,CAA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