@salutejs/plasma-new-hope 0.182.1-canary.1522.11628874053.0 → 0.182.1-canary.1527.11629159936.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +6 -6
  2. package/cjs/components/Autocomplete/Autocomplete.styles.js +1 -1
  3. package/cjs/components/Autocomplete/{Autocomplete.styles_pv6izw.css → Autocomplete.styles_192fzgs.css} +1 -1
  4. package/cjs/components/Autocomplete/Autocomplete.tokens.js +35 -62
  5. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  6. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  7. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  8. package/cjs/components/Autocomplete/ui/TextField/TextField.styles_kcgaix.css +1 -0
  9. package/cjs/components/Combobox/ComboboxNew/Combobox.css +1 -1
  10. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  12. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -1
  13. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -1
  14. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  15. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  16. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_16ltv0e.css +1 -0
  17. package/cjs/index.css +7 -7
  18. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +35 -62
  19. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  20. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  21. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  22. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  23. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +0 -22
  24. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  25. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  26. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
  27. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  28. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  29. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  30. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +35 -62
  31. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  32. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  33. package/emotion/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  34. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  35. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +0 -22
  36. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  37. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  38. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
  39. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  40. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  41. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  42. package/es/components/Autocomplete/Autocomplete.css +6 -6
  43. package/es/components/Autocomplete/Autocomplete.styles.js +1 -1
  44. package/es/components/Autocomplete/{Autocomplete.styles_pv6izw.css → Autocomplete.styles_192fzgs.css} +1 -1
  45. package/es/components/Autocomplete/Autocomplete.tokens.js +35 -62
  46. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  47. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  48. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  49. package/es/components/Autocomplete/ui/TextField/TextField.styles_kcgaix.css +1 -0
  50. package/es/components/Combobox/ComboboxNew/Combobox.css +1 -1
  51. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  52. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  53. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +1 -1
  54. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +1 -1
  55. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  56. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  57. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles_16ltv0e.css +1 -0
  58. package/es/index.css +7 -7
  59. package/package.json +2 -2
  60. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +35 -62
  61. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  62. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  63. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  64. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
  65. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +0 -22
  66. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +8 -8
  67. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  68. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  69. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
  70. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +8 -8
  71. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  72. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +35 -62
  73. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  74. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +80 -45
  75. package/styled-components/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -1
  76. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
  77. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +0 -22
  78. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +8 -8
  79. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +24 -0
  80. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  81. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
  82. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +8 -8
  83. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +24 -0
  84. package/types/components/Autocomplete/Autocomplete.d.ts +2 -2
  85. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  86. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +3 -26
  87. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  88. package/types/components/Autocomplete/Autocomplete.types.d.ts +1 -27
  89. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  90. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  91. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +48 -13
  92. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  93. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +26 -1
  94. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  95. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  96. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  97. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +1 -11
  98. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  99. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
  100. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +492 -0
  101. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  102. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  103. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  104. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +1 -11
  105. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  106. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
  107. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +492 -0
  108. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  109. package/cjs/components/Autocomplete/ui/TextField/TextField.styles_1anhp9c.css +0 -1
  110. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles_ei26tn.css +0 -1
  111. package/es/components/Autocomplete/ui/TextField/TextField.styles_1anhp9c.css +0 -1
  112. 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
  },