@salutejs/plasma-new-hope 0.182.1-canary.1532.11630042264.0 → 0.182.2-canary.1532.11631027918.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) 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_192fzgs.css → Autocomplete.styles_pv6izw.css} +1 -1
  4. package/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -35
  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_1anhp9c.css +1 -0
  9. package/cjs/index.css +6 -6
  10. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -35
  11. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  12. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  13. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  14. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
  15. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  16. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +62 -35
  17. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  18. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  19. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  20. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
  21. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  22. package/es/components/Autocomplete/Autocomplete.css +6 -6
  23. package/es/components/Autocomplete/Autocomplete.styles.js +1 -1
  24. package/es/components/Autocomplete/{Autocomplete.styles_192fzgs.css → Autocomplete.styles_pv6izw.css} +1 -1
  25. package/es/components/Autocomplete/Autocomplete.tokens.js +62 -35
  26. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  27. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  28. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  29. package/es/components/Autocomplete/ui/TextField/TextField.styles_1anhp9c.css +1 -0
  30. package/es/index.css +6 -6
  31. package/package.json +2 -2
  32. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -35
  33. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  34. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
  35. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  36. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  37. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
  38. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +62 -35
  39. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  40. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
  41. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  42. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  43. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
  44. package/types/components/Autocomplete/Autocomplete.d.ts +2 -2
  45. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  46. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +26 -3
  47. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  48. package/types/components/Autocomplete/Autocomplete.types.d.ts +2 -2
  49. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  50. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  51. package/types/components/TextField/TextField.types.d.ts +1 -1
  52. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  53. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  54. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +11 -1
  55. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  56. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  57. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  58. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +11 -1
  59. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  60. package/cjs/components/Autocomplete/ui/TextField/TextField.styles_kcgaix.css +0 -1
  61. package/es/components/Autocomplete/ui/TextField/TextField.styles_kcgaix.css +0 -1
@@ -92,6 +92,25 @@ const meta: Meta<StoryProps> = {
92
92
  type: 'inline-radio',
93
93
  },
94
94
  },
95
+ requiredPlacement: {
96
+ options: ['left', 'right'],
97
+ control: {
98
+ type: 'select',
99
+ },
100
+ if: { arg: 'required', truthy: true },
101
+ },
102
+ required: {
103
+ control: {
104
+ type: 'boolean',
105
+ },
106
+ if: { arg: 'optional', truthy: false },
107
+ },
108
+ optional: {
109
+ control: {
110
+ type: 'boolean',
111
+ },
112
+ if: { arg: 'required', truthy: false },
113
+ },
95
114
  },
96
115
  args: {
97
116
  view: 'default',
@@ -109,6 +128,9 @@ const meta: Meta<StoryProps> = {
109
128
  threshold: 2,
110
129
  enableContentLeft: true,
111
130
  enableContentRight: true,
131
+ optional: false,
132
+ required: false,
133
+ requiredPlacement: 'right',
112
134
  },
113
135
  };
114
136