@toptal/picasso-lab 9.3.0 → 9.3.1
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.
- package/CHANGELOG.md +1385 -0
- package/{Calendar → dist-package/Calendar}/Calendar.d.ts +0 -0
- package/{Calendar → dist-package/Calendar}/Calendar.js +0 -0
- package/{Calendar → dist-package/Calendar}/Calendar.js.map +0 -0
- package/{Calendar → dist-package/Calendar}/index.d.ts +0 -0
- package/{Calendar → dist-package/Calendar}/index.js +0 -0
- package/{Calendar → dist-package/Calendar}/index.js.map +0 -0
- package/{Calendar → dist-package/Calendar}/styles.d.ts +0 -0
- package/{Calendar → dist-package/Calendar}/styles.js +0 -0
- package/{Calendar → dist-package/Calendar}/styles.js.map +0 -0
- package/{Calendar → dist-package/Calendar}/types.d.ts +0 -0
- package/{Calendar → dist-package/Calendar}/types.js +0 -0
- package/{Calendar → dist-package/Calendar}/types.js.map +0 -0
- package/{DatePicker → dist-package/DatePicker}/DatePicker.d.ts +0 -0
- package/{DatePicker → dist-package/DatePicker}/DatePicker.js +0 -0
- package/{DatePicker → dist-package/DatePicker}/DatePicker.js.map +0 -0
- package/{DatePicker → dist-package/DatePicker}/constants.d.ts +0 -0
- package/{DatePicker → dist-package/DatePicker}/constants.js +0 -0
- package/{DatePicker → dist-package/DatePicker}/constants.js.map +0 -0
- package/{DatePicker → dist-package/DatePicker}/index.d.ts +0 -0
- package/{DatePicker → dist-package/DatePicker}/index.js +0 -0
- package/{DatePicker → dist-package/DatePicker}/index.js.map +0 -0
- package/{DatePicker → dist-package/DatePicker}/styles.d.ts +0 -0
- package/{DatePicker → dist-package/DatePicker}/styles.js +0 -0
- package/{DatePicker → dist-package/DatePicker}/styles.js.map +0 -0
- package/{DatePicker → dist-package/DatePicker}/types.d.ts +0 -0
- package/{DatePicker → dist-package/DatePicker}/types.js +0 -0
- package/{DatePicker → dist-package/DatePicker}/types.js.map +0 -0
- package/{DatePicker → dist-package/DatePicker}/utils.d.ts +0 -0
- package/{DatePicker → dist-package/DatePicker}/utils.js +0 -0
- package/{DatePicker → dist-package/DatePicker}/utils.js.map +0 -0
- package/{Drawer → dist-package/Drawer}/Drawer.d.ts +0 -0
- package/{Drawer → dist-package/Drawer}/Drawer.js +0 -0
- package/{Drawer → dist-package/Drawer}/Drawer.js.map +0 -0
- package/{Drawer → dist-package/Drawer}/index.d.ts +0 -0
- package/{Drawer → dist-package/Drawer}/index.js +0 -0
- package/{Drawer → dist-package/Drawer}/index.js.map +0 -0
- package/{Drawer → dist-package/Drawer}/styles.d.ts +0 -0
- package/{Drawer → dist-package/Drawer}/styles.js +0 -0
- package/{Drawer → dist-package/Drawer}/styles.js.map +0 -0
- package/{DrawerTitle → dist-package/DrawerTitle}/DrawerTitle.d.ts +0 -0
- package/{DrawerTitle → dist-package/DrawerTitle}/DrawerTitle.js +0 -0
- package/{DrawerTitle → dist-package/DrawerTitle}/DrawerTitle.js.map +0 -0
- package/{DrawerTitle → dist-package/DrawerTitle}/index.d.ts +0 -0
- package/{DrawerTitle → dist-package/DrawerTitle}/index.js +0 -0
- package/{DrawerTitle → dist-package/DrawerTitle}/index.js.map +0 -0
- package/{DrawerTitle → dist-package/DrawerTitle}/styles.d.ts +0 -0
- package/{DrawerTitle → dist-package/DrawerTitle}/styles.js +0 -0
- package/{DrawerTitle → dist-package/DrawerTitle}/styles.js.map +0 -0
- package/{Dropzone → dist-package/Dropzone}/Dropzone.d.ts +0 -0
- package/{Dropzone → dist-package/Dropzone}/Dropzone.js +1 -1
- package/{Dropzone → dist-package/Dropzone}/Dropzone.js.map +1 -1
- package/{Dropzone → dist-package/Dropzone}/index.d.ts +0 -0
- package/{Dropzone → dist-package/Dropzone}/index.js +0 -0
- package/{Dropzone → dist-package/Dropzone}/index.js.map +0 -0
- package/{Dropzone → dist-package/Dropzone}/styles.d.ts +0 -0
- package/{Dropzone → dist-package/Dropzone}/styles.js +0 -0
- package/{Dropzone → dist-package/Dropzone}/styles.js.map +0 -0
- package/{Dropzone → dist-package/Dropzone}/types.d.ts +0 -0
- package/{Dropzone → dist-package/Dropzone}/types.js +0 -0
- package/{Dropzone → dist-package/Dropzone}/types.js.map +0 -0
- package/{EmptyState → dist-package/EmptyState}/EmptyState.d.ts +0 -0
- package/{EmptyState → dist-package/EmptyState}/EmptyState.js +0 -0
- package/{EmptyState → dist-package/EmptyState}/EmptyState.js.map +0 -0
- package/{EmptyState → dist-package/EmptyState}/index.d.ts +0 -0
- package/{EmptyState → dist-package/EmptyState}/index.js +0 -0
- package/{EmptyState → dist-package/EmptyState}/index.js.map +0 -0
- package/{EmptyStateCollection → dist-package/EmptyStateCollection}/EmptyStateCollection.d.ts +0 -0
- package/{EmptyStateCollection → dist-package/EmptyStateCollection}/EmptyStateCollection.js +0 -0
- package/{EmptyStateCollection → dist-package/EmptyStateCollection}/EmptyStateCollection.js.map +0 -0
- package/{EmptyStateCollection → dist-package/EmptyStateCollection}/index.d.ts +0 -0
- package/{EmptyStateCollection → dist-package/EmptyStateCollection}/index.js +0 -0
- package/{EmptyStateCollection → dist-package/EmptyStateCollection}/index.js.map +0 -0
- package/{EmptyStateCollection → dist-package/EmptyStateCollection}/styles.d.ts +0 -0
- package/{EmptyStateCollection → dist-package/EmptyStateCollection}/styles.js +0 -0
- package/{EmptyStateCollection → dist-package/EmptyStateCollection}/styles.js.map +0 -0
- package/{EmptyStatePage → dist-package/EmptyStatePage}/EmptyStatePage.d.ts +0 -0
- package/{EmptyStatePage → dist-package/EmptyStatePage}/EmptyStatePage.js +0 -0
- package/{EmptyStatePage → dist-package/EmptyStatePage}/EmptyStatePage.js.map +0 -0
- package/{EmptyStatePage → dist-package/EmptyStatePage}/index.d.ts +0 -0
- package/{EmptyStatePage → dist-package/EmptyStatePage}/index.js +0 -0
- package/{EmptyStatePage → dist-package/EmptyStatePage}/index.js.map +0 -0
- package/{EmptyStatePage → dist-package/EmptyStatePage}/styles.d.ts +0 -0
- package/{EmptyStatePage → dist-package/EmptyStatePage}/styles.js +0 -0
- package/{EmptyStatePage → dist-package/EmptyStatePage}/styles.js.map +0 -0
- package/{Note → dist-package/Note}/Note.d.ts +0 -0
- package/{Note → dist-package/Note}/Note.js +0 -0
- package/{Note → dist-package/Note}/Note.js.map +0 -0
- package/{Note → dist-package/Note}/index.d.ts +0 -0
- package/{Note → dist-package/Note}/index.js +0 -0
- package/{Note → dist-package/Note}/index.js.map +0 -0
- package/{Note → dist-package/Note}/styles.d.ts +0 -0
- package/{Note → dist-package/Note}/styles.js +0 -0
- package/{Note → dist-package/Note}/styles.js.map +0 -0
- package/{NoteContent → dist-package/NoteContent}/NoteContent.d.ts +0 -0
- package/{NoteContent → dist-package/NoteContent}/NoteContent.js +0 -0
- package/{NoteContent → dist-package/NoteContent}/NoteContent.js.map +0 -0
- package/{NoteContent → dist-package/NoteContent}/index.d.ts +0 -0
- package/{NoteContent → dist-package/NoteContent}/index.js +0 -0
- package/{NoteContent → dist-package/NoteContent}/index.js.map +0 -0
- package/{NoteSubtitle → dist-package/NoteSubtitle}/NoteSubtitle.d.ts +0 -0
- package/{NoteSubtitle → dist-package/NoteSubtitle}/NoteSubtitle.js +0 -0
- package/{NoteSubtitle → dist-package/NoteSubtitle}/NoteSubtitle.js.map +0 -0
- package/{NoteSubtitle → dist-package/NoteSubtitle}/index.d.ts +0 -0
- package/{NoteSubtitle → dist-package/NoteSubtitle}/index.js +0 -0
- package/{NoteSubtitle → dist-package/NoteSubtitle}/index.js.map +0 -0
- package/{NoteTitle → dist-package/NoteTitle}/NoteTitle.d.ts +0 -0
- package/{NoteTitle → dist-package/NoteTitle}/NoteTitle.js +0 -0
- package/{NoteTitle → dist-package/NoteTitle}/NoteTitle.js.map +0 -0
- package/{NoteTitle → dist-package/NoteTitle}/index.d.ts +0 -0
- package/{NoteTitle → dist-package/NoteTitle}/index.js +0 -0
- package/{NoteTitle → dist-package/NoteTitle}/index.js.map +0 -0
- package/{NoteTitle → dist-package/NoteTitle}/styles.d.ts +0 -0
- package/{NoteTitle → dist-package/NoteTitle}/styles.js +0 -0
- package/{NoteTitle → dist-package/NoteTitle}/styles.js.map +0 -0
- package/{OverviewBlock → dist-package/OverviewBlock}/OverviewBlock.d.ts +0 -0
- package/{OverviewBlock → dist-package/OverviewBlock}/OverviewBlock.js +0 -0
- package/{OverviewBlock → dist-package/OverviewBlock}/OverviewBlock.js.map +0 -0
- package/{OverviewBlock → dist-package/OverviewBlock}/index.d.ts +0 -0
- package/{OverviewBlock → dist-package/OverviewBlock}/index.js +0 -0
- package/{OverviewBlock → dist-package/OverviewBlock}/index.js.map +0 -0
- package/{OverviewBlock → dist-package/OverviewBlock}/styles.d.ts +0 -0
- package/{OverviewBlock → dist-package/OverviewBlock}/styles.js +0 -0
- package/{OverviewBlock → dist-package/OverviewBlock}/styles.js.map +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/OverviewBlockGroup.d.ts +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/OverviewBlockGroup.js +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/OverviewBlockGroup.js.map +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/OverviewBlockGroupContext.d.ts +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/OverviewBlockGroupContext.js +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/OverviewBlockGroupContext.js.map +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/index.d.ts +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/index.js +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/index.js.map +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/settings.d.ts +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/settings.js +0 -0
- package/{OverviewBlockGroup → dist-package/OverviewBlockGroup}/settings.js.map +0 -0
- package/{OverviewBlockRow → dist-package/OverviewBlockRow}/OverviewBlockRow.d.ts +0 -0
- package/{OverviewBlockRow → dist-package/OverviewBlockRow}/OverviewBlockRow.js +0 -0
- package/{OverviewBlockRow → dist-package/OverviewBlockRow}/OverviewBlockRow.js.map +0 -0
- package/{OverviewBlockRow → dist-package/OverviewBlockRow}/index.d.ts +0 -0
- package/{OverviewBlockRow → dist-package/OverviewBlockRow}/index.js +0 -0
- package/{OverviewBlockRow → dist-package/OverviewBlockRow}/index.js.map +0 -0
- package/{OverviewBlockRow → dist-package/OverviewBlockRow}/styles.d.ts +0 -0
- package/{OverviewBlockRow → dist-package/OverviewBlockRow}/styles.js +0 -0
- package/{OverviewBlockRow → dist-package/OverviewBlockRow}/styles.js.map +0 -0
- package/dist-package/README.md +26 -0
- package/{Section → dist-package/Section}/Section.d.ts +0 -0
- package/{Section → dist-package/Section}/Section.js +0 -0
- package/{Section → dist-package/Section}/Section.js.map +0 -0
- package/{Section → dist-package/Section}/index.d.ts +0 -0
- package/{Section → dist-package/Section}/index.js +0 -0
- package/{Section → dist-package/Section}/index.js.map +0 -0
- package/{Section → dist-package/Section}/styles.d.ts +0 -0
- package/{Section → dist-package/Section}/styles.js +0 -0
- package/{Section → dist-package/Section}/styles.js.map +0 -0
- package/{Timeline → dist-package/Timeline}/Timeline.d.ts +0 -0
- package/{Timeline → dist-package/Timeline}/Timeline.js +0 -0
- package/{Timeline → dist-package/Timeline}/Timeline.js.map +0 -0
- package/{Timeline → dist-package/Timeline}/index.d.ts +0 -0
- package/{Timeline → dist-package/Timeline}/index.js +0 -0
- package/{Timeline → dist-package/Timeline}/index.js.map +0 -0
- package/{TimelineRow → dist-package/TimelineRow}/TimelineRow.d.ts +0 -0
- package/{TimelineRow → dist-package/TimelineRow}/TimelineRow.js +0 -0
- package/{TimelineRow → dist-package/TimelineRow}/TimelineRow.js.map +0 -0
- package/{TimelineRow → dist-package/TimelineRow}/index.d.ts +0 -0
- package/{TimelineRow → dist-package/TimelineRow}/index.js +0 -0
- package/{TimelineRow → dist-package/TimelineRow}/index.js.map +0 -0
- package/{TimelineRow → dist-package/TimelineRow}/styles.d.ts +0 -0
- package/{TimelineRow → dist-package/TimelineRow}/styles.js +0 -0
- package/{TimelineRow → dist-package/TimelineRow}/styles.js.map +0 -0
- package/{TypographyOverflow → dist-package/TypographyOverflow}/TypographyOverflow.d.ts +0 -0
- package/{TypographyOverflow → dist-package/TypographyOverflow}/TypographyOverflow.js +0 -0
- package/{TypographyOverflow → dist-package/TypographyOverflow}/TypographyOverflow.js.map +0 -0
- package/{TypographyOverflow → dist-package/TypographyOverflow}/index.d.ts +0 -0
- package/{TypographyOverflow → dist-package/TypographyOverflow}/index.js +0 -0
- package/{TypographyOverflow → dist-package/TypographyOverflow}/index.js.map +0 -0
- package/{TypographyOverflow → dist-package/TypographyOverflow}/styles.d.ts +0 -0
- package/{TypographyOverflow → dist-package/TypographyOverflow}/styles.js +0 -0
- package/{TypographyOverflow → dist-package/TypographyOverflow}/styles.js.map +0 -0
- package/{index.d.ts → dist-package/index.d.ts} +0 -0
- package/{index.js → dist-package/index.js} +0 -0
- package/{index.js.map → dist-package/index.js.map} +0 -0
- package/dist-package/package.json +53 -0
- package/package.json +3 -4
- package/src/Calendar/Calendar.tsx +215 -0
- package/src/Calendar/__snapshots__/test.tsx.snap +447 -0
- package/src/Calendar/index.ts +2 -0
- package/src/Calendar/styles.ts +104 -0
- package/src/Calendar/test.tsx +20 -0
- package/src/Calendar/types.ts +42 -0
- package/src/DatePicker/DatePicker.tsx +366 -0
- package/src/DatePicker/__image_snapshots__/datepicker-full-width-snap.png +0 -0
- package/src/DatePicker/__image_snapshots__/datepicker-with-custom-day-rendering-snap.png +0 -0
- package/src/DatePicker/__snapshots__/test.tsx.snap +51 -0
- package/src/DatePicker/constants.ts +2 -0
- package/src/DatePicker/index.ts +5 -0
- package/src/DatePicker/story/AllowCustomValue.example.tsx +33 -0
- package/src/DatePicker/story/Autocomplete.example.tsx +47 -0
- package/src/DatePicker/story/Default.example.tsx +19 -0
- package/src/DatePicker/story/Error.example.tsx +26 -0
- package/src/DatePicker/story/Range.example.tsx +22 -0
- package/src/DatePicker/story/WithCustomDayRendering.example.tsx +47 -0
- package/src/DatePicker/story/WithInitialValue.example.tsx +19 -0
- package/src/DatePicker/story/WithInputProps.example.tsx +24 -0
- package/src/DatePicker/story/WithNoHideOnSelect.example.tsx +20 -0
- package/src/DatePicker/story/WithOnBlurHandler.example.tsx +22 -0
- package/src/DatePicker/story/WithSelectionLimits.example.tsx +32 -0
- package/src/DatePicker/story/WithTimezone.example.tsx +25 -0
- package/src/DatePicker/story/index.jsx +50 -0
- package/src/DatePicker/styles.ts +8 -0
- package/src/DatePicker/test.tsx +370 -0
- package/src/DatePicker/types.ts +13 -0
- package/src/DatePicker/utils.ts +123 -0
- package/src/Drawer/Drawer.tsx +105 -0
- package/src/Drawer/__image_snapshots__/drawer-custom-title-effect-1-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-custom-title-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-default-effect-1-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-default-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-width-effect-1-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-width-effect-2-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-width-effect-3-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-width-effect-4-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-width-effect-5-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-width-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-without-title-effect-1-snap.png +0 -0
- package/src/Drawer/__image_snapshots__/drawer-without-title-snap.png +0 -0
- package/src/Drawer/index.ts +6 -0
- package/src/Drawer/story/CustomTitle.example.tsx +32 -0
- package/src/Drawer/story/Default.example.tsx +29 -0
- package/src/Drawer/story/DrawerAndNotification.example.tsx +34 -0
- package/src/Drawer/story/Widths.example.tsx +46 -0
- package/src/Drawer/story/WithoutTitle.example.tsx +22 -0
- package/src/Drawer/story/index.jsx +80 -0
- package/src/Drawer/styles.ts +42 -0
- package/src/DrawerTitle/DrawerTitle.tsx +35 -0
- package/src/DrawerTitle/index.ts +1 -0
- package/src/DrawerTitle/styles.ts +12 -0
- package/src/Dropzone/Dropzone.tsx +146 -0
- package/src/Dropzone/__snapshots__/test.tsx.snap +40 -0
- package/src/Dropzone/index.ts +7 -0
- package/src/Dropzone/story/Default.example.tsx +8 -0
- package/src/Dropzone/story/Disabled.example.tsx +25 -0
- package/src/Dropzone/story/Error.example.tsx +16 -0
- package/src/Dropzone/story/Multiple.example.tsx +30 -0
- package/src/Dropzone/story/Uploader.example.tsx +116 -0
- package/src/Dropzone/story/Uploading.example.tsx +16 -0
- package/src/Dropzone/story/index.jsx +85 -0
- package/src/Dropzone/styles.ts +43 -0
- package/src/Dropzone/test.tsx +33 -0
- package/src/Dropzone/types.ts +56 -0
- package/src/EmptyState/EmptyState.tsx +7 -0
- package/src/EmptyState/index.tsx +1 -0
- package/src/EmptyState/story/index.jsx +13 -0
- package/src/EmptyStateCollection/EmptyStateCollection.tsx +56 -0
- package/src/EmptyStateCollection/__image_snapshots__/emptystate-collection-emptystatecollection-snap.png +0 -0
- package/src/EmptyStateCollection/index.tsx +1 -0
- package/src/EmptyStateCollection/story/Default.example.tsx +11 -0
- package/src/EmptyStateCollection/story/index.jsx +20 -0
- package/src/EmptyStateCollection/styles.ts +10 -0
- package/src/EmptyStatePage/EmptyStatePage.tsx +65 -0
- package/src/EmptyStatePage/__image_snapshots__/emptystate-page-emptystatepage-snap.png +0 -0
- package/src/EmptyStatePage/index.tsx +1 -0
- package/src/EmptyStatePage/story/Default.example.tsx +21 -0
- package/src/EmptyStatePage/story/index.jsx +21 -0
- package/src/EmptyStatePage/styles.ts +9 -0
- package/src/Note/Note.tsx +36 -0
- package/src/Note/__snapshots__/test.tsx.snap +37 -0
- package/src/Note/index.ts +6 -0
- package/src/Note/story/Default.example.tsx +14 -0
- package/src/Note/story/index.jsx +23 -0
- package/src/Note/styles.ts +27 -0
- package/src/Note/test.tsx +22 -0
- package/src/NoteContent/NoteContent.tsx +23 -0
- package/src/NoteContent/index.ts +1 -0
- package/src/NoteContent/story/index.jsx +12 -0
- package/src/NoteSubtitle/NoteSubtitle.tsx +25 -0
- package/src/NoteSubtitle/index.ts +1 -0
- package/src/NoteSubtitle/story/index.jsx +12 -0
- package/src/NoteTitle/NoteTitle.tsx +34 -0
- package/src/NoteTitle/index.ts +1 -0
- package/src/NoteTitle/story/index.jsx +12 -0
- package/src/NoteTitle/styles.ts +8 -0
- package/src/OverviewBlock/OverviewBlock.tsx +125 -0
- package/src/OverviewBlock/__image_snapshots__/overviewblock-default-snap.png +0 -0
- package/src/OverviewBlock/__image_snapshots__/overviewblock-multi-line-snap.png +0 -0
- package/src/OverviewBlock/__image_snapshots__/overviewblock-number-snap.png +0 -0
- package/src/OverviewBlock/__image_snapshots__/overviewblock-routing-snap.png +0 -0
- package/src/OverviewBlock/__image_snapshots__/overviewblock-text-snap.png +0 -0
- package/src/OverviewBlock/index.ts +6 -0
- package/src/OverviewBlock/story/Default.example.tsx +35 -0
- package/src/OverviewBlock/story/Multiline.example.tsx +51 -0
- package/src/OverviewBlock/story/Number.example.tsx +20 -0
- package/src/OverviewBlock/story/Routing.example.tsx +40 -0
- package/src/OverviewBlock/story/Text.example.tsx +15 -0
- package/src/OverviewBlock/story/index.jsx +100 -0
- package/src/OverviewBlock/styles.ts +44 -0
- package/src/OverviewBlock/test.tsx +111 -0
- package/src/OverviewBlockGroup/OverviewBlockGroup.tsx +56 -0
- package/src/OverviewBlockGroup/OverviewBlockGroupContext.tsx +21 -0
- package/src/OverviewBlockGroup/__image_snapshots__/visual-variants-of-the-groups-block-width-snap.png +0 -0
- package/src/OverviewBlockGroup/__image_snapshots__/visual-variants-of-the-groups-center-aligned-snap.png +0 -0
- package/src/OverviewBlockGroup/index.ts +1 -0
- package/src/OverviewBlockGroup/settings.ts +2 -0
- package/src/OverviewBlockGroup/story/BlockWidth.example.tsx +38 -0
- package/src/OverviewBlockGroup/story/CenterAligned.example.tsx +17 -0
- package/src/OverviewBlockGroup/story/index.jsx +25 -0
- package/src/OverviewBlockGroup/test.tsx +17 -0
- package/src/OverviewBlockRow/OverviewBlockRow.tsx +22 -0
- package/src/OverviewBlockRow/index.ts +1 -0
- package/src/OverviewBlockRow/story/index.jsx +11 -0
- package/src/OverviewBlockRow/styles.ts +27 -0
- package/src/Section/Section.tsx +163 -0
- package/src/Section/__snapshots__/test.tsx.snap +186 -0
- package/src/Section/index.ts +6 -0
- package/src/Section/story/Actions.example.tsx +85 -0
- package/src/Section/story/Collapsible.example.tsx +113 -0
- package/src/Section/story/Default.example.tsx +77 -0
- package/src/Section/story/TitleSize.example.tsx +34 -0
- package/src/Section/story/Variant.example.tsx +108 -0
- package/src/Section/story/index.jsx +35 -0
- package/src/Section/styles.ts +65 -0
- package/src/Section/test.tsx +115 -0
- package/src/Timeline/Timeline.tsx +25 -0
- package/src/Timeline/__snapshots__/test.tsx.snap +332 -0
- package/src/Timeline/index.ts +6 -0
- package/src/Timeline/story/Dates.example.tsx +52 -0
- package/src/Timeline/story/Default.example.tsx +34 -0
- package/src/Timeline/story/TrimLastConnector.example.tsx +29 -0
- package/src/Timeline/story/index.jsx +27 -0
- package/src/Timeline/test.tsx +101 -0
- package/src/TimelineRow/TimelineRow.tsx +83 -0
- package/src/TimelineRow/index.ts +6 -0
- package/src/TimelineRow/story/index.jsx +11 -0
- package/src/TimelineRow/styles.ts +47 -0
- package/src/TypographyOverflow/TypographyOverflow.tsx +153 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-checkbox-label-effect-1-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-checkbox-label-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-custom-tooltip-content-effect-1-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-custom-tooltip-content-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-default-effect-1-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-default-effect-2-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-default-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-delay-effect-1-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-delay-effect-2-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-delay-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-light-tooltip-background-effect-1-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-light-tooltip-background-effect-2-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-light-tooltip-background-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-multiline-effect-1-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-multiline-effect-2-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-multiline-effect-3-snap.png +0 -0
- package/src/TypographyOverflow/__image_snapshots__/typographyoverflow-multiline-snap.png +0 -0
- package/src/TypographyOverflow/index.ts +6 -0
- package/src/TypographyOverflow/story/CheckboxLabel.example.tsx +21 -0
- package/src/TypographyOverflow/story/CustomTooltip.example.tsx +22 -0
- package/src/TypographyOverflow/story/Default.example.tsx +32 -0
- package/src/TypographyOverflow/story/Delay.example.tsx +29 -0
- package/src/TypographyOverflow/story/GridWithControls.example.tsx +64 -0
- package/src/TypographyOverflow/story/Multiline.example.tsx +59 -0
- package/src/TypographyOverflow/story/TooltipVariants.example.tsx +23 -0
- package/src/TypographyOverflow/story/index.jsx +83 -0
- package/src/TypographyOverflow/styles.ts +29 -0
- package/src/TypographyOverflow/test.tsx +60 -0
- package/src/index.ts +35 -0
- package/src/story/index.jsx +10 -0
- package/tsconfig.build.json +7 -0
@@ -0,0 +1,108 @@
|
|
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
|
@@ -0,0 +1,35 @@
|
|
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
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import { createStyles, Theme } from '@material-ui/core'
|
2
|
+
|
3
|
+
const defaultHeader = {
|
4
|
+
display: 'flex',
|
5
|
+
paddingBottom: '1.5rem'
|
6
|
+
}
|
7
|
+
|
8
|
+
const defaultCollapsedHeader = {
|
9
|
+
paddingBottom: '0'
|
10
|
+
}
|
11
|
+
|
12
|
+
export default ({ sizes, palette }: Theme) =>
|
13
|
+
createStyles({
|
14
|
+
root: {
|
15
|
+
paddingTop: '2rem'
|
16
|
+
},
|
17
|
+
title: {
|
18
|
+
marginRight: '1rem'
|
19
|
+
},
|
20
|
+
subtitle: {
|
21
|
+
alignSelf: 'center',
|
22
|
+
marginRight: '1rem'
|
23
|
+
},
|
24
|
+
actions: {
|
25
|
+
display: 'flex',
|
26
|
+
marginLeft: 'auto'
|
27
|
+
},
|
28
|
+
|
29
|
+
collapsed: {
|
30
|
+
paddingBottom: '2rem'
|
31
|
+
},
|
32
|
+
default: {},
|
33
|
+
bordered: {
|
34
|
+
borderRadius: sizes.borderRadius.medium,
|
35
|
+
border: `solid ${sizes.borderWidth} ${palette.grey.light}`,
|
36
|
+
padding: '2rem',
|
37
|
+
'& > :last-child': {
|
38
|
+
paddingBottom: '0'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
withHeaderBar: {
|
42
|
+
padding: 0,
|
43
|
+
'& > :last-child:not(:first-child)': {
|
44
|
+
padding: '1.5rem'
|
45
|
+
},
|
46
|
+
borderRadius: sizes.borderRadius.medium,
|
47
|
+
border: `solid ${sizes.borderWidth} ${palette.grey.light2}`
|
48
|
+
},
|
49
|
+
defaultHeader,
|
50
|
+
borderedHeader: defaultHeader,
|
51
|
+
withHeaderBarHeader: {
|
52
|
+
display: 'flex',
|
53
|
+
padding: '0.75rem 1rem',
|
54
|
+
borderRadius: `${sizes.borderRadius.medium} ${sizes.borderRadius.medium} 0 0`,
|
55
|
+
borderBottom: `solid ${sizes.borderWidth} ${palette.grey.light2}`,
|
56
|
+
backgroundColor: palette.grey.lighter
|
57
|
+
},
|
58
|
+
|
59
|
+
defaultCollapsedHeader,
|
60
|
+
borderedCollapsedHeader: defaultCollapsedHeader,
|
61
|
+
withHeaderBarCollapsedHeader: {
|
62
|
+
borderBottom: 'none',
|
63
|
+
borderRadius: sizes.borderRadius.medium
|
64
|
+
}
|
65
|
+
})
|
@@ -0,0 +1,115 @@
|
|
1
|
+
import React from 'react'
|
2
|
+
import {
|
3
|
+
fireEvent,
|
4
|
+
render,
|
5
|
+
waitForElementToBeRemoved
|
6
|
+
} from '@toptal/picasso/test-utils'
|
7
|
+
|
8
|
+
import Section, { Props } from './Section'
|
9
|
+
|
10
|
+
const DEFAULT_HEADER_TEST_ID = 'header'
|
11
|
+
const DEFAULT_TITLE_TEST_ID = 'title'
|
12
|
+
const DEFAULT_SUBTITLE_TEST_ID = 'subtitle'
|
13
|
+
const DEFAULT_ACTIONS_TEST_ID = 'actions'
|
14
|
+
const DEFAULT_COLLAPSE_TEST_ID = 'collapse'
|
15
|
+
|
16
|
+
const DEFAULT_CONTENT_TEST_ID = 'content'
|
17
|
+
|
18
|
+
const renderSection = ({
|
19
|
+
testIds = {
|
20
|
+
header: DEFAULT_HEADER_TEST_ID,
|
21
|
+
title: DEFAULT_TITLE_TEST_ID,
|
22
|
+
subtitle: DEFAULT_SUBTITLE_TEST_ID,
|
23
|
+
actions: DEFAULT_ACTIONS_TEST_ID,
|
24
|
+
collapse: DEFAULT_COLLAPSE_TEST_ID
|
25
|
+
},
|
26
|
+
children = <div data-testid={DEFAULT_CONTENT_TEST_ID} />,
|
27
|
+
...rest
|
28
|
+
}: Partial<Props> = {}) =>
|
29
|
+
render(
|
30
|
+
<Section testIds={testIds} {...rest}>
|
31
|
+
{children}
|
32
|
+
</Section>
|
33
|
+
)
|
34
|
+
|
35
|
+
describe('Section', () => {
|
36
|
+
it('renders with title, subtitle, actions and content', () => {
|
37
|
+
const { container, getByTestId } = renderSection({
|
38
|
+
title: 'Title',
|
39
|
+
subtitle: 'Subtitle',
|
40
|
+
actions: 'Actions'
|
41
|
+
})
|
42
|
+
|
43
|
+
const title = getByTestId(DEFAULT_TITLE_TEST_ID)
|
44
|
+
const subtitle = getByTestId(DEFAULT_SUBTITLE_TEST_ID)
|
45
|
+
const actions = getByTestId(DEFAULT_ACTIONS_TEST_ID)
|
46
|
+
|
47
|
+
expect(title).toBeInTheDocument()
|
48
|
+
expect(title).toHaveTextContent('Title')
|
49
|
+
expect(subtitle).toBeInTheDocument()
|
50
|
+
expect(subtitle).toHaveTextContent('Subtitle')
|
51
|
+
expect(actions).toBeInTheDocument()
|
52
|
+
expect(actions).toHaveTextContent('Actions')
|
53
|
+
expect(getByTestId(DEFAULT_CONTENT_TEST_ID)).toBeInTheDocument()
|
54
|
+
|
55
|
+
expect(container).toMatchSnapshot()
|
56
|
+
})
|
57
|
+
|
58
|
+
it('renders without header', () => {
|
59
|
+
const { container, queryByTestId } = renderSection()
|
60
|
+
|
61
|
+
expect(queryByTestId(DEFAULT_HEADER_TEST_ID)).not.toBeInTheDocument()
|
62
|
+
expect(queryByTestId(DEFAULT_TITLE_TEST_ID)).not.toBeInTheDocument()
|
63
|
+
expect(queryByTestId(DEFAULT_SUBTITLE_TEST_ID)).not.toBeInTheDocument()
|
64
|
+
expect(queryByTestId(DEFAULT_ACTIONS_TEST_ID)).not.toBeInTheDocument()
|
65
|
+
expect(queryByTestId(DEFAULT_CONTENT_TEST_ID)).toBeInTheDocument()
|
66
|
+
|
67
|
+
expect(container).toMatchSnapshot()
|
68
|
+
})
|
69
|
+
|
70
|
+
it('renders with only title', () => {
|
71
|
+
const { queryByTestId } = renderSection({ title: 'Title' })
|
72
|
+
|
73
|
+
expect(queryByTestId(DEFAULT_HEADER_TEST_ID)).toBeInTheDocument()
|
74
|
+
expect(queryByTestId(DEFAULT_TITLE_TEST_ID)).toBeInTheDocument()
|
75
|
+
expect(queryByTestId(DEFAULT_SUBTITLE_TEST_ID)).not.toBeInTheDocument()
|
76
|
+
expect(queryByTestId(DEFAULT_ACTIONS_TEST_ID)).not.toBeInTheDocument()
|
77
|
+
})
|
78
|
+
|
79
|
+
it('renders collapsible initially collapsed', async () => {
|
80
|
+
const { container, queryByTestId } = renderSection({
|
81
|
+
collapsible: true
|
82
|
+
})
|
83
|
+
|
84
|
+
expect(queryByTestId(DEFAULT_CONTENT_TEST_ID)).not.toBeInTheDocument()
|
85
|
+
|
86
|
+
expect(container).toMatchSnapshot()
|
87
|
+
})
|
88
|
+
|
89
|
+
it('renders collapsible initially expanded', async () => {
|
90
|
+
const { container, getByTestId } = renderSection({
|
91
|
+
collapsible: true,
|
92
|
+
defaultCollapsed: false
|
93
|
+
})
|
94
|
+
|
95
|
+
expect(getByTestId(DEFAULT_CONTENT_TEST_ID)).toBeInTheDocument()
|
96
|
+
|
97
|
+
expect(container).toMatchSnapshot()
|
98
|
+
})
|
99
|
+
|
100
|
+
it('collapses and expands', async () => {
|
101
|
+
const { findByTestId, getByTestId, queryByTestId } = renderSection({
|
102
|
+
collapsible: true
|
103
|
+
})
|
104
|
+
|
105
|
+
expect(queryByTestId(DEFAULT_CONTENT_TEST_ID)).not.toBeInTheDocument()
|
106
|
+
|
107
|
+
const collapse = getByTestId(DEFAULT_COLLAPSE_TEST_ID)
|
108
|
+
|
109
|
+
fireEvent.click(collapse)
|
110
|
+
expect(await findByTestId(DEFAULT_CONTENT_TEST_ID)).toBeInTheDocument()
|
111
|
+
|
112
|
+
fireEvent.click(collapse)
|
113
|
+
await waitForElementToBeRemoved(getByTestId(DEFAULT_CONTENT_TEST_ID))
|
114
|
+
})
|
115
|
+
})
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import React, { forwardRef, ReactElement } from 'react'
|
2
|
+
import { BaseProps } from '@toptal/picasso-shared'
|
3
|
+
import { Container } from '@toptal/picasso'
|
4
|
+
|
5
|
+
import TimelineRow, { TimelineRowProps } from '../TimelineRow'
|
6
|
+
|
7
|
+
export type Props = BaseProps & {
|
8
|
+
/** Timeline rows */
|
9
|
+
children: ReactElement<TimelineRowProps> | ReactElement<TimelineRowProps>[]
|
10
|
+
}
|
11
|
+
|
12
|
+
export const Timeline = forwardRef<HTMLDivElement, Props>(function Timeline(
|
13
|
+
{ className, children },
|
14
|
+
ref
|
15
|
+
) {
|
16
|
+
return (
|
17
|
+
<Container ref={ref} className={className} flex direction='column'>
|
18
|
+
{children}
|
19
|
+
</Container>
|
20
|
+
)
|
21
|
+
})
|
22
|
+
|
23
|
+
Timeline.displayName = 'Timeline'
|
24
|
+
|
25
|
+
export default Object.assign(Timeline, { Row: TimelineRow })
|
@@ -0,0 +1,332 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`Timeline renders 1`] = `
|
4
|
+
<div>
|
5
|
+
<div
|
6
|
+
class="Picasso-root"
|
7
|
+
>
|
8
|
+
<div
|
9
|
+
class="Picasso-root"
|
10
|
+
>
|
11
|
+
<div
|
12
|
+
class="PicassoContainer-flex PicassoContainer-column"
|
13
|
+
>
|
14
|
+
<div
|
15
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
16
|
+
>
|
17
|
+
<div
|
18
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
19
|
+
>
|
20
|
+
<div
|
21
|
+
class="PicassoTimelineRow-dot"
|
22
|
+
data-testid="dot"
|
23
|
+
/>
|
24
|
+
<div
|
25
|
+
class="PicassoTimelineRow-connector"
|
26
|
+
/>
|
27
|
+
</div>
|
28
|
+
<div
|
29
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
30
|
+
>
|
31
|
+
Row #1
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
<div
|
35
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
36
|
+
>
|
37
|
+
<div
|
38
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
39
|
+
>
|
40
|
+
<div
|
41
|
+
class="PicassoTimelineRow-dot"
|
42
|
+
data-testid="dot"
|
43
|
+
/>
|
44
|
+
<div
|
45
|
+
class="PicassoTimelineRow-connector"
|
46
|
+
/>
|
47
|
+
</div>
|
48
|
+
<div
|
49
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
50
|
+
>
|
51
|
+
Row #2
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
<div
|
55
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
56
|
+
>
|
57
|
+
<div
|
58
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
59
|
+
>
|
60
|
+
<div
|
61
|
+
class="PicassoTimelineRow-dot"
|
62
|
+
data-testid="dot"
|
63
|
+
/>
|
64
|
+
<div
|
65
|
+
class="PicassoTimelineRow-connector"
|
66
|
+
/>
|
67
|
+
</div>
|
68
|
+
<div
|
69
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
70
|
+
>
|
71
|
+
Row #3
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
`;
|
79
|
+
|
80
|
+
exports[`Timeline renders with dates 1`] = `
|
81
|
+
<div>
|
82
|
+
<div
|
83
|
+
class="Picasso-root"
|
84
|
+
>
|
85
|
+
<div
|
86
|
+
class="Picasso-root"
|
87
|
+
>
|
88
|
+
<div
|
89
|
+
class="PicassoContainer-flex PicassoContainer-column"
|
90
|
+
>
|
91
|
+
<div
|
92
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
93
|
+
>
|
94
|
+
<div
|
95
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
96
|
+
>
|
97
|
+
<div
|
98
|
+
class="PicassoTimelineRow-dot"
|
99
|
+
/>
|
100
|
+
<div
|
101
|
+
class="PicassoTimelineRow-connector"
|
102
|
+
/>
|
103
|
+
</div>
|
104
|
+
<div
|
105
|
+
class="PicassoContainer-rightlargeMargin PicassoTimelineRow-date"
|
106
|
+
>
|
107
|
+
<p
|
108
|
+
class="MuiTypography-root PicassoTypography-bodyMedium PicassoTypography-semibold PicassoTimelineRow-dateText MuiTypography-body1"
|
109
|
+
>
|
110
|
+
25.06.2021
|
111
|
+
</p>
|
112
|
+
</div>
|
113
|
+
<div
|
114
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
115
|
+
>
|
116
|
+
Row #1
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
<div
|
120
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
121
|
+
>
|
122
|
+
<div
|
123
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
124
|
+
>
|
125
|
+
<div
|
126
|
+
class="PicassoTimelineRow-dot"
|
127
|
+
/>
|
128
|
+
<div
|
129
|
+
class="PicassoTimelineRow-connector"
|
130
|
+
/>
|
131
|
+
</div>
|
132
|
+
<div
|
133
|
+
class="PicassoContainer-rightlargeMargin PicassoTimelineRow-date"
|
134
|
+
>
|
135
|
+
<p
|
136
|
+
class="MuiTypography-root PicassoTypography-bodyMedium PicassoTypography-semibold PicassoTimelineRow-dateText MuiTypography-body1"
|
137
|
+
>
|
138
|
+
25.06.2022
|
139
|
+
</p>
|
140
|
+
</div>
|
141
|
+
<div
|
142
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
143
|
+
>
|
144
|
+
Row #2
|
145
|
+
</div>
|
146
|
+
</div>
|
147
|
+
<div
|
148
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
149
|
+
>
|
150
|
+
<div
|
151
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
152
|
+
>
|
153
|
+
<div
|
154
|
+
class="PicassoTimelineRow-dot"
|
155
|
+
/>
|
156
|
+
<div
|
157
|
+
class="PicassoTimelineRow-connector"
|
158
|
+
/>
|
159
|
+
</div>
|
160
|
+
<div
|
161
|
+
class="PicassoContainer-rightlargeMargin PicassoTimelineRow-date"
|
162
|
+
>
|
163
|
+
<p
|
164
|
+
class="MuiTypography-root PicassoTypography-bodyMedium PicassoTypography-semibold PicassoTimelineRow-dateText MuiTypography-body1"
|
165
|
+
>
|
166
|
+
25.06.2023
|
167
|
+
</p>
|
168
|
+
</div>
|
169
|
+
<div
|
170
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
171
|
+
>
|
172
|
+
Row #3
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
</div>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
`;
|
180
|
+
|
181
|
+
exports[`Timeline renders with icons 1`] = `
|
182
|
+
<div>
|
183
|
+
<div
|
184
|
+
class="Picasso-root"
|
185
|
+
>
|
186
|
+
<div
|
187
|
+
class="Picasso-root"
|
188
|
+
>
|
189
|
+
<div
|
190
|
+
class="PicassoContainer-flex PicassoContainer-column"
|
191
|
+
>
|
192
|
+
<div
|
193
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
194
|
+
>
|
195
|
+
<div
|
196
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
197
|
+
>
|
198
|
+
<span
|
199
|
+
class="PicassoTimelineRow-icon"
|
200
|
+
data-testid="icon-1"
|
201
|
+
/>
|
202
|
+
<div
|
203
|
+
class="PicassoTimelineRow-connector"
|
204
|
+
/>
|
205
|
+
</div>
|
206
|
+
<div
|
207
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
208
|
+
>
|
209
|
+
Row #1
|
210
|
+
</div>
|
211
|
+
</div>
|
212
|
+
<div
|
213
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
214
|
+
>
|
215
|
+
<div
|
216
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
217
|
+
>
|
218
|
+
<span
|
219
|
+
class="PicassoTimelineRow-icon"
|
220
|
+
data-testid="icon-2"
|
221
|
+
/>
|
222
|
+
<div
|
223
|
+
class="PicassoTimelineRow-connector"
|
224
|
+
/>
|
225
|
+
</div>
|
226
|
+
<div
|
227
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
228
|
+
>
|
229
|
+
Row #2
|
230
|
+
</div>
|
231
|
+
</div>
|
232
|
+
<div
|
233
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
234
|
+
>
|
235
|
+
<div
|
236
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
237
|
+
>
|
238
|
+
<span
|
239
|
+
class="PicassoTimelineRow-icon"
|
240
|
+
data-testid="icon-3"
|
241
|
+
/>
|
242
|
+
<div
|
243
|
+
class="PicassoTimelineRow-connector"
|
244
|
+
/>
|
245
|
+
</div>
|
246
|
+
<div
|
247
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
248
|
+
>
|
249
|
+
Row #3
|
250
|
+
</div>
|
251
|
+
</div>
|
252
|
+
</div>
|
253
|
+
</div>
|
254
|
+
</div>
|
255
|
+
</div>
|
256
|
+
`;
|
257
|
+
|
258
|
+
exports[`Timeline renders without a connector 1`] = `
|
259
|
+
<div>
|
260
|
+
<div
|
261
|
+
class="Picasso-root"
|
262
|
+
>
|
263
|
+
<div
|
264
|
+
class="Picasso-root"
|
265
|
+
>
|
266
|
+
<div
|
267
|
+
class="PicassoContainer-flex PicassoContainer-column"
|
268
|
+
>
|
269
|
+
<div
|
270
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
271
|
+
>
|
272
|
+
<div
|
273
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
274
|
+
>
|
275
|
+
<div
|
276
|
+
class="PicassoTimelineRow-dot"
|
277
|
+
data-testid="dot"
|
278
|
+
/>
|
279
|
+
<div
|
280
|
+
class="PicassoTimelineRow-connector"
|
281
|
+
data-testid="connector"
|
282
|
+
/>
|
283
|
+
</div>
|
284
|
+
<div
|
285
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
286
|
+
>
|
287
|
+
Row #1
|
288
|
+
</div>
|
289
|
+
</div>
|
290
|
+
<div
|
291
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
292
|
+
>
|
293
|
+
<div
|
294
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
295
|
+
>
|
296
|
+
<div
|
297
|
+
class="PicassoTimelineRow-dot"
|
298
|
+
data-testid="dot"
|
299
|
+
/>
|
300
|
+
<div
|
301
|
+
class="PicassoTimelineRow-connector"
|
302
|
+
data-testid="connector"
|
303
|
+
/>
|
304
|
+
</div>
|
305
|
+
<div
|
306
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
307
|
+
>
|
308
|
+
Row #2
|
309
|
+
</div>
|
310
|
+
</div>
|
311
|
+
<div
|
312
|
+
class="PicassoContainer-flex PicassoTimelineRow-root"
|
313
|
+
>
|
314
|
+
<div
|
315
|
+
class="PicassoContainer-rightmediumMargin PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-column"
|
316
|
+
>
|
317
|
+
<div
|
318
|
+
class="PicassoTimelineRow-dot"
|
319
|
+
data-testid="dot"
|
320
|
+
/>
|
321
|
+
</div>
|
322
|
+
<div
|
323
|
+
class="PicassoContainer-bottomlargeMargin PicassoTimelineRow-content"
|
324
|
+
>
|
325
|
+
Row #3
|
326
|
+
</div>
|
327
|
+
</div>
|
328
|
+
</div>
|
329
|
+
</div>
|
330
|
+
</div>
|
331
|
+
</div>
|
332
|
+
`;
|