@salutejs/sdds-serv 0.215.0-dev.0 → 0.215.1-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.
@@ -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.0-dev.0",
3
+ "version": "0.215.1-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.231.0-dev.0",
51
+ "@salutejs/plasma-new-hope": "0.231.1-dev.0",
52
52
  "@salutejs/sdds-themes": "0.30.1-dev.0"
53
53
  },
54
54
  "peerDependencies": {
@@ -153,5 +153,5 @@
153
153
  "sideEffects": [
154
154
  "*.css"
155
155
  ],
156
- "gitHead": "d1262e000d6f13511ed716015c91cbfcca0b439a"
156
+ "gitHead": "db1bf70e3567af5de2534e2824101d40d3e05130"
157
157
  }