@pareto-engineering/design-system 4.0.0-alpha.63 → 4.0.0-alpha.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/dist/cjs/f/FormInput/FormInput.js +13 -43
  2. package/dist/cjs/f/common/Description/Description.js +6 -5
  3. package/dist/cjs/f/common/Label/Label.js +9 -22
  4. package/dist/cjs/f/common/Label/styles.scss +0 -5
  5. package/dist/cjs/f/common/index.js +1 -21
  6. package/dist/cjs/f/fields/Checkbox/Checkbox.js +16 -21
  7. package/dist/cjs/f/fields/Checkbox/styles.scss +7 -5
  8. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +13 -23
  9. package/dist/cjs/f/fields/ChoicesInput/styles.scss +44 -41
  10. package/dist/cjs/f/fields/EditorInput/EditorInput.js +11 -39
  11. package/dist/cjs/f/fields/EditorInput/styles.scss +92 -90
  12. package/dist/cjs/f/fields/LinkInput/LinkInput.js +14 -20
  13. package/dist/cjs/f/fields/LinkInput/styles.scss +52 -51
  14. package/dist/cjs/f/fields/QueryChoices/QueryChoices.js +2 -26
  15. package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +4 -30
  16. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +7 -16
  17. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +9 -17
  18. package/dist/cjs/f/fields/QueryCombobox/styles.scss +38 -37
  19. package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +2 -10
  20. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +14 -38
  21. package/dist/cjs/f/fields/RatingsInput/styles.scss +5 -1
  22. package/dist/cjs/f/fields/SelectInput/SelectInput.js +14 -36
  23. package/dist/cjs/f/fields/SelectInput/styles.scss +5 -2
  24. package/dist/cjs/f/fields/TextInput/TextInput.js +19 -37
  25. package/dist/cjs/f/fields/TextInput/styles.scss +37 -30
  26. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +15 -37
  27. package/dist/cjs/f/fields/TextareaInput/styles.scss +30 -27
  28. package/dist/cjs/f/fields/index.js +1 -26
  29. package/dist/es/f/FormInput/FormInput.js +3 -33
  30. package/dist/es/f/common/Description/Description.js +4 -1
  31. package/dist/es/f/common/Label/Label.js +15 -24
  32. package/dist/es/f/common/Label/styles.scss +0 -5
  33. package/dist/es/f/common/index.js +1 -3
  34. package/dist/es/f/fields/Checkbox/Checkbox.js +14 -19
  35. package/dist/es/f/fields/Checkbox/styles.scss +7 -5
  36. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +31 -39
  37. package/dist/es/f/fields/ChoicesInput/styles.scss +44 -41
  38. package/dist/es/f/fields/EditorInput/EditorInput.js +12 -35
  39. package/dist/es/f/fields/EditorInput/styles.scss +92 -90
  40. package/dist/es/f/fields/LinkInput/LinkInput.js +14 -20
  41. package/dist/es/f/fields/LinkInput/styles.scss +52 -51
  42. package/dist/es/f/fields/QueryChoices/QueryChoices.js +2 -26
  43. package/dist/es/f/fields/QueryCombobox/QueryCombobox.js +4 -26
  44. package/dist/es/f/fields/QueryCombobox/common/Combobox/Combobox.js +8 -17
  45. package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +10 -18
  46. package/dist/es/f/fields/QueryCombobox/styles.scss +38 -37
  47. package/dist/es/f/fields/QuerySelect/QuerySelect.js +2 -10
  48. package/dist/es/f/fields/RatingsInput/RatingsInput.js +15 -35
  49. package/dist/es/f/fields/RatingsInput/styles.scss +5 -1
  50. package/dist/es/f/fields/SelectInput/SelectInput.js +14 -36
  51. package/dist/es/f/fields/SelectInput/styles.scss +5 -2
  52. package/dist/es/f/fields/TextInput/TextInput.js +19 -37
  53. package/dist/es/f/fields/TextInput/styles.scss +37 -30
  54. package/dist/es/f/fields/TextareaInput/TextareaInput.js +15 -37
  55. package/dist/es/f/fields/TextareaInput/styles.scss +30 -27
  56. package/dist/es/f/fields/index.js +1 -2
  57. package/package.json +2 -2
  58. package/src/stories/f/Checkbox.stories.jsx +13 -21
  59. package/src/stories/f/ChoicesInput.stories.jsx +12 -27
  60. package/src/stories/f/EditorInput.stories.jsx +7 -14
  61. package/src/stories/f/LinkInput.stories.jsx +15 -22
  62. package/src/stories/f/QueryChoices.stories.jsx +12 -19
  63. package/src/stories/f/QueryCombobox.stories.jsx +16 -24
  64. package/src/stories/f/QuerySelect.stories.jsx +12 -19
  65. package/src/stories/f/RatingsInput.stories.jsx +7 -14
  66. package/src/stories/f/SelectInput.stories.jsx +12 -19
  67. package/src/stories/f/TextInput.stories.jsx +16 -23
  68. package/src/stories/f/TextareaInput.stories.jsx +7 -14
  69. package/src/ui/f/FormInput/FormInput.jsx +12 -57
  70. package/src/ui/f/common/Description/Description.jsx +6 -2
  71. package/src/ui/f/common/Label/Label.jsx +27 -37
  72. package/src/ui/f/common/Label/styles.scss +0 -5
  73. package/src/ui/f/common/index.js +0 -2
  74. package/src/ui/f/fields/Checkbox/Checkbox.jsx +27 -33
  75. package/src/ui/f/fields/Checkbox/styles.scss +7 -5
  76. package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +29 -38
  77. package/src/ui/f/fields/ChoicesInput/styles.scss +44 -41
  78. package/src/ui/f/fields/EditorInput/EditorInput.jsx +16 -41
  79. package/src/ui/f/fields/EditorInput/styles.scss +92 -90
  80. package/src/ui/f/fields/LinkInput/LinkInput.jsx +38 -45
  81. package/src/ui/f/fields/LinkInput/styles.scss +52 -51
  82. package/src/ui/f/fields/QueryChoices/QueryChoices.jsx +0 -28
  83. package/src/ui/f/fields/QueryCombobox/QueryCombobox.jsx +5 -31
  84. package/src/ui/f/fields/QueryCombobox/common/Combobox/Combobox.jsx +35 -46
  85. package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.jsx +63 -73
  86. package/src/ui/f/fields/QueryCombobox/styles.scss +38 -37
  87. package/src/ui/f/fields/QuerySelect/QuerySelect.jsx +0 -8
  88. package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +20 -47
  89. package/src/ui/f/fields/RatingsInput/styles.scss +5 -1
  90. package/src/ui/f/fields/SelectInput/SelectInput.jsx +33 -61
  91. package/src/ui/f/fields/SelectInput/styles.scss +5 -2
  92. package/src/ui/f/fields/TextInput/TextInput.jsx +27 -50
  93. package/src/ui/f/fields/TextInput/styles.scss +37 -30
  94. package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +32 -59
  95. package/src/ui/f/fields/TextareaInput/styles.scss +30 -27
  96. package/src/ui/f/fields/index.js +0 -1
  97. package/dist/cjs/f/common/InputWrapper/InputWrapper.js +0 -73
  98. package/dist/cjs/f/common/InputWrapper/index.js +0 -13
  99. package/dist/cjs/f/common/InputWrapper/styles.scss +0 -13
  100. package/dist/cjs/f/common/V2/Description/Description.js +0 -76
  101. package/dist/cjs/f/common/V2/Description/index.js +0 -13
  102. package/dist/cjs/f/common/V2/Description/styles.scss +0 -10
  103. package/dist/cjs/f/common/V2/Label/Label.js +0 -84
  104. package/dist/cjs/f/common/V2/Label/index.js +0 -13
  105. package/dist/cjs/f/common/V2/Label/styles.scss +0 -9
  106. package/dist/cjs/f/common/V2/index.js +0 -19
  107. package/dist/cjs/f/fields/V2/Checkbox/Checkbox.js +0 -122
  108. package/dist/cjs/f/fields/V2/Checkbox/index.js +0 -13
  109. package/dist/cjs/f/fields/V2/Checkbox/styles.scss +0 -16
  110. package/dist/cjs/f/fields/V2/ChoicesInput/ChoicesInput.js +0 -154
  111. package/dist/cjs/f/fields/V2/ChoicesInput/common/Choice/Choice.js +0 -104
  112. package/dist/cjs/f/fields/V2/ChoicesInput/common/Choice/index.js +0 -13
  113. package/dist/cjs/f/fields/V2/ChoicesInput/common/index.js +0 -12
  114. package/dist/cjs/f/fields/V2/ChoicesInput/index.js +0 -13
  115. package/dist/cjs/f/fields/V2/ChoicesInput/styles.scss +0 -79
  116. package/dist/cjs/f/fields/V2/EditorInput/EditorInput.js +0 -197
  117. package/dist/cjs/f/fields/V2/EditorInput/common/Toolbar.js +0 -257
  118. package/dist/cjs/f/fields/V2/EditorInput/common/TreeViewPlugin.js +0 -18
  119. package/dist/cjs/f/fields/V2/EditorInput/common/index.js +0 -20
  120. package/dist/cjs/f/fields/V2/EditorInput/index.js +0 -13
  121. package/dist/cjs/f/fields/V2/EditorInput/styles.scss +0 -149
  122. package/dist/cjs/f/fields/V2/LinkInput/LinkInput.js +0 -156
  123. package/dist/cjs/f/fields/V2/LinkInput/index.js +0 -13
  124. package/dist/cjs/f/fields/V2/LinkInput/styles.scss +0 -90
  125. package/dist/cjs/f/fields/V2/QueryChoices/QueryChoices.js +0 -137
  126. package/dist/cjs/f/fields/V2/QueryChoices/index.js +0 -13
  127. package/dist/cjs/f/fields/V2/QueryCombobox/QueryCombobox.js +0 -229
  128. package/dist/cjs/f/fields/V2/QueryCombobox/common/Combobox/Combobox.js +0 -236
  129. package/dist/cjs/f/fields/V2/QueryCombobox/common/Combobox/index.js +0 -13
  130. package/dist/cjs/f/fields/V2/QueryCombobox/common/Menu/Menu.js +0 -83
  131. package/dist/cjs/f/fields/V2/QueryCombobox/common/Menu/index.js +0 -13
  132. package/dist/cjs/f/fields/V2/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +0 -300
  133. package/dist/cjs/f/fields/V2/QueryCombobox/common/MultipleCombobox/index.js +0 -13
  134. package/dist/cjs/f/fields/V2/QueryCombobox/common/index.js +0 -26
  135. package/dist/cjs/f/fields/V2/QueryCombobox/index.js +0 -13
  136. package/dist/cjs/f/fields/V2/QueryCombobox/styles.scss +0 -127
  137. package/dist/cjs/f/fields/V2/QuerySelect/QuerySelect.js +0 -198
  138. package/dist/cjs/f/fields/V2/QuerySelect/index.js +0 -13
  139. package/dist/cjs/f/fields/V2/RatingsInput/RatingsInput.js +0 -130
  140. package/dist/cjs/f/fields/V2/RatingsInput/common/Rating/Rating.js +0 -117
  141. package/dist/cjs/f/fields/V2/RatingsInput/common/Rating/index.js +0 -13
  142. package/dist/cjs/f/fields/V2/RatingsInput/common/index.js +0 -12
  143. package/dist/cjs/f/fields/V2/RatingsInput/index.js +0 -13
  144. package/dist/cjs/f/fields/V2/RatingsInput/styles.scss +0 -48
  145. package/dist/cjs/f/fields/V2/SelectInput/SelectInput.js +0 -154
  146. package/dist/cjs/f/fields/V2/SelectInput/index.js +0 -13
  147. package/dist/cjs/f/fields/V2/SelectInput/styles.scss +0 -87
  148. package/dist/cjs/f/fields/V2/TextInput/TextInput.js +0 -155
  149. package/dist/cjs/f/fields/V2/TextInput/index.js +0 -13
  150. package/dist/cjs/f/fields/V2/TextInput/styles.scss +0 -78
  151. package/dist/cjs/f/fields/V2/TextareaInput/TextareaInput.js +0 -152
  152. package/dist/cjs/f/fields/V2/TextareaInput/index.js +0 -13
  153. package/dist/cjs/f/fields/V2/TextareaInput/styles.scss +0 -53
  154. package/dist/cjs/f/fields/V2/index.js +0 -82
  155. package/dist/es/f/common/InputWrapper/InputWrapper.js +0 -61
  156. package/dist/es/f/common/InputWrapper/index.js +0 -2
  157. package/dist/es/f/common/InputWrapper/styles.scss +0 -13
  158. package/dist/es/f/common/V2/Description/Description.js +0 -68
  159. package/dist/es/f/common/V2/Description/index.js +0 -2
  160. package/dist/es/f/common/V2/Description/styles.scss +0 -10
  161. package/dist/es/f/common/V2/Label/Label.js +0 -76
  162. package/dist/es/f/common/V2/Label/index.js +0 -2
  163. package/dist/es/f/common/V2/Label/styles.scss +0 -9
  164. package/dist/es/f/common/V2/index.js +0 -2
  165. package/dist/es/f/fields/V2/Checkbox/Checkbox.js +0 -114
  166. package/dist/es/f/fields/V2/Checkbox/index.js +0 -2
  167. package/dist/es/f/fields/V2/Checkbox/styles.scss +0 -16
  168. package/dist/es/f/fields/V2/ChoicesInput/ChoicesInput.js +0 -148
  169. package/dist/es/f/fields/V2/ChoicesInput/common/Choice/Choice.js +0 -97
  170. package/dist/es/f/fields/V2/ChoicesInput/common/Choice/index.js +0 -2
  171. package/dist/es/f/fields/V2/ChoicesInput/common/index.js +0 -1
  172. package/dist/es/f/fields/V2/ChoicesInput/index.js +0 -2
  173. package/dist/es/f/fields/V2/ChoicesInput/styles.scss +0 -79
  174. package/dist/es/f/fields/V2/EditorInput/EditorInput.js +0 -192
  175. package/dist/es/f/fields/V2/EditorInput/common/Toolbar.js +0 -246
  176. package/dist/es/f/fields/V2/EditorInput/common/TreeViewPlugin.js +0 -11
  177. package/dist/es/f/fields/V2/EditorInput/common/index.js +0 -2
  178. package/dist/es/f/fields/V2/EditorInput/index.js +0 -2
  179. package/dist/es/f/fields/V2/EditorInput/styles.scss +0 -149
  180. package/dist/es/f/fields/V2/LinkInput/LinkInput.js +0 -148
  181. package/dist/es/f/fields/V2/LinkInput/index.js +0 -2
  182. package/dist/es/f/fields/V2/LinkInput/styles.scss +0 -90
  183. package/dist/es/f/fields/V2/QueryChoices/QueryChoices.js +0 -126
  184. package/dist/es/f/fields/V2/QueryChoices/index.js +0 -2
  185. package/dist/es/f/fields/V2/QueryCombobox/QueryCombobox.js +0 -221
  186. package/dist/es/f/fields/V2/QueryCombobox/common/Combobox/Combobox.js +0 -229
  187. package/dist/es/f/fields/V2/QueryCombobox/common/Combobox/index.js +0 -2
  188. package/dist/es/f/fields/V2/QueryCombobox/common/Menu/Menu.js +0 -73
  189. package/dist/es/f/fields/V2/QueryCombobox/common/Menu/index.js +0 -2
  190. package/dist/es/f/fields/V2/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +0 -293
  191. package/dist/es/f/fields/V2/QueryCombobox/common/MultipleCombobox/index.js +0 -2
  192. package/dist/es/f/fields/V2/QueryCombobox/common/index.js +0 -3
  193. package/dist/es/f/fields/V2/QueryCombobox/index.js +0 -2
  194. package/dist/es/f/fields/V2/QueryCombobox/styles.scss +0 -127
  195. package/dist/es/f/fields/V2/QuerySelect/QuerySelect.js +0 -186
  196. package/dist/es/f/fields/V2/QuerySelect/index.js +0 -2
  197. package/dist/es/f/fields/V2/RatingsInput/RatingsInput.js +0 -124
  198. package/dist/es/f/fields/V2/RatingsInput/common/Rating/Rating.js +0 -109
  199. package/dist/es/f/fields/V2/RatingsInput/common/Rating/index.js +0 -2
  200. package/dist/es/f/fields/V2/RatingsInput/common/index.js +0 -1
  201. package/dist/es/f/fields/V2/RatingsInput/index.js +0 -2
  202. package/dist/es/f/fields/V2/RatingsInput/styles.scss +0 -48
  203. package/dist/es/f/fields/V2/SelectInput/SelectInput.js +0 -146
  204. package/dist/es/f/fields/V2/SelectInput/index.js +0 -2
  205. package/dist/es/f/fields/V2/SelectInput/styles.scss +0 -87
  206. package/dist/es/f/fields/V2/TextInput/TextInput.js +0 -147
  207. package/dist/es/f/fields/V2/TextInput/index.js +0 -2
  208. package/dist/es/f/fields/V2/TextInput/styles.scss +0 -78
  209. package/dist/es/f/fields/V2/TextareaInput/TextareaInput.js +0 -146
  210. package/dist/es/f/fields/V2/TextareaInput/index.js +0 -2
  211. package/dist/es/f/fields/V2/TextareaInput/styles.scss +0 -53
  212. package/dist/es/f/fields/V2/index.js +0 -11
  213. package/src/stories/f/v2/Checkbox.stories.jsx +0 -102
  214. package/src/stories/f/v2/ChoicesInput.stories.jsx +0 -139
  215. package/src/stories/f/v2/EditorInput.stories.jsx +0 -81
  216. package/src/stories/f/v2/LinkInput.stories.jsx +0 -93
  217. package/src/stories/f/v2/QueryChoices.stories.jsx +0 -144
  218. package/src/stories/f/v2/QueryCombobox.stories.jsx +0 -301
  219. package/src/stories/f/v2/QuerySelect.stories.jsx +0 -150
  220. package/src/stories/f/v2/RatingsInput.stories.jsx +0 -77
  221. package/src/stories/f/v2/SelectInput.stories.jsx +0 -95
  222. package/src/stories/f/v2/TextInput.stories.jsx +0 -120
  223. package/src/stories/f/v2/TextareaInput.stories.jsx +0 -107
  224. package/src/stories/f/v2/__generated__/FormInputAllTaskStatusesQuery.graphql.js +0 -122
  225. package/src/stories/f/v2/__generated__/FormInputAllTeamsQuery.graphql.js +0 -139
  226. package/src/stories/f/v2/__generated__/QueryChoicesAllTaskStatusesQuery.graphql.js +0 -122
  227. package/src/stories/f/v2/__generated__/QueryComboboxAllTeamsQuery.graphql.js +0 -139
  228. package/src/stories/f/v2/__generated__/QuerySelectAllTaskStatusesQuery.graphql.js +0 -122
  229. package/src/ui/f/common/InputWrapper/InputWrapper.jsx +0 -83
  230. package/src/ui/f/common/InputWrapper/index.js +0 -2
  231. package/src/ui/f/common/InputWrapper/styles.scss +0 -13
  232. package/src/ui/f/common/V2/Description/Description.jsx +0 -94
  233. package/src/ui/f/common/V2/Description/index.js +0 -2
  234. package/src/ui/f/common/V2/Description/styles.scss +0 -10
  235. package/src/ui/f/common/V2/Label/Label.jsx +0 -102
  236. package/src/ui/f/common/V2/Label/index.js +0 -2
  237. package/src/ui/f/common/V2/Label/styles.scss +0 -9
  238. package/src/ui/f/common/V2/index.js +0 -2
  239. package/src/ui/f/fields/V2/Checkbox/Checkbox.jsx +0 -146
  240. package/src/ui/f/fields/V2/Checkbox/index.js +0 -2
  241. package/src/ui/f/fields/V2/Checkbox/styles.scss +0 -16
  242. package/src/ui/f/fields/V2/ChoicesInput/ChoicesInput.jsx +0 -183
  243. package/src/ui/f/fields/V2/ChoicesInput/common/Choice/Choice.jsx +0 -125
  244. package/src/ui/f/fields/V2/ChoicesInput/common/Choice/index.js +0 -2
  245. package/src/ui/f/fields/V2/ChoicesInput/common/index.js +0 -1
  246. package/src/ui/f/fields/V2/ChoicesInput/index.js +0 -2
  247. package/src/ui/f/fields/V2/ChoicesInput/styles.scss +0 -79
  248. package/src/ui/f/fields/V2/EditorInput/EditorInput.jsx +0 -244
  249. package/src/ui/f/fields/V2/EditorInput/common/Toolbar.jsx +0 -356
  250. package/src/ui/f/fields/V2/EditorInput/common/TreeViewPlugin.jsx +0 -16
  251. package/src/ui/f/fields/V2/EditorInput/common/index.jsx +0 -2
  252. package/src/ui/f/fields/V2/EditorInput/index.js +0 -2
  253. package/src/ui/f/fields/V2/EditorInput/styles.scss +0 -149
  254. package/src/ui/f/fields/V2/LinkInput/LinkInput.jsx +0 -187
  255. package/src/ui/f/fields/V2/LinkInput/index.js +0 -2
  256. package/src/ui/f/fields/V2/LinkInput/styles.scss +0 -90
  257. package/src/ui/f/fields/V2/QueryChoices/QueryChoices.jsx +0 -153
  258. package/src/ui/f/fields/V2/QueryChoices/index.js +0 -2
  259. package/src/ui/f/fields/V2/QueryCombobox/QueryCombobox.jsx +0 -254
  260. package/src/ui/f/fields/V2/QueryCombobox/common/Combobox/Combobox.jsx +0 -276
  261. package/src/ui/f/fields/V2/QueryCombobox/common/Combobox/index.js +0 -2
  262. package/src/ui/f/fields/V2/QueryCombobox/common/Menu/Menu.jsx +0 -103
  263. package/src/ui/f/fields/V2/QueryCombobox/common/Menu/index.js +0 -2
  264. package/src/ui/f/fields/V2/QueryCombobox/common/MultipleCombobox/MultipleCombobox.jsx +0 -362
  265. package/src/ui/f/fields/V2/QueryCombobox/common/MultipleCombobox/index.js +0 -2
  266. package/src/ui/f/fields/V2/QueryCombobox/common/index.js +0 -3
  267. package/src/ui/f/fields/V2/QueryCombobox/index.js +0 -2
  268. package/src/ui/f/fields/V2/QueryCombobox/styles.scss +0 -127
  269. package/src/ui/f/fields/V2/QuerySelect/QuerySelect.jsx +0 -220
  270. package/src/ui/f/fields/V2/QuerySelect/index.js +0 -2
  271. package/src/ui/f/fields/V2/RatingsInput/RatingsInput.jsx +0 -152
  272. package/src/ui/f/fields/V2/RatingsInput/common/Rating/Rating.jsx +0 -142
  273. package/src/ui/f/fields/V2/RatingsInput/common/Rating/index.js +0 -2
  274. package/src/ui/f/fields/V2/RatingsInput/common/index.js +0 -1
  275. package/src/ui/f/fields/V2/RatingsInput/index.js +0 -2
  276. package/src/ui/f/fields/V2/RatingsInput/styles.scss +0 -48
  277. package/src/ui/f/fields/V2/SelectInput/SelectInput.jsx +0 -187
  278. package/src/ui/f/fields/V2/SelectInput/index.js +0 -2
  279. package/src/ui/f/fields/V2/SelectInput/styles.scss +0 -87
  280. package/src/ui/f/fields/V2/TextInput/TextInput.jsx +0 -192
  281. package/src/ui/f/fields/V2/TextInput/index.js +0 -2
  282. package/src/ui/f/fields/V2/TextInput/styles.scss +0 -78
  283. package/src/ui/f/fields/V2/TextareaInput/TextareaInput.jsx +0 -180
  284. package/src/ui/f/fields/V2/TextareaInput/index.js +0 -2
  285. package/src/ui/f/fields/V2/TextareaInput/styles.scss +0 -53
  286. package/src/ui/f/fields/V2/index.js +0 -11
@@ -8,5 +8,4 @@ export { QuerySelect } from "./QuerySelect";
8
8
  export { Checkbox } from "./Checkbox";
9
9
  export { QueryChoices } from "./QueryChoices";
10
10
  export { LinkInput } from "./LinkInput";
11
- export { EditorInput } from "./EditorInput";
12
- export * from "./V2";
11
+ export { EditorInput } from "./EditorInput";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pareto-engineering/design-system",
3
- "version": "4.0.0-alpha.63",
3
+ "version": "4.0.0-alpha.64",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/es/index.js",
@@ -71,5 +71,5 @@
71
71
  "relay-test-utils": "^15.0.0"
72
72
  },
73
73
  "browserslist": "> 2%",
74
- "gitHead": "d150baeb18c0f279e529ba46a7248fdb16180853"
74
+ "gitHead": "2664d428449c22570d89c6c4f9e6d65e3c1d51c1"
75
75
  }
@@ -27,16 +27,12 @@ export default {
27
27
  ),
28
28
  ],
29
29
  argTypes:{
30
- label :{ control: 'text' },
31
- labelColor :{ control: 'text' },
32
- description :{ control: 'text' },
33
- defaultValue :{ control: 'boolean' },
34
- disabled :{ control: 'boolean' },
35
- optional :{ control: 'boolean' },
36
- labelSpan :{ control: 'number' },
37
- inputSpan :{ control: 'number' },
38
- desktopLabelSpan:{ control: 'number' },
39
- desktopInputSpan:{ control: 'number' },
30
+ label :{ control: 'text' },
31
+ labelColor :{ control: 'text' },
32
+ description :{ control: 'text' },
33
+ defaultValue:{ control: 'boolean' },
34
+ disabled :{ control: 'boolean' },
35
+ optional :{ control: 'boolean' },
40
36
  },
41
37
  }
42
38
 
@@ -54,7 +50,13 @@ const Template = ({ defaultValue, ...args }) => {
54
50
  }, [defaultValue])
55
51
 
56
52
  return (
57
- <div className="grid">
53
+ <div
54
+ style={{
55
+ display :'flex',
56
+ flexDirection:'column',
57
+ gap :'1rem',
58
+ }}
59
+ >
58
60
  <Checkbox {...args} />
59
61
  <FormDebugger />
60
62
  </div>
@@ -98,13 +100,3 @@ Optional.args = {
98
100
  ...WithLabel.args,
99
101
  optional:true,
100
102
  }
101
-
102
- export const OnSingleRow = Template.bind({})
103
- OnSingleRow.args = {
104
- ...Base.args,
105
- label :'Urgent',
106
- labelSpan :4,
107
- inputSpan :4,
108
- desktopLabelSpan:4,
109
- desktopInputSpan:10,
110
- }
@@ -22,15 +22,11 @@ export default {
22
22
  ),
23
23
  ],
24
24
  argTypes:{
25
- color :{ control: 'color' },
26
- labelColor :{ control: 'color' },
27
- multiple :{ control: 'boolean' },
28
- disabled :{ control: 'boolean' },
29
- optional :{ control: 'boolean' },
30
- labelSpan :{ control: 'number' },
31
- inputSpan :{ control: 'number' },
32
- desktopLabelSpan:{ control: 'number' },
33
- desktopInputSpan:{ control: 'number' },
25
+ color :{ control: 'color' },
26
+ labelColor:{ control: 'color' },
27
+ multiple :{ control: 'boolean' },
28
+ disabled :{ control: 'boolean' },
29
+ optional :{ control: 'boolean' },
34
30
  },
35
31
  }
36
32
 
@@ -82,7 +78,13 @@ const Template = ({ defaultValue, ...args }) => {
82
78
  }, [defaultValue])
83
79
 
84
80
  return (
85
- <div className="grid">
81
+ <div
82
+ style={{
83
+ display :'flex',
84
+ flexDirection:'column',
85
+ gap :'1rem',
86
+ }}
87
+ >
86
88
  <ChoicesInput {...args} />
87
89
  <FormDebugger />
88
90
  </div>
@@ -117,13 +119,6 @@ MultipleWithDefaultFormikValue.args = {
117
119
  defaultValue:['brown', 'violet'],
118
120
  }
119
121
 
120
- export const MultipleWithGrid = Template.bind({})
121
- MultipleWithGrid.args = {
122
- ...Base.args,
123
- multiple :true,
124
- gridColumnsDesktop:2,
125
- }
126
-
127
122
  export const ChoicesWithLabel = Template.bind({})
128
123
  ChoicesWithLabel.args = {
129
124
  ...Base.args,
@@ -142,13 +137,3 @@ DisabledChoicesInput.args = {
142
137
  ...ChoicesWithLabel.args,
143
138
  disabled:true,
144
139
  }
145
-
146
- export const OnSingleRow = Template.bind({})
147
- OnSingleRow.args = {
148
- ...Base.args,
149
- label :'Select color',
150
- labelSpan :4,
151
- inputSpan :4,
152
- desktopLabelSpan:4,
153
- desktopInputSpan:10,
154
- }
@@ -29,16 +29,18 @@ export default {
29
29
  disabled :{ control: 'boolean' },
30
30
  labelAsDescription:{ control: 'boolean' },
31
31
  optional :{ control: 'boolean' },
32
- labelSpan :{ control: 'number' },
33
- inputSpan :{ control: 'number' },
34
- desktopLabelSpan :{ control: 'number' },
35
- desktopInputSpan :{ control: 'number' },
36
32
  showDebugger :{ control: 'boolean' },
37
33
  },
38
34
  }
39
35
 
40
36
  const Template = (args) => (
41
- <div className="grid">
37
+ <div
38
+ style={{
39
+ display :'flex',
40
+ flexDirection:'column',
41
+ gap :'1rem',
42
+ }}
43
+ >
42
44
  <EditorInput {...args} />
43
45
  <FormDebugger />
44
46
  </div>
@@ -77,12 +79,3 @@ Disabled.args = {
77
79
  ...Base.args,
78
80
  disabled:true,
79
81
  }
80
-
81
- export const OnSingleRow = Template.bind({})
82
- OnSingleRow.args = {
83
- ...Base.args,
84
- labelSpan :4,
85
- inputSpan :4,
86
- desktopLabelSpan:4,
87
- desktopInputSpan:10,
88
- }
@@ -27,24 +27,26 @@ export default {
27
27
  ],
28
28
  argTypes:{
29
29
  // backgroundColor:{ control: 'color' },
30
- placeholder :{ control: 'text' },
31
- autoComplete :{ control: 'select', options: ['off', 'on'] },
32
- disabled :{ control: 'boolean' },
33
- name :{ control: 'text' },
34
- label :{ control: 'text' },
35
- labelColor :{ control: 'text' },
36
- optional :{ control: 'boolean' },
37
- symbol :{ control: 'text' },
38
- labelSpan :{ control: 'number' },
39
- inputSpan :{ control: 'number' },
40
- desktopLabelSpan:{ control: 'number' },
41
- desktopInputSpan:{ control: 'number' },
30
+ placeholder :{ control: 'text' },
31
+ autoComplete:{ control: 'select', options: ['off', 'on'] },
32
+ disabled :{ control: 'boolean' },
33
+ name :{ control: 'text' },
34
+ label :{ control: 'text' },
35
+ labelColor :{ control: 'text' },
36
+ optional :{ control: 'boolean' },
37
+ symbol :{ control: 'text' },
42
38
  },
43
39
  }
44
40
 
45
41
  // eslint-disable-next-line react/prop-types
46
42
  const Template = (args) => (
47
- <div className="grid">
43
+ <div
44
+ style={{
45
+ display :'flex',
46
+ flexDirection:'column',
47
+ gap :'1rem',
48
+ }}
49
+ >
48
50
  <LinkInput {...args} />
49
51
  <FormDebugger />
50
52
  </div>
@@ -89,12 +91,3 @@ WithDisabled.args = {
89
91
  ...Base.args,
90
92
  disabled:true,
91
93
  }
92
-
93
- export const OnSingleRow = Template.bind({})
94
- OnSingleRow.args = {
95
- ...Base.args,
96
- labelSpan :4,
97
- inputSpan :4,
98
- desktopLabelSpan:4,
99
- desktopInputSpan:10,
100
- }
@@ -28,15 +28,11 @@ export default {
28
28
  ),
29
29
  ],
30
30
  argTypes:{
31
- color :{ control: 'color' },
32
- labelColor :{ control: 'color' },
33
- multiple :{ control: 'boolean' },
34
- isLoading :{ control: 'boolean' },
35
- optional :{ control: 'boolean' },
36
- labelSpan :{ control: 'number' },
37
- inputSpan :{ control: 'number' },
38
- desktopLabelSpan:{ control: 'number' },
39
- desktopInputSpan:{ control: 'number' },
31
+ color :{ control: 'color' },
32
+ labelColor:{ control: 'color' },
33
+ multiple :{ control: 'boolean' },
34
+ isLoading :{ control: 'boolean' },
35
+ optional :{ control: 'boolean' },
40
36
  },
41
37
  }
42
38
 
@@ -103,7 +99,13 @@ const Template = ({ isLoading, defaultFormikState, ...args }) => {
103
99
  }
104
100
 
105
101
  const Content = () => (
106
- <div className="grid">
102
+ <div
103
+ style={{
104
+ display :'flex',
105
+ flexDirection:'column',
106
+ gap :'1rem',
107
+ }}
108
+ >
107
109
  <QueryChoices
108
110
  name="status"
109
111
  label="Select Status"
@@ -140,12 +142,3 @@ export const Optional = Template.bind({})
140
142
  Optional.args = {
141
143
  optional:true,
142
144
  }
143
-
144
- export const OnSingleRow = Template.bind({})
145
- OnSingleRow.args = {
146
- ...Base.args,
147
- labelSpan :4,
148
- inputSpan :4,
149
- desktopLabelSpan:4,
150
- desktopInputSpan:10,
151
- }
@@ -29,18 +29,14 @@ export default {
29
29
  ),
30
30
  ],
31
31
  argTypes:{
32
- disabled :{ control: 'boolean' },
33
- type :{ control: 'text' },
34
- name :{ control: 'text' },
35
- color :{ control: 'text' },
36
- label :{ control: 'text' },
37
- labelColor :{ control: 'text' },
38
- multiple :{ control: 'boolean' },
39
- optional :{ control: 'boolean' },
40
- labelSpan :{ control: 'number' },
41
- inputSpan :{ control: 'number' },
42
- desktopLabelSpan:{ control: 'number' },
43
- desktopInputSpan:{ control: 'number' },
32
+ disabled :{ control: 'boolean' },
33
+ type :{ control: 'text' },
34
+ name :{ control: 'text' },
35
+ color :{ control: 'text' },
36
+ label :{ control: 'text' },
37
+ labelColor:{ control: 'text' },
38
+ multiple :{ control: 'boolean' },
39
+ optional :{ control: 'boolean' },
44
40
  },
45
41
  }
46
42
 
@@ -129,7 +125,13 @@ const ResolvedTemplate = ({ defaultFormikState, ...otherProps }) => {
129
125
  }
130
126
 
131
127
  return (
132
- <div className="grid">
128
+ <div
129
+ style={{
130
+ display :'flex',
131
+ flexDirection:'column',
132
+ gap :'1rem',
133
+ }}
134
+ >
133
135
  <QueryCombobox
134
136
  label="Search for a team"
135
137
  optionsKeyMap={{
@@ -144,7 +146,7 @@ const ResolvedTemplate = ({ defaultFormikState, ...otherProps }) => {
144
146
  searchVariable="name_Icontains"
145
147
  {...otherProps}
146
148
  />
147
- <div className="container">
149
+ <div>
148
150
  <FormDebugger />
149
151
  <Button
150
152
  onClick={updateFormikState}
@@ -237,16 +239,6 @@ MultipleSelectWithDefaultFormikState.args = {
237
239
  },
238
240
  }
239
241
 
240
- export const OnSingleRow = ResolvedTemplate.bind({})
241
- OnSingleRow.args = {
242
- multiple :true,
243
- defaultFormikState:{ teams: [] },
244
- labelSpan :4,
245
- inputSpan :4,
246
- desktopLabelSpan :4,
247
- desktopInputSpan :10,
248
- }
249
-
250
242
  // eslint-disable-next-line react/prop-types
251
243
  // const RejectedTemplate = ({ multiple }) => {
252
244
  // const Content = () => {
@@ -28,15 +28,11 @@ export default {
28
28
  ),
29
29
  ],
30
30
  argTypes:{
31
- color :{ control: 'text' },
32
- label :{ control: 'text' },
33
- labelColor :{ control: 'text' },
34
- isLoading :{ control: 'boolean' },
35
- optional :{ control: 'boolean' },
36
- labelSpan :{ control: 'number' },
37
- inputSpan :{ control: 'number' },
38
- desktopLabelSpan:{ control: 'number' },
39
- desktopInputSpan:{ control: 'number' },
31
+ color :{ control: 'text' },
32
+ label :{ control: 'text' },
33
+ labelColor:{ control: 'text' },
34
+ isLoading :{ control: 'boolean' },
35
+ optional :{ control: 'boolean' },
40
36
  },
41
37
  }
42
38
  const statuses = [
@@ -99,7 +95,13 @@ const Template = ({ isLoading, defaultFormikState, ...args }) => {
99
95
  }
100
96
 
101
97
  const Content = () => (
102
- <div className="grid">
98
+ <div
99
+ style={{
100
+ display :'flex',
101
+ flexDirection:'column',
102
+ gap :'1rem',
103
+ }}
104
+ >
103
105
  <QuerySelect
104
106
  name="status"
105
107
  label="Select Task Status"
@@ -146,12 +148,3 @@ export const Optional = Template.bind({})
146
148
  Optional.args = {
147
149
  optional:true,
148
150
  }
149
-
150
- export const OnSingleRow = Template.bind({})
151
- OnSingleRow.args = {
152
- ...Base.args,
153
- labelSpan :4,
154
- inputSpan :4,
155
- desktopLabelSpan:4,
156
- desktopInputSpan:10,
157
- }
@@ -33,15 +33,17 @@ export default {
33
33
  labelMax :{ control: 'text' },
34
34
  labelMin :{ control: 'text' },
35
35
  optional :{ control: 'boolean' },
36
- labelSpan :{ control: 'number' },
37
- inputSpan :{ control: 'number' },
38
- desktopLabelSpan :{ control: 'number' },
39
- desktopInputSpan :{ control: 'number' },
40
36
  },
41
37
  }
42
38
 
43
39
  const Template = (args) => (
44
- <div className="grid">
40
+ <div
41
+ style={{
42
+ display :'flex',
43
+ flexDirection:'column',
44
+ gap :'1rem',
45
+ }}
46
+ >
45
47
  <RatingsInput {...args} />
46
48
  <FormDebugger />
47
49
  </div>
@@ -73,12 +75,3 @@ Labels.args = {
73
75
  labelMin :'not satisfied.',
74
76
  displayRatingsLabel:true,
75
77
  }
76
-
77
- export const OnSingleRow = Template.bind({})
78
- OnSingleRow.args = {
79
- ...Base.args,
80
- labelSpan :4,
81
- inputSpan :4,
82
- desktopLabelSpan:4,
83
- desktopInputSpan:10,
84
- }
@@ -22,20 +22,22 @@ export default {
22
22
  ),
23
23
  ],
24
24
  argTypes:{
25
- color :{ control: 'text' },
26
- label :{ control: 'text' },
27
- labelColor :{ control: 'text' },
28
- disabled :{ control: 'boolean' },
29
- optional :{ control: 'boolean' },
30
- labelSpan :{ control: 'number' },
31
- inputSpan :{ control: 'number' },
32
- desktopLabelSpan:{ control: 'number' },
33
- desktopInputSpan:{ control: 'number' },
25
+ color :{ control: 'text' },
26
+ label :{ control: 'text' },
27
+ labelColor:{ control: 'text' },
28
+ disabled :{ control: 'boolean' },
29
+ optional :{ control: 'boolean' },
34
30
  },
35
31
  }
36
32
 
37
33
  const Template = (args) => (
38
- <div className="grid">
34
+ <div
35
+ style={{
36
+ display :'flex',
37
+ flexDirection:'column',
38
+ gap :'1rem',
39
+ }}
40
+ >
39
41
  <SelectInput {...args} />
40
42
  <FormDebugger />
41
43
  </div>
@@ -91,12 +93,3 @@ DisabledWithDescriptionSelectInput.args = {
91
93
  disabled :true,
92
94
  description:'This is a description',
93
95
  }
94
-
95
- export const OnSingleRow = Template.bind({})
96
- OnSingleRow.args = {
97
- ...Base.args,
98
- labelSpan :4,
99
- inputSpan :4,
100
- desktopLabelSpan:4,
101
- desktopInputSpan:10,
102
- }
@@ -27,25 +27,27 @@ export default {
27
27
  ],
28
28
  argTypes:{
29
29
  // backgroundColor:{ control: 'color' },
30
- placeholder :{ control: 'text' },
31
- autoComplete :{ control: 'select', options: ['off', 'on'] },
32
- disabled :{ control: 'boolean' },
33
- type :{ control: 'text' },
34
- name :{ control: 'text' },
35
- label :{ control: 'text' },
36
- labelColor :{ control: 'text' },
37
- optional :{ control: 'boolean' },
38
- symbol :{ control: 'text' },
39
- labelSpan :{ control: 'number' },
40
- inputSpan :{ control: 'number' },
41
- desktopLabelSpan:{ control: 'number' },
42
- desktopInputSpan:{ control: 'number' },
30
+ placeholder :{ control: 'text' },
31
+ autoComplete:{ control: 'select', options: ['off', 'on'] },
32
+ disabled :{ control: 'boolean' },
33
+ type :{ control: 'text' },
34
+ name :{ control: 'text' },
35
+ label :{ control: 'text' },
36
+ labelColor :{ control: 'text' },
37
+ optional :{ control: 'boolean' },
38
+ symbol :{ control: 'text' },
43
39
  },
44
40
  }
45
41
 
46
42
  // eslint-disable-next-line react/prop-types
47
43
  const Template = (args) => (
48
- <div className="grid">
44
+ <div
45
+ style={{
46
+ display :'flex',
47
+ flexDirection:'column',
48
+ gap :'1rem',
49
+ }}
50
+ >
49
51
  <TextInput {...args} />
50
52
  <FormDebugger />
51
53
  </div>
@@ -116,12 +118,3 @@ HasSymbol.args = {
116
118
  ...Base.args,
117
119
  symbol:"'$'",
118
120
  }
119
-
120
- export const OnSingleRow = Template.bind({})
121
- OnSingleRow.args = {
122
- ...Base.args,
123
- labelSpan :4,
124
- inputSpan :4,
125
- desktopLabelSpan:4,
126
- desktopInputSpan:10,
127
- }
@@ -32,15 +32,17 @@ export default {
32
32
  disabled :{ control: 'boolean' },
33
33
  labelAsDescription:{ control: 'boolean' },
34
34
  optional :{ control: 'boolean' },
35
- labelSpan :{ control: 'number' },
36
- inputSpan :{ control: 'number' },
37
- desktopLabelSpan :{ control: 'number' },
38
- desktopInputSpan :{ control: 'number' },
39
35
  },
40
36
  }
41
37
 
42
38
  const Template = (args) => (
43
- <div className="grid">
39
+ <div
40
+ style={{
41
+ display :'flex',
42
+ flexDirection:'column',
43
+ gap :'1rem',
44
+ }}
45
+ >
44
46
  <TextareaInput {...args} />
45
47
  <FormDebugger />
46
48
  </div>
@@ -103,12 +105,3 @@ DisableResize.args = {
103
105
  ...Base.args,
104
106
  resize:'none',
105
107
  }
106
-
107
- export const OnSingleRow = Template.bind({})
108
- OnSingleRow.args = {
109
- ...Base.args,
110
- labelSpan :4,
111
- inputSpan :4,
112
- desktopLabelSpan:4,
113
- desktopInputSpan:10,
114
- }
@@ -6,28 +6,17 @@ import { memo } from 'react'
6
6
  import PropTypes from 'prop-types'
7
7
 
8
8
  import {
9
- TextInput as TextInputV1,
10
- TextareaInput as TextareaInputV1,
11
- ChoicesInput as ChoicesInputV1,
12
- SelectInput as SelectInputV1,
13
- QueryCombobox as QueryComboboxV1,
14
- QuerySelect as QuerySelectV1,
15
- RatingsInput as RatingsInputV1,
16
- Checkbox as CheckboxV1,
17
- QueryChoices as QueryChoicesV1,
18
- LinkInput as LinkInputV1,
19
- EditorInput as EditorInputV1,
20
- TextInputV2,
21
- TextareaInputV2,
22
- ChoicesInputV2,
23
- SelectInputV2,
24
- QueryComboboxV2,
25
- QuerySelectV2,
26
- RatingsInputV2,
27
- CheckboxV2,
28
- QueryChoicesV2,
29
- LinkInputV2,
30
- EditorInputV2,
9
+ TextInput,
10
+ TextareaInput,
11
+ ChoicesInput,
12
+ SelectInput,
13
+ QueryCombobox,
14
+ QuerySelect,
15
+ RatingsInput,
16
+ Checkbox,
17
+ QueryChoices,
18
+ LinkInput,
19
+ EditorInput,
31
20
  } from '../fields'
32
21
 
33
22
  import './styles.scss'
@@ -46,7 +35,6 @@ const FormInput = ({
46
35
  type,
47
36
  extraTypes,
48
37
  disabled,
49
- isVersionTwo,
50
38
  ...otherProps
51
39
  }) => {
52
40
  const newClassName = [
@@ -54,32 +42,6 @@ const FormInput = ({
54
42
  componentClassName,
55
43
  ].filter(Boolean).join(' ')
56
44
 
57
- let TextInput = TextInputV1
58
- let TextareaInput = TextareaInputV1
59
- let ChoicesInput = ChoicesInputV1
60
- let SelectInput = SelectInputV1
61
- let QueryCombobox = QueryComboboxV1
62
- let QuerySelect = QuerySelectV1
63
- let RatingsInput = RatingsInputV1
64
- let Checkbox = CheckboxV1
65
- let QueryChoices = QueryChoicesV1
66
- let LinkInput = LinkInputV1
67
- let EditorInput = EditorInputV1
68
-
69
- if (isVersionTwo) {
70
- TextInput = TextInputV2
71
- TextareaInput = TextareaInputV2
72
- ChoicesInput = ChoicesInputV2
73
- SelectInput = SelectInputV2
74
- QueryCombobox = QueryComboboxV2
75
- QuerySelect = QuerySelectV2
76
- RatingsInput = RatingsInputV2
77
- Checkbox = CheckboxV2
78
- QueryChoices = QueryChoicesV2
79
- LinkInput = LinkInputV2
80
- EditorInput = EditorInputV2
81
- }
82
-
83
45
  if (type === 'textarea') {
84
46
  return (
85
47
  <TextareaInput
@@ -234,17 +196,10 @@ FormInput.propTypes = {
234
196
  * Whether the Form input input should be disabled
235
197
  */
236
198
  disabled :PropTypes.bool,
237
-
238
- /**
239
- * Whethe the Form input is version 2
240
- */
241
- isVersionTwo:PropTypes.bool,
242
-
243
199
  }
244
200
 
245
201
  FormInput.defaultProps = {
246
- disabled :false,
247
- isVersionTwo:false,
202
+ disabled:false,
248
203
  }
249
204
 
250
205
  export default memo(FormInput)