@salutejs/plasma-new-hope 0.182.1-canary.1532.11629326773.0 → 0.182.1-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) 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/components/Breadcrumbs/Breadcrumbs.css +3 -3
  10. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +11 -4
  11. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  12. package/{es/components/Breadcrumbs/Breadcrumbs.styles_ixnthx.css → cjs/components/Breadcrumbs/Breadcrumbs.styles_19b6ey4.css} +1 -1
  13. package/cjs/components/Breadcrumbs/utils/index.css +3 -3
  14. package/cjs/index.css +9 -9
  15. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -35
  16. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  17. package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +8 -5
  18. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  19. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  20. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
  21. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  22. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +62 -35
  23. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  24. package/emotion/es/components/Breadcrumbs/Breadcrumbs.styles.js +8 -5
  25. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  26. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  27. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
  28. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  29. package/es/components/Autocomplete/Autocomplete.css +6 -6
  30. package/es/components/Autocomplete/Autocomplete.styles.js +1 -1
  31. package/es/components/Autocomplete/{Autocomplete.styles_192fzgs.css → Autocomplete.styles_pv6izw.css} +1 -1
  32. package/es/components/Autocomplete/Autocomplete.tokens.js +62 -35
  33. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  34. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  35. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  36. package/es/components/Autocomplete/ui/TextField/TextField.styles_1anhp9c.css +1 -0
  37. package/es/components/Breadcrumbs/Breadcrumbs.css +3 -3
  38. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +11 -4
  39. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  40. package/{cjs/components/Breadcrumbs/Breadcrumbs.styles_ixnthx.css → es/components/Breadcrumbs/Breadcrumbs.styles_19b6ey4.css} +1 -1
  41. package/es/components/Breadcrumbs/utils/index.css +3 -3
  42. package/es/index.css +9 -9
  43. package/package.json +2 -2
  44. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +62 -35
  45. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  46. package/styled-components/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +4 -1
  47. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
  48. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  49. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  50. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
  51. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +62 -35
  52. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  53. package/styled-components/es/components/Breadcrumbs/Breadcrumbs.styles.js +4 -1
  54. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +9 -9
  55. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +22 -0
  56. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  57. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +9 -9
  58. package/types/components/Autocomplete/Autocomplete.d.ts +2 -2
  59. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  60. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +26 -3
  61. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  62. package/types/components/Autocomplete/Autocomplete.types.d.ts +2 -2
  63. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  64. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  65. package/types/components/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -1
  66. package/types/components/TextField/TextField.types.d.ts +1 -1
  67. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  68. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  69. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +11 -1
  70. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  71. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  72. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  73. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +11 -1
  74. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  75. package/cjs/components/Autocomplete/ui/TextField/TextField.styles_kcgaix.css +0 -1
  76. 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