@toptal/picasso-lab 9.3.1 → 10.0.0

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 (366) hide show
  1. package/{dist-package/Calendar → Calendar}/Calendar.d.ts +0 -0
  2. package/{dist-package/Calendar → Calendar}/Calendar.js +0 -0
  3. package/{dist-package/Calendar → Calendar}/Calendar.js.map +0 -0
  4. package/{dist-package/Calendar → Calendar}/index.d.ts +0 -0
  5. package/{dist-package/Calendar → Calendar}/index.js +0 -0
  6. package/{dist-package/Calendar → Calendar}/index.js.map +0 -0
  7. package/{dist-package/Calendar → Calendar}/styles.d.ts +0 -0
  8. package/{dist-package/Calendar → Calendar}/styles.js +0 -0
  9. package/{dist-package/Calendar → Calendar}/styles.js.map +0 -0
  10. package/{dist-package/Calendar → Calendar}/types.d.ts +0 -0
  11. package/{dist-package/Calendar → Calendar}/types.js +0 -0
  12. package/{dist-package/Calendar → Calendar}/types.js.map +0 -0
  13. package/{dist-package/DatePicker → DatePicker}/DatePicker.d.ts +0 -0
  14. package/{dist-package/DatePicker → DatePicker}/DatePicker.js +0 -0
  15. package/{dist-package/DatePicker → DatePicker}/DatePicker.js.map +0 -0
  16. package/{dist-package/DatePicker → DatePicker}/constants.d.ts +0 -0
  17. package/{dist-package/DatePicker → DatePicker}/constants.js +0 -0
  18. package/{dist-package/DatePicker → DatePicker}/constants.js.map +0 -0
  19. package/{dist-package/DatePicker → DatePicker}/index.d.ts +0 -0
  20. package/{dist-package/DatePicker → DatePicker}/index.js +0 -0
  21. package/{dist-package/DatePicker → DatePicker}/index.js.map +0 -0
  22. package/{dist-package/DatePicker → DatePicker}/styles.d.ts +0 -0
  23. package/{dist-package/DatePicker → DatePicker}/styles.js +0 -0
  24. package/{dist-package/DatePicker → DatePicker}/styles.js.map +0 -0
  25. package/{dist-package/DatePicker → DatePicker}/types.d.ts +0 -0
  26. package/{dist-package/DatePicker → DatePicker}/types.js +0 -0
  27. package/{dist-package/DatePicker → DatePicker}/types.js.map +0 -0
  28. package/{dist-package/DatePicker → DatePicker}/utils.d.ts +0 -0
  29. package/{dist-package/DatePicker → DatePicker}/utils.js +0 -0
  30. package/{dist-package/DatePicker → DatePicker}/utils.js.map +0 -0
  31. package/{dist-package/Drawer → Drawer}/Drawer.d.ts +0 -0
  32. package/{dist-package/Drawer → Drawer}/Drawer.js +0 -0
  33. package/{dist-package/Drawer → Drawer}/Drawer.js.map +0 -0
  34. package/{dist-package/Drawer → Drawer}/index.d.ts +0 -0
  35. package/{dist-package/Drawer → Drawer}/index.js +0 -0
  36. package/{dist-package/Drawer → Drawer}/index.js.map +0 -0
  37. package/{dist-package/Drawer → Drawer}/styles.d.ts +0 -0
  38. package/{dist-package/Drawer → Drawer}/styles.js +0 -0
  39. package/{dist-package/Drawer → Drawer}/styles.js.map +0 -0
  40. package/{dist-package/DrawerTitle → DrawerTitle}/DrawerTitle.d.ts +0 -0
  41. package/{dist-package/DrawerTitle → DrawerTitle}/DrawerTitle.js +0 -0
  42. package/{dist-package/DrawerTitle → DrawerTitle}/DrawerTitle.js.map +0 -0
  43. package/{dist-package/DrawerTitle → DrawerTitle}/index.d.ts +0 -0
  44. package/{dist-package/DrawerTitle → DrawerTitle}/index.js +0 -0
  45. package/{dist-package/DrawerTitle → DrawerTitle}/index.js.map +0 -0
  46. package/{dist-package/DrawerTitle → DrawerTitle}/styles.d.ts +0 -0
  47. package/{dist-package/DrawerTitle → DrawerTitle}/styles.js +0 -0
  48. package/{dist-package/DrawerTitle → DrawerTitle}/styles.js.map +0 -0
  49. package/{dist-package/Dropzone → Dropzone}/Dropzone.d.ts +0 -0
  50. package/{dist-package/Dropzone → Dropzone}/Dropzone.js +0 -0
  51. package/{dist-package/Dropzone → Dropzone}/Dropzone.js.map +0 -0
  52. package/{dist-package/Dropzone → Dropzone}/index.d.ts +0 -0
  53. package/{dist-package/Dropzone → Dropzone}/index.js +0 -0
  54. package/{dist-package/Dropzone → Dropzone}/index.js.map +0 -0
  55. package/{dist-package/Dropzone → Dropzone}/styles.d.ts +0 -0
  56. package/{dist-package/Dropzone → Dropzone}/styles.js +0 -0
  57. package/{dist-package/Dropzone → Dropzone}/styles.js.map +0 -0
  58. package/{dist-package/Dropzone → Dropzone}/types.d.ts +0 -0
  59. package/{dist-package/Dropzone → Dropzone}/types.js +0 -0
  60. package/{dist-package/Dropzone → Dropzone}/types.js.map +0 -0
  61. package/{dist-package/EmptyState → EmptyState}/EmptyState.d.ts +0 -0
  62. package/{dist-package/EmptyState → EmptyState}/EmptyState.js +0 -0
  63. package/{dist-package/EmptyState → EmptyState}/EmptyState.js.map +0 -0
  64. package/{dist-package/EmptyState → EmptyState}/index.d.ts +0 -0
  65. package/{dist-package/EmptyState → EmptyState}/index.js +0 -0
  66. package/{dist-package/EmptyState → EmptyState}/index.js.map +0 -0
  67. package/{dist-package/EmptyStateCollection → EmptyStateCollection}/EmptyStateCollection.d.ts +0 -0
  68. package/{dist-package/EmptyStateCollection → EmptyStateCollection}/EmptyStateCollection.js +0 -0
  69. package/{dist-package/EmptyStateCollection → EmptyStateCollection}/EmptyStateCollection.js.map +0 -0
  70. package/{dist-package/EmptyStateCollection → EmptyStateCollection}/index.d.ts +0 -0
  71. package/{dist-package/EmptyStateCollection → EmptyStateCollection}/index.js +0 -0
  72. package/{dist-package/EmptyStateCollection → EmptyStateCollection}/index.js.map +0 -0
  73. package/{dist-package/EmptyStateCollection → EmptyStateCollection}/styles.d.ts +0 -0
  74. package/{dist-package/EmptyStateCollection → EmptyStateCollection}/styles.js +0 -0
  75. package/{dist-package/EmptyStateCollection → EmptyStateCollection}/styles.js.map +0 -0
  76. package/{dist-package/EmptyStatePage → EmptyStatePage}/EmptyStatePage.d.ts +0 -0
  77. package/{dist-package/EmptyStatePage → EmptyStatePage}/EmptyStatePage.js +0 -0
  78. package/{dist-package/EmptyStatePage → EmptyStatePage}/EmptyStatePage.js.map +0 -0
  79. package/{dist-package/EmptyStatePage → EmptyStatePage}/index.d.ts +0 -0
  80. package/{dist-package/EmptyStatePage → EmptyStatePage}/index.js +0 -0
  81. package/{dist-package/EmptyStatePage → EmptyStatePage}/index.js.map +0 -0
  82. package/{dist-package/EmptyStatePage → EmptyStatePage}/styles.d.ts +0 -0
  83. package/{dist-package/EmptyStatePage → EmptyStatePage}/styles.js +0 -0
  84. package/{dist-package/EmptyStatePage → EmptyStatePage}/styles.js.map +0 -0
  85. package/{dist-package/Note → Note}/Note.d.ts +0 -0
  86. package/{dist-package/Note → Note}/Note.js +0 -0
  87. package/{dist-package/Note → Note}/Note.js.map +0 -0
  88. package/{dist-package/Note → Note}/index.d.ts +0 -0
  89. package/{dist-package/Note → Note}/index.js +0 -0
  90. package/{dist-package/Note → Note}/index.js.map +0 -0
  91. package/{dist-package/Note → Note}/styles.d.ts +0 -0
  92. package/{dist-package/Note → Note}/styles.js +0 -0
  93. package/{dist-package/Note → Note}/styles.js.map +0 -0
  94. package/{dist-package/NoteContent → NoteContent}/NoteContent.d.ts +0 -0
  95. package/{dist-package/NoteContent → NoteContent}/NoteContent.js +0 -0
  96. package/{dist-package/NoteContent → NoteContent}/NoteContent.js.map +0 -0
  97. package/{dist-package/NoteContent → NoteContent}/index.d.ts +0 -0
  98. package/{dist-package/NoteContent → NoteContent}/index.js +0 -0
  99. package/{dist-package/NoteContent → NoteContent}/index.js.map +0 -0
  100. package/{dist-package/NoteSubtitle → NoteSubtitle}/NoteSubtitle.d.ts +0 -0
  101. package/{dist-package/NoteSubtitle → NoteSubtitle}/NoteSubtitle.js +0 -0
  102. package/{dist-package/NoteSubtitle → NoteSubtitle}/NoteSubtitle.js.map +0 -0
  103. package/{dist-package/NoteSubtitle → NoteSubtitle}/index.d.ts +0 -0
  104. package/{dist-package/NoteSubtitle → NoteSubtitle}/index.js +0 -0
  105. package/{dist-package/NoteSubtitle → NoteSubtitle}/index.js.map +0 -0
  106. package/{dist-package/NoteTitle → NoteTitle}/NoteTitle.d.ts +0 -0
  107. package/{dist-package/NoteTitle → NoteTitle}/NoteTitle.js +0 -0
  108. package/{dist-package/NoteTitle → NoteTitle}/NoteTitle.js.map +0 -0
  109. package/{dist-package/NoteTitle → NoteTitle}/index.d.ts +0 -0
  110. package/{dist-package/NoteTitle → NoteTitle}/index.js +0 -0
  111. package/{dist-package/NoteTitle → NoteTitle}/index.js.map +0 -0
  112. package/{dist-package/NoteTitle → NoteTitle}/styles.d.ts +0 -0
  113. package/{dist-package/NoteTitle → NoteTitle}/styles.js +0 -0
  114. package/{dist-package/NoteTitle → NoteTitle}/styles.js.map +0 -0
  115. package/{dist-package/OverviewBlock → OverviewBlock}/OverviewBlock.d.ts +0 -0
  116. package/{dist-package/OverviewBlock → OverviewBlock}/OverviewBlock.js +0 -0
  117. package/{dist-package/OverviewBlock → OverviewBlock}/OverviewBlock.js.map +0 -0
  118. package/{dist-package/OverviewBlock → OverviewBlock}/index.d.ts +0 -0
  119. package/{dist-package/OverviewBlock → OverviewBlock}/index.js +0 -0
  120. package/{dist-package/OverviewBlock → OverviewBlock}/index.js.map +0 -0
  121. package/{dist-package/OverviewBlock → OverviewBlock}/styles.d.ts +0 -0
  122. package/{dist-package/OverviewBlock → OverviewBlock}/styles.js +0 -0
  123. package/{dist-package/OverviewBlock → OverviewBlock}/styles.js.map +0 -0
  124. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroup.d.ts +0 -0
  125. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroup.js +0 -0
  126. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroup.js.map +0 -0
  127. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroupContext.d.ts +0 -0
  128. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroupContext.js +0 -0
  129. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroupContext.js.map +0 -0
  130. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/index.d.ts +0 -0
  131. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/index.js +0 -0
  132. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/index.js.map +0 -0
  133. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/settings.d.ts +0 -0
  134. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/settings.js +0 -0
  135. package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/settings.js.map +0 -0
  136. package/{dist-package/OverviewBlockRow → OverviewBlockRow}/OverviewBlockRow.d.ts +0 -0
  137. package/{dist-package/OverviewBlockRow → OverviewBlockRow}/OverviewBlockRow.js +0 -0
  138. package/{dist-package/OverviewBlockRow → OverviewBlockRow}/OverviewBlockRow.js.map +0 -0
  139. package/{dist-package/OverviewBlockRow → OverviewBlockRow}/index.d.ts +0 -0
  140. package/{dist-package/OverviewBlockRow → OverviewBlockRow}/index.js +0 -0
  141. package/{dist-package/OverviewBlockRow → OverviewBlockRow}/index.js.map +0 -0
  142. package/{dist-package/OverviewBlockRow → OverviewBlockRow}/styles.d.ts +0 -0
  143. package/{dist-package/OverviewBlockRow → OverviewBlockRow}/styles.js +0 -0
  144. package/{dist-package/OverviewBlockRow → OverviewBlockRow}/styles.js.map +0 -0
  145. package/{dist-package/Section → Section}/Section.d.ts +0 -0
  146. package/{dist-package/Section → Section}/Section.js +0 -0
  147. package/{dist-package/Section → Section}/Section.js.map +0 -0
  148. package/{dist-package/Section → Section}/index.d.ts +0 -0
  149. package/{dist-package/Section → Section}/index.js +0 -0
  150. package/{dist-package/Section → Section}/index.js.map +0 -0
  151. package/{dist-package/Section → Section}/styles.d.ts +0 -0
  152. package/{dist-package/Section → Section}/styles.js +0 -0
  153. package/{dist-package/Section → Section}/styles.js.map +0 -0
  154. package/{dist-package/Timeline → Timeline}/Timeline.d.ts +0 -0
  155. package/{dist-package/Timeline → Timeline}/Timeline.js +0 -0
  156. package/{dist-package/Timeline → Timeline}/Timeline.js.map +0 -0
  157. package/{dist-package/Timeline → Timeline}/index.d.ts +0 -0
  158. package/{dist-package/Timeline → Timeline}/index.js +0 -0
  159. package/{dist-package/Timeline → Timeline}/index.js.map +0 -0
  160. package/{dist-package/TimelineRow → TimelineRow}/TimelineRow.d.ts +0 -0
  161. package/{dist-package/TimelineRow → TimelineRow}/TimelineRow.js +0 -0
  162. package/{dist-package/TimelineRow → TimelineRow}/TimelineRow.js.map +0 -0
  163. package/{dist-package/TimelineRow → TimelineRow}/index.d.ts +0 -0
  164. package/{dist-package/TimelineRow → TimelineRow}/index.js +0 -0
  165. package/{dist-package/TimelineRow → TimelineRow}/index.js.map +0 -0
  166. package/{dist-package/TimelineRow → TimelineRow}/styles.d.ts +0 -0
  167. package/{dist-package/TimelineRow → TimelineRow}/styles.js +0 -0
  168. package/{dist-package/TimelineRow → TimelineRow}/styles.js.map +0 -0
  169. package/{dist-package/TypographyOverflow → TypographyOverflow}/TypographyOverflow.d.ts +0 -0
  170. package/{dist-package/TypographyOverflow → TypographyOverflow}/TypographyOverflow.js +0 -0
  171. package/{dist-package/TypographyOverflow → TypographyOverflow}/TypographyOverflow.js.map +0 -0
  172. package/{dist-package/TypographyOverflow → TypographyOverflow}/index.d.ts +0 -0
  173. package/{dist-package/TypographyOverflow → TypographyOverflow}/index.js +0 -0
  174. package/{dist-package/TypographyOverflow → TypographyOverflow}/index.js.map +0 -0
  175. package/{dist-package/TypographyOverflow → TypographyOverflow}/styles.d.ts +0 -0
  176. package/{dist-package/TypographyOverflow → TypographyOverflow}/styles.js +0 -0
  177. package/{dist-package/TypographyOverflow → TypographyOverflow}/styles.js.map +0 -0
  178. package/{dist-package/index.d.ts → index.d.ts} +0 -0
  179. package/{dist-package/index.js → index.js} +0 -0
  180. package/{dist-package/index.js.map → index.js.map} +0 -0
  181. package/package.json +5 -5
  182. package/CHANGELOG.md +0 -1385
  183. package/dist-package/README.md +0 -26
  184. package/dist-package/package.json +0 -53
  185. package/src/Calendar/Calendar.tsx +0 -215
  186. package/src/Calendar/__snapshots__/test.tsx.snap +0 -447
  187. package/src/Calendar/index.ts +0 -2
  188. package/src/Calendar/styles.ts +0 -104
  189. package/src/Calendar/test.tsx +0 -20
  190. package/src/Calendar/types.ts +0 -42
  191. package/src/DatePicker/DatePicker.tsx +0 -366
  192. package/src/DatePicker/__image_snapshots__/datepicker-full-width-snap.png +0 -0
  193. package/src/DatePicker/__image_snapshots__/datepicker-with-custom-day-rendering-snap.png +0 -0
  194. package/src/DatePicker/__snapshots__/test.tsx.snap +0 -51
  195. package/src/DatePicker/constants.ts +0 -2
  196. package/src/DatePicker/index.ts +0 -5
  197. package/src/DatePicker/story/AllowCustomValue.example.tsx +0 -33
  198. package/src/DatePicker/story/Autocomplete.example.tsx +0 -47
  199. package/src/DatePicker/story/Default.example.tsx +0 -19
  200. package/src/DatePicker/story/Error.example.tsx +0 -26
  201. package/src/DatePicker/story/Range.example.tsx +0 -22
  202. package/src/DatePicker/story/WithCustomDayRendering.example.tsx +0 -47
  203. package/src/DatePicker/story/WithInitialValue.example.tsx +0 -19
  204. package/src/DatePicker/story/WithInputProps.example.tsx +0 -24
  205. package/src/DatePicker/story/WithNoHideOnSelect.example.tsx +0 -20
  206. package/src/DatePicker/story/WithOnBlurHandler.example.tsx +0 -22
  207. package/src/DatePicker/story/WithSelectionLimits.example.tsx +0 -32
  208. package/src/DatePicker/story/WithTimezone.example.tsx +0 -25
  209. package/src/DatePicker/story/index.jsx +0 -50
  210. package/src/DatePicker/styles.ts +0 -8
  211. package/src/DatePicker/test.tsx +0 -370
  212. package/src/DatePicker/types.ts +0 -13
  213. package/src/DatePicker/utils.ts +0 -123
  214. package/src/Drawer/Drawer.tsx +0 -105
  215. package/src/Drawer/__image_snapshots__/drawer-custom-title-effect-1-snap.png +0 -0
  216. package/src/Drawer/__image_snapshots__/drawer-custom-title-snap.png +0 -0
  217. package/src/Drawer/__image_snapshots__/drawer-default-effect-1-snap.png +0 -0
  218. package/src/Drawer/__image_snapshots__/drawer-default-snap.png +0 -0
  219. package/src/Drawer/__image_snapshots__/drawer-width-effect-1-snap.png +0 -0
  220. package/src/Drawer/__image_snapshots__/drawer-width-effect-2-snap.png +0 -0
  221. package/src/Drawer/__image_snapshots__/drawer-width-effect-3-snap.png +0 -0
  222. package/src/Drawer/__image_snapshots__/drawer-width-effect-4-snap.png +0 -0
  223. package/src/Drawer/__image_snapshots__/drawer-width-effect-5-snap.png +0 -0
  224. package/src/Drawer/__image_snapshots__/drawer-width-snap.png +0 -0
  225. package/src/Drawer/__image_snapshots__/drawer-without-title-effect-1-snap.png +0 -0
  226. package/src/Drawer/__image_snapshots__/drawer-without-title-snap.png +0 -0
  227. package/src/Drawer/index.ts +0 -6
  228. package/src/Drawer/story/CustomTitle.example.tsx +0 -32
  229. package/src/Drawer/story/Default.example.tsx +0 -29
  230. package/src/Drawer/story/DrawerAndNotification.example.tsx +0 -34
  231. package/src/Drawer/story/Widths.example.tsx +0 -46
  232. package/src/Drawer/story/WithoutTitle.example.tsx +0 -22
  233. package/src/Drawer/story/index.jsx +0 -80
  234. package/src/Drawer/styles.ts +0 -42
  235. package/src/DrawerTitle/DrawerTitle.tsx +0 -35
  236. package/src/DrawerTitle/index.ts +0 -1
  237. package/src/DrawerTitle/styles.ts +0 -12
  238. package/src/Dropzone/Dropzone.tsx +0 -146
  239. package/src/Dropzone/__snapshots__/test.tsx.snap +0 -40
  240. package/src/Dropzone/index.ts +0 -7
  241. package/src/Dropzone/story/Default.example.tsx +0 -8
  242. package/src/Dropzone/story/Disabled.example.tsx +0 -25
  243. package/src/Dropzone/story/Error.example.tsx +0 -16
  244. package/src/Dropzone/story/Multiple.example.tsx +0 -30
  245. package/src/Dropzone/story/Uploader.example.tsx +0 -116
  246. package/src/Dropzone/story/Uploading.example.tsx +0 -16
  247. package/src/Dropzone/story/index.jsx +0 -85
  248. package/src/Dropzone/styles.ts +0 -43
  249. package/src/Dropzone/test.tsx +0 -33
  250. package/src/Dropzone/types.ts +0 -56
  251. package/src/EmptyState/EmptyState.tsx +0 -7
  252. package/src/EmptyState/index.tsx +0 -1
  253. package/src/EmptyState/story/index.jsx +0 -13
  254. package/src/EmptyStateCollection/EmptyStateCollection.tsx +0 -56
  255. package/src/EmptyStateCollection/__image_snapshots__/emptystate-collection-emptystatecollection-snap.png +0 -0
  256. package/src/EmptyStateCollection/index.tsx +0 -1
  257. package/src/EmptyStateCollection/story/Default.example.tsx +0 -11
  258. package/src/EmptyStateCollection/story/index.jsx +0 -20
  259. package/src/EmptyStateCollection/styles.ts +0 -10
  260. package/src/EmptyStatePage/EmptyStatePage.tsx +0 -65
  261. package/src/EmptyStatePage/__image_snapshots__/emptystate-page-emptystatepage-snap.png +0 -0
  262. package/src/EmptyStatePage/index.tsx +0 -1
  263. package/src/EmptyStatePage/story/Default.example.tsx +0 -21
  264. package/src/EmptyStatePage/story/index.jsx +0 -21
  265. package/src/EmptyStatePage/styles.ts +0 -9
  266. package/src/Note/Note.tsx +0 -36
  267. package/src/Note/__snapshots__/test.tsx.snap +0 -37
  268. package/src/Note/index.ts +0 -6
  269. package/src/Note/story/Default.example.tsx +0 -14
  270. package/src/Note/story/index.jsx +0 -23
  271. package/src/Note/styles.ts +0 -27
  272. package/src/Note/test.tsx +0 -22
  273. package/src/NoteContent/NoteContent.tsx +0 -23
  274. package/src/NoteContent/index.ts +0 -1
  275. package/src/NoteContent/story/index.jsx +0 -12
  276. package/src/NoteSubtitle/NoteSubtitle.tsx +0 -25
  277. package/src/NoteSubtitle/index.ts +0 -1
  278. package/src/NoteSubtitle/story/index.jsx +0 -12
  279. package/src/NoteTitle/NoteTitle.tsx +0 -34
  280. package/src/NoteTitle/index.ts +0 -1
  281. package/src/NoteTitle/story/index.jsx +0 -12
  282. package/src/NoteTitle/styles.ts +0 -8
  283. package/src/OverviewBlock/OverviewBlock.tsx +0 -125
  284. package/src/OverviewBlock/__image_snapshots__/overviewblock-default-snap.png +0 -0
  285. package/src/OverviewBlock/__image_snapshots__/overviewblock-multi-line-snap.png +0 -0
  286. package/src/OverviewBlock/__image_snapshots__/overviewblock-number-snap.png +0 -0
  287. package/src/OverviewBlock/__image_snapshots__/overviewblock-routing-snap.png +0 -0
  288. package/src/OverviewBlock/__image_snapshots__/overviewblock-text-snap.png +0 -0
  289. package/src/OverviewBlock/index.ts +0 -6
  290. package/src/OverviewBlock/story/Default.example.tsx +0 -35
  291. package/src/OverviewBlock/story/Multiline.example.tsx +0 -51
  292. package/src/OverviewBlock/story/Number.example.tsx +0 -20
  293. package/src/OverviewBlock/story/Routing.example.tsx +0 -40
  294. package/src/OverviewBlock/story/Text.example.tsx +0 -15
  295. package/src/OverviewBlock/story/index.jsx +0 -100
  296. package/src/OverviewBlock/styles.ts +0 -44
  297. package/src/OverviewBlock/test.tsx +0 -111
  298. package/src/OverviewBlockGroup/OverviewBlockGroup.tsx +0 -56
  299. package/src/OverviewBlockGroup/OverviewBlockGroupContext.tsx +0 -21
  300. package/src/OverviewBlockGroup/__image_snapshots__/visual-variants-of-the-groups-block-width-snap.png +0 -0
  301. package/src/OverviewBlockGroup/__image_snapshots__/visual-variants-of-the-groups-center-aligned-snap.png +0 -0
  302. package/src/OverviewBlockGroup/index.ts +0 -1
  303. package/src/OverviewBlockGroup/settings.ts +0 -2
  304. package/src/OverviewBlockGroup/story/BlockWidth.example.tsx +0 -38
  305. package/src/OverviewBlockGroup/story/CenterAligned.example.tsx +0 -17
  306. package/src/OverviewBlockGroup/story/index.jsx +0 -25
  307. package/src/OverviewBlockGroup/test.tsx +0 -17
  308. package/src/OverviewBlockRow/OverviewBlockRow.tsx +0 -22
  309. package/src/OverviewBlockRow/index.ts +0 -1
  310. package/src/OverviewBlockRow/story/index.jsx +0 -11
  311. package/src/OverviewBlockRow/styles.ts +0 -27
  312. package/src/Section/Section.tsx +0 -163
  313. package/src/Section/__snapshots__/test.tsx.snap +0 -186
  314. package/src/Section/index.ts +0 -6
  315. package/src/Section/story/Actions.example.tsx +0 -85
  316. package/src/Section/story/Collapsible.example.tsx +0 -113
  317. package/src/Section/story/Default.example.tsx +0 -77
  318. package/src/Section/story/TitleSize.example.tsx +0 -34
  319. package/src/Section/story/Variant.example.tsx +0 -108
  320. package/src/Section/story/index.jsx +0 -35
  321. package/src/Section/styles.ts +0 -65
  322. package/src/Section/test.tsx +0 -115
  323. package/src/Timeline/Timeline.tsx +0 -25
  324. package/src/Timeline/__snapshots__/test.tsx.snap +0 -332
  325. package/src/Timeline/index.ts +0 -6
  326. package/src/Timeline/story/Dates.example.tsx +0 -52
  327. package/src/Timeline/story/Default.example.tsx +0 -34
  328. package/src/Timeline/story/TrimLastConnector.example.tsx +0 -29
  329. package/src/Timeline/story/index.jsx +0 -27
  330. package/src/Timeline/test.tsx +0 -101
  331. package/src/TimelineRow/TimelineRow.tsx +0 -83
  332. package/src/TimelineRow/index.ts +0 -6
  333. package/src/TimelineRow/story/index.jsx +0 -11
  334. package/src/TimelineRow/styles.ts +0 -47
  335. package/src/TypographyOverflow/TypographyOverflow.tsx +0 -153
  336. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-checkbox-label-effect-1-snap.png +0 -0
  337. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-checkbox-label-snap.png +0 -0
  338. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-custom-tooltip-content-effect-1-snap.png +0 -0
  339. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-custom-tooltip-content-snap.png +0 -0
  340. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-default-effect-1-snap.png +0 -0
  341. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-default-effect-2-snap.png +0 -0
  342. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-default-snap.png +0 -0
  343. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-delay-effect-1-snap.png +0 -0
  344. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-delay-effect-2-snap.png +0 -0
  345. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-delay-snap.png +0 -0
  346. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-light-tooltip-background-effect-1-snap.png +0 -0
  347. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-light-tooltip-background-effect-2-snap.png +0 -0
  348. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-light-tooltip-background-snap.png +0 -0
  349. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-multiline-effect-1-snap.png +0 -0
  350. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-multiline-effect-2-snap.png +0 -0
  351. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-multiline-effect-3-snap.png +0 -0
  352. package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-multiline-snap.png +0 -0
  353. package/src/TypographyOverflow/index.ts +0 -6
  354. package/src/TypographyOverflow/story/CheckboxLabel.example.tsx +0 -21
  355. package/src/TypographyOverflow/story/CustomTooltip.example.tsx +0 -22
  356. package/src/TypographyOverflow/story/Default.example.tsx +0 -32
  357. package/src/TypographyOverflow/story/Delay.example.tsx +0 -29
  358. package/src/TypographyOverflow/story/GridWithControls.example.tsx +0 -64
  359. package/src/TypographyOverflow/story/Multiline.example.tsx +0 -59
  360. package/src/TypographyOverflow/story/TooltipVariants.example.tsx +0 -23
  361. package/src/TypographyOverflow/story/index.jsx +0 -83
  362. package/src/TypographyOverflow/styles.ts +0 -29
  363. package/src/TypographyOverflow/test.tsx +0 -60
  364. package/src/index.ts +0 -35
  365. package/src/story/index.jsx +0 -10
  366. package/tsconfig.build.json +0 -7
@@ -1,186 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Section renders collapsible initially collapsed 1`] = `
4
- <div>
5
- <div
6
- class="Picasso-root"
7
- >
8
- <div
9
- class="PicassoSection-default PicassoSection-collapsed PicassoSection-root"
10
- >
11
- <div
12
- class="PicassoSection-defaultHeader PicassoSection-defaultCollapsedHeader"
13
- data-testid="header"
14
- >
15
- <div
16
- class="PicassoSection-actions"
17
- data-testid="actions"
18
- >
19
- <button
20
- class="MuiButtonBase-root PicassoButton-small PicassoButton-primary PicassoButton-root PicassoButtonCircular-flat PicassoButtonCircular-root"
21
- data-component-type="button"
22
- data-testid="collapse"
23
- tabindex="0"
24
- type="button"
25
- >
26
- <span
27
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline PicassoButton-content"
28
- >
29
- <svg
30
- class="PicassoSvgArrowDownMinor16-root PicassoButton-icon Rotate180-transition"
31
- style="min-width: 16px; min-height: 16px;"
32
- viewBox="0 0 16 16"
33
- >
34
- <path
35
- d="M11.997 5.29l.707.707-4 4-.707.707-.707-.707-4-4 .707-.707 4 4 4-4z"
36
- />
37
- </svg>
38
- </span>
39
- </button>
40
- </div>
41
- </div>
42
- </div>
43
- </div>
44
- </div>
45
- `;
46
-
47
- exports[`Section renders collapsible initially expanded 1`] = `
48
- <div>
49
- <div
50
- class="Picasso-root"
51
- >
52
- <div
53
- class="PicassoSection-default PicassoSection-root"
54
- >
55
- <div
56
- class="PicassoSection-defaultHeader"
57
- data-testid="header"
58
- >
59
- <div
60
- class="PicassoSection-actions"
61
- data-testid="actions"
62
- >
63
- <button
64
- class="MuiButtonBase-root PicassoButton-small PicassoButton-primary PicassoButton-root PicassoButtonCircular-flat PicassoButtonCircular-root"
65
- data-component-type="button"
66
- data-testid="collapse"
67
- tabindex="0"
68
- type="button"
69
- >
70
- <span
71
- class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline PicassoButton-content"
72
- >
73
- <svg
74
- class="PicassoSvgArrowDownMinor16-root PicassoButton-icon Rotate180-transition Rotate180-rotate180"
75
- style="min-width: 16px; min-height: 16px;"
76
- viewBox="0 0 16 16"
77
- >
78
- <path
79
- d="M11.997 5.29l.707.707-4 4-.707.707-.707-.707-4-4 .707-.707 4 4 4-4z"
80
- />
81
- </svg>
82
- </span>
83
- </button>
84
- </div>
85
- </div>
86
- <div
87
- class="MuiCollapse-container MuiCollapse-entered"
88
- style="min-height: 0px;"
89
- >
90
- <div
91
- class="MuiCollapse-wrapper"
92
- >
93
- <div
94
- class="MuiCollapse-wrapperInner"
95
- >
96
- <div
97
- data-testid="content"
98
- />
99
- </div>
100
- </div>
101
- </div>
102
- </div>
103
- </div>
104
- </div>
105
- `;
106
-
107
- exports[`Section renders with title, subtitle, actions and content 1`] = `
108
- <div>
109
- <div
110
- class="Picasso-root"
111
- >
112
- <div
113
- class="PicassoSection-default PicassoSection-root"
114
- >
115
- <div
116
- class="PicassoSection-defaultHeader"
117
- data-testid="header"
118
- >
119
- <h3
120
- class="MuiTypography-root PicassoSection-title MuiTypography-h3"
121
- data-testid="title"
122
- >
123
- Title
124
- </h3>
125
- <p
126
- class="MuiTypography-root PicassoTypography-bodyMedium PicassoTypography-darkGrey PicassoSection-subtitle MuiTypography-body1"
127
- data-testid="subtitle"
128
- >
129
- Subtitle
130
- </p>
131
- <div
132
- class="PicassoSection-actions"
133
- data-testid="actions"
134
- >
135
- Actions
136
- </div>
137
- </div>
138
- <div
139
- class="MuiCollapse-container MuiCollapse-entered"
140
- style="min-height: 0px;"
141
- >
142
- <div
143
- class="MuiCollapse-wrapper"
144
- >
145
- <div
146
- class="MuiCollapse-wrapperInner"
147
- >
148
- <div
149
- data-testid="content"
150
- />
151
- </div>
152
- </div>
153
- </div>
154
- </div>
155
- </div>
156
- </div>
157
- `;
158
-
159
- exports[`Section renders without header 1`] = `
160
- <div>
161
- <div
162
- class="Picasso-root"
163
- >
164
- <div
165
- class="PicassoSection-default PicassoSection-root"
166
- >
167
- <div
168
- class="MuiCollapse-container MuiCollapse-entered"
169
- style="min-height: 0px;"
170
- >
171
- <div
172
- class="MuiCollapse-wrapper"
173
- >
174
- <div
175
- class="MuiCollapse-wrapperInner"
176
- >
177
- <div
178
- data-testid="content"
179
- />
180
- </div>
181
- </div>
182
- </div>
183
- </div>
184
- </div>
185
- </div>
186
- `;
@@ -1,6 +0,0 @@
1
- import { OmitInternalProps } from '@toptal/picasso-shared'
2
-
3
- import { Props } from './Section'
4
-
5
- export { default } from './Section'
6
- export type SectionProps = OmitInternalProps<Props>
@@ -1,85 +0,0 @@
1
- import React from 'react'
2
- import { Button, Table } from '@toptal/picasso'
3
- import { Section } from '@toptal/picasso-lab'
4
-
5
- const Example = () => {
6
- return (
7
- <Section
8
- title='Talents'
9
- subtitle={`${data.length} people`}
10
- actions={
11
- <Button size='small' variant='secondary'>
12
- More
13
- </Button>
14
- }
15
- >
16
- <Table>
17
- <Table.Head>
18
- <Table.Row>
19
- <Table.Cell>Name</Table.Cell>
20
- <Table.Cell>Talent type</Table.Cell>
21
- <Table.Cell>Company</Table.Cell>
22
- <Table.Cell>Role</Table.Cell>
23
- <Table.Cell>Country</Table.Cell>
24
- </Table.Row>
25
- </Table.Head>
26
- <Table.Body>
27
- {data.map(row => (
28
- <Table.Row key={row.id}>
29
- <Table.Cell>{row.name}</Table.Cell>
30
- <Table.Cell>{row.talentType}</Table.Cell>
31
- <Table.Cell>{row.company}</Table.Cell>
32
- <Table.Cell>{row.role}</Table.Cell>
33
- <Table.Cell>{row.country}</Table.Cell>
34
- </Table.Row>
35
- ))}
36
- </Table.Body>
37
- </Table>
38
- </Section>
39
- )
40
- }
41
-
42
- const data = [
43
- {
44
- id: 0,
45
- name: 'Delia Floyd',
46
- talentType: 'Designer',
47
- company: 'Airbnb',
48
- role: 'UX lead',
49
- country: 'United States'
50
- },
51
- {
52
- id: 1,
53
- name: 'Linnie Sims',
54
- talentType: 'Designer',
55
- company: 'Facebook',
56
- role: 'Art director',
57
- country: 'Spain'
58
- },
59
- {
60
- id: 2,
61
- name: 'Charles Watson',
62
- talentType: 'Developer',
63
- company: 'Amazon',
64
- role: 'Ruby developer',
65
- country: 'Germany'
66
- },
67
- {
68
- id: 3,
69
- name: 'Leila Pena',
70
- talentType: 'Developer',
71
- company: 'Invision',
72
- role: 'Web developer',
73
- country: 'Poland'
74
- },
75
- {
76
- id: 4,
77
- name: 'Logan Burton',
78
- talentType: 'Developer',
79
- company: 'Microsoft',
80
- role: 'CTO',
81
- country: 'United States'
82
- }
83
- ]
84
-
85
- export default Example
@@ -1,113 +0,0 @@
1
- import React from 'react'
2
- import { Table, Button, Grid, Typography } from '@toptal/picasso'
3
- import { Section } from '@toptal/picasso-lab'
4
-
5
- const Example = () => {
6
- const content = (
7
- <Table>
8
- <Table.Head>
9
- <Table.Row>
10
- <Table.Cell>Name</Table.Cell>
11
- <Table.Cell>Talent type</Table.Cell>
12
- <Table.Cell>Company</Table.Cell>
13
- <Table.Cell>Role</Table.Cell>
14
- <Table.Cell>Country</Table.Cell>
15
- </Table.Row>
16
- </Table.Head>
17
- <Table.Body>
18
- {data.map(row => (
19
- <Table.Row key={row.id}>
20
- <Table.Cell>{row.name}</Table.Cell>
21
- <Table.Cell>{row.talentType}</Table.Cell>
22
- <Table.Cell>{row.company}</Table.Cell>
23
- <Table.Cell>{row.role}</Table.Cell>
24
- <Table.Cell>{row.country}</Table.Cell>
25
- </Table.Row>
26
- ))}
27
- </Table.Body>
28
- </Table>
29
- )
30
-
31
- return (
32
- <Grid>
33
- <Grid.Item small={6}>
34
- <Typography>Collapsible section is collapsed by default.</Typography>
35
- <Section
36
- title='Talents'
37
- subtitle={`${data.length} people`}
38
- actions={
39
- <Button size='small' variant='secondary'>
40
- More
41
- </Button>
42
- }
43
- collapsible
44
- >
45
- {content}
46
- </Section>
47
- </Grid.Item>
48
- <Grid.Item small={6}>
49
- <Typography>
50
- You can modify this behavior with `defaultCollapsed` property.
51
- </Typography>
52
- <Section
53
- title='Talents'
54
- subtitle={`${data.length} people`}
55
- actions={
56
- <Button size='small' variant='secondary'>
57
- More
58
- </Button>
59
- }
60
- collapsible
61
- defaultCollapsed={false}
62
- >
63
- {content}
64
- </Section>
65
- </Grid.Item>
66
- </Grid>
67
- )
68
- }
69
-
70
- const data = [
71
- {
72
- id: 0,
73
- name: 'Delia Floyd',
74
- talentType: 'Designer',
75
- company: 'Airbnb',
76
- role: 'UX lead',
77
- country: 'United States'
78
- },
79
- {
80
- id: 1,
81
- name: 'Linnie Sims',
82
- talentType: 'Designer',
83
- company: 'Facebook',
84
- role: 'Art director',
85
- country: 'Spain'
86
- },
87
- {
88
- id: 2,
89
- name: 'Charles Watson',
90
- talentType: 'Developer',
91
- company: 'Amazon',
92
- role: 'Ruby developer',
93
- country: 'Germany'
94
- },
95
- {
96
- id: 3,
97
- name: 'Leila Pena',
98
- talentType: 'Developer',
99
- company: 'Invision',
100
- role: 'Web developer',
101
- country: 'Poland'
102
- },
103
- {
104
- id: 4,
105
- name: 'Logan Burton',
106
- talentType: 'Developer',
107
- company: 'Microsoft',
108
- role: 'CTO',
109
- country: 'United States'
110
- }
111
- ]
112
-
113
- export default Example
@@ -1,77 +0,0 @@
1
- import React from 'react'
2
- import { Table } from '@toptal/picasso'
3
- import { Section } from '@toptal/picasso-lab'
4
-
5
- const Example = () => {
6
- return (
7
- <Section title='Talents' subtitle={`${data.length} people`}>
8
- <Table>
9
- <Table.Head>
10
- <Table.Row>
11
- <Table.Cell>Name</Table.Cell>
12
- <Table.Cell>Talent type</Table.Cell>
13
- <Table.Cell>Company</Table.Cell>
14
- <Table.Cell>Role</Table.Cell>
15
- <Table.Cell>Country</Table.Cell>
16
- </Table.Row>
17
- </Table.Head>
18
- <Table.Body>
19
- {data.map(row => (
20
- <Table.Row key={row.id}>
21
- <Table.Cell>{row.name}</Table.Cell>
22
- <Table.Cell>{row.talentType}</Table.Cell>
23
- <Table.Cell>{row.company}</Table.Cell>
24
- <Table.Cell>{row.role}</Table.Cell>
25
- <Table.Cell>{row.country}</Table.Cell>
26
- </Table.Row>
27
- ))}
28
- </Table.Body>
29
- </Table>
30
- </Section>
31
- )
32
- }
33
-
34
- const data = [
35
- {
36
- id: 0,
37
- name: 'Delia Floyd',
38
- talentType: 'Designer',
39
- company: 'Airbnb',
40
- role: 'UX lead',
41
- country: 'United States'
42
- },
43
- {
44
- id: 1,
45
- name: 'Linnie Sims',
46
- talentType: 'Designer',
47
- company: 'Facebook',
48
- role: 'Art director',
49
- country: 'Spain'
50
- },
51
- {
52
- id: 2,
53
- name: 'Charles Watson',
54
- talentType: 'Developer',
55
- company: 'Amazon',
56
- role: 'Ruby developer',
57
- country: 'Germany'
58
- },
59
- {
60
- id: 3,
61
- name: 'Leila Pena',
62
- talentType: 'Developer',
63
- company: 'Invision',
64
- role: 'Web developer',
65
- country: 'Poland'
66
- },
67
- {
68
- id: 4,
69
- name: 'Logan Burton',
70
- talentType: 'Developer',
71
- company: 'Microsoft',
72
- role: 'CTO',
73
- country: 'United States'
74
- }
75
- ]
76
-
77
- export default Example
@@ -1,34 +0,0 @@
1
- import React from 'react'
2
- import { Grid, List, Typography } from '@toptal/picasso'
3
- import { Section } from '@toptal/picasso-lab'
4
-
5
- const Example = () => {
6
- return (
7
- <Grid>
8
- <Grid.Item small={6}>
9
- <Typography>Default title size</Typography>
10
- <Section title='Quotes'>
11
- <List variant='unordered'>
12
- <List.Item>
13
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
14
- </List.Item>
15
- <List.Item>In nec cursus lectus, nec malesuada tellus.</List.Item>
16
- </List>
17
- </Section>
18
- </Grid.Item>
19
- <Grid.Item small={6}>
20
- <Typography>Small title size</Typography>
21
- <Section title='Quotes' titleSize='small'>
22
- <List variant='unordered'>
23
- <List.Item>
24
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
25
- </List.Item>
26
- <List.Item>In nec cursus lectus, nec malesuada tellus.</List.Item>
27
- </List>
28
- </Section>
29
- </Grid.Item>
30
- </Grid>
31
- )
32
- }
33
-
34
- export default Example
@@ -1,108 +0,0 @@
1
- import React from 'react'
2
- import { Container, Table, Typography } from '@toptal/picasso'
3
- import { Section } from '@toptal/picasso-lab'
4
-
5
- const TableDemo = () => (
6
- <Table>
7
- <Table.Head>
8
- <Table.Row>
9
- <Table.Cell>Name</Table.Cell>
10
- <Table.Cell>Talent type</Table.Cell>
11
- <Table.Cell>Company</Table.Cell>
12
- <Table.Cell>Role</Table.Cell>
13
- <Table.Cell>Country</Table.Cell>
14
- </Table.Row>
15
- </Table.Head>
16
- <Table.Body>
17
- {data.map(row => (
18
- <Table.Row key={row.id}>
19
- <Table.Cell>{row.name}</Table.Cell>
20
- <Table.Cell>{row.talentType}</Table.Cell>
21
- <Table.Cell>{row.company}</Table.Cell>
22
- <Table.Cell>{row.role}</Table.Cell>
23
- <Table.Cell>{row.country}</Table.Cell>
24
- </Table.Row>
25
- ))}
26
- </Table.Body>
27
- </Table>
28
- )
29
-
30
- const Example = () => {
31
- return (
32
- <>
33
- <Container>
34
- <Typography variant='heading' size='small'>
35
- Bordered
36
- </Typography>
37
- <Container top='small'>
38
- <Section
39
- title='Talents'
40
- subtitle={`${data.length} people`}
41
- variant='bordered'
42
- >
43
- <TableDemo />
44
- </Section>
45
- </Container>
46
- </Container>
47
- <Container top='large'>
48
- <Typography variant='heading' size='small'>
49
- WithHeaderBar
50
- </Typography>
51
- <Container top='small'>
52
- <Section
53
- title='Talents'
54
- subtitle={`${data.length} people`}
55
- variant='withHeaderBar'
56
- >
57
- <TableDemo />
58
- </Section>
59
- </Container>
60
- </Container>
61
- </>
62
- )
63
- }
64
-
65
- const data = [
66
- {
67
- id: 0,
68
- name: 'Delia Floyd',
69
- talentType: 'Designer',
70
- company: 'Airbnb',
71
- role: 'UX lead',
72
- country: 'United States'
73
- },
74
- {
75
- id: 1,
76
- name: 'Linnie Sims',
77
- talentType: 'Designer',
78
- company: 'Facebook',
79
- role: 'Art director',
80
- country: 'Spain'
81
- },
82
- {
83
- id: 2,
84
- name: 'Charles Watson',
85
- talentType: 'Developer',
86
- company: 'Amazon',
87
- role: 'Ruby developer',
88
- country: 'Germany'
89
- },
90
- {
91
- id: 3,
92
- name: 'Leila Pena',
93
- talentType: 'Developer',
94
- company: 'Invision',
95
- role: 'Web developer',
96
- country: 'Poland'
97
- },
98
- {
99
- id: 4,
100
- name: 'Logan Burton',
101
- talentType: 'Developer',
102
- company: 'Microsoft',
103
- role: 'CTO',
104
- country: 'United States'
105
- }
106
- ]
107
-
108
- export default Example
@@ -1,35 +0,0 @@
1
- import { Section } from '../Section'
2
- import PicassoBook from '~/.storybook/components/PicassoBook'
3
-
4
- const page = PicassoBook.section('Picasso Lab').createPage(
5
- 'Section',
6
- 'Use sections to organize content on the page'
7
- )
8
-
9
- page.createTabChapter('Props').addComponentDocs({
10
- component: Section,
11
- name: 'Section',
12
- additionalDocs: {
13
- variant: {
14
- name: 'variant',
15
- description: 'The variant to use',
16
- type: {
17
- name: 'enum',
18
- enums: ['bordered', 'default', 'withHeaderBar']
19
- },
20
- defaultValue: 'default'
21
- }
22
- }
23
- })
24
-
25
- page.createChapter().addExample('Section/story/Default.example.tsx', 'Default') // picasso-skip-visuals
26
- page
27
- .createChapter()
28
- .addExample('Section/story/Actions.example.tsx', 'With Actions') // picasso-skip-visuals
29
- page
30
- .createChapter()
31
- .addExample('Section/story/Collapsible.example.tsx', 'Collapsible') // picasso-skip-visuals
32
- page.createChapter().addExample('Section/story/Variant.example.tsx', 'Variant') // picasso-skip-visuals
33
- page
34
- .createChapter()
35
- .addExample('Section/story/TitleSize.example.tsx', 'Title Size') // picasso-skip-visuals