@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.
- package/{dist-package/Calendar → Calendar}/Calendar.d.ts +0 -0
- package/{dist-package/Calendar → Calendar}/Calendar.js +0 -0
- package/{dist-package/Calendar → Calendar}/Calendar.js.map +0 -0
- package/{dist-package/Calendar → Calendar}/index.d.ts +0 -0
- package/{dist-package/Calendar → Calendar}/index.js +0 -0
- package/{dist-package/Calendar → Calendar}/index.js.map +0 -0
- package/{dist-package/Calendar → Calendar}/styles.d.ts +0 -0
- package/{dist-package/Calendar → Calendar}/styles.js +0 -0
- package/{dist-package/Calendar → Calendar}/styles.js.map +0 -0
- package/{dist-package/Calendar → Calendar}/types.d.ts +0 -0
- package/{dist-package/Calendar → Calendar}/types.js +0 -0
- package/{dist-package/Calendar → Calendar}/types.js.map +0 -0
- package/{dist-package/DatePicker → DatePicker}/DatePicker.d.ts +0 -0
- package/{dist-package/DatePicker → DatePicker}/DatePicker.js +0 -0
- package/{dist-package/DatePicker → DatePicker}/DatePicker.js.map +0 -0
- package/{dist-package/DatePicker → DatePicker}/constants.d.ts +0 -0
- package/{dist-package/DatePicker → DatePicker}/constants.js +0 -0
- package/{dist-package/DatePicker → DatePicker}/constants.js.map +0 -0
- package/{dist-package/DatePicker → DatePicker}/index.d.ts +0 -0
- package/{dist-package/DatePicker → DatePicker}/index.js +0 -0
- package/{dist-package/DatePicker → DatePicker}/index.js.map +0 -0
- package/{dist-package/DatePicker → DatePicker}/styles.d.ts +0 -0
- package/{dist-package/DatePicker → DatePicker}/styles.js +0 -0
- package/{dist-package/DatePicker → DatePicker}/styles.js.map +0 -0
- package/{dist-package/DatePicker → DatePicker}/types.d.ts +0 -0
- package/{dist-package/DatePicker → DatePicker}/types.js +0 -0
- package/{dist-package/DatePicker → DatePicker}/types.js.map +0 -0
- package/{dist-package/DatePicker → DatePicker}/utils.d.ts +0 -0
- package/{dist-package/DatePicker → DatePicker}/utils.js +0 -0
- package/{dist-package/DatePicker → DatePicker}/utils.js.map +0 -0
- package/{dist-package/Drawer → Drawer}/Drawer.d.ts +0 -0
- package/{dist-package/Drawer → Drawer}/Drawer.js +0 -0
- package/{dist-package/Drawer → Drawer}/Drawer.js.map +0 -0
- package/{dist-package/Drawer → Drawer}/index.d.ts +0 -0
- package/{dist-package/Drawer → Drawer}/index.js +0 -0
- package/{dist-package/Drawer → Drawer}/index.js.map +0 -0
- package/{dist-package/Drawer → Drawer}/styles.d.ts +0 -0
- package/{dist-package/Drawer → Drawer}/styles.js +0 -0
- package/{dist-package/Drawer → Drawer}/styles.js.map +0 -0
- package/{dist-package/DrawerTitle → DrawerTitle}/DrawerTitle.d.ts +0 -0
- package/{dist-package/DrawerTitle → DrawerTitle}/DrawerTitle.js +0 -0
- package/{dist-package/DrawerTitle → DrawerTitle}/DrawerTitle.js.map +0 -0
- package/{dist-package/DrawerTitle → DrawerTitle}/index.d.ts +0 -0
- package/{dist-package/DrawerTitle → DrawerTitle}/index.js +0 -0
- package/{dist-package/DrawerTitle → DrawerTitle}/index.js.map +0 -0
- package/{dist-package/DrawerTitle → DrawerTitle}/styles.d.ts +0 -0
- package/{dist-package/DrawerTitle → DrawerTitle}/styles.js +0 -0
- package/{dist-package/DrawerTitle → DrawerTitle}/styles.js.map +0 -0
- package/{dist-package/Dropzone → Dropzone}/Dropzone.d.ts +0 -0
- package/{dist-package/Dropzone → Dropzone}/Dropzone.js +0 -0
- package/{dist-package/Dropzone → Dropzone}/Dropzone.js.map +0 -0
- package/{dist-package/Dropzone → Dropzone}/index.d.ts +0 -0
- package/{dist-package/Dropzone → Dropzone}/index.js +0 -0
- package/{dist-package/Dropzone → Dropzone}/index.js.map +0 -0
- package/{dist-package/Dropzone → Dropzone}/styles.d.ts +0 -0
- package/{dist-package/Dropzone → Dropzone}/styles.js +0 -0
- package/{dist-package/Dropzone → Dropzone}/styles.js.map +0 -0
- package/{dist-package/Dropzone → Dropzone}/types.d.ts +0 -0
- package/{dist-package/Dropzone → Dropzone}/types.js +0 -0
- package/{dist-package/Dropzone → Dropzone}/types.js.map +0 -0
- package/{dist-package/EmptyState → EmptyState}/EmptyState.d.ts +0 -0
- package/{dist-package/EmptyState → EmptyState}/EmptyState.js +0 -0
- package/{dist-package/EmptyState → EmptyState}/EmptyState.js.map +0 -0
- package/{dist-package/EmptyState → EmptyState}/index.d.ts +0 -0
- package/{dist-package/EmptyState → EmptyState}/index.js +0 -0
- package/{dist-package/EmptyState → EmptyState}/index.js.map +0 -0
- package/{dist-package/EmptyStateCollection → EmptyStateCollection}/EmptyStateCollection.d.ts +0 -0
- package/{dist-package/EmptyStateCollection → EmptyStateCollection}/EmptyStateCollection.js +0 -0
- package/{dist-package/EmptyStateCollection → EmptyStateCollection}/EmptyStateCollection.js.map +0 -0
- package/{dist-package/EmptyStateCollection → EmptyStateCollection}/index.d.ts +0 -0
- package/{dist-package/EmptyStateCollection → EmptyStateCollection}/index.js +0 -0
- package/{dist-package/EmptyStateCollection → EmptyStateCollection}/index.js.map +0 -0
- package/{dist-package/EmptyStateCollection → EmptyStateCollection}/styles.d.ts +0 -0
- package/{dist-package/EmptyStateCollection → EmptyStateCollection}/styles.js +0 -0
- package/{dist-package/EmptyStateCollection → EmptyStateCollection}/styles.js.map +0 -0
- package/{dist-package/EmptyStatePage → EmptyStatePage}/EmptyStatePage.d.ts +0 -0
- package/{dist-package/EmptyStatePage → EmptyStatePage}/EmptyStatePage.js +0 -0
- package/{dist-package/EmptyStatePage → EmptyStatePage}/EmptyStatePage.js.map +0 -0
- package/{dist-package/EmptyStatePage → EmptyStatePage}/index.d.ts +0 -0
- package/{dist-package/EmptyStatePage → EmptyStatePage}/index.js +0 -0
- package/{dist-package/EmptyStatePage → EmptyStatePage}/index.js.map +0 -0
- package/{dist-package/EmptyStatePage → EmptyStatePage}/styles.d.ts +0 -0
- package/{dist-package/EmptyStatePage → EmptyStatePage}/styles.js +0 -0
- package/{dist-package/EmptyStatePage → EmptyStatePage}/styles.js.map +0 -0
- package/{dist-package/Note → Note}/Note.d.ts +0 -0
- package/{dist-package/Note → Note}/Note.js +0 -0
- package/{dist-package/Note → Note}/Note.js.map +0 -0
- package/{dist-package/Note → Note}/index.d.ts +0 -0
- package/{dist-package/Note → Note}/index.js +0 -0
- package/{dist-package/Note → Note}/index.js.map +0 -0
- package/{dist-package/Note → Note}/styles.d.ts +0 -0
- package/{dist-package/Note → Note}/styles.js +0 -0
- package/{dist-package/Note → Note}/styles.js.map +0 -0
- package/{dist-package/NoteContent → NoteContent}/NoteContent.d.ts +0 -0
- package/{dist-package/NoteContent → NoteContent}/NoteContent.js +0 -0
- package/{dist-package/NoteContent → NoteContent}/NoteContent.js.map +0 -0
- package/{dist-package/NoteContent → NoteContent}/index.d.ts +0 -0
- package/{dist-package/NoteContent → NoteContent}/index.js +0 -0
- package/{dist-package/NoteContent → NoteContent}/index.js.map +0 -0
- package/{dist-package/NoteSubtitle → NoteSubtitle}/NoteSubtitle.d.ts +0 -0
- package/{dist-package/NoteSubtitle → NoteSubtitle}/NoteSubtitle.js +0 -0
- package/{dist-package/NoteSubtitle → NoteSubtitle}/NoteSubtitle.js.map +0 -0
- package/{dist-package/NoteSubtitle → NoteSubtitle}/index.d.ts +0 -0
- package/{dist-package/NoteSubtitle → NoteSubtitle}/index.js +0 -0
- package/{dist-package/NoteSubtitle → NoteSubtitle}/index.js.map +0 -0
- package/{dist-package/NoteTitle → NoteTitle}/NoteTitle.d.ts +0 -0
- package/{dist-package/NoteTitle → NoteTitle}/NoteTitle.js +0 -0
- package/{dist-package/NoteTitle → NoteTitle}/NoteTitle.js.map +0 -0
- package/{dist-package/NoteTitle → NoteTitle}/index.d.ts +0 -0
- package/{dist-package/NoteTitle → NoteTitle}/index.js +0 -0
- package/{dist-package/NoteTitle → NoteTitle}/index.js.map +0 -0
- package/{dist-package/NoteTitle → NoteTitle}/styles.d.ts +0 -0
- package/{dist-package/NoteTitle → NoteTitle}/styles.js +0 -0
- package/{dist-package/NoteTitle → NoteTitle}/styles.js.map +0 -0
- package/{dist-package/OverviewBlock → OverviewBlock}/OverviewBlock.d.ts +0 -0
- package/{dist-package/OverviewBlock → OverviewBlock}/OverviewBlock.js +0 -0
- package/{dist-package/OverviewBlock → OverviewBlock}/OverviewBlock.js.map +0 -0
- package/{dist-package/OverviewBlock → OverviewBlock}/index.d.ts +0 -0
- package/{dist-package/OverviewBlock → OverviewBlock}/index.js +0 -0
- package/{dist-package/OverviewBlock → OverviewBlock}/index.js.map +0 -0
- package/{dist-package/OverviewBlock → OverviewBlock}/styles.d.ts +0 -0
- package/{dist-package/OverviewBlock → OverviewBlock}/styles.js +0 -0
- package/{dist-package/OverviewBlock → OverviewBlock}/styles.js.map +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroup.d.ts +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroup.js +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroup.js.map +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroupContext.d.ts +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroupContext.js +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/OverviewBlockGroupContext.js.map +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/index.d.ts +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/index.js +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/index.js.map +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/settings.d.ts +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/settings.js +0 -0
- package/{dist-package/OverviewBlockGroup → OverviewBlockGroup}/settings.js.map +0 -0
- package/{dist-package/OverviewBlockRow → OverviewBlockRow}/OverviewBlockRow.d.ts +0 -0
- package/{dist-package/OverviewBlockRow → OverviewBlockRow}/OverviewBlockRow.js +0 -0
- package/{dist-package/OverviewBlockRow → OverviewBlockRow}/OverviewBlockRow.js.map +0 -0
- package/{dist-package/OverviewBlockRow → OverviewBlockRow}/index.d.ts +0 -0
- package/{dist-package/OverviewBlockRow → OverviewBlockRow}/index.js +0 -0
- package/{dist-package/OverviewBlockRow → OverviewBlockRow}/index.js.map +0 -0
- package/{dist-package/OverviewBlockRow → OverviewBlockRow}/styles.d.ts +0 -0
- package/{dist-package/OverviewBlockRow → OverviewBlockRow}/styles.js +0 -0
- package/{dist-package/OverviewBlockRow → OverviewBlockRow}/styles.js.map +0 -0
- package/{dist-package/Section → Section}/Section.d.ts +0 -0
- package/{dist-package/Section → Section}/Section.js +0 -0
- package/{dist-package/Section → Section}/Section.js.map +0 -0
- package/{dist-package/Section → Section}/index.d.ts +0 -0
- package/{dist-package/Section → Section}/index.js +0 -0
- package/{dist-package/Section → Section}/index.js.map +0 -0
- package/{dist-package/Section → Section}/styles.d.ts +0 -0
- package/{dist-package/Section → Section}/styles.js +0 -0
- package/{dist-package/Section → Section}/styles.js.map +0 -0
- package/{dist-package/Timeline → Timeline}/Timeline.d.ts +0 -0
- package/{dist-package/Timeline → Timeline}/Timeline.js +0 -0
- package/{dist-package/Timeline → Timeline}/Timeline.js.map +0 -0
- package/{dist-package/Timeline → Timeline}/index.d.ts +0 -0
- package/{dist-package/Timeline → Timeline}/index.js +0 -0
- package/{dist-package/Timeline → Timeline}/index.js.map +0 -0
- package/{dist-package/TimelineRow → TimelineRow}/TimelineRow.d.ts +0 -0
- package/{dist-package/TimelineRow → TimelineRow}/TimelineRow.js +0 -0
- package/{dist-package/TimelineRow → TimelineRow}/TimelineRow.js.map +0 -0
- package/{dist-package/TimelineRow → TimelineRow}/index.d.ts +0 -0
- package/{dist-package/TimelineRow → TimelineRow}/index.js +0 -0
- package/{dist-package/TimelineRow → TimelineRow}/index.js.map +0 -0
- package/{dist-package/TimelineRow → TimelineRow}/styles.d.ts +0 -0
- package/{dist-package/TimelineRow → TimelineRow}/styles.js +0 -0
- package/{dist-package/TimelineRow → TimelineRow}/styles.js.map +0 -0
- package/{dist-package/TypographyOverflow → TypographyOverflow}/TypographyOverflow.d.ts +0 -0
- package/{dist-package/TypographyOverflow → TypographyOverflow}/TypographyOverflow.js +0 -0
- package/{dist-package/TypographyOverflow → TypographyOverflow}/TypographyOverflow.js.map +0 -0
- package/{dist-package/TypographyOverflow → TypographyOverflow}/index.d.ts +0 -0
- package/{dist-package/TypographyOverflow → TypographyOverflow}/index.js +0 -0
- package/{dist-package/TypographyOverflow → TypographyOverflow}/index.js.map +0 -0
- package/{dist-package/TypographyOverflow → TypographyOverflow}/styles.d.ts +0 -0
- package/{dist-package/TypographyOverflow → TypographyOverflow}/styles.js +0 -0
- package/{dist-package/TypographyOverflow → TypographyOverflow}/styles.js.map +0 -0
- package/{dist-package/index.d.ts → index.d.ts} +0 -0
- package/{dist-package/index.js → index.js} +0 -0
- package/{dist-package/index.js.map → index.js.map} +0 -0
- package/package.json +5 -5
- package/CHANGELOG.md +0 -1385
- package/dist-package/README.md +0 -26
- package/dist-package/package.json +0 -53
- package/src/Calendar/Calendar.tsx +0 -215
- package/src/Calendar/__snapshots__/test.tsx.snap +0 -447
- package/src/Calendar/index.ts +0 -2
- package/src/Calendar/styles.ts +0 -104
- package/src/Calendar/test.tsx +0 -20
- package/src/Calendar/types.ts +0 -42
- package/src/DatePicker/DatePicker.tsx +0 -366
- 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 +0 -51
- package/src/DatePicker/constants.ts +0 -2
- package/src/DatePicker/index.ts +0 -5
- package/src/DatePicker/story/AllowCustomValue.example.tsx +0 -33
- package/src/DatePicker/story/Autocomplete.example.tsx +0 -47
- package/src/DatePicker/story/Default.example.tsx +0 -19
- package/src/DatePicker/story/Error.example.tsx +0 -26
- package/src/DatePicker/story/Range.example.tsx +0 -22
- package/src/DatePicker/story/WithCustomDayRendering.example.tsx +0 -47
- package/src/DatePicker/story/WithInitialValue.example.tsx +0 -19
- package/src/DatePicker/story/WithInputProps.example.tsx +0 -24
- package/src/DatePicker/story/WithNoHideOnSelect.example.tsx +0 -20
- package/src/DatePicker/story/WithOnBlurHandler.example.tsx +0 -22
- package/src/DatePicker/story/WithSelectionLimits.example.tsx +0 -32
- package/src/DatePicker/story/WithTimezone.example.tsx +0 -25
- package/src/DatePicker/story/index.jsx +0 -50
- package/src/DatePicker/styles.ts +0 -8
- package/src/DatePicker/test.tsx +0 -370
- package/src/DatePicker/types.ts +0 -13
- package/src/DatePicker/utils.ts +0 -123
- package/src/Drawer/Drawer.tsx +0 -105
- 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 +0 -6
- package/src/Drawer/story/CustomTitle.example.tsx +0 -32
- package/src/Drawer/story/Default.example.tsx +0 -29
- package/src/Drawer/story/DrawerAndNotification.example.tsx +0 -34
- package/src/Drawer/story/Widths.example.tsx +0 -46
- package/src/Drawer/story/WithoutTitle.example.tsx +0 -22
- package/src/Drawer/story/index.jsx +0 -80
- package/src/Drawer/styles.ts +0 -42
- package/src/DrawerTitle/DrawerTitle.tsx +0 -35
- package/src/DrawerTitle/index.ts +0 -1
- package/src/DrawerTitle/styles.ts +0 -12
- package/src/Dropzone/Dropzone.tsx +0 -146
- package/src/Dropzone/__snapshots__/test.tsx.snap +0 -40
- package/src/Dropzone/index.ts +0 -7
- package/src/Dropzone/story/Default.example.tsx +0 -8
- package/src/Dropzone/story/Disabled.example.tsx +0 -25
- package/src/Dropzone/story/Error.example.tsx +0 -16
- package/src/Dropzone/story/Multiple.example.tsx +0 -30
- package/src/Dropzone/story/Uploader.example.tsx +0 -116
- package/src/Dropzone/story/Uploading.example.tsx +0 -16
- package/src/Dropzone/story/index.jsx +0 -85
- package/src/Dropzone/styles.ts +0 -43
- package/src/Dropzone/test.tsx +0 -33
- package/src/Dropzone/types.ts +0 -56
- package/src/EmptyState/EmptyState.tsx +0 -7
- package/src/EmptyState/index.tsx +0 -1
- package/src/EmptyState/story/index.jsx +0 -13
- package/src/EmptyStateCollection/EmptyStateCollection.tsx +0 -56
- package/src/EmptyStateCollection/__image_snapshots__/emptystate-collection-emptystatecollection-snap.png +0 -0
- package/src/EmptyStateCollection/index.tsx +0 -1
- package/src/EmptyStateCollection/story/Default.example.tsx +0 -11
- package/src/EmptyStateCollection/story/index.jsx +0 -20
- package/src/EmptyStateCollection/styles.ts +0 -10
- package/src/EmptyStatePage/EmptyStatePage.tsx +0 -65
- package/src/EmptyStatePage/__image_snapshots__/emptystate-page-emptystatepage-snap.png +0 -0
- package/src/EmptyStatePage/index.tsx +0 -1
- package/src/EmptyStatePage/story/Default.example.tsx +0 -21
- package/src/EmptyStatePage/story/index.jsx +0 -21
- package/src/EmptyStatePage/styles.ts +0 -9
- package/src/Note/Note.tsx +0 -36
- package/src/Note/__snapshots__/test.tsx.snap +0 -37
- package/src/Note/index.ts +0 -6
- package/src/Note/story/Default.example.tsx +0 -14
- package/src/Note/story/index.jsx +0 -23
- package/src/Note/styles.ts +0 -27
- package/src/Note/test.tsx +0 -22
- package/src/NoteContent/NoteContent.tsx +0 -23
- package/src/NoteContent/index.ts +0 -1
- package/src/NoteContent/story/index.jsx +0 -12
- package/src/NoteSubtitle/NoteSubtitle.tsx +0 -25
- package/src/NoteSubtitle/index.ts +0 -1
- package/src/NoteSubtitle/story/index.jsx +0 -12
- package/src/NoteTitle/NoteTitle.tsx +0 -34
- package/src/NoteTitle/index.ts +0 -1
- package/src/NoteTitle/story/index.jsx +0 -12
- package/src/NoteTitle/styles.ts +0 -8
- package/src/OverviewBlock/OverviewBlock.tsx +0 -125
- 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 +0 -6
- package/src/OverviewBlock/story/Default.example.tsx +0 -35
- package/src/OverviewBlock/story/Multiline.example.tsx +0 -51
- package/src/OverviewBlock/story/Number.example.tsx +0 -20
- package/src/OverviewBlock/story/Routing.example.tsx +0 -40
- package/src/OverviewBlock/story/Text.example.tsx +0 -15
- package/src/OverviewBlock/story/index.jsx +0 -100
- package/src/OverviewBlock/styles.ts +0 -44
- package/src/OverviewBlock/test.tsx +0 -111
- package/src/OverviewBlockGroup/OverviewBlockGroup.tsx +0 -56
- package/src/OverviewBlockGroup/OverviewBlockGroupContext.tsx +0 -21
- 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 +0 -1
- package/src/OverviewBlockGroup/settings.ts +0 -2
- package/src/OverviewBlockGroup/story/BlockWidth.example.tsx +0 -38
- package/src/OverviewBlockGroup/story/CenterAligned.example.tsx +0 -17
- package/src/OverviewBlockGroup/story/index.jsx +0 -25
- package/src/OverviewBlockGroup/test.tsx +0 -17
- package/src/OverviewBlockRow/OverviewBlockRow.tsx +0 -22
- package/src/OverviewBlockRow/index.ts +0 -1
- package/src/OverviewBlockRow/story/index.jsx +0 -11
- package/src/OverviewBlockRow/styles.ts +0 -27
- package/src/Section/Section.tsx +0 -163
- package/src/Section/__snapshots__/test.tsx.snap +0 -186
- package/src/Section/index.ts +0 -6
- package/src/Section/story/Actions.example.tsx +0 -85
- package/src/Section/story/Collapsible.example.tsx +0 -113
- package/src/Section/story/Default.example.tsx +0 -77
- package/src/Section/story/TitleSize.example.tsx +0 -34
- package/src/Section/story/Variant.example.tsx +0 -108
- package/src/Section/story/index.jsx +0 -35
- package/src/Section/styles.ts +0 -65
- package/src/Section/test.tsx +0 -115
- package/src/Timeline/Timeline.tsx +0 -25
- package/src/Timeline/__snapshots__/test.tsx.snap +0 -332
- package/src/Timeline/index.ts +0 -6
- package/src/Timeline/story/Dates.example.tsx +0 -52
- package/src/Timeline/story/Default.example.tsx +0 -34
- package/src/Timeline/story/TrimLastConnector.example.tsx +0 -29
- package/src/Timeline/story/index.jsx +0 -27
- package/src/Timeline/test.tsx +0 -101
- package/src/TimelineRow/TimelineRow.tsx +0 -83
- package/src/TimelineRow/index.ts +0 -6
- package/src/TimelineRow/story/index.jsx +0 -11
- package/src/TimelineRow/styles.ts +0 -47
- package/src/TypographyOverflow/TypographyOverflow.tsx +0 -153
- 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 +0 -6
- package/src/TypographyOverflow/story/CheckboxLabel.example.tsx +0 -21
- package/src/TypographyOverflow/story/CustomTooltip.example.tsx +0 -22
- package/src/TypographyOverflow/story/Default.example.tsx +0 -32
- package/src/TypographyOverflow/story/Delay.example.tsx +0 -29
- package/src/TypographyOverflow/story/GridWithControls.example.tsx +0 -64
- package/src/TypographyOverflow/story/Multiline.example.tsx +0 -59
- package/src/TypographyOverflow/story/TooltipVariants.example.tsx +0 -23
- package/src/TypographyOverflow/story/index.jsx +0 -83
- package/src/TypographyOverflow/styles.ts +0 -29
- package/src/TypographyOverflow/test.tsx +0 -60
- package/src/index.ts +0 -35
- package/src/story/index.jsx +0 -10
- package/tsconfig.build.json +0 -7
@@ -1,447 +0,0 @@
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
-
|
3
|
-
exports[`Calendar renders 1`] = `
|
4
|
-
<div>
|
5
|
-
<div
|
6
|
-
class="Picasso-root"
|
7
|
-
>
|
8
|
-
<div
|
9
|
-
tabindex="0"
|
10
|
-
>
|
11
|
-
<div
|
12
|
-
class="PicassoCalendar-root"
|
13
|
-
>
|
14
|
-
<div
|
15
|
-
class="PicassoCalendar-actions"
|
16
|
-
>
|
17
|
-
<button
|
18
|
-
class="MuiButtonBase-root PicassoButton-small PicassoButton-secondary PicassoButton-root"
|
19
|
-
data-component-type="button"
|
20
|
-
tabindex="0"
|
21
|
-
title="Previous month"
|
22
|
-
type="button"
|
23
|
-
>
|
24
|
-
<span
|
25
|
-
class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline PicassoButton-content"
|
26
|
-
>
|
27
|
-
<svg
|
28
|
-
class="PicassoSvgBackMinor16-root"
|
29
|
-
style="min-width: 16px; min-height: 16px;"
|
30
|
-
viewBox="0 0 16 16"
|
31
|
-
>
|
32
|
-
<path
|
33
|
-
d="M9.997 3.29l.707.707-4 4 4 4-.707.707L5.29 7.997l.707-.707 4-4z"
|
34
|
-
/>
|
35
|
-
</svg>
|
36
|
-
</span>
|
37
|
-
</button>
|
38
|
-
<h3
|
39
|
-
class="MuiTypography-root MuiTypography-h3"
|
40
|
-
>
|
41
|
-
February 2019
|
42
|
-
</h3>
|
43
|
-
<button
|
44
|
-
class="MuiButtonBase-root PicassoButton-small PicassoButton-secondary PicassoButton-root"
|
45
|
-
data-component-type="button"
|
46
|
-
tabindex="0"
|
47
|
-
title="Next month"
|
48
|
-
type="button"
|
49
|
-
>
|
50
|
-
<span
|
51
|
-
class="PicassoContainer-centerAlignItems PicassoContainer-flex PicassoContainer-inline PicassoButton-content"
|
52
|
-
>
|
53
|
-
<svg
|
54
|
-
class="PicassoSvgChevronMinor16-root"
|
55
|
-
style="min-width: 16px; min-height: 16px;"
|
56
|
-
viewBox="0 0 16 16"
|
57
|
-
>
|
58
|
-
<path
|
59
|
-
d="M5.997 3.29l4 4 .707.707-.707.707-4 4-.707-.707 4-4-4-4 .707-.707z"
|
60
|
-
/>
|
61
|
-
</svg>
|
62
|
-
</span>
|
63
|
-
</button>
|
64
|
-
</div>
|
65
|
-
<div
|
66
|
-
class="calendar-month"
|
67
|
-
>
|
68
|
-
<div
|
69
|
-
class="PicassoCalendar-weekDays"
|
70
|
-
>
|
71
|
-
<div
|
72
|
-
class="PicassoCalendar-weekDay"
|
73
|
-
>
|
74
|
-
Mon
|
75
|
-
</div>
|
76
|
-
<div
|
77
|
-
class="PicassoCalendar-weekDay"
|
78
|
-
>
|
79
|
-
Tue
|
80
|
-
</div>
|
81
|
-
<div
|
82
|
-
class="PicassoCalendar-weekDay"
|
83
|
-
>
|
84
|
-
Wed
|
85
|
-
</div>
|
86
|
-
<div
|
87
|
-
class="PicassoCalendar-weekDay"
|
88
|
-
>
|
89
|
-
Thu
|
90
|
-
</div>
|
91
|
-
<div
|
92
|
-
class="PicassoCalendar-weekDay"
|
93
|
-
>
|
94
|
-
Fri
|
95
|
-
</div>
|
96
|
-
<div
|
97
|
-
class="PicassoCalendar-weekDay"
|
98
|
-
>
|
99
|
-
Sat
|
100
|
-
</div>
|
101
|
-
<div
|
102
|
-
class="PicassoCalendar-weekDay"
|
103
|
-
>
|
104
|
-
Sun
|
105
|
-
</div>
|
106
|
-
</div>
|
107
|
-
<div
|
108
|
-
class="PicassoCalendar-week"
|
109
|
-
>
|
110
|
-
<button
|
111
|
-
class="PicassoCalendar-day PicassoCalendar-selectable PicassoCalendar-grayed"
|
112
|
-
data-simple-react-calendar-day="2019-01-28"
|
113
|
-
data-testid="day-button-28"
|
114
|
-
type="button"
|
115
|
-
value="Mon Jan 28 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
116
|
-
>
|
117
|
-
28
|
118
|
-
</button>
|
119
|
-
<button
|
120
|
-
class="PicassoCalendar-day PicassoCalendar-selectable PicassoCalendar-grayed"
|
121
|
-
data-simple-react-calendar-day="2019-01-29"
|
122
|
-
data-testid="day-button-29"
|
123
|
-
type="button"
|
124
|
-
value="Tue Jan 29 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
125
|
-
>
|
126
|
-
29
|
127
|
-
</button>
|
128
|
-
<button
|
129
|
-
class="PicassoCalendar-day PicassoCalendar-selectable PicassoCalendar-grayed"
|
130
|
-
data-simple-react-calendar-day="2019-01-30"
|
131
|
-
data-testid="day-button-30"
|
132
|
-
type="button"
|
133
|
-
value="Wed Jan 30 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
134
|
-
>
|
135
|
-
30
|
136
|
-
</button>
|
137
|
-
<button
|
138
|
-
class="PicassoCalendar-day PicassoCalendar-selectable PicassoCalendar-grayed"
|
139
|
-
data-simple-react-calendar-day="2019-01-31"
|
140
|
-
data-testid="day-button-31"
|
141
|
-
type="button"
|
142
|
-
value="Thu Jan 31 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
143
|
-
>
|
144
|
-
31
|
145
|
-
</button>
|
146
|
-
<button
|
147
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
148
|
-
data-simple-react-calendar-day="2019-02-01"
|
149
|
-
data-testid="day-button-1"
|
150
|
-
type="button"
|
151
|
-
value="Fri Feb 01 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
152
|
-
>
|
153
|
-
1
|
154
|
-
</button>
|
155
|
-
<button
|
156
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
157
|
-
data-simple-react-calendar-day="2019-02-02"
|
158
|
-
data-testid="day-button-2"
|
159
|
-
type="button"
|
160
|
-
value="Sat Feb 02 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
161
|
-
>
|
162
|
-
2
|
163
|
-
</button>
|
164
|
-
<button
|
165
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
166
|
-
data-simple-react-calendar-day="2019-02-03"
|
167
|
-
data-testid="day-button-3"
|
168
|
-
type="button"
|
169
|
-
value="Sun Feb 03 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
170
|
-
>
|
171
|
-
3
|
172
|
-
</button>
|
173
|
-
</div>
|
174
|
-
<div
|
175
|
-
class="PicassoCalendar-week"
|
176
|
-
>
|
177
|
-
<button
|
178
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
179
|
-
data-simple-react-calendar-day="2019-02-04"
|
180
|
-
data-testid="day-button-4"
|
181
|
-
type="button"
|
182
|
-
value="Mon Feb 04 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
183
|
-
>
|
184
|
-
4
|
185
|
-
</button>
|
186
|
-
<button
|
187
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
188
|
-
data-simple-react-calendar-day="2019-02-05"
|
189
|
-
data-testid="day-button-5"
|
190
|
-
type="button"
|
191
|
-
value="Tue Feb 05 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
192
|
-
>
|
193
|
-
5
|
194
|
-
</button>
|
195
|
-
<button
|
196
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
197
|
-
data-simple-react-calendar-day="2019-02-06"
|
198
|
-
data-testid="day-button-6"
|
199
|
-
type="button"
|
200
|
-
value="Wed Feb 06 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
201
|
-
>
|
202
|
-
6
|
203
|
-
</button>
|
204
|
-
<button
|
205
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
206
|
-
data-simple-react-calendar-day="2019-02-07"
|
207
|
-
data-testid="day-button-7"
|
208
|
-
type="button"
|
209
|
-
value="Thu Feb 07 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
210
|
-
>
|
211
|
-
7
|
212
|
-
</button>
|
213
|
-
<button
|
214
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
215
|
-
data-simple-react-calendar-day="2019-02-08"
|
216
|
-
data-testid="day-button-8"
|
217
|
-
type="button"
|
218
|
-
value="Fri Feb 08 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
219
|
-
>
|
220
|
-
8
|
221
|
-
</button>
|
222
|
-
<button
|
223
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
224
|
-
data-simple-react-calendar-day="2019-02-09"
|
225
|
-
data-testid="day-button-9"
|
226
|
-
type="button"
|
227
|
-
value="Sat Feb 09 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
228
|
-
>
|
229
|
-
9
|
230
|
-
</button>
|
231
|
-
<button
|
232
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
233
|
-
data-simple-react-calendar-day="2019-02-10"
|
234
|
-
data-testid="day-button-10"
|
235
|
-
type="button"
|
236
|
-
value="Sun Feb 10 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
237
|
-
>
|
238
|
-
10
|
239
|
-
</button>
|
240
|
-
</div>
|
241
|
-
<div
|
242
|
-
class="PicassoCalendar-week"
|
243
|
-
>
|
244
|
-
<button
|
245
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
246
|
-
data-simple-react-calendar-day="2019-02-11"
|
247
|
-
data-testid="day-button-11"
|
248
|
-
type="button"
|
249
|
-
value="Mon Feb 11 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
250
|
-
>
|
251
|
-
11
|
252
|
-
</button>
|
253
|
-
<button
|
254
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
255
|
-
data-simple-react-calendar-day="2019-02-12"
|
256
|
-
data-testid="day-button-12"
|
257
|
-
type="button"
|
258
|
-
value="Tue Feb 12 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
259
|
-
>
|
260
|
-
12
|
261
|
-
</button>
|
262
|
-
<button
|
263
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
264
|
-
data-simple-react-calendar-day="2019-02-13"
|
265
|
-
data-testid="day-button-13"
|
266
|
-
type="button"
|
267
|
-
value="Wed Feb 13 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
268
|
-
>
|
269
|
-
13
|
270
|
-
</button>
|
271
|
-
<button
|
272
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
273
|
-
data-simple-react-calendar-day="2019-02-14"
|
274
|
-
data-testid="day-button-14"
|
275
|
-
type="button"
|
276
|
-
value="Thu Feb 14 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
277
|
-
>
|
278
|
-
14
|
279
|
-
</button>
|
280
|
-
<button
|
281
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
282
|
-
data-simple-react-calendar-day="2019-02-15"
|
283
|
-
data-testid="day-button-15"
|
284
|
-
type="button"
|
285
|
-
value="Fri Feb 15 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
286
|
-
>
|
287
|
-
15
|
288
|
-
</button>
|
289
|
-
<button
|
290
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
291
|
-
data-simple-react-calendar-day="2019-02-16"
|
292
|
-
data-testid="day-button-16"
|
293
|
-
type="button"
|
294
|
-
value="Sat Feb 16 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
295
|
-
>
|
296
|
-
16
|
297
|
-
</button>
|
298
|
-
<button
|
299
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
300
|
-
data-simple-react-calendar-day="2019-02-17"
|
301
|
-
data-testid="day-button-17"
|
302
|
-
type="button"
|
303
|
-
value="Sun Feb 17 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
304
|
-
>
|
305
|
-
17
|
306
|
-
</button>
|
307
|
-
</div>
|
308
|
-
<div
|
309
|
-
class="PicassoCalendar-week"
|
310
|
-
>
|
311
|
-
<button
|
312
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
313
|
-
data-simple-react-calendar-day="2019-02-18"
|
314
|
-
data-testid="day-button-18"
|
315
|
-
type="button"
|
316
|
-
value="Mon Feb 18 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
317
|
-
>
|
318
|
-
18
|
319
|
-
</button>
|
320
|
-
<button
|
321
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
322
|
-
data-simple-react-calendar-day="2019-02-19"
|
323
|
-
data-testid="day-button-19"
|
324
|
-
type="button"
|
325
|
-
value="Tue Feb 19 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
326
|
-
>
|
327
|
-
19
|
328
|
-
</button>
|
329
|
-
<button
|
330
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
331
|
-
data-simple-react-calendar-day="2019-02-20"
|
332
|
-
data-testid="day-button-20"
|
333
|
-
type="button"
|
334
|
-
value="Wed Feb 20 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
335
|
-
>
|
336
|
-
20
|
337
|
-
</button>
|
338
|
-
<button
|
339
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
340
|
-
data-simple-react-calendar-day="2019-02-21"
|
341
|
-
data-testid="day-button-21"
|
342
|
-
type="button"
|
343
|
-
value="Thu Feb 21 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
344
|
-
>
|
345
|
-
21
|
346
|
-
</button>
|
347
|
-
<button
|
348
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
349
|
-
data-simple-react-calendar-day="2019-02-22"
|
350
|
-
data-testid="day-button-22"
|
351
|
-
type="button"
|
352
|
-
value="Fri Feb 22 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
353
|
-
>
|
354
|
-
22
|
355
|
-
</button>
|
356
|
-
<button
|
357
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
358
|
-
data-simple-react-calendar-day="2019-02-23"
|
359
|
-
data-testid="day-button-23"
|
360
|
-
type="button"
|
361
|
-
value="Sat Feb 23 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
362
|
-
>
|
363
|
-
23
|
364
|
-
</button>
|
365
|
-
<button
|
366
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
367
|
-
data-simple-react-calendar-day="2019-02-24"
|
368
|
-
data-testid="day-button-24"
|
369
|
-
type="button"
|
370
|
-
value="Sun Feb 24 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
371
|
-
>
|
372
|
-
24
|
373
|
-
</button>
|
374
|
-
</div>
|
375
|
-
<div
|
376
|
-
class="PicassoCalendar-week"
|
377
|
-
>
|
378
|
-
<button
|
379
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
380
|
-
data-simple-react-calendar-day="2019-02-25"
|
381
|
-
data-testid="day-button-25"
|
382
|
-
type="button"
|
383
|
-
value="Mon Feb 25 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
384
|
-
>
|
385
|
-
25
|
386
|
-
</button>
|
387
|
-
<button
|
388
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
389
|
-
data-simple-react-calendar-day="2019-02-26"
|
390
|
-
data-testid="day-button-26"
|
391
|
-
type="button"
|
392
|
-
value="Tue Feb 26 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
393
|
-
>
|
394
|
-
26
|
395
|
-
</button>
|
396
|
-
<button
|
397
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
398
|
-
data-simple-react-calendar-day="2019-02-27"
|
399
|
-
data-testid="day-button-27"
|
400
|
-
type="button"
|
401
|
-
value="Wed Feb 27 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
402
|
-
>
|
403
|
-
27
|
404
|
-
</button>
|
405
|
-
<button
|
406
|
-
class="PicassoCalendar-day PicassoCalendar-selectable"
|
407
|
-
data-simple-react-calendar-day="2019-02-28"
|
408
|
-
data-testid="day-button-28"
|
409
|
-
type="button"
|
410
|
-
value="Thu Feb 28 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
411
|
-
>
|
412
|
-
28
|
413
|
-
</button>
|
414
|
-
<button
|
415
|
-
class="PicassoCalendar-day PicassoCalendar-selectable PicassoCalendar-grayed"
|
416
|
-
data-simple-react-calendar-day="2019-03-01"
|
417
|
-
data-testid="day-button-1"
|
418
|
-
type="button"
|
419
|
-
value="Fri Mar 01 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
420
|
-
>
|
421
|
-
1
|
422
|
-
</button>
|
423
|
-
<button
|
424
|
-
class="PicassoCalendar-day PicassoCalendar-selectable PicassoCalendar-grayed"
|
425
|
-
data-simple-react-calendar-day="2019-03-02"
|
426
|
-
data-testid="day-button-2"
|
427
|
-
type="button"
|
428
|
-
value="Sat Mar 02 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
429
|
-
>
|
430
|
-
2
|
431
|
-
</button>
|
432
|
-
<button
|
433
|
-
class="PicassoCalendar-day PicassoCalendar-selectable PicassoCalendar-grayed"
|
434
|
-
data-simple-react-calendar-day="2019-03-03"
|
435
|
-
data-testid="day-button-3"
|
436
|
-
type="button"
|
437
|
-
value="Sun Mar 03 2019 00:00:00 GMT+0000 (Coordinated Universal Time)"
|
438
|
-
>
|
439
|
-
3
|
440
|
-
</button>
|
441
|
-
</div>
|
442
|
-
</div>
|
443
|
-
</div>
|
444
|
-
</div>
|
445
|
-
</div>
|
446
|
-
</div>
|
447
|
-
`;
|
package/src/Calendar/index.ts
DELETED
package/src/Calendar/styles.ts
DELETED
@@ -1,104 +0,0 @@
|
|
1
|
-
import { Theme, createStyles } from '@material-ui/core/styles'
|
2
|
-
import { alpha, rem } from '@toptal/picasso-shared'
|
3
|
-
|
4
|
-
export default ({ palette, shadows }: Theme) =>
|
5
|
-
createStyles({
|
6
|
-
root: {
|
7
|
-
padding: '1.875em',
|
8
|
-
color: palette.grey.darker,
|
9
|
-
display: 'flex',
|
10
|
-
flexDirection: 'column',
|
11
|
-
flexBasis: '20.5rem',
|
12
|
-
maxWidth: '20.5rem',
|
13
|
-
boxShadow: shadows[2],
|
14
|
-
backgroundColor: palette.common.white
|
15
|
-
},
|
16
|
-
month: {},
|
17
|
-
week: {
|
18
|
-
display: 'flex'
|
19
|
-
},
|
20
|
-
day: {
|
21
|
-
height: '2.5rem',
|
22
|
-
width: '2.5rem',
|
23
|
-
minWidth: '2.5rem',
|
24
|
-
verticalAlign: 'middle',
|
25
|
-
fontSize: '0.75rem',
|
26
|
-
userSelect: 'none',
|
27
|
-
display: 'flex',
|
28
|
-
alignItems: 'center',
|
29
|
-
justifyContent: 'center',
|
30
|
-
background: palette.common.white,
|
31
|
-
position: 'relative',
|
32
|
-
margin: 0,
|
33
|
-
padding: 0,
|
34
|
-
border: 'none',
|
35
|
-
outline: 0
|
36
|
-
},
|
37
|
-
weekDays: {
|
38
|
-
display: 'flex',
|
39
|
-
textAlign: 'center',
|
40
|
-
fontSize: '0.75em',
|
41
|
-
textTransform: 'uppercase',
|
42
|
-
color: palette.grey.main2,
|
43
|
-
paddingBottom: rem('11px')
|
44
|
-
},
|
45
|
-
weekDay: {
|
46
|
-
flexBasis: '15%'
|
47
|
-
},
|
48
|
-
|
49
|
-
actions: {
|
50
|
-
display: 'flex',
|
51
|
-
justifyContent: 'space-between',
|
52
|
-
marginBottom: '1.5rem'
|
53
|
-
},
|
54
|
-
selected: {
|
55
|
-
background: palette.blue.lighter
|
56
|
-
},
|
57
|
-
selectable: {
|
58
|
-
cursor: 'pointer',
|
59
|
-
|
60
|
-
'&:hover, &:focus': {
|
61
|
-
backgroundColor: alpha(palette.blue.main, 0.24)
|
62
|
-
},
|
63
|
-
|
64
|
-
'&$startSelection:hover, &$endSelection:hover': {
|
65
|
-
backgroundColor: palette.blue.main
|
66
|
-
}
|
67
|
-
},
|
68
|
-
startSelection: {
|
69
|
-
backgroundColor: palette.blue.main,
|
70
|
-
color: palette.common.white,
|
71
|
-
|
72
|
-
'&$today:after': {
|
73
|
-
backgroundColor: palette.common.white
|
74
|
-
}
|
75
|
-
},
|
76
|
-
endSelection: {
|
77
|
-
backgroundColor: palette.blue.main,
|
78
|
-
color: palette.common.white,
|
79
|
-
|
80
|
-
'&$today:after': {
|
81
|
-
backgroundColor: palette.common.white
|
82
|
-
}
|
83
|
-
},
|
84
|
-
today: {
|
85
|
-
display: 'flex',
|
86
|
-
flexDirection: 'column',
|
87
|
-
|
88
|
-
'&:after': {
|
89
|
-
content: '""',
|
90
|
-
height: '0.25rem',
|
91
|
-
width: '0.25rem',
|
92
|
-
borderRadius: '50%',
|
93
|
-
background: palette.blue.main,
|
94
|
-
position: 'absolute',
|
95
|
-
bottom: '0.375rem'
|
96
|
-
}
|
97
|
-
},
|
98
|
-
grayed: {
|
99
|
-
color: palette.grey.main2
|
100
|
-
},
|
101
|
-
disabled: {
|
102
|
-
color: palette.grey.main
|
103
|
-
}
|
104
|
-
})
|
package/src/Calendar/test.tsx
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import { render } from '@toptal/picasso/test-utils'
|
3
|
-
|
4
|
-
import Calendar from './Calendar'
|
5
|
-
|
6
|
-
describe('Calendar', () => {
|
7
|
-
it('renders', () => {
|
8
|
-
const value = new Date('12-12-2019')
|
9
|
-
|
10
|
-
const { container } = render(
|
11
|
-
<Calendar
|
12
|
-
activeMonth={new Date(2019, 1, 1)}
|
13
|
-
onChange={() => {}}
|
14
|
-
value={value}
|
15
|
-
/>
|
16
|
-
)
|
17
|
-
|
18
|
-
expect(container).toMatchSnapshot()
|
19
|
-
})
|
20
|
-
})
|
package/src/Calendar/types.ts
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react'
|
2
|
-
|
3
|
-
export interface DayProps {
|
4
|
-
isDisabled: boolean
|
5
|
-
isSelected: boolean
|
6
|
-
isSelectable: boolean
|
7
|
-
isToday: boolean
|
8
|
-
isMonthNext: boolean
|
9
|
-
isMonthPrev: boolean
|
10
|
-
isSelectionStart: boolean
|
11
|
-
isSelectionEnd: boolean
|
12
|
-
handleOnClick: () => void
|
13
|
-
handleOnEnter: () => void
|
14
|
-
date: Date
|
15
|
-
ISODate: string
|
16
|
-
getDayFormatted: (date: Date) => string
|
17
|
-
key?: string
|
18
|
-
children?: ReactNode
|
19
|
-
}
|
20
|
-
|
21
|
-
export interface MonthHeaderProps {
|
22
|
-
switchMonth: (diff: number) => void
|
23
|
-
activeMonth: Date
|
24
|
-
}
|
25
|
-
|
26
|
-
export interface WeekProps {
|
27
|
-
children?: ReactNode
|
28
|
-
}
|
29
|
-
|
30
|
-
export interface DayOfWeekProps {
|
31
|
-
day: string
|
32
|
-
key: string
|
33
|
-
children?: ReactNode
|
34
|
-
}
|
35
|
-
|
36
|
-
export interface DaysOfWeekProps {
|
37
|
-
children?: ReactNode
|
38
|
-
}
|
39
|
-
|
40
|
-
export interface CalendarProps {
|
41
|
-
children?: ReactNode
|
42
|
-
}
|