@salutejs/plasma-new-hope 0.181.1-canary.1525.11611277098.0 → 0.181.1-canary.1527.11616679910.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/cjs/components/Attach/components/AttachButton/AttachButton.js +11 -1
  2. package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  3. package/cjs/components/Combobox/ComboboxNew/Combobox.css +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -50
  5. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  6. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -1
  7. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -1
  8. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  9. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  10. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_16ltv0e.css +1 -0
  11. package/cjs/index.css +1 -1
  12. package/emotion/cjs/components/Attach/components/AttachButton/AttachButton.js +11 -1
  13. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -50
  14. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  15. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -0
  16. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  17. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  18. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -0
  19. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  20. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  21. package/emotion/es/components/Attach/components/AttachButton/AttachButton.js +11 -1
  22. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -50
  23. package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  24. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -0
  25. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  26. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  27. package/emotion/es/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -0
  28. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  29. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  30. package/es/components/Attach/components/AttachButton/AttachButton.js +11 -1
  31. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  32. package/es/components/Combobox/ComboboxNew/Combobox.css +1 -1
  33. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -50
  34. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  35. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -1
  36. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -1
  37. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  38. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  39. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles_16ltv0e.css +1 -0
  40. package/es/index.css +1 -1
  41. package/package.json +2 -2
  42. package/styled-components/cjs/components/Attach/components/AttachButton/AttachButton.js +11 -1
  43. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -50
  44. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  45. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -0
  46. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +8 -8
  47. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  48. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -0
  49. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +8 -8
  50. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  51. package/styled-components/es/components/Attach/components/AttachButton/AttachButton.js +11 -1
  52. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -50
  53. package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  54. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -0
  55. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +8 -8
  56. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  57. package/styled-components/es/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -0
  58. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +8 -8
  59. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  60. package/types/components/Attach/components/AttachButton/AttachButton.d.ts.map +1 -1
  61. package/types/components/Button/Button.types.d.ts +0 -2
  62. package/types/components/Button/Button.types.d.ts.map +1 -1
  63. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +48 -18
  64. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  65. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +26 -1
  66. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  67. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  68. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
  69. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +492 -0
  70. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  71. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
  72. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +492 -0
  73. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  74. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_ei26tn.css +0 -1
  75. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles_ei26tn.css +0 -1
@@ -72,6 +72,24 @@ const meta: Meta<StorySelectProps> = {
72
72
  control: { type: 'number' },
73
73
  if: { arg: 'isTargetAmount', truthy: true },
74
74
  },
75
+ requiredPlacement: {
76
+ options: ['left', 'right'],
77
+ control: {
78
+ type: 'select',
79
+ },
80
+ },
81
+ required: {
82
+ control: {
83
+ type: 'boolean',
84
+ },
85
+ if: { arg: 'optional', truthy: false },
86
+ },
87
+ optional: {
88
+ control: {
89
+ type: 'boolean',
90
+ },
91
+ if: { arg: 'required', truthy: false },
92
+ },
75
93
  },
76
94
  args: {
77
95
  label: 'Label',
@@ -87,6 +105,9 @@ const meta: Meta<StorySelectProps> = {
87
105
  alwaysOpened: false,
88
106
  disabled: false,
89
107
  readOnly: false,
108
+ optional: false,
109
+ required: false,
110
+ requiredPlacement: 'right',
90
111
  },
91
112
  parameters: {
92
113
  controls: {
@@ -108,6 +129,9 @@ const meta: Meta<StorySelectProps> = {
108
129
  'listWidth',
109
130
  'listOverflow',
110
131
  'listHeight',
132
+ 'optional',
133
+ 'required',
134
+ 'requiredPlacement',
111
135
  ],
112
136
  },
113
137
  },
@@ -81,6 +81,7 @@ export const Button: StoryObj<StoryAttachProps> = {
81
81
  width: '400px',
82
82
  buttonText: 'Загрузить файл',
83
83
  buttonValue: '',
84
+ square: false,
84
85
  enableContentLeft: false,
85
86
  enableContentRight: false,
86
87
  size: 'm',