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

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